Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Commits on Mar 9, 2013
  1. Removing the perf folder.

  2. Correcting tests.

  3. Making splicing of SD happen backwards.

    Going "forwards" in the loop prevented multiple SD's (which are valid) from
    being parsed out.
Commits on Mar 8, 2013
  1. Fixing RFC 5848 test.

  2. Using valid SD in 5424 tests.

  3. Replacing structured data parser.

    This is a faster than regex implementation that is using a semi-convoluted
    finite state machine which has room for optimisation, but strictly adhears to
    the specification and no longer does data chopping and hacking to get the values
Commits on Mar 7, 2013
  1. Adding structured data test.

    This is also breaking thanks to the issue I found with our parser.
  2. Adding tests to decode privals.

    In the course of this test I discovered that higher than pesmissable privals
    (>=191) were being "let through". They now return false.
  3. Moving parser to use prototypes, like the producer.

    This will make unit tests possible, more consistent code and well, you get the
    idea. We're instantiating a new instance on export because this will mean that
    users won't have to change how they already use the library - it should just
    work as is.
Commits on Mar 6, 2013
  1. Removing previous methods of tests.

    That's right folks, fixtures don't really make sense here. Instead I have opted
    to go through and validate almost* every value of each message that was in
    fixtures. This has caused me to find two problems, one with ISO8601 parsing but
    I blame other people for that, but also with the structured data parsing so as
    of this commit TESTS FAIL with FIXME left where they need fixing.
    * Times in 3164 tests are not immediately tested because they feature no year
    and no TZ, new Date('...') will use this TZ and it's known DST, and this year.
    Tests will break until I find a better way of doing things.
Commits on Mar 3, 2013
  1. Removing original parse test.

  2. Fixing runner to work on any js file.

    No "test" prefix required. Will also not run itself, and not put any data out to
    STDOUT/STDERR unless something fails.
  3. Adding a generic runner so all tests can be run.

    This has been modified from and modified in line
    with the rest of my code.
  4. Removing snake case from vars

Commits on Jan 9, 2013
  1. Version 0.1.3

  2. Merge pull request #9 from stancarney/master

    Host/timestamp parsing fix for RFC3164 messages.
  3. @stancarney

    Fix for #7.

    stancarney authored
    For RFC3164 messages the first 9 days of each month cause an extra space to appear between the month code and the day of the month. This fix checks to see if the extra space exists and removes it if it does.
Commits on Sep 4, 2012
Something went wrong with that request. Please try again.