Elias Kosunen
01fe59df47
Merge branch 'master' into ci
2018-05-23 13:56:39 +03:00
Elias Kosunen
584a99c934
Remove (some) explicit warning suppressions
...
Fix C++ standard setting in CI
2018-05-22 09:22:09 +03:00
Victor Zverovich
147807c911
Detect integer_sequence support on MSVC
2018-05-21 20:30:58 -07:00
Victor Zverovich
5ad54256c5
Fix a conflict between fmt::join and fmt/ostream.h ( #744 )
2018-05-21 20:21:06 -07:00
Victor Zverovich
6ebc1a967d
Merge locale.h into format-inl.h
2018-05-20 17:16:34 -07:00
Victor Zverovich
edd5f1445d
Fix compilation errors on gcc 4.4
2018-05-20 09:09:03 -07:00
Victor Zverovich
936aba5f90
Fix compilation errors on gcc 4.4
2018-05-20 07:42:09 -07:00
Victor Zverovich
b76bb79613
Improve naming consistency
2018-05-19 10:32:53 -07:00
Victor Zverovich
69823bf852
Improve naming consistency
2018-05-19 08:59:37 -07:00
Victor Zverovich
d940fa679c
Disable unsafe implicit conversion to std::string ( #729 )
2018-05-19 07:14:27 -07:00
Elias Kosunen
194616e8c5
Merge branch 'master' into ci
2018-05-18 08:25:19 +03: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
Elias Kosunen
a8976bd3e9
Remove ranges-test from tests
2018-05-17 08:30:27 +03: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
Elias Kosunen
ed839c4a9b
Reintroduce appveyor-build.py
2018-05-16 14:58:21 +03:00
Elias Kosunen
58991c7404
Implement requested changes
...
Fix some of the MSVC warnings
Implement C++11 integer_sequence
2018-05-14 11:55:11 +03:00
Elias Kosunen
710d078824
Fix Appveyor tests
...
Formatting
2018-05-14 08:18:16 +03:00
Elias Kosunen
b49acb3aa8
Add VS 2013 and 2015 to Appveyor
2018-05-14 08:18:16 +03:00
Elias Kosunen
97e1271e5e
Add more compilers to CI
...
Fix (some) of the compiler errors with them
2018-05-14 08:18:16 +03:00
Elias Kosunen
22e42a66f4
Add a _lot_ more warnings to FMT_PEDANTIC
...
Fix these warnings
2018-05-14 08:18:16 +03: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
ad23270ec7
Document to_wstring
2018-05-13 09:11:29 -07:00
Victor Zverovich
989378930a
Detect inline namespaces on gcc
2018-05-13 08:53:04 -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
46c374a8a9
Fix compilation with new gcc and -std=c++11 ( #734 )
2018-05-09 20:58:05 -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
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
221b08fd8f
Merge branch 'master' of github.com:fmtlib/fmt
2018-04-22 09:16:34 -07:00
Victor Zverovich
fa9066fe3e
context_base::begin -> out
2018-04-22 09:16:32 -07:00
Elias Kosunen
90ff31b38e
Fix a -Wundef warning on clang
...
Resolves #715
2018-04-22 09:13:55 -07:00
Victor Zverovich
b1f68c43b5
Merge branch 'master' of github.com:fmtlib/fmt
2018-04-21 19:21:41 -07:00
Victor Zverovich
cd90097ca4
Implement handmade FP
2018-04-21 17:26:24 -07:00
Victor Zverovich
822eccc3b8
Sync API with standards proposal
2018-04-21 14:29:24 -07:00
Daniela Engert
2ae41242a5
allow time formatting with wchar_t contexts
...
change total specialization of 'struct formatter<std::tm>' into partial specialization 'template <typename Char> struct formatter<std::tm, Char>', backed by matching 'strftime'-like overloads
2018-04-18 18:55:49 -07:00
Victor Zverovich
e80aba1c2b
Remove format_float stub
2018-04-14 12:40:53 -07:00
Victor Zverovich
7b8cb3135a
Make context_base::args() public
2018-04-14 12:40:26 -07:00
Christian Parpart
48ae0506de
fixes MSVC compiler warning bloat (Visual Studio 2017, latest updates)
2018-04-11 06:53:27 -07:00
Victor Zverovich
096c4051b2
Simplify char_traits
2018-04-08 13:38:12 -07:00
Victor Zverovich
7610c5362a
Remove unused macro
2018-04-08 11:54:22 -07:00
Victor Zverovich
7d28674d3a
make_args -> make_format_args
2018-04-08 07:21:26 -07:00