Permalink
Commits on Apr 7, 2010
  1. Properly escape inbound slashes and double-quotes

    Change-Id: I38c4d06f9c2c6cae361b9921ad1c51aeb5baacc8
    committed Apr 7, 2010
  2. Enable new unicode tests to run on Python 2 and 3 properly

    Change-Id: I5b680279773a13d7bb5490e194f1ebdbbde0f731
    committed Apr 7, 2010
  3. Increment the py-yajl version to v0.3.4

    Change-Id: I0b19f60aa91d51040ffc5735c9b88c5572cfd098
    committed Apr 7, 2010
  4. When converting a tuple to a list, the count needs to be incremented …

    …on the borrowed reference
    
    
    http://github.com/rtyler/py-yajl/issues#issue/11
    
    Change-Id: I54adeaf992d041f43b8d1c9c8eb3fbe957b85826
    committed Apr 7, 2010
  5. Bump yajl to the latest version

    Change-Id: I643ae26f8ea2ed521e14a3477dccdb47cde88766
    committed Apr 5, 2010
  6. When not using the XML option, fall-back to unittest.main()

    Change-Id: I266b5b6bd7aae778f8d6730a018353ff32a69eb0
    committed Apr 5, 2010
  7. Properly escape unicode characters to their proper code points

    Using yajl_gen_number() to circumvent yajl_gen_string()'s built-in
    escaping and performing the conversion of wide-characters to their
    respective code-points before passing the buffer along
    
    Testing latin-1 and simplified chinese characters.
    
    http://github.com/rtyler/py-yajl/issues#issue/7
    
    Change-Id: I3a851aeff6548c7a3246be09515731abaae1fe93
    committed Mar 22, 2010
Commits on Mar 22, 2010
  1. Skip the "long" test in Python 3

    Change-Id: Id93849811fbc904fd96a951b7e7b31c897f7eb14
    committed Mar 22, 2010
  2. Encode keys properly for Python 3

    Change-Id: I6f931788c6d9665bba98083335157318807c6a63
    committed Mar 22, 2010
  3. When dealing with numbered keys in dictionaries, convert them to strings

    Per issue #10, this is in line with the Python `json` module behavior:
    
        >>> import json
        >>> json.dumps({1:2})
        '{"1": 2}'
        >>> json.dumps({1.2:2})
        '{"1.2": 2}'
    
    Change-Id: Idd5c10e884227c5f82f19c6eabf083059f97950e
    committed Mar 22, 2010
  4. Update ignore rules to exclude more

    Change-Id: Ie3753837fc5266f34fa37309e3bf051d67b1bfbe
    committed Mar 22, 2010
  5. Bump version to 0.3.3

    Change-Id: I7cd8316e65390e0f34e208114b96e3426f252093
    committed Mar 22, 2010
  6. Raise a TypeError when encountering objects that cannot be serialized

    When calling `json.dumps` on a list of set() objects we should be raising
    a TypeError. Resolving the issue wherein objects inside of lists in
    `ProcessObject` that could not be encoded would be silently dropped.
    
    Change-Id: I1022f8fa27b8290839a11fa22edba8d776a0f145
    committed Mar 22, 2010
  7. Convert tuples to lists before encoding them

    The `json` module in Python 2.6 functions in a similar fashion:
    
        >>> json.dumps([(2,3,)])
        '[[2, 3]]'
        >>>
    
    Reported by indigoviolet in issue #8
    
    Change-Id: Ia5f0b649d137e42a692a38b52ccff71874dd4c71
    committed Mar 22, 2010
Commits on Feb 21, 2010
  1. Python 3-safe prints.

    committed Feb 21, 2010
  2. Bump version to 0.3.2

    committed Feb 21, 2010
  3. Define some macros for building cleanly on Python 2.4 and Python 2.5

    With regards to PyUnicode_DecodeUTF8() I'm /hoping/ that it operates
    in a similar fashion to PyUnicode_FromStringAndSize() on Python 2.6/3.0
    committed Feb 21, 2010
Commits on Feb 20, 2010
  1. Fix Py_SIZE, macro

    Using Py_Size() gives this error on 2.5:
        Symbol not found: _Py_Size
    committed Feb 20, 2010
Commits on Jan 10, 2010
  1. Bump version

    committed Jan 10, 2010
  2. Increment the refcount on Py_None

    committed Jan 10, 2010
  3. Tidy up some formatting

    committed Jan 10, 2010
Commits on Jan 9, 2010
  1. Update yajl submodule to 1.0.10

    committed Jan 9, 2010
Commits on Dec 23, 2009
  1. Fix leak with indentation support

    committed Dec 23, 2009
Commits on Dec 22, 2009