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
8aae154f37
Removed constexpr from no_unused_warnings() function since it has void return type.
2014-04-27 01:16:38 +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
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
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
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
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
cc67cda05e
Simplified matching function backend selection. Added backend for std::regex.
2014-03-19 20:38:35 +04:00
Andrey Semashev
e8f62b8050
Fixed compilation.
2014-03-16 20:22:22 +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
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
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
4c4062480e
Removed register keyword.
2014-03-07 18:38:22 +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
f3cff62162
Fixed compilation of get_attribute method of loggers.
2014-03-01 18:03:01 +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
74267d9f39
Added operators for non-const object output.
2014-02-22 18:54:11 +04:00
Andrey Semashev
409dffcd1b
Added missing is_nullary specialization.
2014-02-22 15:19:11 +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
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
Andrey Semashev
f01ecd2e7c
Merged latest changes from trunk.
...
[SVN r85986]
2013-09-28 16:11:45 +00:00
Andrey Semashev
bf9c04dc9a
Fixed compilation.
...
[SVN r85834]
2013-09-22 18:05:26 +00:00
Andrey Semashev
3be866a83c
Merged changes from trunk.
...
[SVN r85819]
2013-09-22 10:04:38 +00:00
Andrey Semashev
f35fd5eecf
Merged changes from trunk.
...
[SVN r85713]
2013-09-16 18:58:52 +00:00
Andrey Semashev
313a5b69cd
Merged recent changes from trunk.
...
[SVN r85657]
2013-09-12 17:17:07 +00:00
Andrey Semashev
5204873fa9
Merged latest changes from trunk.
...
[SVN r85461]
2013-08-25 14:20:22 +00:00
Andrey Semashev
cdd85fc887
Merged recent changes from trunk. Fixes #8730 .
...
[SVN r85093]
2013-07-20 18:09:32 +00:00
Andrey Semashev
ae40a3b3ef
Merged changes from trunk. Fixes #8614 .
...
[SVN r84677]
2013-06-07 17:37:04 +00:00
Andrey Semashev
b9a24cd46c
Fixes #8585 . Fixed typos in docs and comments.
...
[SVN r84352]
2013-05-18 14:21:26 +00:00
Andrey Semashev
2695027b14
Updated changelog, corrected comments.
...
[SVN r84336]
2013-05-17 20:16:41 +00:00
Andrey Semashev
897b1990a7
Corrected comment.
...
[SVN r84228]
2013-05-10 16:42:35 +00:00
Andrey Semashev
3e1aa6987b
Worked around MSVC 10 compilation error. The compiler fails to resolve overloaded add_value functions when the attribute value is a string literal.
...
[SVN r84194]
2013-05-08 19:43:27 +00:00
Andrey Semashev
bb0c444a95
Disabled syslog sink when neither Boost.ASIO nor native syslog API are available.
...
[SVN r84193]
2013-05-08 19:04:58 +00:00