Commit Graph

121 Commits

Author SHA1 Message Date
Daniel Shaw 264cd050e6 ExpectedT factory class 2017-06-06 14:02:59 -07:00
Alexander Karatarakis a66b066d45 get_environmental_variable() -> get_environment_variable() 2017-05-04 14:58:18 -07:00
Alexander Karatarakis a94efe662b Rename Strings:: function for utf8/utf16 conversion 2017-05-04 14:54:23 -07:00
Robert Schumacher cbc52bc6a4 [vcpkg] Remove OptBool in favor of Optional<bool> 2017-04-30 03:36:55 -07:00
Alexander Karatarakis 4ad755bb69 Run clang-foramt over tests and remaining cpp files 2017-04-27 18:59:57 -07:00
Alexander Karatarakis 1aef09ba58 Rework OptBool enum 2017-04-25 17:56:18 -07:00
Robert Schumacher 7069fbbebc [vcpkg] Remove+indirect nearly all uses of iostreams 2017-04-12 22:48:52 -07:00
Robert Schumacher 7326b6c64d Merge from master 2017-04-11 18:24:08 -07:00
Robert Schumacher 0bc21296c9 [vcpkg] Alias out standard filesystem headers to ensure clean separation. 2017-04-11 15:16:39 -07:00
Alexander Karatarakis 84e1a9d3e5 VcpkgCmdArguments.target_triplet -> ".triplet 2017-04-10 13:01:43 -07:00
Alexander Karatarakis 410aa5b43a default_target_triplet -> default_triplet 2017-04-10 13:00:33 -07:00
Robert Schumacher b34c40a4e6 [vcpkg] Further work on filesystem abstraction layer. 2017-04-08 20:19:35 -07:00
Robert Schumacher c434dc9986 [vcpkg] Initial addition of Filesystem abstraction to enable testing. 2017-04-08 16:26:26 -07:00
Robert Schumacher 1c9838b551 [vcpkg-debug] Add debugging for calls to cmd_execute_clean() 2017-04-05 16:28:09 -07:00
Alexander Karatarakis e401799aca color -> Color 2017-04-04 16:47:00 -07:00
Alexander Karatarakis 3f76b9e53d vcpkg_paths -> VcpkgPaths 2017-04-04 16:44:46 -07:00
Alexander Karatarakis 95428f5369 optional<T> -> Optional<T> 2017-04-04 16:44:45 -07:00
Alexander Karatarakis 9e19213498 expected -> Expected 2017-04-04 16:44:45 -07:00
Alexander Karatarakis e051edfa10 vcpkg_cmd_arguments -> VcpkgCmdArguments 2017-04-04 16:44:43 -07:00
Alexander Karatarakis 23e3397b2f ElapsedTime: rename function to all_lower 2017-04-04 16:44:43 -07:00
Alexander Karatarakis bdf80d63c6 triplet -> Triplet 2017-04-04 16:44:42 -07:00
Alexander Karatarakis 1c1423014f opt_bool->OptBool 2017-04-04 16:44:41 -07:00
Alexander Karatarakis 830a4d97d4 Rename Metrics:: function to all_lower 2017-04-04 16:44:41 -07:00
Alexander Karatarakis c86dbc960e Introduce Metrics namespace 2017-04-04 16:44:41 -07:00
Robert Schumacher c26e7c94c6 Eliminate last usage of Checks::check_throw() 2017-03-31 17:00:24 -07:00
Robert Schumacher c5950aa651 Rename expected::get_or_exit() to expected::value_or_exit() 2017-03-31 16:23:48 -07:00
Robert Schumacher 830bd8d449 [vcpkg] Fix regression introduced in 67ce764. Fixes #868. Fixes #866. 2017-03-29 09:49:09 -07:00
Alexander Karatarakis 42bd55e3ae Rework optional<T> 2017-03-28 18:59:57 -07:00
Alexander Karatarakis 67ce764c2e [expected] Now uses exit variants instead of throw variants 2017-03-28 18:48:03 -07:00
Alexander Karatarakis d2bab3c370 Rework Paragraph parsing error handling. Add single paragraph functions 2017-03-27 12:43:14 -07:00
Alexander Karatarakis c1fee48c08 Use Checks::exit_fail/success/with_code() 2017-03-22 17:46:05 -07:00
Alexander Karatarakis 4114d87a07 All Checks now take LineInfo as the first argument 2017-03-13 17:56:21 -07:00
Alexander Karatarakis cbcd29c209 Global variable g_debugging now declared in vcpkglib.h 2017-03-13 17:56:21 -07:00
Robert Schumacher 19695fc832 [vcpkg] Deduplicate all timer classes. 2017-03-04 06:25:05 -08:00
Robert Schumacher 4806aaf460 [vcpkg] Remove more uses of iostreams. Force 'C' locale -- localization is TODO. 2017-03-04 06:11:24 -08:00
Alexander Karatarakis 43eb772d94 Change Info::email() to Contact::email(). Remove vcpkg_info.h/cpp 2017-02-17 20:13:36 -08:00
Alexander Karatarakis ac2ec94129 Change Info::version() to Version::version() 2017-02-17 20:08:29 -08:00
Alexander Karatarakis b882f365e9 System::get_environmental_variable() now returns optional<> 2017-02-14 15:35:34 -08:00
Alexander Karatarakis c11b2c790e Rename wdupenv_str to get_environmental_variable() 2017-02-14 13:21:30 -08:00
Alexander Karatarakis bd1a10e5b9 Enhance the opt_bool type 2017-02-01 11:42:41 -08:00
Alexander Karatarakis 2a83c5eda6 [opt_bool] Make members ALL_CAPS 2017-01-31 12:59:20 -08:00
Alexander Karatarakis 31ddf1a803 Rename main.cpp to vcpkg.cpp 2017-01-25 19:34:25 -08:00
Alexander Karatarakis 59be40a100 Rename vcpkg.h/cpp to vcpkglib.h/cpp 2017-01-25 19:32:50 -08:00
Alexander Karatarakis e5f60816cb Introduce ImmutableSortedVector 2017-01-05 14:30:52 -08:00
nekko1119 31d5994dd5 Fix signed/unsigned mismatch warning 2016-12-24 05:27:22 +09:00
Alexander Karatarakis aad0cc4c04 Files::get_contents() -> Files::read_contents() 2016-12-16 19:40:58 -08:00
Alexander Karatarakis 843e390c94 Replace reading lines and ignoring empty lines with the new functions
Namely:
Files::read_all_lines();
Strings::trim_all_and_remove_whitespace_strings()
2016-12-16 16:20:27 -08:00
Alexander Karatarakis 38859d5c91 Improve code that filters out the directories from a vector of paths 2016-12-15 18:41:01 -08:00
Alexander Karatarakis 15ca6919ad Use Files::write_all_lines() 2016-12-15 18:24:06 -08:00
Alexander Karatarakis 88daca5f54 [listfile] When reading a listfile, add / at the end of directories 2016-12-15 14:28:43 -08:00
Alexander Karatarakis b1681d0838 Avoid copying struct 2016-12-13 19:02:02 -08:00
Alexander Karatarakis a195dedf52 get_installed_files() now filters out the directories 2016-12-01 20:39:28 -08:00
Alexander Karatarakis 7c2abc755f Introduce function get_installed_files() 2016-12-01 15:36:39 -08:00
Alexander Karatarakis 79399923b6 Remove unused function 2016-12-01 02:03:07 -08:00
Alexander Karatarakis 53598df287 Remove unused #include directives 2016-12-01 02:02:49 -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 89aaf195fb Remove unused variable 2016-12-01 01:37:41 -08:00
Alexander Karatarakis 1f758b19a5 [install-command] Verify files will not overwrite existing files 2016-12-01 01:31:15 -08:00
Alexander Karatarakis 0042316c4b Introduce filesystem_fs.h 2016-11-30 13:38:42 -08:00
Alexander Karatarakis c0564b6111 Remove unused function 2016-11-29 16:45:21 -08:00
Alexander Karatarakis 5e75a3dd0e Extract local variable 2016-11-29 13:06:27 -08:00
Alexander Karatarakis 2584f3e3de Major refactor/rework of dependency resolution 2016-11-15 11:58:13 -08:00
Alexander Karatarakis 218cae4503 Skip BUILD_INFO file on install 2016-11-08 15:08:42 -08:00
Alexander Karatarakis 1a1507a603 Move search_file() to commands_own.cpp 2016-11-07 17:56:40 -08:00
Alexander Karatarakis d799762ea7 Move listfile_path() to vcpkg_paths.h 2016-11-07 17:54:23 -08:00
Alexander Karatarakis d78c1a974f Move shorten_description to vcpkglib_helpers 2016-11-07 17:37:08 -08:00
Alexander Karatarakis 8be5e7c123 Move Dependency-related functions from vcpkg.h to vcpkg_Dependencies.h 2016-11-07 16:38:49 -08:00
Alexander Karatarakis d65e78f6f5 Move functions that are only used by `import` out of vcpkg.h/cpp 2016-11-07 16:17:34 -08:00
Alexander Karatarakis 058cbaf459 Merge lib.cpp and vcpkg.cpp -> vcpkg.cpp 2016-11-07 16:10:41 -08:00
Alexander Karatarakis a721db2c1f Refactor: create new Paragraphs.h/cpp 2016-11-07 16:06:36 -08:00
Alexander Karatarakis ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00