Commit Graph

654 Commits

Author SHA1 Message Date
Andrey Semashev
b328b0bf9d Merge pull request #10 from crmoore/fix-setup-linking-clang
Fixed missing symbols in libboost_log_setup (on mac/clang)
2015-08-25 10:32:42 +03:00
Andrey Semashev
00cb99aa07 Workaround for MSVC 10 compiler bug. It fails to use sentry in conditional expressions in a particular case. 2015-08-25 10:29:27 +03:00
Christopher Moore
870284ed31 Fixed missing symbols in libboost_log_setup (on mac/clang) 2015-08-24 14:30:58 -04:00
Andrey Semashev
44ef109505 Fixed #11541. Fixed compilation when native wchar_t type is disabled. Added a note of discouragement to the configuration section. 2015-08-23 20:30:30 +03:00
Andrey Semashev
c2789a4eff Added a workaround for Solaris Studio 12.4, which should fix the compilation of formatting_ostream. Fixed #11545. 2015-08-23 17:45:49 +03:00
Andrey Semashev
48870b6ffe Updated changelog. 2015-08-23 17:31:47 +03:00
Andrey Semashev
7da193fde1 Fixed compilation of operator<< into a record ostream, when the operator right hand argument is not directly supported by formatting_ostream. Fixed #11549. 2015-08-23 17:27:20 +03:00
Andrey Semashev
e8c6688fcd Fixed compilation for Android. Fixed #11559. 2015-08-23 14:06:17 +03:00
Andrey Semashev
4be8a1fde6 Removed the check for VC-14 broken codecvt facets. The similar check has been merged to Boost.Config master. 2015-08-04 21:17:10 +03:00
Andrey Semashev
1bb9312a8e Define BOOST_LOG_NO_CXX11_CODECVT_FACETS for VC14 (replicate the Boost.Config fix that has not been merged to master yet). 2015-08-01 17:14:54 +03:00
Andrey Semashev
f90d0a9e5b Merge branch 'develop' 2015-08-01 17:05:47 +03:00
Andrey Semashev
d06dbb866e Moved changes to 1.58 in the changelog. 2015-08-01 17:05:32 +03:00
Andrey Semashev
9e63900033 Removed the check for MSVC for C++11 codecvt facets as it was moved to Boost.Config. 2015-07-27 14:53:49 +03:00
Andrey Semashev
87db169efe Fixed compilation with clang on Linux. 2015-07-27 14:49:33 +03:00
Andrey Semashev
38af3c7754 Updated check for C++11 codecvt specializations availability. 2015-07-26 18:35:20 +03:00
Andrey Semashev
f9338127b7 Fixed compilation on MSVC. More correct C++11 code conversion facets detection. Updated unhandled_exception_count() to use std::uncaught_exceptions() from C++17, where available (MSVC-14, currently). 2015-07-26 17:38:15 +03:00
Andrey Semashev
92f565f911 Corrected snprintf use. 2015-07-26 14:04:16 +03:00
Andrey Semashev
de7fd8c990 Reverted the last commit: snprintf is actually supposed to return values >= than the size of the buffer in case of overflow. 2015-07-26 12:23:19 +03:00
Andrey Semashev
cfa61a6f90 Reverted the last commit: snprintf is actually supposed to return values >= than the size of the buffer in case of overflow. 2015-07-26 12:22:50 +03:00
Andrey Semashev
8cc7aa791e Fixed incorrect length returned from snprintf on MSVC when the printed string did not fit in the supplied buffer. 2015-07-26 12:07:40 +03:00
Andrey Semashev
e61321e345 Fixed incorrect length returned from snprintf on MSVC when the printed string did not fit in the supplied buffer. 2015-07-26 12:07:16 +03:00
Andrey Semashev
6a9fa10ee2 Updated changelog. 2015-07-26 00:10:57 +03:00
Andrey Semashev
7d7b70e78b The default formatter has been rewritten to avoid using Boost.Phoenix.
This reduces compile times and binary sizes. It should also fix compilation with compilers not able to handle Boost.Phoenix (see #11200).

Also, date/time format has changed. The default formatter will produce dates with numeric months instead of abbreviated month names (see #8839).

The standard attribute value types supported by default parsed formatters now include char16_t and char32_t, when available. This required to add new code conversion routines.

Added Boost.PP sequences with the standard types. These are used to generate the corresponding type sequences, which is faster to compile than doing this with Boost.MPL.
2015-07-25 23:58:02 +03:00
Andrey Semashev
ac70fa34c1 Removed use of auto_ptr. 2015-07-18 20:32:07 +03:00
Andrey Semashev
cb68c029e2 Made message_file parameter optional if registration parameter is never. It is not used anyway. 2015-07-17 20:54:41 +03:00
Andrey Semashev
21e60917cc Corrected comment. 2015-07-17 03:22:22 +03:00
Andrey Semashev
89701d97c8 Corrected comments. 2015-07-17 02:47:08 +03:00
Andrey Semashev
c88426eb26 Removed unused typedef. 2015-07-17 02:22:54 +03:00
Andrey Semashev
a1300104c9 Updated changelog. 2015-07-10 22:57:33 +03:00
Andrey Semashev
2d8378a6e2 Fixes 11459. Added function exports. 2015-07-10 22:53:02 +03:00
Andrey Semashev
8d63fe138a Fixed a typo. 2015-07-08 22:59:26 +03:00
Andrey Semashev
2db6ddfcd7 Merge branch 'develop' 2015-07-08 22:50:30 +03:00
Andrey Semashev
12fb58fd54 Removed unused typedef. 2015-07-06 11:59:58 +03:00
Andrey Semashev
2c26ec929a Minor code simplification. 2015-07-05 22:18:15 +03:00
Andrey Semashev
30e7f03631 Fixes #11398. Improved the event synchronization primitive.
The updated implementation relies on Boost.Atomic for atomic operations which provides better portability. On Linux the implementation uses futexes directly, which should improve performance slightly. The event implementation choice should be more stable across different compiler versions because of these changes.
2015-07-05 22:00:03 +03:00
Andrey Semashev
c98b1f459a Fixes #11446. Add support for OpenBSD (clock_gettime). 2015-07-05 19:06:18 +03:00
Andrey Semashev
7dea4539d6 Reverted the TLS config enforcement for Boost.ASIO.
Partially reverts 89474f4a80 and a9738b1249. During the discussion on the ML, there was opinion that Boost.Log should not influence other libraries' configuration. This can cause ODR violations and cause surprises to the users.

The long term solution will be removal of Boost.ASIO and re-implementing network abstraction layer. For now users are required to configure each library separately. This requirement has been documented.
2015-07-05 18:52:29 +03:00
Andrey Semashev
3d5d5e31d0 Added tests for the to_log manipulator. Made generic operator<< for the formatting stream less attractive for the compiler. 2015-07-05 16:25:22 +03:00
Andrey Semashev
3b657cf7c3 Trying to work around compilation failure with clang. 2015-06-08 00:05:49 +03:00
Andrey Semashev
0432400a66 Fixed operator<< for lvalue strings where character conversion is needed. 2015-06-08 00:05:43 +03:00
Andrey Semashev
b2a3106a21 Trying to work around compilation failure with clang. 2015-06-01 16:00:08 +03:00
Andrey Semashev
bdf86442e5 Fixed operator<< for lvalue strings where character conversion is needed. 2015-06-01 00:10:57 +03:00
Andrey Semashev
83026646a2 Updated changelog. 2015-04-25 22:55:13 +03:00
Andrey Semashev
51d928fae6 Fixed #11190. Constructing attribute value set from attribute sets or inserting elements could invalidate elements that were in the container. 2015-04-25 22:50:05 +03:00
Andrey Semashev
d720a11e3b Fixed #11190. Constructing attribute value set from attribute sets or inserting elements could invalidate elements that were in the container. 2015-04-25 22:49:01 +03:00
Jürgen Hunold
27a822a6b8 Lift architecture detection 2015-04-04 20:33:00 +03:00
Andrey Semashev
3df873c330 Corrected a copyright date. 2015-04-04 16:08:28 +03:00
Andrey Semashev
04e24c7a02 Corrected a copyright date. 2015-04-04 16:08:13 +03:00
Andrey Semashev
1397164775 Improved docs. 2015-04-04 16:01:34 +03:00
Andrey Semashev
7cbcf861e5 Improved docs. 2015-04-04 16:01:16 +03:00