aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-15Fix bug in process_path::clear_recall()Boris Kolpackov1-0/+5
2020-12-08Add proper support for option files option to load_default_options()Karen Arutyunov4-38/+88
2020-11-30Canonicalize arm64 to aarch64 in target triplet, similar to config.subBoris Kolpackov3-1/+13
2020-11-27Add custom code-to-message mapping for STATUS_DLL_NOT_FOUND error to ↵Karen Arutyunov1-0/+1
process_exit::description()
2020-11-25Allow multiple -e options for sed builtinKaren Arutyunov2-63/+120
2020-11-06Add fdselect() overload that also takes timeoutKaren Arutyunov5-21/+168
2020-11-06Add builtin::timed_wait(), builtin::try_wait(), and pseudo_builtin()Karen Arutyunov6-47/+357
2020-11-05Add process::term() and implement process::kill() on WindowsKaren Arutyunov5-24/+486
2020-11-05Fix ifdstream::open() to set stream mode for passed file descriptorKaren Arutyunov2-5/+8
2020-11-05Fix 'unresolved external symbol' for process::timed_wait(milliseconds) on ↵Karen Arutyunov2-3/+9
Windows
2020-11-04Add test for wasm32-unknown-emscripten target tripletBoris Kolpackov2-0/+5
2020-10-01Add ext_mods parameter to b_info()Karen Arutyunov4-4/+13
2020-10-01Add position and size arguments to lcase()/ucase() functionsBoris Kolpackov2-17/+30
2020-09-13Regenerate options parsing codeKaren Arutyunov1-6/+6
2020-09-11Add support for arguments in default options files helpersKaren Arutyunov5-148/+354
2020-09-07Add normalize() function to host/URL class templatesKaren Arutyunov5-103/+512
Also add IPv6 verification to host constructor.
2020-08-31Fix assertion failure in path_search() on WindowsKaren Arutyunov3-14/+35
Also fix the similar potential assertion failure in fdstream.
2020-08-27Add ability to pass alternative dir separator to path::canonicalize()Boris Kolpackov2-13/+32
This, for example, can be used to make paths with forward slashes on Windows.
2020-08-24Recognize *-nto-qnx target triplets, extract versionBoris Kolpackov2-13/+21
2020-08-24Add target_triplet::representation() in addition to string()Boris Kolpackov3-17/+46
Also stop stripping `none-` prefix from the system component.
2020-08-18Add ability to create empty process_envBoris Kolpackov1-0/+2
2020-08-06Revert Windows rm/mv sharing violation retries increaseBoris Kolpackov1-2/+2
2020-08-05Increase Windows rm/mv sharing violation retries to 60s for testingBoris Kolpackov1-2/+4
2020-07-29Work around glibc bug #14898 (GitHub issue #2)Boris Kolpackov2-8/+33
2020-07-21Change to version 0.14.0-a.0.zBoris Kolpackov1-1/+1
2020-07-18Release version 0.13.0v0.13.0Boris Kolpackov1-3/+3
2020-07-16On Windows increase fdopen() retry timeout on ERROR_SHARING_VIOLATION up to ↵Karen Arutyunov2-6/+6
2 seconds from 1 Also do the same for mventry(), and try_rmfile().
2020-07-14Override TERM environment variable on Windows when running lessBoris Kolpackov1-1/+15
2020-07-07On Windows make fdopen() to retry for a second on ERROR_SHARING_VIOLATION errorKaren Arutyunov2-4/+37
2020-07-03Canonicalize license in manifestKaren Arutyunov1-1/+1
2020-07-01Use legal{} target type for legal documentation (LICENSE, AUTHORS, etc)Boris Kolpackov1-2/+2
2020-06-30Expose command_run()'s @-substitution functionalityBoris Kolpackov3-66/+124
Also add support for different opening and closing substitution characters.
2020-06-29Add path::combine(string,separator)Boris Kolpackov3-13/+106
In particular, this can be used to recombine a path during iteration: dir_path r; for (auto i (d.begin ()); i != d.end (); ++i) r.combine (*i, i.separator ());
2020-06-26Improve std::optional to better deal with lack of copy/move constructorsKaren Arutyunov3-6/+126
2020-06-24Restructure touch_file() control flow to produce consistent failuresBoris Kolpackov1-52/+56
2020-06-24Don't use utime() on WindowsBoris Kolpackov3-27/+77
It has the seconds precision even if the time is unspecified.
2020-06-23Add note that access time tests may fail with if running on noatime mountBoris Kolpackov2-0/+6
For example, this happens on NetBSD.
2020-06-19Adapt mv builtin tests to terminology changeKaren Arutyunov1-6/+6
2020-06-19Fix terminologyBoris Kolpackov1-3/+3
2020-06-19Get rid of deprecated use of enums in bitmasksBoris Kolpackov1-24/+22
2020-06-18Complete NetBSD compatibilityBoris Kolpackov11-29/+44
2020-06-18Add NetBSD compatibilitymagenbluten5-5/+15
2020-06-11Add date builtinKaren Arutyunov6-0/+492
2020-06-11Add workaround for MinGW GCC bug so to_stream(timestamp) properly handles %e ↵Karen Arutyunov3-17/+55
specifier
2020-06-03Add builtin weightKaren Arutyunov4-31/+57
Also invent the notion of external builtin (builtin_info::function is NULL).
2020-05-30Fix process_path() constructorKaren Arutyunov2-2/+9
2020-05-28Regenerate options parsing codeBoris Kolpackov1-41/+42
2020-05-25Add putback depth char_scanner template parameterKaren Arutyunov3-42/+42
2020-05-18Add sensitize_strlit() for sanitizing C string literalsBoris Kolpackov2-0/+36
2020-04-14Improve process_path::empty()Boris Kolpackov1-4/+6