a518636407Accepting request 1285923 from devel:libraries:c_c++Ana Guerrero2025-06-17 16:20:13 +00:00
c60448733d- Updated spdlog to 1.15.3 - Release notes 1.15.3: * Bumped bundled {fmt} library to 11.2.0 by @gabime in #3399 * Fixed incorrect behavior in dup_filter_sink when reporting skipped messages by @SleepingSoul in #3390 * Fixed MSVC C4530 warning when exceptions are disabled by @roeas in #3393 * Added support for modifying max-size and max-files in rotating_file_sink after creation by @gabime in #3397 * Added spdlog::register_or_replace(new_logger) to safely replace existing loggers in the registry by @gabime in #3398 * Fixed broken links to the wiki and local references by @cgringmuth in #3377 and #3378, and by @non-descriptive in #3381 - Release notes 1.15.2: * Upgraded bundled {fmt} to version 11.1.4 (faa0a7a) * Fixed#3360, discovered by OSS-Fuzz regarding the %D format flag, in #3361 * Fixed#3352: %z (UTC offset) on Apple and POSIX.1-2024-conforming platforms by @toh-ableton in #3366 * Updated README with ALT Linux installation instructions by @lubyagin in #3338
Bernd Ritter
2025-06-15 18:45:27 +00:00
84091548ddAccepting request 1242938 from devel:libraries:c_c++Ana Guerrero2025-02-04 17:10:50 +00:00
5a87c30ab6- Removed Patch 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch as it is included in 1.15.1.
Bernd Ritter
2025-02-02 15:35:09 +00:00
68567892bd- Updated spdlog to 1.15.1 - Release notes 1.15.1: * Update bundled fmt version to 11.1.3 by @gabime in #3332 * Use fwrite_unlocked() if available by @gabime in #3276 and #3318 * On-demand truncation for basic file sinks by @matteodelseppia in #3280 * Allow manual rotation of rotating_file_sink by @hjs-ast in #3269 * Make null_sink final by @gabime in #3267 * Fix: Add explicit fmt:: and std:: to avoid ambiguous calls by @LiAuTraver in #3259 * Fix: Pass /utf-8 only when the compiler is MSVC by @miyanyan in #3260 * Fix: Support bin_to_hex() when using std::format by @koniarik in #3315 * Support custom environment variables for load_env_levels by @ken-matsui in #3327 * Fix: Added a lock to rotate_now() by @matteodelseppia in #3281 * Fix: Update to_string_view function for fmt 11.1 by @chenrui333 in #3301 * Fix: Remove unused to_string_view overload in fmt >= 11.1 by @jdrouhard in #3314 * Fix: Use string_view_literals to resolve issues #3287 and #3233 by @yalov in #3291 * Fix: Added a lock to set_color_mode(..) in ansicolor_sink by @gabime in #3323 * Fix: Corrected comment in daily_file_sink by @F1F88 in #3249 * Fix: Compatibility with fmtlib 11.1.1 by @yachoor in #3331
Bernd Ritter
2025-02-01 14:43:24 +00:00
90a1c8f071Accepting request 1233567 from devel:libraries:c_c++Ana Guerrero2024-12-29 10:55:42 +00:00
c4d558650f- Add 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch to cope with fmt 11.1
Bernd Ritter
2024-12-27 14:15:28 +00:00
845919e0fcAccepting request 1225648 from devel:libraries:c_c++Ana Guerrero2024-11-22 22:50:40 +00:00
3cf1b68832- Updated spdlog to 1.15.0 - Release notes 1.15.0: * Update bundled fmt to 11.0.2 by @gabime in #3236 * Add wide character formatting and output support to console in wincolor_sink. by @DominikGrabiec in #3092 * Allow customization of syslog_sink by @Silex in #3124 * make example compatible with fmt 11 by @ziyao233 in #3130 * Fix building with FMT_ENFORCE_COMPILE_STRING by @AJIOB in #3137 * fix: set /Zc:__cplusplus and /MP to MSVC only by @zjyhjqs in #3139 * V1.x : fixed "suggest override" errors for gcc 8.5 and gcc 9.1 by @esmirno in #3158 * Add info about max_files in the docstrings of hourly/daily file sinks by @themightyoarfish in #3170 * use std::lock_guard instead of std::unique_lock by @wsehjk in #3179 * fix/issue-3101: fix the issue where mdc ignores SPDLOG_NO_TLS by @Allen-20180115 in #3184 * Update mdc.h error message by @gabime in #3185 * [docs] Update conan install command in README by @uilianries in #3172 * Update CMakeLists.txt, Fix spelling errors by @zgzhengSEU in #3193 * Fix warning - extra ';' for -Wextra-semi by @hydai in #3198 * Improve Cross-Platform Build Instructions in Documentation by @Mq-b in #3229 * Exchange promise for condition_variable when flushing (fixes#3221) by @Oipo in #3228 * Ensure flush callback gets called in move-assign operator by @Oipo in #3232 * Make flush async again in async logger to prevent crashes and hangs by @gabime in #3235 * Update README.md by @gabime in #3240 * utf8_to_wstrbuf now handles invalid utf8 sequences by @captainurist in #3244 and #3245 * Added tsan option to CMake and CI by @gabime in #3237 and #3247 /pull/3244
Bernd Ritter
2024-11-21 19:52:08 +00:00
078a80e61cAccepting request 1187333 from devel:libraries:c_c++Ana Guerrero2024-07-19 13:24:59 +00:00
1d27cda559- added rpm group
Bernd Ritter
2024-07-13 18:36:47 +00:00
e8d4f5242c- update spec to fix build failure. Option is called SPDLOG_BUILD_EXAMPLE, and has to be turned off, to avoid upstream issue with libfmt (see https://github.com/gabime/spdlog/issues/3129).
Bernd Ritter
2024-07-13 12:39:14 +00:00
94fade49a4Accepting request 1179915 from devel:libraries:c_c++Ana Guerrero2024-06-11 16:27:05 +00:00
35c2a71937- fix build for leap by pulling gcc 13 - update fmt dependency to verrsion 10.0Dirk Mueller2024-06-11 07:48:06 +00:00
463bc2769eAccepting request 1173209 from devel:libraries:c_c++Ana Guerrero2024-05-12 20:52:37 +00:00
fe716ef200- Update spdlog to 1.14.1 - Release nots 1.14.1: * Fixed compatibility issue between c++17 and c++11 (#3081). * Fixed creating folders under windows when full path with drive letter is given (#3079). * Added mdc sample. Note: mdc is not supported in async loggers.
Bernd Ritter
2024-05-01 19:00:41 +00:00
9b32d083f2Accepting request 1170249 from devel:libraries:c_c++Ana Guerrero2024-04-26 21:26:37 +00:00
90564fba53- 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
Bernd Ritter
2024-04-26 06:19:52 +00:00
2bb31b491dAccepting request 1139007 from devel:libraries:c_c++Ana Guerrero2024-01-17 21:14:24 +00:00
0f5c26f806Accepting request 1138775 from home:dimstar:Factory
Bernd Ritter
2024-01-15 18:16:33 +00:00
c06c6f5c6d- Update spdlog to 1.13.0 - 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.
Bernd Ritter
2024-01-12 12:27:56 +00:00
07ce18bf45Accepting request 1135772 from home:jengelh:branches:devel:libraries:c_c++
Bernd Ritter
2024-01-02 09:34:36 +00:00
7d221c63f1Accepting request 1135257 from devel:libraries:c_c++Ana Guerrero2023-12-28 21:54:35 +00:00
7319bccc04Accepting request 1133041 from home:jengelh:branches:devel:libraries:c_c++
Bernd Ritter
2023-12-27 09:51:09 +00:00
543cb7dc8cAccepting request 1126931 from devel:libraries:c_c++Ana Guerrero2023-11-17 19:49:05 +00:00
ba6ed2bb98- 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.Dirk Mueller2023-11-16 14:49:21 +00:00
3e96ed7324Accepting request 1126873 from home:jsrain:branches:devel:libraries:c_c++Dirk Mueller2023-11-16 14:48:25 +00:00
f00378c117- Update to version 1.12.0 * 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.
Bernd Ritter
2023-07-09 12:05:27 +00:00
2b9d191789- 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
Bernd Ritter
2023-05-20 13:07:22 +00:00
21ff8d1527- Applied three patches from upstream after update to dependency fmt 1.10 broke test in daily_file_sink #2735
Bernd Ritter
2023-05-20 12:57:15 +00:00
4ad51c1a8eadded fix for issue 2735
Bernd Ritter
2023-05-17 18:58:05 +00:00
7c2cdd285cReferred to patch v1.11.0_removed_brackets_for_fmt_10.diff to fix tests for FMT 10
Bernd Ritter
2023-05-16 05:41:46 +00:00
4a1ea28635- Patch for boo#1199306 in upstream spdlog until new release is available.
Bernd Ritter
2022-10-20 20:01:29 +00:00
08442434ab- Release is managed by OSB
Bernd Ritter
2022-10-20 19:12:26 +00:00
66b183418b- Change on build spec * Limiting build choices on catch2-dependency to catch2 2.13.4 and lower than (new) 3
Bernd Ritter
2022-10-19 21:18:17 +00:00
587d221d9dRemoved build dependency benchmark-devel because it is not builded with anyway.
Bernd Ritter
2022-05-01 20:45:47 +00:00
4498d1ca92* Removed spdlog-1.9.1-use_system_catch2.patch, as it is no longer necessary (after consultation with Luigi Baldoni on this issue).
Bernd Ritter
2022-05-01 20:30:15 +00:00
2dbe712738- Update to version 1.10.0 * Bump fmt to version 8.1.1. * Added file event handlers. * Fixed rotating file sink: when disk is full log rotation resulted zero size log files. * Added new udp_sink. * Improved file name for hourly file sink. * Added code location information for error handler. * Fixed qt_sinks ctor. * List Debian instructions in the README. * Updated to latest Travis CI Build Status. * Fixed unhandled errors in udp sink. * CMake improvement regarding cmake_minimum_required and policy. * Fixed mongo_sink compile in older gcc versions. * Remove mutable keyword from mutex_ member in of sinks. * Fix typos. * Fixed udp sink build on FreeBSD * Avoid c-style casting in stdout sinks. * Fixed tweakme.h compile error under msvcs when SPDLOG_FUNCTION is defined #2182. Thanks @Light3039 . * Fixed compiling errors on AIX #2181. Thanks @lisr . * Fixed runtime when build with -fsanitize=cfi #1972. Thanks @bansan85 . * Remove extraneous semicolon #2190. Thanks @sylveon. * Added example how to replace default logger. * Fixed usage of ranges and to_hex in the same compile unit. * Reduce warnings with pedantic compiler -Wuseless-cast. * Support using std::span in to_hex. * Reset current size if rotated files on open #2234. * Allow forward-declaration of level_enum. * Call localtime() only if pattern_formatter really needs it. * Removed unneeded spaces from code. * Added a few missing files/directories to the gitignore.
Bernd Ritter
2022-04-18 19:48:34 +00:00