Permalink
Commits on Aug 14, 2010
  1. Merge branch '1.3'

    Conflicts:
    	doc/apiref.rst
    	src/jansson_private.h
    akheron committed Aug 14, 2010
  2. Set the version number to 2.0pre

    akheron committed Aug 14, 2010
  3. Add a flags parameter to all decoding functions for future needs

    As of now, the parameter is unused, but may be needed in the future.
    I'm adding it now so that in the future both API and ABI remain
    backwards compatible as long as possible.
    
    This is a backwards incompatible change.
    akheron committed Aug 13, 2010
Commits on Aug 13, 2010
  1. Change the maximum indentation size to 32 spaces in encoder

    This is to free up bits from the flags parameter of json_dump
    functions. I'm pretty sure no-one needs 256 spaces of indentation when
    pretty-printing JSON values...
    
    This is a backwards incompatible change.
    akheron committed Aug 13, 2010
  2. Change the underlying type of JSON integer from long to json_int_t

    json_int_t is typedef'd to long long if it's supported, or long
    otherwise. There's also some supporting things, like the
    JSON_INTEGER_FORMAT macro that expands to the printf() conversion
    specifier that corresponds to json_int_t's actual type.
    
    This is a backwards incompatible change.
    akheron committed Aug 13, 2010
Commits on Aug 12, 2010
  1. Make object_key_t portable

    A flexible array member is unportable. Use a table of length 1
    instead. This needs some adjustment to the memory allocatio, too.
    akheron committed Aug 12, 2010
  2. Beautify the container_of macro

    Use offsetof instead of zero pointer dereference trickery.
    akheron committed Aug 12, 2010
Commits on Aug 10, 2010
  1. Move site configuration to jansson_config.h

    This way, more site configuration can be more easily added later.
    akheron committed Aug 10, 2010
  2. Change JSON integer's underlying type from int to long

    This is a backwards incompatible change.
    akheron committed Aug 10, 2010
Commits on Jun 16, 2010
  1. Clarify the documentation

    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().
    akheron committed Jun 16, 2010
Commits on Jun 15, 2010
  1. Unify unsigned integer usage in the API

    Replace all occurences of unsigned int and unsigned long with size_t.
    
    This is a backwards incompatible change, as the signature of many API
    functions changes.
    akheron committed Jun 15, 2010
Commits on Jun 14, 2010
  1. Add a few missing changes to CHANGES for v1.3

    These were forgotten when releasing.
    akheron committed Jun 14, 2010
Commits on Jun 13, 2010
  1. jansson 1.3

    akheron committed Jun 13, 2010
Commits on Jun 12, 2010
  1. Remove the C++ interface

    akheron committed Jun 12, 2010
  2. Merge branch '1.2'

    akheron committed Jun 12, 2010
Commits on Jun 10, 2010
  1. Fix a few memory leaks in tests

    No changes to the actual library code.
    akheron committed Jun 10, 2010
Commits on May 20, 2010
  1. Merge branch '1.2'

    akheron committed May 20, 2010
  2. Clarify the documentation on reference stealing

    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.
    akheron committed May 20, 2010
Commits on May 14, 2010
  1. Zero the visited flag after an encoding error

    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.
    akheron committed May 14, 2010
  2. Zero the visited flag after encoding an empty array or object

    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.
    akheron committed May 12, 2010
Commits on May 7, 2010
  1. Merge branch '1.2'

    akheron committed May 7, 2010
Commits on Apr 3, 2010
  1. Merge branch '1.2'

    Conflicts:
    	CHANGES
    	configure.ac
    	doc/conf.py
    akheron committed Apr 3, 2010
  2. jansson 1.2.1

    akheron committed Apr 3, 2010
Commits on Mar 28, 2010
  1. Merge branch '1.2'

    Conflicts:
    	configure.ac
    akheron committed Mar 28, 2010
  2. Require autoconf 2.60

    The AC_TYPE_INT32_T macro first appeared in autoconf 2.60.
    akheron committed Mar 28, 2010
  3. Support compilers that don't have the "inline" keyword

    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.
    akheron committed Mar 28, 2010
Commits on Mar 26, 2010
  1. doc: Add chapter on RFC conformance

    Thanks to Deron Meranda for providing the initial text.
    akheron committed Mar 26, 2010
  2. Estimate real number underflows with 0.0

    Earlier it was a decoding error.
    akheron committed Mar 26, 2010
  3. Enhance tests for null byte

    akheron committed Mar 26, 2010