Commit Graph

40 Commits

Author SHA1 Message Date
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
Alexander Karatarakis
0b5e2e9e76 Use nested namespace definition 2017-01-05 12:55:28 -08:00
Alexander Karatarakis
c77be8f221 [vcpkg_System] Add missing const keywords 2016-12-12 15:08:26 -08:00
Alexander Karatarakis
0042316c4b Introduce filesystem_fs.h 2016-11-30 13:38:42 -08:00
Alexander Karatarakis
38bf4de0fe Rename System::Stopwatch to System::Stopwatch2 2016-10-10 18:46:40 -07:00
Alexander Karatarakis
8ed88af8c9 Rename wchar_t overload of Strings::format() to wformat() 2016-09-29 19:28:00 -07:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00