Commit Graph

344 Commits

Author SHA1 Message Date
Alexander Karatarakis
80825d491f Use read-only pattern for InstallationDirs 2017-04-17 19:06:25 -07:00
Alexander Karatarakis
4da39c6ca6 InstallationDirs struct now checks/create the needed dirs 2017-04-17 19:04:17 -07:00
Alexander Karatarakis
c8ff4e39ba Add fs::create_directories() forwarding function 2017-04-17 19:04:00 -07:00
Alexander Karatarakis
9b5275bb85 Make install_and_write_listfile() public
(also rename it)
2017-04-17 19:03:51 -07:00
Alexander Karatarakis
21fb6d0741 Add SortedVector.cbegin() and .cend() 2017-04-17 13:59:58 -07:00
Robert Schumacher
20397fc845 Merge branch 'dev/roschuma/fs-testing' 2017-04-14 16:07:54 -07:00
Robert Schumacher
1c08a42091 Merge from master 2017-04-14 16:01:19 -07:00
Alexander Karatarakis
55f554eea1 Introduce Util::group_by() 2017-04-14 14:31:45 -07:00
Alexander Karatarakis
66017aa2c3 Add Util::find_if() and Util::find_if_not() 2017-04-14 14:31:45 -07:00
Alexander Karatarakis
e3f4e09342 Remove explicit keyword from constructor 2017-04-14 14:31:45 -07:00
Alexander Karatarakis
294159bfd1 keep_if (wrong name) renamed to erase_remove_if 2017-04-13 15:37:24 -07:00
Alexander Karatarakis
23366aede0 Remove unused #include 2017-04-12 23:32:36 -07:00
Alexander Karatarakis
8abbce6361 write_all_lines() -> write_lines() 2017-04-12 23:16:04 -07:00
Alexander Karatarakis
bd01f8ce83 get_files_recursive()/get_files_non_recursive() 2017-04-12 23:15:02 -07:00
Alexander Karatarakis
1b21fd0f71 Files::read_lines() -> Files::read_all_lines() 2017-04-12 23:00:42 -07:00
Robert Schumacher
c3b54a2e7b Merge from master 2017-04-12 22:57:23 -07:00
Robert Schumacher
7069fbbebc [vcpkg] Remove+indirect nearly all uses of iostreams 2017-04-12 22:48:52 -07:00
Alexander Karatarakis
b578320d9c Add PackageSpec != operator 2017-04-12 22:40:24 -07:00
Alexander Karatarakis
8972bd3067 Introduce keep_if function 2017-04-12 22:40:17 -07:00
Alexander Karatarakis
2fa87fbb0a Simplify Remove plan generation 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
5131e955a8 Simplify Install plan generation 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
76f2c557ef Fix issue in the toposort algorithm and move-only types 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
5cd921c2b5 edges() -> dependencies() 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
2cc01b2aca Remove Graph class 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
6ef84f8a62 Add default constructor to Optional<T> 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
58f46ab652 Rework toposort and create_install_plan 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
24ba9f94ea Parameter by const& 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
d7466d98bb Extract toposort into a free function 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
cfbfa0d813 Rename 2017-04-12 22:05:02 -07:00
Alexander Karatarakis
612d941afc toposort: use lambda to obtain the neighbours of a vertex 2017-04-12 22:05:02 -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
d9ba36c7eb Remaining target_triplet -> triplet 2017-04-10 13:13:07 -07:00
Alexander Karatarakis
cb679871e0 [StatusParagraph] target_triplet -> triplet 2017-04-10 13:08:47 -07:00
Alexander Karatarakis
0f54ec446d [BinaryParagraph] target_triplet -> triplet 2017-04-10 13:06:44 -07:00
Alexander Karatarakis
6699737c6d [PackageSpec] target_triplet -> triplet 2017-04-10 13:06:28 -07:00
Alexander Karatarakis
3e94a8db42 PackageSpec.target_triplet() -> ".triplet() 2017-04-10 13:03:34 -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
Alexander Karatarakis
599c22f2af VersionT: replace to_printf_arg() with .to_string() 2017-04-07 17:56:26 -07:00
Alexander Karatarakis
2069028b06 Remove triplet operator<< overload 2017-04-07 17:45:17 -07:00
Alexander Karatarakis
13482879f8 Triplet.to_string() 2017-04-07 17:44:24 -07:00
Alexander Karatarakis
41c9026875 Remove PackageSpec& operator<< overload 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
18fa18a07b Remove PackageSpec.display_name() 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
285bbe0d8a Add to_printf_arg() for classes with to_string() 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
e56d87c689 Remove to_printf_args(PackageSpec) 2017-04-07 16:22:34 -07:00
Alexander Karatarakis
c91ac99d4a Add find_installed() overload 2017-04-07 15:45:13 -07:00
Alexander Karatarakis
66e6e6e9e2 Add RequestType to InstallPlan 2017-04-07 15:45:13 -07:00