Skip to content

Commit 015a106

Browse files
committed
Merge branch '0.6.0'
2 parents bf551c7 + d75951d commit 015a106

File tree

316 files changed

+24911
-1700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+24911
-1700
lines changed

build/debian/rules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ build-stamp:
1212
dh_testdir
1313

1414
# Add here commands to compile the package.
15-
#qmake-qt4 -config release
1615
qmake
17-
make
16+
make -s
1817

1918
touch build-stamp
2019

build_osxbundle.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
#!/bin/sh
22

3-
BUNDLE_PATH=./bin/linux/release/rdm.app
4-
BUILD_DIR=$BUNDLE_PATH/Contents/
5-
MAC_TOOL=/Users/administrator/Qt5.1.1/5.1.1/clang_64/bin/macdeployqt
3+
BUNDLE_PATH=./bin/linux/release/
4+
BUILD_DIR=$BUNDLE_PATH/rdm.app/Contents/
5+
MAC_TOOL=/Users/admin/Qt5.1.1/5.1.1/clang_64/bin/macdeployqt
66

77
cp -f ./redis-desktop-manager/Info.plist $BUILD_DIR/
88
cp -f ./redis-desktop-manager/rdm.icns $BUILD_DIR/Resources/
99

10-
$MAC_TOOL $BUNDLE_PATH -dmg
10+
cd $BUNDLE_PATH
11+
12+
$MAC_TOOL rdm.app -dmg

deps/jsoncpp/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Baptiste Lepilleur <[email protected]>

deps/jsoncpp/LICENSE

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
The JsonCpp library's source code, including accompanying documentation,
2+
tests and demonstration applications, are licensed under the following
3+
conditions...
4+
5+
The author (Baptiste Lepilleur) explicitly disclaims 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 is
11+
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
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.

deps/jsoncpp/NEWS.txt

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
New in SVN
2+
----------
3+
4+
* Updated the type system's behavior, in order to better support backwards
5+
compatibility with code that was written before 64-bit integer support was
6+
introduced. Here's how it works now:
7+
8+
* isInt, isInt64, isUInt, and isUInt64 return true if and only if the
9+
value can be exactly represented as that type. In particular, a value
10+
constructed with a double like 17.0 will now return true for all of
11+
these methods.
12+
13+
* isDouble and isFloat now return true for all numeric values, since all
14+
numeric values can be converted to a double or float without
15+
truncation. Note however that the conversion may not be exact -- for
16+
example, doubles cannot exactly represent all integers above 2^53 + 1.
17+
18+
* isBool, isNull, isString, isArray, and isObject now return true if and
19+
only if the value is of that type.
20+
21+
* isConvertibleTo(fooValue) indicates that it is safe to call asFoo.
22+
(For each type foo, isFoo always implies isConvertibleTo(fooValue).)
23+
asFoo returns an approximate or exact representation as appropriate.
24+
For example, a double value may be truncated when asInt is called.
25+
26+
* For backwards compatibility with old code, isConvertibleTo(intValue)
27+
may return false even if type() == intValue. This is because the value
28+
may have been constructed with a 64-bit integer larger than maxInt,
29+
and calling asInt() would cause an exception. If you're writing new
30+
code, use isInt64 to find out whether the value is exactly
31+
representable using an Int64, or asDouble() combined with minInt64 and
32+
maxInt64 to figure out whether it is approximately representable.
33+
34+
35+
New in JsonCpp 0.6.0:
36+
---------------------
37+
38+
* Compilation
39+
40+
- LD_LIBRARY_PATH and LIBRARY_PATH environment variables are now
41+
propagated to the build environment as this is required for some
42+
compiler installation.
43+
44+
- Added support for Microsoft Visual Studio 2008 (bug #2930462):
45+
The platform "msvc90" has been added.
46+
47+
Notes: you need to setup the environment by running vcvars32.bat
48+
(e.g. MSVC 2008 command prompt in start menu) before running scons.
49+
50+
- Added support for amalgamated source and header generation (a la sqlite).
51+
Refer to README.txt section "Generating amalgamated source and header"
52+
for detail.
53+
54+
* Value
55+
56+
- Removed experimental ValueAllocator, it caused static
57+
initialization/destruction order issues (bug #2934500).
58+
The DefaultValueAllocator has been inlined in code.
59+
60+
- Added support for 64 bits integer:
61+
62+
Types Json::Int64 and Json::UInt64 have been added. They are aliased
63+
to 64 bits integers on system that support them (based on __int64 on
64+
Microsoft Visual Studio platform, and long long on other platforms).
65+
66+
Types Json::LargestInt and Json::LargestUInt have been added. They are
67+
aliased to the largest integer type supported:
68+
either Json::Int/Json::UInt or Json::Int64/Json::UInt64 respectively.
69+
70+
Json::Value::asInt() and Json::Value::asUInt() still returns plain
71+
"int" based types, but asserts if an attempt is made to retrieve
72+
a 64 bits value that can not represented as the return type.
73+
74+
Json::Value::asInt64() and Json::Value::asUInt64() have been added
75+
to obtain the 64 bits integer value.
76+
77+
Json::Value::asLargestInt() and Json::Value::asLargestUInt() returns
78+
the integer as a LargestInt/LargestUInt respectively. Those functions
79+
functions are typically used when implementing writer.
80+
81+
The reader attempts to read number as 64 bits integer, and fall back
82+
to reading a double if the number is not in the range of 64 bits
83+
integer.
84+
85+
Warning: Json::Value::asInt() and Json::Value::asUInt() now returns
86+
long long. This changes break code that was passing the return value
87+
to *printf() function.
88+
89+
Support for 64 bits integer can be disabled by defining the macro
90+
JSON_NO_INT64 (uncomment it in json/config.h for example), though
91+
it should have no impact on existing usage.
92+
93+
- The type Json::ArrayIndex is used for indexes of a JSON value array. It
94+
is an unsigned int (typically 32 bits).
95+
96+
- Array index can be passed as int to operator[], allowing use of literal:
97+
Json::Value array;
98+
array.append( 1234 );
99+
int value = array[0].asInt(); // did not compile previously
100+
101+
- Added float Json::Value::asFloat() to obtain a floating point value as a
102+
float (avoid lost of precision warning caused by used of asDouble()
103+
to initialize a float).
104+
105+
* Reader
106+
107+
- Renamed Reader::getFormatedErrorMessages() to getFormattedErrorMessages.
108+
Bug #3023708 (Formatted has 2 't'). The old member function is deprecated
109+
but still present for backward compatibility.
110+
111+
* Tests
112+
113+
- Added test to ensure that the escape sequence "\/" is corrected handled
114+
by the parser.
115+
116+
* Bug fixes
117+
118+
- Bug #3139677: JSON [1 2 3] was incorrectly parsed as [1, 3]. Error is now
119+
correctly detected.
120+
121+
- Bug #3139678: stack buffer overflow when parsing a double with a
122+
length of 32 characters.
123+
124+
- Fixed Value::operator <= implementation (had the semantic of operator >=).
125+
Found when adding unit tests for comparison operators.
126+
127+
- Value::compare() is now const and has an actual implementation with
128+
unit tests.
129+
130+
- Bug #2407932: strpbrk() can fail for NULL pointer.
131+
132+
- Bug #3306345: Fixed minor typo in Path::resolve().
133+
134+
- Bug #3314841/#3306896: errors in amalgamate.py
135+
136+
- Fixed some Coverity warnings and line-endings.
137+
138+
* License
139+
140+
- See file LICENSE for details. Basically JsonCpp is now licensed under
141+
MIT license, or public domain if desired and recognized in your jurisdiction.
142+
Thanks to Stephan G. Beal [http://wanderinghorse.net/home/stephan/]) who
143+
helped figuring out the solution to the public domain issue.

0 commit comments

Comments
 (0)