summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * erlang: Make pack_map/1 api privateVincent de Phily2010-07-091-11/+11
| | | |
| | | * erlang: s/short/incomplete/ and s/badarg/{badarg,Term}/Vincent de Phily2010-07-091-13/+12
| | | | | | | | | | | | | | | | Nicer error returns.
| | | * erlang: fix receiving from port_command in unit testsVincent de Phily2010-07-091-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 Phily2010-07-091-6/+12
| | | | | | | | | | | | | | | | dialyzer still complains about dict() and ?assert(false), but I don't think they're real issues.
| * | | java: adds MessagePackObject classfrsyuki2010-07-2412-0/+783
| | | |
| * | | java: fixes fatal offset calculation bugs on BufferedUnpackerIMPL.unpackInt()frsyuki2010-07-241-4/+4
| |/ /
| * | Merge branch 'master' of github.com:msgpack/msgpackfrsyuki2010-07-144-133/+122
| |\ \
| | * | perl: bump up version to 0.13!tokuhirom2010-07-142-1/+5
| | | |
| | * | clearly specified this distribution requires requires C99.tokuhirom2010-07-141-0/+4
| | | |
| | * | erlang: modified wrong testcase.UENISHI Kota2010-07-091-3/+4
| | |/
| | * erlang: Remove unecessary 'throw(short)' clause for unpack_{array,map}_/1Vincent de Phily2010-07-091-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_/1Vincent de Phily2010-07-091-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 Phily2010-07-091-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/msgpackVincent de Phily2010-07-0924-230/+417
| | |\ | | | | | | | | | | | | Reseting msgpack.erl to upstream version.
| | | * erlang: better test cases, except 'Broken pipe'UENISHI Kota2010-07-091-47/+27
| | | |
| | | * erlang: added try-catch clause for easy error handlingUENISHI Kota2010-07-091-111/+115
| | | |
| | | * erlang: added simple performance test description.UENISHI Kota2010-07-081-1/+2
| | | |
| | | * erlang: added simple performance test.UENISHI Kota2010-07-081-0/+5
| | | |
| | * | * Return {more,undefined} instead of {more,integer()}, as we can only know ↵Vincent de Phily2010-06-291-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 Phily2010-06-281-177/+133
| | | | | | | | | | | | | | | | Simplify pack_* and unpack_{array,map} function clauses to get more readability and a minor speedup.
| * | | cpp: version 0.5.2frsyuki2010-07-142-1/+6
| | | |
| * | | cpp: type::raw_ref::str(), operator==, operator!=, operator< and operator> ↵frsyuki2010-07-141-5/+5
| | |/ | |/| | | | | | | are now const
| * | cpp: generate version.h using AC_OUTPUT macro in ./configurefrsyuki2010-07-063-13/+7
| | |
| * | cpp: fixes missing dependency to generate version.hfrsyuki2010-07-061-0/+2
| | |
| * | cpp: updates vcprojfrsyuki2010-07-063-49/+70
| | |
| * | cpp: version 0.5.1frsyuki2010-07-062-1/+11
| | |
| * | cpp: ./configure supports --disable-cxx option not to build/install C++ APIfrsyuki2010-07-062-13/+28
| | |
| * | cpp: adds MSGPACK_VERSION{,_MAJOR,_MINOR} macros and msgpack{,_major,_minor} ↵frsyuki2010-07-062-0/+15
| | | | | | | | | | | | functions
| * | cpp: adds MSGPACK_VERSION{,_MAJOR,_MINOR} macros and msgpack{,_major,_minor} ↵frsyuki2010-07-067-5/+78
| | | | | | | | | | | | functions
| * | Merge branch 'master' of github.com:msgpack/msgpackfrsyuki2010-07-061-184/+119
| |\ \
| | * | erlang: improved spec.UENISHI Kota2010-07-011-2/+3
| | | |
| | * | erlang: updated the commentsUENISHI Kota2010-07-011-2/+2
| | | |
| | * | erlang: just a golf.UENISHI Kota2010-07-011-22/+22
| | | |
| | * | erlang: reducing unnecessary binary matching in unpack_/2UENISHI Kota2010-07-011-139/+72
| | | | | | | | | | | | | | | | * more efficient unpack_/1 by Vincent de Phille's code. thanks.
| | * | erlang: adding shorthand fix for {more, undefined} problemUENISHI Kota2010-07-011-5/+5
| | | |
| | * | erlang: more suitable variable name and removing unnecessary guards.UENISHI Kota2010-07-011-37/+38
| | | |
| * | | cpp: adds operator<<(std::ostream&, const tuple<Type...>&) (experimental)frsyuki2010-07-061-0/+15
| |/ /
| * | ruby: 0.4.3frsyuki2010-06-292-0/+7
| | |
| * | Merge branch 'master' of github.com:msgpack/msgpackfrsyuki2010-06-296-197/+253
| |\ \
| | * \ erlang: bad wrong export..UENISHI Kota2010-06-290-0/+0
| | |\ \
| | | * | erlang: explicit API for serializing proplists,UENISHI Kota2010-06-291-13/+12
| | | | | | | | | | | | | | | | | | | | so as not to make wrong call of pack({proplists()}).
| | * | | erlang: explicit API for serializing proplists,UENISHI Kota2010-06-291-13/+12
| | |/ / | | | | | | | | | | | | so as not to make wrong call of pack({proplists()}).
| | * | Merge branch 'master' of http://github.com/vincentdephily/msgpackUENISHI Kota2010-06-291-33/+31
| | |\ \ | | | |/
| | | * Big speedup (around 40%) of maps and arrays encoding by using proper tail ↵Vincent de Phily2010-06-281-17/+17
| | | | | | | | | | | | | | | | recursion.
| | | * erlang: Use a simple proplist instead of a dict.Vincent de Phily2010-06-281-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 Phily2010-06-251-1/+1
| | | | | | | | | | | | | | | | The tag value was wrong, and a missing /binary flag caused an error.
| | * | erlang: bugfix(serialization of -234 goes <<208,22>> while it should go ↵UENISHI Kota2010-06-262-10/+11
| | | | | | | | | | | | | | | | int16 <<0xD1, ...>>)
| | * | updated readmeUENISHI Kota2010-06-251-13/+3
| | |/
| | * erlang: code refined and tests addedUENISHI Kota2010-06-251-13/+10
| | |
| | * erlang: unpack_map's silly bug fixed. use dict:store/3....UENISHI Kota2010-06-252-15/+12
| | |