Commit Graph

57 Commits

Author SHA1 Message Date
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