Commit Graph

4618 Commits

Author SHA1 Message Date
gabime
dcf664ee1d Updated cmakelists.txt 2024-12-01 18:22:06 +02:00
gabime
65a2d8a49f Removed cmake-format from script 2024-12-01 18:15:27 +02:00
gabime
c55e7f6d14 Updated pkgconfig to version 2 2024-12-01 14:08:53 +02:00
gabime
3b6f36c43b Fix windows compile 2024-11-30 20:16:56 +02:00
gabime
3b7e2a034b Removed tweak options and spdlog_config.h 2024-11-30 19:56:15 +02:00
gabime
3c9963a495 Removed tweak options and spdlog_config.h 2024-11-30 19:55:45 +02:00
gabime
21e0810791 commnet 2024-11-30 18:53:39 +02:00
gabime
e6cddd1028 Update cmakelists and config.h 2024-11-30 18:46:28 +02:00
gabime
a0f371efed Fix test compile
Some checks failed
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[asan:ON build_type:Debug … (push) Has been cancelled
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Debug compiler… (push) Has been cancelled
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Release compil… (push) Has been cancelled
macos / macOS Clang (C++17, Release) (push) Has been cancelled
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:OFF WCHAR_FILES:OFF]) (push) Has been cancelled
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:ON WCHAR_FILES:ON]) (push) Has been cancelled
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:OFF WCHAR_FILES:OFF]) (push) Has been cancelled
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 WCHAR:OFF]) (push) Has been cancelled
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 WCHAR:OFF]) (push) Has been cancelled
2024-11-30 15:55:23 +02:00
gabime
032d93acf7 Fix test compile 2024-11-30 15:52:22 +02:00
gabime
e26e3692d1 Non locking ::fwrite if possible (SPDLOG_FWRITE_UNLOCKED defined) or use the regular locking fwrite 2024-11-30 15:46:06 +02:00
gabime
551860d079 Fixed tidy warnings 2024-11-30 13:05:12 +02:00
gabime
0d8f1f1dd4 Fixed tidy warnings 2024-11-30 12:53:19 +02:00
gabime
7a0e2ff8a8 Fixed tidy warnings 2024-11-30 12:45:14 +02:00
gabime
ec34d6ddc6 Fixed win compile 2024-11-30 12:19:03 +02:00
gabime
70c65cf61b Fix windows build 2024-11-30 11:59:50 +02:00
gabime
9f5611c146 Updated .clang-tidy 2024-11-30 11:54:08 +02:00
gabime
82bb5114e2 Fixed some tidy warnings 2024-11-30 11:36:43 +02:00
gabime
3566e0f027 Update clang-tidy 2024-11-30 10:52:26 +02:00
gabime
912491d307 Updated README.md 2024-11-30 10:44:41 +02:00
Gabi Melman
dba5d7d214
Update CMakeLists.txt
Some checks are pending
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[asan:ON build_type:Debug … (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Debug compiler… (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Release compil… (push) Waiting to run
macos / macOS Clang (C++17, Release) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:ON WCHAR_FILES:ON]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 WCHAR:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 WCHAR:OFF]) (push) Waiting to run
2024-11-29 23:41:26 +02:00
Gabi Melman
c9b96bc974
Update CMakeLists.txt remove cfg/helpers.cpp 2024-11-29 23:35:45 +02:00
Gabi Melman
aa9eaae6f6
Update os_windows.cpp 2024-11-29 23:14:12 +02:00
gabime
50f3c88694 Added back tests for utf8 to utf16 2024-11-29 22:49:59 +02:00
gabime
03e20348e2 Added back wstr_to_utf8buf() and utf8_to_wstrbuf() for windows 2024-11-29 22:48:38 +02:00
gabime
693062a8bf Update cp 2024-11-29 22:10:23 +02:00
hjs-ast
bb4b719ccf 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
2024-11-29 22:08:17 +02:00
Gabi Melman
92d83f3219
Update windows.yml 2024-11-29 20:30:49 +02:00
gabime
2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 2024-11-29 17:17:30 +02:00
gabime
fefda8dd15 try to fix test 2024-11-29 16:45:03 +02:00
gabime
7fe73d96b9 Fix ci 2024-11-29 16:28:36 +02:00
gabime
ddf14d67df Fix comment 2024-11-29 16:25:51 +02:00
gabime
0ef49d7df6 Minor cleanup 2024-11-29 16:15:13 +02:00
gabime
bb3d25b626 Added [[nodiscard]] and made should_flush_ const 2024-11-29 16:11:13 +02:00
gabime
15814dba5b clean source_loc.h 2024-11-29 15:30:00 +02:00
gabime
eccaa62e9d clean source_loc.h 2024-11-29 15:29:43 +02:00
Gabi Melman
63535f140b
V2.x no std format (#3271)
Some checks are pending
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[asan:ON build_type:Debug … (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Debug compiler… (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Release compil… (push) Waiting to run
macos / macOS Clang (C++17, Release) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:ON WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:ON WCHAR:ON WCHAR_FILES:ON]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
* Removed SPDLOG_USE_STD_FORMAT

* Removed SPDLOG_USE_STD_FORMAT

* clang-format

* Fix windows.yml ci

* Fix ci
2024-11-29 15:25:29 +02:00
gabime
9fea0e5fa8 Fix windows compile (clang-format ordering( 2024-11-29 14:30:14 +02:00
gabime
7c6f737990 Fix windows compile of log_msg_buffer.cpp 2024-11-29 14:14:24 +02:00
gabime
1d2138fdbe always use std::string_view and remove is_convertible_to_sv 2024-11-29 13:56:45 +02:00
gabime
0641ddec58 always use std::string_view and remove is_convertible_to_sv 2024-11-29 13:56:27 +02:00
gabime
fb3969d540 alwaus use std::string_view 2024-11-29 13:52:17 +02:00
gabime
62534f2e4e clang format 2024-11-29 13:40:40 +02:00
gabime
eacd4d6b2a Remove mdc 2024-11-29 13:32:15 +02:00
gabime
14a202580b Update readme ci tsan to debug 2024-11-29 13:15:15 +02:00
gabime
f20fe2a121 Update readme ci 2024-11-29 13:12:06 +02:00
gabime
50ea0cc1aa Removed appveyor ci 2024-11-29 13:06:44 +02:00
gabime
6ea6b065ba Clean prev source_loc impl leftovers 2024-11-29 13:04:08 +02:00
gabime
c7fc302710 Fixed soruce_loc test 2024-11-29 13:00:13 +02:00
gabime
64a013fd16 Fixed soruce_loc test 2024-11-29 12:59:31 +02:00