Commit Graph

1319 Commits (master)

Author SHA1 Message Date
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
Daniel Kolesa cd1a0108ab more build cleanups 2017-05-01 19:03:47 +02:00
Daniel Kolesa 52ed8d7c08 more build cleanups 2017-05-01 17:49:27 +02:00
Daniel Kolesa fbdcbed55e markdown fix 2017-05-01 17:40:39 +02:00
Daniel Kolesa d62bf9c096 remove build.sh, always use build.cc to build 2017-05-01 17:39:33 +02:00
Daniel Kolesa 59a48e6d1f build.cc improvements 2017-05-01 17:28:54 +02:00
Daniel Kolesa 19badf6140 threaded build.cc 2017-04-30 20:16:49 +02:00
Daniel Kolesa b3d6d2a30a initial c++ build code 2017-04-30 19:37:50 +02:00
Daniel Kolesa 49bfee4cc3 build tests from build.sh and simplify test runner 2017-04-29 16:50:56 +02:00
Daniel Kolesa c1e79a4c75 unit tester fixes 2017-04-28 01:54:28 +02:00
Daniel Kolesa 69890906fd move test module to the beginning of the file 2017-04-27 19:06:57 +02:00
Daniel Kolesa 37def859e5 catch all exceptions in unit tester 2017-04-26 23:12:59 +02:00
Daniel Kolesa 27bc7be245 cleanup and document unit test header 2017-04-25 18:48:10 +02:00
Daniel Kolesa b885e57fdb improved threaded test runner 2017-04-24 18:18:10 +02:00
Daniel Kolesa d359e46818 add some basic unit test infra to allow testing together with impl 2017-04-23 17:57:01 +02:00
Daniel Kolesa cc8452e265 remove make_ range helpers for containers (use iter_begin/end) 2017-04-23 15:30:51 +02:00