Alexander Karatarakis
bd50778cb5
[install_command] now overwrites files if they are already present
...
The listfile checks ensures that no other package claims ownership
of the particular file
2016-12-16 15:42:15 -08:00
Alexander Karatarakis
15ca6919ad
Use Files::write_all_lines()
2016-12-15 18:24:06 -08:00
Alexander Karatarakis
5d54e079f7
Refactor writing of listfile
2016-12-14 16:52:23 -08:00
Alexander Karatarakis
c9b310c165
Minor code clarity change
2016-12-13 16:35:06 -08:00
Alexander Karatarakis
e523668cce
Change signature to std::string& (from char*)
2016-12-12 15:13:24 -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
a195dedf52
get_installed_files() now filters out the directories
2016-12-01 20:39:28 -08:00
Alexander Karatarakis
a8c189c3f2
[pre-install checks] Greatly improve the check for already isntalled
...
files
2016-12-01 17:22:20 -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
74f69ade18
Introduce PostBuildLint namespace
2016-11-29 17:17:45 -08:00
Alexander Karatarakis
c828476823
Add (undocumented) --checks-only option to the build command
2016-11-17 15:42:20 -08:00
Alexander Karatarakis
b64b0cbc8a
Renames and cleanup
2016-11-15 12:47:43 -08:00
Alexander Karatarakis
2b204e6739
Use custom struct instead of std::pair
2016-11-15 12:40:06 -08:00
Alexander Karatarakis
2584f3e3de
Major refactor/rework of dependency resolution
2016-11-15 11:58:13 -08:00
Alexander Karatarakis
c91d8e41b6
Introduce vcpkg_info.h/cpp
2016-11-07 17:31:41 -08:00
Alexander Karatarakis
7a1bc07142
[Dependencies] Remove unused parameter
2016-11-07 17:09:07 -08:00
Alexander Karatarakis
21f69a44be
[Dependencies] Function rename
2016-11-07 17:06:46 -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
a721db2c1f
Refactor: create new Paragraphs.h/cpp
2016-11-07 16:06:36 -08:00
Robert Schumacher
7f336c7467
Enable qualified dependencies. Fix bug in internal 'build' command.
...
Added capability for CONTROL files to specify qualified dependencies, which are substring searched inside triplet names.
Fixed bug in internal 'build' command where if a package is already built, that built package's dependencies will be used to determine requirements for the build instead of the port directory's CONTROL file.
2016-11-05 01:02:15 -07:00
Alexander Karatarakis
90876a3bfe
SourceParagraph checks fields at construction time
2016-11-03 17:32:00 -07:00
Alexander Karatarakis
5b60e13466
[SourceParagraph] Consistency rename
2016-11-03 14:37:10 -07:00
Alexander Karatarakis
a868bc96da
Add port name to the output message
2016-11-02 20:57:19 -07:00
Alexander Karatarakis
4665b16ab3
Add checks for fields in CONTROL file. Resolves #228
2016-11-02 20:26:52 -07:00
Alexander Karatarakis
1fa0555695
[building] Parse SourceParagraph at the start of the build
2016-11-02 19:30:53 -07:00
Alexander Karatarakis
38bf4de0fe
Rename System::Stopwatch to System::Stopwatch2
2016-10-10 18:46:40 -07:00
Alexander Karatarakis
bf323e8cc6
[package_spec]User input gets lowercased; other input is checked
2016-10-04 14:47:42 -07:00
Alexander Karatarakis
5d58eb29cc
[package_spec] Force using the factories that do sanity checks
2016-10-03 17:45:01 -07:00
Alexander Karatarakis
330b411cd2
[triplet] Force using the factory that does sanity checks
2016-10-03 17:20:52 -07: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
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
8ed88af8c9
Rename wchar_t overload of Strings::format() to wformat()
2016-09-29 19:28:00 -07:00
Robert Schumacher
93f8088a5a
[vcpkg] Improved help message upon build failure.
2016-09-29 11:50:31 -07:00
Alexander Karatarakis
6cc29c1f84
Change vcpkg::parse() to vcpkg::package_spec::from_string()
2016-09-23 16:39:07 -07:00
Alexander Karatarakis
cd30cd4df9
parse_all_arguments_as_package_specs: remove unused parameter
2016-09-23 16:26:27 -07:00
Robert Schumacher
76149ffac5
[vcpkg] Rename vcpkg_ports::find_available_x
to be more concise
2016-09-23 14:32:56 -07:00
Robert Schumacher
f4196f1638
[vcpkg] Move find_available_package, find_available_port_file into vcpkg_paths.
...
`vcpkg_paths` is responsible for binding the concrete filesystem representation to the abstract `package_spec`.
2016-09-23 14:25:17 -07:00
Robert Schumacher
ddd0f88579
Merged alzie:default_triplet for PR #70
2016-09-23 12:19:57 -07:00
Alexander Karatarakis
b2f6a769ea
find_unment_dependencies() now works for a single package
2016-09-23 12:06:55 -07:00
Alexander Karatarakis
0b59e6c0fb
[vcpkg build] Print the missing package's arch along with the package name
2016-09-23 12:01:25 -07:00
Albert Ziegenhagel
3495f094bc
Fixed errors introduced during merge
2016-09-23 10:06:45 +02:00
Albert Ziegenhagel
430f53af7d
Merge branch 'master' into default_triplet
...
# Conflicts:
# toolsrc/include/vcpkg_cmd_arguments.h
# toolsrc/src/commands_installation.cpp
# toolsrc/src/vcpkg_cmd_arguments.cpp
2016-09-23 09:58:33 +02:00
Albert Ziegenhagel
31935aa0fd
Improved error reporting when user provides invalid triplets
2016-09-23 09:44:30 +02:00
Alexander Karatarakis
5b89712df0
Restruct vcpkg build
to 1 package
2016-09-23 00:02:51 -07:00
Alexander Karatarakis
a26c88c754
vcpkg build
will now show helpful error if dependencies are missing
2016-09-22 23:53:13 -07:00