Andrey Semashev
ae4786ec04
Some nonessential code cleanup.
2014-05-01 23:39:32 +04:00
Andrey Semashev
10f1380e13
Optimizations for code size and possibly compile times.
2014-05-01 22:58:26 +04: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
bf3f940d2d
Merge branch 'develop' of github.com:boostorg/log into develop
2014-04-27 22:46:28 +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
8aae154f37
Removed constexpr from no_unused_warnings() function since it has void return type.
2014-04-27 01:16:38 +04:00
Andrey Semashev
ea26549062
Silenced a few gcc warnings in tests.
2014-04-27 00:28:28 +04:00
Andrey Semashev
0991d9664e
Made no_unused_warnings() function more transparent for the user's code.
2014-04-27 00:27:59 +04:00
Andrey Semashev
3e6b406ba3
Attempt to work around the clang 3.5 problem in C++11 mode. The compiler attempts to instantiate assignment operator for light_function::impl and this causes compilation errors in Boost.Phoenix.
2014-04-22 22:23:09 +04:00
Andrey Semashev
76ca29f2ec
Corrected moving the function objects when initializing lightweight_function.
2014-04-18 16:04:50 +04:00
Andrey Semashev
940bf90f9f
#9864 . Change MinGW and Cygwin target selection for Boost.Build.
2014-04-09 21:48:02 +04:00
Andrey Semashev
3eedf0f6ee
Fixed possible infinite block in the enqueue methods if block_on_overflow strategy was used.
2014-04-02 21:21:17 +04:00
Andrey Semashev
a7425c5891
Moved enqueued_record out of record queueing strategies to reduce code duplication and avoid dependency on the strategies template parameters.
2014-04-01 20:48:45 +04:00
Andrey Semashev
53cecdac11
Added tests for string matching filter for different matching backends. Fixed Boost.Spirit.Qi matching backend compilation.
2014-03-30 19:39:03 +04:00
Andrey Semashev
b076f75d7d
Updated changelog.
2014-03-30 14:22:47 +04:00
Andrey Semashev
f4cfd4d7cb
Removed virtual function use from locking_ptr. Changed the implementation to use the real recursive_mutex since the previous implementation could result in a race.
2014-03-30 14:20:33 +04:00
Andrey Semashev
02fe9b451d
Changed standalone header test naming in attempt to make these tests visible in the reports.
2014-03-28 21:47:12 +04:00
Andrey Semashev
4b2360b66e
Added a few more matches filter test cases.
2014-03-23 19:27:55 +04:00
Andrey Semashev
493218d7be
Do not depend on Boost.Regex if settings parsers or default factories are disabled.
2014-03-22 18:40:56 +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
64d13100dd
Interfacing with various regex backends made more accurate.
2014-03-22 20:57:30 +04:00
Andrey Semashev
cde7e772f8
Added missing #include <ios>.
2014-03-20 20:55:33 +04:00
Andrey Semashev
42b6ffd382
Removed checkpoints. The crash on Sandia-Darwin happens when the formatter is invoked. Further investigation needed.
2014-03-20 10:26:16 +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
c3f6830849
Made std_regex.hpp not hard fail the self_container_header test in case if STL does not support std::regex.
2014-03-19 20:55:36 +04:00
Andrey Semashev
5ad2ba1533
Updated docs.
2014-03-19 20:43:46 +04:00
Andrey Semashev
cc67cda05e
Simplified matching function backend selection. Added backend for std::regex.
2014-03-19 20:38:35 +04:00
Andrey Semashev
7513db8bfe
Trying to localize the reason of the test failure on Sandia-Darwin.
2014-03-19 19:18:50 +04:00
Andrey Semashev
06a1dbf4b8
Fixed compilation for C++03 compilers.
2014-03-16 20:48:58 +04:00
Andrey Semashev
e8f62b8050
Fixed compilation.
2014-03-16 20:22:22 +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
c368877796
Attempt to workaround gcc 4.2 problems with result_of.
2014-03-16 13:18:18 +04:00
Andrey Semashev
bf1878aeb1
Added a changelog entry.
2014-03-16 02:04:03 +04:00
Andrey Semashev
0d2f401c6b
Removed commented code.
2014-03-16 01:46:21 +04:00
Andrey Semashev
25b59e51e0
Refs #9123 . Implemented support for incomplete and empty markers for the named scope formatter.
2014-03-16 01:38:33 +04:00
Andrey Semashev
9ce8a45647
Added a workaround for Boost.Phoenix bug #9363 .
2014-03-15 17:45:21 +04:00
Andrey Semashev
1095c98e11
Fixed headers self-sufficiency test on Windows. Fixed MSVC warning directive in spirit_classic.hpp.
2014-03-15 16:22:36 +04:00
Andrey Semashev
1a1689da20
Added compile tests for headers. The test verifies that Boost.Log headers are self-contained and there are no missing headers. As a result of the test addition, fixed a few bugs in header includes.
2014-03-15 19:41:01 +04:00
Andrey Semashev
82c65a7740
Fixed missing #include.
2014-03-15 16:54:43 +04:00
Andrey Semashev
9c56a69773
Removed unused typedefs.
2014-03-11 10:10:07 +04:00
Andrey Semashev
455e694d49
Removed unused typedefs.
2014-03-11 10:06:49 +04:00
Andrey Semashev
af1aa5e13e
Changed light_function internal method signatures to reduce the amount of output in case of compilation errors. This also reduces manglen name lengths slightly.
2014-03-10 20:20:26 +04:00
Andrey Semashev
e230948905
Added BOOST_LOG_FUNC scope markup macro. The macro attempts to use bare function name as the scope name, if the compiler has the necessary support for it.
2014-03-10 19:39:18 +04:00
Andrey Semashev
33e4c386ff
Updated MSVC-specific test case with array return type.
2014-03-10 19:28:59 +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
39261d80ae
Fixed incorrect test case.
2014-03-10 14:53:45 +04:00
Andrey Semashev
4c4062480e
Removed register keyword.
2014-03-07 18:38:22 +04:00
Andrey Semashev
39c1c707dc
Added MSVC-specific testcases.
2014-03-05 19:46:44 +04:00