Commit Graph

6248 Commits

Author SHA1 Message Date
Victor Zverovich
0398ba42ca
Update ChangeLog.rst 2023-05-10 09:39:04 -07:00
Victor Zverovich
a0b8a92e3d Update version 2023-05-09 15:55:39 -07:00
Victor Zverovich
5cf2342aa2 Bump version 2023-05-09 15:37:01 -07:00
Victor Zverovich
fe9d39d7cb Update changelog 2023-05-09 14:27:48 -07:00
Victor Zverovich
4c98561979 Update changelog 2023-05-09 14:25:56 -07:00
Victor Zverovich
403b271ed7 Update changelog 2023-05-09 14:20:59 -07:00
Victor Zverovich
2c991e1af6 Update changelog 2023-05-08 14:43:16 -07:00
Victor Zverovich
c984df9815 Remove an unused function from internal class 2023-05-08 13:35:23 -07:00
Victor Zverovich
fbf21ed224 Update changelog 2023-05-08 13:34:29 -07:00
Victor Zverovich
575583144e Update changelog 2023-05-08 11:37:33 -07:00
Victor Zverovich
e7f6888c7a Update changelog 2023-05-08 09:49:39 -07:00
Victor Zverovich
39db2dfd06 Update changelog 2023-05-08 09:41:57 -07:00
Victor Zverovich
9b7829e264 Update changelog 2023-05-08 09:15:07 -07:00
Victor Zverovich
1e0ce567ef Fix formatting of paths containing invalid Unicode 2023-05-07 10:05:15 -07:00
Vladislav Shchapov
dde8cf3bb7 Unification utf16/utf32 to utf8 conversion
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-05-06 08:32:51 -07:00
Vladislav Shchapov
e84b00e014 Workaround to error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-05-06 08:32:51 -07:00
Victor Zverovich
b12ffea4fb Add filesystem_error test back 2023-05-06 07:49:46 -07:00
Victor Zverovich
f61f15cc5b Suppress a false positive in gcc 2023-05-06 06:54:30 -07:00
Daniela Engert
192df93d7b
modules missing pieces (#3399)
- don't export names from `detail`
- put more headers into the global module fragment
- support MSYS2 and Clang
2023-05-05 10:21:18 -07:00
mogemimi
d8973bf16b
Add FMT_STRING for format_to() call (#3413) 2023-05-03 07:58:40 -07:00
Daniela Engert
d7a8e50cb5
Improve module testing (#3397)
* use the standard `test-main.cc` component instead of injected test infrastructure sources
 * undo now obsolete commit `00235d8a` from July 2021
 * Clang cannot import user-defined literals as it seems -> disable test
 * Clang emits duplicate, non-mergeable copies of `detail::buffer`'s vtable, causing linker errors -> disable test
2023-05-03 07:56:24 -07:00
Victor Zverovich
02cae7e48a Improve handling of Unicode in paths 2023-04-30 09:58:59 -07:00
Vertexwahn
53162142b2
Remove .bazelrc mention from Bazel related readme (#3411) 2023-04-29 16:25:00 -07:00
Vertexwahn
5bcf0d7f97
Bazel support (#3406)
* Bazel support: Remove not needed .bazelrc file

* Bump tested Bazel version

* Apply buildifier to format Bazel build files

* Add note about Bzlmod
2023-04-29 07:45:49 -07:00
Vertexwahn
f8c9fabd94
Fix spelling (#3404) 2023-04-25 11:47:37 -07:00
Jonathan Müller
62ff4e1dbd
Remove foonathan from maintainer list (#3402) 2023-04-23 13:35:05 -07:00
Daniela Engert
f449ca0525
Name vfprintf clashes with the identically named declaration in 'stdio.h' if that happens to be #included into the same TU. Fix this by using qualified name lookup instead of unqualified lookup that also enables ADL. (#3400) 2023-04-23 07:10:57 -07:00
Daniela Engert
eafcd3c8e1
Optionally attach declarations to the global module rather than module fmt (#3387)
This allows coexistence with TUs that use {fmt} through #include without duplicating declarations, definitions, linker symbols, and object code.
2023-04-23 06:04:36 -07:00
Victor Zverovich
18154cc903 Simplify print 2023-04-22 14:03:40 -07:00
Victor Zverovich
0de789cf29 Update changelog 2023-04-22 09:20:28 -07:00
Daniela Engert
c039389223
export names only once (#3392)
names declared to be exported at the point of introduction into a namespace *must not* be (re-)declared as exported later in the TU, e.g. when they are redeclared, defined, or specialized. [module.export]/6

Drive-by fix found during module testing: add a missing `detail::` name qualification
2023-04-22 06:21:06 -07:00
Louis Wilson
93e81bb5d8
Fix C4365 (signed/unsigned mismatch) warning on 32-bit Windows (#3398) 2023-04-20 17:36:05 -07:00
Kevin Hwang
e7d6eb6794
Update tests to use recommended MOCK_METHOD (#3395) 2023-04-20 13:16:21 -07:00
Daniela Engert
18e7a2532b
Remove obsolete msvc workarounds (#3388)
This bug in the modules implementation is fixed since at least msvc 19.34, possibly even earlier like 19.32.
2023-04-19 17:09:51 -07:00
Daniela Engert
0489c19dcb
fix and improve module (#3386)
* export public documented API
* don't export `namespace detail`
* add `std.h` into module
* add missing namespace qualification in `xchar.h`
* fix call to `detail::get_iterator` in `xchar.h`
* fix ambiguous overload of `detail::isfinite` in `chrono.h`
2023-04-18 06:47:01 -07:00
Victor Zverovich
8ec94ac6a5 Use full path to pcm 2023-04-14 11:57:17 -07:00
Victor Zverovich
d97d8cea67 Push module check to test 2023-04-14 11:42:01 -07:00
Victor Zverovich
d8a2698e6c Fix compilation as a C++20 module with gcc 13 2023-04-14 09:49:07 -07:00
Victor Zverovich
d9c19940a3 Update add_module_library 2023-04-13 17:13:52 -07:00
Victor Zverovich
4b5ae0b0ef Remove unnecessary module support check 2023-04-13 16:53:45 -07:00
Victor Zverovich
75f3b1c094 Use add_module_library 2023-04-12 09:10:34 -07:00
Victor Zverovich
faf83406a9 Workaround cmake issue 2023-04-11 15:59:08 -07:00
Victor Zverovich
165814d57a Add module support to CMake 2023-04-11 14:38:34 -07:00
June Liu
33f7150778
Fix error C2668 on msvc (#3378) 2023-04-11 06:27:28 -07:00
Victor Zverovich
c98e5a08a4 Fix modular build on clang 2023-04-10 12:07:25 -07:00
Victor Zverovich
119c6bd16f Move the modules check 2023-04-10 09:28:00 -07:00
Victor Zverovich
77eeb71830 Remove unused headers 2023-04-10 09:08:19 -07:00
Victor Zverovich
13bf99f9db Enable modules in clang 16 2023-04-10 08:44:43 -07:00
Victor Zverovich
1d0257e4c0 FMT_MODULE_EXPORT_* -> FMT_EXPORT_* 2023-04-10 08:33:39 -07:00
Victor Zverovich
4613d48fd3 FMT_EXPORT -> FMT_LIB_EXPORT 2023-04-10 08:24:23 -07:00