| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | erlang: fixed bug around error case when serializing atom. | UENISHI Kota | 2010-08-27 | 1 | -1/+6 |
| | | |||||
| * | erlang: msgpack:unpack_all/1 doc. | UENISHI Kota | 2010-07-18 | 1 | -0/+5 |
| | | |||||
| * | erlang: omake menus added. | UENISHI Kota | 2010-07-18 | 1 | -1/+4 |
| | | |||||
| * | erlang: unpack_all/1 improve, error handling added. | UENISHI Kota | 2010-07-18 | 1 | -5/+11 |
| | | |||||
| * | erlang: stopped support for dict() type. | UENISHI Kota | 2010-07-18 | 1 | -2/+0 |
| | | |||||
| * | erlang: 'edoc' document generation | UENISHI Kota | 2010-07-18 | 4 | -3/+11 |
| | | |||||
| * | erlang: Improve documentation | Vincent de Phily | 2010-07-12 | 2 | -21/+56 |
| | | | | | | | | The doc is in edoc format, generated from the source as an html file. The makefile's default action now also generates the documentation. I ignored unpack_all/1 and pack(dict()) for now because their future is still uncertain. | ||||
| * | erlang: Only handle throw() in pack/1 and unpack/1 | Vincent de Phily | 2010-07-09 | 1 | -4/+0 |
| | | | | | | | | Rationale: We only use throw/1 for error handling, never erlang:error/1. Caller bugs will get a nice {error,...} return while library bugs will bubble up in all their uglyness; that's the proper way to do things in erlang. | ||||
| * | erlang: Make pack_map/1 api private | Vincent de Phily | 2010-07-09 | 1 | -11/+11 |
| | | |||||
| * | erlang: s/short/incomplete/ and s/badarg/{badarg,Term}/ | Vincent de Phily | 2010-07-09 | 1 | -13/+12 |
| | | | | | Nicer error returns. | ||||
| * | erlang: fix receiving from port_command in unit tests | Vincent de Phily | 2010-07-09 | 1 | -10/+16 |
| | | | | | | | | Ports can send data bit by bit; make sure we read all the port has to offer in one go. This should fix the "broken pipe" error we sometime got during testing. We did not previously check the return of compare_all/2, which is why the bug was not noticed. Incidentally, this change fixes dialyzer warnings too. | ||||
| * | erlang: Fix some existing specs and add a few other. | Vincent de Phily | 2010-07-09 | 1 | -6/+12 |
| | | | | | dialyzer still complains about dict() and ?assert(false), but I don't think they're real issues. | ||||
| * | erlang: Remove unecessary 'throw(short)' clause for unpack_{array,map}_/1 | Vincent de Phily | 2010-07-09 | 1 | -9/+7 |
| | | | | | | | | | | Unecessary because unpack_/1 will throw it anyway. This does mean that we go a tiny bit deeper to find that we don't have enough data, but that should be a rare code path. Keep the main code path fast and the code clean. While at it, rename vars to match its sibling function and to avoid thinking that RestLen is a byte count (it's an item count). | ||||
| * | erlang: Fix incomplete/invalid cases of unpack_/1 | Vincent de Phily | 2010-07-09 | 1 | -16/+7 |
| | | | | | | | * fix list of invalid bytes was missing 3 possibilities (see type chart section of msgpack format spec) * fix matching of invalid bytes to look at 1 byte instead of 2 * simplify 'incomplete' case : anything that's not complete or invalid is by definition incomplete | ||||
| * | Remove a couple of superfluous 'when' clauses. | Vincent de Phily | 2010-07-09 | 1 | -8/+9 |
| | | | | | The when clause for unpack_/1 has been moved to unpack/1 so that it is performed only once. | ||||
| * | Merge branch 'master' of git://github.com/msgpack/msgpack | Vincent de Phily | 2010-07-09 | 3 | -154/+167 |
| |\ | | | | | | | Reseting msgpack.erl to upstream version. | ||||
| | * | erlang: better test cases, except 'Broken pipe' | UENISHI Kota | 2010-07-09 | 1 | -47/+27 |
| | | | |||||
| | * | erlang: added try-catch clause for easy error handling | UENISHI Kota | 2010-07-09 | 1 | -111/+115 |
| | | | |||||
| | * | erlang: added simple performance test description. | UENISHI Kota | 2010-07-08 | 1 | -1/+2 |
| | | | |||||
| | * | erlang: added simple performance test. | UENISHI Kota | 2010-07-08 | 1 | -0/+5 |
| | | | |||||
| | * | erlang: improved spec. | UENISHI Kota | 2010-07-01 | 1 | -2/+3 |
| | | | |||||
| | * | erlang: updated the comments | UENISHI Kota | 2010-07-01 | 1 | -2/+2 |
| | | | |||||
| | * | erlang: just a golf. | UENISHI Kota | 2010-07-01 | 1 | -22/+22 |
| | | | |||||
| | * | erlang: reducing unnecessary binary matching in unpack_/2 | UENISHI Kota | 2010-07-01 | 1 | -139/+72 |
| | | | | | | | | | * more efficient unpack_/1 by Vincent de Phille's code. thanks. | ||||
| | * | erlang: adding shorthand fix for {more, undefined} problem | UENISHI Kota | 2010-07-01 | 1 | -5/+5 |
| | | | |||||
| | * | erlang: more suitable variable name and removing unnecessary guards. | UENISHI Kota | 2010-07-01 | 1 | -37/+38 |
| | | | |||||
| | * | erlang: explicit API for serializing proplists, | UENISHI Kota | 2010-06-29 | 1 | -13/+12 |
| | | | | | | | | | so as not to make wrong call of pack({proplists()}). | ||||
| | * | Merge branch 'master' of http://github.com/vincentdephily/msgpack | UENISHI Kota | 2010-06-29 | 1 | -33/+31 |
| | |\ | |||||
| | * | | erlang: bugfix(serialization of -234 goes <<208,22>> while it should go ↵ | UENISHI Kota | 2010-06-26 | 2 | -10/+11 |
| | | | | | | | | | | | | | int16 <<0xD1, ...>>) | ||||
| | * | | updated readme | UENISHI Kota | 2010-06-25 | 1 | -13/+3 |
| | | | | |||||
| * | | | * Return {more,undefined} instead of {more,integer()}, as we can only know ↵ | Vincent de Phily | 2010-06-29 | 1 | -125/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | the "minimum bytes needed to continue" instead of the actually usefull "total packet size". * Merge all {more,...} clauses of unpack_/1 into one. * Reformat unpack_/1 for readability. * Fix some specs, error values, and documentation. | ||||
| * | | | Rewrite unpack_/1 using pattern matching to get a 30-40% speedup. | Vincent de Phily | 2010-06-28 | 1 | -177/+133 |
| | |/ |/| | | | | | Simplify pack_* and unpack_{array,map} function clauses to get more readability and a minor speedup. | ||||
| * | | Big speedup (around 40%) of maps and arrays encoding by using proper tail ↵ | Vincent de Phily | 2010-06-28 | 1 | -17/+17 |
| | | | | | | | | | recursion. | ||||
| * | | erlang: Use a simple proplist instead of a dict. | Vincent de Phily | 2010-06-28 | 1 | -19/+17 |
| | | | | | | | | | | | | | | | A dict is overkill (code, cpu, memory) in most cases, and proplist<->dict conversion can easily be done by the libray user if desired. This is in line with other erlang libraries I've seen for various encoding schemes. The map encoder had a bug until I looked at it (see previous commit), so I guess it wasn't used much yet and a change is ok at this stage. The chosen representation for maps is a tuple containing the proplist as the only element. | ||||
| * | | Fix encoding of fixmap type. | Vincent de Phily | 2010-06-25 | 1 | -1/+1 |
| |/ | | | | The tag value was wrong, and a missing /binary flag caused an error. | ||||
| * | erlang: code refined and tests added | UENISHI Kota | 2010-06-25 | 1 | -13/+10 |
| | | |||||
| * | erlang: unpack_map's silly bug fixed. use dict:store/3.... | UENISHI Kota | 2010-06-25 | 2 | -15/+12 |
| | | |||||
| * | erlang: testing pack_map/unpack_map with a silly bug | UENISHI Kota | 2010-06-24 | 1 | -13/+27 |
| | | |||||
| * | erlang: (un)pack_map improved, incremental unpacking | UENISHI Kota | 2010-06-23 | 1 | -8/+10 |
| | | |||||
| * | erlang: too short binary to decode causes error {more, Int}. | UENISHI Kota | 2010-06-23 | 1 | -86/+125 |
| | | |||||
| * | erlang: external APIs' type/specs. | UENISHI Kota | 2010-06-22 | 1 | -11/+15 |
| | | |||||
| * | erlang: tests improved and code refined. | UENISHI Kota | 2010-06-22 | 3 | -59/+67 |
| | | |||||
| * | erlang: tracing crosslang.rb moving to ../test | UENISHI Kota | 2010-06-03 | 1 | -1/+1 |
| | | |||||
| * | erlang: temporary documentation and .gitignore | UENISHI Kota | 2010-06-01 | 2 | -1/+21 |
| | | |||||
| * | erlang: added more cross-language tests. better type specification. | UENISHI Kota | 2010-05-31 | 2 | -30/+111 |
| | | |||||
| * | erlang: added usage of cross-language test. | UENISHI Kota | 2010-05-31 | 1 | -11/+10 |
| | | |||||
| * | added more tests, | UENISHI Kota | 2010-05-31 | 3 | -88/+151 |
| | | | | | and OMake continuous building. | ||||
| * | initial import from http://bitbucket.org/kuenishi/messagepack-for-erlang | UENISHI Kota | 2010-05-30 | 2 | -0/+380 |
