Inada Naoki
e419cd8e2d
Remove encoding option from Unpacker. ( #380 )
2019-12-03 21:13:05 +09:00
Inada Naoki
891f2d8743
Drop Python 2 support from _cmsgpack ( #376 )
2019-11-28 20:23:34 +09:00
Inada Naoki
e9086a34e4
Add strict_map_key option to unpacker
2018-11-29 22:29:38 +09:00
INADA Naoki
9fdb83719d
Undeprecate unicode_errors ( #278 )
2018-02-05 02:19:48 +09:00
INADA Naoki
5569a4efcd
s/raw_as_bytes/raw/g ( #276 )
...
fixes #273
2018-01-12 19:22:36 +09:00
INADA Naoki
5534d0c7af
Add raw_as_bytes option to Unpacker. ( #265 )
2018-01-11 17:02:41 +09:00
INADA Naoki
b911b3c652
Fix ext_hook call ( #203 )
...
fixes #202
2016-07-21 19:32:00 +09:00
INADA Naoki
de3c2b99f7
refactor C code
...
fixes #137
2015-11-09 01:52:37 +09:00
INADA Naoki
e9ab4d8824
Fix warnings
...
fixes #146
2015-11-07 16:52:58 +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
d6c773dc4d
Fix build and tests.
2014-08-31 02:29:05 +09:00
INADA Naoki
7f623c0906
Fix unpacking uint32 on 32bit or LLP64.
2014-05-26 01:17:53 +09:00
INADA Naoki
d2fc801034
Fix warning on 64bit environment.
2014-02-13 01:57:34 +09:00
INADA Naoki
37c2ad63af
Add tests and bugfix.
2013-10-21 00:29:05 +09:00
INADA Naoki
822cce823c
Support unpacking new types.
2013-10-20 22:59:27 +09:00
INADA Naoki
96bcd76f49
Packing ExtType and some cleanup
2013-10-20 20:28:32 +09:00
INADA Naoki
27f0cba8a5
Merge branch 'master' of https://github.com/antocuni/msgpack-python into newspec
...
Conflicts:
msgpack/fallback.py
msgpack/unpack.h
msgpack/unpack_define.h
msgpack/unpack_template.h
2013-10-20 15:08:31 +09:00
Antonio Cuni
56dd1650a4
implement unpacking for all the fixtext formats
2013-10-19 17:27:16 +02:00
INADA Naoki
da12e177a3
Add bin type support.
2013-10-17 08:35:08 +09:00
YAMAMOTO Takashi
d1b9ecbc8e
fix long vs long long bugs
...
these bugs were introduced by "fix long/int confusions in pyx version of
unpack" commit.
2013-06-03 13:53:47 +09:00
YAMAMOTO Takashi
b0c193f3e0
fix long/int confusions in pyx version of unpack
2013-05-16 12:41:53 +09:00
INADA Naoki
c49489cd37
remove some macros.
2013-02-27 21:12:20 +09:00
Alexei Romanoff
cf89f18be7
segfault fixed when data is unpacked using list_hook
,
...
this bug is a twin to #28 .
Unit-test is also attached.
2012-10-12 13:19:53 +03:00
Alexei Romanoff
89ce16df39
A segfault fixed in the issue https://github.com/msgpack/msgpack-python/issues/28
2012-10-12 12:32:32 +03:00
INADA Naoki
e016b3dca0
Merge remote-tracking branch 'jnothman/read_size_cpp'
...
Conflicts:
msgpack/_msgpack.pyx
setup.py
2012-10-01 01:31:58 +09:00
Joel Nothman
d56e2b2c8a
Use C++ function templating for skip()/construct()
2012-09-25 00:30:15 +10:00
Joel Nothman
77942514db
Implement object_pairs_hook
2012-09-23 19:37:28 +10:00
INADA Naoki
188da01777
Fix new version of msgpack.
2012-06-26 15:19:59 +09:00
Steeve Morin
a5bc6b7385
Better prototypes.
2012-02-28 15:41:44 +01:00
Steeve Morin
31b7fda17b
Fix massive memory leak with object_hook and list_hook when unpacking.
2012-02-28 15:36:58 +01:00
tailhook
752e3d1b78
Implemented encoding for strings
...
* Packer by default uses `utf-8` encoding by default
* Unpacker uses `None` by default, so no decoding is done
* Both pack and unpack has `encoding` and `unicode_errors` arguments,
if `encoding` is `None` no encoding/decoding is done, otherwise
it is python codec. `unicode_errors` is supplied as `errors`
parameter to codec
2011-04-15 18:39:17 +03:00
INADA Naoki
3d8978417a
Add list_hook option to unpacker.
2010-10-26 02:09:52 +09:00
INADA Naoki
3980d381f7
Remove unnecessary refcount manipulation.
2010-10-26 01:32:08 +09:00
INADA Naoki
fa157082ac
Add object_hook
option to unpack and default
option to pack.
...
(see simplejson for how to use).
2010-10-26 01:26:06 +09:00
INADA Naoki
0dc8938dbf
python: Support Python3.
2010-09-02 01:29:57 +09:00
inada-n
658c90f132
Make tuple default.
2009-12-17 15:19:18 +09:00
Naoki INADA
77e3e59620
Add use_tuple
option that returns tuple for array object to Unpacker.
2009-12-17 11:13:47 +09:00
Naoki INADA
5a87c94333
Don't use C++.
2009-06-28 21:24:16 +09:00
Naoki INADA
b944eefb96
Stop unnecessary caching.
2009-06-24 14:58:02 +09:00
Naoki INADA
318b4b63ec
Check return value of c-api.
2009-06-24 04:25:05 +09:00
Naoki INADA
de6afa5285
Reduce memory footprint.
2009-06-24 01:54:47 +09:00
Naoki INADA
d32b48f98f
Remove duplicated values.
2009-06-24 01:38:48 +09:00
Naoki INADA
f2d07e5d69
Remove unneccessary value.
2009-06-24 01:13:39 +09:00
Naoki INADA
8e850dca4a
Fix compile error.
2009-06-22 19:49:02 +09:00
Naoki INADA
d44108c709
Use std::stack.
2009-06-22 15:59:02 +09:00
Naoki INADA
fcc775e4cc
Make msgpack package instead of module. and using Cython in setup script.
2009-06-22 14:38:36 +09:00
Naoki INADA
74a5fb3592
Make msgpack package instead of module.
2009-06-10 10:58:09 +09:00