jamboree
3c99ed4498
Fix name parsing
2015-06-11 12:03:22 +08:00
jamboree
7487bde587
Support named arguments
2015-06-10 09:32:59 +08:00
vitaut
ed2dfe5124
Implement writing narrow strings into a wide writer
2015-06-09 08:20:44 -07:00
vitaut
8949a2e941
Fix formatting
2015-06-08 06:53:18 -07:00
jamboree
54a6cb34c7
Support runtime width specification
2015-06-04 13:59:37 +08:00
vitaut
90a12b1bb2
Fix warnings
2015-05-12 08:57:21 -07:00
vitaut
3e03934d15
If std::swprintf is broken, disable relevant test and warn about it
2015-05-08 07:57:43 -07:00
vitaut
85b985e9f2
Workaround a bug in formatting long double in MinGW, take 3
2015-05-07 08:17:30 -07:00
vitaut
3e379829a0
Workaround a bug in formatting long double in MinGW, take 2
2015-05-07 07:25:39 -07:00
vitaut
673a4525f6
Workaround a bug in formatting long double in MinGW
2015-05-07 07:18:46 -07:00
vitaut
87cb2935f8
Test and fix handling of exactly MAX_PACKED_ARGS arguments
2015-05-01 06:55:26 -07:00
vitaut
cf04d98d06
Pass as many types as possible in a single integer to reduce code bloat
2015-03-24 08:55:40 -07:00
Victor Zverovich
beaf6f7436
Add a fixed-size array writer
2015-03-01 18:08:24 -08:00
Victor Zverovich
53010624a0
Move Windows implementation of print_colored to a separate branch
...
as it needs further testing.
2015-02-19 07:54:59 -08:00
Victor Zverovich
bd133382f0
Fix BasicWriter::write without formatting arguments on C++11 ( #109 )
2015-02-16 14:32:38 -08:00
Victor Zverovich
cfd476bb8b
Temporarily disable the test as the fix didn't work.
2015-02-08 20:41:13 -08:00
Ryuuke
5a9dc8f991
windows cli colors revision and test case
2015-02-08 16:08:29 +00:00
Victor Zverovich
43aebf51d6
Allow precision specifier for non-float arguments
2015-01-08 07:56:08 -08:00
Victor Zverovich
cd828a8691
Add a test for https://github.com/cppformat/cppformat/issues/86
2015-01-05 07:16:26 -08:00
Victor Zverovich
fb12cfd196
Suppress more bogus warnings
2014-12-17 06:53:32 -08:00
Victor Zverovich
8ea9f068c7
Convert tabs to spaces
2014-11-07 07:58:49 -08:00
Victor Zverovich
74dc571ba0
Support signed char and unsigned char strings
2014-09-30 08:15:56 -07:00
Victor Zverovich
313b259891
Use type_traits to test if copyable/assignable
...
Replace compile tests that check if types are copy constructible and copy assignable with normal tests that use type_traits (if available).
2014-09-30 07:30:05 -07:00
Victor Zverovich
d1ded569ff
Separate memory management and formatting
...
Array is split into an abstract Buffer class and a concrete MemoryBuffer class. BasicWriter now does all memory allocation through a Buffer object. Subclasses of BasicWriter may use different buffer types. The new BasicMemoryBuffer class uses the default MemoryBuffer.
2014-09-29 08:48:16 -07:00
Victor Zverovich
49222dc0c7
Improve allocator test
2014-09-23 07:58:23 -07:00
Victor Zverovich
b9a568b1dd
Add support for custom memory allocator to BasicWriter
2014-09-19 07:51:42 -07:00
Victor Zverovich
6a98f42336
Add support for custom allocators
2014-09-18 09:07:40 -07:00
Victor Zverovich
d59fbdcd4a
Increase the maximum number of formatting arguments on compilers without variadic templates to 15.
2014-09-11 21:18:36 -07:00
Victor Zverovich
fe9888a1e2
Move implementation tests to format-impl-test.
2014-09-05 07:12:20 -07:00
Victor Zverovich
605d2600f8
Improve error reporting.
2014-08-29 07:45:55 -07:00
Victor Zverovich
279c7a6e6a
Change "number is too big in format" to "number is too big" because the error can occur not only in the format function.
2014-08-28 06:50:52 -07:00
Victor Zverovich
526b7fc91d
Throw exception in parse_nonnegative_int if the number is too big.
2014-08-28 06:42:59 -07:00
Victor Zverovich
da0f7c0a51
Improve error reporting in parse_arg_index.
2014-08-27 09:04:51 -07:00
Victor Zverovich
42de4f1f7d
Get rid of FormatErrorReporter.
2014-08-27 08:24:31 -07:00
Victor Zverovich
f9561671cf
Write docs.
2014-08-21 07:30:00 -07:00
Victor Zverovich
c978d88183
Test ArgConverter.
2014-08-15 08:40:13 -07:00
Victor Zverovich
fb32161fa4
Move implementation specific stuff from format.h to format.cc.
2014-08-15 08:40:03 -07:00
Victor Zverovich
c7cfa7d4e7
More tests.
2014-08-15 06:58:24 -07:00
Victor Zverovich
1a0c76a81a
Fix formatting of long double.
2014-08-13 07:51:02 -07:00
Victor Zverovich
d346a4120d
FormatDec -> format_decimal
2014-07-29 08:45:29 -07:00
Victor Zverovich
8f8fd769ee
Fix Fix https://github.com/cppformat/cppformat/issues/50 in tests too.
2014-07-29 07:50:05 -07:00
Victor Zverovich
75b5eb4b9d
More fixes for https://github.com/cppformat/cppformat/issues/50 .
2014-07-27 15:09:05 -07:00
Victor Zverovich
a997de90eb
Fix https://github.com/cppformat/cppformat/issues/57 .
2014-07-25 07:10:33 -07:00
Victor Zverovich
a7d94f0c61
Fix https://github.com/cppformat/cppformat/issues/55 .
2014-07-22 12:37:10 -07:00
Victor Zverovich
c0d55e6308
Remove WriteArrayOfUnknownSize because it shouldn't compile according to standard.
2014-07-10 08:42:33 -07:00
Victor Zverovich
e3a44c11f6
Add an overload of print that accepts std::ostream.
2014-07-09 06:56:36 -07:00
Victor Zverovich
ed421848b3
Test passing an array of unknown size as an argument.
2014-07-09 06:45:20 -07:00
Victor Zverovich
b9a06bafd8
internal::FormatParser -> BasicFormatter.
2014-07-08 16:38:50 -07:00
Victor Zverovich
e825156add
Move FormatParser to the internal namespace.
2014-07-08 16:20:33 -07:00
Victor Zverovich
2dc108b31f
Remove deprecated code 🎆 🎆 🎆
2014-07-01 09:10:43 -07:00