Commit Graph

56 Commits

Author SHA1 Message Date
Robert Schumacher
e0a9cae928 Merge branch 'utf-1702' 2017-08-29 18:58:01 -07:00
Alexander Karatarakis
992f192c5e Add System::println() with no args 2017-08-28 19:54:01 -07:00
Robert Schumacher
3a026cbe21 Merge pull request #1690 from Mixaill/vcpkg-toolsetsdetection-fix
[vcpkg] testing for architectures supported by toolset
2017-08-26 00:38:27 -07:00
Robert Schumacher
581aea74fb [vcpkg] Use fgetws instead of fgets to accomodate non-ascii results 2017-08-25 23:34:44 -07:00
Alexander Karatarakis
e237682cad Introduce GlobalState struct 2017-08-24 16:29:40 -07:00
Alexander Karatarakis
52d606e6ac Use CreateProcess instead of _wspawnlpe 2017-08-24 12:07:22 -07:00
Mikhail Paulyshka
7dd082cad7 [vcpkg] testing for architectures supported by toolset 2017-08-24 13:26:42 +03:00
atkawa7
fe602fc358 [vcpkg] remove flushall 2017-07-11 08:58:15 -07:00
Robert Schumacher
687440f976 [vcpkg] Add additional debug messages 2017-06-14 22:06:52 -07:00
Alexander Karatarakis
22848e4b7e Introduce Debug::println() 2017-05-05 14:37:58 -07:00
Alexander Karatarakis
05b47002eb Introduce Strings::case_insensitive_ascii_compare() 2017-05-04 15:19:22 -07:00
Alexander Karatarakis
7bdf189a92 Rework vcpkg's triplet environment reading
The triplet is "run" and vcpkg observes the environment.
Previously, the environment was deduced by the triplet's name
2017-05-04 15:06:18 -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
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
169521070a [vcpkg] Ninja is only 64-bit; do not use on x86 2017-04-23 00:11:42 -07:00
Alexander Karatarakis
ac2007dcbd Add System::get_current_date_time() 2017-04-21 18:06:53 -07:00
Alexander Karatarakis
bb7cccc2ac Add System32\Wbem to the whitelisted environment
Solves vcvarsall.bat not being able to find wmic.exe
2017-04-06 16:54:19 -07:00
Robert Schumacher
d03171d122 [vcpkg-debug] Add debug messages for calls to cmd_execute() 2017-04-05 17:37:36 -07:00
Robert Schumacher
1c9838b551 [vcpkg-debug] Add debugging for calls to cmd_execute_clean() 2017-04-05 16:28:09 -07:00
Robert Schumacher
cc338dcc8c [cuda] Add CUDA_PATH to environment whitelist. 2017-04-05 14:10:01 -07:00
Alexander Karatarakis
e401799aca color -> Color 2017-04-04 16:47:00 -07:00
Alexander Karatarakis
898edccbdc exit_code_and_output -> ExitCodeAndOutput 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
604d0e58da cstring_view -> CStringView 2017-04-04 16:44:41 -07:00
Robert Schumacher
77c90c2df5 Fix memory leak in get_environmental_variable() 2017-03-31 17:41:24 -07:00
Robert Schumacher
c84765601b Move Environment::get_program_files() to System::get_program_files() 2017-03-31 17:35:38 -07:00
Alexander Karatarakis
a6aa410f9f Remove System::set_environmental_variable() 2017-03-31 17:22:08 -07:00
Robert Schumacher
7d4832c6bf Rename optional::get_or_exit() to optional::value_or_exit() 2017-03-31 16:29:04 -07:00
Alexander Karatarakis
970a179cfd Remove unneeded call to c_str() 2017-03-28 19:26:07 -07:00
Alexander Karatarakis
42bd55e3ae Rework optional<T> 2017-03-28 18:59:57 -07:00
Alexander Karatarakis
2b05e401d1 Use cwstring_view in all System functions and remove obsolete overloads 2017-03-28 18:48:03 -07:00
Alexander Karatarakis
49098fe55d Add -NoProfile to powershell commands 2017-03-15 16:25:06 -07:00
Alexander Karatarakis
4114d87a07 All Checks now take LineInfo as the first argument 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
d02d602090 System::cmd_execute_and_capture_output() now redirects std::err to std::out 2017-03-13 16:17:47 -07:00
Alexander Karatarakis
6860b461a1 Introduce System::cmd_execute_clean() for sanitized executions 2017-03-10 17:04:29 -08:00
Alexander Karatarakis
5f39474a17 Rework System::get_environmental_variable() 2017-03-10 17:04:29 -08:00
Robert Schumacher
4d0abd5841 [vcpkg] Refactor RAII registry key manipulation 2017-03-10 16:12:04 -08:00
Alexander Karatarakis
3eb0526468 Properly handle spaces in path when calling powershell script 2017-03-06 16:18:24 -08: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
Robert Schumacher
c055def453 [vcpkg] Switch printing functions to use fputs and putchar directly. 2017-03-04 06:11:24 -08:00
Alexander Karatarakis
1f673572ae Fix cast to WORD 2017-02-15 18:40:39 -08:00
Alexander Karatarakis
4d29741fcb Flush std::cout before launching external process 2017-02-14 19:09:09 -08:00
Alexander Karatarakis
ff3b3ecb55 Improve impl of get_environmental_variable() 2017-02-14 18:28:41 -08:00
Alexander Karatarakis
b882f365e9 System::get_environmental_variable() now returns optional<> 2017-02-14 15:35:34 -08:00
Alexander Karatarakis
0d47ce63ed Add System::set_environmental_variable() 2017-02-14 13:26:21 -08:00
Alexander Karatarakis
c11b2c790e Rename wdupenv_str to get_environmental_variable() 2017-02-14 13:21:30 -08:00
Alexander Karatarakis
050e4a0f7a Introduce precompiled headers 2017-01-30 21:52:42 -08:00