vitaut
|
7e12c5c9df
|
Use scoped_ptr instead of raw pointers in tests
|
2015-07-31 08:54:54 -07:00 |
|
vitaut
|
d15e0d3e06
|
Use scoped_ptr instead of raw pointers in tests
|
2015-07-31 08:23:39 -07:00 |
|
vitaut
|
d02a5031f0
|
Use scoped_ptr instead of deprecated auto_ptr
|
2015-07-29 07:03:15 -07:00 |
|
vitaut
|
200037683e
|
Initialize next_arg_index_ in ctor (#187)
|
2015-07-28 08:10:46 -07:00 |
|
vitaut
|
c4d0bc1ac9
|
Fix Coverity warnings
|
2015-07-28 07:18:14 -07:00 |
|
vitaut
|
6cf24c7f92
|
Fix MSVC warnings
|
2015-07-08 08:04:32 -07:00 |
|
vitaut
|
f3bef7ac92
|
Fix open_buffered_file
|
2015-07-08 07:48:54 -07:00 |
|
vitaut
|
b6c1c9233a
|
Workaround an issue with VC2010
|
2015-07-08 07:36:36 -07:00 |
|
vitaut
|
c669cbedf8
|
Rename None to Null because of conflict with an xlib.h macro
|
2015-07-07 07:05:17 -07:00 |
|
vitaut
|
438bd9b0e6
|
Add BasicCStringRef to represent a null-termated string (#100)
and use it instead of BasicStringRef in cases that assume that the
string is null-terminated such as POSIX function and format string
parser.
|
2015-06-26 07:43:54 -07:00 |
|
vitaut
|
88c7c20102
|
Fix posix-test on FreeBSD (#179)
|
2015-06-25 07:06:30 -07:00 |
|
vitaut
|
5b9b485f57
|
Workaround a bug in MinGW
|
2015-06-24 11:36:28 -07:00 |
|
vitaut
|
0a7e5141c1
|
Move posix tests from gtest-extra-test to a separate test
|
2015-06-24 09:16:03 -07:00 |
|
vitaut
|
9769f4b9ed
|
Refactor posix tests
|
2015-06-24 08:43:30 -07:00 |
|
vitaut
|
e5b16e80cc
|
Include sys/types.h for ssize_t
|
2015-06-24 07:59:19 -07:00 |
|
vitaut
|
948317b6dd
|
Fix FormatLongDouble test on PowerPC (#180)
|
2015-06-23 07:39:49 -07:00 |
|
vitaut
|
b88a17ad9e
|
libformat.{a.so} -> libcppformat.{a.so}
as suggested by Eugene V. Lyubimkin to make the name less generic
|
2015-06-23 06:40:22 -07:00 |
|
vitaut
|
abcc2d96f0
|
Fix assertion tests
|
2015-06-22 09:24:54 -07:00 |
|
vitaut
|
8ab665afbc
|
Only use death tests if available
|
2015-06-22 08:17:23 -07:00 |
|
vitaut
|
8450f5e1d3
|
FormatIntTest: FormatDec: don't assume signedness of char type
Thanks to Eugene V. Lyubimkin for the patch.
|
2015-06-22 07:03:26 -07:00 |
|
vitaut
|
e39490500c
|
Replace implicit conversion to std::string with to_string
|
2015-06-17 07:59:41 -07:00 |
|
vitaut
|
8725d07d8b
|
Place the anonymous namespace within the fmt namespace
for header-only configuration as suggested by Alf Steinbach.
|
2015-06-12 07:56:58 -07:00 |
|
vitaut
|
24c309fbfa
|
Don't use windows.h if FMT_USE_WINDOWS_H is set to 0
|
2015-06-12 07:15:57 -07:00 |
|
vitaut
|
9d09214e7a
|
Use textual representation for bool by default (#170)
|
2015-06-11 09:00:06 -07:00 |
|
vitaut
|
fd5c2e909b
|
Report error when using precision with char
|
2015-06-11 08:58:31 -07:00 |
|
vitaut
|
b83ab16676
|
Break long lines
|
2015-06-11 06:14:42 -07:00 |
|
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
|
a5757c86df
|
FMT_EXTRA_TESTS -> FMT_PEDANTIC and use it to control extra warnings
|
2015-05-12 07:35:29 -07:00 |
|
vitaut
|
c8688576f2
|
Fix MinGW build
|
2015-05-11 19:10:31 -07:00 |
|
vitaut
|
8035c3eb30
|
Workaround a bug in the definition of fstat on some versions of MinGW
|
2015-05-11 08:44:40 -07:00 |
|
vitaut
|
3913f29ad7
|
Fix posix-test on MinGW
|
2015-05-11 07:57:08 -07:00 |
|
vitaut
|
2da08f21dd
|
Only run compile-test if FMT_EXTRA_TESTS is set
These tests can be quite time-consuming especially on Windows
|
2015-05-11 07:34:07 -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
|
40681e6037
|
Fix compilation of posix-test on MinGW
|
2015-05-06 07:29:58 -07:00 |
|
vitaut
|
ca2cadb1c6
|
Fix compilation when fileno is a macro
This can happen on broken versions of MinGW.
|
2015-05-06 07:19:42 -07:00 |
|
vitaut
|
87cb2935f8
|
Test and fix handling of exactly MAX_PACKED_ARGS arguments
|
2015-05-01 06:55:26 -07:00 |
|
vitaut
|
8d2559bd96
|
Reduce compiled code size
If the number of arguments is less than MAX_PACKED_ARGS, pass
the arguments as a Value array rather than Arg array.
|
2015-04-20 10:02:41 -07:00 |
|
vitaut
|
62c483c940
|
Test EnableIf
|
2015-04-20 08:08:02 -07:00 |
|
vitaut
|
60405cf693
|
Use /W4 in format-test and only if FMT_EXTRA_TESTS is set
as (1) we don't want to force /W4 on users of the library and (2) some of
the warnings only show up when the formatting functions are used.
|
2015-03-28 17:29:12 -07:00 |
|
vitaut
|
3a5573ac6e
|
Revert commit 3c3ae4e319
|
2015-03-27 07:36:26 -07:00 |
|
vitaut
|
3c3ae4e319
|
MakeValue -> MakeArg
|
2015-03-25 07:04:16 -07:00 |
|
vitaut
|
00df5c91f3
|
Merge Value into Arg
|
2015-03-25 06:48:21 -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 |
|
Shauren
|
a445e727c2
|
Added support to format more than 16 arguments with printf API when using variadic templates
|
2015-03-20 21:31:10 +01:00 |
|
vitaut
|
906432161b
|
Make Buffer part of the public API
|
2015-03-20 06:31:24 -07:00 |
|
vitaut
|
a53ac7ad5c
|
Workaround mingw bugs
|
2015-03-19 07:39:24 -07:00 |
|
vitaut
|
2adbfa4af7
|
Test IsConvertibleToInt with a C++11 enum
|
2015-03-18 11:02:37 -07:00 |
|
vitaut
|
538c2610cb
|
Move FMT_USE_VARIADIC_TEMPLATES definition to macro-test.cc
|
2015-03-17 07:57:30 -07:00 |
|
vitaut
|
a530052b7e
|
Only include crtdbg.h when compiling with MSVC
|
2015-03-16 18:05:45 -07:00 |
|
vitaut
|
eccd5e8d15
|
Fix test
|
2015-03-16 09:17:18 -07:00 |
|
vitaut
|
93ae73adbc
|
Fix a typo
|
2015-03-16 09:05:46 -07:00 |
|
vitaut
|
5aecd4947f
|
Use GetFileSize instead of GetFileSizeEx on Windows
|
2015-03-16 08:52:23 -07:00 |
|
vitaut
|
57f9f06619
|
More mingw fixes
|
2015-03-12 08:11:04 -07:00 |
|
vitaut
|
6bca5ca109
|
Woraround a bug in MinGW
|
2015-03-12 07:49:01 -07:00 |
|
Victor Zverovich
|
5821aec7b9
|
Implement printing of values that are convertible to int such as enums
|
2015-03-10 07:53:46 -07:00 |
|
Victor Zverovich
|
beaf6f7436
|
Add a fixed-size array writer
|
2015-03-01 18:08:24 -08:00 |
|
Victor Zverovich
|
2e3423b053
|
Update compile-test
|
2015-03-01 17:03:44 -08:00 |
|
Victor Zverovich
|
da6ac7fb26
|
Fix tests
|
2015-03-01 16:12:26 -08:00 |
|
Victor Zverovich
|
8a915b9b8d
|
Update compile-test
|
2015-03-01 14:13:45 -08:00 |
|
Victor Zverovich
|
642b72cd91
|
Fix StringRef test
|
2015-02-24 09:52:16 -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
|
5b0a9bbe85
|
Improve StringRef test
|
2015-02-17 06:45:45 -08:00 |
|
Carter Li
|
3f574c1611
|
Silence warnings on Windows
|
2015-02-17 10:11:42 +08:00 |
|
Victor Zverovich
|
bd133382f0
|
Fix BasicWriter::write without formatting arguments on C++11 (#109)
|
2015-02-16 14:32:38 -08:00 |
|
Carter Li
|
e2583ab5f3
|
Use throw() when noexcept is not supported
|
2015-02-14 09:58:29 +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
|
0bd32f3f29
|
Merge branch 'master' of github.com:cppformat/cppformat
|
2015-01-08 07:56:19 -08:00 |
|
Victor Zverovich
|
43aebf51d6
|
Allow precision specifier for non-float arguments
|
2015-01-08 07:56:08 -08:00 |
|
Mikolaj Paraniak
|
7f706171a9
|
Add format linking to tests
|
2015-01-06 16:57:07 +01: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
|
67e196eac4
|
Make test libraries static
|
2014-12-19 07:39:13 -08:00 |
|
Victor Zverovich
|
fb12cfd196
|
Suppress more bogus warnings
|
2014-12-17 06:53:32 -08:00 |
|
Victor Zverovich
|
c630d1f236
|
Disable "secure" warnings in posix.
|
2014-12-16 07:07:09 -08:00 |
|
Victor Zverovich
|
df580969f7
|
Add a test for header-only configuration
|
2014-12-09 06:22:55 -08:00 |
|
Victor Zverovich
|
615c1eef6b
|
Fix error handling in fmt::fprintf.
|
2014-11-14 09:40:01 -08:00 |
|
Victor Zverovich
|
8ea9f068c7
|
Convert tabs to spaces
|
2014-11-07 07:58:49 -08:00 |
|
Victor Zverovich
|
ed92af29b3
|
Add missing ')'
|
2014-10-30 13:58:16 -07:00 |
|
Victor Zverovich
|
14984acd27
|
Fix UTF conversion tests
|
2014-10-30 13:00:44 -07:00 |
|
Victor Zverovich
|
daca48cb15
|
Fix MSVC build
|
2014-10-30 12:20:08 -07:00 |
|
Victor Zverovich
|
cabe5bddb4
|
Fix util-test
|
2014-10-30 08:07:28 -07:00 |
|
Victor Zverovich
|
10d83aaa52
|
Test that StringRef size computation
|
2014-10-30 06:27:44 -07:00 |
|
Alexey Morozov
|
4d3126c567
|
sign-compare warnings fixes
|
2014-10-14 03:28:47 +07:00 |
|
Victor Zverovich
|
755ecb0311
|
Fix warnings
|
2014-10-13 08:39:38 -07:00 |
|
Victor Zverovich
|
5189274797
|
Fix warnings
|
2014-10-13 06:46:07 -07:00 |
|
Victor Zverovich
|
8b76e97062
|
Support compilation with exceptions disabled
|
2014-10-06 08:30:55 -07:00 |
|
Victor Zverovich
|
fae3ae67b9
|
Fix util-test
|
2014-10-01 09:32:31 -07:00 |
|
Victor Zverovich
|
03f7f99f4c
|
Fix build on pre-C++11 compilers
|
2014-10-01 08:24:47 -07:00 |
|
Victor Zverovich
|
8b9a6e03f6
|
Test buffer
|
2014-10-01 08:12:10 -07:00 |
|
Victor Zverovich
|
74dc571ba0
|
Support signed char and unsigned char strings
|
2014-09-30 08:15:56 -07:00 |
|
Victor Zverovich
|
98a25ec7cb
|
Test Buffer
|
2014-09-30 07:30:27 -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 |
|