aboutsummaryrefslogtreecommitdiff
path: root/toolsrc
AgeCommit message (Collapse)Author
2019-07-26[vcpkg] Fix RealFilesystem::remove_all (#7430)nicole mazzuca
* fix remove_all we were attempting to remove READONLY files before this, and so set them to non-READONLY * fix linux/macos support * whee fix vs2015
2019-07-24Modify CMakeLists to split up vcpkglib (#7407)nicole mazzuca
Before this, we had vcpkg and vcpkg-test taking the vcpkglib source files directory -- this commit makes vcpkglib an object library.
2019-07-22fix some of the awful mix of macrosNicole Mazzuca
2019-07-19allow tests to run on older standard librariesNicole Mazzuca
2019-07-19switch to new test frameworkNicole Mazzuca
2019-07-19Merge branch 'trunk' into parallel-file-opsNicole Mazzuca
2019-07-19[vcpkg] Portfile Settings (#7292)Curtis J Bezault
2019-07-18Rewrite the tests! now they're cross-platform! (#7315)nicole mazzuca
* begin exploratory rewriting of tests * continue working on tests * more test work! holy butts vcpkg-tests/plan.cpp was a bunch of work * finish writing new tests - [x] write catch2 tests - [ ] rewrite/at least delete the VS project files - [ ] document running tests * Fix tests to work on WSL, rewrite test vcxproj still need to test on macOS also, delete tests.pch.h * Condense add_test calls
2019-07-18clang-format all the thingsNicole Mazzuca
2019-07-18Update VERSION.txtCurtis J Bezault
2019-07-18Better error message when VCPKG_ROOT is independently defined (#7229)Dan Nissenbaum
2019-07-18[vcpkg] Environment Variable Passthrough (#7290)Curtis J Bezault
* use additional env param * remove partials * remove change to linux triplet * Fix some issues that vicroms pointed out * whitespace change
2019-07-17tests.files.cpp:create_directory_tree -- change magic numbers to namesNicole Mazzuca
2019-07-15wheeeee more fixesNicole Mazzuca
2019-07-15modify files test to include symlinksNicole Mazzuca
2019-07-11forgot to test on macos >.<Nicole Mazzuca
2019-07-11add tests!Nicole Mazzuca
Also, fix all the bugs I found when I wrote the tests!
2019-07-11fix more commentsNicole Mazzuca
2019-07-11fix some comments from code reviewersNicole Mazzuca
2019-07-11make it compile on macos under g++6Nicole Mazzuca
2019-07-11make this compile on macosNicole Mazzuca
2019-07-11actually get the code compilingNicole Mazzuca
2019-07-11delete the random number generatorNicole Mazzuca
2019-07-11remove_all parallelized, and fix the issues with symlinkNicole Mazzuca
2019-07-11initial remove-in-parallelNicole Mazzuca
doesn't actually do parallel remove yet
2019-07-11Testing for --overlay-ports and --overlay-triplets args (#7243)Victor Romero
2019-07-10allow spaces in pathname on linux (#7216)Phil Christensen
2019-07-09Make handle features (#6797)gnaggnoyil
2019-07-06[vcpkg] Fix powershell font corruption bug (#7094)Robert Schumacher
* [vcpkg] Fix font corruption bug on Windows by downloading Powershell Core * [vcpkg] Rename subtool to powershell-core * [vcpkg] Add missing includes to project files
2019-07-02Bump version to 2019.06.26 (#7136)Victor Romero
2019-07-01Allow redirection of the scripts folder. (#6552)martin-s
* Allow redirection of the scripts folder with an environment variable. * - Updated feature from environment variable to argument. * Fix crash when no scripts override is given and use --scripts-root=<PATH> format * Update help messages to use --scripts-root=<PATH> format
2019-07-01Revert Visual Studio projects versions (#7117)Victor Romero
2019-06-30[vcpkg_configure_cmake] Add NO_CHARSET_FLAG option (#7074)2019.06Victor Romero
* [vcpkg_configure_cmake] Add NO_CHARSET_FLAG option * [vcpkg_configure_cmake] Add documentation for new NO_CHARSET_FLAG option * [vcpkg_configure_cmake, windows toolchain] Handle NO_CHARSET_FLAG in toolchain * [build.cpp] Add Windows toolchain to package hash * [duilib,msix,thrift,tidy-html5] Use NO_CHARSET_FLAG to fix regressions
2019-06-30[vcpkg] fail archived port install when decompression fails (#7086)Phil Christensen
* [vcpkg] fail port install when decompression fails * [vcpkg] clang-format
2019-06-29[vcpkg-integrate] Improve spelling, help, and autocomplete. (#7095)Robert Schumacher
2019-06-27Triplets Overlay Implementation (#7053)Victor Romero
* Triplets Overlay Implementation * Use cache for get_triplet_file_path() * Code cleanup
2019-06-24[--overlay-ports] Show location of overriden ports during install plan (#7002)Victor Romero
* [--overlay-ports] Show source location of overlayed ports during install plan * Code cleanup * Code cleanup
2019-06-21Ports Overlay partial implementation (#6981)Victor Romero
* Ports Overlay feature spec * Ports Overlay implementation * [--overlay-ports] Refactor handling of additional paths * Code cleanup * [--overlay-ports] Add help * [depend-info] Support --overlay-ports * Add method to load all ports using PathsPortFileProvider * Make PortFileProvider::load_all_control_files() const * Remove unused code * [vcpkg] Avoid double-load of source control file between Build::perform_and_exit and Build::perform_and_exit_ex * [vcpkg] Clang format * [vcpkg] Fixup build failure introduced in b069ceb2f231 * Report errors from Paragraphs::try_load_port()
2019-06-21Bump version to 2019.06.21 (#6987)Farwaykorse
2019-06-20VS 2019 16.3 deprecates <experimental/filesystem>. (#6968)Stephan T. Lavavej
VS 2019 16.3 will contain a couple of source-breaking changes: * <experimental/filesystem> will be deprecated via an impossible-to-miss preprocessor "#error The <experimental/filesystem> header providing std::experimental::filesystem is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17 <filesystem> header providing std::filesystem. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning." * <filesystem> will no longer include <experimental/filesystem>. In the long term, I believe that vcpkg should detect when it's being built with VS 2017 15.7 or newer, compile in C++17 mode, include <filesystem>, and use std::filesystem. (Activating this for VS 2019 16.0 or newer would also be reasonable.) Similarly for other toolsets supporting std::filesystem. In the short term, this commit makes vcpkg compatible with the upcoming deprecation. First, we need to define the silencing macro before including the appropriate header. I've chosen to define it unconditionally (without checking for platform or version), since it has no effect for other platforms or versions. Second, we need to deal with <filesystem> no longer including <experimental/filesystem>. I verified that VS 2015 Update 3 contained <experimental/filesystem> (back then, it simply included the <filesystem> header, where the experimental implementation was defined; this was later reorganized). Therefore, all of vcpkg's supported MSVC toolsets have <experimental/filesystem>, so we can simply always include it. I've verified that this builds with both VS 2015 Update 3 and VS 2019 16.1.3 (the current production version).
2019-06-19[vcpkg] Improve vcpkg::Files::Filesystem error handling (#6919)Robert Schumacher
* [vcpkg] Modify Filesystem::remove and Filesystem::rename to not throw. * [.gitignore] Ignore new VS2019 CMake integration default location * [.gitignore] Ignore CMakeSettings.json in toolsrc * [vcpkg] Time external processes called with System::cmd_execute * [vcpkg] Work around VS2019 CMake bug * [vcpkg] Fix several unused variable warnings. * [vcpkg] Improve error handling in vcpkg::Files::Filesystem Always require either std::error_code or LineInfo to print better errors. * [vcpkg] Fixup missing return value. Drive by fix: silence warnings in tests. * [vcpkg] Fix exiting in error_code overload Drive by fixes for /analyze with VS2019
2019-06-12Protect #pragma comment(lib, "foo") with _WIN32 checks (#6867)İsmail Dönmez
lld on Linux can now process #pragma comment(lib, "foo") macros which results in build failures on Linux when lld is used. Fix this by protecting these macros with _WIN32 checks.
2019-06-12[icu] Enable parallel builds (#6695)Curtis J Bezault
* Add VCPKG_NUM_LOGICAL_CORES * break out logic that retries running a command several times into its own function * Parallelize icu
2019-06-10[vcpkg] Add optional 'Homepage' field to CONTROL (#6844)Phil Christensen
* [control file] Add optional 'Homepage' tag This allows a 'Homepage' tag to be added to a port in order to support changes such as PR #2933. It currently does not do anything with it. * [docs] Add Homepage to the control file documentation * move urls from descriptions to homepage field.
2019-06-08[vcpkg] Apply clang format (#6826)Robert Schumacher
2019-05-23[toolsrc] Optionally allow vcpkg to clean after each build (#6522)Sean Warren
* [toolsrc] Optionally allow vcpkg to clean packages, buildtrees and downloads after each build Adds switch --clean-after-build * [toolsrc] Clarify that --clean-after-build deletes downloads * [toolsrc] Revert changes to ci download caching behaviour
2019-05-20[vcpkg] Avoid duplication of targets in the CMake message (#6536)myd7349
2019-05-20Handle moving files across partitions on macOS (#6506)Curtis J Bezault
2019-05-18[vcpkg] Fix regression in `--debug`. Remove old `features` featureflag. (#6507)Robert Schumacher
2019-05-13appleclang 10.01 does not have <filesystem> (#6413)lukka
support