826 Commits

Author SHA1 Message Date
Milo Yip
25e408dbe5 Typo 2015-04-03 12:58:23 +08:00
Milo Yip
b8cc02e0aa Try to fix a compilation error on gcc/clang 2015-04-03 11:35:32 +08:00
Milo Yip
fc18b12880 Minor dom doc modifications 2015-04-03 11:33:55 +08:00
Milo Yip
2d920e7e0f Add user buffer unit test 2015-04-03 11:25:19 +08:00
Milo Yip
51f439eddb Fix internals document doxygen table issue and typos 2015-04-03 11:06:15 +08:00
Milo Yip
6968fc5a36 Fix TODOs in DOM documentation 2015-04-03 10:28:02 +08:00
Milo Yip
b72219e7bb Fix language names in readme 2015-04-03 10:27:44 +08:00
Milo Yip
1ddbbdf83d Merge pull request #281 from pah/fix/zh-cn
fix zh-cn Doxygen generation for Travis CI
2015-04-03 10:00:56 +08:00
Philipp A. Hartmann
349f737fab readme.zh-cn.md: translate(?) english documentation link 2015-04-02 22:34:26 +02:00
Philipp A. Hartmann
b688580cb3 fix zh-cn Doxygen generation for Travis CI 2015-04-02 21:17:23 +02:00
Milo Yip
9b63f39cd5 Merge pull request #280 from miloyip/zh-cn
Localize documents to simplified Chinese
2015-04-02 16:01:37 +08:00
miloyip
d1a345a6c4 Add doxyfile for zh-cn 2015-04-02 15:48:13 +08:00
miloyip
7b685da2df Merge remote-tracking branch 'origin/master' into zh-cn 2015-04-02 15:32:44 +08:00
miloyip
49aff94d8d Update zh-cn doxygen 2015-04-02 15:32:30 +08:00
miloyip
2c1598536e Update and localize performance 2015-04-02 15:12:50 +08:00
miloyip
fb60787990 Update internals 2015-04-02 15:01:06 +08:00
Milo Yip
f5b021d7cb Merge pull request #279 from pah/fix/pedantic
Fixes for GCC with -pedantic
2015-04-02 09:44:25 +08:00
Philipp A. Hartmann
cda34f0033 encodings.h: hide overflow warning 2015-04-01 22:39:42 +02:00
Philipp A. Hartmann
525e8c5770 biginteger/diyfp: mark __int128 as extension on GCC 2015-04-01 22:39:26 +02:00
Philipp A. Hartmann
3b8158086d messagereader.cpp: drop trailing comma 2015-04-01 22:39:01 +02:00
Milo Yip
362221d3ca Merge pull request #274 from pah/fixes/273
tutorial.cpp: fix insitu parsing (closes #273)
2015-04-01 09:30:50 +08:00
Philipp A. Hartmann
953cda14f7 tutorial.cpp: fix insitu parsing (closes #273)
The insitu parsing example in the tutorial is using a local char
buffer inside a nested scope.  After leaving the scope, the
resulting Document object still references this (now invalid)
memory locations.

Some compilers reuse this space on the stack for other local
variables later in the function, corrupting the original document.

Drop the local scope to extend the lifetime of the buffer.
2015-03-31 20:55:00 +02:00
Milo Yip
b484407999 Merge pull request #272 from pah/fix/std-string-inclusion
document.h: include <string>, iff RAPIDJSON_HAS_STDSTRING==1
2015-03-31 10:09:26 +08:00
Philipp A. Hartmann
2f010e6e4b document.h: include <string>, iff RAPIDJSON_HAS_STDSTRING==1
Reported-by: Janusz Chorko (@yachoor)
See: https://github.com/miloyip/rapidjson/commit/c1c9ba7c#commitcomment-10434694
2015-03-30 22:37:24 +02:00
miloyip
ff22713fd0 Localized FAQ 2015-03-26 14:37:30 +08:00
miloyip
d243e5c156 Edit FAQ 2015-03-26 14:37:21 +08:00
miloyip
017394e8a9 Update tutorial links 2015-03-26 14:36:46 +08:00
miloyip
27e8f7811d Update FAQ 2015-03-25 17:15:56 +08:00
Milo Yip
a36110e118 Merge pull request #270 from thebusytypist/RefineCXX11RValueRefDetection
Check libstdc++ version to decide if enable rvalue ref support.
2015-03-25 10:43:21 +08:00
Milo Yip
da98b6d50f Merge pull request #271 from pah/fixes/266-travis-valgrind-x86
.travis.yml: disable SSE4.2 on 32-bit (closes #266)
2015-03-25 09:48:35 +08:00
Philipp A. Hartmann
107aff0c28 .travis.yml: disable SSE4.2 on 32-bit (closes #266) 2015-03-24 21:04:38 +01:00
thebusytypist
92c7485be0 Check libstdc++ version to decide if enable rvalue ref support. 2015-03-24 17:03:24 +08:00
Milo Yip
1906bf1cc2 Merge pull request #269 from thebusytypist/CleanInSourceBuildInstall
Exclude intermediate files from install of in-source build. (Issue #259)
2015-03-24 14:09:09 +08:00
thebusytypist
58cd253f8f Exclude intermediate files from install. 2015-03-24 13:50:02 +08:00
Milo Yip
89655979da Merge pull request #268 from miloyip/issue267_appveyorfail
Fix VS2012 compilation fail in stringbuffertest
2015-03-24 11:18:08 +08:00
miloyip
978a3ab830 Fix VS2012 compilation fail in stringbuffertest 2015-03-23 17:30:25 +08:00
Milo Yip
3a4835e080 Merge pull request #258 from pah/fixes/ci-debug-noperftest
Skip running perftest on CI debug builds (Appveyer; Travis)
2015-03-13 09:56:33 -04:00
Milo Yip
9279e9eca3 Merge pull request #257 from pah/fixes/254-addmember
GenericValue::AddMember<T>: add missing overload (closes #254)
2015-03-13 09:56:16 -04:00
Philipp A. Hartmann
2b5654692c .travis.yml: properly pass $ARCH_FLAGS
RapidJSON is C++, need to set CMAKE_CXX_FLAGS instead
of CMAKE_C_FLAGS when configuring the build environment.
2015-03-10 21:53:46 +01:00
Philipp A. Hartmann
66a2ccdd1d .travis.yml: add missing semicolon 2015-03-10 21:15:41 +01:00
Philipp A. Hartmann
aae07f6238 .travis.yml: re-add missing "apt-get update" call
(Accidentally dropped in 40c03114)
2015-03-10 20:48:39 +01:00
Philipp A. Hartmann
0ed4cdfa46 appveyor.yml: skip perftest on debug builds 2015-03-10 20:32:39 +01:00
Philipp A. Hartmann
c26a2a64af .travis.yml: skip perftest on debug builds 2015-03-10 20:29:15 +01:00
Philipp A. Hartmann
429b3dcfab .travis.yml: move comment of workaround for #163 2015-03-10 20:29:15 +01:00
Philipp A. Hartmann
242b393aae .travis.yml: cleanup ARCH configuration 2015-03-10 20:29:15 +01:00
Philipp A. Hartmann
c14dff1675 Merge branch 'cmake-update' of @jollyroger (#244) 2015-03-10 20:28:30 +01:00
Philipp A. Hartmann
06c3ddbac5 GenericValue::AddMember<T>: add missing overload (closes #254)
As discovered by @felipegb94, there are missing overloads to the
`GenericValue::AddMember<T>` template function, taking an explicit
`GenericValue&` as a name and accepting arbitrary primitive values.

This patch adds the missing overloads. The `StringRefType` overload
is needed to disambiguate the addition of a string literal as
value.

Some tests are added to `TEST(Value, Object)` in `valuetest.cpp`.
2015-03-10 19:11:27 +01:00
Milo Yip
1a043e62bd Localized SAX 2015-02-25 20:56:29 +08:00
Milo Yip
ee6ebc4b0f Localized DOM 2015-02-25 13:37:40 +08:00
Milo Yip
c745c953ad Merge pull request #249 from chhitz/pkg-config
RapidJSON.pc.in: include dir not set
2015-02-25 10:28:30 +08:00