aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-04-04Add missing include to JSON serializer inline fileBoris Kolpackov2-6/+8
2023-03-29Add next_expect*() API to JSON parserBoris Kolpackov4-5/+781
2023-03-28Add member_begin_{object,array}() shortcuts to JSON serializerBoris Kolpackov2-0/+50
2023-03-20Regenerate options parsing filesKaren Arutyunov1-0/+50
2023-03-17Fix typo in commentKaren Arutyunov1-1/+1
2023-03-13Move os-release facility from bpkg, add support for Mac OS, *BSD, WindowsBoris Kolpackov6-0/+698
2023-02-27Accept both lower and upper case y/n as valid answers in yn_prompt()Boris Kolpackov2-2/+6
2023-01-09Update copyrightKaren Arutyunov1-1/+1
2023-01-09Add mtime() and atime() to dir_entryKaren Arutyunov4-52/+198
2022-12-26Optimize path_permissions() and entry_tm() on WindowsKaren Arutyunov1-31/+57
2022-12-26Optimize dir_iterator and path_entry() on WindowsKaren Arutyunov2-152/+192
2022-12-13Add noexcept to move constructors and move assignment operatorsKaren Arutyunov19-54/+124
2022-12-12Add support for omitting sub-projects from b_info() resultKaren Arutyunov6-50/+111
2022-12-12Support detecting inaccessible/dangling entries in dir_iterator, path_search()Karen Arutyunov9-119/+391
2022-12-09Add note on fdterm() implementation for WindowsBoris Kolpackov1-0/+3
2022-11-23Make string_parser::parse_quoted() also treat newline as sub-strings separatorKaren Arutyunov1-1/+1
2022-11-23Add some more process constructor overloadsBoris Kolpackov2-13/+163
2022-11-23Close any open pipe ends before waiting for process exitBoris Kolpackov1-0/+11
2022-11-23Add fdstream_mode::none valueBoris Kolpackov1-1/+3
2022-11-10Add limitation note for small_vectorKaren Arutyunov1-0/+3
2022-11-09Add noexcept specifier to small_vector(small_vector&&)Karen Arutyunov1-1/+1
2022-11-09Add data member to fdselect_stateKaren Arutyunov1-1/+3
2022-11-08Pass writer to diagnostics epilogueBoris Kolpackov2-10/+9
2022-11-08Add missing noexcept qualification in path.hxxBoris Kolpackov1-6/+8
2022-11-01Fix getline_non_blocking() and add testKaren Arutyunov2-4/+84
2022-11-01Add getline_non_blocking(ifdstream&)Boris Kolpackov2-6/+105
2022-10-27Suppress bogus GCC 12 -Wrestrict warningBoris Kolpackov5-13/+13
2022-10-27Add few more process constructor overloads for convenienceBoris Kolpackov3-18/+106
2022-10-27Add buffer_size constant, blocking() accessor to fdstreambufBoris Kolpackov2-1/+14
2022-10-27Add ability to use custom writer when flushing diag_recordBoris Kolpackov2-8/+13
2022-10-25All passing to process ownership to one end of pipeBoris Kolpackov5-10/+67
2022-10-25Allow omitting minor version number in semantic_versionKaren Arutyunov6-83/+159
2022-10-19Canonicalize 'linux' to `linux-gnu' in target tripletBoris Kolpackov3-0/+10
In particular, GCC in Fedora now reports its target as x86_64-redhat-linux. Note that this canonicalization is consistent with config.sub.
2022-10-05Fix bug in pdjson.cBoris Kolpackov1-3/+6
2022-09-30Add JSON parser (copy of libstud-json)Boris Kolpackov7-2/+2299
2022-09-22Add wspace(char) utility functionBoris Kolpackov2-0/+14
2022-08-25Work around bogus -Wrestrict warning in MinGW GCC 12Boris Kolpackov1-1/+1
2022-07-29Change version to 0.16.0-a.0.zBoris Kolpackov1-1/+1
2022-07-28Release version 0.15.0v0.15.0Boris Kolpackov1-3/+3
2022-07-19Reorder lz4 code to avoid UBSAN "applying non-zero offset to null pointer"Boris Kolpackov1-2/+2
2022-07-14Set builtin result while holding mutexBoris Kolpackov3-13/+14
While the original code was probably correct, there is suspicion this is causing a TSAN false-positive.
2022-07-07Use [cmdline] type for canned commands in testscriptsKaren Arutyunov3-15/+15
2022-07-01Regenerate options parsing filesKaren Arutyunov1-31/+60
2022-06-24Split and merge manifest value/comment pair differently depending on whether ↵Karen Arutyunov6-43/+340
it is multiline or not
2022-06-06Add trim_left() and trim_right() in addition to trim()Boris Kolpackov2-6/+53
Also improve the trim() implementation.
2022-05-17Handle attempt to open directory as file on OpenBSDBoris Kolpackov1-3/+4
2022-05-17Use posix_spawn() on OpenBSD 5.2 or laterBoris Kolpackov1-0/+8
2022-05-17Handle backtrace()/libexecinfo for OpenBSDBoris Kolpackov2-1/+15
This functionality is available as built-in from OpenBSD 7.0.
2022-05-17Add UUID generation support for OpenBSDBoris Kolpackov2-0/+81
2022-05-11Minor tweaks to own C++14 threads implementation on MinGWBoris Kolpackov2-5/+8