Nikhil Benesch
0a363f2b02
Allow use of "," format specifier as in Python
...
f68771a helpfully enabled the "n" typecode for locale-aware printing of
integers, but not for floats. This commit enables the use of "n" for
locale-aware printing of floats, as in Python, and additionally
introduces the "," format specifier, which can be applied to "d", "f",
and "g" (and their upper-case variants, when present) to force
locale-aware grouping.
"," is particularly useful for floats, as "n" will use exponential
notation for large floats, while ",f" never will.
Unlike in Python, there is no distinction between ",d" and "n" for
integers, or ",g" and "n" for floats. (In Python, "," will always output
a literal comma, while "n" is locale-aware.) In fmtlib, both "," and "n"
are locale-aware.
2016-07-21 18:22:17 -04:00
Victor Zverovich
d5893c9a13
Update homepage and break long lines
2016-07-21 09:00:23 -07:00
Victor Zverovich
6ee9f2ed09
Make printf argument formatters public ( #335 , #360 )
2016-07-21 06:59:28 -07:00
Victor Zverovich
9823675832
Break long lines
2016-07-20 08:17:33 -07:00
Victor Zverovich
d4ddaaf2b1
Make PrintfFormatter public ( #335 , #360 )
2016-07-20 08:09:14 -07:00
Taro Matsuzawa aka. btm
1dbc6bd1fc
Update usage.rst: change Homebrew package name
2016-07-20 07:34:21 +09:00
Victor Zverovich
d4885cea62
Document BasicStringWriter
2016-07-16 08:00:53 -07:00
Victor Zverovich
a81bff9349
Update documentation build instructions
2016-06-22 07:18:37 -07:00
Victor Zverovich
2e69e454d0
Fix a link ( #347 )
2016-06-16 11:18:40 -07:00
Victor Zverovich
c7d0241abb
Fix docs
2016-06-15 07:16:04 -07:00
Victor Zverovich
a82026746d
Fix download link
2016-06-03 08:19:24 -07:00
Victor Zverovich
81e2dac955
Improve documentation build
2016-06-03 07:19:05 -07:00
Victor Zverovich
5940431e2d
Don't exclude the current version from dropdown menu
2016-06-03 06:23:49 -07:00
Victor Zverovich
06045cb4a5
Minor fixes to documentation build scripts
2016-06-02 06:52:07 -07:00
Victor Zverovich
9492b9ff03
Pass versions from CMake to Sphinx
2016-06-02 06:41:25 -07:00
Victor Zverovich
5e70843a73
Don't fail if a package was not found
2016-05-31 08:49:34 -07:00
Victor Zverovich
d25e07660e
Specify minimum required Breathe version
2016-05-31 08:46:28 -07:00
Victor Zverovich
579736f210
Don't install Sphinx if it the minimum version is satisfied
2016-05-31 08:40:29 -07:00
Victor Zverovich
8650c57ccd
Reuse virtualenv to speed up builds
2016-05-26 08:00:41 -07:00
Victor Zverovich
9071daebe9
Make work dir configurable
2016-05-26 07:35:10 -07:00
Victor Zverovich
fcaf8a0cdc
Make virtualenv dir configurable and break long lines
2016-05-26 06:52:51 -07:00
Victor Zverovich
e68836c123
Don't use --upgrade because it causes pip install older version of sphinx
2016-05-25 07:46:47 -07:00
Victor Zverovich
dc1e36fa0e
Make documentation installation optional ( #333 )
2016-05-24 07:03:08 -07:00
Victor Zverovich
7bb1b50835
Update sphinx
2016-05-24 06:55:57 -07:00
Victor Zverovich
b18f783fed
Add string.h to the docs
2016-05-18 21:04:34 -07:00
Victor Zverovich
b6c0cf9683
Add fmt::to_string ( #326 )
2016-05-18 19:54:52 -07:00
Victor Zverovich
cc9b051d12
Move format_system_error to the public API ( #323 )
2016-05-13 07:19:39 -06:00
Victor Zverovich
d67eb8af2f
Correct docs
2016-05-10 11:07:53 -07:00
Victor Zverovich
f76583276a
Clarify performance tradeoffs ( #320 )
2016-05-10 07:29:31 -07:00
Victor Zverovich
31a4f0ab05
Implement website update script
2016-05-09 08:36:16 -07:00
Victor Zverovich
140f11190b
Add a website update script
2016-05-08 08:03:01 -07:00
Victor Zverovich
add6bcca3e
Document ostream support
2016-05-07 09:09:33 -07:00
Jakub Wilk
e0ac51cbd9
Fix typos
2016-05-01 12:29:21 +02:00
Victor Zverovich
4e279e2a70
Correct formatting
2016-04-29 07:02:37 -07:00
Victor Zverovich
a3929b719a
Document date/time formatting and move example to the docs
2016-04-29 06:40:31 -07:00
Victor Zverovich
63be22d5dc
Update template
2016-04-28 07:09:05 -07:00
Victor Zverovich
f171d1f3d6
Update a link
2016-04-28 07:05:28 -07:00
Victor Zverovich
c33f3e281b
cppformat -> fmt
2016-04-28 07:00:22 -07:00
Victor Zverovich
59d0efd6d6
Update links
2016-04-28 06:54:37 -07:00
Victor Zverovich
c916ab3319
Update docs
2016-04-27 08:35:59 -07:00
Victor Zverovich
7f0d8184c9
cppformat -> fmt
2016-04-24 10:39:33 -07:00
Victor Zverovich
5e1576f79f
cppformat -> fmt
2016-04-24 08:17:47 -07:00
Victor Zverovich
848ab63a2a
CPPFORMAT_VERSION -> FMT_VERSION
2016-04-24 07:16:33 -07:00
vitaut
bfdca8b576
Make ArgVisitor public and document it
...
Also remove unnecessary namespace qualification.
2016-04-20 09:11:33 -07:00
vitaut
fb5350543c
Correct case
2016-04-20 07:44:37 -07:00
vitaut
ccbc891992
Document argument formatters
2016-04-20 07:16:52 -07:00
vitaut
4d8cee2d48
Document the n format specifier
2016-04-17 20:46:08 -07:00
vitaut
e4f7d0d311
Resolve overloads
2016-04-11 09:32:24 -04:00
vitaut
c0ad9a888b
Update the source location in the documentation build script
2016-02-03 09:28:44 -08:00
vitaut
4952e79e45
Document that floating-point formatting is locale-dependent.
2016-01-30 09:20:43 -08:00