aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-10Use small_vector for some script typesKaren Arutyunov1-3/+7
2022-11-09Use diag_buffer in scriptKaren Arutyunov16-571/+1023
2022-11-09Improve low-level diagnostics in `in` rule (and derived)Boris Kolpackov2-2/+38
2022-11-09Make process exit diagnostics in executable metadata extraction consistentBoris Kolpackov4-15/+35
2022-11-08Restore original error/ignore_exit semantics in run<>() overloadsBoris Kolpackov3-74/+64
2022-11-08Make process exit diagnostics consistentBoris Kolpackov20-169/+370
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored.
2022-11-08Work around suspected GCC 12 mis-compilation (bug #107555)Boris Kolpackov2-16/+25
2022-11-08Add few missing noexcept qualificationsBoris Kolpackov2-4/+4
2022-11-08Allow passing fail diag record to diag_buffer::close()Boris Kolpackov3-20/+17
2022-11-08Tighten args const-ness in the run*() function familyBoris Kolpackov7-52/+42
2022-11-08Rework header dependency extraction with diagnostics bufferingBoris Kolpackov4-255/+422
2022-11-08Tweak match progress reporting for serial executionBoris Kolpackov1-1/+3
2022-11-08Add diag_buffer::open_eof()Boris Kolpackov2-5/+33
2022-11-08Add force flag to diag_buffer::read(), diag_buffer::write()Boris Kolpackov2-275/+280
2022-11-08Add diag_buffer::is_open()Boris Kolpackov1-0/+12
2022-11-08More work on child process diagnostics bufferingBoris Kolpackov27-593/+1316
2022-11-08Adjust to diagnostics epilogue interface changeBoris Kolpackov1-2/+2
2022-10-28Add ability to disable diagnostics buffering (--no-diag-buffer)Boris Kolpackov11-23/+110
2022-10-27Suppress (potential) bogus GCC 12 -Wrestrict warningsBoris Kolpackov11-25/+25
2022-10-27Initial work on child process diagnostics bufferingBoris Kolpackov10-87/+578
Currently this is implemented for C/C++ compile and link rules.
2022-10-25Adapt to butl::semantic_version API changeKaren Arutyunov2-5/+12
2022-10-25Allow concatenation of path/dir_path type to be a path patternKaren Arutyunov3-7/+79
2022-10-24Allow conversion of untyped split dir/value names to stringBoris Kolpackov1-11/+19
2022-10-24Allow non-parallel absolute src/out to support imported target taggingBoris Kolpackov2-20/+43
Also fix bug in out clearing.
2022-10-21Add support for pairs in script 'for x:...' loopKaren Arutyunov2-10/+43
2022-10-21Change attribute syntax in script to come after variable in set and for (set ↵Karen Arutyunov12-172/+286
x [...], for x [...])
2022-10-21Add clarifying commentBoris Kolpackov2-0/+6
2022-10-21Pass correct base scope to search() in dyndep::enter_file()Boris Kolpackov1-6/+31
2022-10-21Fix bug in file_cache::entry move constructor and assignment operatorBoris Kolpackov1-0/+4
2022-10-21Handle freestanding/broken setups when entering importable std headersBoris Kolpackov1-17/+30
Fixes GH issue #219.
2022-10-20Don't create targets for non-existent source filesBoris Kolpackov3-18/+28
2022-10-20Ignore post hoc prerequisites in dist ruleBoris Kolpackov1-1/+7
2022-10-20Tweak documentation in parser::parse_for()Karen Arutyunov1-2/+2
2022-10-20Add support for for-loop element typeKaren Arutyunov3-9/+39
2022-10-20Fix parser::mode() so for peeked token on replay it returns its lexing modeKaren Arutyunov1-2/+11
2022-10-20Diagnose incorrect output directory specificationBoris Kolpackov4-22/+90
2022-10-20Implement parallel execution of post hoc prerequisitesBoris Kolpackov2-9/+48
2022-10-19Handle operation-specific variable values in post hoc logicBoris Kolpackov1-1/+19
2022-10-19Minor tweaks to target_lock passing semanticsBoris Kolpackov2-3/+9
This should also get rid of the bogus -Wdangling-pointer issued by GCC 12.
2022-10-19Add support for post hoc prerequisitesBoris Kolpackov14-137/+476
Unlike normal and ad hoc prerequisites, a post hoc prerequisite is built after the target, not before. It may also form a dependency cycle together with normal/ad hoc prerequisites. In other words, all this form of dependency guarantees is that a post hoc prerequisite will be built if its dependent target is built. See the NEWS file for details and an example.
2022-10-18Fix unexpected 'unterminated double-quoted sequence' script errorKaren Arutyunov13-54/+217
2022-10-18Add unexpected 'unterminated double-quoted sequence' error testscript ↵Karen Arutyunov2-0/+26
reproducers
2022-10-18Invent diag preamble for buildscriptKaren Arutyunov8-141/+377
2022-10-17Add pkg-config search tracingBoris Kolpackov1-2/+14
2022-10-17Tolerate case differences when looking for pkg-config filesBoris Kolpackov1-18/+26
2022-10-14Fix 'for [<attrs>] x: ...' to treat <attrs> as value attributesKaren Arutyunov8-57/+37
2022-10-14Make -w|--whitespace to be default for for-loopKaren Arutyunov2-7/+18
2022-10-14Fix printing test id multiple times on test failureKaren Arutyunov3-14/+70
2022-10-14Fix typo in Testscript manualBoris Kolpackov1-1/+1
2022-10-14Describe how to test multiple executables in single testscriptBoris Kolpackov1-3/+74