Permalink
Commits on Jun 6, 2011
  1. fix

    committed Jun 6, 2011
Commits on Jun 1, 2011
  1. update for node v0.4 buffers

    committed Jun 1, 2011
Commits on May 22, 2011
  1. Merge pull request #10 from tomtaylor/master

    npm release
    pgriess committed May 22, 2011
Commits on Nov 30, 2010
  1. bumping to version 0.1.3

    tomtaylor committed Nov 30, 2010
Commits on Nov 29, 2010
  1. Added package.json and adjusted require for mpBindings to relative pa…

    …th. Now ready for npm.
    tomtaylor committed Nov 29, 2010
Commits on Aug 23, 2010
Commits on Jul 23, 2010
  1. Try harder to 'make clean'.

    pgriess committed Jul 23, 2010
Commits on Jul 2, 2010
Commits on Jun 9, 2010
  1. Compile all code with -fPIC explicitly.

    - Move compilation flags into Makefile from wscript to ensure that
      they're shared by libmsgpack.a. Also, the way that we were setting
      them in wscript was overriding whatever was there already.
    pgriess committed Jun 9, 2010
Commits on May 28, 2010
  1. Spring cleaning.

    pgriess committed May 28, 2010
  2. Change cycle checker implementation; fixes OOM.

    - Re-impelement the cycle checker by retaining a collection of seen
      v8::Object instances and using iterating across this set using
      StrictEquals() to determine if we've seen the current object before.
      This is O(n^2) and, thus, lame. Too bad the tagging implementation
      caused node::Buffer objects to be retained for some reason; it was
      much faster at O(1).
    pgriess committed May 28, 2010
  3. Clean up exception generation.

    pgriess committed May 28, 2010
Commits on May 27, 2010
  1. Pass excess params to send down to stream.write().

    - This should allow this API to transparently accommodate a Stream
      implementation that can accept additional parameters (like file
      descriptors).
    pgriess committed May 27, 2010
  2. Minor cleanup to README.md.

    pgriess committed May 27, 2010
  3. Create msgpack.Stream abstraction; split C++/JS.

    - Provide the external API to the addon as lib/msgpack.js, which builds
      off of the rudimentary facilities provided by the bindings. This
      requires installation to install both build/default/mpBindings.node
      and lib/msgpack.js.
    - Create msgpack.Stream abstraction which wraps a net.Stream and emits
      'msg' events when a full message is received. Provides a 'sendmsg'
      method to transparently pack JavaScript objects.
    - Add tests for msgpack.Stream.
    pgriess committed May 27, 2010
  4. unpack() returns 'undefined' on incomplete value.

    - Handle MSGPACK_UNPACK_CONTINUE by returning 'undefined'. Callers
      should be prepared to see this and retry later with more data.
    pgriess committed May 27, 2010
  5. Expose # bytes left in buffer after unpack.

    - If msgpack.unpack() does not consume the entire buffer, expose the
      number of bytes remaining as the 'msgpack.unpack.bytes_remaining'
      property.
    pgriess committed May 27, 2010
Commits on May 26, 2010
  1. Implement proper cleanup of msgpack structures.

    - Create C++ holder classes for msgpack_zone and msgpack_sbuffer whose
      destructors call the appropriate *_destroy() method.
    pgriess committed May 26, 2010
  2. Fix error handling in pack/unpack.

    - Handle errors by throwing exceptions rather than fighting with return
      values; this fixed several cases where we were returning exception
      objects back as part of the unpacked object.
    - Also add a debugging macro to dump node::Buffers objects.
    pgriess committed May 26, 2010
  3. Add some CLI examples.

    pgriess committed May 26, 2010
  4. Stupid benchmarking tool.

    pgriess committed May 26, 2010
  5. Build with -Wall; fix warnings.

    pgriess committed May 26, 2010