Commit Graph

87 Commits

Author SHA1 Message Date
Phil Christensen
22e0b9f376
improve logic expression evaluation (#7508)
* better logic expression evaluation

Improve the logic expression evaluation currently used when filtering
dependencies.

Biggest improvements:
+  Allow '|' operator
+  Support nested '()'
+  Allow whitespace
+  Useful error message for malformed expressions

Also changed names of types to RawParagraph when that is what the original author was using.
2019-08-02 21:37:49 -07:00
Nicole Mazzuca
0d8bba52e4 allow tests to run on older standard libraries 2019-07-19 23:20:28 -07:00
Nicole Mazzuca
a0fe40ea58 add tests!
Also, fix all the bugs I found when I wrote the tests!
2019-07-11 18:21:25 -07:00
Robert Schumacher
2b8e225b2e
[vcpkg] Fix powershell font corruption bug (#7094)
* [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-06 13:29:46 -07:00
Victor Romero
96994f8ede
Revert Visual Studio projects versions (#7117) 2019-07-01 22:49:05 -07:00
Victor Romero
f3db66b403
Ports Overlay partial implementation (#6981)
* 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 b069ceb2f2

* Report errors from Paragraphs::try_load_port()
2019-06-21 23:50:05 -07:00
Robert Schumacher
b39b0899cb [vcpkg] Synchronize vcpkg-base with external repo (#5934) 2019-04-08 23:26:18 -07:00
Alexander Karatarakis
5a1a75d2d6 [vcxproj] Explicitly specify intermediate and output directories
Avoids case-sensitivity issues, flattens the layout, no Win32 but x86 instead
Issue #4586
2018-11-01 01:26:31 -07:00
Roelf-Jilling
a107942920 Remove import of user property pages when building vcpkg 2018-10-31 11:00:41 +01:00
Alexander Karatarakis
1f79c92eb0 Add command x-vsinstances 2018-09-18 20:55:35 -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
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
Alexander Karatarakis
0c0f68939e Introduce "vcpkg fetch" 2018-04-06 17:24:46 -07:00
Robert Schumacher
ebdb410394 [everything] Use -text to ensure consistent files across machines.
If you experience trouble, you can use the following to renormalize your local working directory:

git add --renormalize .
git reset .
git checkout .
2018-02-26 18:18:05 -08:00
Alexander Karatarakis
458dafc812 Add new struct: StringLiteral 2018-01-17 19:38:17 -08:00
Robert Schumacher
63a23cf0ca [vcpkg] Fix regressions in WSL build. 2017-12-14 14:31:28 -08:00
Robert Schumacher
eb1a7b099e [vcpkg] Fix regressions introduced with update command. Fixed issue with upgrade where it assumed downloads were not allowed. 2017-12-13 05:43:00 -08:00
Robert Schumacher
7a6ffdc75c Revert "[vcpkg-upgrade] Initial commit of upgrade command."
This reverts commit 803347a0c5.
2017-12-13 04:48:13 -08:00
Robert Schumacher
803347a0c5 [vcpkg-upgrade] Initial commit of upgrade command. 2017-12-13 02:22:52 -08:00
Robert Schumacher
71f8958a06 [vcpkg-contact-survey] Add monthly survey prompt 2017-12-01 16:08:09 -08:00
Robert Schumacher
e17de99599 [vcpkg] Re-layout all files using new organization scheme.
All filenames and directories are lowercase. Use dots for namespace separation.
2017-10-13 18:37:41 -07:00
Robert Schumacher
bb48a94606 Merge pull request #1896 from mariatav/dev/mariatav/autocomplete
Autocomplete: Command to enable tab completion
2017-10-06 14:42:34 -07:00
Maria Tavlaki
b3e06443ea Create stub autocomplete function 2017-10-02 01:23:55 +03:00
Konstantin Podsvirov
68b9c2d8b9 [vcpkg-export-ifw] Separate IFW loop
Separate IFW loop compatible with main export loop
Fixed mistakes in templates
Set current date to ReleaseDate tag
2017-09-28 00:21:26 +03:00
Konstantin Podsvirov
ba0cc3f1d7 WIP: Export IFW
Add export to binary crossplatform repository/installer
with GUI based on QtIFW:
http://doc.qt.io/qtinstallerframework/ifw-overview.html

For correct operation of these changes,
you must use the corrected QtIFW:
https://codereview.qt-project.org/#/c/203958
2017-09-28 00:21:25 +03:00
Alexander Karatarakis
e237682cad Introduce GlobalState struct 2017-08-24 16:29:40 -07:00
Robert Schumacher
8741214bf6 [vcpkg] Use unique_ptr<> for paragraphs. Post-parser phase rework. 2017-06-20 09:36:21 -07:00
Robert Schumacher
247a6cec90 [vcpkg] Improve diagnostics upon port load failure 2017-06-08 04:32:57 -07:00
Alexander Karatarakis
9a698d7088 Convert BuildType/Configuration Type into simple enum classes 2017-06-06 16:37:58 -07:00
Robert Schumacher
6be01a12db [vcpkg] Refactored to simplify BuildPolicies into BuildPolicy.
Restrict policy consumers to a simpler interface than std::map.
Rename vcpkg::getMachineType -> vcpkg::to_machine_type.
2017-05-24 00:44:00 -07:00
Robert Schumacher
20657a29ca [vcpkg] Split vcpkg::Commands::Build -> vcpkg::Build, vcpkg::Commands::BuildCommand 2017-05-01 17:24:54 -07:00
Robert Schumacher
cbc52bc6a4 [vcpkg] Remove OptBool in favor of Optional<bool> 2017-04-30 03:36:55 -07:00
Alexander Karatarakis
75e8752cb9 Run clang-format over the headers. Remove stray Version.h/cpp. Fix location of VersionT.cpp 2017-04-27 18:59:57 -07:00
Alexander Karatarakis
92cf32d59a Add skeleton code for vcpkg export 2017-04-21 18:06:51 -07:00
Alexander Karatarakis
84ed167439 Introduce vcpkg depend-info command 2017-04-05 14:20:49 -07:00
Alexander Karatarakis
3f76b9e53d vcpkg_paths -> VcpkgPaths 2017-04-04 16:44:46 -07:00
Alexander Karatarakis
b766a005b7 version_t -> VersionT 2017-04-04 16:44:43 -07:00
Alexander Karatarakis
e051edfa10 vcpkg_cmd_arguments -> VcpkgCmdArguments 2017-04-04 16:44:43 -07:00
Alexander Karatarakis
7ee180ebdd paragraph_parse_result -> ParagraphParseResult 2017-04-04 16:44:41 -07:00
Alexander Karatarakis
83cde51334 package_spec_parse_result -> PackageSpecParseResult 2017-04-04 16:44:41 -07:00
Alexander Karatarakis
d1141e6054 package_spec -> PackageSpec 2017-04-04 16:44:41 -07:00
Alexander Karatarakis
1c1423014f opt_bool->OptBool 2017-04-04 16:44:41 -07:00
Alexander Karatarakis
604d0e58da cstring_view -> CStringView 2017-04-04 16:44:41 -07:00
Robert Schumacher
cb5cbc4d84 [vcpkg-env] Added internal 'env' command to help diagnose environment issues. 2017-04-03 10:44:29 -07:00
Robert Schumacher
b788c2b209 [vcpkg] ImmutableSortedVector is actually Mutable via move.
Use fmap instead of construct/insert.
Don't cache VS2015 instances since it is called once.
Add ParagraphDataMap alias.
2017-04-01 03:30:52 -07:00
Robert Schumacher
74f788d04f [vcpkg] Replace explicit bulk operations with fmap 2017-04-01 01:11:51 -07:00
Robert Schumacher
74fbd3acd5 [vcpkg] Dead code elimination 2017-04-01 01:10:15 -07:00