Commit Graph

237 Commits

Author SHA1 Message Date
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
vitaut
0332284ce3 Fix MinGW build on Appveyor by changing search path order
C:\MinGW\bin should go first to prevent executables from older
version of MinGW in C:\MinGW\mingw32 being picked up.
2015-06-29 07:22:45 -07:00
vitaut
279749168a Try to work around an issue with msbuild caused by Appveyor update 2015-06-27 08:38:26 -07:00
vitaut
99edb141ec Don't try updating cppformat.github.io without permissions 2015-06-04 12:52:42 -07:00
vitaut
d8a3b74664 Simplify download with urllib.urlretrieve 2015-05-24 08:03:22 -07:00
vitaut
5a61d54eb7 Install newer version of Doxygen because of a bug in version 1.7.6.1 (#162) 2015-05-24 07:48:06 -07:00
vitaut
c389ec05a1 Redirect from RTD to GitHub Pages 2015-05-22 06:47:05 -07:00
vitaut
dfe2a65b5d Remove diagnostics and re-enable build configs 2015-05-21 20:25:15 -07:00
vitaut
efba235246 Regenerate key and prevent leakage 2015-05-21 19:29:45 -07:00
vitaut
44fabfc803 Add diagnostics 2015-05-21 19:01:47 -07:00
vitaut
37141a1e3f Install less-plugin-clean-css 2015-05-21 08:26:36 -07:00
vitaut
719208c24b Now do the same as root 2015-05-21 08:14:47 -07:00
vitaut
3e49279267 Add APT key 2015-05-21 08:03:00 -07:00
vitaut
595845153d Fix nodesource.list creation 2015-05-21 07:20:26 -07:00
vitaut
f77b00e1f7 Try installing new version of lessc 2015-05-21 07:04:56 -07:00
vitaut
eb20f8aece Try installing lessc 2015-05-20 18:22:53 -07:00
vitaut
fbc2fcb3e2 Create a link for node_modules 2015-05-20 12:29:47 -07:00
vitaut
469f3674cf Ignore build files and simplify building docs locally 2015-05-20 08:28:54 -07:00
vitaut
f9936c4859 Build docs on travis 2015-05-20 08:06:12 -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
6dd532b456 Add mingw bin directory to path and enable mingw build 2015-03-12 06:13:51 -07:00
Victor Zverovich
da547f5533 Fix mingw build, take 2 2015-03-10 09:43:12 -07:00
Victor Zverovich
961097315c Fix mingw build 2015-03-10 09:18:31 -07:00
Victor Zverovich
f9e1c2bd59 Use preinstalled mingw on appveyor 2015-03-10 08:52:39 -07:00
Victor Zverovich
4ff6ab396c Fix biicode build script 2015-03-04 09:24:54 -08:00
Victor Zverovich
14d1fb561f Don't run biicode on Travis 2015-03-04 09:22:52 -08:00
Victor Zverovich
7ae6dfbcba Fix cmake command 2015-03-04 08:57:56 -08:00
Victor Zverovich
bdada10c2c Only run biicode-build on Linux and print cmake version 2015-03-04 08:53:51 -08:00
Victor Zverovich
65cf5414c9 Temporarily disable biicode build 2015-03-04 08:33:13 -08:00
Victor Zverovich
cb40e7c60b Fix biicode-build script 2015-03-04 08:24:35 -08:00
Victor Zverovich
3a9b7ad8b6 Pass env to bii 2015-03-04 08:07:26 -08:00
Victor Zverovich
38b5f573dd Set CMAKE_ROOT 2015-03-04 08:01:56 -08:00
Victor Zverovich
5ad6c6bd7f Use correct path to CMake bin directory, take 2 2015-03-04 07:51:09 -08:00
Victor Zverovich
85ef48cb6d Use correct path to CMake bin directory 2015-03-04 07:36:30 -08:00
Victor Zverovich
a6864a7264 Fix CMake installation and enable biicode build 2015-03-04 07:07:13 -08:00
Victor Zverovich
e1b62a5d39 Install CMake in system dirs 2015-03-03 22:12:37 -08:00
Victor Zverovich
4d208ae86f Install newer version of cmake 2015-03-03 22:07:20 -08:00
Victor Zverovich
e6113fb9f5 Rewrite biicode build script in Python and simplify 2015-03-03 21:45:47 -08:00
Victor Zverovich
267d4542bb Remove unnecessary stuff from biicode-build.sh 2015-03-02 07:54:13 -08:00
Victor Zverovich
ee5443e920 Move biicode files to support/biicode 2015-03-02 07:48:57 -08:00
Victor Zverovich
63b4f0ae1a build.py -> appveyor-build.py 2015-03-01 17:20:22 -08:00
Victor Zverovich
5bea8a649b Move biicode C++ Format sample to support/biicode/sample.cc 2015-03-01 17:12:14 -08:00
Victor Zverovich
1244f3d58f Move biicode.cmake to support/cmake 2015-03-01 17:00:53 -08:00
Victor Zverovich
656f0895ed Add readme 2015-03-01 16:48:08 -08:00
Victor Zverovich
5a51aac85e Move biicode build script to support/biicode-build.sh 2015-03-01 16:46:44 -08:00
Victor Zverovich
67089022bf Run test commands during CI builds 2015-03-01 15:21:33 -08:00
Victor Zverovich
2b35c9e8e7 Move CMake files to support 2015-02-21 16:02:44 -08:00
Victor Zverovich
a16ca84346 Use mirror 2015-02-17 09:19:49 -08:00
Victor Zverovich
88835f8468 Fix mingw download URL 2015-02-17 09:16:50 -08:00
Victor Zverovich
950e6b9753 Fix downloader 2015-02-12 21:34:36 -08:00
Victor Zverovich
c110f7b8d3 Move the code from appveyor config to a Python script
No more PowerShell rubbish, yay!
2015-02-12 17:53:39 -08:00
Victor Zverovich
609f33c94a Fix appveyor script 2015-02-12 15:41:30 -08:00
Victor Zverovich
2ced92529d Move logic from travis.yml to a Python script 2015-02-12 15:34:38 -08:00