Antonio Cuni
c9b97f0788
implement unpacking of ext 8,16,32
2013-10-19 18:04:30 +02:00
Antonio Cuni
56dd1650a4
implement unpacking for all the fixtext formats
2013-10-19 17:27:16 +02:00
Antonio Cuni
985d4c1496
add a test for unpacking extended types
2013-10-19 11:34:28 +02:00
Antonio Cuni
ff858387d3
implement unpack_one also for the cython version, and add a test for it
2013-10-19 01:49:03 +02:00
Antonio Cuni
a7485eccb2
add the hook for unknown types also to the cython Packer
2013-10-18 17:46:42 +02:00
Antonio Cuni
5467515065
implement Packer.pack_extended_type also in the cython version of the code
2013-10-18 17:33:54 +02:00
Antonio Cuni
afa28fb205
add support to unpack all ext formats
2013-10-18 15:54:12 +02:00
Antonio Cuni
c727440ba5
automatically find the best format to encode extended types
2013-10-18 15:45:50 +02:00
Antonio Cuni
522c4bfc79
slightly change to API
2013-10-18 15:03:58 +02:00
Antonio Cuni
5529dfe596
kill some duplicate code from unpack/unpackb and move the logic to Unpacker.unpack_one. By doing this we no longer need to make the module-level pack/unpack parametric on the class, because they contain no logic at all
2013-10-18 14:38:52 +02:00
Antonio Cuni
d61097511a
add support for extended types: you can now pack/unpack custom python objects by subclassing Packer and Unpacker
2013-10-15 16:59:43 +02:00
INADA Naoki
f45d7b4e2d
Merge pull request #72 from lgov/master
...
* msgpack/exceptions.py: Fix typo in error message.
2013-09-13 05:15:36 -07:00
Lieven Govaerts
12f87147b5
* msgpack/exceptions.py: Fix typo in error message.
2013-09-13 13:47:13 +02:00
INADA Naoki
2f6061cb4f
Merge pull request #66 from yamt/fixes
...
some fixes and tests
2013-06-04 23:31:46 -07:00
YAMAMOTO Takashi
e250b89920
more tests
2013-06-03 13:54:00 +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
3dbb2d1e7e
fix compilation errors
2013-06-03 13:53:43 +09:00
INADA Naoki
d4bb86c0c8
Merge pull request #65 from msgpack/old-buffer
...
Stop using new style buffer API.
2013-05-18 20:43:27 -07:00
INADA Naoki
956f55ecdf
Stop using const_void_ptr typedef.
...
New Cython supports const natively.
2013-05-19 12:32:33 +09:00
INADA Naoki
bbe86e7a92
Revert "Use new buffer interface."
...
This reverts commit 085db7f8dc .
Conflicts:
msgpack/_unpacker.pyx
2013-05-19 12:30:23 +09:00
INADA Naoki
08c56d66f6
Use --cplus for cythoning
2013-05-19 01:13:21 +09:00
YAMAMOTO Takashi
63b9fa5843
fix a compilation error
...
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*'
2013-05-16 12:58:00 +09:00
YAMAMOTO Takashi
b0c193f3e0
fix long/int confusions in pyx version of unpack
2013-05-16 12:41:53 +09:00
INADA Naoki
82313b713e
Merge pull request #63 from yamt/typo
...
fix more comment typos
2013-05-06 23:45:17 -07:00
YAMAMOTO Takashi
56dbf7f9be
fix more comment typos
2013-05-07 13:56:39 +09:00
INADA Naoki
a2a9a9f4c8
Merge pull request #62 from yamt/comment-typo
...
fix a typo in a comment
2013-05-01 01:23:41 -07:00
YAMAMOTO Takashi
0c3fecf91b
fix a typo in a comment
2013-05-01 12:15:12 +09:00
INADA Naoki
b587bb02c4
Merge pull request #60 from jnothman/patch-2
...
Remove obsolete StopIteration warning
2013-04-12 00:46:47 -07:00
jnothman
a692bf9852
Remove obsolete StopIteration warning
2013-04-10 21:03:41 +10:00
INADA Naoki
c037aa7710
Merge pull request #59 from msgpack/refactor
...
Use new style buffer interface.
2013-04-07 19:07:39 -07:00
INADA Naoki
085db7f8dc
Use new buffer interface.
2013-04-08 10:57:21 +09:00
INADA Naoki
18215b01bb
Unpacker.feed() uses new buffer interface.
2013-04-08 10:52:11 +09:00
INADA Naoki
075dbecc39
Merge pull request #58 from msgpack/refactor
...
Remove unnecessary type declaration.
2013-04-07 10:03:46 -07:00
INADA Naoki
0faa1bb558
Remove unnecessary type declaration.
2013-04-08 01:57:37 +09:00
INADA Naoki
5c90f953da
Add build batch for Windows
2013-03-13 18:15:43 +09:00
INADA Naoki
c9b6e5b65d
s/\t/ /g
2013-02-27 21:24:25 +09:00
INADA Naoki
e8f6d2a030
Merge pull request #54 from msgpack/remove-macros
...
Remove macros for readability.
2013-02-27 04:18:56 -08:00
INADA Naoki
c49489cd37
remove some macros.
2013-02-27 21:12:20 +09:00
INADA Naoki
c91131f49f
remove msgpack_pack* macros
2013-02-27 20:37:07 +09:00
INADA Naoki
944b41e826
Merge pull request #53 from jnothman/patch-1
...
Copy note on OutOfData from pypi to ChangeLog
2013-02-27 00:15:51 -08:00
jnothman
58d8effc35
Copy note on OutOfData from pypi to ChangeLog
2013-02-27 18:26:57 +11:00
INADA Naoki
d2feb13629
doc: remove fallback from api reference.
2013-02-26 14:20:44 +09:00
INADA Naoki
5176e92d99
Fix typeerror.
2013-02-26 09:55:13 +09:00
INADA Naoki
8e13598a36
docs: better unpacker docstring.
2013-02-26 09:49:25 +09:00
INADA Naoki
3ce005cf37
better packer docstring
2013-02-26 09:20:44 +09:00
INADA Naoki
1e38bfa123
fallback: refactor
2013-02-25 18:23:42 +09:00
INADA Naoki
230537cf28
Update docs.
2013-02-25 14:29:49 +09:00
INADA Naoki
7991530cec
Update README
2013-02-24 18:06:50 +09:00
INADA Naoki
f4cb6fb877
Add apidoc
2013-02-24 18:06:36 +09:00
INADA Naoki
04e0812ad4
Merge pull request #51 from msgpack/revert-skip-reserved
...
Revert skipping reserved bytes.
2013-02-23 01:14:13 -08:00