Commit Graph

1034 Commits (5fc674e4d37ea2304a90a7cdcc196f0aa6e09df1)

Author SHA1 Message Date
Daniel Kolesa 5fc674e4d3 allow split_args to take a lambda 2017-05-11 23:49:51 +02:00
Daniel Kolesa d4edafa350 ref-qualified appender get() method 2017-05-11 23:31:15 +02:00
Daniel Kolesa cc18d2b736 add subprocess constructors that open as part of the construction 2017-05-11 19:36:17 +02:00
Daniel Kolesa bf8e82b71f use paths in example/source/asm lists 2017-05-11 19:21:02 +02:00
Daniel Kolesa 448d5d02b1 remove unused includes 2017-05-11 19:12:13 +02:00
Daniel Kolesa e5b495d414 extra cpp flags for windows in build 2017-05-10 23:40:03 +02:00
Daniel Kolesa 10caf39244 split win32 and posix code of context_stack and process into separate files 2017-05-10 00:30:23 +02:00
Daniel Kolesa 469c85639a some more platform checks 2017-05-10 00:02:37 +02:00
Daniel Kolesa 9e429189d7 more foolproof subprocess interface 2017-05-09 23:58:20 +02:00
Daniel Kolesa 2bab256b4d more windows fixes 2017-05-09 22:37:00 +02:00
Daniel Kolesa 5f12c8f0b9 use_path fix 2017-05-09 22:21:58 +02:00
Daniel Kolesa 60ebc1d5b8 do not attempt parsing if string is empty 2017-05-09 22:09:20 +02:00
Daniel Kolesa 5c6aab9290 properly handle null termination in unicode conversions 2017-05-09 21:47:33 +02:00
Daniel Kolesa 9d4a8cfa83 windows fixes 2017-05-09 21:20:37 +02:00
Daniel Kolesa 9c876166b2 cleanup 2017-05-09 20:40:52 +02:00
Daniel Kolesa af951a243c use strings for subprocess errors 2017-05-09 20:33:45 +02:00
Daniel Kolesa d5fe5dc292 use GetEnvironmentVariableW 2017-05-09 19:03:54 +02:00
Daniel Kolesa 4f9007ac57 untested windows code for subprocess handling 2017-05-09 18:59:56 +02:00
Daniel Kolesa 6e871c5fbf remove unused platform specific includes 2017-05-08 22:14:41 +02:00
Daniel Kolesa 6b228ee6a8 documentation for subprocess 2017-05-08 21:23:15 +02:00
Daniel Kolesa 29ba5f22d3 cleanup 2017-05-08 20:40:18 +02:00
Daniel Kolesa 045a280c56 only initialize the data late 2017-05-08 20:38:46 +02:00
Daniel Kolesa 5d16d8fd87 move_data/swap_data is platform independent 2017-05-08 20:36:59 +02:00
Daniel Kolesa ea7f4062b7 hide platform-specific data from subprocess 2017-05-08 20:32:36 +02:00
Daniel Kolesa 31c3602839 fdopen fix 2017-05-08 20:00:51 +02:00
Daniel Kolesa 8319674705 file descriptor close fix 2017-05-08 19:56:29 +02:00
Daniel Kolesa 4966830d33 rename process_info to subprocess 2017-05-08 18:42:30 +02:00
Daniel Kolesa 4022897195 make sure process exec never leaks file descriptors 2017-05-08 17:10:09 +02:00
Daniel Kolesa 6079676ac9 handle failed fdopen 2017-05-08 04:16:47 +02:00
Daniel Kolesa ce1b94624a rename process_pipe 2017-05-08 04:13:07 +02:00
Daniel Kolesa 61fcfeee2e slight process api cleanup 2017-05-08 04:09:47 +02:00
Daniel Kolesa 1ecf921f1a initial impl of process calling api (posix only atm) 2017-05-08 03:51:45 +02:00
Daniel Kolesa 44d370183c custom close func support for filestreams 2017-05-08 01:07:32 +02:00
Daniel Kolesa de7225c8f6 incorporate process.cc into build 2017-05-07 22:48:02 +02:00
Daniel Kolesa f01992c952 add command line splitting api (posix, windows) and use it from build 2017-05-07 21:17:13 +02:00
Daniel Kolesa a191164700 make global constexpr variables inline 2017-05-06 15:09:44 +02:00
Daniel Kolesa 1311676ab1 get rid of some path->string conversions 2017-05-05 22:24:08 +02:00
Daniel Kolesa fc6935151d more build cleanups and emplace for channels 2017-05-05 02:00:47 +02:00
Daniel Kolesa 1cc0577513 typo 2017-05-03 22:49:14 +02:00
Daniel Kolesa 1191162198 separate thread for stdout in buildsystem
This allows messages to be printed in sequence instead of
multiple prints in parallel mangling the output.
2017-05-03 21:09:25 +02:00
Daniel Kolesa 9be0ad2a0e simplify example a bit more 2017-05-03 02:31:26 +02:00
Daniel Kolesa d6a2a3f07c include all examples in generated docs 2017-05-03 02:14:27 +02:00
Daniel Kolesa 0ae9838b83 doc fix 2017-05-03 01:52:28 +02:00
Daniel Kolesa d6c03be4cd clean up concurrency example a bit 2017-05-03 00:09:30 +02:00
Daniel Kolesa 9f593eebd1 tids are non-copyable, only movable 2017-05-02 23:49:56 +02:00
Daniel Kolesa 2c62b82ec4 future-like objects representing tasks in concurrency 2017-05-02 21:42:31 +02:00
Daniel Kolesa 5a09b58613 incorrect check 2017-05-02 01:08:15 +02:00
Daniel Kolesa 3402fedf28 utilize libostd to build libostd; libostdception 2017-05-02 00:57:15 +02:00
Daniel Kolesa 94814dc61e remove internal/win32.hh and put environ stuff into a source file 2017-05-02 00:15:01 +02:00
Daniel Kolesa baa8ff1e64 put more flags to the beginning 2017-05-01 19:12:17 +02:00