Permalink
Switch branches/tags
Nothing to show
Commits on Dec 29, 2010
Commits on Dec 21, 2010
  1. Added example of using an event-loop with ZeroMQ sockets.

    Robert G. Jakabosky
    Robert G. Jakabosky committed Dec 21, 2010
Commits on Dec 20, 2010
  1. Extracting underlying C context object

    Douglas Creager
    Douglas Creager committed Dec 20, 2010
    You can now use the Context:lightuserdata() method to get a light
    userdata pointer to the underlying ZeroMQ C context object.  On the
    receiving end, the zmq.init() function can now take in a light
    userdata object, which creates a new Context object wrapper for an
    existing C context object.
    
    The main use case for this is to provide an easy way to pass a ZeroMQ
    context to another Lua interpreter.  The two interpreters (which
    presumably would be running in separate threads) can then use ZeroMQ
    sockets from this context to communicate with each other.
    
    In this use case, we have to be sure not call zmq_term in the Context
    __gc metamethod, since both Lua interpreters would try to do this.
    Internally, we keep an additional boolean field that indicates whether
    a Context object is responsible for terminating the context.  When
    created with a light userdata, this will be false.  When created
    normally, the default is true, but can be overridden.
  2. Removed un-needed zmq_return_error() macro.

    Robert G. Jakabosky
    Robert G. Jakabosky committed Dec 20, 2010
Commits on Dec 19, 2010
  1. Changed some of the error messages to match LuaSocket.

    Robert G. Jakabosky
    Robert G. Jakabosky committed Dec 19, 2010
  2. Added missing ZMQ_POLL* constants.

    Robert G. Jakabosky
    Robert G. Jakabosky committed Dec 19, 2010
  3. Added support for new ZeroMQ 2.1.0 socket options.

    Robert G. Jakabosky
    Robert G. Jakabosky committed Dec 19, 2010
Commits on Dec 9, 2010
  1. Removed binary rockspec

    iamaleksey committed Dec 9, 2010
Commits on Oct 17, 2010
  1. Giving lua-zmq new API semantics.

    jsimmons committed Oct 17, 2010
    Functions now return nil followed by an error message on failure.
    They also fail properly in all cases, this removes asserts from
    the code base.
Commits on Sep 12, 2010
  1. Added URL and md5 of archive.

    norman authored and iamaleksey committed Sep 8, 2010
  2. Added rockspecs.

    norman authored and iamaleksey committed Sep 8, 2010
Commits on Aug 29, 2010
  1. Removing deprecated UPSTREAM/DOWNSTREAM symbols

    jsimmons authored and iamaleksey committed Aug 28, 2010
    Now 2.0.8 has been released, I don't see any real need to keep them
    there.
    
    Revert "Adding support for zmq 2.0.7 with a hacky preprocessor check"
    
    This reverts commit 9d38da8.
Commits on Aug 28, 2010
  1. Removing deprecated UPSTREAM/DOWNSTREAM symbols

    jsimmons committed Aug 28, 2010
    Now 2.0.8 has been released, I don't see any real need to keep them
    there.
    
    Revert "Adding support for zmq 2.0.7 with a hacky preprocessor check"
    
    This reverts commit 9d38da8.
Commits on Aug 15, 2010
  1. Work on object collection

    jsimmons authored and iamaleksey committed Aug 11, 2010
    Adding __gc for socket objecs
    Adding NULL pointer check to context:term and socket:close
  2. Adding __gc metamethod to context

    jsimmons authored and iamaleksey committed Aug 11, 2010
  3. Adding gitignore for binaries

    jsimmons authored and iamaleksey committed Aug 11, 2010
Commits on Aug 11, 2010
  1. Work on object collection

    jsimmons committed Aug 11, 2010
    Adding __gc for socket objecs
    Adding NULL pointer check to context:term and socket:close
Commits on Aug 4, 2010
Commits on Jun 4, 2010
  1. zmq:init(io_threads)

    iamaleksey committed Jun 4, 2010
Commits on Apr 26, 2010
Commits on Apr 11, 2010
  1. s:getsockopt

    iamaleksey committed Apr 11, 2010
  2. ZMQ_SNDMORE, ZMQ_RCVMORE

    iamaleksey committed Apr 11, 2010
Commits on Mar 27, 2010
  1. Added ZMQ_MORE constant

    iamaleksey committed Mar 27, 2010
Commits on Mar 16, 2010
  1. Formatting

    iamaleksey committed Mar 16, 2010