Commit Graph

2914 Commits

Author SHA1 Message Date
Remotion
b607de85be Merge branch 'master' of https://github.com/fmtlib/fmt
# Conflicts resolved:
#	include/fmt/ranges.h
#	test/ranges-test.cc
2018-05-18 23:06:24 +02:00
Michael Winterberg
550ef1d29d MSVC improvements and data truncation cleanup.
MSVC is timid about evaluating constexpr functions unless it has to, so the "TYPES" variables end up in read-write memory even though the optimizer removes the initializer. Making TYPES constexpr causes MSVC to try harder to initialize these variables at compile time, which also ends up completely removing the (named) variable from the final compiled binary.
Fixed a data truncation warning being reported in ostream-test.
2018-05-17 18:46:31 -07:00
Victor Zverovich
728e4f5a8d Fix docs 2018-05-16 08:26:55 -07:00
Victor Zverovich
8c2557710d Update docs and changelog 2018-05-16 07:58:53 -07:00
sv1990
a68fd44ecc Add ranges.h to FMT_HEADERS in CMakeLists.txt (#738) 2018-05-14 06:16:30 -06:00
Remotion
e3f7f3a2e9 Add support for ranges, containers and tuple-like types in fmt/ranges.h 2018-05-13 13:28:11 -07:00
Victor Zverovich
984232db15 Remove duplicate ChangeLog entries 2018-05-13 13:14:28 -07:00
Victor Zverovich
78677e3fcf Update ChangeLog and docs 2018-05-13 12:42:55 -07:00
Remotion
f65bcb8b08 Updated ranges-test.cc. 2018-05-13 18:58:25 +02:00
Remotion
d2ef18c7d7 Merge branch 'master' of https://github.com/fmtlib/fmt 2018-05-13 18:56:50 +02:00
Remotion
a70b48023f Moved range_length_limit to formatting_range.
Added add_delimiter_spaces and add_prepostfix_space.
2018-05-13 18:50:04 +02:00
Victor Zverovich
ad23270ec7 Document to_wstring 2018-05-13 09:11:29 -07:00
Victor Zverovich
3c0f8c2601 Update ChangeLog 2018-05-13 08:53:16 -07:00
Victor Zverovich
989378930a Detect inline namespaces on gcc 2018-05-13 08:53:04 -07:00
Victor Zverovich
dfb6546932 Fix docs 2018-05-13 08:04:39 -07:00
Victor Zverovich
3aa2911579
Update ChangeLog.rst 2018-05-13 08:02:06 -07:00
Victor Zverovich
d3f6c841c1
Update ChangeLog.rst 2018-05-13 07:22:41 -07:00
Victor Zverovich
c1441ae4c4
Update ChangeLog.rst 2018-05-12 16:02:20 -07:00
Remotion
a7041e9652 Merge branch 'master' of https://github.com/fmtlib/fmt 2018-05-13 00:21:27 +02:00
Remotion
7a2099e7de Using FMT_CONSTEXPR_DECL for variables.
Replaced std::enable_if_t by std::std::enable_if<>::type.
Replaced variable templates by structs.
2018-05-13 00:06:33 +02:00
Remotion
f101d62833 Fixed typo. 2018-05-12 23:23:54 +02:00
Remotion
648b93743a Fixed build.py conflict. 2018-05-12 23:05:28 +02:00
Remotion
4cfc6c4c76 Using FMT_BEGIN_NAMESPACE and FMT_END_NAMESPACE now. 2018-05-12 23:02:22 +02:00
Victor Zverovich
dece85b31f Fix docs, take 2 2018-05-12 13:57:56 -07:00
Remotion
5717bd24a0 Merge branch 'master' of https://github.com/fmtlib/fmt 2018-05-12 22:56:20 +02:00
Remotion
a442c77c9a Changes code style to Google Style.
Renames namespace meta to internal and put copy functions int it.
Replaced constexpr by FMT_CONSTEXPR.
Replaced std::ptrdiff_t by std::size_t.
2018-05-12 22:55:51 +02:00
Victor Zverovich
951b743e8d Fix docs, take 2 2018-05-12 13:23:05 -07:00
Victor Zverovich
6a1df3bd05 Fix docs 2018-05-12 12:57:16 -07:00
Victor Zverovich
838400d29b Add inline namespace fmt::v5 2018-05-12 11:02:15 -07:00
Victor Zverovich
b64b24ebc5
Update ChangeLog.rst 2018-05-12 09:42:59 -07:00
Victor Zverovich
fc9087114f
Update ChangeLog.rst 2018-05-12 09:10:11 -07:00
Remotion
50ee89b223 Removed string_view 2018-05-10 16:16:47 +02:00
Remotion
df46ef09c9 Add support for ranges, containers and types tuple interface in fmt/ranges.h and some tests. 2018-05-10 16:11:00 +02:00
Victor Zverovich
46c374a8a9 Fix compilation with new gcc and -std=c++11 (#734) 2018-05-09 20:58:05 -07:00
Victor Zverovich
f0ae725721 Clarify the use of allocators 2018-05-09 06:43:54 -07:00
Victor Zverovich
d72d046254 Update paths in fmt.pro 2018-05-09 06:21:00 -07:00
Dan McGregor
edbbf7ce6c Fix FreeBSD 12
FreeBSD 12 changed the type of freelocale to the type defined by
POSIX. Check the FreeBSD version when building for FreeBSD.
2018-05-09 06:10:37 -07:00
Elias Kosunen
a4e4f74530 Fix a -Wundef when FMT_GCC_VERSION < 600 2018-05-09 06:09:25 -07:00
Victor Zverovich
7d3de49715 Implement double to fp conversion 2018-05-06 13:37:49 -07:00
Victor Zverovich
a4c7d99f70 Add bit_cast 2018-05-06 11:52:51 -07:00
Elias Kosunen
0adccaefb6 Fix a -Wundef of _LIBCPP_VERSION 2018-05-05 07:43:22 -07:00
Daniela Engert
2570f1afdc Provide more overloads for the wide string flavour
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-05-05 07:31:44 -07:00
Michael Winterberg
ca31ca13f1 Fixed arg_formatter_base::write_pointer to not mutate the format specs.
This fixes cases where arg_formatters are reused, like with arg_join.
2018-05-01 07:12:27 -07:00
Daniela Engert
6cd666100f remove trailing spaces.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-05-01 07:10:05 -07:00
Victor Zverovich
fe19c266ce Move format_string to fmt namespace for ADL 2018-04-29 08:35:20 -07:00
Victor Zverovich
2768af2388 Add cached powers of 10 2018-04-29 06:33:05 -07:00
Victor Zverovich
dd296e1de0 Add a script to compute powers of 10 2018-04-28 14:32:05 -07:00
DanielaE
0efc8a1808 Fix compiler warning about narrowing
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-04-27 06:41:43 -07:00
Victor Zverovich
df1ba52b64 Update example 2018-04-22 17:04:28 -07:00
Victor Zverovich
221b08fd8f Merge branch 'master' of github.com:fmtlib/fmt 2018-04-22 09:16:34 -07:00