Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-15 | Generalize attributes to be comma-separated with arbitrary values | Boris Kolpackov | 8 | -71/+119 | |
Before: x = [string null] After: x = [string, null] | |||||
2019-11-15 | Improve {}-imbalance diagnostics in cc::parser and make it warning | Boris Kolpackov | 3 | -10/+33 | |
2019-11-15 | Fix bug in cc::parser location storage | Boris Kolpackov | 4 | -5/+32 | |
2019-11-14 | Cleanup attribute parsing code | Boris Kolpackov | 4 | -54/+37 | |
2019-11-14 | Require attributes to be separated from words and similar on RHS | Boris Kolpackov | 1 | -2/+19 | |
2019-11-14 | Adjust deadlock diagnostics to reflect its fuzzy nature | Boris Kolpackov | 1 | -3/+2 | |
2019-11-14 | Tighten up attribute recognition during parsing | Boris Kolpackov | 9 | -190/+286 | |
Now it should be possible to use `[]` for wildcard patterns, for example: foo = foo.[hit]xx Note that a leading bracket expression will still be recognized as attributes and escaping or quoting it will inhibit pattern matching. To resolve this case we need to specify an empty attribute list: foo = [] [abc]-foo.cxx | |||||
2019-11-14 | Make use of butl::to_stream(ostream, path, bool) | Karen Arutyunov | 6 | -13/+19 | |
2019-11-13 | Increase deadlock detection timeout | Boris Kolpackov | 1 | -1/+1 | |
2019-11-13 | Use path_name in cc::lexer class | Karen Arutyunov | 15 | -64/+119 | |
2019-11-13 | Implement config.config.persist logic | Boris Kolpackov | 4 | -78/+193 | |
Note that the inherited value part is documented but is not yet fully implemented. | |||||
2019-11-12 | Infra work for customizable config var persistence (config.config.persist) | Boris Kolpackov | 5 | -41/+75 | |
2019-11-12 | Explicitly load bundled module buildfiles to "use" their imports | Boris Kolpackov | 1 | -1/+9 | |
2019-11-12 | Add support for vector<pair<K, V>> variable values | Boris Kolpackov | 4 | -2/+231 | |
2019-11-12 | Rename config.{import,export} to config.config.{load,save} | Boris Kolpackov | 5 | -48/+52 | |
Also rename the $config.export() function to $config.save(). | |||||
2019-11-12 | Rename config.module to config.config.module | Boris Kolpackov | 2 | -12/+12 | |
The old name was an accidental land-grab. | |||||
2019-11-11 | Change default for unused config.import.* variables from drop to keep | Boris Kolpackov | 4 | -34/+94 | |
2019-11-11 | Use path_name for `-` to stdin/stdout translation | Karen Arutyunov | 19 | -89/+102 | |
2019-11-08 | Use $regex.replace_lines() for default host config processing | Boris Kolpackov | 1 | -5/+3 | |
2019-11-08 | Add $regex.replace_lines() function | Karen Arutyunov | 1 | -2/+141 | |
2019-11-08 | Redo Apple /usr/include detection using patterns | Boris Kolpackov | 1 | -16/+8 | |
This should cover XCode 11 where the symlinks are the other way around now (see homebrew-core issue #46393 for details). | |||||
2019-11-07 | Raise libcpp version in regex-related check to 9.0 | Karen Arutyunov | 1 | -1/+1 | |
2019-11-07 | Add libbuild2/config/.gitignore with host-config.cxx | Boris Kolpackov | 1 | -0/+1 | |
2019-11-07 | Don't add $install.lib to module library search path if import.build2 is NULL | Boris Kolpackov | 1 | -6/+21 | |
2019-11-07 | Use `lib` prefix on MinGW when forming build system module library name | Boris Kolpackov | 1 | -1/+3 | |
2019-11-07 | Initial work on path_name use for `-` to stdin/stdout translation | Boris Kolpackov | 26 | -109/+112 | |
2019-11-05 | Fix tests | Boris Kolpackov | 1 | -3/+3 | |
2019-11-05 | Add support for automatic importing of libbuild2 of installed case | Boris Kolpackov | 6 | -2/+37 | |
2019-11-05 | Add support for supplying MSVC IFCPATH equivalent | Boris Kolpackov | 7 | -13/+64 | |
2019-11-05 | Cosmetic change | Boris Kolpackov | 1 | -2/+2 | |
2019-11-05 | Recognize latest C (2x) and C++ (2b) standards | Boris Kolpackov | 2 | -16/+23 | |
2019-11-05 | Fix function call diagnostics to use diag_frame | Boris Kolpackov | 2 | -24/+19 | |
2019-11-04 | Add support for ~host special configuration name in config.import | Boris Kolpackov | 3 | -8/+72 | |
This is the "default host configuration" that corresponds to how the build system itself was built. For example: $ b create: tools/,cc config.import=~host | |||||
2019-11-04 | Add $config.export() function | Boris Kolpackov | 11 | -85/+174 | |
This is similar to the config.export variable functionality except it can be called from within buildfiles. Note that this function can only be used during configure unless the config module creation was forced for other meta-operations with config.module=true in bootstrap.build. | |||||
2019-11-04 | Add support for configuration exporting and importing | Boris Kolpackov | 16 | -175/+415 | |
The new config.export variable specifies the alternative file to write the configuration to as part of the configure meta-operation. For example: $ b configure: proj/ config.export=proj-config.build The config.export value "applies" only to the projects on whose root scope it is specified or if it is a global override (the latter is a bit iffy but we allow it, for example, to dump everything to stdout). This means that in order to save a subproject's configuration we will have to use a scope-specific override (since the default will apply to the outermost amalgamation). For example: $ b configure: subproj/ subproj/config.export=.../subproj-config.build This could be somewhat unnatural but then it will be the amalgamation whose configuration we normally want to export. The new config.import variable specifies additional configuration files to be loaded after the project's default config.build, if any. For example: $ b create: cfg/,cc config.import=my-config.build Similar to config.export, the config.import value "applies" only to the project on whose root scope it is specified or if it is a global override. This allows the use of the standard override "positioning" machinery (i.e., where the override applies) to decide where the extra configuration files are loaded. The resulting semantics is quite natural and consistent with command line variable overrides, for example: $ b config.import=.../config.build # outermost amalgamation $ b ./config.import=.../config.build # this project $ b !config.import=.../config.build # every project Both config.export and config.import recognize the special `-` file name as an instruction to write/read to/from stdout/stdin, respectively. For example: $ b configure: src-prj/ config.export=- | b configure: dst-prj/ config.import=- | |||||
2019-10-31 | Update comment on Apple Clang to vanilla Clang version mapping | Boris Kolpackov | 1 | -15/+14 | |
2019-10-31 | Fix crashing on unhandled invalid_path thrown by parser::parse_include() | Karen Arutyunov | 1 | -17/+36 | |
2019-10-29 | Add forward declaration header for build state types | Boris Kolpackov | 25 | -101/+97 | |
2019-10-29 | Regularize and make accessible install/uninstall primitives | Boris Kolpackov | 2 | -36/+70 | |
2019-10-29 | Add support for specifying custom load prefix and version clean patterns | Boris Kolpackov | 2 | -10/+24 | |
2019-10-29 | Tighten up versioned libraries clean patterns | Boris Kolpackov | 2 | -73/+128 | |
2019-10-25 | Fix maybe used uninitialized warning | Boris Kolpackov | 1 | -1/+1 | |
2019-10-25 | Fix inconsistent loaded_modules_lock declaration | Boris Kolpackov | 1 | -1/+1 | |
2019-10-25 | Expand context comment | Boris Kolpackov | 1 | -2/+13 | |
2019-10-25 | Add --silent, remap verbosity 0 to 1 while building modules unless silent | Boris Kolpackov | 4 | -4/+31 | |
Failed that, we may have long periods of seemingly nothing happening (e.g., during implicit bdep sync) while we quietly update the module, which may look like things have hung up. | |||||
2019-10-23 | Expand comment | Boris Kolpackov | 1 | -2/+2 | |
2019-10-23 | Un-tune scheduler when building build system modules | Boris Kolpackov | 8 | -100/+167 | |
2019-10-22 | Handle invalid_argument when constructing build system module project name | Boris Kolpackov | 1 | -1/+9 | |
2019-10-22 | Implement loaded_modules state locking | Boris Kolpackov | 4 | -2/+62 | |
This would be necessary if someone runs two parallel top-level contexts. | |||||
2019-10-22 | Minor fixes | Boris Kolpackov | 2 | -2/+2 | |