Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid overriding json.load (fixes #37)jsonload-no-override | Stefan Kögl | 2017-10-21 | 1 | -2/+2 |
| | |||||
* | Remove support for Python 2.6 | Stefan Kögl | 2017-10-21 | 1 | -19/+3 |
| | |||||
* | Remove trailing whitespace | Stefan Kögl | 2017-09-10 | 1 | -2/+2 |
| | |||||
* | fixing array diff bug (issue #30) | thunderstruck47 | 2017-07-26 | 1 | -2/+5 |
| | |||||
* | Merge commit '1fc5e2022ff2c5796bd28af56646b135ede4ee71' | Stefan Kögl | 2017-07-17 | 1 | -1/+1 |
|\ | |||||
| * | Bump version to 1.16v1.16 | Stefan Kögl | 2017-06-15 | 1 | -1/+1 |
| | | |||||
* | | Avoid double work (#62) | Tristan Seligmann | 2017-07-09 | 1 | -1/+1 |
|/ | | | In the case where the optimized patch is not invalid, we shouldn't need to calculate the patch again. | ||||
* | don't apply patch optimization when it's incorrect | Kostya | 2017-04-27 | 1 | -4/+15 |
| | |||||
* | Fix: optimization bugs #55, #54, add more tests | kostya | 2017-03-08 | 1 | -1/+10 |
| | |||||
* | bump version to 1.15v1.15 | Stefan Kögl | 2017-01-12 | 1 | -1/+1 |
| | |||||
* | bump version to 1.14 | Stefan Kögl | 2017-01-12 | 1 | -1/+1 |
| | |||||
* | Use inspect.signature() on Python 3 | Victor Stinner | 2016-07-22 | 1 | -2/+5 |
| | | | | | The inspect.getargspec() function has been deprecated in Python 3: https://docs.python.org/3/library/inspect.html#inspect.getargspec | ||||
* | Fix KeyError in add/remove optimization | Kirill Goldshtein | 2016-05-04 | 1 | -1/+1 |
| | |||||
* | bump version to 1.13v1.13 | Stefan Kögl | 2016-02-13 | 1 | -1/+1 |
| | |||||
* | Make ``move`` operation with from == path a no-op | Stefan Kögl | 2016-02-13 | 1 | -0/+4 |
| | |||||
* | Optimize "deep" ``replace`` operation, fixes #36 | Stefan Kögl | 2016-02-13 | 1 | -3/+10 |
| | |||||
* | 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 |
| |