Commit Graph

4389 Commits (1bea5145b76e642284e9cd1a57b2fe5c85b8a35f)
 

Author SHA1 Message Date
Matteo Del Seppia 1bea5145b7 Adding lock to rotate_now() 1 year ago
Matteo Del Seppia 65e388e82b
Adding on demand truncation for basic file sinks (#3280)
* Adding support to truncate on demand for basic file sink

* Remove unnecessary file close

* Adding lock in basic_file_sink truncate()
1 year ago
Gabi Melman 1e6250e183
Gabime/fwrite unlocked (#3276)
* Use locking fwrite_unlocked if possible

* Added compile definitions to header_only
1 year ago
hjs-ast 951c5b9987
Allow manual rotation of rotating_file_sink (#3269)
* Allow manual rotation of rotating_file_sink

* Rename rotation method

* Attempted fix for tests on Windows

* Apply review mark-ups
1 year ago
Gabi Melman 15f539685b
Update null_sink to be final (#3267) 1 year ago
Gabi Melman 43dcb3982d
Update CMakeLists.txt comment 1 year ago
Gabi Melman 0efef2af24
Update CMakeLists.txt comment 1 year ago
Gabi Melman 018d8aa266
Update CMakeLists.txt 1 year ago
Gabi Melman 35b0417fbe
Update CMakeLists.txt comment 1 year ago
Gabi Melman 94526fa8e8
Update CMakeLists.txt comment 1 year ago
Gabi Melman 633003f40a
Update CMakeLists.txt comment 1 year ago
miyanyan 9edab1b5a1
pass /utf-8 only when compiler is MSVC (#3260) 1 year ago
LiAuTraver 1245bf8e8a
add explicit mt:: and std:: to avoid ambiguous call when both std::format_to and mt::format_to are present (#3259) 1 year ago
F1F88 51a0deca2c
docs: Removed duplicate line in daily_file_sink comment (#3249) 1 year ago
gabime 8e5613379f Version 1.15.0 1 year ago
Gabi Melman 7cee026baa
Added tsan to ci (#3247)
* Added tsan to ci
1 year ago
Gabi Melman ebfa906952 CMake option to Enable/disable msvc /utf-8 flag (on by default) 1 year ago
Gabi Melman 68f6ec7af1 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 1 year ago
Gabi Melman d343d413c2 CMake option to Enable/disable msvc /utf-8 flag (on by default) 1 year ago
captainurist fe4f99527d
Fix utf8_to_wstrbuf tests (#3245) 1 year ago
captainurist 5673e9e545
utf8_to_wstrbuf now handles invalid utf8 sequences (#3244) 1 year ago
gabime 63f0875000 Removed if in ci 1 year ago
Gabi Melman 5fd32e1a70
Update README.md 1 year ago
Gabi Melman 35345182f8
Update README.md (#3240) 1 year ago
Gabi Melman 3c2e002b51
ci-win-2019 (#3239)
Update ci
1 year ago
gabime 6192537d08 Fix win ci 1 year ago
gabime 6c7201553d Fix win ci 1 year ago
gabime d939255f0e Fix win ci 1 year ago
gabime ecc3881122 Fix win ci 1 year ago
gabime bff1a6036a Fix win ci 1 year ago
gabime 6f2ead1a0e refactor win ci 1 year ago
gabime 92f9aa32ce refactor win ci 1 year ago
gabime 64d9b4e263 refactor win ci 1 year ago
gabime 3d3f71dbe2 Fix ci 1 year ago
gabime 3fec1a81b7 Fix ci 1 year ago
gabime 984a959883 Fix ci 1 year ago
gabime 7ecfb3bc9c Fix ci 1 year ago
gabime 614c3a6836 Fix ci 1 year ago
gabime 5dc356dcbe windows ci 1 year ago
gabime a7eb388f84 windows ci wip 1 year ago
Gabi Melman a5cfbf369d Revert "Better support for FMT_UNICODE in cmake"
This reverts commit d373093734.
1 year ago
Gabi Melman d373093734 Better support for FMT_UNICODE in cmake 1 year ago
gabime 7a950e028c add /utf-8 flag for msvc 1 year ago
Gabi Melman 9fe79692eb
Gabime/tsan (#3237)
* Fixed race condition in tests

* Support for thread sanitizer
1 year ago
gabime 96c9a62bfd Fixed race condition in tests 1 year ago
Gabi Melman 85bdab0c18
Update bundled fmt to 11.0.2 (#3236) 1 year ago
Gabi Melman 63d1884215
Gabime/async flush (#3235)
* Revert "Ensure flush callback gets called in move-assign operator (#3232)"

This reverts commit b6da59447f.

* Revert "Exchange promise for condition_variable when flushing (fixes #3221) (#3228)"

This reverts commit 16e0d2e77c.

* Revert PR #3049
1 year ago
Michael de Lang b6da59447f
Ensure flush callback gets called in move-assign operator (#3232) 1 year ago
Michael de Lang 16e0d2e77c
Exchange promise for condition_variable when flushing (fixes #3221) (#3228)
std::promise and std::future use std::call_once under the hood, which requires
the tls-model to be at least initial_exec, excluding local_exec.

Furthermore, gcc has a bug regarding exceptions in std::call_once that
is best avoided. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146
for more info.

Signed-off-by: Michael de Lang <kingoipo@gmail.com>
1 year ago
mq白 ee16895787
Improve Cross-Platform Build Instructions in Documentation (#3229)
* Update build

* Simplified build command length for cross-platform compatibility.

* Modified to replace `make -j` only with `cmake --build.`
1 year ago