Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
11 days | Don't pass true for last_cmd argument of build2::script::run() function if ↵ | Boris Kolpackov | 5 | -27/+46 | |
don't specify the function to replace command with Also rename last_cmd argument of script::run[_cond]() functions, to properly reflect its semantics, and change its default value. | |||||
11 days | Optimize by suppressing some fdopen() calls for some script builtins | Karen Arutyunov | 2 | -38/+115 | |
14 days | Add ntdll.lib to Windows system libraries list | Boris Kolpackov | 1 | -0/+1 | |
2025-02-04 | Improve progress diagnostics | Boris Kolpackov | 2 | -11/+32 | |
2025-02-03 | Adjust to operator<<(process_env) semantics change | Boris Kolpackov | 1 | -1/+4 | |
2025-02-03 | Optimize standalone true/false builtin calls in script | Boris Kolpackov | 2 | -2/+22 | |
2025-02-03 | Optimize copying of replay tokens | Boris Kolpackov | 3 | -3/+18 | |
2025-02-03 | Optimize maybe-used diag_record | Boris Kolpackov | 20 | -161/+269 | |
It turns out the std::ostringstream member of butl::diag_record is quite expensive to construct but to never use. | |||||
2025-01-22 | Treat CRLF as single delimiter when scanning lines with next_word() | Boris Kolpackov | 1 | -2/+11 | |
2025-01-22 | Clarify comment | Boris Kolpackov | 1 | -2/+3 | |
2025-01-22 | Add dir_entry, dir_iterator to build2 namespace | Boris Kolpackov | 1 | -0/+3 | |
2025-01-22 | Minor tweak to diagnostics (make consistent) | Boris Kolpackov | 1 | -1/+1 | |
2025-01-08 | Fix name pattern expansion for absolute path patterns (GH issue #453) | Karen Arutyunov | 2 | -21/+34 | |
2025-01-08 | Fix parser::parse_names() failure on pattern inclusion groups corner cases | Karen Arutyunov | 2 | -7/+54 | |
Specifically, fix the function for the case when the pattern inclusion group is specified first in the pattern group with a directory. For example, before the fix, parsing the following buildfile: fs = hello exe{hello}: foo/{hxx ixx txx cxx}{+{$fs}} Would fail with the following error: invalid 'foo/hello' in name pattern | |||||
2025-01-06 | Minor diagnostics improvement | Boris Kolpackov | 3 | -4/+4 | |
2025-01-06 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2024-12-12 | Generalize to_target() to be usable in other contexts | Boris Kolpackov | 4 | -11/+31 | |
2024-12-12 | Increment load_generation between operations in batch | Boris Kolpackov | 5 | -4/+32 | |
2024-12-12 | Use perform_match() instead of direct match_sync() in configure meta-operation | Boris Kolpackov | 1 | -0/+12 | |
This is similar to dist and makes sure we handle posthoc targets. | |||||
2024-12-12 | Suppress outcome diagnostics when building in module context | Boris Kolpackov | 1 | -2/+6 | |
2024-12-12 | Diagnose --match-only use with dist meta-operation | Boris Kolpackov | 1 | -1/+8 | |
2024-12-12 | Fix incorrect logic based on dry_run_option value | Boris Kolpackov | 4 | -8/+66 | |
2024-12-06 | Adapt to renaming of some butl::{ucase,lcase,sanitize_identifier}() function ↵ | Karen Arutyunov | 3 | -4/+6 | |
overloads | |||||
2024-11-26 | Sanitize as identifiers <name>/<type in config.import.<proj>.<name>.<type> | Boris Kolpackov | 2 | -14/+26 | |
2024-11-20 | Handle config.import.*.<name>.lib in cc::search_library() | Boris Kolpackov | 3 | -57/+114 | |
In particular, this provides support for using prefixed/suffixed installed libraries (GH issue #449). | |||||
2024-11-20 | Handle config.import.*.<name>.{liba,libs} in cc::search_library() | Boris Kolpackov | 2 | -54/+212 | |
In particular, this provides support for using prefixed/suffixed installed libraries (GH issue #449). Note that the current implementation only supports immediate import but it feels like this limitation can be removed with some effort in the future. | |||||
2024-11-20 | Generalize config::specified_config() | Boris Kolpackov | 4 | -23/+39 | |
2024-11-18 | Only install runtime part of static library prerequisites of share libraries ↵ | Boris Kolpackov | 5 | -8/+58 | |
(GH issue #448) | |||||
2024-11-18 | Drop some disabled code that is unlikely to be needed | Boris Kolpackov | 1 | -132/+0 | |
2024-11-06 | Make $target.path() work for dir{} and fsdir{} targets | Boris Kolpackov | 1 | -2/+6 | |
2024-11-04 | Add support for symlinks as group{} members in ad hoc recipes (GH issue #445) | Boris Kolpackov | 1 | -34/+72 | |
We already had this support for file{} targets so this feels like a natural extension. | |||||
2024-11-04 | Redo group_prerequisites to use snapshots of prerequisites (GH issue #408) | Boris Kolpackov | 5 | -32/+54 | |
It turns out both target and group prerequisites can be replaced during dependency synthesis in more obscure cases. | |||||
2024-10-29 | Minor performance optimization | Boris Kolpackov | 1 | -5/+7 | |
2024-10-29 | Tweak some more fix for data race in ad hoc member state when group is postponed | Boris Kolpackov | 2 | -4/+4 | |
2024-10-29 | Tweak fix for data race in ad hoc member state when group is postponed | Boris Kolpackov | 1 | -7/+7 | |
2024-10-29 | Add note on relative paths in compiledb | Boris Kolpackov | 1 | -2/+12 | |
2024-10-28 | Make $regex.*search() functions not to match empty substrings in non empty ↵ | Karen Arutyunov | 4 | -9/+127 | |
strings | |||||
2024-10-28 | Fix data race in ad hoc member state when group is postponed | Boris Kolpackov | 3 | -9/+28 | |
2024-10-23 | Minor tweak to compiledb documentation | Boris Kolpackov | 1 | -0/+4 | |
2024-10-23 | Add config.cc.compiledb=<path> shortcut for placing file into source directory | Boris Kolpackov | 2 | -18/+142 | |
2024-10-23 | Fix bug in compiledb parsing logic (GH issue #441) | Boris Kolpackov | 1 | -5/+6 | |
Also improve diagnostics around invalid compiledb format. | |||||
2024-10-16 | Stop on first error for install and uninstall operations | Boris Kolpackov | 4 | -8/+34 | |
2024-10-10 | Tune match progress for more accurate update during match figure | Boris Kolpackov | 1 | -1/+1 | |
2024-10-10 | Don't match group-based targets with fallback rule during configure (GH #364) | Boris Kolpackov | 4 | -8/+19 | |
Membership of such targets can only be accurately determined by the ad hoc recipe. | |||||
2024-10-09 | Add support for JSON compilation database generation and maintenance | Boris Kolpackov | 14 | -64/+2283 | |
See the "Compilation Database" section in the "cc Module" chapter of the manual for details. | |||||
2024-10-08 | Expose custom save function in config module | Boris Kolpackov | 7 | -42/+90 | |
It can generally be useful, for example, to complete relative paths before saving them to config.build (if abs_dir_path does not fit). | |||||
2024-10-08 | Add context-wide pre/post operation callbacks | Boris Kolpackov | 7 | -128/+307 | |
2024-10-08 | Add uxtheme.lib to list of Windows system libraries | Boris Kolpackov | 1 | -0/+1 | |
2024-10-03 | Make header cache case-sensitive on Windows (GH issue #390) | Boris Kolpackov | 2 | -4/+29 | |
2024-10-03 | Show executed during match target count in match progress | Boris Kolpackov | 4 | -43/+74 | |