Граф коммитов

2914 Коммитов

Автор SHA1 Сообщение Дата
Billy O'Neal 17bb1b8480
Command line parser prerequisites (#853)
* Expected-ize read_lines.

* Introduce IReadLines as a smaller interface for things that just want to read lines.

* Extract HelpTableFormatter and consistently use -s in source file names.

* Rename IReadLines to ILineReader, as requested by Victor.

* Name the numbers in HelpTableFormatter::format as requested by Victor.

* Fix NPM authenticate.
2023-01-12 18:54:09 -08:00
Embedded Bot 36ed4a8428 [localization][automated][ci skip] update locale files 2023-01-12 14:18:44 +00:00
Alex Hsu 7879fbcb8c
LEGO: Merge pull request 858
LEGO: Merge pull request 858
2023-01-12 06:16:06 -08:00
Embedded Bot a61ddfcc8e [localization][automated][ci skip] update locale files 2023-01-11 20:42:55 +00:00
Javier Matos Denizac e90042d179
Localization hookup artifacts (#773)
* updated loc

* wip

* Fix lock file.

* pass --language to artifacts side of things

* uses lcid to pick language

* generate-message-map now runs npm translate for artifacts

* wip

* localization team has access to artifacts messages!

* localized messages are placed in temporary location for artifacts to use.

* cleanup

* format

* It's hooked

* add node_module dependency for test

* fix test

* only produce target with artifact development on

* turn artifact development on

* hopeful

* fix test failure

* wip

* wip

* formatting issues

Co-authored-by: garrett serack <garretts@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-11 12:40:36 -08:00
Embedded Bot d5f4ca6aae [localization][automated][ci skip] update locale files 2023-01-10 23:33:33 +00:00
Victor Romero 5b42ee2906
Fix unescaped curly braces in localized string (#850)
* Fix unescaped curly braces in localized string

* generate-messages-map

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-10 15:28:42 -08:00
Kai Pastor 873be94935
Re-activate cxx flags for coverage analysis (#847) 2023-01-09 11:46:05 -08:00
Thomas1664 a13a8de2db
Fix UB warning on OSX (#842)
* Investigate slow binary caching performance on OSX

* ;

* include

* Fix UB & cmd test case

* Remove debugging code

Co-authored-by: Thomas1664 <>
2023-01-09 11:40:50 -08:00
Kai Pastor 062d9793de
Fix broken e2e test (#845)
* Fix broken e2e test

* Update patterns
2023-01-09 11:39:37 -08:00
Embedded Bot 6619fa4c4c [localization][automated][ci skip] update locale files 2023-01-04 14:01:53 +00:00
Alex Hsu 3ddf65adb9
LEGO: Merge pull request 848
LEGO: Merge pull request 848
2023-01-04 05:58:21 -08:00
andrás 49706fd4ca
fix build on FreeBSD (#841) 2023-01-02 22:49:13 -05:00
Embedded Bot e73fa97801 [localization][automated][ci skip] update locale files 2022-12-31 01:02:27 +00:00
val e8c0b20ba6
Replacing applocal.ps1 with C++ 😍 (#814)
* billys changes

* billys stealth merge conflicts solved

* first draft of plugins

* added recursive calls

* Tolerate DLLs without import tables.

* qt works

* rid of regex

* added mutex

* check for latest

* formatting

* quick fix

* fix

* fix

* comments

* added macros

* added more macros

* fix

* Reverts lineinfo changes

* Adds extra endline

* added e2e tests

* e2e tests fix

* formatting

* added architecture check on e2e tests

* please work

* localized message

* formatting

* format

* formatting

* changed e2e tests to not check in binaries

* comments

* e2e test fix

* export

* small optimization

* copying the vcpkg executable when using export cmd

* Test

* comments

* error handling

* fix

* comments

* format fix

* Changed mutant

* Comments

* e2e test

* e2e test

* comments

* format

* comments

* revert changes to export

* format

* qt plugins

* format

* adding vcpkg.exe to export

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-12-30 17:00:38 -08:00
Thomas1664 7d89bfdc0a
Avoid calling memcmp for empty string views (#843)
* Avoid calling memcmp for empty string views

Co-authored-by: Thomas1664 <>
2022-12-30 10:18:18 -08:00
Ben McMorran 8ae329378c
Remove z- prefix from bootstrap-standalone command (#844) 2022-12-28 18:48:48 -08:00
Robert Schumacher 69937c6700
Correct handling of PATH in VCPKG_KEEP_ENV_VARS (#840) 2022-12-22 13:47:29 -08:00
autoantwort ab767114e0
Print proper error messages in Checks::check_exit. (#839) 2022-12-21 13:46:33 -08:00
Embedded Bot d200b1fb9d [localization][automated][ci skip] update locale files 2022-12-20 14:27:31 +00:00
Alex Hsu 3ab23566a9
LEGO: Merge pull request 838
LEGO: Merge pull request 838
2022-12-20 06:25:35 -08:00
Embedded Bot 7748e2f4eb [localization][automated][ci skip] update locale files 2022-12-18 13:55:06 +00:00
Alex Hsu 08cf9b845f
LEGO: Merge pull request 837
LEGO: Merge pull request 837
2022-12-18 05:53:13 -08:00
Embedded Bot b35d2d87da [localization][automated][ci skip] update locale files 2022-12-15 14:40:51 +00:00
Alex Hsu 50f4b41c94
LEGO: Merge pull request 835
LEGO: Merge pull request 835
2022-12-15 06:38:42 -08:00
Gregor Jasny 7ae0d8527f
Add overlays to configuration schema (#832) 2022-12-14 13:19:52 -06:00
Embedded Bot 8c1c56d3ed [localization][automated][ci skip] update locale files 2022-12-14 18:59:37 +00:00
Billy O'Neal 5dbc097c1c
Delete calls to removed scripts. (#833)
In https://github.com/microsoft/vcpkg-tool/pull/817/ vestigial scripts to install "ce.ps1" and friends were removed, but smoke testing the 2022-12-13 release found that package.json still referred to them.

Drive-by changed a few 'ce's to 'vcpkg-artifacts's.
2022-12-14 12:49:25 -06:00
Embedded Bot e6d0aa6a81 [localization][automated][ci skip] update locale files 2022-12-14 13:53:44 +00:00
Alex Hsu 940b60bd9b
LEGO: Merge pull request 831
LEGO: Merge pull request 831
2022-12-14 05:51:38 -08:00
Embedded Bot aaab1f5fca [localization][automated][ci skip] update locale files 2022-12-12 19:40:39 +00:00
Victor Romero 02abc6628c
[RFC][registries] Allow pattern matching in packages declarations (#778)
* Resolve prefix patterns in packages declarations

* Allow prefixes in configuration parser

* A few more test cases

* Add warning for ignored patterns/packages

* Print warnings on vcpkg configuration

* Localize warning messages

* Clean up

* Test registry parsing

* Apply Billy's patch

* Apply Billy's suggestions from code review

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Format

* Collect all package pattern warnings into one

* Improve warning message

* Format messages

* Disallow period separated segments in port names

* Error messages on invalid patterns/names

* Cleanup

* Disallow registries without setting a baseline

* Fix for artifact registries

* Billy's PR comments

* Add e2e test registry

* End-to-end tests

* Fix e2e tests

* Make tests success case silent

* Accept prefixes ending in '-'

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-12-12 11:38:22 -08:00
Embedded Bot dc7706f2de [localization][automated][ci skip] update locale files 2022-12-12 14:09:26 +00:00
Alex Hsu caed3ef18c
LEGO: Merge pull request 830
LEGO: Merge pull request 830
2022-12-12 06:07:30 -08:00
Embedded Bot 013cf1af13 [localization][automated][ci skip] update locale files 2022-12-11 13:53:25 +00:00
Alex Hsu da4022f3fe
LEGO: Merge pull request 829
LEGO: Merge pull request 829
2022-12-11 05:51:23 -08:00
Embedded Bot 63d1003c04 [localization][automated][ci skip] update locale files 2022-12-10 04:30:57 +00:00
Billy O'Neal 8350f07b93
Replace node downloader with vcpkg x-download. (#826)
* Replace bespoke node-based HTTP backend with calling back to vcpkg x-download.

* Deduplicate hash check and don't pass file:// to vcpkg.

* Hook up progress reporting to x-download, except WinHTTP.

* Localize WinHTTP download status messages.

* More WinHTTP localization.

* Add progress reporting for WinHTTP.

* I hate deleters.

* Format/messages.

* Missed an official builds edge case :)

* Add configurations for non-artifacts and official builds, and fix build breaks in there.

* Add note about curl's progress being contractual.
2022-12-09 20:29:09 -08:00
Embedded Bot e3f72623aa [localization][automated][ci skip] update locale files 2022-12-09 13:55:49 +00:00
Alex Hsu 1e6a990319
LEGO: Merge pull request 828
LEGO: Merge pull request 828
2022-12-09 05:53:15 -08:00
Embedded Bot f1c30f66a3 [localization][automated][ci skip] update locale files 2022-12-08 22:06:14 +00:00
dan-shaw 8e85e6589e
Adds arm64ec support (#812)
* Fix postbuild checks for arm64ec

* Remove unused variable

* review fixes

* Make PE parsing more tolerant.

Also avoids opening the same file a second time to check arm64ec.

* Fix self move assign.

* Tolerate DLLs with null import tables.

* Move all the files.h stuff out of line.

* Use ftell rather than manually tracking offsets.

* Fix ubuntu build break.

* Try reducing the overload sets.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-12-08 14:03:56 -08:00
Billy O'Neal 0f7b91397a
Delete VcpkgPaths from portfileprovider machinery. (#819) 2022-12-08 11:34:08 -08:00
Embedded Bot 55a3a67435 [localization][automated][ci skip] update locale files 2022-12-08 19:04:23 +00:00
Javier Matos Denizac d535fcc41d
[Localization] Help Text for Command Switches (#824)
* localized messages for all install switches

* Localize all messages for install.cpp

* Localize command switch options for --add-version

* Localize all help text for command.ci.cpp

* localize command switch options for commands.contact.cpp

* localize commands.civerifyversions.cpp

* localize command switch help text for --depend-info

* localize help text for edit command

* localized help text for commans env

* localize help text for fetch command

* localize help text for find command

* localize help text for format manifest command

* localize help text for generate message map and info commands

* localize help text for list command

* localize help text for "new" command

* localize help text for regenerate command

* Localized help text for search command and consolidate duplicate messages.

* localize help text for set-installed command

* localize help text for update-baseline command

* localized help text for upgrade command

* localize help text for xdownload command

* localized help text for export command

* localize help text for remove command

* Fully burninate short_help_text.

* nitpicks

* sort messages

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-12-08 11:01:54 -08:00
Embedded Bot f945ddcd86 [localization][automated][ci skip] update locale files 2022-12-07 23:46:57 +00:00
Javier Matos Denizac 1c5fe09179
[Localization] Stragglers (#782)
* Localized messages in postbuildlint.cpp and commands.format-manifest.cpp

* respond to feedback

* Grammar

* generate message map

* Remove FailedToParseSerializedManifest, clarify that MismatchedSerializedManifestSCF is an internal error, and remove "SCF" from user facing output.

* Don't use {env_var} to talk about CMake variables, and transpose/combine some DLL messages.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-12-07 15:44:24 -08:00
autoantwort 452a34c272
The vcpkg-root e2e test currently detects manifest files above $VCPKG_ROOT and fails if it finds one. The test should be independent of that. (#815) 2022-12-07 13:18:23 -08:00
Embedded Bot 2de625e8de [localization][automated][ci skip] update locale files 2022-12-07 13:54:17 +00:00
Alex Hsu 303dc030be
LEGO: Merge pull request 827
LEGO: Merge pull request 827
2022-12-07 05:51:57 -08:00