Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bump version to 1.12v1.12v112 | Stefan Kögl | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | Fix bug in _split_by_common_seq using wrong range in right subtree | Alex Pinkney | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | bump version to 1.11v1.11 | Stefan Kögl | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | bump version to 1.10 | Stefan Kögl | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | bump version to 1.9v1.9 | Stefan Kögl | 2014-11-03 | 1 | -1/+1 |
| | |||||
* | Use ABCs instead of list/dict, fixes #33 | Stefan Kögl | 2014-11-03 | 1 | -10/+19 |
| | |||||
* | bump version to 1.8v1.8 | Stefan Kögl | 2014-09-26 | 1 | -1/+1 |
| | |||||
* | raise JsonPatchException on missing patch attributes | Stefan Kögl | 2014-07-03 | 1 | -13/+41 |
| | |||||
* | bump version to 1.7v1.7 | Stefan Kögl | 2014-07-03 | 1 | -1/+1 |
| | |||||
* | bump version to 1.6v1.6 | Stefan Kögl | 2014-06-24 | 1 | -1/+1 |
| | |||||
* | Fix make_patch() when root is an array (fixes #28) | Stefan Kögl | 2014-06-24 | 1 | -1/+1 |
| | |||||
* | Merge branch 'remove-error' of https://github.com/umago/python-json-patch | Stefan Kögl | 2014-04-10 | 1 | -1/+2 |
|\ | | | | | | | | | Conflicts: jsonpatch.py | ||||
| * | Improve error message when removing non-existent objects | Lucas Alvares Gomes | 2014-04-07 | 1 | -1/+2 |
| | | |||||
* | | bump version to 1.5v1.5 | Stefan Kögl | 2014-03-22 | 1 | -1/+1 |
| | | |||||
* | | fix make_patch where obj keys contain "/", fixes #26 | Stefan Kögl | 2014-03-22 | 1 | -8/+12 |
| | | |||||
* | | Optimize jsonpatch.make_patch for lists. Fixes #24 | Alexander Shorin | 2014-03-22 | 1 | -22/+234 |
| | | | | | | | | | | | | | | | | | | This optimization tries to work only with really different lists subsequences and trying to preserve as much as possible common ones. This reduces overall of generated operations since now it's possible to simple insertions. Also, it converts pairs of remove-add operations into single replace (if target path is the same) or move (if target value is the same). | ||||
* | | Catch KeyError when accessing the sub-doc items | Lucas Alvares Gomes | 2014-02-03 | 1 | -3/+9 |
|/ | |||||
* | allow moving array items into other items in same array | Johan Forsberg | 2014-01-11 | 1 | -1/+1 |
| | |||||
* | Fix equality tests for Python 3.x | Alexander Shorin | 2013-11-12 | 1 | -1/+1 |
| | | | | | Since map() returns generator in 3.x, it's not possible to compare them without unwrap. | ||||
* | Keep things simple | Alexander Shorin | 2013-11-12 | 1 | -7/+1 |
| | |||||
* | Use new string formatting syntax | Alexander Shorin | 2013-11-12 | 1 | -9/+8 |
| | | | | Python 2.5 support was dropped long ago to care about | ||||
* | Raise TypeError instead of AssertionError | Alexander Shorin | 2013-11-12 | 1 | -11/+6 |
| | |||||
* | Use reversed(range) is recommended over range with negative step | Alexander Shorin | 2013-11-12 | 1 | -2/+1 |
| | | | | https://mail.python.org/pipermail/python-ideas/2013-October/023733.html | ||||
* | Fix broken test for Python 2.x | Alexander Shorin | 2013-10-28 | 1 | -0/+6 |
| | | | | | | | Fun fact: for Python 3.x you don't need to explicitly implement __ne__ method if __eq__ exists, but you have do this for 2.x or your objects may be equal and non-equal at the same time. Seems like, before refactoring, operator.eq had used right logic. | ||||
* | Fix some pylint warnings for Python 2.x | Alexander Shorin | 2013-10-28 | 1 | -3/+3 |
| | |||||
* | Remove useless iterations | Alexander Shorin | 2013-10-28 | 1 | -9/+18 |
| | |||||
* | Raise pylint score from 6.87 to 9.10 | Alexander Shorin | 2013-10-28 | 1 | -51/+62 |
| | |||||
* | bump version to 1.3v1.3 | Stefan Kögl | 2013-10-13 | 1 | -1/+1 |
| | |||||
* | bump version to 1.2v1.2 | Stefan Kögl | 2013-10-09 | 1 | -1/+1 |
| | |||||
* | handle duplicate JSON keys only when possible | Stefan Kögl | 2013-10-09 | 1 | -1/+22 |
| | |||||
* | exception if patch has multiple "op"s | Stefan Kögl | 2013-10-09 | 1 | -1/+20 |
| | |||||
* | refactor tpye check | Stefan Kögl | 2013-07-12 | 1 | -4/+5 |
| | |||||
* | refactor type check | Stefan Kögl | 2013-07-12 | 1 | -4/+5 |
| | |||||
* | fix pointer containment comparison | Stefan Kögl | 2013-07-12 | 1 | -1/+1 |
| | |||||
* | catch correct exception | Stefan Kögl | 2013-07-12 | 1 | -1/+1 |
| | |||||
* | fix JsonPatch.__eq__(other) for Python 3 | Stefan Kögl | 2013-07-12 | 1 | -1/+1 |
| | |||||
* | simplify equality comparison | Stefan Kögl | 2013-07-12 | 1 | -4/+2 |
| | |||||
* | refactor equality comparison | Stefan Kögl | 2013-07-12 | 1 | -4/+11 |
| | |||||
* | Merge branch 'master' of github.com:stefankoegl/python-json-patch | Stefan Kögl | 2013-07-12 | 1 | -1/+1 |
|\ | |||||
| * | remove unused parameter to JsonPointer.to_last() | Stefan Kögl | 2013-07-11 | 1 | -1/+1 |
| | | |||||
* | | bump version to 1.1v1.1 | Stefan Kögl | 2013-06-27 | 1 | -1/+1 |
|/ | |||||
* | Fixed replacing whole document | William Kral | 2013-06-23 | 1 | -0/+3 |
| | | | | | | | | - json pointer to_last operation returns None for the part in the case that it is a whole document pointer - json patch now checks to see if the part is None and simply returns the value to replace the document - Added a test to verify the fix | ||||
* | use unicode literals and update tests | Stefan Kögl | 2013-04-13 | 1 | -4/+6 |
| | |||||
* | bump version to 1.0v1.0 | Stefan Kögl | 2013-04-03 | 1 | -1/+1 |
| | |||||
* | mention RFC 6902 | Stefan Kögl | 2013-04-03 | 1 | -3/+1 |
| | |||||
* | allow replacing the root of the document | Stefan Kögl | 2013-04-03 | 1 | -5/+19 |
| | | | | | This fixes the test from https://github.com/json-patch/json-patch-tests/commit/4db5098183c0e1d706b4525 | ||||
* | bump version to 0.12v0.12 | Stefan Kögl | 2013-01-03 | 1 | -1/+1 |
| | |||||
* | "add" op should overwrite existing field in obj | Stefan Kögl | 2012-12-21 | 1 | -3/+0 |
| | |||||
* | remove duplicate raise statement | Stefan Kögl | 2012-12-17 | 1 | -1/+0 |
| | |||||
* | bump version to 0.11v0.11 | Stefan Kögl | 2012-12-14 | 1 | -2/+2 |
| |