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
36374c33fe
Add zmq.poller version of local_thr.lua to perf/ folder.
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
715f531f52
Fix rockspec for building on windows.
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
7de39bd409
Export module functions for FFI support on windows.
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
7664da27ed
Add rockspec for wireshark protocol dissector.
15 years ago
Robert G. Jakabosky
a102f08855
Add Wireshark dissector.
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
5423280848
Add sleep between connect and send.
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
e16bc680f7
Add sleep call.
15 years ago
Robert G. Jakabosky
bda73bf307
Add COPYRIGHT file.
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
Robert G. Jakabosky
f2578d80f5
Merge pull request #17 from dcreager/eintr
...
Use standardized error string for EINTR, just like ETERM and EAGAIN
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
Robert G. Jakabosky
76c6770337
Cleanup ffi cdef.
15 years ago
Robert G. Jakabosky
de92ebce14
Use CMAKE_INSTALL_PREFIX in default INSTALL_*MOD paths.
15 years ago
Robert G. Jakabosky
7a59b9f59a
Fix linking errors on MAC OSX.
15 years ago
Robert G. Jakabosky
61f9e7b341
Fix problem with CMake 'lists'.
15 years ago