Commit Graph

3579 Commits

Author SHA1 Message Date
Victor Zverovich
018d8b57f6 Remove broken snprintf 2019-03-30 20:27:52 -07:00
Billy Donahue
1987db663b clang-format 2019-03-30 07:48:53 -07:00
Billy Donahue
a6d1ad741d handle fwrite results #1098 2019-03-30 07:48:53 -07:00
Ivan Shynkarenka
e979c782d3 Extend basic_writer with write() method for doubles with optional format_specs argument 2019-03-25 19:16:41 -07:00
Olaf Hering
9e1531c1e1 install pkg-config file into libdir
Most pkgconfig files contain a Libs: variable, which is either /usr/lib
or /usr/lib64. If a 32bit and a 64bit variant of fmt libraries is
installed, the last one wins. As a result compiling for the other
bitsize will fail.

Instead of sharedir use libdir as install target.

Fixes commit 9d0c9c4bb1
Fixes commit 287342dab1

Signed-off-by: Olaf Hering <olaf@aepfle.de>
2019-03-25 19:15:35 -07:00
Victor Zverovich
0a66e4cbbb
Update README.rst 2019-03-24 11:37:07 -07:00
Victor Zverovich
91acfe6852 Fix UBSAN warning 2019-03-22 07:56:02 -07:00
Victor Zverovich
b7e6bf9671 clang format 2019-03-21 20:51:37 -07:00
Victor Zverovich
da0ea4161a Make compile-time checks work with fallback formatter (#1088) 2019-03-21 19:26:53 -07:00
mwinterb
7ad3015f5b Added missing typename to FMT_STRING. (#1089)
* Added missing typename to FMT_STRING.

This is so that FMT_STRING can be used in a template.
2019-03-20 20:37:00 -07:00
Victor Zverovich
f0b572da05 Update wording test 2019-03-20 06:53:31 -07:00
ricco19
6d416cf674 Forward declare is_string<FILE*> specializations 2019-03-19 05:20:18 -07:00
Jonathan Müller
b742f622ab
Create PR template to help agree to the licensing terms (#1083) 2019-03-18 14:41:17 +01:00
Victor Zverovich
02a6f16b52
Update LICENSE.rst 2019-03-17 18:49:12 -07:00
Victor Zverovich
294fd7df96 Remove isinf workaround 2019-03-17 14:49:19 -07:00
Victor Zverovich
17c6900f83 Update docs 2019-03-17 14:15:48 -07:00
Victor Zverovich
0faa968cc3 Make floating-point formatting locale-independent 2019-03-17 13:26:56 -07:00
Victor Zverovich
bc784d3625 Remove isnan workaround 2019-03-17 12:23:36 -07:00
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