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
Victor Zverovich
8af651be39
Implement fixed precision
2019-02-22 10:47:27 -10:00
Michael Lui
187bd1b8b2
Clarify lifetimes of named_arg parameters ( #1051 )
...
* Clarify usage of fmt::arg
Document that fmt::arg takes a non-owning
reference, even if that reference is to
a temporary. As such, users should make sure
the lifetime of the reference lasts as long
as the named argument.
* Clean up language
Remove mentions of `std::reference_wrapper` and rvalues
in favor of more common terminology like dangling references.
2019-02-22 06:37:19 -10:00
Victor Zverovich
4e5694fd05
Update arg signature
2019-02-21 17:38:30 -10:00
Victor Zverovich
82c24edcf6
Workaround a bogus Qt Creator warning
2019-02-19 06:33:55 -10:00
Victor Zverovich
ed138d794a
test: assert-test: fix typo in else-branch of EXPECT_DEBUG_DEATH_IF_SUPPORTED
...
Patch by Ievgen Liubymkin (jackyf).
2019-02-18 14:02:02 -10:00
Victor Zverovich
0476a51cba
Add Sublime syntax ( #1037 )
2019-02-15 15:08:58 -08:00
Victor Zverovich
c5aad69f2a
Restore deprecated begin()
2019-02-15 15:00:02 -08:00
Victor Zverovich
5b0006476a
Make stopping condition configurable in grisu
2019-02-14 18:25:13 -08:00
Victor Zverovich
a44238f2ef
Improve grisu
2019-02-13 20:03:27 -08:00
Victor Zverovich
83808076e3
Minor cleanup
2019-02-13 19:28:02 -08:00
Victor Zverovich
9660ea1bff
Simplify format string checks
2019-02-10 18:00:19 -08:00
Park Dong-Ha
4a9d676362
Gradle 4.10 >> Gradle 5.2
...
TravisCI
- replaced from manual Gradle download to install with 'sdkman'
- changed build name
Gradle
- updated build tool version
2019-02-10 16:15:32 -08:00
Victor Zverovich
f041f128f5
Minor cleanup
2019-02-10 15:20:40 -08:00
Victor Zverovich
e4572e5def
Update std implementation
2019-02-10 07:56:33 -08:00
Victor Zverovich
442fa1bd46
Decouple format and parse contexts
2019-02-09 20:39:37 -08:00
Victor Zverovich
744e66bb08
Deprecate format_context::parse_context()
2019-02-09 16:15:20 -08:00
Victor Zverovich
d231d68a8b
Fix handling of custom context
2019-02-09 07:36:09 -08:00
Daniela Engert
01f34d0b0b
Fix library deprecation warning
...
Since C++17, using template specialization 'std::allocator<void>' in any shape or form (even just mentioning it) is deprecated! A simple workaround is replacing 'void' by another (preferably empty) type, e.g. 'fmt::monostate'.
Found by Clang 9 in Visual Studio.
2019-02-07 12:20:46 -08:00
morinmorin
9a0a24f90b
Test is_streamable with overloaded comma operators
2019-02-06 15:44:59 -08:00
morinmorin
430e6ac9b6
Protect against overloaded comma operators in decltype
2019-02-06 15:44:59 -08:00
Victor Zverovich
467520e7a4
Remove unused macro
2019-02-06 11:34:59 -08:00
Victor Zverovich
5a314a5288
Eliminate extra copy on floating-point formatting
2019-02-06 10:17:50 -08:00
Victor Zverovich
9989e7f4e3
Update benchmark results
2019-02-04 17:56:33 -08:00
Daniela Engert
31510cb437
Fix warnings from Visual Studio
...
Name hiding.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2019-02-04 11:58:56 -08:00