Permalink
Commits on Feb 13, 2012
  1. Merge branch 'master' of ssh://git.fedorahosted.org/git/json_diff

    Conflicts:
    	json_diff.py
    mcepl committed Feb 13, 2012
  2. Just get rid off locale.getpreferredencoding.

    It doesn't do us any good and people should use UTF-8 anyway.
    
    Signed-off-by: Matěj Cepl <mcepl@redhat.com>
    mcepl committed Feb 13, 2012
  3. Just get rid off locale.getpreferredencoding.

    It doesn't do us any good and people should use UTF-8 anyway.
    
    Signed-off-by: Matěj Cepl <mcepl@redhat.com>
    mcepl committed Feb 13, 2012
Commits on Jan 18, 2012
  1. Plenty of setup.py work.

     * Yet another (hopefully the last) fix of the development website. We are
       on fedorahosted.org now.
     * Move tests to test/ module
     * Clean up setup.py (when using defaults, install doesn’t install tests,
       which I like)
     * Add new setup.py command test to run the test suite.
    mcepl committed Jan 18, 2012
Commits on Jan 11, 2012
Commits on Dec 3, 2011
Commits on Dec 1, 2011
  1. One more python 2.4 compatibility fix.

    Maintainer of optparse library couldn't have a better idea than to change
    "usage:" to "Usage:" (between 2.4 and 2.6)! Grrrrrrr.
    mcepl committed Dec 1, 2011
Commits on Nov 30, 2011
  1. Set exit status of json_diff command.

    0 means no difference
    1 there is a difference.
    mcepl committed Nov 30, 2011
Commits on Nov 29, 2011
  1. Make scripts pylint and PEP8 compliant.

    New version 1.1.0.
    mcepl committed Nov 29, 2011
Commits on Nov 23, 2011
Commits on Nov 22, 2011
  1. Added test for -i functionality. It actually works!

    (and test doesn't run for that long, so it can be switched on per
    default).
    mcepl committed Nov 22, 2011
Commits on Nov 21, 2011
  1. Python 2.4 compatible

    mcepl committed Nov 21, 2011
  2. Two small nits in __main__ part.

    mcepl committed Nov 21, 2011
  3. Don't use strings, when you can use lists (for output collection)

    Maybe a bit of premature optimization, but hopefully it won't hurt.
    mcepl committed Nov 21, 2011
  4. Refactoring to use smaller functions.

    Could be eventually good for profiling etc. (and better testing?)
    mcepl committed Nov 21, 2011
Commits on Nov 20, 2011
  1. Remove .ditz with all tasks

    mcepl committed Nov 20, 2011
  2. Option -i which allows only enumerated attributes to be considered.

    All tests pass (including the large piglit one, except I keep it commented
    out, it takes over 4.5 minutes to finish).
    mcepl committed Nov 19, 2011
Commits on Nov 19, 2011
  1. Add tons of elementary tests.

    Tests now should cover all basics of JSON format.
    Also added a method _run_test_strings for simple tests.
    Created a parent class OurTestCase containing the above helper methods.
    Moved static strings to special module.
    mcepl committed Nov 19, 2011
  2. At least some tests work.

    mcepl committed Nov 19, 2011
Commits on Nov 16, 2011
Commits on Nov 8, 2011
  1. Update testing data to the newest piglit checkout.

    Also add a bug about crashing json_diff on arrays.
    mcepl committed Nov 8, 2011
Commits on Nov 1, 2011
  1. Making the script slightly more future-proof.

    use from __future__ import division, absolute_import
    use argparse instead of optparse
    mcepl committed Nov 1, 2011
Commits on Oct 28, 2011
  1. HTML formatted output possible.

    mcepl committed Oct 28, 2011
Commits on Oct 24, 2011
  1. Added original XDiff paper

    mcepl committed Oct 24, 2011
  2. First working (w/unit tests) version.

    Includes also tests for results of piglit run.
    mcepl committed Oct 14, 2011
  3. Add testing data.

    mcepl committed Oct 24, 2011