Commit graph

772 commits

Author SHA1 Message Date
INADA Naoki
2dda8fc4a5 travis: Build only master 2015-03-13 04:18:10 +09:00
INADA Naoki
b19e336108 travis: Cython 0.22 2015-03-13 04:05:44 +09:00
INADA Naoki
9fe19cc408 0.4.6 2015-03-13 03:51:14 +09:00
INADA Naoki
4576b94b6c fallback: Add some comment to Unpacker members. 2015-01-27 14:04:32 +09:00
INADA Naoki
3f5e058264 Merge pull request #125 from bwesterb/master
Rollback to correct position in the case of OutOfData.

Fixes #124
2015-01-27 14:03:30 +09:00
Bas Westerbaan
c5d621853d test_sequnpack: python3 literals 2015-01-26 20:55:23 +01:00
Bas Westerbaan
a71a24d86a Fix #124
When using Unpacker as an iterator, after each yield, the internal
buffer (_fb_buffer) was compacted by reallocation (done by _fb_consume).
When dealing with a lot of small objects, this is very ineffecient.
Thus in commit 7eb371f827 the pure python
fallback only reallocated the complete buffer when the iteration stops.
When halfway there happens to be data missing in the buffer, we rollback
the buffer to the state before this failed call, and raise an OutOfData.
This rollback, done by _fb_rollback, did not consider the possibility
that the buffer was *not* reallocated.  This commit corrects that.
2015-01-26 20:34:31 +01:00
Bas Westerbaan
83404945c0 Add test for issue #124 2015-01-26 20:31:03 +01:00
INADA Naoki
68b0294465 update README 2015-01-26 00:39:50 +09:00
INADA Naoki
630c046bf2 0.4.5 2015-01-26 00:38:36 +09:00
INADA Naoki
ec5dff113e Merge pull request #105 from msgpack/max-xxx-size
Add max_<type>_len option to unpacker. (fixes #97).
2015-01-25 03:34:25 +09:00
INADA Naoki
2985f4d865 Fix error when use unicode_literal in Python 2 2015-01-25 02:35:57 +09:00
INADA Naoki
75ce78dd15 Add max_<type>_len option to unpacker. (fixes #97).
Fix build error on 32bit environment (fixes #102).
2015-01-25 01:41:21 +09:00
INADA Naoki
c43fb48724 Merge pull request #123 from ktdreyer/pytest-2.3-compat
tests: add pytest 2.3 compatibility
2015-01-24 17:30:21 +09:00
Ken Dreyer
f40fdf523a tests: add pytest 2.3 compatibility
Adjust the skipif conditional to use the older pytest 2.3 syntax.

(This allows the tests to pass with the system pytest package on RHEL
7.0, since RHEL 7.0 ships pytest 2.3.5.)
2015-01-23 12:27:58 -07:00
INADA Naoki
5025b51d3b Merge branch 'master' of github.com:msgpack/msgpack-python 2015-01-14 10:02:55 +09:00
INADA Naoki
d14a7885c7 Fix typo in ChangeLog.
Fixes #121.
Thanks @dmick
2015-01-14 10:02:04 +09:00
INADA Naoki
35947630b7 Merge pull request #120 from msabramo/patch-2
README.rst: Add PyPI badge
2015-01-09 15:43:53 +09:00
Marc Abramowitz
e7f505119d README.rst: Add PyPI badge 2015-01-08 22:05:27 -08:00
INADA Naoki
5abb73ebfa Merge pull request #119 from msabramo/patch-1
README.rst: Add code-blocks
2015-01-09 14:19:27 +09:00
Marc Abramowitz
2b4a815e5a README.rst: Add code-blocks
For syntax highlighting
2015-01-08 20:37:31 -08:00
INADA Naoki
87b493b2d8 Update README 2015-01-09 09:54:30 +09:00
INADA Naoki
deb8094e1d 0.4.4 2015-01-09 09:53:44 +09:00
INADA Naoki
3445e43d72 0.4.4 2015-01-09 09:53:27 +09:00
INADA Naoki
f86a0442ec Merge pull request #117 from msgpack/cython-cache
Use wheelhouse for cython
2015-01-09 09:41:49 +09:00
INADA Naoki
b6055ce47e Fix tox.ini 2015-01-09 09:35:31 +09:00
INADA Naoki
ca9768771d Use wheelhouse for cython 2015-01-09 09:31:26 +09:00
INADA Naoki
ed30acb934 Merge pull request #116 from msgpack/fix-0_4_3-regression
Fix compile error on _packer
2015-01-09 04:30:24 +09:00
INADA Naoki
715fcac6c6 Fix tox 2015-01-09 04:19:34 +09:00
INADA Naoki
ee0e435535 Fix compile error. 2015-01-09 04:10:25 +09:00
INADA Naoki
c25c8d7246 Check extension module was compiled. 2015-01-09 04:07:47 +09:00
INADA Naoki
868d149efc Merge branch 'master' of github.com:msgpack/msgpack-python 2015-01-07 16:09:39 +09:00
INADA Naoki
5bc685973d 0.4.3 2015-01-07 15:59:35 +09:00
INADA Naoki
198196c731 Merge pull request #115 from msgpack/fix-windows
Fix build failuer for Python 2.7 on Windows.
2015-01-07 15:56:58 +09:00
INADA Naoki
9624a2aca3 Fix build failuer for Python 2.7 on Windows.
Remove int8_t usage.
2015-01-07 12:10:42 +09:00
INADA Naoki
593887025e Fix README reST 2015-01-02 12:12:09 +09:00
INADA Naoki
00f193ba08 Merge pull request #113 from msgpack/new-travis
Use new container based Travis-CI
2014-12-18 13:24:08 +09:00
INADA Naoki
0be3e874c6 Use new container based Travis-CI 2014-12-18 13:17:49 +09:00
INADA Naoki
547a668ad6 Merge pull request #110 from JasonXJ/master
add support for pypy3
2014-11-14 16:24:11 +09:00
Xiaojie Lin
d5e9ac9316 add support for pypy3 2014-11-14 14:47:54 +11:00
INADA Naoki
ef3f94101a Merge branch 'master' of github.com:msgpack/msgpack-python 2014-08-31 03:13:09 +09:00
INADA Naoki
6948dd5120 Fix benchmark 2014-08-31 03:03:48 +09:00
INADA Naoki
5d6481dcbb Merge pull request #107 from msgpack/fix-build
Fix build and tests.
2014-08-31 02:36:32 +09:00
INADA Naoki
d6c773dc4d Fix build and tests. 2014-08-31 02:29:05 +09:00
INADA Naoki
5cfa49bb2c Merge pull request #103 from bwesterb/master
Some performance improvements for PyPy
2014-06-16 16:17:24 +09:00
Bas Westerbaan
0532ea87fb fallback: fix BufferFull with sloppy consume 2014-06-15 22:45:30 +02:00
Bas Westerbaan
b334d441c3 fallback: _fb_read: do a big read, when we need a big read 2014-06-14 18:42:02 +02:00
Bas Westerbaan
952eb9fc53 fallback: add some comments to _fb_read 2014-06-14 18:34:17 +02:00
Bas Westerbaan
7eb371f827 fallback: do not reset the buffer completely in between of iterations 2014-06-14 18:30:38 +02:00
Bas Westerbaan
ba8cf1c402 fallback: _fb_consume: improve performance with pypy 2014-06-14 18:26:30 +02:00