Commit Graph

610 Commits

Author SHA1 Message Date
Billy O'Neal (VC LIBS)
02839ae4a8 vcpkg was going out of its way to use partition before calling the container erase function which is slower than just using remove_if.
remove_if is already stable, so separate stable and unstable versions are unnecessary.

https://iterator.wordpress.com/2016/01/31/algorithms_0/

Unstable remove_if algorithms are possible that might win, as indicated in that article; but plain remove_if provides the most consistent behavior.
2018-11-15 11:24:24 -08:00
Alexander Karatarakis
f19df646a0 Survey times. Refactor Chrono stuff. All times UTC, unless explicitly mentioned
Survey is set to be every 6 months, but you also get one in the first 10 days.
2018-10-17 19:43:15 -07:00
LRFLEW
3d12e5ca72 Handle symlink when installing or removing a library (#4479) 2018-10-17 11:46:27 -07:00
Robert Schumacher
df82d21f32 [vcpkg] Fix OSX build for old GCC versions 2018-10-16 05:53:57 -07:00
Robert Schumacher
56e1d2f696 [vcpkg] Wrap all external process spawning in a Ctrl-C catcher to avoid corrupted consoles 2018-10-16 00:35:47 -07:00
Alexander Karatarakis
276da906c5 Remove status_known() 2018-10-09 20:14:51 -07:00
Alexander Karatarakis
1f79c92eb0 Add command x-vsinstances 2018-09-18 20:55:35 -07:00
Robert Schumacher
da9850efc7 [vcpkg-ci] Fix bug in "vcpkg ci" which results in different features being installed than originally desired. 2018-07-12 02:24:02 -07:00
Robert Schumacher
d977ac231e [vcpkg] Remove vcpkg::Archives from vcpkg::base. Add vcpkg::Hash. 2018-07-09 07:06:29 -07:00
Robert Schumacher
802f51a142 [vcpkg] Split vcpkg::Commands::Fetch into backend and frontend 2018-07-09 06:29:37 -07:00
Robert Schumacher
03a038cb86 [vcpkg] Improve metrics performance on Windows 2018-06-30 19:48:26 -07:00
Robert Schumacher
3ff69f138b [vcpkg] Warn instead of fail on tombstone 2018-06-30 19:48:25 -07:00
Robert Schumacher
3314845a92 [vcpkg] Remove calls to where.exe to improve startup performance 2018-06-27 23:15:48 -07:00
Robert Schumacher
0ad79a67c7 [vcpkg] Enable storing archives across filesystems 2018-06-27 18:58:29 -07:00
Alexander Karatarakis
6b7b82c58a [fetch] Refactor to allow getting the version along with the path 2018-06-19 23:07:31 -07:00
Alexander Karatarakis
31374871f2 Rename VcpkgStringRange -> StringRange 2018-06-19 23:07:31 -07:00
Alexander Karatarakis
c256ccf452 Introduce stringrange.h/cpp and visualstudio.h/cpp 2018-06-19 23:07:31 -07:00
Alexander Karatarakis
dbae3bfe56 Introduce archives.h/cpp 2018-06-19 23:07:31 -07:00
Alexander Karatarakis
3e76baa163 Introduce downloads.h/cpp 2018-06-19 23:07:31 -07:00
Robert Schumacher
78e4d07e84 [vcpkg] Improve CMake messages to account for case-sensitive filesystems.
Improve CMake messages to display shortest targets first (which are hopefully the "public" ones).
Also, fix bug in StringLiteral.
2018-05-22 03:37:40 -07:00
Alexander Karatarakis
285c69b0fa [c++] Condense powershell helper code into the remaining single usage
`vcpkg integrate powershell` uses it
2018-05-19 19:23:33 -07:00
Alexander Karatarakis
f69cce7051 Fix typo 2018-05-16 15:34:13 -07:00
Alexander Karatarakis
1b0682a39e [vcpkg] Significantly reduce usage of powershell. Reduce console font switching bug 2018-05-15 23:27:14 -07:00
Robert Schumacher
8f0ebdf8d5 [vcpkg] Remove utf16 usage from non-Windows 2018-05-03 15:03:35 -07:00
Robert Schumacher
a9d989ec05 [vcpkg-integrate-install] Add vcpkg.path.txt to localappdata for more generic consumption. 2018-04-28 14:17:52 -07:00
Alexander Karatarakis
9167511656 Fix #3170 issue with /permissive- 2018-04-25 18:15:54 -07:00
Alexander Karatarakis
f6530368eb Remove noexcept from BinaryParagraph() 2018-04-25 00:19:27 -07:00
Robert Schumacher
a2aeb2f194 [vcpkg] Mark many types noexcept. Make certain code patterns more transparent to /analyze. #ifdef-out unused code on non-windows. 2018-04-12 00:47:17 -07:00
Robert Schumacher
8da8f3e5b3 [vcpkg] Rework dependencies.cpp to improve type safety and error detection 2018-04-11 23:48:32 -07:00
Alexander Karatarakis
77338ee0df Remove more unused #include directives 2018-04-07 04:55:37 -07:00
Alexander Karatarakis
402bbbc1e2 [Checks] Take parameter by ref 2018-04-06 19:31:20 -07:00
Alexander Karatarakis
80f16f769e Use Cache class 2018-04-06 17:26:59 -07:00
Alexander Karatarakis
1bfb01cfee [vcpkg hash] Add sanity checking 2018-04-06 17:26:58 -07:00
Alexander Karatarakis
e712308554 [vcpkg hash] Add string hashing (as opposed to file hashing) 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
870fa61e01 [vcpkg hash] Don't use cmake for non-windows hashes. Use shasum instead 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
0c0f68939e Introduce "vcpkg fetch" 2018-04-06 17:24:46 -07:00
Jacob Zhong
892f7052f9 [vcpkg] Add support of external downloader aria2 2018-04-02 18:48:14 -07:00
Alexander Karatarakis
adccba04db [vcpkg.exe] Look for vcpkgTools in downloads/tools/$toolname-$toolversion
(only non-windows currently)
2018-04-02 18:47:37 -07:00
Alexander Karatarakis
3a91b0072d Fix name 2018-03-24 01:28:24 -07:00
Alexander Karatarakis
69dfad795f Introduce Maps::transform_values() 2018-03-24 01:27:40 -07:00
Robert Schumacher
1f62b32641 [vcpkg] Sort abi tags to ensure stability 2018-03-22 10:01:12 -07:00
Alexander Karatarakis
d45954a96b System::get_program_files() now returns Optional<fs::path> 2018-03-21 18:21:30 -07:00
Robert Schumacher
d80dd5cbc7 [vcpkg] Handle failure to store archive 2018-03-20 19:14:20 -07:00
Alexander Karatarakis
ab7985a34b [vcpkg-hash] Use BCrypt on Windows 2018-03-20 19:12:35 -07:00
Robert Schumacher
eab1d5c531 [vcpkg-ci] Do not rebuild libraries that were previously successful or failed 2018-03-20 19:12:35 -07:00
Jacob Zhong
d253123055 Add options and documentation for env command (#3007)
* [vcpkg] Add options and documentation for env command

* [vcpkg-env] Cleanup. Add tools/*.
2018-03-18 05:24:19 -07:00
Robert Schumacher
90c4b8dbb7 [vcpkg] Further refactoring inside build_package() 2018-03-14 09:58:23 -07:00
Robert Schumacher
3c7997215b [vcpkg] Improve default triplets for non-windows 2018-03-13 11:06:22 -07:00
Robert Schumacher
f72b46690a [vcpkg] Silence warnings on recent clang 2018-03-13 06:25:59 -07:00
Robert Schumacher
81b9ab1291 [vcpkg] Refactor do_build_package and add archive tombstoning 2018-03-13 04:26:00 -07:00