Commit graph

772 commits

Author SHA1 Message Date
Joel Nothman
9d9c3eecb8 Packer.pack_array/map_header to correspond to read functions 2012-09-25 01:19:10 +10:00
Joel Nothman
0431a766f4 read_array/map_header functionality 2012-09-25 01:19:07 +10:00
Joel Nothman
d56e2b2c8a Use C++ function templating for skip()/construct() 2012-09-25 00:30:15 +10:00
INADA Naoki
1526316a08 Merge branch '0.2-maint'
Conflicts:
	msgpack/_msgpack.pyx
2012-09-24 03:10:37 +09:00
INADA Naoki
477d3b152f Fix warnings. 2012-09-24 03:08:13 +09:00
INADA Naoki
e381032641 Support object_pairs_hook
Merge remote-tracking branch 'jnothman/object_pairs_hook' into 0.2-maint
Conflicts:
	msgpack/_msgpack.pyx
	test/test_pack.py
	test/test_sequnpack.py
2012-09-24 03:05:39 +09:00
INADA Naoki
927d29131d Write about warning in changelog. 2012-09-24 02:55:50 +09:00
INADA Naoki
d13f10c02e Start 0.3.0dev1 2012-09-24 02:46:34 +09:00
INADA Naoki
ac403ef68d Start 0.2.3dev 2012-09-24 02:45:37 +09:00
INADA Naoki
15a46eb143 use_list=1 is default 2012-09-24 02:42:38 +09:00
INADA Naoki
1c6ef90d40 Merge branch '0.2-maint'
Conflicts:
	test/test_sequnpack.py
2012-09-24 02:40:39 +09:00
INADA Naoki
c280e58988 Fix warnings in tests. 2012-09-24 02:39:02 +09:00
INADA Naoki
d503788e95 Warn when use_list is not specified.
Conflicts:
	test/test_sequnpack.py
2012-09-24 02:38:54 +09:00
INADA Naoki
c2a2d417f1 Fix warnings in tests. 2012-09-24 02:20:53 +09:00
INADA Naoki
60df5eadaf Warn when use_list is not specified. 2012-09-24 02:12:55 +09:00
Joel Nothman
e7c51d9089 Cleaner read_bytes and a test case
No longer reads via buffer for unbuffered bytes
2012-09-23 20:46:49 +10:00
Joel Nothman
77942514db Implement object_pairs_hook 2012-09-23 19:37:28 +10:00
Joel Nothman
b06ed8eb75 Factor context initialisation from unpackb and Unpacker 2012-09-23 19:36:27 +10:00
INADA Naoki
96ed236c1d Merge branch '0.2-maint' 2012-09-23 11:22:13 +09:00
INADA Naoki
c3da845868 Add docstring about raising ValueError when there are extra bytes. 2012-09-23 11:16:59 +09:00
INADA Naoki
48d693c1b9 Add test for .skip() 2012-09-23 10:09:51 +09:00
INADA Naoki
9963522d46 Add .skip() method to Unpacker. (Merge branch 'skip') 2012-09-23 10:04:41 +09:00
INADA Naoki
7d142d2bef Add changelog 2012-09-23 10:02:11 +09:00
INADA Naoki
eaf9891b42 clean some cython code. 2012-09-23 10:00:18 +09:00
INADA Naoki
65f582345c Merge branch 'skip' of git://github.com/jnothman/msgpack-python into skip 2012-09-23 09:08:21 +09:00
INADA Naoki
e8842efded Add py33 to tox. 2012-09-23 08:57:32 +09:00
INADA Naoki
36b88b4077 Add Roadmap. 2012-09-23 03:44:41 +09:00
INADA Naoki
8b2959bc0a pack and packb raises ValueError when extra data passed. 2012-09-23 03:39:14 +09:00
INADA Naoki
4d643894a1 Support packing subclass of dict. 2012-09-23 02:13:32 +09:00
Joel Nothman
032df6f2d9 Merge remote-tracking branch 'origin/master' into skip 2012-09-22 22:58:46 +10:00
Joel Nothman
28058fb53d A first implementation of Unpacker.skip() 2012-09-22 22:57:00 +10:00
jnothman
ffec10dff3 Expose packed stream with Unpacker.read_bytes()
At present, Unpacker buffers reading from the stream, meaning the stream can no longer be read directly. Unpacker.read_bytes(n) provides access to the underlying data, allowing content of known size to be read without unpacking.
2012-09-21 16:03:41 +10:00
INADA Naoki
5b66edaa15 0.2.2 (again) 2012-09-21 14:17:34 +09:00
INADA Naoki
be405ec5cf 0.2.2 2012-09-21 14:16:40 +09:00
INADA Naoki
51335bbee4 packb supports use_single_float option. 2012-09-21 14:15:30 +09:00
INADA Naoki
397d772e11 Rename use_float to use_single_float. 2012-09-21 14:08:34 +09:00
INADA Naoki
3b45a51d61 Merge branch 'master' of github.com:msgpack/msgpack-python 2012-09-21 13:59:35 +09:00
INADA Naoki
0297b36bda Fix reading more than read_size. 2012-09-21 13:58:56 +09:00
INADA Naoki
f14d926e1d Merge pull request #11 from TobiasSimon/float_ext
added float serialization support
2012-08-28 04:02:17 -07:00
INADA Naoki
56ec7ee1b1 Update changelog 2012-08-24 10:05:38 +09:00
INADA Naoki
235b928be7 Stop disable/enable gc.
json and pickle modules don't stop gc. It's a very dirty hack.
2012-08-24 09:53:18 +09:00
INADA Naoki
6aa4aead31 Fix build from pyx doesn't work. 2012-08-21 14:56:32 +09:00
TobiasSimon
e63a943753 added float serialization support 2012-08-20 21:56:55 +02:00
INADA Naoki
f74ce3caaa 0.2.1 2012-08-20 00:11:38 +09:00
INADA Naoki
814c42c291 Change the way to manage version number. 2012-08-19 04:17:56 +09:00
INADA Naoki
29b4b785d0 Fix build_ext doesn't work on Python 3. 2012-08-19 03:04:19 +09:00
INADA Naoki
670bb3ca15 Use C++ compiler on win32. 2012-08-19 02:53:16 +09:00
INADA Naoki
7c03f322fa Fix on SPARC Solaris.
Use C++ only on Windows.
Define ENDIAN macros from `sys.byteorder`.
2012-08-19 01:05:41 +09:00
INADA Naoki
bf4124f592 Fix setup.py sdist doesn't generates c++ source. 2012-07-25 09:19:10 +09:00
INADA Naoki
59c8b51e5b Default value of read_size is min(1024**2, max_buffer_size) 2012-07-20 02:05:43 +09:00