Victor Zverovich
c37c4c437e
Fix find-package-test
2018-03-13 14:13:39 -04:00
Mario Werner
6d21fc43b9
add alias targets with fmt namespace
...
For the consumer it should not matter if fmt has been added to the
project as subdirectory or via find_package. With the alias targets
the library can be always imported via fmt::fmt.
2018-03-13 13:51:48 -04:00
Victor Zverovich
e02aacc634
Add CMake namespace ( #511 )
2018-03-13 13:03:18 -04:00
Park DongHa
aee4512cc5
Gradle ( #649 )
...
* Gradle
Gradle support to make ease of import in Android Java projects.
* Gradle
Gradle support for Android projects.
For command line build, `gradle assembe` will trigger build phase
- Config for Android .so file generation
- Commented build.gradle
- Automatic file copy after build
- Dummy AndroidManifest file
* Build with Gradle
- Build job for Travis CI
- Moved gradle file to support/
* Gradle Path
- Absolute path for Gradle binary
* File check after Gradle build
- Additional script for build success
- Check the Gradle's `assemble.doLast` task
2018-03-12 15:40:25 -04:00
Victor Zverovich
7db0e94b9e
Fix handling of numeric alignment with no width ( #675 )
2018-03-11 21:04:42 -04:00
Victor Zverovich
9facc119a6
Update docs
2018-03-10 09:44:37 -08:00
Victor Zverovich
a1d187113b
Merge branch 'master' of github.com:fmtlib/fmt
2018-03-10 06:46:51 -08:00
Victor Zverovich
daf650c49a
Disallow formatting of multibyte strings into a wide buffer ( #606 )
2018-03-10 06:46:41 -08:00
Victor Zverovich
8fd7e30f37
Update README.rst
2018-03-09 15:44:46 -08:00
Victor Zverovich
ca93be130a
Use fmt(s) as an alias for FMT_STRING(s)
2018-03-09 15:40:40 -08:00
Victor Zverovich
80e57c7a3d
Update to new naming conventions
2018-03-07 07:36:13 -08:00
Victor Zverovich
ae3cc844e7
Check format string at compile time in print
2018-03-07 05:41:45 -08:00
Victor Zverovich
585512fc7c
Remove unnecessary instantiations
2018-03-04 15:14:02 -08:00
Victor Zverovich
7755cdc199
Make symbols readable
2018-03-04 15:00:22 -08:00
Victor Zverovich
f867d08239
Update docs
2018-03-04 12:09:34 -08:00
Victor Zverovich
a103b9bc46
Workaround missed optimization in gcc ( #668 )
2018-03-04 11:45:20 -08:00
Victor Zverovich
bb47109a78
Cleanup
2018-03-04 11:25:40 -08:00
Victor Zverovich
f1ede6380b
Make inline_buffer_size public and update docs
2018-03-04 10:33:42 -08:00
Victor Zverovich
995b63adfe
Update copyright
2018-03-04 10:11:44 -08:00
Victor Zverovich
4023291759
Update docs
2018-03-04 09:55:17 -08:00
Victor Zverovich
86a9bc8291
Cleanup
2018-03-04 09:16:51 -08:00
Victor Zverovich
b7632e9641
Make format_to return iterator and update docs
2018-03-04 08:13:08 -08:00
Victor Zverovich
5281ea6ad2
do_vformat_to -> vformat_to and update docs
2018-03-04 06:40:43 -08:00
Victor Zverovich
d07ba49821
Fix docs
2018-03-03 22:12:23 -08:00
Victor Zverovich
418659adbe
Fix compilation errors on gcc 4.4
2018-03-03 14:04:59 -08:00
Victor Zverovich
1d2adef28d
Fix compilation errors on gcc 4.4
2018-03-01 03:45:25 -08:00
Victor Zverovich
45518c3fe1
Fix compilation errors on gcc 4.4
2018-02-28 07:47:24 -08:00
Victor Zverovich
698d909706
Workaround a bug in gcc 5.1
2018-02-28 06:14:56 -08:00
Victor Zverovich
81074c7048
Fix more compilation errors on gcc 4.6
2018-02-28 05:23:25 -08:00
Victor Zverovich
1b4525384b
Fix more compilation errors on gcc 4.6
2018-02-28 05:09:24 -08:00
Victor Zverovich
6090e51b65
Fix compilation errors on gcc 4.6
2018-02-28 04:49:20 -08:00
Victor Zverovich
0827ec5aa9
Fix compilation errors on gcc 4.6
2018-02-28 04:33:43 -08:00
Victor Zverovich
4d35f94133
Always use fallback string_view to pass format string ( #664 )
2018-02-24 18:19:30 +00:00
Victor Zverovich
34cf54c2fc
Update README.rst
2018-02-24 09:37:17 +00:00
Victor Zverovich
0565d65461
Fix gcc 7.2 issue
2018-02-24 09:29:15 +00:00
Victor Zverovich
f5dc0ed342
Break long lines
2018-02-24 08:39:17 +00:00
Lars Gullik Bjønnes
ea06f021f8
test: comment out one FormatStringErrors constexpr test
...
GCC 7.3 complains that this is not a compile time constant.
test/format-test.cc: In member function ‘virtual void FormatTest_FormatStringErrors_Test::TestBody()’:
test/format-test.cc:1919:3: error: non-constant condition for static assertion
static_assert(test_error<__VA_ARGS__>(fmt, error), "")
^
test/format-test.cc:1924:3: note: in expansion of macro ‘EXPECT_ERROR’
EXPECT_ERROR("{0:s", "unknown format specifier", Date);
^~~~~~~~~~~~
2018-02-24 08:20:20 +00:00
Lars Gullik Bjønnes
5b49177352
test: Initialize some local variables
...
GCC 7.3 complains about uninitialized varaibles in constexpr context.
2018-02-24 08:20:20 +00:00
Lars Gullik Bjønnes
f45f70af09
Use trailing return type instead of deduction
...
C++11 does not support deduction of return type.
2018-02-24 08:20:20 +00:00
Lars Gullik Bjønnes
db86e8d5d3
Remove a couple of unused argument names
2018-02-24 08:20:20 +00:00
Lars Gullik Bjønnes
55f5c9f21b
Use FMT_NULL instead of 0 is a few more places.
...
Found with GCC and -Wzero-as-null-pointer-constant
2018-02-24 08:20:20 +00:00
johnthagen
e92ba1071d
Fix Python str.format link to point to Python 3 docs
2018-02-20 17:40:49 +00:00
Victor Zverovich
a7ae5666a0
Enable join on msvc
2018-02-19 21:03:51 +00:00
Victor Zverovich
24d249b0b4
Fix formatting of objects convertible to string_view
2018-02-19 20:25:56 +00:00
hubslave
e508e30800
Don't define FMT_LOCALE on OpenBSD
...
OpenBSD doesn't have strtod_l() (at least under the default
headers), so the class Locale that the macro gates won't compile.
2018-02-19 19:24:33 +00:00
Victor Zverovich
0ee4273b04
Put is_enum check first not to instantiate convert_to_int unnecessarily
2018-02-18 05:47:29 +00:00
Victor Zverovich
8ca3ab2c4c
Revert problematic pragma
2018-02-18 05:38:32 +00:00
Victor Zverovich
18ac98700e
Fix formatting of objects convertible to std::string
2018-02-17 12:57:18 +00:00
Victor Zverovich
ce4a65ffea
Add pointer support to basic_writer
2018-02-17 09:38:46 +00:00
Victor Zverovich
91721caa42
Add detection of wostream operator<< ( #650 )
2018-02-17 09:03:43 +00:00