Permalink
Commits on Apr 28, 2016
  1. Update readthedocs URLs

    aperezdc committed Apr 28, 2016
Commits on Mar 20, 2016
  1. Release v13

    aperezdc committed Mar 20, 2016
  2. Allow serializing Python sets (and frozensets)

    aperezdc committed Mar 20, 2016
    Sets and frozensts can be serialized as lists: they are no more than a
    collection of elements (like a list is). Note that the conversion is lossy,
    and on deserialization lists are to be returned instead.
Commits on Dec 3, 2015
  1. Release v12

    aperezdc committed Dec 3, 2015
  2. Import missing test file

    aperezdc committed Dec 3, 2015
  3. Implements a Parser.messages() generator

    aperezdc committed Dec 3, 2015
    Using the .messages() iterator is equivalent to calling Parser.parse_message()
    repeteadly in a loop until the end of the input stream is reached. This just
    provides a more convenient interface to the same functionality.
    
    Closes #10
  4. Merge pull request #9 from ogarcia/doc-fix

    aperezdc committed Dec 3, 2015
    Fix small error in quickstart documentation
  5. Return None when using parse_message() after the last one

    aperezdc committed Dec 3, 2015
    This makes Parser.parse_message() return None when trying to parse after the
    last framed message in an input stream and EOF is found.
    
    Closes #8
  6. Fix parsing with repeated Parser.parse_message() calls

    aperezdc committed Dec 3, 2015
    Parsing multiple messages framed using braces could fail to parse the second
    (and subsequent) items, due to whitespace not being skipped after each framed
    message.
    
    Closes #7
Commits on Dec 2, 2015
  1. Release v11

    aperezdc committed Dec 2, 2015
Commits on Nov 27, 2015
  1. Release v10

    aperezdc committed Nov 27, 2015
  2. Write documentation section about advanced topics

    aperezdc committed Nov 27, 2015
    This covers cast-callbacks and value-callbacks. Which at the same time
    explains how to gain access to annotations.
    
    Closes #6
  3. Do not use Unicode in the Sphinx configuration

    aperezdc committed Nov 27, 2015
    RTD does not like it. Neither does the Sphinx running under Python 2.x
  4. Skeleton for Sphinx-generated documentation

    aperezdc committed Nov 27, 2015
    This patch adds the files needed to build the documentation with Sphinx.
  5. Write documentation strings for public API

    aperezdc committed Nov 27, 2015
    Closes issue #4
  6. Do not check the script __main__ for coverage

    aperezdc committed Nov 27, 2015
    Unit tests won't ever cover it, so why bother?
  7. Remove stray "print()" call

    aperezdc committed Nov 27, 2015
    Probably leftover from debugging. The affected code path has a low probability
    of being used, so it has been unadverted until now.
  8. Fix error scanning hex escape sequences in strings

    aperezdc committed Nov 27, 2015
    When converting an hex escape code inside a string literal, in Python 3 the
    resulting value would be converted to a "str", while the rest of the parser
    expects input as "bytes". This patch makes sure that an hex escape code
    sequence is always converted to "bytes" before going back to the parser code
    path.
  9. Merge pull request #5 from aperezdc/py26-fixes

    aperezdc committed Nov 27, 2015
    Fix test.util._make_is() so it works with Python 2.6
  10. Fix test.util._make_is() so it works with Python 2.6

    aperezdc committed Nov 27, 2015
  11. HEP-1: Support on-dump value conversion callbacks

    aperezdc committed Nov 27, 2015
    This allows specifying a callback to apply conversions to application objects
    before they are serialized into HiPack values. The callback can, optionally,
    indicate which annotations (if any) are to be written alongside the value.
    
    Issue: #3
Commits on Nov 26, 2015
  1. HEP-1: Support on-parse value cast callbacks

    aperezdc committed Nov 26, 2015
    This wires the parsing of annotations with the rest of the code in order to
    allow doing useful things with the annotations. By default, behaviour will be
    as before, but it is also now possible to specify a callback function which
    converts parsed values on-the-go, and has access to annotations.
    
    Issue: #3
Commits on Nov 24, 2015
  1. Modify unit tests to also exercise annotation parsing

    aperezdc committed Nov 24, 2015
    This patch modifies the unit tests, in the following ways:
    
    * Test cases which tried parsing literals are modified to also try to parse
      the same literals with annotations preceding the values.
    * Add a test case for invalid annotations.
  2. Implement parsing HEP-001 value annotations

    aperezdc committed Nov 24, 2015
    This implements parsing of value annotations (as per HEP-001) *only*:
    the annotations are parsed and discarded, and the only validation so
    far is checking for duplicate annotations.
  3. Use assertEqual() instead of deprecated assertEquals()

    aperezdc committed Nov 24, 2015
    The TestCase.assertEquals() method is deprecated. This changes the test to
    use TestCase.assertEqual() instead as recommended.
Commits on Jul 26, 2015