Commit Graph

45 Commits (5cf558e4d59f03e06101b7e974aee846fd07d6cc)

Author SHA1 Message Date
Robert G. Jakabosky c7e5f0c93f Update pre-generated bindings code. 15 years ago
Robert G. Jakabosky f7f294d942 Fix bug with null error thrown during GC of stopwatch timers. 15 years ago
Robert G. Jakabosky 3bcfd30ddb Re-generate bindings file. Improved support for Windows+MinGW+MSYS. 15 years ago
Robert G. Jakabosky ba5f08b586 Fix issue with some variables named 'this' which conflicts with the Intel C compiler. 15 years ago
Douglas Creager 9975bdfd2c Add additional code to llthreads bootstrap
This patch lets you add additional code to the beginning of the
bootstrap function executed within each new llthread.  This is needed,
for instance, if you've installed lua-zmq via luarocks; in this case,
you need to require "luarocks.loader" before you can require "zmq".  So
you can do something like:

    if package.loaded["luarocks.loader"] then
       zmq.threads.set_bootstrap_prelude([[require "luarocks.loader"]])
    end
15 years ago
Robert G. Jakabosky ec8409ffeb Use opaque struct types instead of 'void *'. 15 years ago
Robert G. Jakabosky a49943157c Add support for zmq_stopwatch_*() and zmq_sleep() functions. 15 years ago
Robert G. Jakabosky 82a834eca4 Use '__declspec(dllexport)' instead of LUALIB_API on WIN32. 15 years ago
Robert G. Jakabosky 10e68fb269 Fix incorrect use of global in FFI code. Locallize some globals from standard library in FFI code. 15 years ago
Robert G. Jakabosky 46ac27b3e5 Use 'nil' not 'false' for signalling errors. 15 years ago
Robert G. Jakabosky ca22b64f2c Fix issue with FFI bindings return 'nil' for error messages. 15 years ago
Robert G. Jakabosky 783e00ef7f Fix use of 'NULL' instead of 'nil' in Lua code. 15 years ago
Robert G. Jakabosky f13a4ef914 Remove use of 'disable_ffi' from FFI based bindings, since it can cause problems with strict environments. 15 years ago
Robert G. Jakabosky 7194be8851 Improve old version error message. Add note about requried zeromq version. 15 years ago
Robert G. Jakabosky 8439751b91 Add detection code for really old ZeroMQ 2.0.x series. 15 years ago
Robert G. Jakabosky a3f912b8aa Fix undefined socket_t with ZeroMQ 2.0.x 15 years ago
Robert G. Jakabosky 2df2e1eae3 Update pre-generated bindings. 15 years ago
Robert G. Jakabosky 5a875c12a1 Fixed bug with destroying & creating 0MQ sockets quickly. 15 years ago
Robert G. Jakabosky b66901fe3c Fixed issue with GC of 0MQ context object. poller:poll() method now returns number of events handled. 15 years ago
Robert G. Jakabosky 9689b108b5 Allow zmq context to be nil. Fixed passing of timeout value to poller. 15 years ago
Robert G. Jakabosky eb96a2bc79 Fixed some bugs in low-level Poller object. 15 years ago
Robert G. Jakabosky 9108254961 Added FFI support to Poller object. 15 years ago
Robert G. Jakabosky 418bbe024a Updated pre-generated module code. 15 years ago
Robert G. Jakabosky d90b00f237 Move low-level threads code into a different project lua-llthreads. 15 years ago
Robert G. Jakabosky 2f327f6e42 Fixed FFI loading bug. 15 years ago
Robert G. Jakabosky 5de9a8d46f Added support for running Lua code in child threads. 15 years ago
Robert G. Jakabosky 6126e4a0d6 Changed case for low-level poller object. 15 years ago
Robert G. Jakabosky 86f2d0c027 Update copyright notice. 15 years ago
Robert G. Jakabosky bd30398861 Added zmq.poller object that wraps zmq_poll() function. 15 years ago
Robert G. Jakabosky 56c4c465c8 Fixed bug with support for 0MQ version < 2.1 15 years ago
Robert G. Jakabosky 399258202d Fixed some issues with compiling bindings on Windows. 15 years ago
Robert G. Jakabosky d8839be4bd Regenerate bindings with better support for Windows vc2008 15 years ago
Robert G. Jakabosky a7133daefa Fixed bug with zmq_msg_t __tostring() metamethod. 15 years ago
Robert G. Jakabosky a524c4dc69 Add FFI support for setopt()/getopt() functions. 15 years ago
Robert G. Jakabosky 02c26ddc68 Removed error message when loading module in the standard Lua VM. 15 years ago
Robert G. Jakabosky 99b8dafb4a Remove debug message. 15 years ago
Robert G. Jakabosky 0757b21cba Regenerate bindings to remove some debug code. 15 years ago
Robert G. Jakabosky d0a71ccbae Add send_msg()/recv_msg() functions and zmq_msg_t object. Update FFI-based bindings to use latest LuaNativeObjects FFI support. 15 years ago
Robert G. Jakabosky ed462fe9b8 Updated bindings to use newest features of LuaNativeObjects. 15 years ago
Robert G. Jakabosky e61df55e51 Added support for creating a ZMQ context from LuaJIT cdata. 15 years ago
Robert G. Jakabosky bfa0085b7c Re-organize FFI files. 15 years ago
Robert G. Jakabosky 0ac861e107 Added support for creating a ZMQ context from a lightuserdata value. Move FFI code into a normal Lua file so we get nice syntax hightlighting. 15 years ago
Robert G. Jakabosky 3f11cbab83 Commit updated pre-generated bindings file. 15 years ago
Robert G. Jakabosky 84cd64b2ce Added support for __gc to call close() on ZMQ sockets. 15 years ago
Robert G. Jakabosky 42d4a1361b Added LuaJIT2 FFI support. 15 years ago