Commit Graph

42 Commits

Author SHA1 Message Date
Alexander Karatarakis
7ca52532c2 want_t -> Want 2017-04-04 16:44:42 -07:00
Alexander Karatarakis
a742b60b4f InstallState: change enum constants to ALL_UPPER 2017-04-04 16:44:42 -07:00
Alexander Karatarakis
ab34b88f2d install_state_t -> InstallState 2017-04-04 16:44:42 -07:00
Alexander Karatarakis
bdf80d63c6 triplet -> Triplet 2017-04-04 16:44:42 -07:00
Alexander Karatarakis
d1141e6054 package_spec -> PackageSpec 2017-04-04 16:44:41 -07:00
Robert Schumacher
ebf1fff6a7 [vcpkg-remove] Make purge the default for remove.
Added (currently undocumented) --no-purge as workaround if required.
2017-04-04 13:05:02 -07:00
Alexander Karatarakis
ce01a4ec2b remove Add --outdated option 2017-04-04 12:55:10 -07:00
Robert Schumacher
74f788d04f [vcpkg] Replace explicit bulk operations with fmap 2017-04-01 01:11:51 -07:00
Alexander Karatarakis
14297a5bd9 remove: Add --dry-run option 2017-03-31 16:15:05 -07:00
Alexander Karatarakis
4bc91f1f26 [commands] Use Checks::exit_fail/success/with_code() 2017-03-22 17:45:39 -07:00
Alexander Karatarakis
4114d87a07 All Checks now take LineInfo as the first argument 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
d15818c602 Checks::unreachable() now needs LineInfo as an argument 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
07e43a7cae Nuke Joiner. Add wjoin() 2017-03-10 16:21:17 -08:00
Alexander Karatarakis
c1a2c79b6b [remove-command] Reorder input processing 2017-02-17 00:05:23 -08:00
Alexander Karatarakis
b39b2d298d Remove unused variable from create_remove_plan() 2017-02-15 18:38:40 -08:00
Alexander Karatarakis
5fa7aba4d2 [vcpkg remove] Fix remove --purge not applying to not-installed packages 2017-02-03 18:25:43 -08:00
Alexander Karatarakis
5c01fc4af8 Change --recursive option to --recurse 2017-01-30 22:04:04 -08:00
Alexander Karatarakis
4252d9436e remove_plan now depends on the spec, instead of StatusParagraph 2017-01-30 21:52:44 -08:00
Alexander Karatarakis
a7be90f823 Fix usage of remove_plan_type 2017-01-30 21:52:43 -08:00
Alexander Karatarakis
e461467aff [Dependencies] User-requested vs autos-elected info is now in a separate enum 2017-01-30 21:52:43 -08:00
Alexander Karatarakis
9c87fcbd8b Formatting 2017-01-30 21:52:43 -08:00
Alexander Karatarakis
82005ffe74 Improve messages from the remove command 2017-01-30 21:52:43 -08:00
Alexander Karatarakis
b1f0a09af2 Remove commented-out code 2017-01-30 21:52:43 -08:00
Alexander Karatarakis
661776fe29 Enable recursive remove command 2017-01-30 21:52:43 -08:00
Alexander Karatarakis
c1562f1d17 Print remove plan. Fail if --recursive is not passed and there are dependencies 2017-01-30 21:52:42 -08:00
Alexander Karatarakis
050e4a0f7a Introduce precompiled headers 2017-01-30 21:52:42 -08:00
Alexander Karatarakis
33b46b1fee Create a remove plan. NOT used yet 2017-01-30 21:52:41 -08:00
Alexander Karatarakis
9502d795bb Move & rename remove_plan_type enum 2017-01-30 21:52:41 -08:00
Alexander Karatarakis
59be40a100 Rename vcpkg.h/cpp to vcpkglib.h/cpp 2017-01-25 19:32:50 -08:00
Alexander Karatarakis
cc8851144a Reorganize commands, each in its own namespace
Additionally, functions related to a command can now live
in the same namespace
2017-01-12 22:03:57 -08:00
Alexander Karatarakis
df2a05e854 Introduce Command namespace. Refactoring 2017-01-12 17:43:05 -08:00
Alexander Karatarakis
852acbc263 [vcpkg_Input] Use std::string instead of char* 2016-12-12 15:05:49 -08:00
Alexander Karatarakis
b629cd9044 [vcpkg_cmd_arguments] Use std::string instead of char* 2016-12-12 15:03:36 -08:00
Alexander Karatarakis
6eac44c964 Move install_package() and deinstall_package() to the files of the
appropriate commands
2016-12-01 01:49:24 -08:00
Alexander Karatarakis
188eac680b Rename check_all_triplets() to check_triplets() 2016-09-30 17:02:39 -07:00
Alexander Karatarakis
51bc83c70e Added triplet check in all commands that obtain package_specs 2016-09-30 17:01:41 -07:00
Alexander Karatarakis
8becbe15a2 Place check_and_get_package_spec in a separate file 2016-09-30 16:49:30 -07:00
Alexander Karatarakis
d7c357db2e Replace usage of parse_all_args_as_package_specs with the new functions 2016-09-30 16:38:29 -07:00
Alexander Karatarakis
b2c1076aef All commands now use the new functions for argument checking 2016-09-30 15:02:08 -07:00
Alexander Karatarakis
cd30cd4df9 parse_all_arguments_as_package_specs: remove unused parameter 2016-09-23 16:26:27 -07:00
Albert Ziegenhagel
31935aa0fd Improved error reporting when user provides invalid triplets 2016-09-23 09:44:30 +02:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00