Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-11-18 | Complete low verbosity diagnostics rework | Boris Kolpackov | 2 | -51/+51 | |
2022-11-16 | Initial low verbosity diagnostics rework | Boris Kolpackov | 2 | -2/+2 | |
2022-11-14 | Add buffering for simple test diagnosticsdiag-buffer | Karen Arutyunov | 2 | -13/+144 | |
Also fix simple test redirecting diff's stdout to stderr. | |||||
2022-11-09 | Use diag_buffer in script | Karen Arutyunov | 7 | -31/+53 | |
2022-11-08 | Make process exit diagnostics consistent | Boris Kolpackov | 1 | -1/+2 | |
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored. | |||||
2022-10-25 | Allow concatenation of path/dir_path type to be a path pattern | Karen Arutyunov | 2 | -1/+30 | |
2022-10-21 | Add support for pairs in script 'for x:...' loop | Karen Arutyunov | 1 | -0/+34 | |
2022-10-21 | Change attribute syntax in script to come after variable in set and for (set ↵ | Karen Arutyunov | 3 | -41/+99 | |
x [...], for x [...]) | |||||
2022-10-20 | Add support for for-loop element type | Karen Arutyunov | 1 | -0/+14 | |
2022-10-18 | Fix unexpected 'unterminated double-quoted sequence' script error | Karen Arutyunov | 2 | -0/+65 | |
2022-10-18 | Invent diag preamble for buildscript | Karen Arutyunov | 2 | -1/+23 | |
2022-10-14 | Make -w|--whitespace to be default for for-loop | Karen Arutyunov | 1 | -6/+17 | |
2022-10-14 | Fix printing test id multiple times on test failure | Karen Arutyunov | 1 | -0/+26 | |
2022-10-13 | Fix script 'for' loop tests | Karen Arutyunov | 2 | -3/+3 | |
2022-10-13 | Add support for 'for' loop second (... | for x) and third (for x <...) forms ↵ | Karen Arutyunov | 3 | -14/+1249 | |
in script | |||||
2022-10-13 | Add test for public/private variable model | Boris Kolpackov | 2 | -0/+50 | |
2022-10-13 | Switch to public/private variables model | Boris Kolpackov | 2 | -40/+40 | |
Now unqualified variables are project-private and can be typified. | |||||
2022-09-30 | Move integer and bool function to separate source/testscript files | Boris Kolpackov | 3 | -39/+47 | |
2022-09-29 | Add $find(<sequence>, <value>), $find_index(<sequence>, <value>) functions | Boris Kolpackov | 4 | -2/+60 | |
The $find() function returns true if the sequence contains the specified value. The $find_index() function returns the index of the first element in the sequence that is equal to the specified value or $size(<sequence>) if none is found. For string sequences, it's possible to request case- insensitive comparison with a flag. | |||||
2022-09-28 | Add support for 'for' loop first form (for x:...) in script | Karen Arutyunov | 2 | -0/+164 | |
2022-09-28 | Add support for 'while' loop in script | Karen Arutyunov | 4 | -20/+62 | |
2022-09-27 | Fix test for handling of name patterns with trailing dot | Karen Arutyunov | 1 | -1/+1 | |
2022-09-23 | Add $is_a(<name>, <target-type>), $filter[_out](<names>, <target-types>) ↵ | Boris Kolpackov | 1 | -0/+36 | |
functions $is_a() returns true if the <name>'s target type is-a <target-type>. Note that this is a dynamic type check that takes into account target type inheritance. $filter[_out]() return names with target types which are-a (filter) or not are-a (filter_out) one of <target-types>. In particular, these functions are useful for filtering prerequisite targets ($<) in ad hoc recipes and rules. | |||||
2022-09-22 | Add $integer_sequence(<begin>, <end>[, <step>]) function | Boris Kolpackov | 1 | -0/+8 | |
It returns the list of uint64 integers starting from <begin> (including) to <end> (excluding) with the specified <step> or 1 if unspecified. For example: hdr = foo.hxx bar.hxx baz.hxx src = foo.cxx bar.cxx baz.cxx assert ($size($hdr) == $size($src)) "hdr and src expected to be parallel" for i: $integer_sequence(0, $size($hdr)) { h = ($hdr[$i]) s = ($src[$i]) ... } | |||||
2022-09-22 | Add support for hex notation for uint64 type | Boris Kolpackov | 1 | -0/+8 | |
Specifically, now we can do: x = [uint64] 0x0000ffff cxx.poptions += "-DOFFSET=$x" # -DOFFSET=65535 cxx.poptions += "-DOFFSET=$string($x, 16)" # -DOFFSET=0xffff cxx.poptions += "-DOFFSET=$string($x, 16, 8)" # -DOFFSET=0x0000ffff Note that there is no hex notation support for the int64 (signed) type. | |||||
2022-09-19 | Allow computed variables in depdb preamble similar to impure functions | Boris Kolpackov | 1 | -5/+27 | |
2022-09-02 | Add ability to specify `in` rule substitution as key-value pairs | Boris Kolpackov | 1 | -2/+27 | |
2022-09-02 | Rename in.substitution variable to in.mode | Boris Kolpackov | 1 | -1/+1 | |
The original name is still recognized for backwards compatibility. | |||||
2022-07-08 | Fix some tests to match canned command line semantics | Karen Arutyunov | 4 | -4/+4 | |
2022-07-07 | Use new cmdline type for canned command lines in {Build,Test}script | Boris Kolpackov | 5 | -6/+30 | |
2022-06-28 | Add support for querying out-qualified target-specific variables | Boris Kolpackov | 2 | -8/+11 | |
2022-04-19 | Use target recipe for auxiliary data storage during match-apply | Boris Kolpackov | 1 | -2/+2 | |
In particular, we now have separate auxiliary data storage for inner and outer operations. | |||||
2022-03-23 | Make project configuration variables non-nullable by default | Boris Kolpackov | 1 | -3/+33 | |
A project configuration variable with the NULL default value is naturally assumed nullable, for example: config [string] config.libhello.fallback_name ?= [null] Otherwise, to make a project configuration nullable we use the `null` variable attribute, for example: config [string, null] config.libhello.fallback_name ?= "World" | |||||
2022-02-21 | Factor process-wide initialization to init_process() function | Boris Kolpackov | 1 | -1/+1 | |
2022-02-14 | Fix module loading in libbuild2 test | Boris Kolpackov | 1 | -8/+17 | |
2022-02-10 | Make few global types separately constructible/initializable | Boris Kolpackov | 1 | -1/+1 | |
2022-01-26 | Make bash module install into bin/<project>.bash/ to avoid clashes | Boris Kolpackov | 1 | -2/+2 | |
Also, expect the first component in the import path to be full project name even in case it has the .bash extension. | |||||
2022-01-18 | Add dynamic prerequisites to $< unless --adhoc is specified | Boris Kolpackov | 1 | -57/+152 | |
Also add a few tests for depdb-dyndep. | |||||
2021-12-02 | Fix path function test failure on Windows | Boris Kolpackov | 1 | -1/+1 | |
2021-12-02 | Add $root_directory(<path>) function | Boris Kolpackov | 1 | -0/+22 | |
2021-12-02 | Add $relative(<path>,<dir-path>) function | Boris Kolpackov | 1 | -0/+6 | |
2021-11-26 | Add $size(string), $size(path), and $size(dir_path) functions | Boris Kolpackov | 2 | -0/+18 | |
2021-11-16 | Disable C++20 modules tests for MinGW GCC | Boris Kolpackov | 1 | -0/+7 | |
Things appear to be completely broken in GCC 11.x. | |||||
2021-11-04 | Fix test | Boris Kolpackov | 1 | -1/+1 | |
2021-11-04 | Add $size() function to get size of sequence (names, strings, etc) | Boris Kolpackov | 3 | -5/+24 | |
2021-11-02 | Add $sort() function | Boris Kolpackov | 3 | -1/+34 | |
Available overloads: $sort(<names> [, <flags>]) $sort(<ints> [, <flags>]) $sort(<strings> [, <flags>]) $sort(<paths> [, <flags>]) $sort(<dir_paths> [, <flags>]) The following flag is supported by the all overloads: dedup - in addition to sorting also remove duplicates Additionally, the strings overload also support the following flag: icase - sort ignoring case Note that on case-insensitive filesystem the paths and dir_paths overload's order is case-insensitive. | |||||
2021-10-13 | Add --cwd|-t option to env pseudo-builtin | Karen Arutyunov | 2 | -60/+106 | |
2021-09-28 | Adapt to libbutl headers extension change from .mxx to .hxx | Karen Arutyunov | 1 | -4/+4 | |
2021-09-24 | Fortify tests against NDEBUG | Karen Arutyunov | 4 | -1/+12 | |
2021-09-14 | Consistently install prerequisites from any scope by default | Boris Kolpackov | 1 | -0/+1 | |
It is also now possible to adjust this behavior with global config.install.scope override. Valid values for this variable are: project -- only from project strong -- from strong amalgamation weak -- from weak amalgamation global -- from all projects (default) |