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

3690 Коммитов

Автор SHA1 Сообщение Дата
autoantwort c549365bf9
Add arm64ec platform expression (#1352) 2024-02-22 14:52:42 -08:00
Thomas1664 e45859625f
Binarycaching: Don't use vector for HTTP headers (#1350) 2024-02-21 01:59:30 +00:00
Alonso Schaich 6cc0086e9d
Fix OpenBSD Compilation (#1347) 2024-02-20 17:35:41 -08:00
Thomas1664 710a496535
Use emplace instead of insert (#1349) 2024-02-20 17:34:06 -08:00
Billy O'Neal 42dbe07290
Consistently ensure the word 'overlay' is printed when talking about overlays. (#1345) 2024-02-20 17:25:58 -08:00
Billy O'Neal 05320e4944
Try to fix macOS hang when building Python 2 (#1343) 2024-02-14 17:07:19 -08:00
Billy O'Neal 8a83681f92
Update vcpkg-scripts-sha for 2024-02-06. (#1341)
Also picks up the edit noted by @dg0yt in https://github.com/microsoft/vcpkg/pull/35931#discussion_r1444219371
2024-02-07 01:28:05 +00:00
Billy O'Neal e07101929f
Allow VS 2022 17.10 to be detected as V_143 (#1340) 2024-02-06 14:27:08 -08:00
kiwixz df2ef8484f
Take CPU set into account when determining concurrency on Linux. (#1325) 2024-02-06 12:43:54 -08:00
Billy O'Neal 9c1e418fc6
Update vcpkg scripts SHA 2024-02-05. (#1338) 2024-02-05 14:06:58 -08:00
Billy O'Neal 1e8b699111
Fix regression in x-script from fixing doskey macros. (#1337) 2024-02-05 12:02:09 -08:00
Billy O'Neal bdbd8dcf04
Use less shouty enums. (#1336)
I observed that some of our enum classes like DryRun use PascalCase like most of our type names, and others used ALL_CAPS_SNAKE_CASE. I resolved in favor of PascalCase since enum classes are already prefixed and thus unworried about conflicts.
2024-02-01 10:47:15 -08:00
Embedded Bot f8506c035c [localization][automated][ci skip] update locale files 2024-02-01 04:06:12 +00:00
CSIGS@microsoft.com 5a561059f6
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20240131165816446. (#1335) 2024-01-31 20:03:26 -08:00
Billy O'Neal 11491cb44b
Promote arm64-osx to a non-community triplet in changelog. (#1334) 2024-01-30 17:47:26 -08:00
Billy O'Neal 37dcc07ca5
Convert localization.yml to 1ES Templates (#1332) 2024-01-30 17:32:29 -08:00
Embedded Bot 47c8ebf769 [localization][automated][ci skip] update locale files 2024-01-31 00:33:09 +00:00
CSIGS@microsoft.com 2a71fd51b8
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20240130164716932. (#1333) 2024-01-30 16:29:44 -08:00
Embedded Bot d79bfa3729 [localization][automated][ci skip] update locale files 2024-01-29 20:14:49 +00:00
CSIGS@microsoft.com f8e4dcfda4
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20240129183714094. (#1330) 2024-01-29 12:11:53 -08:00
Embedded Bot 5e43b9f147 [localization][automated][ci skip] update locale files 2024-01-26 21:48:50 +00:00
Billy O'Neal 910db8b0bb
Eliminate ParseError. (#1322)
* Eliminate ParseError.

Another pseudo-extraction from https://github.com/microsoft/vcpkg-tool/pull/1210 ; this means that ExpectedL is the only ExpectedT that exists.

* MessageMap
2024-01-26 13:45:58 -08:00
Billy O'Neal 8d673fc81a
Improve Unicode perf. (#1318) 2024-01-23 16:42:13 -08:00
data-queue 78681de322
fix empty ABI string (#1327) 2024-01-23 14:51:19 -08:00
Billy O'Neal 710a3116bb
Update scripts SHA for 2023-01-10. (#1324) 2024-01-10 18:51:51 -08:00
Thomas1664 b1d882f2a9
Don't format options table like errors (#1306)
---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-01-10 16:12:36 -08:00
Billy O'Neal 2aa3a71ff4
Allow vcpkg to be built arm64ec. (#1319)
We have no reason to build vcpkg as arm64ec, but the C++ compiler team have asked us to make this work since they use us as a test case.

Unfortunately, CMake's defaults ( https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/Platform/Windows-MSVC.cmake#L243 ) take the pretty names AMD64 and ARM64EC which we use in the COFF file reader. This removes those defines.
2024-01-10 11:52:15 -08:00
Billy O'Neal 48ba35a022
Avoid leaking doskey macros from internal vcvarsall runs. (#1295) 2024-01-10 11:50:43 -08:00
Frank 0d4a894928
[vcpkg] Avoid name conflicts with sdk functions (#1321)
Co-authored-by: [FrankXie05] <[v-frankxie@microsoft.com]>
2024-01-09 10:05:36 -08:00
Embedded Bot b652f06408 [localization][automated][ci skip] update locale files 2024-01-05 01:39:25 +00:00
Matthew Gordon 9a151afcbc
Update arm registry to new URL. (#1317) 2024-01-04 17:37:08 -08:00
Billy O'Neal 4e75e1c5a5
Fix Utf8Decoder operator== handling of the last code point in the input (#1316)
* Fix Utf8Decoder operator== handling of the last code point in the input

While working on diagnostics for https://github.com/microsoft/vcpkg-tool/pull/1210 I observed that we were printing the caret ^ in the wrong place when it goes after the input.

The way this works is we form the line of text to print, then decode the unicode encoding units, and when we hit the target, we stop and print ^:

5b8f9c40dd/src/vcpkg/base/parse.cpp (L51-L68)

however, if the intended location for the ^ is the "end" of the line, we hit this bug:

5b8f9c40dd/src/vcpkg/base/unicode.cpp (L273)

The iterator only compares the last_ pointers, but both the "points at the last code point in the input" and "points to the end of the input" state set `next_ == last_`. See:

5b8f9c40dd/src/vcpkg/base/unicode.cpp (L222-L226)

This means that the points to the end and points one past the end iterator compare equal, so the loop in parse.cpp stops one position too early.

Also adds a bunch of testing for this specific case, for other parts of Utf8Decoder, adds a way to parse the first code point without failing, makes all the operators 'hidden friends', and removes localized strings for bugs-in-vcpkg-itself.

* Add noexcepts as requested by @Thomas1664
2024-01-04 17:36:54 -08:00
Billy O'Neal 5b8f9c40dd
Fix use-out-of-constexpr lifetime detected by prerelease MSVC (#1312)
This was originally reported by @Zhaojun-Liu of Beyondsoft . This fix was suggested by @joemmett of the compiler frontend team.
2023-12-23 03:58:31 -05:00
Billy O'Neal 699be89b11
Apply edits the eslint extension is making itself. (#1313) 2023-12-21 19:29:04 +00:00
Thomas1664 bfda089e34
StringLiteral for command switches and settings (#1308) 2023-12-19 22:35:38 -08:00
Embedded Bot f104fe6fac [localization][automated][ci skip] update locale files 2023-12-20 06:33:06 +00:00
CSIGS@microsoft.com 6daee50818
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20231219135112047. (#1311) 2023-12-19 22:30:46 -08:00
Thomas1664 51d7f89c82
Inline defaulted functions (#1280) 2023-12-19 22:30:31 -08:00
Billy O'Neal 1c9ec1978a
Update vcpkg scripts sha. (#1302) 2023-12-11 15:40:33 -08:00
Embedded Bot e36037366e [localization][automated][ci skip] update locale files 2023-12-11 23:09:52 +00:00
Billy O'Neal 3ba6cec1bd
Reset PROCESSOR_ARCHITECTURE on start
A customer reported a problem where sometimes `vcpkg-cmake` can't detect that Ninja is safe to use. There, despite being on an amd64 system, this block didn't detect that things were OK: 

(#1297)08c4e71048/ports/vcpkg-cmake/vcpkg_cmake_configure.cmake (L55-L61)

We are unable to replicate the problem, but suspect that they may be in an environment where PROCESSOR_ARCHITECTURE isn't set properly, similar to what we experienced in https://github.com/microsoft/vcpkg-tool/pull/769 .

Try to fix this problem by explicitly setting it to what it should be.

Before:

```console
PS D:\vcpkg> rm env:PROCESSOR_ARCHITECTURE
Remove-Item: Cannot find path 'Env:\PROCESSOR_ARCHITECTURE' because it does not exist.
PS D:\vcpkg> rm env:PROCESSOR_ARCHITEW6432
Remove-Item: Cannot find path 'Env:\PROCESSOR_ARCHITEW6432' because it does not exist.
PS D:\vcpkg> echo "PROCESSOR_ARCHITEW6432: $env:PROCESSOR_ARCHITEW6432 PROCESSOR_ARCHITECTURE: $env:PROCESSOR_ARCHITECTURE"
PROCESSOR_ARCHITEW6432:  PROCESSOR_ARCHITECTURE:
PS D:\vcpkg> .\vcpkg.exe env
Microsoft Windows [Version 10.0.22631.2715]
(c) Microsoft Corporation. All rights reserved.

D:\vcpkg>echo PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%

D:\vcpkg>exit
PS D:\vcpkg> echo "PROCESSOR_ARCHITEW6432: $env:PROCESSOR_ARCHITEW6432 PROCESSOR_ARCHITECTURE: $env:PROCESSOR_ARCHITECTURE"
PROCESSOR_ARCHITEW6432:  PROCESSOR_ARCHITECTURE:
PS D:\vcpkg> .\vcpkg.exe env C:\Windows\SysWOW64\cmd.exe
Microsoft Windows [Version 10.0.22631.2715]
(c) Microsoft Corporation. All rights reserved.

D:\vcpkg>echo PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
```

After:

```console
PS D:\vcpkg> rm env:PROCESSOR_ARCHITECTURE
PS D:\vcpkg> rm env:PROCESSOR_ARCHITEW6432
Remove-Item: Cannot find path 'Env:\PROCESSOR_ARCHITEW6432' because it does not exist.
PS D:\vcpkg> echo "PROCESSOR_ARCHITEW6432: $env:PROCESSOR_ARCHITEW6432 PROCESSOR_ARCHITECTURE: $env:PROCESSOR_ARCHITECTURE"
PROCESSOR_ARCHITEW6432:  PROCESSOR_ARCHITECTURE:
PS D:\vcpkg> .\vcpkg.exe env
Microsoft Windows [Version 10.0.22631.2715]
(c) Microsoft Corporation. All rights reserved.

D:\vcpkg>echo PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: AMD64

D:\vcpkg>exit
PS D:\vcpkg> echo "PROCESSOR_ARCHITEW6432: $env:PROCESSOR_ARCHITEW6432 PROCESSOR_ARCHITECTURE: $env:PROCESSOR_ARCHITECTURE"
PROCESSOR_ARCHITEW6432:  PROCESSOR_ARCHITECTURE:
PS D:\vcpkg> .\vcpkg.exe env C:\Windows\SysWOW64\cmd.exe
Microsoft Windows [Version 10.0.22631.2715]
(c) Microsoft Corporation. All rights reserved.

D:\vcpkg>echo PROCESSOR_ARCHITEW6432: %PROCESSOR_ARCHITEW6432% PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
PROCESSOR_ARCHITEW6432: AMD64 PROCESSOR_ARCHITECTURE: x86
```
2023-12-11 14:53:00 -08:00
Embedded Bot 59acafe813 [localization][automated][ci skip] update locale files 2023-12-11 19:05:29 +00:00
autoantwort c1b70fb90e
Separate user and machine output (#1175) 2023-12-11 11:01:40 -08:00
Embedded Bot 3022efe190 [localization][automated][ci skip] update locale files 2023-12-11 18:59:19 +00:00
CSIGS@microsoft.com 1a7fbd2403
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20231208135425396. (#1300) 2023-12-11 10:56:09 -08:00
Embedded Bot a652540257 [localization][automated][ci skip] update locale files 2023-12-11 18:28:06 +00:00
CSIGS@microsoft.com 9bc8805691
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20231207173145317. (#1299) 2023-12-11 10:23:13 -08:00
Embedded Bot f098d3e0aa [localization][automated][ci skip] update locale files 2023-12-08 09:25:31 +00:00
CSIGS@microsoft.com a529bd925e
Juno: check in to juno/hb_cb3056d7-d122-4ef4-8657-e36080a7f8c6_20231206135211644. (#1298) 2023-12-08 01:22:35 -08:00
Embedded Bot 2f25fc8cd2 [localization][automated][ci skip] update locale files 2023-12-05 22:02:25 +00:00