aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/diagnostics.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-08-29Add diagnostics color support on Windows (GH issue #312)Boris Kolpackov1-15/+25
Note that currently this has to be enabled with an explicit --diag-color option. In the future the plan is to enable it by default if supported.
2023-04-05Allow creating context with bare minimum of initializationsBoris Kolpackov1-7/+7
This is used by bpkg to detect forwarded configurations without incurring the full context creation overhead.
2022-12-08Add --[no]diag-color options (infrastructure only)Boris Kolpackov1-4/+36
2022-11-29Fix backlink logic for target groupsBoris Kolpackov1-54/+141
We used to backlink ad hoc group members both via the group and as individual members. And for explicit groups it was done only via individual members, which means it only works correctly if every member is individually updated. Now both types of groups are backlinked from the group target.
2022-11-23Rework diag_buffer interface to facilitate correct destruction orderBoris Kolpackov1-17/+11
2022-11-18Complete low verbosity diagnostics reworkBoris Kolpackov1-2/+225
2022-11-16Initial low verbosity diagnostics reworkBoris Kolpackov1-0/+132
2022-11-08Make process exit diagnostics consistentBoris Kolpackov1-10/+3
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored.
2022-11-08Allow passing fail diag record to diag_buffer::close()Boris Kolpackov1-6/+11
2022-11-08Add diag_buffer::open_eof()Boris Kolpackov1-1/+14
2022-11-08Add force flag to diag_buffer::read(), diag_buffer::write()Boris Kolpackov1-101/+102
2022-11-08More work on child process diagnostics bufferingBoris Kolpackov1-74/+99
2022-10-28Add ability to disable diagnostics buffering (--no-diag-buffer)Boris Kolpackov1-14/+31
2022-10-27Initial work on child process diagnostics bufferingBoris Kolpackov1-1/+255
Currently this is implemented for C/C++ compile and link rules.
2022-02-02Redo diagnostics without operator<< in namespace stdBoris Kolpackov1-24/+0
2021-09-28Adapt to libbutl headers extension change from .mxx to .hxxKaren Arutyunov1-1/+1
2020-04-07Pass LC_ALL=C when extracting locale-dependent information on POSIXBoris Kolpackov1-4/+22
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-07Initial work on path_name use for `-` to stdin/stdout translationBoris Kolpackov1-1/+1
2019-10-25Add --silent, remap verbosity 0 to 1 while building modules unless silentBoris Kolpackov1-1/+5
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-08-23Introduce notion of build contextBoris Kolpackov1-19/+19
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-21Cleanup context.hxx and its usageBoris Kolpackov1-0/+158
2019-07-01Split build system into library and driverBoris Kolpackov1-0/+138