- Update spdlog to 1.14.0
- Release notes 1.14.0:
* Updated bundled fmt to version 10.2.1.
* Mapped Diagnostic Context (MDC) support by @massimiliano96 in #2907.
DC is a simple map of key->string values stored in thread local storage whose content will be printed by the loggers.
* Add milliseconds support to stopwatch by @brodao2 in #3034
* Add std::string_view overloads for logger accessor by @BenLeadbetter in #3023
* Make async_logger::flush() synchronous - wait for the flush operation to complete before returning by @walkerlala in #3049
* Use _stat() on Windows to be more UTF8 friendly by @liubing in #2978
* Add details about how compile time macros work by @egaban in #2981
* Fix typos found by codespell by @DimitriPapadopoulos in #3011
* Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed by @cohdan in #3009
* Fix the problem of compilation failure under MINGW by @NU-LL in #3022
* Add missing include in circular_q.h by @magnus-nomono in #3026
* Fix#3038 by @Tomas-Zhu in #3044
* Don't remove previous defaullt logger from registry in set_default_logger. Fix#3016
* Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. by @shaharv in #3048
* Updated INSTALL.md has to better reflect compiler info. #3052
* Fixed README.md example by @darallium in #3066
OBS-URL: https://build.opensuse.org/request/show/1170249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=34
- Release notes 1.14.0:
* Updated bundled fmt to version 10.2.1.
* Mapped Diagnostic Context (MDC) support by @massimiliano96 in #2907.
DC is a simple map of key->string values stored in thread local storage whose content will be printed by the loggers.
* Add milliseconds support to stopwatch by @brodao2 in #3034
* Add std::string_view overloads for logger accessor by @BenLeadbetter in #3023
* Make async_logger::flush() synchronous - wait for the flush operation to complete before returning by @walkerlala in #3049
* Use _stat() on Windows to be more UTF8 friendly by @liubing in #2978
* Add details about how compile time macros work by @egaban in #2981
* Fix typos found by codespell by @DimitriPapadopoulos in #3011
* Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed by @cohdan in #3009
* Fix the problem of compilation failure under MINGW by @NU-LL in #3022
* Add missing include in circular_q.h by @magnus-nomono in #3026
* Fix#3038 by @Tomas-Zhu in #3044
* Don't remove previous defaullt logger from registry in set_default_logger. Fix#3016
* Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. by @shaharv in #3048
* Updated INSTALL.md has to better reflect compiler info. #3052
* Fixed README.md example by @darallium in #3066
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=98
- Removed patch 2823.patch because mismatch with new release
- Release notes 1.13.0:
* Qt Sink: Allow for darker colors for light backgrounds (#2817). Thanks to @krawq.
* Set CMAKE_BUILD_TYPE only for single-config generators (#2839). Thanks to @moritz-h.
* Provide spdlog_header_only in build directory export (#2846). Thanks to @robertmaynard.
* Add SPDLOG_TO_VERSION to compare spdlog version (#2853). Thanks to @kegechen.
* Support async_overflow_policy::discard_new (#2876). Thanks to @walkerlala.
* Make syslog_sink.h's syslog_prio_from_level protected (#2918). Thanks to @shannonbooth.
* Fix OS availability check of pthread_threadid_np for iOS (#2897). Thanks to @lowdesertpunk.
* Add .git-blame-ignore-revs to ignore clang-format related commits (#2899). Thanks to @lowdesertpunk.
* Match SPDLOG_CONSTEXPR_FUNC to FMT_CONSTEXPR (#2901). Thanks to @kkraus14.
- Bugfixes:
* Check fd_ is not nullptr in file_helper to prevent possible crash if disk is full (#2972).
* Fix encoding issue in qt_sinks (#2862). Thanks to @neothenil and @tt4g .
* Fix wrong thread_id (TID) in systemd_sink.h (#2919). Thanks to @M010.
* Update example.cpp to fix the vector issue in bin_example (#2963). Thanks to @zhuzhzh.
* Fix MSVC compile flag for no exceptions (#2974). Thanks to @Programicus.
* Fix bug in circular_q::size() (#2820).
* Fix link to fmt license file (#2967).
- Maintenance:
* Added and updated various tests for circular_q.
* Removed obsolete part from CMake configuration files (#2871). Thanks to @albert-github.
* Removed policy_max from cmake_minimum_required(..).
* Updated clang-format to google style and updated various formatting scripts.
* Bumped to catch2 v3.5.0.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=94
- download 2823.patch from upstream again to fix metadata
mismatch
- Removed e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch as [boo#1199306] is now integrated.
- Add e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
lower than (new) 3
* CMake improvement regarding cmake_minimum_required and policy.
* Avoid c-style casting in stdout sinks.
* Support for FMT_STRING compile time checking.
- Added additional building options
* Ability to add sinks to a logger after its creation
* Replaced set_async_mode(..) with factory template.
OBS-URL: https://build.opensuse.org/request/show/1126931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=30
mismatch
- Removed e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch as [boo#1199306] is now integrated.
- Add e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
lower than (new) 3
* CMake improvement regarding cmake_minimum_required and policy.
* Avoid c-style casting in stdout sinks.
* Support for FMT_STRING compile time checking.
- Added additional building options
* Ability to add sinks to a logger after its creation
* Replaced set_async_mode(..) with factory template.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=88
* Support for external fmtlib versions 10.x (#2694). Thanks @H1X4Dev and @mguludag.
* Better support for std::format (#2359, #2544, #2680, #2688). Thanks @eli-b , @sylveon and @bachittle.
* Added new qt color sink. Logs to QTextEdit widget with some nice colors.
* Update #include to a deprecated fmt header (#2545) .Thanks @kromain.
* Fixes and impovements to dup_filter_sink (#2549, #2563). Thanks @zydxhs and @zhuyadong.
* Fix unnecessary empty backtrace begin/end logs (#2568). Thanks @koldi.
* Fixed variable name in msvc_sink (#2573). Thanks @naddu77.
* Add system includes (SPDLOG_SYSTEM_INCLUDES) cmake option (#2575). Thanks @dpayne.
* Improve dequeue of the async queue (@2587, #2588 ). Thanks @alokpr.
* Fix tcp_client sink for FreeBSD (#2590). Thanks @segoon.
* Support linux/musl libc (#2589). Thanks @kraj.
* Support newlib C library configurations without tm_gmtoff field (#2600). Thanks @igrr.
* Fix type of event id in win_eventlog_sink (#2598). Thanks @Tagl.
* Fix -Wshadow warnings in spdlog::sinks::dist_sink (#2599). Thanks @robinlinden.
* Spelling corrections (#2606, #2732). Thanks @albert-github and @zencatalyst.
* Add sync() function to file_helper (#2343). Thanks @espkk.
* Add a trivial callback_sink (#2610). Thanks @maghorbani.
* Fix unexpected delimiter at start of line in to_hex formatter (#2627). Thanks @starsunyzl.
* Fix MinGW build issue on example (#2642). Thanks @zEuS0390.
* Add optional TID definition to the systemd sink (#2619). Thanks @chardin-cpi.
* Added apply_logger_env_levels() (#2648, #2649). Thanks @afshinpir.
* Support utf8 in msvc_sink (#2651). Thanks @Demonese.
* Better handling of utf to wchar (66407f5).
* Use catch v3 for tests (#2656, (#2659). Thanks @xvitaly and @seker.
* New kafka sink (#2655). Thanks @vbirds and @SpriteOvO.
* Fix os namespace in systemd_sink.h (#2668). Thanks @MyNameIsLame.
* Enable systemd_sink tests in linux pipeline (#2669). Thanks @MyNameIsLame.
* Fix stdout_sink_base::log's fflush() behaviour inconsistency (#2646). Thanks @25077667.
* Fix for missing pthread_threadid_np in macOS < 10.6 and PowerPC (#2715). Thanks @barracuda156.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=83
- Applied three patches from upstream after update to dependency fmt 1.10 broke test in daily_file_sink #2735
* patch 0ca574ae168820da0268b3ec7607ca7b33024d05.patch add support for a changed symbol in fmt 1.10.0
* patch v1.11.0_removed_brackets_for_fmt_10.diff removes duplicate brackets from unit tests
* patch tt4g-fix-2735.diff solves the failing tests due to a now redundant workaround
OBS-URL: https://build.opensuse.org/request/show/1088053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=27
* patch 0ca574ae168820da0268b3ec7607ca7b33024d05.patch add support for a changed symbol in fmt 1.10.0
* patch v1.11.0_removed_brackets_for_fmt_10.diff removes duplicate brackets from unit tests
* patch tt4g-fix-2735.diff solves the failing tests due to a now redundant workaround
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=81