Commit Graph

2172 Commits

Author SHA1 Message Date
Pieter Hintjens
963c6a8e2f Lots of cleanups to self-tests
* Removed or truncated sleeps so the tests run faster
* Removed dependencies on zmq_utils
* Rewrote a few tests that were confusing
* Minor code cleanups
2013-01-31 19:46:22 +01:00
Pieter Hintjens
c39cb0bde1 Rewrote completely, was bogusly testing EAGAIN 2013-01-31 16:26:28 +01:00
Pieter Hintjens
3a558fcc4b Rewrote raw test completely 2013-01-31 15:00:17 +01:00
Pieter Hintjens
8c9289342a Fixed use of deprecated zmq_init/term 2013-01-31 09:10:49 +01:00
Pieter Hintjens
5f009e5234 Various cleanups to test programs 2013-01-30 23:53:23 +01:00
Pieter Hintjens
18a14aedea Added ZMQ_IPV6 option, cleaned up setsockopt code, it was nasty 2013-01-30 23:53:09 +01:00
Pieter Hintjens
aa21e090e1 Updated .gitignore 2013-01-30 22:24:59 +01:00
Pieter Hintjens
049931fc1e Merge pull request #507 from bjoto/master
LIBZMQ-498 - Remove heap allocations in zmq_poll for small poll item sets
2013-01-30 08:04:31 -08:00
Bjorn Topel
f1e77f2246 Removed heap allocation for in zmq_poll for small item sets
Until now, zmq_poll always allocates the poll items on the heap.
Now, small item sets, up to ZMQ_POLLITEMS_DFLT, are stack allocated
and only larger sets are allocated on the heap.
2013-01-30 16:46:45 +01:00
Pieter Hintjens
470d06bb9e Merge pull request #506 from arsenm/master
Fix using wrong name for windows.h check with cmake
2013-01-27 15:18:11 -08:00
Matt Arsenault
e464a91086 Fix using wrong name for windows.h check in cmake 2013-01-27 18:09:53 -05:00
Pieter Hintjens
e8cbfac966 Merge pull request #503 from chazmcgarvey/define-dummy-eproto
define a dummy EPROTO for platforms that don't use it
2013-01-23 11:55:48 -08:00
Pieter Hintjens
abc8907e44 Merge pull request #505 from arsenm/master
Fix perf-tools build on Linux with cmake
2013-01-23 11:55:17 -08:00
Pieter Hintjens
93618e7d02 Merge pull request #504 from o172/master
Adds tests/test_disconnect_inproc to .gitignore
2013-01-23 11:55:02 -08:00
Matt Arsenault
f01bab6633 Fix cmake not linking librt to perf-tools 2013-01-23 14:31:02 -05:00
o172(xenovo)
0a1bd45721 Added tests/test_disconnect_inproc to .gitignore 2013-01-23 19:20:52 +00:00
Pieter Hintjens
7bc3e53b53 Merge pull request #502 from ianbarber/master
Add bounds check on upstream XSUB messages
2013-01-21 21:18:08 -08:00
Charles McGarvey
ba3e18f700 define a dummy EPROTO for platforms that don't use it
This accomplishes the same thing as 2e2ef7fd in a potentially cleaner way.
2013-01-21 17:14:26 -07:00
Ian Barber
d850272417 Add size check on XSUB message sends
Ensures 0 length messages aren't being checked for subscribtion status on whatever data happens to be following the data pointer.
2013-01-21 16:11:27 -08:00
Pieter Hintjens
eeaa2c8e42 Merge pull request #501 from chazmcgarvey/conditional-eproto
do not use EPROTO on platforms that do not have it
2013-01-21 14:47:35 -08:00
Charles McGarvey
2e2ef7fd33 do not use EPROTO on platforms that do not have it 2013-01-21 15:00:55 -07:00
Pieter Hintjens
3a632185a6 Merge pull request #500 from haf/fixes/asciidoc-title
Shortening the =-chars to make asciidoc work
2013-01-20 03:43:49 -08:00
Henrik
7918175717 Shortening the =-chars to make asciidoc work 2013-01-19 18:02:24 +01:00
Pieter Hintjens
29a1d8ec60 Merge pull request #499 from minrk/ac_header
Minor autoconf tweaks
2013-01-17 23:49:52 -08:00
Pieter Hintjens
f467011dbc Merge pull request #498 from minrk/zmq_ctx_term
deprecate zmq_ctx_destroy in favor of zmq_ctx_term
2013-01-17 23:49:32 -08:00
MinRK
21c97f0cc2 AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.
2013-01-17 16:00:38 -08:00
MinRK
64c019e24d move configure.in -> configure.ac
autotools warns that configure.in
should actually be named configure.ac
2013-01-17 15:59:11 -08:00
MinRK
edd43e1ca4 deprecate zmq_ctx_destroy in favor of zmq_ctx_term
in order to avoid logical collisions with pre-existing notions of context destruction in bindings (czmq, pyzmq).
2013-01-17 15:48:18 -08:00
Ian Barber
21fc2a9946 Merge pull request #497 from hintjens/master
Clarified how icp:// works with zmq_bind
2013-01-14 19:54:38 -08:00
Pieter Hintjens
bbc5befc66 Clarified zmq_bind on icp:// 2013-01-14 17:49:19 +01:00
Pieter Hintjens
c2fbb722a4 Merge pull request #496 from amuraru/master
Fixed el5/el6 deps in RPM spec file / newline fix
2013-01-12 08:33:33 -08:00
Adrian Muraru
35f18aef74 Fixed newline in test_disconnect_inproc 2013-01-12 16:21:56 +02:00
Adrian Muraru
fb0beb6f29 Fixed el5/el6 deps in RPM spec file 2013-01-12 16:21:56 +02:00
Ian Barber
7d475add7e Merge pull request #495 from hintjens/master
Whitespace and comment cleanups
2013-01-08 06:22:27 -08:00
Pieter Hintjens
d997d88096 Revert "Old change to move ports off 5555 (was conflicting with other stuff)"
This reverts commit da0efaa817.
2013-01-08 09:18:38 +01:00
Pieter Hintjens
aff1406713 Revert "Test cases were failing on bind"
This reverts commit 8ba097f3da.
2013-01-08 09:18:23 +01:00
Pieter Hintjens
a4bedc5255 Whitespace and comment fixes 2013-01-08 09:16:50 +01:00
Pieter Hintjens
da0efaa817 Old change to move ports off 5555 (was conflicting with other stuff) 2013-01-08 09:09:27 +01:00
Pieter Hintjens
b0f0d3fcb4 Clarification on zmq_msg_more 2013-01-08 09:08:02 +01:00
Pieter Hintjens
12a648db07 Specified that it's safe to call zmq_msg_more after zmq_msg_close 2013-01-08 09:08:01 +01:00
Pieter Hintjens
ef186fe15b Spelling fixes 2013-01-08 09:08:01 +01:00
Pieter Hintjens
af934f85ca Removed use of deprecated API methods 2013-01-08 09:08:01 +01:00
Pieter Hintjens
8ba097f3da Test cases were failing on bind 2013-01-08 09:08:01 +01:00
Pieter Hintjens
c1f76e433f Merge pull request #494 from jgm-radez/master
allow XSUB/XPUB to send/recv messages unrelated to sub/unsub
2013-01-08 00:05:07 -08:00
John Muehlhausen
d32e392278 allow XSUB/XPUB to send/recv messages unrelated to sub/unsub (LIBZMQ-490)
zmq::xpub_t::xread_activated() – change to process messages without 0
or 1 prefix, but without affecting subscriptions

zmq::xsub_t::xsend() – change to send rather than discard messages
without 0 or 1 prefix, but without affecting subscriptions

Update documentation
2013-01-07 22:24:24 -06:00
Ian Barber
98a91e852e Merge pull request #493 from arsenm/master
Fix minor problem with cmake bulid
2013-01-02 12:51:43 -08:00
Matt Arsenault
45f504d3e2 Fix looking for rc sources in toplevel binary directory 2013-01-02 15:50:04 -05:00
Pieter Hintjens
949d157897 Merge pull request #492 from arsenm/master
Make CMake build usable for other systems
2013-01-02 00:32:15 -08:00
Matt Arsenault
6ce464414b Fix typos 2013-01-02 03:24:11 -05:00
Matt Arsenault
f770954d30 Fix a couple more warnings 2013-01-02 03:24:11 -05:00