Commit Graph

3511 Commits

Author SHA1 Message Date
Victor Zverovich
53379dfd0c Don't set CMAKE_BUILD_TYPE if fmt is a subproject (#1081) 2019-03-17 10:50:40 -07:00
Victor Zverovich
76d326a2a2 Enable grisu for general format 2019-03-17 09:48:50 -07:00
Victor Zverovich
c21c6b8c4b Move enable_if to template params 2019-03-16 15:15:38 -07:00
Victor Zverovich
ec645ca262 Update readme and doxygen config 2019-03-16 10:47:50 -07:00
Victor Zverovich
ae0b0dab9f Remove obsolete TODO 2019-03-16 10:04:16 -07:00
Victor Zverovich
5466a5b41f Document inherited members 2019-03-16 08:22:16 -07:00
Victor Zverovich
9b392a683d Update readme 2019-03-16 07:59:58 -07:00
Victor Zverovich
0fa65cf329 Add example 2019-03-16 07:36:27 -07:00
Victor Zverovich
fdd0149e71 Update readme 2019-03-16 07:27:53 -07:00
Victor Zverovich
e19a95b271 Update readme 2019-03-16 06:51:35 -07:00
Victor Zverovich
ef39274973 Update readme 2019-03-16 06:47:18 -07:00
Victor Zverovich
a7f68dcc01 Update readme 2019-03-16 06:46:19 -07:00
Victor Zverovich
1428b34299 Update readme 2019-03-16 06:30:50 -07:00
Victor Zverovich
97619e27a2 More fixed precision tests 2019-03-15 10:20:20 -07:00
Victor Zverovich
dd6cc0e6ac Merge time-test into chrono-test 2019-03-14 18:10:56 -07:00
Victor Zverovich
a939c75956 Merge fmt/time.h into fmt/chrono.h 2019-03-14 18:07:42 -07:00
Victor Zverovich
17e4b53926 Make chrono formatting work without exceptions (#1062) 2019-03-14 18:01:03 -07:00
Victor Zverovich
a82b3680dc More tests and fixed precision fixes 2019-03-13 19:47:07 -07:00
Jason S Zang
287342dab1 cmake: default FMT_PKGCONFIG_DIR to a relative path 2019-03-13 11:28:50 -07:00
Victor Zverovich
e28429ee73 Prevent overflow with zero precision 2019-03-13 10:46:25 -07:00
Victor Zverovich
49bbf3c876 Simplify shadowing warning fix 2019-03-13 08:29:37 -07:00
Victor Zverovich
5e5506f833 Update readme 2019-03-12 06:08:18 -07:00
Ivan Shynkarenka
e06523361d Visual Studio 2017: warning C4456: declaration of 'result' hides previous local declaration 2019-03-11 14:15:23 -07:00
Victor Zverovich
ebec00138b Reword licensing part 2019-03-10 17:42:36 -07:00
Victor Zverovich
8daa3c6834 Clarify contribution licensing
This is similar to https://github.com/apple/swift/blob/master/CONTRIBUTING.md
with an explicit clause that allows changing license for #1073.
2019-03-10 17:38:26 -07:00
Victor Zverovich
0d418a8d58
Update and rename CONTRIBUTING.rst to CONTRIBUTING.md 2019-03-10 17:25:06 -07:00
Victor Zverovich
4c66dad8c1 Refactor digit generation 2019-03-10 15:45:06 -07:00
Victor Zverovich
b1f7cca89e stop -> handler and swap args 2019-03-10 14:43:26 -07:00
Victor Zverovich
f90d33ca12 error_ulp -> error 2019-03-10 14:29:28 -07:00
Victor Zverovich
78c755dc48 Update readme 2019-03-10 12:17:35 -07:00
Victor Zverovich
f230170157 Update readme 2019-03-10 12:13:14 -07:00
Victor Zverovich
ced8aa8c9e Update readme 2019-03-10 12:07:57 -07:00
Victor Zverovich
77d54251f0 Update benchmark results 2019-03-10 11:21:24 -07:00
Victor Zverovich
1632f72cbe Test get_round_direction 2019-03-10 11:14:50 -07:00
Victor Zverovich
8129b9bc46 Test that the library can be compiled witout locales 2019-03-10 07:57:29 -07:00
Victor Zverovich
835087dd04 Add color-test 2019-03-10 07:57:29 -07:00
Bruce Mitchener
4523053e6f Fix typos. 2019-03-10 07:49:33 -07:00
Victor Zverovich
8407f4cb24 Round close to zero fixed precision 2019-03-09 15:18:34 -08:00
Victor Zverovich
49d244c065 Don't emit more than precision digits (#1072) 2019-03-09 13:53:23 -08:00
Victor Zverovich
3466d9c845 Don't override fixed formatting depending on exponent (#1072) 2019-03-09 13:22:07 -08:00
Victor Zverovich
93d22dec35 Implement rounding up and clean up FP formatting 2019-03-09 10:40:36 -08:00
Victor Zverovich
d560ddac25 Temporarily disable Grisu for fixed formatting 2019-03-08 19:09:05 -08:00
Gawain Bolton
2d981bb133 Add documentation for '%' format type. (#1071) 2019-03-06 11:50:32 -10:00
Michael Winterberg
d8434baa03 Declare the size of RESET_COLOR.
This is so that the format with a text_tyle will compile even if
header-only mode isn't enabled. Addresses #1063.
2019-03-06 09:41:45 -10:00
Victor Zverovich
8f7780a4f6 Correct comment 2019-03-06 09:23:16 -08:00
Victor Zverovich
2e526a664a Fix handling of output iterator in ranges 2019-03-06 08:10:46 -08:00
gawain
79b79f329e Add support for '%' type to output floating point values as a
percentage.

This helps with compatibility with Python's format strings.
2019-03-05 17:36:20 -08:00
Alexander Bolz
287eaab3b2 Increment output iterator in basic_writer::write for character types (#1056) 2019-02-26 12:16:34 -10:00
Victor Zverovich
a97757736b Use grisu for fixed precision 2019-02-23 15:50:50 -10:00
Brian
327d4b6e9e Fixes for some pedantic warnings (#1054)
* Fix order of initializers

* Remove unused parameter

* Disable warning "-Wswitch-enum"
2019-02-23 09:40:08 -10:00