SHA256
1
0
forked from pool/spdlog
Commit Graph

57 Commits

Author SHA256 Message Date
Bernd Ritter
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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=98
2024-04-26 06:19:52 +00:00
Bernd Ritter
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.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=94
2024-01-12 12:27:56 +00:00
Bernd Ritter
07ce18bf45 Accepting request 1135772 from home:jengelh:branches:devel:libraries:c_c++
- Update symbol versioning pattern to actually match symbols

OBS-URL: https://build.opensuse.org/request/show/1135772
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=92
2024-01-02 09:34:36 +00:00
Bernd Ritter
7319bccc04 Accepting request 1133041 from home:jengelh:branches:devel:libraries:c_c++
- Add some symbol versions to ease rebuilds and transition on
  user systems when fmt changes [boo#1217820]

OBS-URL: https://build.opensuse.org/request/show/1133041
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=90
2023-12-27 09:51:09 +00:00
Dominique Leuenberger
02947f91dd Accepting request 1101996 from home:dimstar:Factory
- Add 2827.patch: Added missing square bracket to fix the
  level_to_string_view.

OBS-URL: https://build.opensuse.org/request/show/1101996
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=85
2023-08-07 09:06:48 +00:00
Bernd Ritter
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.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=83
2023-07-09 12:05:27 +00:00
Bernd Ritter
4ad51c1a8e added fix for issue 2735
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=79
2023-05-17 18:58:05 +00:00
Bernd Ritter
7c2cdd285c Referred to patch v1.11.0_removed_brackets_for_fmt_10.diff to fix tests for FMT 10
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=78
2023-05-16 05:41:46 +00:00
Bernd Ritter
2867271255 Added the upstream patch for non bundled fmt.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=76
2023-05-12 07:08:46 +00:00
Bernd Ritter
caf0b5ff53 - Update to version 1.11.0
* Update to fmt lib version 9.1.0 #2346, #2485, #2512, #2517 . Thanks @sylveon, @YunchengLiu, @tt4g, @tycho and @vitaut
  * Fix template instantiation warning #2336 . Thanks @aengusjiang
  * Event handlers improvements #2342, #2375 . Thanks @espkk and @kslattery
  * Allow modifying the used Android buffer ID #2358. Thanks @tiolan
  * Fix clone in async test #2364. Thanks @stkw0
  * Custom formatter optimization #2365. Thanks @conr2d
  * Fix C++14 builds for gcc 4.x (#2333) #2372 . Thanks @kslattery
  * Add minor version to CMake's SOVERSION #2376
  * Allow compilation with FMT_ENFORCE_COMPILE_STRING #2381. Thanks @john4744
  * Fix pkg-config generation #2383. Thanks @alexshpilkin
  * Remove unused code from null_mutex #2385. Thanks @panzhongxian
  * Fix redundant std::move #2396. Thanks @polesapart
  * Remove the empty file if in first period in hourly logger #2386. Thanks @panzhongxian
  * Add reset_overrun_counter() function to the async logging #2399 Thanks @bergen4
  * Set C++20 in CMake when SPDLOG_USE_STD_FORMAT option is turned on #2402. Thanks @cookcocck
  * Fix mingw test #2415. Thanks @neheb
  * Support for any std::chrono::duration type in flush_every(..) #2439. Thanks @LucasChollet
  * Fix implicit casting of level_enum #2443. Thanks @ibmibmibm
  * Comment fix #2445. Thanks @Hish15
  * Fix gcc 4.x build #2449. Thanks @Simon-Janos
  * Add openSUSE installation instructions #2468. Thanks @LorenDB
  * Fixed missing include file in stopwatch.h #2434. Thanks @fabianbuettner
  * Support for omitting source info by defining SPDLOG_NO_SOURCE_LOC #2476. Thanks @nigels-com
  * Added SPDLOG_BUILD_PIC build option to CMake #2475. Thanks @nigels-com
  * Fix include windows.h #2495. Thanks @panicgh
  * Workaround gcc 12 warnings #2498, #2499 . Thanks @offa
  * Migrate to Github Actions CI #2500. Thanks @offa
  * Replace iterator difference with std::distance #2509 Thanks @kin4stat
  * Export targets file to build directory at configure time #2514, #2515. Thanks @puneetmatharu

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=74
2022-11-02 22:55:52 +00:00
Bernd Ritter
7d37a6e18c Accepting request 1030966 from home:jengelh:branches:devel:libraries:c_c++
clean the nondescript changelog, put some more descriptive
entries (for the purposes of Factory submission)

OBS-URL: https://build.opensuse.org/request/show/1030966
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=72
2022-10-24 22:09:49 +00:00
Bernd Ritter
10e3678c0a Accepting request 1030963 from home:jengelh:branches:devel:libraries:c_c++
fix build failure

OBS-URL: https://build.opensuse.org/request/show/1030963
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=71
2022-10-24 21:55:53 +00:00
Bernd Ritter
be982b2aec - another sover approach
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=70
2022-10-24 21:39:59 +00:00
Bernd Ritter
477770278e - another package
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=69
2022-10-24 21:13:53 +00:00
Bernd Ritter
52615835d4 - version instead of sover
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=68
2022-10-24 21:07:58 +00:00
Bernd Ritter
e80d984e76 - tests with sover
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=67
2022-10-24 20:56:29 +00:00
Bernd Ritter
10fc51b7f1 - reverted changes to sover...
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=66
2022-10-20 21:02:32 +00:00
Bernd Ritter
475d8e8ea7 - trying around with sover and version and stuff
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=65
2022-10-20 20:57:47 +00:00
Bernd Ritter
639afb29fe - libname changed due to different sover
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=64
2022-10-20 20:49:44 +00:00
Bernd Ritter
952e15b058 - Trying a different sover
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=63
2022-10-20 20:40:45 +00:00
Bernd Ritter
dbe3f934e6 - Changing sover
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=62
2022-10-20 20:30:10 +00:00
Bernd Ritter
4a1ea28635 - Patch for boo#1199306 in upstream spdlog until new release is available.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=60
2022-10-20 20:01:29 +00:00
Bernd Ritter
08442434ab - Release is managed by OSB
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=59
2022-10-20 19:12:26 +00:00
Bernd Ritter
66b183418b - Change on build spec
* Limiting build choices on catch2-dependency to catch2 2.13.4 and lower than (new) 3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=58
2022-10-19 21:18:17 +00:00
Bernd Ritter
587d221d9d Removed build dependency benchmark-devel because it is not builded with anyway.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=56
2022-05-01 20:45:47 +00:00
Bernd Ritter
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.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=52
2022-04-18 19:48:34 +00:00
a81f740f6c Accepting request 928821 from home:VortexAcherontic:branches:games:tools
- Added baselibs.conf for bi-arch support

I did this change because of an upcoming version of MangoHud (possibly 0.6.6) which will introduce libspdlog1 as a new dependency.

Since MangoHud supports bi-arch distribution this requirement must also be met by all of it's dependencies.
This way some can use MangoHud on 32bit applications running on a 64bit OS without switching the package architecture beforehand.

Because bi-arch was not supported by this library I added it hereby. :)

Kind regards,

Imo

OBS-URL: https://build.opensuse.org/request/show/928821
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=51
2021-11-02 16:30:28 +00:00
b3fb4e060e Accepting request 911918 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.9.2
  * Fixed clang compiler errors when using spdlog in c++20.
  * Fixed the Qt sinks to accurately trim the newline chars.
  * Improved and simplified Qt sinks implementation.
  * Fixed macro SPDLOG_LEVEL_NAME_xxx to always translate to the
    spdlog namespace.
  * Fixed typo in readme.
  * Fixed the MongoDB sink compilation in c++11.
  * Fixed double include of same file in thread_pool.h .
  * Ensure that the CMake exported package is relocatable.
  * Remove std::distance usage for possible performance gain.
  * Support of inclusion of bin_to_hex.h in any order with
    spdlog.h.
  * Fixed install instructions for "header only" dir.

OBS-URL: https://build.opensuse.org/request/show/911918
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=50
2021-08-13 06:30:47 +00:00
d8ecaede85 Accepting request 910459 from home:alois:branches:devel:libraries:c_c++
- Add spdlog-1.9.1-use_system_catch2.patch (fixes boo#1189103)

OBS-URL: https://build.opensuse.org/request/show/910459
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=49
2021-08-06 09:47:47 +00:00
345b79765e Accepting request 908611 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.9.1
  * Support for {fmt}'s compile time validation of format strings.
  * In C++14/17 - format string can be validated at compile time
    using FMT_STRING.
  * Fixed compilation error in Clang 13 with C++20.

OBS-URL: https://build.opensuse.org/request/show/908611
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=48
2021-07-27 13:35:32 +00:00
fe4c1a6ca2 Accepting request 907416 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.9.0
  What's new:
  * Support for {fmt} lib version 8.x.
  * New MongoDB sink.
  * New QTextEdit and QPlainTextEdit sinks.
  Fixes and Improvements:
  * Made mutex member variable mutable.
  * Changed c-style casts to reinterpret casts in tcp_client.
  * Rethrnow non std exceptions.
  * Small code improvement (std::find).
  * Added support for CMake policy CMP0077.
  * Allow compilation with nvc++ (and possibly PGI).
  * Fixed C++20 build resulting in deprecated implicit copy
    assignment operator warning.
  * Use std::function for the global error handler.
  * Fixed dup sink compile warnings in older compilers with
    back_inserter.
  * Added a color-terminal type to the color terminals list - to
    show colors in in RISC-V64 machines.
- Drop spdlog-1.8.5-fmt8.patch and spdlog-1.8.5-fmt8_tests.patch
  (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/907416
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=47
2021-07-21 06:45:15 +00:00
a32c179496 Accepting request 902202 from home:alois:branches:devel:libraries:c_c++
- Add spdlog-1.8.5-fmt8.patch and spdlog-1.8.5-fmt8_tests.patch
  to fix compatibility with fmt 8

OBS-URL: https://build.opensuse.org/request/show/902202
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=46
2021-06-24 18:45:19 +00:00
18d7f7e4e3 Accepting request 881380 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.8.5
  * Fix compiling with C++17: remove constexpr on
    level_string_views.

OBS-URL: https://build.opensuse.org/request/show/881380
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=44
2021-03-25 19:49:03 +00:00
5d819b4537 Accepting request 881376 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.8.4
  * Remove version requirement from find_package when searching
    external fmt.

OBS-URL: https://build.opensuse.org/request/show/881376
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=43
2021-03-25 19:13:07 +00:00
76207cc3b2 Accepting request 881222 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.8.3
  * New hourly file sink . Creates new file every hour. Can be
    limited to retain only the last N files.
  * New daily sink filename custom formatting. Users now can
    pass custom strftime pattern to the log filename. For
     example: daily_logger_format_mt.
  * Add SPDLOG_DISABLE_DEFAULT_LOGGER as a CMake option.
  * Improve color terminal detection.
  * Ensure SPDLOG_FMT_EXTERNAL is honored in the bench program.
  * Skip CMake module mode when finding fmt.
  * Open files with "ab" mode even if truncating to better
    support logrotate.
  * Fix compiling error and typo in hourly file sink.
  * Add constexpr to SPDLOG_LEVEL_NAMES declaration.
  * Initializer list style consistency.
  * Fix call to non-constexpr function.
  * Better numeric_limits<>::max/min fix when
    SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined.
  * Simplified wincolor sink code and intensify the red and
    yellow colors.
  * Set default value to registry::err_handler_ to resolve
    Klocwork warning.
  * Formatter bench: Fix compilation by avoiding function name
    decay mechanics.
  * Fix warning whe the compilation flag -Wswitch-default is
    present.

OBS-URL: https://build.opensuse.org/request/show/881222
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=42
2021-03-24 22:24:03 +00:00
4fe7617789 Accepting request 854941 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.8.2
  * Perfect forwarding fmt arguments.
  * Fix dup_filter_sink to log current log call's level, instead
    of the filtered log call's level.
  * Ability to get size of messages queue of async thread pool.
  * Add missing include.
  * Updated bin_to_hex example in the readme.
  * Fix async periodic flush test.

OBS-URL: https://build.opensuse.org/request/show/854941
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=40
2020-12-11 15:50:39 +00:00
71ea838a8b Accepting request 838946 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.8.1
  * Fixed load_env_levels() and load_argv_levels()
  * Fixed stopwatch's clock to use chrono::steady_clock
  * Added support for Rcpp (R cpp compiler)

OBS-URL: https://build.opensuse.org/request/show/838946
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=38
2020-10-01 10:15:52 +00:00
a8da68c0f9 Accepting request 831112 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.8.0
  * Bumped bundled fmt version to 7.0.3.
  * New stopwatch utility for quick & easy logging of elapsed
    time.
  * Raised CMake requirement to 3.10 and cleanup CMakeLists.txt.
  * Added get_level() and should_log() functions to the
    spdlog:: namespace.
  * Fixed cfg::load_env_levels() function declaration.
  * Fixed broken aligned function pattern flag.

OBS-URL: https://build.opensuse.org/request/show/831112
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=36
2020-09-01 12:44:09 +00:00
dbab2fe238 Accepting request 819805 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.7.0
  * Support fmt version 7.x.
  * Fixed to_hex segmentation fault
  * Support for FMT_STRING compile time checking. 
  * Clean CMakeLists.txt.
- Drop spdlog-1.6.1-fmt7_build.patch and
  spdlog-1.6.1-fmt7_tests.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/819805
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=34
2020-07-09 20:20:17 +00:00
37c2f607e8 Accepting request 819520 from home:alois:branches:devel:libraries:c_c++
- Add spdlog-1.6.1-fmt7_build.patch and
  spdlog-1.6.1-fmt7_tests.patch to fix build with fmt 7.x

OBS-URL: https://build.opensuse.org/request/show/819520
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=33
2020-07-08 16:40:04 +00:00
3906ca7bda Accepting request 809184 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.6.1
  * Fixed deadlock in daily_file_sink that happened while
    cleaning older files.
  * Fixed ringbuffer_sink::last_raw() and
    ringbuffer_sink::last_formatted() that didn't return latest
    elements.

OBS-URL: https://build.opensuse.org/request/show/809184
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=31
2020-05-27 07:42:12 +00:00
f992846733 Accepting request 805860 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.6.0
  What's new:
  * Load log levels from environment variable SPDLOG_LEVEL
  * New windows eventlog sink.
  * New tcp sink that sends log messages in tcp to a remote
    server.
  * Extend spdlog with your own flags in the log pattern. See
    wiki for details.
  * Bump the bundled fmt version to 6.2.0 .
  Fixes and improvements:
  * Prevent race condition when SPDLOG_PREVENT_CHILD_FD is
    defined.
  * Fix race condition in the filename() function in the file
    sinks.
  * Fix ansicolor_sink::set_color(..) - can cause memory
    violation if user provides a custom color code that points to
    stack memory.
  * Optimize cases when string_view is passed to the logger to
    avoid unnecessary fmt::format.
  * Support for max files in daily logger.
  * Fix deprecated warning with C++14 and external fmt lib.
  * Optimize colos sinks to use std::array instead of map to
    find color codes.
  * Fix potential buffer overflow in color_sinks when one of
    them has a pattern without colors.
  * Don't include windows.h in common.h.
  * Resolve erroneous clang-tidy warning about using a moved
    from pointer.
  * Fixed numerous clang-tidy warnings.
  * Added options to to_hex to output hex like hexdump.
  * Removed the 'SPDLOG_NO_NAME` macro in tweakme.h and cmake.
  * Added a forward declaration header spdlog\fwd.h .
  * Moved throw to dedicated function to optimize compile-time
    and runtime-performance.
  * Fix a build issue when SPDLOG_PREVENT_CHILD_FD is defined.
  * Fix issue with using external fmt.
  * Minor performance optimizations in pattern formatter.
  * Add log function to the logger API to allow logging with
    custom timepoint.
  * Removed meson support.
  * Fix typos and tabs in the code.
  * CMake: Fix GNUInstallDirs include location.
  * CMake: workaround for Unknown extension ".c" for file issue.
  * CMake: Disabled extra warnings generation by default. Use
    SPDLOG_BUILD_WARNINGS=ON to enable again.
  * CMake: Support for precompiled headers with
    SPDLOG_ENABLE_PCH flag.
  * CMake: Set minimum version of fmt to 5.3.0.
  * CMake: Fix tabs, whitespaces and eol.
  * Tests: removed duplicate entry for count_lines().
  * Tests: don't run spdlog-utests and spdlog-utests-ho in
    parallel.
  * Tests: Enable running the tests against an installed copy of
    spdlog.
  * Tests: Support empty SPDLOG_EOL.

OBS-URL: https://build.opensuse.org/request/show/805860
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=30
2020-05-15 14:17:17 +00:00
99acca2a42 Accepting request 764128 from home:alois:branches:devel:libraries:c_c++
Update to 1.5.0

OBS-URL: https://build.opensuse.org/request/show/764128
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=28
2020-01-13 20:23:04 +00:00
7e4a4bf82c Accepting request 754135 from home:alois:branches:devel:libraries:c_c++
fix build with fmt 6.1.0

OBS-URL: https://build.opensuse.org/request/show/754135
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=26
2019-12-04 20:53:08 +00:00
722c77b1c2 Accepting request 752439 from home:alois:branches:devel:libraries:c_c++
update to 1.4.2

OBS-URL: https://build.opensuse.org/request/show/752439
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=24
2019-11-29 15:27:30 +00:00
1cdc02dc13 Accepting request 705726 from home:Dead_Mozay:matrix
- Added additional building options

OBS-URL: https://build.opensuse.org/request/show/705726
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=22
2019-05-28 05:16:20 +00:00
f36e617389 Accepting request 694804 from home:alois
Fixed build on targets where gcc8 is availabl

OBS-URL: https://build.opensuse.org/request/show/694804
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=20
2019-04-16 14:00:04 +00:00
e34ee06eb2 Accepting request 677102 from home:alois:branches:devel:libraries:c_c++
- Update to version 1.3.1
  * Fix google benchmark link error when compiling the
    bechmarks. Thanks @myd7349 (#961, f4c737e)
  * Fix spdlog not printing message if SPDLOG_NO_THREAD_ID is
    defined. Thanks @scribam (#970, f4c737e)
  * Fix depending on the order of inclusion of spdlog.h. Thanks
    @gocarlos (#959, 23fdc0e)
  Version 1.3.0
  Improvements:
  * Upgraded to the latest and greatest fmt library version
    5.3.0.
  * New API for default logger spdlog::trace(..),
    spdlog::debug(..), spdlog::info(..), etc.
    For convenience, spdlog now creates a default global logger
    (to stdout, colored and multithreaded).
    It can be used easily by calling spdlog::info(..),
    spdlog::debug(..), etc directly without any preparations.
    Its instance can be replaced to any other logger
    (shared_ptr):
      spdlog::set_default_logger(some_other_logger);
      spdlog::info("Use the new default logger");
  * Alignment support in log patterns.
    Each pattern flag can be aligned by prepending a width
    number(upto 128).
    Use-(left align) or = (center align) to control the align
    side:
      align            meaning               example result
      %<width><flag>   Align to the right    %8l     "    info"
      %-<width><flag>  Align to the left     %-8l    "info    "
      %=<width><flag>  Align to the center   %=8l    "  info  "
  * Support for logging source filename, line number, and
    function name (thanks @possiblyhuman for contributing to this
    effort)
    flag  meaning                                  example
    %@    Source file and line (use
          SPDLOG_TRACE(..),SPDLOG_INFO(...) etc.)  my_file.cpp:123
    %s    Source file (use SPDLOG_TRACE(..),
          SPDLOG_INFO(...) etc.)                   my_file.cpp
    %#    Source line (use SPDLOG_TRACE(..),
          SPDLOG_INFO(...) etc.)                   123
    %!    Source function (use SPDLOG_TRACE(..),
          SPDLOG_INFO(...) etc. see tweakme for
          pretty-print)                            my_func
  * Support for compile time check of log levels using
    #define SPDLOG_ACTIVE_LEVEL <level>.
    Use LOG_TRACE(..), LOG_DEBUG(..), LOG_INFO(..), etc. to
    enable.
    Those macros check at compile time the log level and
    translate to empty statement if the log level is not high
    enough. Even if a log macro evaluate to a log call, the
    macro will check at runtime the level before evaluating
    its arguments.
    So for example the following won't evaluate
    some_costly_function() because the logger's level is error:
      #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
      #include "spdlog/spdlog.h"
       ..
       spdlog::set_level(error);
       SPDLOG_DEBUG("Some costly arg: {}",
        some_costly_function());
  * CMake improvements. Thanks @dpacbach (85b4d7c, f5dc166 ).
  * Numerous small performance optimizations.
  * Global option that disables global registration of loggers
    set_automatic_registration(bool). Thanks @pabloariasal
    (#892).
  * Optimize logging of C strings by using string_view to avoid
    unnecessary copy. Thanks @peergynt (cb71fea).
  * Use google benchmark to test latencies.
  Fixes:
  * logger::error_handler() should be const (#881, thanks
    @shoreadmin for reporting)
  * Cleanup header file: remove log_msg.h include from
    fmt_helper.h. Thanks @peergynt (1b391cc)
  * Fix log_msg constructor doesn't initialize all fields (#888.
    Thanks @curiouserrandy for reporting).
  * Change log_msg&& to log_msg& params. Thanks @rwen2012
    (794a636)
  * Fix typo in Android example. Thanks @ZaMaZaN4iK (f5a2725)
  * Fix Compiling error VS2017 #902 (Thanks @JaNurz for
    reporting).
  * Fix thread id is prefixed with zeros #908 (Thanks
    @klrakiranpradeep for reporting).
  * Fix and optimize usage of fmt::internal::count_digits(..)
    for better support 32/64 bits. Thanks @DanielChabrowski
    (c7f42d1, f1ab6fe).
  * Better handling of rotation errors (b64e446).
  * Do not attempt to default operator= when it is implicitly
    deleted. Thanks @dpacbach (63a475d).
  * Make an implicit cast from int --> uint32_t explicit. Thanks
    @dpacbach (a6152eb).
  * Enable testing in the Travis config file. Thanks @dpacbach
    (f5dc166).
  * Fix the text alignment in the example. Thanks @bzindovic
    (d6086da4856df510657ffe4ef6b894e902b4b83).
  * Fix typos. Thanks @peergynt (ce8cf1e).
  * Fix handling of external fmt lib in cmake. Thanks @cneumann
    (084bc72).
  * Fix typo in file_helper.h. Thanks @brridder (fb702f9).
- Use system fmt library
- Update to version 1.2.1:
  * Fix a compilation error of dist_sink.h
- Update to version 1.2.1
  * This fixes a compilation error of dist_sink.h (#864) .
    Thanks @DimRochette !
  Version 1.2.0
  Improvements:
  * Upgraded to latest fmt version 5.2.1.
  * Binary data logging using spdlog::to_hex(binary_data). Many
    types of std::container<char> can be logged in hex. See usage
    examples.
  * Added logger->clone() to ease the creation of new loggers
    from an existing one.
  * Numerous micro optimizations across the lib.
  * Added set_sinks method to dist_sink for atomic updating set
    of sinks in dist_sink. Thanks @jwnimmer-tri .
  * Improved CmakeLists.txt to better handle third-party usage.
    Thanks @taketwo .
  Fixes:
  * Fixed wchar logging (supported only in windows. #851 , #764).
  * Fixed registry test. Thanks @DanielChabrowski .
  * Removed invalid files from tests.sln. Thanks @yhchen .
  * Some fixes to console_globals.h includes. Thanks
    @DanielChabrowski
  * Don't deny access to log files from other processes under
    windows. Thanks @eruiz.
  * Pessimizing move remove. Thanks @maciekgajewski
  * ansicolor_sink.h - add missing sink include. Thanks
    @AlexanderDalshov .
  * Improved rotating sink error handling.
  * Fixed Readme. Thanks @blackball .
  * Fixed some clang tidy warnings.
- Update to version 1.1.0:
  * Bug fixes:
    + Fixed race condition in async-factory.
    + Fixed bug in spdlog_ex implementation.
    + Fixed race condition in the unit tests.
  * Improvements:
    + Some micro optimizations.
    + Improve and fix CMake issues.
    + Added overrun_counter() to the async thread pool queue
    + Fixed some clang tidy warnings.
- Cleanup spec file from clutter
- Update to version 1.0.0
- Highlights
  * Include what you need: Reduce compilation times by including
    only the minimum required. Users can now to include only
    the actual sinks/features they need from spdlog/sinks folder.
  * Upgrade to fmt lib version 5.1
  * Support for custom formatting per sink - each sink can have
    it's own formatting and level using sink->set_pattern(..) or
    sink->set_formatter(..).
  * async logging - thread pool - async loggers now share a global
    thread pool by default.
  * periodic flusher: spdlog::flush_every(seconds) to periodically
    flush all registered loggers.
  * Improved performance - by caching some recently used values in
    the pattern formatter.
  * Ability to add sinks to a logger after its creation 
    (but it is not thread safe to do so - so use with caution).
- Breaking changes
  * Include what you need. For example to use basic_logger add
    #include "spdlog/sinks/basic_file_sink.h"
  * To use async loggers - include "spdlog/async.h"
  * Replaced set_async_mode(..) with factory template. 
  * Removed printf support.
  * Removed warmup/teardown functions from async.
  * Custom sinks inheriting from sinks::base_sink need to format
    (if needed) the message before sending to their target.
  * Added clone() virtual function to the formatter interface.
  * Removed support for #define SPDLOG_NO_REGISTRY_MUTEX
- Remove excess hyping from description.
- run unit tests in the %check target
- install LICENSE as a %license, not a %doc
- Update to version 0.16.3
  * Fix sleep issue (#609) under MSVC that happens when changing
    the clock backwards (pull #610) - Thanks @joaomoreno
  * Ensure that marcos always expand to expressions (pull #604) -
    Thanks @sam-lunt
  * Add global flush_on function (pull #605) - Thanks @sam-lunt
  * Fix conversion warning (#595, pull #596) - Thanks @Broekman
  version 0.16.2
  * Fixed a bug in extracting log files extension (#589) - Thanks
    @fcharlie
  version 0.16.1
  * Fixed the version strings to 0.16.1 in spdlog.h and
    CMakeLists.txt
  * Fixed compiler warning in tests - Thanks @horar
  version 0.16.0
  * Rotating and daily log files keep their extension (e.g
    "mylog.3.txt" and not "mylog.txt.3")
  * Optional support for printf formatting (enabled using #define
    SPDLOG_FMT_PRINTF) - Thanks @fogo
  * Async log: increased sleep to to 500ms the worker in loop
    when the queue is empty
  * Fixed thread safety bug in flush() - added lock on flush in
    base_sink
  * Breaking change: Removed all *_if functions (trace_if,
    debug_if, info_if,..) because they are redundant and
    confusing way to preform simple if
  * Swallow only std::exceptions. report about, and re-throw
    other, unexpected exception types.
  * Support msvc_sink on all windows compiler (windebug-sink) -
    Thanks @jpcima
  * Added facilty param for syslog - Thanks @adubovikov
  * correct include path for sink/syslog_sink.h - Thanks @jpcima
  * Fix include paths - Thanks @daylanKifky
  * Some fixes in the async queue size estimation - Thanks
    @Subenle
  * Fixed cygwin support
  * Adding additional build environments for AppVeyor- Thanks
    @rkollataj
  * Fix warnings which are caused by C style cast - Thanks
    @knowledge4igor
  * Make short month names match in length - Thanks @berkus
  * Fix typos in code and comments - Thanks @berkus
  * Fixed missing i_formatter implementation
  * Fix SPDLOG_WCHAR_TO_UTF8_SUPPORT wchar_t logging - Thanks
    @hestad
  * Added formatter for unix epoch time in seconds (%E format
    flag) - Thanks @jasonbeach
  * Compiler-dependent line numbering in SPDLOG_TRACE - Thanks
    @elelel
  * Improved cmake and CMakeLists.txt - Thanks @mrpelotazo and
    @Lectem
  version 0.14.0
  * Upgraded the bundled fmt lib to version 4.0.0
  * Fixed crash in async logger in older gcc version 4.8.5
    (268222e).
  * Fixed various sanitizer warnings.
  * Improved Android support (#422, #427).
  * Add an optional final qualifier to types (#425) for potential
    compiler optimisations.
  * Support for Alpine Linux (#435, #436).
  * Add wide string to utf8 string support (#442).
  * Don't use color escape codes if terminal doesn't support them
    bd25f59 .
  * Optional message counter feature (#445).
  * Fix OSX builds of details/os.h (#447).
  * Fix vs 2015 build error (#449).
  * UTC support (#451).
  * MinGw build fix (#456).
  * Add create_async factory functions for async loggers (#459).
  * Conditional logging implementation (#460).
  * More meaningful thread id for OSX (#463).
  * Add set_color to ansicolor_sink (#465).
  * Ability to override log level names in the log messages
    (#473).
  * Added TRACE_IF and DEBUG_IF macro definitions when TRACE_ON
    and DEBUG.
  * Fixed background color bug in windows terminal (#484).
  * Gentoo support (#502).
  * Fixed warning for missing enumeration value in tests (#488,
    #490).
  * Fixed numerous typos in code and comments.
  version 0.13.0
  * Bumped the bundled fmt library to version 3.0.1.
  * Fixed issue #333 (unexpected appending of "txt" at the end of
    a log filename).
  * Fixed issue #396 (custom error handler not called in async
    loggers).
  * Fixed issue #403 (ambiguous warnings on some compilers).
  * Use double-braces in std::array initialisation.
  version 0.12.0
  * Added %P (process Id) to format string
  * Exposed logger sinks via logger->sinks().
  * Windows native console color support.
  * Fixed vc warning on x64 build
  * Better support for for older win32 targets (WinXP/Win2003)
  * Fixed issue #300
  * Fix issue #315
  * Fix issue #317 (Build error on raspberry pi)
  * Better cmake support : list spdlog's content in IDEs
  * Fix compilation error C2664 on VS2013
  * Store thread_id in tls for better performance
  * Use the feature checking macros to detect thread_local
    support in clang.
  * Added option to prevent child processes from inheriting log
    file desciptors
  * Added SPDLOG_VERSION` macro to spdlog.h
  * Replaced static global std::string arrays by Meyer singletons
    for better thread safety
  version 0.11.0
  * sink log levels
  * various bug fixes
  version 0.10.0
  * No exceptions will be thrown while logging (with optional
    error handlers).
  * FreeBSD support.
  * Solaris support.
  * syslog disabled by default for faster compilation.
  * Bug fixes and improvements.
  version 0.9.0
  * cosmetic fix in utc_minutes_offset when throwing
- a c++ header only logging library

OBS-URL: https://build.opensuse.org/request/show/677102
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=18
2019-02-24 15:06:30 +00:00
da08c06063 Accepting request 653545 from home:mrostecki:branches:devel:libraries:c_c++
- Update to version 1.2.1:
  * Fix a compilation error of dist_sink.h

OBS-URL: https://build.opensuse.org/request/show/653545
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=16
2018-12-03 12:46:30 +00:00
Ismail Dönmez
f2abd4ec23 Accepting request 629560 from home:pluskalm:branches:devel:libraries:c_c++
- Update to version 1.1.0:
  * Bug fixes:
    + Fixed race condition in async-factory.
    + Fixed bug in spdlog_ex implementation.
    + Fixed race condition in the unit tests.
  * Improvements:
    + Some micro optimizations.
    + Improve and fix CMake issues.
    + Added overrun_counter() to the async thread pool queue
    + Fixed some clang tidy warnings.
- Cleanup spec file from clutter

OBS-URL: https://build.opensuse.org/request/show/629560
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=14
2018-08-16 11:39:35 +00:00