summaryrefslogtreecommitdiff
path: root/msgpack/_unpacker.pyx
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated exception classesINADA Naoki2018-11-091-23/+19
|
* PendingDeprecationWarning -> DeprecationWarning (#321)INADA Naoki2018-11-091-3/+3
|
* unpacker: Make default size limit smaller (#319)INADA Naoki2018-11-081-14/+17
| | | | | To avoid DoS attack, make default size limit smaller. Fixes #295
* Deprecate implementation module's unpack() (#290)INADA Naoki2018-02-231-6/+3
|
* Fix #285 againINADA Naoki2018-02-231-18/+3
|
* Revert "Move unpack() from each implementation to __init__. (#286)"INADA Naoki2018-02-231-0/+26
| | | | This reverts commit da902f9c1d996fb461f1efef6487ef40d32d365a.
* Move unpack() from each implementation to __init__. (#286)INADA Naoki2018-02-221-26/+0
| | | Fixes #285
* Use cython's cast for converting encoding and errors (#279)0.5.4INADA Naoki2018-02-051-31/+14
| | | It is little faster on Python 3 because we can skip temporary bytes object
* Undeprecate unicode_errors (#278)INADA Naoki2018-02-051-6/+3
|
* s/raw_as_bytes/raw/g (#276)INADA Naoki2018-01-121-13/+13
| | | fixes #273
* Add raw_as_bytes option to Unpacker. (#265)INADA Naoki2018-01-111-29/+52
|
* Deprecate write_bytes option in Unpacker. (#262)INADA Naoki2018-01-051-0/+3
| | | Fixes #197
* Unpacker: add tell() (#227)jfolz2017-04-301-0/+7
|
* Merge branch 'release-0.4'INADA Naoki2017-01-121-1/+1
|\
| * fix typos and other cosmetic issues (#214)release-0.4TW2017-01-111-1/+1
| | | | | | | | | | | | | | cosmetic issues: - reST headlines' underline length needs to match the headline length (looks like somebody is / was using a proportional font) - Cython code lines do not need to be terminated with a semicolon - always use triple-double-quotes for docstrings
* | enable unpacking from memoryviewfolz2016-06-131-18/+74
| |
* | Use Python's memory API (#185)INADA Naoki2016-04-301-5/+18
| |
* | Deprecate PackExceptionsINADA Naoki2016-02-141-5/+5
| |
* | reraising ValueError from unpack.h as UnpackValueErrorpalaviv2016-02-121-17/+20
|/
* Merge pull request #163 from ThomasWaldmann/masterINADA Naoki2015-12-101-1/+1
|\ | | | | fix typos
| * fix typosThomas Waldmann2015-12-091-1/+1
| |
* | Fix compile errorINADA Naoki2015-11-091-1/+0
| |
* | Add missing params to unpack()INADA Naoki2015-11-091-2/+12
| |
* | Decrease refcnt when error happend while unpackingINADA Naoki2015-11-081-2/+3
| | | | | | | | Fixes #152
* | Fix warningsINADA Naoki2015-11-071-12/+12
|/ | | | fixes #146
* Accept ext_hook for unpack()Johannes Dollinger2015-07-271-2/+2
|
* Fix error when use unicode_literal in Python 2INADA Naoki2015-01-251-3/+7
|
* Add max_<type>_len option to unpacker. (fixes #97).INADA Naoki2015-01-251-12/+48
| | | | Fix build error on 32bit environment (fixes #102).
* Unpacker's ext_hook fixed + testsAlexey Popravka2014-03-241-1/+2
|
* Unpacker: maintain refcnt (fix #67).INADA Naoki2014-02-131-1/+6
|
* Feed data from file before _unpack()INADA Naoki2014-02-131-0/+10
|
* Merge pull request #84 from wbolster/exception-type-cleanupsINADA Naoki2014-02-131-2/+2
|\ | | | | Always raise TypeError for wrong argument types
| * Always raise TypeError for wrong argument typesWouter Bolsterlee2014-02-111-2/+2
| | | | | | | | | | | | | | The code that checks whether hooks are callable() (and some other type checks) should always raise TypeError on failure. Before this change, both ValueError and TypeError were used in an inconsistent way (C extension and Python implementation were not the same).
* | Cosmetic changes to fix Cython warningsWouter Bolsterlee2014-02-111-1/+2
|/ | | | | | | | Put declarations on separate line to avoid warnings like this: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
* Packing ExtType and some cleanupINADA Naoki2013-10-201-36/+13
|
* fallback: Support pack_ext_type.INADA Naoki2013-10-201-2/+0
|
* Merge branch 'master' of https://github.com/antocuni/msgpack-python into newspecINADA Naoki2013-10-201-2/+37
|\ | | | | | | | | | | | | | | Conflicts: msgpack/fallback.py msgpack/unpack.h msgpack/unpack_define.h msgpack/unpack_template.h
| * implement unpacking for all the fixtext formatsAntonio Cuni2013-10-191-2/+19
| |
| * implement unpack_one also for the cython version, and add a test for itAntonio Cuni2013-10-191-0/+18
| |
* | Add bin type support for fallback Unpacker.INADA Naoki2013-10-171-1/+0
|/
* fix compilation errorsYAMAMOTO Takashi2013-06-031-2/+2
|
* Stop using const_void_ptr typedef.INADA Naoki2013-05-191-3/+2
| | | | New Cython supports const natively.
* Revert "Use new buffer interface."INADA Naoki2013-05-191-25/+28
| | | | | | | This reverts commit 085db7f8dca2b4e2497bfb291238cd3ff2d06e28. Conflicts: msgpack/_unpacker.pyx
* fix a compilation errorYAMAMOTO Takashi2013-05-161-1/+1
| | | | | | | msgpack/_unpacker.pyx: In function 'PyObject* __pyx_pf_7msgpack_9_unpacker_unpac kb(PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*, PyObje ct*)': msgpack/_unpacker.pyx:111:70: error: invalid cast from type 'Py_buffer' to type 'char*'
* Use new buffer interface.INADA Naoki2013-04-081-28/+25
|
* Unpacker.feed() uses new buffer interface.INADA Naoki2013-04-081-4/+6
|
* Remove unnecessary type declaration.INADA Naoki2013-04-081-2/+1
|
* remove some macros.INADA Naoki2013-02-271-17/+17
|
* Fix typeerror.INADA Naoki2013-02-261-6/+8
|
* docs: better unpacker docstring.INADA Naoki2013-02-261-24/+40
|