Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-08-15 | Check for isnan() and isinf() by linkingisnan-isinf-checks | Petri Lehtinen | 5 | -4/+47 | |
2013-08-06 | doc: Add an example for circumventing problems with Windows heaps | Petri Lehtinen | 1 | -1/+6 | |
2013-07-27 | Fix memory leaks and warnings in github_commits.c | Petri Lehtinen | 1 | -10/+22 | |
2013-07-23 | Update copyrights for 2013 | Petri Lehtinen | 41 | -41/+41 | |
2013-07-21 | Fix integer overflow in jsonp_strdup() | Petri Lehtinen | 1 | -1/+6 | |
Fixes #129. | |||||
2013-07-08 | Make the argument of json_deep_copy() const | Petri Lehtinen | 3 | -13/+21 | |
Fixes #126. | |||||
2013-07-01 | Merge pull request #128 from JoakimSoderberg/lex_unget_unsave_fix | Petri Lehtinen | 1 | -1/+10 | |
BUGFIX: Compilation error with -DNDEBUG defined. | |||||
2013-06-26 | BUGFIX: Compilation error with -DNDEBUG defined. | Joakim Soderberg | 1 | -1/+10 | |
When building a "MinSizeRel" with CMake I get a compilation error in lex_unget_unsave. This is because assertions are turned off using -DNDEBUG: ``` /usr/bin/gcc -DHAVE_CONFIG_H -fPIC -Os -DNDEBUG -Ijansson/build/include -Ijansson/build/private_include -Wall -Wextra -Wdeclaration-after-statement -Werror -o CMakeFiles/jansson.dir/src/load.c.o -c jansson/src/load.c jansson/src/load.c: In function âx_unget_unsaveâjansson/src/load.c:256:14: error: variable â set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors ``` This will then remove the insert, which makes the "d" variable unused, which is treated as an error since we have -Wall set. We can't simply get rid of the variable either and put the strbuffer_pop call in the assert call, since it's a macro and would remove the call entirely. So I simply added a check for NDEBUG to fix it. | |||||
2013-06-25 | Merge pull request #127 from cryptobiote/master | Petri Lehtinen | 1 | -4/+19 | |
Adding option for MSVC for those who are linking statically. | |||||
2013-06-25 | Update CMakeLists.txt | cryptobiote | 1 | -5/+5 | |
2013-06-20 | Adding option for MSVC for those who are linking statically. | cryptobiote | 1 | -1/+16 | |
2013-06-13 | Merge pull request #125 from jjwchoy/master | Petri Lehtinen | 1 | -0/+2 | |
Prevent compiler warning | |||||
2013-06-13 | Prevent unused-variable warning | Jason Choy | 1 | -0/+2 | |
2013-06-12 | Tweak the JSON_DECODE_INT_AS_REAL test introduced in #123 | Petri Lehtinen | 1 | -6/+10 | |
Only run the imprecision part if json_int_t is long long, otherwise the imprecision cannot be tested against json_int_t. Also, convert the double value to json_int_t before checking the imprecision, because otherwise the json_int_t is converted to double and the imprecision happens in the "wrong direction". | |||||
2013-06-12 | Fix indentation in docs | Petri Lehtinen | 1 | -1/+1 | |
2013-06-11 | Merge pull request #123 from jjwchoy/decode-ignore-int | Petri Lehtinen | 5 | -5/+51 | |
Implemented a decode option to only decode numbers to reals | |||||
2013-06-11 | Using jsonp_strtod instead of casting to double to catch double overflow | Jason Choy | 3 | -5/+23 | |
2013-06-11 | Changed :versionadded for JSON_DECODE_INT_AS_REAL docs | Jason Choy | 1 | -1/+1 | |
2013-06-11 | Renamed flag to JSON_DECODE_INT_AS_REAL and added documentation | Jason Choy | 5 | -7/+18 | |
2013-06-09 | Merge pull request #120 from paulharris/mine_pre_2.5 | Petri Lehtinen | 2 | -2/+8 | |
Adjust CMakeLists.txt and .def: add _d postfix onto jansson_d.lib/dll | |||||
2013-06-09 | Added a simple test for the JSON_DECODE_NO_INT option | Jason Choy | 1 | -0/+12 | |
2013-06-09 | Implemented a decode option to only decode numbers to reals and never integers | Jason Choy | 2 | -1/+6 | |
2013-06-07 | Merge pull request #121 from jjwchoy/master | Petri Lehtinen | 1 | -2/+2 | |
Added missing return valua check in test | |||||
2013-06-07 | Added missing rv check - caught by clang | Jason Choy | 1 | -2/+2 | |
2013-06-02 | Adjust CMakeLists.txt and .def: add _d postfix onto jansson_d.lib/dll | Paul Harris | 2 | -2/+8 | |
Had to remove the "LIBRARY" line from jansson.def, which was optional, and was overriding CMake's desire for a specific name. | |||||
2013-05-21 | Don't shadow the stdlib function index() with arg names | Petri Lehtinen | 1 | -4/+4 | |
Fixes #119. | |||||
2013-05-12 | Merge pull request #118 from dtgriscom/master | Petri Lehtinen | 4 | -2/+56 | |
Added json_array_foreach(), parallelling json_object_foreach() | |||||
2013-05-12 | Fixed "comparison between signed and unsigned" warning | Daniel Griscom | 2 | -2/+2 | |
2013-05-12 | Removed (non-functioning) printfs from test code | Daniel Griscom | 1 | -6/+0 | |
2013-05-12 | Added test cases and documentation for json_array_foreach() | Daniel Griscom | 3 | -2/+57 | |
2013-05-12 | Add json_array_foreach() #define, parallelling json_object_foreach() | Daniel Griscom | 1 | -0/+5 | |
2013-05-06 | Merge pull request #115 from JoakimSoderberg/cmake_pkgconfig | Petri Lehtinen | 2 | -8/+32 | |
Cmake pkgconfig | |||||
2013-05-06 | Create and install the pkg-config file jansson.pc for CMake. | Joakim Soderberg | 1 | -3/+23 | |
Use the same jansson.pc.in file as the ./configure script does to generate the jansson.pc file for pkg-config. Also make an install rule for this. | |||||
2013-05-06 | Fix the cmake Sphinx find script. | Joakim Soderberg | 1 | -5/+9 | |
The cmake sphinx find script version parsing assumes a format of 1.2.3, but sphinx version can be 1.2b3 as well, so parse those correctly as well. | |||||
2013-04-29 | jansson:doc: modified incref doc | Andrei Epure | 1 | -1/+1 | |
Signed-off-by: Andrei Epure <epure.andrei@gmail.com> | |||||
2013-04-29 | test:suites:api: modified error message | Andrei Epure | 1 | -1/+1 | |
In the "/* perform the same update again */" area the error message should be "unable to update an non-empty object" instead of "unable to update an empty object". Signed-off-by: Andrei Epure <epure.andrei@gmail.com> | |||||
2013-04-29 | Merge pull request #112 from JoakimSoderberg/fpic_cmake_support | Petri Lehtinen | 3 | -55/+469 | |
Additional CMake documentation + Fpic cmake support | |||||
2013-04-25 | Fixed some minor issues. | Joakim Soderberg | 2 | -46/+6 | |
2013-04-24 | Added more detailed CMake documentation. | Joakim Soderberg | 3 | -55/+505 | |
- Also added better FindSphinx support so that we can detect the version and not have a fatal error if it's too old. - Added support for building latex documentation with -DBUILD_LATEX. Off by default. - Added suppor for building man pages with -DBUILD_MAN. On by default (unless sphins is too old to support it). | |||||
2013-04-18 | Use -fPIC when possible. | Joakim Soderberg | 1 | -0/+4 | |
So that we can link the library statically to shared libraries. | |||||
2013-04-15 | Document CMake build process, deprecate the VS2010 project | Petri Lehtinen | 1 | -0/+20 | |
2013-04-15 | Tweak Android build documentation | Petri Lehtinen | 1 | -2/+5 | |
2013-04-15 | Merge branch 'master' of git://github.com/svic/jansson | Petri Lehtinen | 4 | -0/+122 | |
2013-04-15 | Merge branch '2.4' | Petri Lehtinen | 1 | -1/+4 | |
2013-04-15 | Fix the signature again, and also rest of the errors | Petri Lehtinen | 1 | -1/+4 | |
Next time, remember to check with -Werror first... | |||||
2013-04-15 | Merge branch '2.4' | Petri Lehtinen | 1 | -1/+1 | |
2013-04-15 | Fix the signature of a test function | Petri Lehtinen | 1 | -1/+1 | |
2013-04-15 | Merge branch '2.4' | Petri Lehtinen | 2 | -0/+24 | |
2013-04-15 | json_dump*(): Don't crash if json is NULL and JSON_ENCODE_ANY is set | Petri Lehtinen | 2 | -0/+24 | |
2013-04-11 | Add android doc. | Garner Lee | 1 | -0/+5 | |