platform/upstream/jsoncpp.git
8 years ago1.6.5 1.6.5
Christopher Dunn [Thu, 23 Jul 2015 05:20:35 +0000 (00:20 -0500)]
1.6.5

8 years agoExceptions declared in header
Christopher Dunn [Thu, 23 Jul 2015 05:19:12 +0000 (00:19 -0500)]
Exceptions declared in header

resolves #272

8 years agocorrection for #316
Christopher Dunn [Thu, 23 Jul 2015 05:25:56 +0000 (00:25 -0500)]
correction for #316

8 years agoMerge pull request #316 from filipjs/master
Christopher Dunn [Fri, 17 Jul 2015 11:44:33 +0000 (06:44 -0500)]
Merge pull request #316 from filipjs/master

Update json_tool.h

typo in a comment

8 years agoUpdate json_tool.h
filipjs [Tue, 14 Jul 2015 12:34:07 +0000 (14:34 +0200)]
Update json_tool.h

Fix a typo in comment.

8 years agoMerge pull request #314 from cdunn2001/master
Christopher Dunn [Sun, 12 Jul 2015 19:38:02 +0000 (14:38 -0500)]
Merge pull request #314 from cdunn2001/master

-Werror

plus small bug-fix

8 years ago1.6.4
Christopher Dunn [Sun, 12 Jul 2015 19:29:51 +0000 (14:29 -0500)]
1.6.4

minor bug-fix

8 years ago-Werror
Christopher Dunn [Sun, 12 Jul 2015 19:25:21 +0000 (14:25 -0500)]
-Werror

8 years agofixed a bug found by -Wshadow
Christopher Dunn [Sun, 12 Jul 2015 17:58:54 +0000 (12:58 -0500)]
fixed a bug found by -Wshadow

8 years agofix some warnings
Christopher Dunn [Sun, 12 Jul 2015 17:55:18 +0000 (12:55 -0500)]
fix some warnings

8 years agodrop -Wsign-conversion
Christopher Dunn [Sun, 12 Jul 2015 17:49:57 +0000 (12:49 -0500)]
drop -Wsign-conversion

8 years ago-Wconversion
Christopher Dunn [Sun, 12 Jul 2015 17:32:33 +0000 (12:32 -0500)]
-Wconversion

* https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
* http://programmers.stackexchange.com/questions/122608/clang-warning-flags-for-objective-c-development/124574#124574

In clang: `-Wconversion` implies `-Wshorten-64-to-32`

8 years agoauto-generated file with minor update
Christopher Dunn [Sun, 12 Jul 2015 17:31:43 +0000 (12:31 -0500)]
auto-generated file with minor update

8 years agoMerge pull request #313 from cdunn2001/master
Christopher Dunn [Sun, 12 Jul 2015 17:18:28 +0000 (12:18 -0500)]
Merge pull request #313 from cdunn2001/master

`-std=c++11` for gcc builds too

There was an issue with Travis, but we seem to be past that now.

We were using only -std=c++0x for gcc, as you can see in the diff.

resolves #134

8 years ago-std=c++11 for gcc builds too
Christopher Dunn [Sun, 12 Jul 2015 17:08:34 +0000 (12:08 -0500)]
-std=c++11 for gcc builds too

8 years agoMerge pull request #312 from cdunn2001/master
Christopher Dunn [Sun, 12 Jul 2015 17:04:41 +0000 (12:04 -0500)]
Merge pull request #312 from cdunn2001/master

gcc-4.9, clang (3.0)

8 years agogcc-4.9, clang (3.0)
Christopher Dunn [Sun, 12 Jul 2015 14:53:40 +0000 (09:53 -0500)]
gcc-4.9, clang (3.0)

8 years agoMerge pull request #309 from cdunn2001/master
Christopher Dunn [Sat, 11 Jul 2015 19:19:02 +0000 (14:19 -0500)]
Merge pull request #309 from cdunn2001/master

dockerize the Travis build, and allow C++11

8 years agovalgrind in Travis
Christopher Dunn [Sat, 11 Jul 2015 19:09:52 +0000 (14:09 -0500)]
valgrind in Travis

8 years agodockerize the Travis build
Christopher Dunn [Sat, 11 Jul 2015 19:06:18 +0000 (14:06 -0500)]
dockerize the Travis build

Docker builds are *much* faster in Travis.

Also, we prepare to enable C++11.

8 years ago1.6.3
Christopher Dunn [Sat, 11 Jul 2015 18:41:13 +0000 (13:41 -0500)]
1.6.3

8 years agominor doc fix, for #302
Christopher Dunn [Sat, 11 Jul 2015 17:09:59 +0000 (12:09 -0500)]
minor doc fix, for #302

8 years agoMerge pull request #305 from cdunn2001/fix-fixeol-undefined-name-sys
Christopher Dunn [Sat, 11 Jul 2015 16:17:09 +0000 (11:17 -0500)]
Merge pull request #305 from cdunn2001/fix-fixeol-undefined-name-sys

Fix undefined name "sys"

Same as #299 (bca0eff), but an earlier commit needed to be rebased.

8 years agoFix undefined name "sys"
Mike Naberezny [Fri, 3 Jul 2015 22:47:00 +0000 (15:47 -0700)]
Fix undefined name "sys"

Same as #299 (bca0eff81a1c5ef160d9858b8e89b1c919b71c1f), but an earlier
commit needed to be rebased.

8 years agoMerge pull request #304 from cdunn2001/297
Christopher Dunn [Sat, 11 Jul 2015 16:08:47 +0000 (11:08 -0500)]
Merge pull request #304 from cdunn2001/297

Same as #297 (1c4f274ab32594d717fc442a0f8a68d9e7633637), but properly rebased

8 years agoFix #296: Explicitly cast size_t results to unsigned when needed
Stuart Eichert [Wed, 1 Jul 2015 21:18:15 +0000 (14:18 -0700)]
Fix #296: Explicitly cast size_t results to unsigned when needed

This is rebased from #297, where AppVeyor had been failing, and which
was not properly based on the master branch.

8 years agoWarn about implicit 64 to 32 bit conversions when using clang
Stuart Eichert [Wed, 1 Jul 2015 21:05:54 +0000 (14:05 -0700)]
Warn about implicit 64 to 32 bit conversions when using clang

8 years agoMerge pull request #303 from cdunn2001/appveyor-14.0
Christopher Dunn [Sat, 11 Jul 2015 15:58:59 +0000 (10:58 -0500)]
Merge pull request #303 from cdunn2001/appveyor-14.0

fix appveyor 32-bit windows build

I've backed rebased under #297 because AppVeyor has been failing since there, and because that was not properly based on master anyway.

8 years agofix appveyor 32-bit windows build
Christopher Dunn [Sat, 11 Jul 2015 15:46:24 +0000 (10:46 -0500)]
fix appveyor 32-bit windows build

* http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc
```
Done Building Project "C:\projects\jsoncpp\jsoncpp.sln" (default targets) -- FAILED.

Build FAILED.

"C:\projects\jsoncpp\jsoncpp.sln" (default target) (1) ->
"C:\projects\jsoncpp\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\projects\jsoncpp\ZERO_CHECK.vcxproj" (default target) (3) ->
(PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\projects\jsoncpp\ZERO_CHECK.vcxproj]
```

8 years agoMerge pull request #295 from martyngigg/master
Christopher Dunn [Wed, 1 Jul 2015 08:18:33 +0000 (03:18 -0500)]
Merge pull request #295 from martyngigg/master

Allow an optional suffix on the debug library name in CMake

8 years agoAllow an optional suffix on the debug library name in CMake.
Martyn Gigg [Mon, 29 Jun 2015 18:20:08 +0000 (19:20 +0100)]
Allow an optional suffix on the debug library name in CMake.

8 years agoMerge pull request #294 from cdunn2001/master
Christopher Dunn [Fri, 19 Jun 2015 05:10:32 +0000 (00:10 -0500)]
Merge pull request #294 from cdunn2001/master

fix ,/. problem in reader

8 years agofix ,/. problem in reader
Christopher Dunn [Fri, 19 Jun 2015 03:41:49 +0000 (22:41 -0500)]
fix ,/. problem in reader

fixes #293

8 years agofix doxybuild.py for Windows
Christopher Dunn [Fri, 5 Jun 2015 04:57:29 +0000 (21:57 -0700)]
fix doxybuild.py for Windows

issue #287 (tylerknott@)

9 years agoMerge pull request #276 from bmyerz/master
Christopher Dunn [Thu, 21 May 2015 05:47:35 +0000 (00:47 -0500)]
Merge pull request #276 from bmyerz/master

make the unix cmake example work

9 years agoMerge pull request #282 from keithkml/patch-1
Christopher Dunn [Thu, 21 May 2015 01:33:31 +0000 (20:33 -0500)]
Merge pull request #282 from keithkml/patch-1

Clarify which parts of README for users vs devs

9 years agoMerge pull request #280 from mgorny/pkg-config-fix
Christopher Dunn [Thu, 21 May 2015 01:24:37 +0000 (20:24 -0500)]
Merge pull request #280 from mgorny/pkg-config-fix

Fix custom includedir & libdir substitution in pkg-config

9 years agoClarify which parts of README for users vs devs
Keith Lea [Wed, 20 May 2015 16:43:47 +0000 (09:43 -0700)]
Clarify which parts of README for users vs devs

When I arrived at the JsonCpp GitHub page, as an intermediate C++ developer, I could not figure out how to include JsonCpp into my project. The changes I propose to the README make this much clearer, and define a clear distinction between which instructions are for those developing and contributing to JsonCpp, and those who are just using it.

9 years agoFix custom includedir & libdir substitution in pkg-config
Michał Górny [Tue, 19 May 2015 15:32:31 +0000 (17:32 +0200)]
Fix custom includedir & libdir substitution in pkg-config

Do not prepend ${prefix} to substituted includedir & libdir
in the pkg-config file -- if the paths are overriden by user, CMake puts
absolute paths there (even if user specifies a relative path). Instead,
use the absolute path provided by CMake and appropriately default
LIBRARY_INSTALL_DIR & INCLUDE_INSTALL_DIR to absolute paths with
${CMAKE_INSTALL_PREFIX} prepended.

Fixes: https://github.com/open-source-parsers/jsoncpp/issues/279
Signed-off-by: Michał Górny <mgorny@gentoo.org>
9 years agoMerge pull request #275 from stefan-it/stefan/cmake-generator-fix
Christopher Dunn [Tue, 19 May 2015 06:53:11 +0000 (01:53 -0500)]
Merge pull request #275 from stefan-it/stefan/cmake-generator-fix

[Documentation][Markdown] Use correct help option for cmake.

9 years agoMerge pull request #277 from gogo40/master
Christopher Dunn [Tue, 19 May 2015 06:52:57 +0000 (01:52 -0500)]
Merge pull request #277 from gogo40/master

fix compile error on android

But note that we do not have continuous integration testing for Android. This could break again.

`snprintf` drives me crazy. It should have been part of every C library 20 years ago.

9 years agofix compile error on android
Péricles Lopes Machado [Mon, 18 May 2015 17:31:05 +0000 (14:31 -0300)]
fix compile error on android

9 years agomake the unix make example work
Brandon Myers [Mon, 18 May 2015 17:06:21 +0000 (10:06 -0700)]
make the unix make example work

...by setting the archive directory variable

9 years ago[Documentation][Markdown] Use correct help option for cmake.
Stefan Schweter [Sun, 17 May 2015 11:04:40 +0000 (13:04 +0200)]
[Documentation][Markdown] Use correct help option for cmake.

9 years agoaddress compilation probs for C++ Builder
Christopher Dunn [Tue, 28 Apr 2015 04:01:00 +0000 (05:01 +0100)]
address compilation probs for C++ Builder

BORLANDC compiler strangeness. Thanks to:

* Dan Liu
* Victor Chen

close #269
close #252

9 years agoanother fix for BORLANDC
Christopher Dunn [Tue, 28 Apr 2015 03:57:49 +0000 (04:57 +0100)]
another fix for BORLANDC

9 years agomove ctors for BORLAND
Christopher Dunn [Tue, 28 Apr 2015 03:55:12 +0000 (04:55 +0100)]
move ctors for BORLAND

9 years agoMerge pull request #266 from cdunn2001/issue-252
Christopher Dunn [Tue, 28 Apr 2015 00:13:39 +0000 (17:13 -0700)]
Merge pull request #266 from cdunn2001/issue-252

Use unsigned for DuplicationPolicy, to fix a problem with "C++ Builder"
IDE.

Fixes #252.

Thanks to:

* Dan Liu -- http://blog.csdn.net/gzliudan/article/details/45264201)
* Victor Chen -- http://www.cppfans.com/sdk/json/jsoncpp.asp

9 years agoa little test for issue 252, but does not fail for me
Christopher Dunn [Mon, 27 Apr 2015 16:57:58 +0000 (09:57 -0700)]
a little test for issue 252, but does not fail for me

9 years agofix crash for "C++ Builder" IDE
Dan Liu [Mon, 27 Apr 2015 04:20:05 +0000 (05:20 +0100)]
fix crash for "C++ Builder" IDE

http://blog.csdn.net/gzliudan/article/details/45264201

9 years agoMerge pull request #265 from cdunn2001/valgrind
Christopher Dunn [Mon, 27 Apr 2015 03:08:17 +0000 (20:08 -0700)]
Merge pull request #265 from cdunn2001/valgrind

run valgrind in Travis CI

9 years agorun valgrind in Travis CI
Christopher Dunn [Thu, 23 Apr 2015 02:43:27 +0000 (19:43 -0700)]
run valgrind in Travis CI

Because this runs apt-get, it will not work as-is for OSX. So when
we have OSX in Travis, we will have to wrap this somehow. See #250.

Closes #222.

9 years agoMerge pull request #263 from cdunn2001/static-shared
Christopher Dunn [Thu, 23 Apr 2015 15:58:38 +0000 (08:58 -0700)]
Merge pull request #263 from cdunn2001/static-shared

Use standard **cmake** variables, to support superprojects better.

- `JSONCPP_LIB_BUILD_SHARED` -> `BUILD_SHARED_LIBS`
- `JSONCPP_LIB_BUILD_STATIC` -> `BUILD_STATIC_LIBS`

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:34:09 +0000 (19:04 +0530)]
Use standard CMake variables - static/shared lib.

Replace JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:33:12 +0000 (19:03 +0530)]
Use standard CMake variables - static/shared lib.

Replace JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:30:56 +0000 (19:00 +0530)]
Use standard CMake variables - static/shared lib.

Replace JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:28:26 +0000 (18:58 +0530)]
Use standard CMake variables - static/shared lib.

Replaced JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS
Replaced JSONCPP_LIB_BUILD_STATIC => BUILD_STATIC_LIBS

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:25:24 +0000 (18:55 +0530)]
Use standard CMake variables - static/shared lib.

Replaced JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:23:30 +0000 (18:53 +0530)]
Use standard CMake variables - static/shared lib.

Replaced JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS
Moved flag JSON_DLL to line no 8.

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:20:43 +0000 (18:50 +0530)]
Use standard CMake variables - static/shared lib.

Replaced JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS
Moved definition DJSON_DLL to line 11.

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:14:32 +0000 (18:44 +0530)]
Use standard CMake variables - static/shared lib.

Replace JSONCPP_LIB_BUILD_SHARED => BUILD_SHARED_LIBS
Replace JSONCPP_LIB_BUILD_STATIC => BUILD_STATIC_LIBS
Removed workaround  https://github.com/open-source-parsers/jsoncpp/issues/51
Removed OPTION for shared/static in this file.

9 years agoUse standard CMake variables - static/shared lib.
Gaurav [Thu, 23 Apr 2015 13:09:00 +0000 (18:39 +0530)]
Use standard CMake variables - static/shared lib.

Currently JSONCPP_LIB_BUILD_SHARED variable is used as option to build static/shared libraries.
The current patch uses standard CMake variables for this.
Such a workaround is done in https://github.com/open-source-parsers/jsoncpp/issues/51
Current patch will make it generic.

9 years agofix leak in unit-tests
Christopher Dunn [Thu, 23 Apr 2015 02:33:41 +0000 (19:33 -0700)]
fix leak in unit-tests

9 years agoswap docs for default vs. strictMode
Christopher Dunn [Mon, 20 Apr 2015 20:10:31 +0000 (13:10 -0700)]
swap docs for default vs. strictMode

9 years agoMerge pull request #244 from cdunn2001/appveyor
Christopher Dunn [Sun, 19 Apr 2015 00:14:33 +0000 (17:14 -0700)]
Merge pull request #244 from cdunn2001/appveyor

New `appveyor.yml`: All tests pass, in both Appveyor and Travis!

Henceforth, GitHub will run both for any pull-request, so this file will be needed in the `0.y.z` branch too.

9 years agomaybe fix an error
Christopher Dunn [Fri, 17 Apr 2015 01:33:39 +0000 (18:33 -0700)]
maybe fix an error

9 years agoadd a comment, to force a build
Christopher Dunn [Fri, 17 Apr 2015 01:30:24 +0000 (18:30 -0700)]
add a comment, to force a build

9 years agoappveyor deploy init
Marek Kotewicz [Wed, 15 Apr 2015 16:59:05 +0000 (18:59 +0200)]
appveyor deploy init

9 years agofixed version on appveyor build
Marek Kotewicz [Wed, 15 Apr 2015 16:49:05 +0000 (18:49 +0200)]
fixed version on appveyor build

9 years agoappveyor multiple platforms
Marek Kotewicz [Sun, 12 Apr 2015 10:41:29 +0000 (12:41 +0200)]
appveyor multiple platforms

9 years agoappveyor.yml
Marek Kotewicz [Sun, 12 Apr 2015 10:25:01 +0000 (12:25 +0200)]
appveyor.yml

9 years agoprefer std::string for setComment()
Christopher Dunn [Sun, 8 Mar 2015 18:35:57 +0000 (13:35 -0500)]
prefer std::string for setComment()

in case of embedded nulls

9 years ago1.6.2 <- 1.6.1 1.6.2
Christopher Dunn [Sat, 11 Apr 2015 19:42:37 +0000 (14:42 -0500)]
1.6.2 <- 1.6.1

Fix UTF-8 for old (deprecated) Writers.

* Do not truncate at embedded zeroes.

9 years agoMerge pull request #241 from cdunn2001/fix-more-utf8
Christopher Dunn [Sat, 11 Apr 2015 19:44:41 +0000 (14:44 -0500)]
Merge pull request #241 from cdunn2001/fix-more-utf8

support UTF-8 (specifically, embedded zeroes) in old Writers

9 years agosupport UTF-8 in old Writers
Christopher Dunn [Sat, 11 Apr 2015 18:23:52 +0000 (13:23 -0500)]
support UTF-8 in old Writers

We had already fixed Value to hold UTF-8 properly, but only the newer
StreamWriter was writing UTF-8 properly.

Old FasterWriter etc. were using asCString() instead of asString() in
Value::writeValue().

Hopefully this change does not break any existing code. Seems unlikely.

issue #240

9 years agoMerge pull request #239 from sbc100/copyright
Christopher Dunn [Sat, 11 Apr 2015 19:41:03 +0000 (14:41 -0500)]
Merge pull request #239 from sbc100/copyright

Add copyright information to .py files

9 years agoAdd copyright information to .py files
Sam Clegg [Fri, 10 Apr 2015 01:01:33 +0000 (18:01 -0700)]
Add copyright information to .py files

This change adds explicit copyright information too python
files files.  The copyright year used in each case is the
date of the first git commit of each file.

The goal is to allow jsoncpp to be integrated into the
chromium source tree which requires license information in
each source file.

fixes #234

9 years ago1.6.1 <- 1.6.0 1.6.1
Christopher Dunn [Tue, 31 Mar 2015 20:07:14 +0000 (15:07 -0500)]
1.6.1 <- 1.6.0

9 years agoMerge pull request #232 from cdunn2001/fix-snprintf
Christopher Dunn [Tue, 31 Mar 2015 17:58:11 +0000 (12:58 -0500)]
Merge pull request #232 from cdunn2001/fix-snprintf

Fix snprintf

Well, it passes Travis. But when we have time, we should clean up how snprintf is used in both reader and writer.

9 years agouse std::snprintf for C++11
Christopher Dunn [Tue, 31 Mar 2015 17:39:44 +0000 (12:39 -0500)]
use std::snprintf for C++11

9 years agoRevert "Use std namespace for snprintf."
Baruch Siach [Tue, 24 Mar 2015 16:07:12 +0000 (18:07 +0200)]
Revert "Use std namespace for snprintf."

This reverts commit 1c58876185d2a4ed87dac4a54b82f607e74f55fd.

std::snprintf() is only available in C++11, which is not provided by
all compilers. Since the C library snprintf() can easily be used as a
replacement on Linux systems, this patch changes jsoncpp to use the C
library snprintf() instead of C++11 std::snprintf(), fixing the build error
below:

    src/lib_json/json_writer.cpp:33:18: error: 'snprintf' is not a member of 'std'

See #231, #224, and #218.

9 years agoMerge pull request #225 from selaselah/master
Christopher Dunn [Tue, 31 Mar 2015 16:32:06 +0000 (11:32 -0500)]
Merge pull request #225 from selaselah/master

fix find_program() bug: no result in not-win sys

9 years agofix find_program() bug: no result in not-win sys
selaselah [Thu, 19 Mar 2015 11:18:58 +0000 (19:18 +0800)]
fix find_program() bug: no result in not-win sys

9 years agoMerge pull request #221 from btolfa/forgotten-virtual-dtor 1.6.0
Christopher Dunn [Sun, 15 Mar 2015 18:49:24 +0000 (13:49 -0500)]
Merge pull request #221 from btolfa/forgotten-virtual-dtor

Added forgotten virtual dtor for `Json::CharReader::Factory`.

(Without this, the destructor of the derived `CharReaderBuilder` would not be called, which is a small memory leak.)

9 years agoUpdate reader.h
Tengiz Sharafiev [Sat, 14 Mar 2015 18:30:00 +0000 (21:30 +0300)]
Update reader.h

9 years agoMerge pull request #219 from cdunn2001/c-std-headers
Christopher Dunn [Thu, 12 Mar 2015 02:36:51 +0000 (21:36 -0500)]
Merge pull request #219 from cdunn2001/c-std-headers

Close #218. Fix #214.

9 years agoUse std namespace for snprintf.
Connor Manning [Wed, 11 Mar 2015 18:13:42 +0000 (13:13 -0500)]
Use std namespace for snprintf.

9 years agoConstrain MSVC _isfinite to before 2013, remove duplicate includes.
Connor Manning [Wed, 11 Mar 2015 14:01:49 +0000 (09:01 -0500)]
Constrain MSVC _isfinite to before 2013, remove duplicate includes.

9 years agoFix isfinite for MSVC.
Dani-Hub [Tue, 10 Mar 2015 23:50:16 +0000 (18:50 -0500)]
Fix isfinite for MSVC.

9 years agoUse C++ standard headers.
Connor Manning [Tue, 10 Mar 2015 23:48:45 +0000 (18:48 -0500)]
Use C++ standard headers.

9 years agoChange exception data member
Dani-Hub [Mon, 9 Mar 2015 21:29:18 +0000 (22:29 +0100)]
Change exception data member

from "reference to string" to "string" (Resolves the most serious part of issue #216)

9 years agoprefer ValueIterator::name() to ::memberName()
Christopher Dunn [Sun, 8 Mar 2015 19:01:28 +0000 (14:01 -0500)]
prefer ValueIterator::name() to ::memberName()

in case of embedded nulls

9 years agoMerge pull request #212 from cdunn2001/macro-deprec
Christopher Dunn [Sun, 8 Mar 2015 18:10:37 +0000 (13:10 -0500)]
Merge pull request #212 from cdunn2001/macro-deprec

close #210

9 years agoMake preprocessor query robust against older gcc versions
Dani-Hub [Sun, 8 Mar 2015 17:48:24 +0000 (18:48 +0100)]
Make preprocessor query robust against older gcc versions

9 years agoProvide JSONCPP_DEPRECATED definitions for clang and gcc
Dani-Hub [Sun, 8 Mar 2015 00:19:08 +0000 (01:19 +0100)]
Provide JSONCPP_DEPRECATED definitions for clang and gcc

9 years ago1.6.0
Christopher Dunn [Sun, 8 Mar 2015 17:57:13 +0000 (12:57 -0500)]
1.6.0

9 years agocomments
Christopher Dunn [Sun, 8 Mar 2015 17:56:32 +0000 (12:56 -0500)]
comments

9 years agoMerge pull request #211 from cdunn2001/except
Christopher Dunn [Sun, 8 Mar 2015 17:50:34 +0000 (12:50 -0500)]
Merge pull request #211 from cdunn2001/except

* Add Json::Exception and derivatives.
* Clarify when exceptions are thrown, to avoid crashes caused by malicious input.
* Use our own type (derived fro std::exception) so they are trappable.

9 years agouse Json::RuntimeError
Christopher Dunn [Sun, 8 Mar 2015 17:43:18 +0000 (12:43 -0500)]
use Json::RuntimeError

9 years agouse Json::LogicError in macros
Christopher Dunn [Sun, 8 Mar 2015 17:39:27 +0000 (12:39 -0500)]
use Json::LogicError in macros