- Sep 07, 2010
-
-
Petri Lehtinen authored
In "make html", don't use the -W flag with Sphinx. This makes it possible to create the documentation with Sphinx 1.0 without errors, as the warning about using old-style C markup isn't turned to an error. Don't build documentation in "make check". Instead, add a new make target "check-doc" to build the documentation with the -W flag.
-
- Aug 13, 2010
-
-
Petri Lehtinen authored
A flexible array member is unportable. Use a table of length 1 instead. This needs some adjustment to the memory allocatio, too.
-
Petri Lehtinen authored
Use offsetof instead of zero pointer dereference trickery.
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
- Jun 17, 2010
-
-
Petri Lehtinen authored
Couple some string and number information from the RFC conformance chapter in the API reference, and refer to the RFC conformance chapter from API reference for more information. Also, state more clearly that a JSON text must have an array or object as the top-level value, and better document the string comparison performed by json_equal().
-
- Jun 15, 2010
-
-
Petri Lehtinen authored
-
- Jun 14, 2010
-
-
Petri Lehtinen authored
These were forgotten when releasing.
-
Petri Lehtinen authored
-
- Jun 13, 2010
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
- Jun 11, 2010
-
-
Petri Lehtinen authored
No changes to the actual library code.
-
- May 20, 2010
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Provide an example usage pattern for reference stealing functions. This way the user (hopely) sees more clearly how the reference stealing functions are meant to be used.
-
- May 14, 2010
-
-
Petri Lehtinen authored
When encoding an array or object ends in an error, the visited flag wasn't zeroed, causing subsequent encoding attempts to fail. This patch fixes the problem by always zeroing the visited flag.
-
Petri Lehtinen authored
Encoding an empty array or object worked, but encoding it again (possibly after adding some items) failed, because the visited flag (used for detecting circular references) wasn't zeroed.
-
- May 07, 2010
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
- Apr 03, 2010
-
-
Petri Lehtinen authored
Conflicts: CHANGES configure.ac doc/conf.py
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
- Mar 29, 2010
-
-
Petri Lehtinen authored
Conflicts: configure.ac
-
Petri Lehtinen authored
The AC_TYPE_INT32_T macro first appeared in autoconf 2.60.
-
Petri Lehtinen authored
Use AC_C_INLINE autoconf macro, include config.h where needed, and add a define of JSON_INLINE to jansson.h that has the correct "inline" keyword.
-
- Mar 27, 2010
-
-
Petri Lehtinen authored
Thanks to Deron Meranda for providing the initial text.
-
Petri Lehtinen authored
Earlier it was a decoding error.
-
Petri Lehtinen authored
-
- Mar 23, 2010
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Initialize their reference counts to (unsigned int)-1 to disable reference counting on them. It already was meant to work like this, but the reference counts were just initialized to 1 instead of -1. Thanks to Andrew Thompson for reporting this issue.
-
- Mar 19, 2010
-
-
Petri Lehtinen authored
-
- Mar 18, 2010
-
-
Andres Freund authored
the missing 'inline' leads to duplicated symbols if the header is included into two separately compiled files.
-
Petri Lehtinen authored
This should have fixed by commit 28682322, but there was one #include left in utf.c. It now includes utf.h instead of stdint.h.
-
- Feb 12, 2010
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
Petri Lehtinen authored
With this encoding flag, the object key-value pairs in output are in the same order in which they were first inserted into the object. To make this possible, a key of an object is now a serial number plus a string. An object keeps an increasing counter which is used to assign serial number to the keys. Hashing, comparison and public API functions were changed to act only on the string part, i.e. the serial number is ignored everywhere else but in the encoder, where it's used to order object keys if JSON_PRESERVE_ORDER flag is used.
-
- Feb 10, 2010
-
-
Petri Lehtinen authored
If a key already exists in the hashtable, use the existing pair changing its value instead of removing the old one and allocating a new pair.
-
- Feb 09, 2010
-
-
Petri Lehtinen authored
When the property already exists in the object, we can store an iterator pointing to that property, instead of duplicating the key. When the property (key) is not present in the object, we still have to duplicate the key.
-
- Feb 07, 2010
-
-
Petri Lehtinen authored
If a user happens to store an ElementProxy or a PropertyProxy instance, we need to take a reference to the JSON value they point to. With PropertyProxy, the key needs to be copied as well.
-
Petri Lehtinen authored
Use AC_TYPE_INT32_T and include inttypes.h (if it exists) instead of stdint.h for maximum portability.
-