Robert G. Jakabosky
8f239ff6f5
regenerate bindings with Buffer interface.
13 years ago
Robert G. Jakabosky
cbfaecd38c
Add support for Buffer interface.
13 years ago
Robert G. Jakabosky
6845eba8d2
Regenerate bindings with Lua 5.2 support.
14 years ago
Robert G. Jakabosky
9841573893
Add sub-modules to 'zmq' module's table.
14 years ago
Petr Štetiar
4642135e12
Fix crash in {set,get}sockoption with zmq 3.2.1
...
$ lua examples/server_poll.lua
Invalid socket option type, this shouldn't happen.
Aborted (core dumped)
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>
14 years ago
Robert G. Jakabosky
46ae68fe9e
Add support for ZeroMQ 2.2
14 years ago
Robert G. Jakabosky
78ac082f62
Convert return value of msg:size() to a Lua number from 'size_t' in FFI bindings.
14 years ago
Robert G. Jakabosky
caba791908
Fix error to string conversion for standard Lua bindings.
14 years ago
Robert G. Jakabosky
bbaa86a552
io_threads parameter now defaults to 1.
14 years ago
Robert G. Jakabosky
5f8ae64393
Fix FFI bindings for socket option getter/setter methods.
14 years ago
Robert G. Jakabosky
81f1182507
Fix bug with FFI bindings of sock:setopt().
14 years ago
Robert G. Jakabosky
421101376e
Re-generate bindings to fix bug with weak objects.
14 years ago
Robert G. Jakabosky
6ee18ea74d
Add missing XPUB/XSUB socket types for zmq 3.1 support.
...
Also make sure DEALER/ROUTER and XREQ/XREP are all defined.
14 years ago
Robert G. Jakabosky
3058dce215
Change where ZMQ_NOBLOCK is defined if missing.
14 years ago
Robert G. Jakabosky
0aa2ed8e3f
Add missing zmq.DONTWAIT constant for zmq 3.1 support.
...
For forwards & backward compatibility define both DONTWAIT & NOBLOCK
for all versions.
14 years ago
Robert G. Jakabosky
36fa3226ef
Fix exporting of zmq.poller C functions for FFI bindings.
14 years ago
Robert G. Jakabosky
b2aec4654e
Regenerate bindings.
...
Fix ffi detection code.
Split Lua code into multiple smaller C literals.
14 years ago
Robert G. Jakabosky
779a406957
Fix recv() method in FFI bindings.
14 years ago
Robert G. Jakabosky
8d780628a0
Fix compile errors with MSVC compiler.
14 years ago
Robert G. Jakabosky
7adc63d089
Fix problem with FFI support on windows.
14 years ago
Robert G. Jakabosky
38a3f21ba5
Disable ffi bindings support on windows for now.
14 years ago
Robert G. Jakabosky
a58d7ad389
Fix for building on Windows.
14 years ago
Robert G. Jakabosky
04208f1059
Change 'false' to 0 in C code.
14 years ago
Robert G. Jakabosky
f50970f7a1
Replace use of 'bool' type with 'int'.
14 years ago
Robert G. Jakabosky
a9b9ca278a
Register module as a global to support old code that doesn't save the
...
module to a local variable.
14 years ago
Robert G. Jakabosky
e8229c5b55
Remove debug print().
15 years ago
Robert G. Jakabosky
34e19cb65c
Update luvit FFI module path detection logic.
15 years ago
Robert G. Jakabosky
8200e8f54a
Fix loading of FFI bindings for luvit.
15 years ago
Robert G. Jakabosky
f0fd8edddc
Fix some Luvit issues.
15 years ago
Robert G. Jakabosky
a264b26c48
Fix recv() method when used with ZeroMQ 3.1.x
15 years ago
Robert G. Jakabosky
837eae2da6
Fix version checks.
15 years ago
Robert G. Jakabosky
56f51fd22c
Generate methods to get/set socket options.
15 years ago
Robert G. Jakabosky
29ac928f78
Add partial work on generating socket option code.
15 years ago
Robert G. Jakabosky
b1157e3aaa
Add support for zmq 3.0/3.1
15 years ago
Robert G. Jakabosky
ffeb63cf7d
Don't pollute global _G space.
15 years ago
Robert G. Jakabosky
c3dd0056e1
Simplify zmq_msg_t/ZMQ_Poller constructors.
15 years ago
Robert G. Jakabosky
67993e7953
Remove loading of libzmq.so/libzmq.dll for FFI bindings, since the symbols are accessible from zmq.so which we where loading.
15 years ago
Robert G. Jakabosky
26200cf9c0
Add custom c module loading code for luvit.
15 years ago
Robert G. Jakabosky
95367457f7
Remove some dead FFI code. Remove use of bit & debug modules.
15 years ago
Robert G. Jakabosky
96ec0ff278
Update FFI bindings.
15 years ago
Robert G. Jakabosky
c2dcd09181
Fix convertion of Ctx from cdata to lightuserdata for passing to sub-threads.
15 years ago
Robert G. Jakabosky
052d18ffb2
Fix convertion of Ctx from cdata to lightuserdata for passing to sub-threads.
15 years ago
Robert G. Jakabosky
c5fc85c9cd
Fix bug in poller.
15 years ago
Robert G. Jakabosky
23db47708b
Update FFI bindings to be more pure (i.e. less messing around with userdata tricks.)
15 years ago
Robert G. Jakabosky
74764609bf
Add missing FFI def. for zmq_errno.
15 years ago
Robert G. Jakabosky
09c13aa2fd
Use table to cache Error number to string conversion.
15 years ago
Robert G. Jakabosky
3758b825df
Update pre-generated binding code.
15 years ago
Robert G. Jakabosky
477fbecb99
Add missing DEALER/ROUTER socket types.
15 years ago
Robert G. Jakabosky
6c1661b9a0
Merge branch 'master' of github.com:Neopallium/lua-zmq
15 years ago
Douglas Creager
10bc8059f1
Return standardized error message for EINTR
...
The zmq functions now use "interrupted" instead of the system-specific
strerror() result for any EINTR errors. This makes it easy to test for
those and retry any interrupted function calls.
15 years ago