Skip to content

Commit 9c76de6

Browse files
authored
Merge pull request #257 from OpenShot/system-jsoncpp
Upgrade bundled jsoncpp to 1.8.4 (Thanks ferdnyc)
2 parents a4dc9d4 + e897c34 commit 9c76de6

22 files changed

+8130
-6506
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ if (USE_SYSTEM_JSONCPP)
205205
message(STATUS "Discovering system JsonCPP - done")
206206
else()
207207
message(STATUS "Using embedded JsonCpp (USE_SYSTEM_JSONCPP not enabled)")
208-
include_directories("../thirdparty/jsoncpp/include")
208+
include_directories("../thirdparty/jsoncpp")
209209
endif(USE_SYSTEM_JSONCPP)
210210

211211
############### PROFILING #################
@@ -262,9 +262,7 @@ SET ( OPENSHOT_SOURCE_FILES
262262
IF (NOT USE_SYSTEM_JSONCPP)
263263
# Third Party JSON Parser
264264
SET ( OPENSHOT_SOURCE_FILES ${OPENSHOT_SOURCE_FILES}
265-
../thirdparty/jsoncpp/src/lib_json/json_reader.cpp
266-
../thirdparty/jsoncpp/src/lib_json/json_value.cpp
267-
../thirdparty/jsoncpp/src/lib_json/json_writer.cpp)
265+
../thirdparty/jsoncpp/jsoncpp.cpp )
268266
ENDIF (NOT USE_SYSTEM_JSONCPP)
269267

270268
# ImageMagic related files

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ if (USE_SYSTEM_JSONCPP)
194194
find_package(JsonCpp REQUIRED)
195195
include_directories(${JSONCPP_INCLUDE_DIRS})
196196
else()
197-
include_directories("../thirdparty/jsoncpp/include")
197+
include_directories("../thirdparty/jsoncpp")
198198
endif(USE_SYSTEM_JSONCPP)
199199

200200
IF (NOT DISABLE_TESTS)

thirdparty/jsoncpp/LICENSE

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,55 @@
1-
The json-cpp library and this documentation are in Public Domain.
1+
The JsonCpp library's source code, including accompanying documentation,
2+
tests and demonstration applications, are licensed under the following
3+
conditions...
4+
5+
Baptiste Lepilleur and The JsonCpp Authors explicitly disclaim copyright in all
6+
jurisdictions which recognize such a disclaimer. In such jurisdictions,
7+
this software is released into the Public Domain.
8+
9+
In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
10+
2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur and
11+
The JsonCpp Authors, and is released under the terms of the MIT License (see below).
12+
13+
In jurisdictions which recognize Public Domain property, the user of this
14+
software may choose to accept it either as 1) Public Domain, 2) under the
15+
conditions of the MIT License (see below), or 3) under the terms of dual
16+
Public Domain/MIT License conditions described here, as they choose.
17+
18+
The MIT License is about as close to Public Domain as a license can get, and is
19+
described in clear, concise terms at:
20+
21+
http://en.wikipedia.org/wiki/MIT_License
22+
23+
The full text of the MIT License follows:
24+
25+
========================================================================
26+
Copyright (c) 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
27+
28+
Permission is hereby granted, free of charge, to any person
29+
obtaining a copy of this software and associated documentation
30+
files (the "Software"), to deal in the Software without
31+
restriction, including without limitation the rights to use, copy,
32+
modify, merge, publish, distribute, sublicense, and/or sell copies
33+
of the Software, and to permit persons to whom the Software is
34+
furnished to do so, subject to the following conditions:
35+
36+
The above copyright notice and this permission notice shall be
37+
included in all copies or substantial portions of the Software.
38+
39+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
43+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
44+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
46+
SOFTWARE.
47+
========================================================================
48+
(END LICENSE TEXT)
49+
50+
The MIT license is compatible with both the GPL and commercial
51+
software, affording one all of the rights of Public Domain with the
52+
minor nuisance of being required to keep the above copyright notice
53+
and license text in the source code. Note also that by accepting the
54+
Public Domain "license" you can re-license your copy using whatever
55+
license you like.

thirdparty/jsoncpp/include/json/autolink.h

Lines changed: 0 additions & 19 deletions
This file was deleted.

thirdparty/jsoncpp/include/json/config.h

Lines changed: 0 additions & 43 deletions
This file was deleted.

thirdparty/jsoncpp/include/json/features.h

Lines changed: 0 additions & 42 deletions
This file was deleted.

thirdparty/jsoncpp/include/json/forwards.h

Lines changed: 0 additions & 39 deletions
This file was deleted.

thirdparty/jsoncpp/include/json/json.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)