Commit Graph

38 Commits

Author SHA1 Message Date
Robert Schumacher 8741214bf6 [vcpkg] Use unique_ptr<> for paragraphs. Post-parser phase rework. 2017-06-20 09:36:21 -07:00
Daniel Shaw bca0988023 [vcpkg] feature packages initial parsing 2017-06-19 15:06:15 -07:00
Robert Schumacher 2e01b926d8 Merge pull request #1106 from evil-e/master
Added option to search and list commands
2017-06-09 23:46:20 -07:00
Robert Schumacher e5dc2f9c8f [vcpkg] Rename --full-desc to --x-full-desc 2017-06-09 23:45:52 -07:00
Robert Schumacher 247a6cec90 [vcpkg] Improve diagnostics upon port load failure 2017-06-08 04:32:57 -07:00
Daniel Shaw 621d2f852d [vcpkg-search] added search in description 2017-05-22 15:47:05 -07:00
Jon Erickson c0be6aecc6 Added '--full-desc' option to search and list commands to shows full description for packages. 2017-05-16 21:10:00 -04:00
Alexander Karatarakis 346aa3fab8 [clang-format] Cpp11BracedListStyle: true 2017-04-28 12:55:50 -07:00
Alexander Karatarakis 1e9471a148 Run clang-format over the cpp files 2017-04-27 18:59:57 -07:00
Robert Schumacher c434dc9986 [vcpkg] Initial addition of Filesystem abstraction to enable testing. 2017-04-08 16:26:26 -07:00
Alexander Karatarakis 3f76b9e53d vcpkg_paths -> VcpkgPaths 2017-04-04 16:44:46 -07:00
Alexander Karatarakis e051edfa10 vcpkg_cmd_arguments -> VcpkgCmdArguments 2017-04-04 16:44:43 -07:00
Alexander Karatarakis d33e191ce4 dependency -> Dependency 2017-04-04 16:44:42 -07:00
Alexander Karatarakis 4bc91f1f26 [commands] Use Checks::exit_fail/success/with_code() 2017-03-22 17:45:39 -07:00
Alexander Karatarakis 9027a64371 `search` Modify message 2017-03-15 14:39:44 -07:00
Alexander Karatarakis c0ae9fee7e Move some functions from vcpkglib.h to Paragraphs.h 2017-02-27 15:45:56 -08:00
Alexander Karatarakis 33952d2dd2 Introduce function: load_all_ports() 2017-02-27 15:13:13 -08:00
Alexander Karatarakis 1dd675a785 Use std::vector.empty() instead of checking for size() = 0 2017-02-21 17:32:53 -08:00
Alexander Karatarakis de288d5a4c Add `search --graph` option
This functionality should eventually be moved elsewhere
2017-02-21 17:32:10 -08:00
Alexander Karatarakis 02eeb834b1 `cache`/`list`/`own`/`search`: check for --options 2017-02-17 15:38:02 -08:00
Alexander Karatarakis 050e4a0f7a Introduce precompiled headers 2017-01-30 21:52:42 -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 b629cd9044 [vcpkg_cmd_arguments] Use std::string instead of char* 2016-12-12 15:03:36 -08:00
Alexander Karatarakis 0042316c4b Introduce filesystem_fs.h 2016-11-30 13:38:42 -08:00
Alexander Karatarakis 97df2162fd [search] Don't #include "vcpkg.h" 2016-11-07 17:37:31 -08:00
Alexander Karatarakis d78c1a974f Move shorten_description to vcpkglib_helpers 2016-11-07 17:37:08 -08:00
Alexander Karatarakis a721db2c1f Refactor: create new Paragraphs.h/cpp 2016-11-07 16:06:36 -08:00
Alexander Karatarakis b81d1910db [vcpkg search] Use System::println() instead of iostream + iomanip 2016-11-07 14:42:25 -08:00
Alexander Karatarakis c2a6ed412b Rework `vcpkg search` implementation 2016-11-07 13:57:52 -08:00
Alexander Karatarakis 331ac16736 Make lambda arg const 2016-11-07 13:43:36 -08:00
Alexander Karatarakis a6821438bc Make parameter const 2016-11-06 20:12:21 -08:00
Alexander Karatarakis 0050125443 Rename function case_insensitive_find() to case_insensitive_ascii_find() 2016-10-04 15:23:44 -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 fc1e55173b Rename check_max_args to check_max_arg_count and introduce min/exact variants 2016-09-30 11:29:01 -07:00
Alexander Karatarakis 869a3b22ad vcpkg search now does substring search 2016-09-21 22:47:36 -07:00
Alexander Karatarakis 63052551ef Simplify for-iterator 2016-09-21 22:14:02 -07:00
Alexander Karatarakis fd7969d325 Move search_command to a separate file 2016-09-21 21:57:27 -07:00