Commit graph

857 commits

Author SHA1 Message Date
INADA Naoki
cbdf3c339a s/precise_mode/strict_types/ 2015-11-10 03:30:11 +09:00
INADA Naoki
e9a47cbd35 Merge branch 'master' of https://github.com/faerot/msgpack-python into pramukta-default_function_on_int_overflow 2015-11-10 01:52:52 +09:00
INADA Naoki
29266b024e Update ChangeLog 2015-11-09 02:34:28 +09:00
INADA Naoki
a1317b604f refactor 2015-11-09 02:34:17 +09:00
INADA Naoki
ca87a7e539 Merge pull request #135 from pramukta/default_function_on_int_overflow
Default function on int overflow
2015-11-09 02:23:22 +09:00
INADA Naoki
7d900371c8 Fix compile error 2015-11-09 02:09:39 +09:00
INADA Naoki
b6f7243479 Merge pull request #157 from methane/unpack-params
Add missing params to unpack()
2015-11-09 02:03:17 +09:00
INADA Naoki
f7d3715f2c Add missing params to unpack() 2015-11-09 02:00:48 +09:00
INADA Naoki
e38e49ff93 Merge pull request #156 from methane/refactor
refactor C code
2015-11-09 01:54:24 +09:00
INADA Naoki
de3c2b99f7 refactor C code
fixes #137
2015-11-09 01:52:37 +09:00
INADA Naoki
3cef27b69b Update ChangeLog 2015-11-09 00:54:06 +09:00
INADA Naoki
8aadc5c380 readme: Fix markup 2015-11-09 00:50:07 +09:00
INADA Naoki
e601ef4c23 Remove msgpack 2.0 from README
There are no versio in spec.
2015-11-09 00:43:52 +09:00
INADA Naoki
53fcd9b9df Update gitignore 2015-11-08 19:37:40 +09:00
INADA Naoki
6f208abbc7 Update Windows compiler information 2015-11-08 17:34:52 +09:00
INADA Naoki
02611afd5f Drpo pypip.in badge
It downs so long
2015-11-08 17:29:09 +09:00
INADA Naoki
dbe6572ee5 Merge pull request #155 from methane/fix/152
Decrease refcnt when error happend while unpacking
2015-11-08 12:45:29 +09:00
INADA Naoki
35a69ac9c2 Decrease refcnt when error happend while unpacking
Fixes #152
2015-11-08 12:43:54 +09:00
INADA Naoki
a329850147 Merge pull request #153 from methane/fix/warnings
fix compiler warnings
2015-11-07 16:54:11 +09:00
INADA Naoki
e9ab4d8824 Fix warnings
fixes #146
2015-11-07 16:52:58 +09:00
INADA Naoki
ab359e3330 Update travis setting 2015-11-07 16:50:04 +09:00
INADA Naoki
c102e6cee5 executable setup.py 2015-11-07 14:30:05 +09:00
INADA Naoki
52a38c6e9d remove unused bat file 2015-11-07 14:26:14 +09:00
INADA Naoki
672b220a3f remove unused bat file 2015-11-07 13:17:28 +09:00
INADA Naoki
cd1f158b76 Merge pull request #151 from ThomasWaldmann/patch-1
fix typo in setup.py
2015-10-30 17:13:11 +09:00
TW
c3a3f9b0a5 fix typo in setup.py 2015-10-30 00:36:12 +01:00
INADA Naoki
aa209ab1e9 Merge pull request #143 from emulbreh/pass-ext-hook
Accept ext_hook for unpack()
2015-08-24 03:16:24 +09:00
Johannes Dollinger
4eb4c7a994 Accept ext_hook for unpack() 2015-07-27 20:29:43 +02:00
INADA Naoki
d816aa8040 Merge pull request #136 from tbeu/patch-1
Update README.rst
2015-03-23 12:15:27 +09:00
tbeu
734cb71dac Update README.rst
Fix typo
2015-03-22 21:35:21 +01:00
Pramukta Kumar
6f02d252e1 corresponding change to cython implementation 2015-03-17 15:16:17 -04:00
Pramukta Kumar
10cd2d2ebf calling the default function upon integer overflow in the fallback routine 2015-03-17 15:05:04 -04:00
Pramukta Kumar
2d05b40b03 Test to demonstrate that the default function isn't always called (#133) 2015-03-17 15:02:40 -04:00
INADA Naoki
b7806a6e6e README: Update version 2015-03-13 04:23:04 +09:00
INADA Naoki
b49e53003d Merge pull request #128 from methane/travis/cython-0.22
travis: Use cython 0.22
2015-03-13 04:21:37 +09:00
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