2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-15 01:02:14 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Andrey Semashev
f1337c6fbc Ported library to Boost.TypeIndex. This solves symbol visibility problems with Clang on Linux when the library is built with -fvisibility=hidden. 2015-03-28 21:20:55 +03:00
Andrey Semashev
2e7eb45f48 Removed unused data member. 2015-03-28 20:12:19 +03:00
Andrey Semashev
f74a7df2df Fixed #11148. Fixed incorrect behavior of attribute_value_set::size() if a large number of attribute values are inserted into the set. 2015-03-28 19:04:31 +03:00
Andrey Semashev
18df30ed33 Followup for the previous commit. 2015-03-25 00:48:52 +03:00
Andrey Semashev
89474f4a80 Define ASIO config macros before using it. Use hidden visibility by default.
Boost.ASIO should not use compiler-based TLS unless it is allowed by the user of Boost.Log, otherwise the Boost.Log config option has no practical effect.
As a result, it becomes more probable that Boost.ASIO will be compiled with different config macros in Boost.Log and user's code. As a partial solution use
hidden visibility when building Boost.Log shared libs and ensure it uses its local copy of Boost.ASIO. Added a config test to detect support for visibility
command line option.

Also adjusted project names of other config tests to avoid possible name clashes with other libraries and Boost.Build infrastructure.

MSVC warning 4003 is now silenced on all compiler versions as apparently not only MSVC 8 is affected.
2015-03-25 00:32:36 +03:00
Andrey Semashev
30ff0390ce Fixed #11106. In some cases inserted attribute set elements could invalidate the existing elements preventing them from being found. 2015-03-15 15:00:53 +03:00
Andrey Semashev
4751a16536 Added compilation workarounds for MSVC 2015 CTP6. 2015-03-01 21:22:46 +03:00
Andrey Semashev
7ebfd3b6c4 Fixes #11016. Text file sink no longer creates lots of empty files if there is no free space on the file system. 2015-02-14 19:19:42 +03:00
Andrey Semashev
3ef16ab89b Fixed compilation on GNU Hurd. 2015-01-25 18:06:06 +03:00
Andrey Semashev
5bb604ee39 Updated copyright dates. 2015-01-25 17:32:33 +03:00
Andrey Semashev
59f5bcdcad Fixes #10926. Generalized id formatting.
Also, different hex-based formatting routines now use the common
character table, which should reduce binary size a little.
2015-01-25 17:27:41 +03:00
Andrey Semashev
66e7ade8ec Fixed thread id casting to integer on big-endian platforms. 2014-12-10 23:08:03 +03:00
Andrey Semashev
45a91ff2be Fixed thread id formatting. 2014-11-27 20:48:16 +03:00
Andrey Semashev
755b2c27b7 Fixes #10700. Don't use vsnprintf_s on MSVC as it does not behave as the standard vsnprintf. Also corrected error checking for snprintf in different places. 2014-10-30 03:19:00 +03:00
Andrey Semashev
4cb6d0ca7d Fixes #10638. Suppress exceptions from async sinks by default when initializing from settings. 2014-10-12 15:06:16 +04:00
Andrey Semashev
d79086e9fb Minor performance optimization. 2014-08-22 21:49:44 +04:00
Andrey Semashev
0f63e93cf6 Remove non-ASCII characters. 2014-07-08 14:47:13 +04:00
Andrey Semashev
d90b457110 Added support for MSVC 14 CTP. 2014-07-05 20:19:40 +04:00
Andrey Semashev
9892e3859f Disabled 'may be used uninitialized' warnings for gcc caused by boost::optional. 2014-06-23 13:06:27 +04:00
Andrey Semashev
dfb3049a7c Extracted text_multifile_backend implementation to a separate file. 2014-06-22 18:46:17 +04:00
Andrey Semashev
7516f00cde Use low-level Qi extractors instead of qi::parse to reduce compile times and binary sizes. 2014-06-22 18:19:12 +04:00
Andrey Semashev
7e8ada3859 Added a missing include. 2014-06-22 02:40:18 +04:00
Andrey Semashev
a0ec391663 Removed most of Boost.Spirit from the parameter partsers to speedup compilation and reduce binary sizes. This also significantly reduces memory consumption in case of Intel Compiler (down by ~600MiB). 2014-06-22 02:01:23 +04:00
Andrey Semashev
58cca56915 Added noexcept specifications. Simplified code in some cases. 2014-06-21 20:57:18 +04:00
Andrey Semashev
4b137ed869 Fixed incorrect element insertion.
The inserted attributes and attribute values could sometimes be left not-findable by find() method and other methods that rely on it. The elements were still obtainable through iteration.
2014-06-21 20:54:11 +04:00
Andrey Semashev
3fa39aa6cb Fixed unhandled_exception_count() with gcc and clang. 2014-06-09 22:10:51 +04:00
Andrey Semashev
c324b7716f Updated the default Windows version to Windows XP. This is partially done to work around ticket #10016. 2014-06-09 21:13:59 +04:00
Andrey Semashev
166616c796 Changed all references to empty_deleter to null_deleter in Boost.Core. 2014-06-03 23:09:21 +04:00
Glen Fernandes
368194af72 Use Boost.Align for aligned allocation 2014-05-03 19:17:07 -07:00
Andrey Semashev
823b743f91 Reverted xmm register clobbering. Apparently it slows down dumping small buffers while it gives almost no benefit to dumping large buffers. 2014-04-28 20:09:45 +04:00
Andrey Semashev
61bcef65a8 Added XMM register clobbers to the SSSE3 version of code so that GCC does not spill/restore registers around function calls. 2014-04-27 22:46:08 +04:00
Andrey Semashev
e01be8c293 Switched to Boost.Regex regex backend by default. Performance tests showed that it is faster than Boost.Xpressive for small string matching. std::regex is the slowest across all tested platforms (MSVC 12, gcc 4.8, clang 3.4). Boost.Regex also produces smaller executables than Boost.Xpressive. 2014-03-22 18:27:38 +04:00
Andrey Semashev
dad4c881cd Added configuration macros for regex backend selection. The backend is used by string matching filters parsed from strings and settings. 2014-03-19 22:32:57 +04:00
Andrey Semashev
06a1dbf4b8 Fixed compilation for C++03 compilers. 2014-03-16 20:48:58 +04:00
Andrey Semashev
5dc9f83b76 Fixed compilation for x86-64. 2014-03-16 18:13:55 +04:00
Andrey Semashev
32b3e71432 Fixed compilation with MSVC for 32-bit x86. Removed use of Boost.Spirit and Boost.Phoenix in some cases to speed up compilation and reduce binary sizes. 2014-03-16 18:10:48 +04:00
Andrey Semashev
a0242d9bcb Minor optimizations. 2014-03-10 18:00:00 +04:00
Andrey Semashev
54bd7c46a4 New version of function signature parser.
The new version supports operators and is more resilient to the input
format variations. It should no longer get confused by the space
characters between the function name and the opening parenthesis.
2014-03-10 17:29:00 +04:00
Andrey Semashev
1401b3e3bf Fixed parsing signatures of functions that return function pointers.
- Function name parsing is only done for scopes denoted with
BOOST_LOG_FUNCTION, scopes marked with BOOST_LOG_NAMED_SCOPE are output
as is.
- The parser has been rewritten to behave more correctly in case if
function name contains template parameters and/or returns a function
type.
- Operator functions are not supported by the parser.
- Docs corrections.
2014-03-02 18:27:36 +04:00
Andrey Semashev
3813972189 Silenced "missing return statement" warnings.
On compilers without support for unreachable code or noreturn hints
generate dummy return statements to silence warnings.
2014-03-01 18:27:21 +04:00
Andrey Semashev
2c95cd442b Performance optimization. 2014-03-01 04:36:45 +04:00
Andrey Semashev
15ed06e606 Added support for bare filename and function name extraction in the
named scope formatter. Function name does not work yet if function types
are present in the scope (function) signature.
2014-02-23 21:04:22 +04:00
Andrey Semashev
f734363ee3 Removed register storage specifier as it causes warnings on newer clang
versions.
2014-02-23 14:52:19 +04:00
Andrey Semashev
a21d096e4a Updated copyright notes to 2014. 2014-01-19 18:46:09 +04:00
Andrey Semashev
4399331206 Merged recent changes from trunk
[SVN r86659]
2013-11-12 19:46:37 +00:00
Andrey Semashev
fa2d256d0e Merged latest changes from trunk.
[SVN r86356]
2013-10-18 17:32:46 +00:00
Andrey Semashev
2ce146a1bc Merged recent changes from trunk.
[SVN r86297]
2013-10-14 11:05:12 +00:00
Andrey Semashev
d3419b1091 Reapplied changeset [86160].
[SVN r86199]
2013-10-08 14:44:59 +00:00
Andrey Semashev
56bb6f2dca Temporarily reverted the last commit [86164], until 1.55 beta ships.
[SVN r86166]
2013-10-05 19:02:18 +00:00
Andrey Semashev
6e6ad59e52 Merged latest changes from trunk.
[SVN r86164]
2013-10-05 14:02:30 +00:00