Commit 760076a
committed
Bump to version 0.4.0
Changes:
- Improve table vs. array detection
- Improve packing +-inf
- Add multiple pack/unpack support
- Add cmsgpack.safe module variant
- Add local build infrastructure for easier testing
- Add user-controlled unpack support limiting returned objects
- Add Lua 5.3 compatibility
- Remove an unnecessary malloc
- Use Lua memory allocator instead of malloc for buffer creation
Issues involved:
- closes antirez#16 - allow multi pack/unpack by default
- closes antirez#10 - unpack one/limit API added
- closes antirez#13 and closes antirez#20 - use Lua allocator
- closes antirez#15 - (included in antirez#16)
- ignores antirez#22 because it's confusing
- closes antirez#23 - fixed elsewhere
- closes antirez#26 - extracted some useful parts from a difficult commit
- closes antirez#28 - we started tagging versions again recently
- closes antirez#27 - that failure case works for me now
I merged commits with original author information where possible, but
each commit required manual cleanup of one or more of:
formatting fixes (no tabs, please), commit message fixes (more details
please), extracting contents from a single 300 line commit with 5
different logical changes merged together, and general correctness
checking after merging with newer code.
As of this commit, all tests pass on Lua 5.1.5 and Lua 5.3-work2.1 parent 6628b01 commit 760076a
2 files changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments