Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-05-09 | Add --load-only option in addition to --match-only | Boris Kolpackov | 10 | -14/+84 | |
This option has the effect of loading all the subdirectory buildfiles that are not explicitly included. | |||||
2023-05-09 | Add support for dumping build system state in JSON format (GH issue #182) | Boris Kolpackov | 10 | -82/+1103 | |
Specifically: 1. New --dump-format option. Valid values are `buildfile` and `json-v0.1`. 2. The --dump option now recognizes two additional values: `match-pre` and `match-post` to dump the state of pre/post-operations. The `match` value now only triggers dumping of the main operation. | |||||
2023-05-03 | Add --dump-scope and --dump-target options to limit --dump output | Boris Kolpackov | 9 | -56/+214 | |
2023-04-21 | Make sure main module_functions entry is after submodules | Boris Kolpackov | 4 | -6/+6 | |
2023-04-19 | Fix several issues in build system module importation logicmodule-import | Boris Kolpackov | 7 | -100/+275 | |
2023-04-19 | Clarify const-ness issues in configure implementation | Boris Kolpackov | 4 | -13/+23 | |
2023-04-18 | Add support for Assembler with C Preprocessor (.S) compilation | Boris Kolpackov | 12 | -42/+158 | |
Specifically, the c module now provides the c.as-cpp submodules which can be loaded in order to register the S{} target type and enable Assembler with C Preprocessor compilation in the c compile rule. For details, refer to "Assembler with C Preprocessor Compilation" in the manual. | |||||
2023-04-13 | Move cli module to libbuild2-cli library | Boris Kolpackov | 11 | -1/+980 | |
This is a temporary measure (until we unboundle this module) needed for in-process configure support in bpkg. | |||||
2023-04-13 | Various minor generalizations for in-process configure support in bpkg | Boris Kolpackov | 7 | -213/+289 | |
2023-04-10 | Add support for negation in config.install.filter | Boris Kolpackov | 2 | -5/+19 | |
2023-04-10 | Fix inconsistent /usr/local/{include,lib} search | Boris Kolpackov | 4 | -32/+53 | |
In particular, we were adding -L/usr/local/lib which means it is considered before built-in directories (/usr/lib, etc) but in our own library search code we were considering it after (because we were storing it at the end of sys_lib_dirs). Now in both sys_{hdr,lib}_dirs we store /usr/local/{include,lib} after mode and before built-in directories. Note that as part of this fix we now pass -isystem /usr/local/include instead of -idirafter (which is consistent with the -L behavior and also the customarily expected semantics). | |||||
2023-04-05 | Allow creating context with bare minimum of initializations | Boris Kolpackov | 16 | -106/+153 | |
This is used by bpkg to detect forwarded configurations without incurring the full context creation overhead. | |||||
2023-04-04 | Remove global override restriction from config.install.filter | Boris Kolpackov | 7 | -403/+355 | |
2023-04-04 | Add support for installation filtering (GH issue #147) | Boris Kolpackov | 9 | -66/+524 | |
2023-04-03 | Add authz.lib to Windows system library list | Boris Kolpackov | 1 | -0/+1 | |
2023-03-30 | Add comdlg32.lib to list of system Windows libraries | Boris Kolpackov | 1 | -0/+1 | |
2023-03-29 | Specify potential future extensions to install manifest format | Boris Kolpackov | 1 | -0/+3 | |
2023-03-24 | Document relocatable installation support | Boris Kolpackov | 1 | -5/+5 | |
2023-03-24 | Add support for generating relocatable pkg-config files | Boris Kolpackov | 1 | -10/+133 | |
2023-03-23 | Add support for relocatable installation in $install.resolve() | Boris Kolpackov | 4 | -14/+104 | |
2023-03-23 | Add support for relocatable installation manifest | Boris Kolpackov | 6 | -42/+116 | |
2023-03-22 | Initial work on relocatable install: config.install.relocatable and rpath | Boris Kolpackov | 3 | -4/+92 | |
2023-03-20 | Regenerate options parsing files | Karen Arutyunov | 4 | -0/+210 | |
2023-03-17 | Tweak/add few comments | Boris Kolpackov | 1 | -2/+4 | |
2023-03-08 | Fix uninitialized variable bug | Boris Kolpackov | 1 | -1/+1 | |
2023-03-08 | Disambiguate operator<<(ostream,path_name_view) call | Boris Kolpackov | 3 | -7/+7 | |
This helps, for example, in bpkg where we "see" two version of this operator. | |||||
2023-03-07 | Add new include_arch/config.install.include_arch installation location | Boris Kolpackov | 1 | -35/+37 | |
It is mean for target architecture-specific headers. | |||||
2023-03-02 | Replace deprecated std::aligned_storage with alignas | Boris Kolpackov | 5 | -18/+21 | |
Based on patch by Matthew Krupcale. | |||||
2023-03-02 | Adapt to interface changes in libpkgconf 1.9 | Boris Kolpackov | 1 | -0/+7 | |
Patch by Matthew Krupcale. | |||||
2023-03-01 | Add support for installation manifest | Boris Kolpackov | 14 | -48/+604 | |
2023-02-22 | Set explicit 755 install mode for exe{} targets | Boris Kolpackov | 1 | -0/+5 | |
This helps cases where an executable gets installed somewhere else where the default is not 755 (for example to libexec/, which on Debian has the 644 mode). | |||||
2023-02-20 | Fix raw string literal lexing bug in cc:lexer (GH issue #268) | Boris Kolpackov | 2 | -3/+5 | |
2023-02-13 | Deduplicate -I and -L options extracted from pkg-config files (GH issue #265) | Boris Kolpackov | 1 | -43/+81 | |
2023-02-02 | Complete and normalize --default-options path | Boris Kolpackov | 1 | -0/+17 | |
2023-01-31 | Minor improvement to diagnostics | Boris Kolpackov | 1 | -2/+6 | |
2023-01-27 | Add clarifying comment | Boris Kolpackov | 1 | -0/+2 | |
2023-01-24 | Add std::back_inserter() to utility.hxx | Boris Kolpackov | 1 | -1/+2 | |
2023-01-09 | Fix simple and script tests to correctly terminate processes which don't ↵ | Karen Arutyunov | 2 | -48/+299 | |
close stderr on exit | |||||
2022-12-19 | Disable `)` escaping in buildspec, command line variable overrides | Boris Kolpackov | 2 | -11/+10 | |
Similar to line continuations, that would make directory paths on Windows unusable, for example: b info(C:\myproj\) Note that while this is less of a problem in command line variable overrides, we disable it there for consistency. | |||||
2022-12-19 | Disable line continuation in buildspec, command line variable overrides | Boris Kolpackov | 2 | -8/+11 | |
Line continuations would make directory paths on Windows unusable, for example: b C:\myproj\ | |||||
2022-12-19 | Restore newline escaping (line continuations) in double-quoted strings | Boris Kolpackov | 3 | -9/+11 | |
Also make effective escaping in buildspec and command line variable overrides consistent with double-quoted strings. | |||||
2022-12-15 | Add $regex.filter[_out]_{match,search}() functions | Karen Arutyunov | 1 | -67/+206 | |
2022-12-15 | Add noexcept to move constructors and move assignment operators | Karen Arutyunov | 18 | -51/+73 | |
2022-12-15 | Improve escape sequence support | Boris Kolpackov | 7 | -172/+274 | |
Specifically: 1. In the double-quoted strings we now only do effective escaping of the special `$("\` characters plus `)` for symmetry. 2. There is now support for "escape sequence expansion" in the form $\X where \X can be any of the C/C++ simple escape sequences (\n, \t, etc) plus \0 (which in C/C++ is an octal escape sequence). For example: info "foo$\n$\tbar$\n$\tbaz" Will print: buildfile:1:1: info: foo bar baz | |||||
2022-12-14 | Improve empty simple value to empty list of names reduction heuristics | Boris Kolpackov | 18 | -67/+136 | |
Specifically, do not reduce typed RHS empty simple values for prepend/append and additionally for assignment provided LHS is typed and is a container. | |||||
2022-12-14 | Handle NULL values in $string() and $concat() functions | Boris Kolpackov | 8 | -19/+82 | |
This is relied upon by the parser to provide conversion/concatenation semantics consistent with untyped values. Note that we handle NULL values only for types that have empty representation. | |||||
2022-12-13 | Add format_copy_empty flag to $regex.{split,merge,apply}() | Boris Kolpackov | 1 | -20/+54 | |
2022-12-13 | Return all subexpressions in $regex.{match,search}(), not only matched | Boris Kolpackov | 1 | -8/+2 | |
The old semantics was unusable for optional groups (e.g., `(...)?`). | |||||
2022-12-13 | Fix linking failure on Windows | Karen Arutyunov | 1 | -1/+1 | |
2022-12-12 | Adapt to dir_iterator API change | Karen Arutyunov | 10 | -17/+99 | |