Commit Graph

  • 1abaaee658 Update the ChangeLog with the rest of the changes that will be included in the 0.10 release. Eric Haszlakiewicz 2012-04-29 12:54:14 -05:00
  • e7bd2e97f3 Fill in the missing pieces of the release checklist. Eric Haszlakiewicz 2012-04-29 12:54:04 -05:00
  • f22de2c112 Merge branch 'master' into json-c-0.10 Eric Haszlakiewicz 2012-04-29 11:15:56 -05:00
  • 0cc1db6459 Change the format used for sprintbuf (but not scanf) to use %f instead of %lf because the "l" is unnecessary and some compilers behave differently with it present (e.g. MinGW). Thanks for Mateusz Loskot for the fix. Eric Haszlakiewicz 2012-04-29 11:04:33 -05:00
  • 86bf051fd2 Add the 0.10 release doxygen-generated docs to source control. Eric Haszlakiewicz 2012-04-28 15:54:56 -05:00
  • c75ad201dd Add automake/autoconf generated files for the 0.10 release. Eric Haszlakiewicz 2012-04-28 15:51:43 -05:00
  • 31faa49bd8 Ignore the new test1Formatted and test2Formatted executables. Eric Haszlakiewicz 2012-04-28 14:17:09 -05:00
  • 4c7f38eb9b Extend test1 and test2 to run using json_object_to_json_string_ext() based on an additional command line parameter. Extend the run_output_test() function so we actually can pass command line parameters and so we can support different output files for the same test executable. Also provide some hints about what to do if a test fails (i.e. set VERBOSE=1). Eric Haszlakiewicz 2012-04-28 14:14:26 -05:00
  • 3fcffe1bb0 Add a json_object_to_json_string_ext() function to allow the formatting of output to be selected. There are now three options: JSON_C_TO_STRING_SPACED, JSON_C_TO_STRING_PLAIN and JSON_C_TO_STRING_PRETTY. This also add a json_object_to_file_ext() that takes the same flags. Existing output of json_object_to_json_string() is unchanged, and uses JSON_C_TO_STRING_SPACED. Thanks fo Grant Edwards for the initial patches. Eric Haszlakiewicz 2012-04-28 13:26:09 -05:00
  • a1221eba70 Add an Android-friendly build system Arun Raghavan 2012-01-20 13:00:45 +05:30
  • 17caddc0ab Run configure in the autogen.sh script Arun Raghavan 2012-01-20 12:59:59 +05:30
  • cb29a77c94 Add a pkgconfig file for uninstalled builds Arun Raghavan 2012-01-20 12:59:30 +05:30
  • f931f61851 Fixed parsing numbers in E notation. ` Eric Haszlakiewicz 2012-04-24 22:17:13 -05:00
  • 4e000a65e6 Since we already use a local json_bool type, replace any stdbool.h usage with that, since not all environments actually have a stdbool.h to use. Eric Haszlakiewicz 2012-04-24 21:54:07 -05:00
  • 0f8c534502 Merge pull request #25 from kdopen/doc_cleanup Eric Haszlakiewicz 2012-04-24 11:43:29 -07:00
  • ded667a612 Clean up documentation and correct sample code Keith Derrick 2012-04-23 15:34:44 -07:00
  • ec7ce26ba8 Merge pull request #23 from mloskot/mloskot-msvc-fixes Eric Haszlakiewicz 2012-04-23 11:30:37 -07:00
  • 8409dc039a Fix missing inttypes.h definitions for Visual Studio 2010 and earliers. Related to issue #22. Mateusz Loskot 2012-04-23 13:11:11 +01:00
  • 178a4b059c Merge pull request #21 from kdopen/add_iterator Eric Haszlakiewicz 2012-04-22 21:40:07 -07:00
  • 7502b377b7 Merge branch 'master' of https://github.com/json-c/json-c Eric Haszlakiewicz 2012-04-22 14:26:06 -05:00
  • 3d8817978c Actually save the expected output for the test_printbuf test so it passes. Eric Haszlakiewicz 2012-04-22 14:25:08 -05:00
  • 37cfe6bc4c Update the list of files to ignore. Eric Haszlakiewicz 2012-04-22 14:21:27 -05:00
  • e5c1e87f05 Add a test for the printbuf functions. Eric Haszlakiewicz 2012-04-22 14:13:01 -05:00
  • b80772a0f5 Use a different variable when referring to the json.la file, since the original lib_LTLIBRARIES means something special to automake. Eric Haszlakiewicz 2012-04-22 10:48:30 -05:00
  • c1b8891a13 Move the rest of the tests into the tests subdirectory. Eric Haszlakiewicz 2012-04-22 10:33:41 -05:00
  • 1e89ba68af Create a tests subdirectory and move one of the test to there. Eric Haszlakiewicz 2012-04-22 10:27:50 -05:00
  • 020ed640e8 Merge pull request #20 from kdopen/master Eric Haszlakiewicz 2012-04-19 21:03:22 -07:00
  • bcfd1f57ac Add alternative iterator implementation Keith Derrick 2012-04-12 09:54:21 -07:00
  • 6917586acf Add NULL-safe get object method Keith Derrick 2012-04-12 11:44:13 -07:00
  • 4a2cd966f5 Add NULL-safe lookup function Keith Derrick 2012-04-12 11:43:34 -07:00
  • 74d830dc03 Add JASSERT macro to guarantee aborts Keith Derrick 2012-04-12 11:40:44 -07:00
  • ca519fb817 Added explanatory notes to documentation. Keith Derrick 2012-04-05 19:33:09 -07:00
  • 65f649b7ba Ignoring additional build products Keith Derrick 2012-03-30 12:34:01 -07:00
  • 30dd367c0a Modify install names for library and include files Keith Derrick 2012-03-30 12:28:32 -07:00
  • 21d3706192 Added explanatory notes to documentation. Keith Derrick 2012-04-05 19:33:09 -07:00
  • e0fa94ba31 Fix some bugs with how buffer sizes were being calcuated in printbuf_memset and an off-by-one error in printbuf_memappend. Eric Haszlakiewicz 2012-04-03 14:54:25 -05:00
  • 7f3298da85 Remove the "#undef PRINTBUF_DEBUG" from printbuf.h so it can be more easily turned on in the Makefile. Eric Haszlakiewicz 2012-04-03 14:48:15 -05:00
  • 8310d3634c Add a printbuf_memset() function to provide an effecient way to set and append things like whitespace indentation. Eric Haszlakiewicz 2012-04-02 15:39:55 -05:00
  • 0d79b53456 Fix some bugs with how buffer sizes were being calcuated in printbuf_memset and an off-by-one error in printbuf_memappend. Eric Haszlakiewicz 2012-04-03 14:54:25 -05:00
  • 61a154e58b Remove the "#undef PRINTBUF_DEBUG" from printbuf.h so it can be more easily turned on in the Makefile. Eric Haszlakiewicz 2012-04-03 14:48:15 -05:00
  • 2d48543f2e Add a printbuf_memset() function to provide an effecient way to set and append things like whitespace indentation. Eric Haszlakiewicz 2012-04-02 15:39:55 -05:00
  • 2b5929bb13 Direct people to send bug reports to the json-c google group. Eric Haszlakiewicz 2012-03-31 23:17:31 -05:00
  • a7bd85caba Remove a few more things in the distclean target to get rid of *all* generated files. Eric Haszlakiewicz 2012-03-31 23:17:00 -05:00
  • f30a9ace77 Fix a bug in json_tokener_parse_ex when re-using the same tokener to parse multiple objects. Now, json_tokener_reset() does not need to be called after a valid object is parsed. Eric Haszlakiewicz 2012-03-31 22:53:43 -05:00
  • 30c6c4a1be Split the json_tokener_parse tests off from test1 into their own test and add several more cases to check various incremental parsing situations. Eric Haszlakiewicz 2012-03-31 22:51:39 -05:00
  • bb7978c95f For the prototype for json_tokener_error_desc(). Eric Haszlakiewicz 2012-03-31 22:49:58 -05:00
  • 23d0da5870 Mention json_type_to_name() in the docs for json_object_get_type(). Eric Haszlakiewicz 2012-03-31 22:47:47 -05:00
  • 7c4a964002 Define a LH_LOAD_FACTOR constant and note the range that it can be set to. Change the resize check from "count > size" to "count >= size" to avoid a potential infinite loop with high load factors and a full hash table. Eric Haszlakiewicz 2012-03-31 17:33:58 -05:00
  • e6668b1406 Adjust json_object_is_type and json_object_get_type so they return json_type_null for NULL objects. Eric Haszlakiewicz 2012-03-31 13:47:28 -05:00
  • d7db7e81a5 Ignore several more files, include .o's, .lo's, etc... Eric Haszlakiewicz 2012-03-31 12:55:52 -05:00
  • 9885b30c0e Perform better error checking in json_tokener_parse_verbose and rewrite json_tokener_parse to use that instead of json_tokener_parse_ex. Fix a typo in the string represenations of the json_tokener_error_depth error (s/to deep/too deep/) Eric Haszlakiewicz 2012-03-31 12:52:59 -05:00
  • 781798ccdf Direct people to send bug reports to the json-c google group. Eric Haszlakiewicz 2012-03-31 23:17:31 -05:00
  • fbd207bd6b Remove a few more things in the distclean target to get rid of *all* generated files. Eric Haszlakiewicz 2012-03-31 23:17:00 -05:00
  • d809fa60c5 Fix a bug in json_tokener_parse_ex when re-using the same tokener to parse multiple objects. Now, json_tokener_reset() does not need to be called after a valid object is parsed. Eric Haszlakiewicz 2012-03-31 22:53:43 -05:00
  • c5c623a546 Split the json_tokener_parse tests off from test1 into their own test and add several more cases to check various incremental parsing situations. Eric Haszlakiewicz 2012-03-31 22:51:39 -05:00
  • 1489b081a7 For the prototype for json_tokener_error_desc(). Eric Haszlakiewicz 2012-03-31 22:49:58 -05:00
  • 6ff0817bac Mention json_type_to_name() in the docs for json_object_get_type(). Eric Haszlakiewicz 2012-03-31 22:47:47 -05:00
  • 64c0ca3690 Define a LH_LOAD_FACTOR constant and note the range that it can be set to. Change the resize check from "count > size" to "count >= size" to avoid a potential infinite loop with high load factors and a full hash table. Eric Haszlakiewicz 2012-03-31 17:33:58 -05:00
  • aef439a175 Adjust json_object_is_type and json_object_get_type so they return json_type_null for NULL objects. Eric Haszlakiewicz 2012-03-31 13:47:28 -05:00
  • 7e57d63aeb Merge pull request #16 from kdopen/master Eric Haszlakiewicz 2012-03-31 11:12:20 -07:00
  • d3c37b82a6 Ignore several more files, include .o's, .lo's, etc... Eric Haszlakiewicz 2012-03-31 12:55:52 -05:00
  • 3620cba6d0 Perform better error checking in json_tokener_parse_verbose and rewrite json_tokener_parse to use that instead of json_tokener_parse_ex. Fix a typo in the string represenations of the json_tokener_error_depth error (s/to deep/too deep/) Eric Haszlakiewicz 2012-03-31 12:52:59 -05:00
  • 37e7467476 Rename boolean type to json_bool Keith Derrick 2012-03-26 14:29:31 -07:00
  • 2f9091f559 Add json_tokener_get_error() and json_tokener_error_desc() to better encapsulate the process of retrieving errors while parsing. Add documentation for the json_tokener_parse_ex() function. Eric Haszlakiewicz 2012-02-22 08:24:40 -06:00
  • b21b137805 Include json_inttypes.h in json_object.h since we use types like int32_t in the API and some systems need that header to compile. As part of this create a public json_config.h with a custom define to decide whether to include inttypes.h to avoid conflicting with other projects config.h header. Eric Haszlakiewicz 2012-02-15 20:44:54 -06:00
  • 15db9372f3 Merge branch 'master' of https://github.com/json-c/json-c Eric Haszlakiewicz 2012-02-15 19:38:07 -06:00
  • 44f0f62252 Issue#10: add some const qualifiers so test1 compiles again. Eric Haszlakiewicz 2012-02-15 19:37:04 -06:00
  • 0bc84fcaaf Merge pull request #12 from jameinel/win32-project Eric Haszlakiewicz 2012-02-15 17:11:47 -08:00
  • 6a231e4b41 Some updates to make the code compatible with VC 9 (2008) John Arbash Meinel 2012-02-01 09:27:49 +01:00
  • faa535386a Merge pull request #11 from deweerdt/master Eric Haszlakiewicz 2012-01-29 15:49:48 -08:00
  • db050901fa json_tokener_parse(): avoid possible NULL deref Frederik Deweerdt 2012-01-18 17:01:19 -08:00
  • 393085a4ba Merge pull request #7 from federicoculloca/master Eric Haszlakiewicz 2011-12-09 14:42:41 -08:00
  • fc3d2114a6 Merge pull request #8 from mstorsjo/mingw Eric Haszlakiewicz 2011-12-09 14:41:40 -08:00
  • a577ba376f Add -no-undefined to the libtool flags Martin Storsjo 2011-11-25 23:43:25 +02:00
  • 7ec34c9b39 Added capitalized charaters to json_hex_chars Federico Culloca 2011-10-30 12:13:15 +01:00
  • fbae8ad0ad Merge pull request #4 from deweerdt/master Eric Haszlakiewicz 2011-10-12 17:42:36 -07:00
  • c43871c866 Add new json_object_array_sort function Frederik Deweerdt 2011-10-07 21:07:18 +02:00
  • a8ffbe97b0 Add an initial (incomplete) release checklist. Eric Haszlakiewicz 2011-06-14 10:01:27 -05:00
  • 06e52abedb Add Jehiah and myself to the list of authors. Eric Haszlakiewicz 2011-06-14 09:56:00 -05:00
  • e6c76dab66 Update README files with pointers to new github repo and googlegroups mailing list Michael Clark 2011-06-14 10:04:24 +08:00
  • 276123efe0 handle NULL passed to json_objct_object_get Jehiah Czebotar 2011-05-26 01:34:52 +00:00
  • 43d2f417c7 move definition of json_object_iter to public header to enable external use of json_object_object_foreachC Jehiah Czebotar 2011-05-25 04:49:20 +00:00
  • 1910225b7c Set the svn:executable property so running the test_null test works properly. Eric Haszlakiewicz 2011-05-03 21:28:11 +00:00
  • a37ddcff2d Note the json-c home page in the README file. Eric Haszlakiewicz 2011-05-03 21:19:55 +00:00
  • 20707f4e14 Note a few recent changes in the ChangeLog. Eric Haszlakiewicz 2011-05-03 21:17:50 +00:00
  • 7a593a0fa7 Bump up the libtool library version to "1:0:1" (aka libjson.0.1.0) since the API has been extended, but is still backwards compatible.. Eric Haszlakiewicz 2011-05-03 21:12:17 +00:00
  • 0354e19c31 Bump the version to 0.10, since that's what we were at. Eric Haszlakiewicz 2011-05-03 21:09:30 +00:00
  • 41e67d0f6f Add a test_cast test case. This checks that the casting that is implied when calling the various json_object_get_FOO() functions on a differently typed object works correctly. Eric Haszlakiewicz 2011-05-03 20:42:25 +00:00
  • 886c4fbebf Add a json_type_to_name() function which returns a string that describes the type. Useful for logging. Eric Haszlakiewicz 2011-05-03 20:40:49 +00:00
  • e2e16011f0 Fix a bug in json_object_get_int() where calling it on a string type object would always return 0, instead of the actual numerical value of the string. Eric Haszlakiewicz 2011-05-03 20:39:07 +00:00
  • d1342d6f2d Add a dummy "NEWS" file to automake doesn't complain. Eric Haszlakiewicz 2011-05-03 19:24:07 +00:00
  • c096f5a7d7 readme updates Jehiah Czebotar 2011-01-14 18:02:00 +00:00
  • ac601b5b5f update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly Jehiah Czebotar 2011-01-14 17:23:06 +00:00
  • a503ee8217 add json_tokener_parse_verbose, and return NULL on parser errors Jehiah Czebotar 2010-12-08 03:52:07 +00:00
  • 5644272f03 set svn:ignore and .gitignore to skip intermediate build files Jehiah Czebotar 2010-12-07 23:22:33 +00:00
  • 252669cee6 Simplify things by storing integer values only as int64_t's internally, and omit the range check during parsing since we already have the checks when accessing the value. There is no longer a json_type_int64, only json_type_int. Fix some problems with parsing 0 and -0 values, and add a couple of tests. Fix some minor compile issues on HPUX environments. ehaszla 2010-12-07 18:15:35 +00:00
  • f1ae67dbf0 * Fix file descriptor leak if memory allocation fails in json_util Zachary Blair, zack_blair at hotmail dot com Michael Clark 2010-10-13 14:10:51 +00:00
  • bd0a567673 * Fix file descriptor leak if memory allocation fails in json_util Zachary Blair, zack_blair at hotmail dot com Michael Clark 2010-10-13 14:09:41 +00:00
  • d34701ed38 Update executable properties Michael Clark 2010-10-07 01:05:14 +00:00
  • c4dceae1c5 * Add int64 support. Two new functions json_object_net_int64 and json_object_get_int64. Binary compatibility preserved. Eric Haszlakiewicz, EHASZLA at transunion com Rui Miguel Silva Seabra, rms at 1407 dot org Michael Clark 2010-10-06 16:39:20 +00:00