Commit Graph

2083 Commits

Author SHA1 Message Date
Victor Zverovich
e569297d6a Update Android config 2016-04-24 10:23:02 -07:00
Victor Zverovich
bea282dae9 cppformat -> fmt 2016-04-24 09:18:15 -07:00
Victor Zverovich
17544b1824 Add compatibility headers 2016-04-24 09:10:58 -07:00
Victor Zverovich
afd67497de cppformat -> fmt 2016-04-24 09:06:12 -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
c7d9d79ad2 Document visitors and formatters 2016-04-21 07:31:32 -07:00
vitaut
9ae2ac2fb7 Document ArgVisitor 2016-04-21 06:59:48 -07:00
vitaut
125bb0f19a Revise docs 2016-04-21 06:50:54 -07:00
vitaut
bfdca8b576 Make ArgVisitor public and document it
Also remove unnecessary namespace qualification.
2016-04-20 09:11:33 -07:00
vitaut
da3467b7f9 Document BasicArgFormatter 2016-04-20 07:45:11 -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
b69e6dcead Make BasicArgFormatter public and add ArgFormatter
This allows providing custom argument formatters without relying on
internal APIs (#235).
2016-04-19 08:56:31 -07:00
vitaut
4d8cee2d48 Document the n format specifier 2016-04-17 20:46:08 -07:00
vitaut
f68771abe4 Implement locale-specific integer formatting 2016-04-17 19:06:03 -07:00
vitaut
581afee039 Enable wstring in gtest (#304) 2016-04-13 08:26:42 -04:00
vitaut
e49a4e0aff Bump version and adjust comments 2016-04-12 07:42:47 -04:00
vitaut
753e9a04c0 Update version 2016-04-11 20:02:42 -04:00
vitaut
18c69c998d Update changelog and version 2016-04-11 19:59:22 -04:00
vitaut
6cfe43539a Update version 2016-04-11 19:59:01 -04:00
vitaut
c61043450b Update changelog 2016-04-11 19:57:39 -04:00
vitaut
e4f7d0d311 Resolve overloads 2016-04-11 09:32:24 -04:00
Victor Zverovich
d8e246daaf Merge pull request #299 from niosHD/minor-packaging-improvements
Minor packaging improvements
2016-04-07 07:35:09 -07:00
Mario Werner
620f999e80 ignore the current build directory when packaging
This makes sure that the current build directory is not packaged
with the regular source tree when `make package_source` is used.
2016-04-06 09:49:34 +02:00
Mario Werner
dcbb6b1e4d make the install location for the generated cmake files configurable
By default the cmake files are installed to "<prefix>/lib/cmake/cppformat".
This can now be customized using the `FMT_CMAKE_DIR` cache variable.
Valid paths are documented in the cmake manual [1].

e.g., install the cmake files to "<prefix>/share/cmake/cppformat"
```
cmake -DFMT_CMAKE_DIR=share/cmake/cppformat <path-to-source>
```

Tip: Try `make package` to examine the result.

[1] https://cmake.org/cmake/help/v3.0/command/find_package.html
2016-04-06 09:33:13 +02:00
vitaut
a99891e7a5 Use a mock to test custom argument formatter 2016-03-19 07:36:28 -07:00
vitaut
52f89065e1 Make argument formatter customizable 2016-03-19 07:20:31 -07:00
vitaut
9ffe98c00e Fix/suppress MSVC warnings 2016-03-19 06:39:33 -07:00
vitaut
63d7f3d116 Don't check for C++11 features if C++11 support is disabled 2016-03-18 08:10:06 -07:00
vitaut
c052cf11b9 Improve coding style consistency 2016-03-18 07:59:04 -07:00
vitaut
0c901efb16 Use less strict pedantic flags for tests because of GMock (#291) 2016-03-18 07:52:24 -07:00
vitaut
030cccfeef Update changelog 2016-03-17 07:28:21 -07:00
vitaut
062e3bd757 Add a branch option to the release script 2016-03-13 10:27:15 -07:00
Victor Zverovich
5174b8ca28 Update README.rst 2016-03-10 10:52:21 -08:00
Victor Zverovich
090de29ddf Update README.rst 2016-03-10 10:51:52 -08:00
vitaut
59607f5e99 Fix warnings on GCC 4.6.3 2016-03-09 07:47:08 -08:00
vitaut
763d1fe6a3 Suppress warnings in Google Mock 2016-03-08 07:36:22 -08:00
vitaut
7d6622942c Break a long line 2016-03-08 06:55:41 -08:00
vitaut
0867c1b447 Test writing to ostream 2016-03-08 06:47:53 -08:00
Victor Zverovich
6883d6e724 Merge pull request #285 from mwinterb/winerror_winu
Changed format_windows_error to not need LocalFree
2016-03-06 06:55:37 -08:00
Michael Winterberg
8f4b8edb8b Added test of error code that forces the insufficient buffer code path. 2016-03-04 17:47:37 -08:00
vitaut
5324d385c0 Fix a MSVC warning 2016-03-04 06:44:12 -08:00
Victor Zverovich
fc505b5447 Merge pull request #286 from Naios/master
Define FMT_NOEXCEPT empty when exceptions are disabled
2016-03-03 09:54:27 -08:00
Denis Blank
3c3d6b3d2a Define FMT_NOEXCEPT empty when exceptions are disabled
* Fixes warnings about disabled exception support in MSVC
2016-03-03 17:23:25 +01:00
Michael Winterberg
2a05a87fe7 Changed format_windows_error to not need LocalFree
This is for non-'Desktop' applications that have a
more limited collection of functions.
2016-03-02 17:35:34 -08:00
vitaut
3ecad55910 Fix sign conversion warnings 2016-03-02 07:53:14 -08:00
vitaut
d929fdeb9b Fix clang warnings 2016-03-02 07:02:57 -08:00
vitaut
9d577cae6f Fix handling of negative error codes in format_error_code 2016-03-02 07:01:21 -08:00
Victor Zverovich
6e820841d4 Add mongo_smasher to the list of projects 2016-03-01 14:28:52 -08:00