Commit Graph

202 Commits

Author SHA1 Message Date
Victor Zverovich
c56b17029a Add msvc2019 to CI 2019-06-01 07:50:15 -07:00
Victor Zverovich
634f707f2b Simplify char_t and remove msvc2013 from CI 2019-05-31 19:28:37 -07:00
Victor Zverovich
91bb3aaf06 fmtlib.net -> fmt.dev 2019-05-17 15:42:00 -07:00
Victor Zverovich
5e7bdf1b97 Clean up vagrant config 2019-05-16 12:22:04 -07:00
Victor Zverovich
570453f271 Add a vagrant config for testing gcc 4.4 2019-05-16 06:26:16 -07:00
Victor Zverovich
f52c09f924 Fix format_to_n docs in 5.1.0 2019-05-08 12:40:25 -07:00
Victor Zverovich
41fbaeb3b1 Add <format> test 2019-04-13 11:37:52 -07:00
Victor Zverovich
8bc0adb9ba Get rid of obsolete cmake stuff 2019-04-13 11:37:52 -07:00
Victor Zverovich
0476a51cba Add Sublime syntax (#1037) 2019-02-15 15:08:58 -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
d39ece1870 Make rst2md runnable and update changelog 2018-12-28 12:04:34 -08:00
hotwatermorning
0835f1ba3b Use full paths for fmt.pc.in 2018-11-30 06:17:33 -08:00
Park Dong-Ha
6b26e3f2d7 Manifest & Gradle comment
- #926
- The version of android build results follows latest release(5.2.1)
- Comment for Gradle and its plugin for android
 - `net.fmtlib` package name in the manifest
2018-11-05 17:31:09 -08:00
Park Dong-Ha
d286c97753 Update for Gradle build
Recovered Gradle build with latest release (ver. 4.10.2)

TravisCI
- Changed several apt configurations & build steps for Android

AndroidManifest:
- package name: fmt -> org.fmtlib

Gradle:
- Plugin version 3.1.3. Requires Gradle 4.4+
- Removed `x86` (duplicated with `x86_64`)
- `-std=c++17`. Latest NDK(clang7) should support this
- Missing `repositories` configuration

For some reason, the `repositories` config affects to the error:
"Could not find com.android.tools.lint:lint-gradle:26.1.3."
2018-11-05 17:31:09 -08:00
Cole Mickens
9d0c9c4bb1 cmake: output share/fmt.pc 2018-10-24 07:14:08 -07:00
Victor Zverovich
66381e308d Minor cleanup 2018-09-13 07:37:50 -07:00
Victor Zverovich
465a593536 Add table support to rst2md 2018-09-13 07:15:18 -07:00
Victor Zverovich
9de312112a Reformat and add a comment 2018-08-15 06:54:43 -07:00
Victor Zverovich
0f04ec68a9 Fix package upload (#828) 2018-08-11 07:57:45 -07:00
Victor Zverovich
f0110e8125 Update changelog and CI 2018-07-04 17:43:07 -07:00
Elias Kosunen
691a7a91a1 Add more compilers to CI and increase FMT_PEDANTIC warning levels (#736)
* Add a _lot_ more warnings to FMT_PEDANTIC
Fix these warnings

* Add more compilers to CI
Fix (some) of the compiler errors with them

* Enable -Werror on CI
Increase warning level on MSVC when compiling with FMT_PEDANTIC

* Add VS 2013 and 2015 to Appveyor

* Fix Appveyor tests
Formatting

* Implement requested changes
Fix some of the MSVC warnings
Implement C++11 integer_sequence

* Reintroduce appveyor-build.py

* Remove ranges-test from tests

* Remove (some) explicit warning suppressions
Fix C++ standard setting in CI

* Remove (some) explicit warning suppressions
Fix C++ standard setting in CI

* Fix test builds with C++11

* Enable pedantic warnings on tests

* Fix warnings from edits to master

* Cleanups

* Add C++11 support to ranges.h
Re-enable ranges-test
Fix a Visual Studio error about function not returning a value in printf.h
Fix a bug in .travis.yml
2018-06-06 15:57:59 +02:00
Victor Zverovich
dd1a5ef7f9 Let requests close the file 2018-06-05 16:58:02 +02:00
Victor Zverovich
b60a5c5d49 Improve floating-point formatting 2018-05-28 20:16:30 -07:00
Victor Zverovich
2f257b7291 Implement normalization and simplify power table 2018-05-27 08:04:30 -07:00
Victor Zverovich
6a5bb6e268 Move Android.mk to support and update 2018-05-27 06:20:54 -07:00
Victor Zverovich
6dcc526d5b Update release script 2018-05-26 07:02:49 -07:00
Victor Zverovich
d72d046254 Update paths in fmt.pro 2018-05-09 06:21:00 -07:00
Victor Zverovich
2768af2388 Add cached powers of 10 2018-04-29 06:33:05 -07:00
Victor Zverovich
dd296e1de0 Add a script to compute powers of 10 2018-04-28 14:32:05 -07:00
Victor Zverovich
ded921f0a2 Fix documentation build, take 2 2018-04-15 10:34:04 -07:00
Victor Zverovich
3284751f43 Fix documentation build 2018-04-15 09:49:37 -07: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
0b508fd29d Fix c++0x detection 2018-02-11 07:32:22 -08:00
Victor Zverovich
1849735f12 Fallback to c++11 if c++14 not available 2018-02-11 07:25:53 -08:00
Giuseppe Corbelli
a502decddb Added a fmt.pro to support build using qmake (#641) 2018-02-10 07:22:02 -08:00
Victor Zverovich
35f8f03670 Use less version 2.6.1 and sudo to fix npm install issues on travis 2018-02-07 07:17:34 -08:00
Victor Zverovich
f62e225e82 Automatically update version in release script (#431) 2018-02-02 18:45:05 -08:00
Victor Zverovich
8ed163533c Fix a typo 2018-01-20 09:43:56 -08:00
Victor Zverovich
ac5f95208c Automatically add package to release 2017-11-25 08:23:13 -08:00
Victor Zverovich
bd5188c811 Remove MinGW because it's not on appveyor image 2017-10-19 06:46:25 -07:00
Victor Zverovich
b8f85f671f Use Visual Studio 2017 image on appveyor 2017-10-18 08:38:16 -07:00
Victor Zverovich
3785afc5a3 Pass errors to handler instead of throwing (#566) 2017-10-18 06:28:18 -07:00
Victor Zverovich
d5e918b61f Detect C++14 compiler support 2017-09-28 08:57:54 -07:00
Victor Zverovich
7175bd8ae6 Fix error on MinGW 2017-03-09 06:09:43 -08:00
Victor Zverovich
12a6027b40 Don't use -std compiler flag if CMAKE_CXX_STANDARD is specified (#366) 2016-08-05 08:22:45 -07:00
Victor Zverovich
1acfd07f1e Workaround broken MinGW installation on AppVeyor (#355) 2016-07-16 08:00:53 -07:00
Victor Zverovich
116914a949 Remove unused scripts 2016-06-22 20:58:19 -07:00
Victor Zverovich
689fd2ad49 Refactor release script 2016-06-22 07:58:35 -07:00
Victor Zverovich
7a0806a366 Fix release script 2016-06-22 07:29:34 -07:00
Victor Zverovich
d688072990 Break a long line 2016-06-22 06:29:18 -07:00
Victor Zverovich
aa1e6b0f75 Handle images in rst2md converter 2016-06-22 06:28:51 -07:00
Victor Zverovich
26819461bd Fix links in older docs 2016-06-17 07:30:42 -07:00
Victor Zverovich
a914384bc4 Merge update-website and release scripts 2016-06-16 07:53:07 -07:00
Victor Zverovich
41356aa00a Format scripts 2016-06-15 16:15:34 -07:00
Victor Zverovich
9d36a5a3b0 Remove .doctrees 2016-06-03 08:11:24 -07:00
Victor Zverovich
81e2dac955 Improve documentation build 2016-06-03 07:19:05 -07:00
Victor Zverovich
15008bf05d Generate docs for all versions 2016-06-02 08:47:33 -07:00
Victor Zverovich
06045cb4a5 Minor fixes to documentation build scripts 2016-06-02 06:52:07 -07:00
Victor Zverovich
0d9870dd9e Implement website update script 2016-06-01 07:45:54 -07:00
Victor Zverovich
8650c57ccd Reuse virtualenv to speed up builds 2016-05-26 08:00:41 -07:00
Victor Zverovich
971359997f Implement website update script 2016-05-26 06:44:20 -07:00
Victor Zverovich
f7abf9fd0f Implement website update script 2016-05-25 08:22:40 -07:00
Victor Zverovich
31a4f0ab05 Implement website update script 2016-05-09 08:36:16 -07:00
Victor Zverovich
140f11190b Add a website update script 2016-05-08 08:03:01 -07:00
Victor Zverovich
b344bd9582 Fix release script and changelog format 2016-05-07 09:21:26 -07:00
Dean Moldovan
3a04ebf14f Fix user-defined literal detection for Intel C++ compiler 2016-05-03 13:43:51 +02:00
Victor Zverovich
c33f3e281b cppformat -> fmt 2016-04-28 07:00:22 -07:00
Victor Zverovich
59d0efd6d6 Update links 2016-04-28 06:54:37 -07:00
Victor Zverovich
56b6c05bf9 Update links 2016-04-28 06:47:43 -07:00
Victor Zverovich
4a0d9dbc30 Update build script 2016-04-27 18:22:44 -07:00
Victor Zverovich
7f0d8184c9 cppformat -> fmt 2016-04-24 10:39:33 -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
63d7f3d116 Don't check for C++11 features if C++11 support is disabled 2016-03-18 08:10:06 -07:00
vitaut
062e3bd757 Add a branch option to the release script 2016-03-13 10:27:15 -07:00
vitaut
21b8279cfe Remove biicode because it has been shut down 2016-02-09 21:25:52 -08:00
vitaut
b8c6192a61 Simplify build config and enable C++11 by default 2016-02-09 08:43:39 -08:00
Mario Werner
016af73d19 fixed typo in script 2016-02-07 18:47:39 +01:00
Mario Werner
f961683516 specify c++11 as c++0x for travis 2016-02-07 18:41:46 +01:00
Mario Werner
27a1b787c8 test in c++ 98, 03 and 11 mode 2016-02-07 18:32:23 +01:00
Mario Werner
6a79a3279b build and test in c++11 and in c++98 mode 2016-02-07 18:23:02 +01:00
Mario Werner
be961bae0f fixed typo in python script 2016-02-01 10:41:45 +01:00
Mario Werner
0a4acc9656 use the cmake and ctest to drive the appveyor build 2016-02-01 10:22:47 +01:00
Mario Werner
0fb474be3a outlined the compiler feature tests to improve script readability 2016-01-29 13:03:47 +01:00
vitaut
22f61140d1 Format CMake files, ignore generated files and don't copy header 2016-01-13 07:14:32 -08:00
Mario Werner
daf74ae0b1 upgrades to cmake 2.8.12 and adds config and export support
This commit upgrades cmake to 2.8.12 to implement proper cmake
`find_package` support using config and export file generation.
Having this support enables users to use installed cppformat
with a simple `find_package` call. Directly using a version
from a build directory is also supported.

main.cpp:
```
 #include <cppformat/format.h>
int main(int argc, char** argv)
{
  for(int i = 0; i < argc; ++i)
    fmt::print("{}: {}\n",i,argv[i]);
  return 0;
}

```

CMakeLists.txt:
```
cmake_minimum_required(VERSION 2.8.12)

project(cppformat-test)

find_package(cppformat REQUIRED)

add_executable(cppformat-test "main.cpp")
target_link_libraries(cppformat-test cppformat)

```
Configuring when cppformat is installed under `CMAKE_INSTALL_PREFIX`: `cmake <PATH_TO_TEST_SRC>`

Configuring when cppformat is installed `ELSEWHERE`: `cmake -Dcppformat_DIR=<ELSEWHERE>/lib/cmake/cppformat <PATH_TO_TEST_SRC>`

Configuring when cppformat is only built: `cmake -Dcppformat_DIR=<cppformat_BUILD_DIR> <PATH_TO_TEST_SRC>`
2016-01-12 12:47:19 +01:00
vitaut
fac207816c Update release script 2015-11-30 08:23:16 -08:00
vitaut
289885e8c0 Fix branch detection on Travis 2015-11-23 08:47:46 -08:00
vitaut
96731cebe1 Print branch name 2015-11-23 08:21:22 -08:00
vitaut
ef5e5e02b4 Only update docs from master branch on travis 2015-11-12 08:47:07 -08:00
vitaut
11f946efff Make release script create a GitHub release 2015-11-12 07:39:09 -08:00
vitaut
5e37698911 Implement release script 2015-11-11 08:41:29 -08:00
vitaut
477962884e Add a release script 2015-11-10 08:20:21 -08:00
vitaut
9beb01d8e5 Add an appveyor/cmake workaround 2015-11-04 10:19:59 -05:00
vitaut
3814a07c44 Handle fast forward in update-coverity-branch.py 2015-10-20 07:14:40 -07:00
vitaut
317ff51fd9 Add a script to update the coverity branch 2015-10-19 08:08:23 -07:00
vitaut
931173ab77 Move appveyor.yml to support 2015-10-19 08:05:09 -07:00
vitaut
cdcdacef9c Handle undefined $PLATFORM 2015-08-07 07:21:43 -07:00
vitaut
43081b833a Build both on x86 and x64 2015-08-07 07:08:12 -07:00
vitaut
2c6e32f6ff Simplify appveyor config 2015-08-07 06:41:07 -07:00