2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-11 11:52:20 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
Andrey Semashev
eaf71c96ab A workaround for MSVC 7.1. 2015-10-12 12:24:29 +03:00
Andrey Semashev
490f2dc5b6 Attempt to fix compilation with MSVC-7.1. 2015-10-09 12:45:40 +03:00
Andrey Semashev
e651649e4d A cleaner workaround for MSVC-10 and older bug that results in picking a wrong constructor of pattern_replacer. 2015-10-06 23:56:23 +03:00
Andrey Semashev
7c210933e8 Added a workaround for MSVC-10 and older bug that results in picking a wrong constructor of pattern_replacer. 2015-10-05 23:42:48 +03:00
Andrey Semashev
b559675cfe Corrected docs. 2015-10-04 12:03:05 +03:00
Andrey Semashev
b7de827f23 Fixed compilation of character decorators. Added tests. 2015-09-26 19:20:07 +03:00
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
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
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
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
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
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
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
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
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
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
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
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
bdf86442e5 Fixed operator<< for lvalue strings where character conversion is needed. 2015-06-01 00:10:57 +03:00
Andrey Semashev
34e68c7b5a Ported from std::random_shuffle and std::rand to Boost.Random and custom random_shuffle implementation. 2015-03-29 20:12:58 +03:00
Andrey Semashev
a86343abfa Removed unused header. 2015-03-28 22:03:24 +03:00
Andrey Semashev
d14a7e1256 Removed the previously deprecated headers: , , . 2015-03-28 21:34:11 +03:00
Andrey Semashev
7f9dfd579e Deprecated type_info_wrapper. 2015-03-28 21:28:49 +03:00
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
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
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
5bb604ee39 Updated copyright dates. 2015-01-25 17:32:33 +03:00
Andrey Semashev
2afb87a3d9 Added missing includes. 2015-01-25 17:22:38 +03:00
Andrey Semashev
ff4c8d8b5c Yet another missing include. 2015-01-25 17:11:10 +03:00
Andrey Semashev
50e289f88f Added a missing include. 2015-01-25 17:01:54 +03:00
Andrey Semashev
dbff19c89c Disabled MSVC secure CRT warnings. 2014-11-04 20:43:58 +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
7711830bc6 Compilation fixes for MSVC 8. Move support fixes for light_function and other components based on it. 2014-10-30 02:27:59 +03:00
Andrey Semashev
e6dded1be0 Fixed a possible race condition in try_feed_record if locking the backend fails. 2014-10-12 14:48:40 +04:00
Andrey Semashev
34d24d8ae4 Updated use of move_detail::is_rv. 2014-09-30 21:48:17 +04:00
Andrey Semashev
9e4c006c03 XML character decorator now escapes quote characters. 2014-09-09 21:44:56 +04:00
Andrey Semashev
d90b457110 Added support for MSVC 14 CTP. 2014-07-05 20:19:40 +04:00
Andrey Semashev
58cca56915 Added noexcept specifications. Simplified code in some cases. 2014-06-21 20:57:18 +04:00
Andrey Semashev
c26d7c0c45 Fixes #9320. Added a workaround for MSVC bug that causes invalid reference being saved in add_value_manip. 2014-06-14 19:07:36 +04:00
Andrey Semashev
37c2bb436a Removed non-ASCII characters from comment. 2014-06-12 22:37:37 +04:00
Andrey Semashev
5dd65f5468 Ported to core/demangle.hpp. Added noexcept specifications to type_info_wrapper methods. 2014-06-09 21:41:23 +04:00