Philipp A. Hartmann
55757ff420
Doxyfile: expand RapidJSON namespace macros
2014-11-06 20:52:49 +01:00
Philipp A. Hartmann
20bab938b7
Drop thirdparty JSON implementations/performance tests
...
With the implementation of the more elaborate benchmarking
suite at https://github.com/miloyip/nativejson-benchmark ,
the thirdparty performance tests are superseded.
2014-10-28 19:35:36 +01:00
Sean Leather
2e0ce28ed2
Use -march=native for platform-specific optimizations
2014-10-17 22:38:53 +02:00
Philipp A. Hartmann
5672d24651
GenericValue: add RAPIDJSON_NOEXCEPT
...
Added basic detection of `noexcept` support for some compilers, added
corresponding RAPIDJSON_NOEXCEPT annotations to
* non-allocating constructors
* (move) assignment
* Swap
2014-08-31 17:42:18 +02:00
Philipp A. Hartmann
b56641106b
improve EN/DISABLEIF macros to support complex templated parameters
2014-08-30 12:52:36 +02:00
Philipp A. Hartmann
1621ba3a41
add Doxygen documentation for error handling customization
2014-08-19 19:13:01 +02:00
Milo Yip
0dbcc1cf2e
Add license and change indents from tab to space.
2014-08-11 22:26:45 +08:00
Milo Yip
34dd0fd68f
Merge pull request #99 from pah/travis-ci
...
travis-doxygen.sh: only overwrite .git-credentials, iff not exists
2014-08-11 16:11:41 +08:00
Philipp A. Hartmann
5ecf7f50ed
premake.lua: relax warnings for GTest and perftest ( fixes #86 )
...
For the "test" solution, the "gtest" and "perftest" projects contain
third-party code. Relax the warning settings for "gmake" for these
projects to avoid build failures due to third-party code.
2014-07-31 21:12:45 +02:00
Philipp A. Hartmann
d08eb7656f
travis-doxygen.sh: only overwrite .git-credentials, iff not exists
2014-07-13 12:10:42 +02:00
Philipp A. Hartmann
8d8ce9e9c5
travis-doxygen.sh: don't ignore Doxygen push error
2014-07-13 11:54:24 +02:00
Philipp A. Hartmann
03834b5980
travis-doxygen.sh: directly setup .git-credentials
...
Instead of fiddling with the non-working GIT_ASKPASS/core.askpass
setup, simply store the required Git credentials directly in
~/.git-credentials, which is used by Git's "store" credential helper.
Works on https://travis-ci.org/pah/rapidjson .
2014-07-13 11:49:53 +02:00
Philipp A. Hartmann
4dafa2ac42
travis-doxygen.sh: try to explicitly implement an empty GIT_ASKPASS
2014-07-13 11:49:45 +02:00
Philipp A. Hartmann
c1afdc8df2
travis-doxygen.sh: allow overriding GitHub repo from environment
2014-07-12 19:58:52 +02:00
Philipp A. Hartmann
2875b57616
Revert "Travis config trial: git config --global"
...
Avoids messing with global config when running the script
manually on a developer machine.
This reverts commit 6225092355e3087c3e73928f54cc1073c55067d6.
2014-07-12 19:58:52 +02:00
Philipp A. Hartmann
4575f93431
MacOS X doesn't have '/bin/true'
2014-07-12 19:58:52 +02:00
Milo Yip
3c8a923439
Add simplereader, simplewriter examples.
...
Also modify premake to add all projects in example folder.
2014-07-12 23:07:41 +08:00
Milo Yip
6225092355
Travis config trial: git config --global
2014-07-12 18:42:26 +08:00
Milo Yip
ca05d85183
Revert "Travis config trial: using original name/email"
...
This reverts commit ded7dc723d0609111f5c2df0ff32eeaf0894b2d9.
2014-07-12 18:34:29 +08:00
Milo Yip
ded7dc723d
Travis config trial: using original name/email
2014-07-12 18:30:19 +08:00
Philipp A. Hartmann
33da6610f9
travis-doxygen.sh: temporarily ignore failing GH page update
2014-07-11 13:29:50 +02:00
Philipp A. Hartmann
5050f18743
travis-doxygen.sh: add GH_TOKEN sanity check
2014-07-11 13:20:18 +02:00
Philipp A. Hartmann
6d5583628a
premake4.lua: only enable "-Wswitch-default" in unittest
...
There's no need to enforce this flag during the build of the perftest
or the GoogleTest library, as both include third-party code.
2014-07-10 20:49:10 +02:00
Philipp A. Hartmann
72d0d42a1f
travis-doxygen.sh: avoid leaking the GitHub token in build log
2014-07-09 18:24:13 +02:00
Milo Yip
63de910d16
Merge pull request #57 from pah/cleanup/string-handling
...
Improved handling of (constant) strings
2014-07-09 23:05:00 +08:00
Philipp A. Hartmann
b3665606a9
fixup travis doxygen build
2014-07-09 08:01:25 +02:00
miloyip
a5b39958ea
Adding git config in travis doxygen
2014-07-09 13:21:07 +08:00
Philipp A. Hartmann
9b3969d0e1
GenericValue: fixup bool constructor
...
With the new string handling API, the constructor taking a `bool`
parameter matches in some unwanted cases, as pointers can be casted
to `bool` implicitly.
Add a SFINAE helper to this constructor to avoid matching arbitrary
pointers. To avoid confusion for the user, this mechanism is hidden
from the Doxygen documentation.
2014-07-08 20:41:59 +02:00
Philipp A. Hartmann
db8f45573f
Doxyfile: expand internal RAPIDJSON_DISABLEIF_RETURN macro
2014-07-08 20:23:34 +02:00
Philipp A. Hartmann
7c7eb1c5c0
Travis CI: build/update Doxygen from separate script
...
In this patch, a script 'build/travis-doxygen.sh' is added to
build and push the Doxygen documentation to the GitHub pages at
https://miloyip.githib.io/rapidjson .
The script exits gracefully, if the build is requested for
- a branch other than 'master'
- a pull-request
- a job (i.e. CI configuration) other than "1"
In case the "secure variables" are not available, only the final upload
is skipped, in order to allow testing of the script's basic functionality.
Update .travis.yml to call the script.
2014-07-08 18:56:07 +02:00
Milo Yip
62970ee230
Improves documentation style, TOC, fixes links.
...
Some links will become broken in GitHub.
2014-07-08 14:11:18 +08:00
miloyip
8d612570c8
Revise doxygen style
...
Imitate readthedocs
2014-07-07 19:15:10 +08:00
Milo Yip
19cdf7b77f
Delete customdoxygen.css
2014-07-07 01:12:13 +08:00
Milo Yip
6e4d8db51d
Fix readme issue in doxygen, customize css
...
Imitate GitHub markdown rendering
2014-07-07 01:01:49 +08:00
Philipp A. Hartmann
252e282dc6
Doxyfile: prepare for Markdown rendering
2014-07-06 15:35:38 +02:00
Milo Yip
e2cd486e6e
Fixes -Wswitch-default warnings
2014-07-04 17:25:33 +08:00
Milo Yip
ebbfaf1c13
Fixes premake4 script for VS
2014-07-03 01:59:13 +08:00
Milo Yip
104c3954bd
Revert "Fixes premake4 for VS"
...
This reverts commit 63757f6405e327b100cc51e35fdf8cf32b5cc286.
2014-07-03 01:51:08 +08:00
Milo Yip
63757f6405
Fixes premake4 for VS
2014-07-03 01:50:12 +08:00
Milo Yip
5a186104f4
Fixes warnings
2014-07-03 00:59:35 +08:00
Milo Yip
a2240e26ab
Fixes premake.sh
...
Add interpreter
Change line endings
Fixes https://code.google.com/p/rapidjson/issues/detail?id=54
2014-06-30 18:26:46 +08:00
Milo Yip
6f7d6642ef
Turn off -Weverything for Travis.
2014-06-29 16:50:26 +08:00
Milo Yip
cd144c3cfd
Added a simple example and a diagram showing the process.
2014-06-28 19:44:11 +08:00
Milo Yip
cdbe9791f9
Rename premake to premake.sh
2014-06-26 11:48:28 +08:00
Milo Yip
609381fc2e
Fixed some clang -Weverything warnings.
2014-06-25 23:14:32 +08:00
Milo Yip
f930d9e2e5
Revert "Remove some clang -Weverything warnings."
...
This reverts commit e4ffa48a7563e892047c27f0a50fdeb6f71e6b8b.
2014-06-25 16:07:44 +08:00
Milo Yip
e4ffa48a75
Remove some clang -Weverything warnings.
2014-06-25 16:06:00 +08:00
miloyip@gmail.com
90f983ced2
Fixed Issue 46: old style cast to 'void*' casts away const in document.h
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@88 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-15 03:46:14 +00:00
miloyip@gmail.com
9c68ce986e
Fixed a lots of vc2008/vs2010 and gcc3/4 warnings with the maximum warning level.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@67 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-13 08:02:22 +00:00
miloyip@gmail.com
bf8fcd19c1
Added prettyauto example, which can handle UTF-8/UTF-16LE/UTF-16BE/UTF-32LE/UTF-32BE
...
Fixed a bug for using Reader with AutoUTFInputStream
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@50 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-12-03 11:14:39 +00:00