From e645fc2693acc796304498909786b7b47005b429 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:53:35 +0100 Subject: Imported Upstream version 2.1.3 --- ChangeLog | 5193 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 5059 insertions(+), 134 deletions(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3ac6d30..ef98a4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,205 +1,4339 @@ # Generated by Makefile. Do not edit. -commit 53d1677c8b0f85e309c6a067b47c80dedcffb5aa +commit 31d8b7f74daa3f094347876db2774112d80611fe +Author: Pieter Hintjens +Date: Mon Mar 21 10:08:42 2011 +0100 + + Fixed 'documentation' in MAINTAINERS + + MAINTAINERS | 6 +----- + 1 files changed, 1 insertions(+), 5 deletions(-) + +commit a4c98d20c29b48d35af3e438e763ee915e63e790 +Author: Pieter Hintjens +Date: Mon Mar 21 10:07:03 2011 +0100 + + Removed MSVC builds for standalone devices + + builds/msvc/Makefile.am | 6 +- + builds/msvc/msvc.sln | 15 -- + builds/msvc/zmq_forwarder/zmq_forwarder.vcproj | 176 ------------------------ + builds/msvc/zmq_queue/zmq_queue.vcproj | 176 ------------------------ + builds/msvc/zmq_streamer/zmq_streamer.vcproj | 176 ------------------------ + 5 files changed, 1 insertions(+), 548 deletions(-) + +commit bcd6ab81fa440287172081b19667f26a202d5f1c +Author: Pieter Hintjens +Date: Mon Mar 21 09:58:10 2011 +0100 + + Updated NEWS for v2.1.3 + + NEWS | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit f42399ef8788c0f5367bd22f1e82f7944d7c3e37 Author: Martin Sustrik -Date: Fri Oct 15 19:37:41 2010 +0200 +Date: Sun Mar 20 20:52:54 2011 +0100 - Update NEWS for 2.0.10 release + Message atomicity bug in load-balancer fixed + + If the peer getting the message have disconnected in the middle + of multiplart message, the remaining part of the message went + to a different peer. This patch fixes the issue. Signed-off-by: Martin Sustrik - NEWS | 28 ++++++++++++++++++++++++++++ - 1 files changed, 28 insertions(+), 0 deletions(-) + NEWS | 5 ++++- + src/lb.cpp | 25 ++++++++++++++++++++++++- + src/lb.hpp | 3 +++ + 3 files changed, 31 insertions(+), 2 deletions(-) -commit 6e9520533395b19ed6f6a17de6f196aa5e93da9f -Author: Taras Shpot -Date: Fri Oct 15 17:45:02 2010 +0200 +commit 2294c87d2c670e95595553d3fb7a13264216a540 +Author: Pieter Hintjens +Date: Sun Mar 20 17:27:43 2011 +0100 - Fix memory leak under Windows + Fixed README git and man page URIs + + README | 7 ++++--- + 1 files changed, 4 insertions(+), 3 deletions(-) + +commit 795b9482ba3aa76b994f428f6ec549ac56438110 +Author: Pieter Hintjens +Date: Sun Mar 20 17:17:26 2011 +0100 + + Removed HTML generation of man pages + + doc/Makefile.am | 6 +----- + 1 files changed, 1 insertions(+), 5 deletions(-) + +commit 2bae7f7dec5468f9102983d218944d7d557ea9a4 +Author: Pieter Hintjens +Date: Sun Mar 20 17:09:27 2011 +0100 + + Removed stand-alone devices + + Makefile.am | 4 +- + NEWS | 4 + + configure.in | 2 - + devices/Makefile.am | 3 - + devices/zmq_forwarder/Makefile.am | 8 -- + devices/zmq_forwarder/zmq_forwarder.cpp | 124 ------------------------------- + devices/zmq_queue/Makefile.am | 8 -- + devices/zmq_queue/zmq_queue.cpp | 123 ------------------------------ + devices/zmq_streamer/Makefile.am | 8 -- + devices/zmq_streamer/zmq_streamer.cpp | 123 ------------------------------ + 10 files changed, 6 insertions(+), 401 deletions(-) + +commit d736cea05f9eb3e63c0ecb37ea78d4bff81ddfcf +Author: Martin Sustrik +Date: Sun Mar 20 11:50:51 2011 +0100 + + Message atomicity problem solved in PUB socket - The comment about memory ownership in uuid_t::to_string - was misleading as on most platforms the buffer is a field - of the object; - The string allocated in UuidToString() wasn't properly freed - with RpcStringFree() + When new peer connects to a PUB socket while it is in the middle + of sending of multi-part messages, it gets just the remaining + part of the message, i.e. message atomicity is broken. - Signed-off-by: Taras Shpot + This patch drops the tail part of the message and starts sending + to the peer only when new message is started. + + Signed-off-by: Martin Sustrik - AUTHORS | 1 + - src/uuid.cpp | 2 ++ - src/uuid.hpp | 2 +- - 3 files changed, 4 insertions(+), 1 deletions(-) + NEWS | 3 +++ + src/dist.cpp | 44 +++++++++++++++++++++++++++++++++++++++----- + src/dist.hpp | 15 +++++++++++++++ + 3 files changed, 57 insertions(+), 5 deletions(-) -commit 5b44025602b6af952fc434a6e7bf8dff65a00be6 -Author: Martin Lucina -Date: Fri Oct 15 17:27:10 2010 +0200 +commit 6e3c38ab2d85eaf46ad9e218914e29f9984a54c2 +Author: Pieter Hintjens +Date: Sun Mar 20 10:26:20 2011 +0100 - maint: Upgrade OpenPGM to 2.1.28~dfsg - - Upgrade OpenPGM to version 2.1.28 for ZeroMQ 2.0.x. Now we also use the - DFSG-compliant upstream release tarball. + Clarified scope of ZMQ_PAIR sockets - Signed-off-by: Martin Lucina + Signed-off-by: Pieter Hintjens - configure.in | 2 +- - foreign/openpgm/libpgm-2-1-28~dfsg.tar.gz | Bin 0 -> 340501 bytes - foreign/openpgm/libpgm-2.1.26.tar.gz | Bin 413863 -> 0 bytes + doc/zmq_socket.txt | 12 ++++++++---- + 1 files changed, 8 insertions(+), 4 deletions(-) + +commit 8402e324296d5d0d8a3734ad67d27e879496d6e0 +Author: Mikko Koppanen +Date: Fri Mar 18 07:56:11 2011 +0000 + + Updated openpgm to libpgm-5.1.114~dfsg + + NEWS | 2 +- + foreign/openpgm/libpgm-5.1.113~dfsg.tar.gz | Bin 473717 -> 0 bytes + foreign/openpgm/libpgm-5.1.114~dfsg.tar.gz | Bin 0 -> 1051807 bytes 3 files changed, 1 insertions(+), 1 deletions(-) -commit 3cf01bf56e66657da795e43f09fa2499b2381dc9 -Author: Martin Lucina -Date: Fri Oct 15 15:30:10 2010 +0200 +commit 84131c004431520f2f62e0cc45e253c13575e6da +Author: Pieter Hintjens +Date: Thu Mar 17 11:13:50 2011 +0100 - Makefile.am: Add missing files to distribution, improve maintainer-clean - - Add missing files needed for regenerating configure to the distribution; - add MAINTAINERS; improve maintainer-clean to produce a really clean tree. + Fixed documentation issues (GH-173) + + doc/zmq_setsockopt.txt | 4 ++-- + doc/zmq_socket.txt | 8 +++++--- + 2 files changed, 7 insertions(+), 5 deletions(-) + +commit eeefe8fad4f2a2b20c9cc005220722b2af075c69 +Author: Martin Sustrik +Date: Wed Mar 16 13:48:40 2011 +0100 + + Incorrect errno reported from tcp_listener_t::set_address - Signed-off-by: Martin Lucina + Signed-off-by: Martin Sustrik - Makefile.am | 18 +++++++++++++----- - 1 files changed, 13 insertions(+), 5 deletions(-) + src/tcp_listener.cpp | 20 ++++++++++++++++---- + 1 files changed, 16 insertions(+), 4 deletions(-) -commit 3b3df731e60d604794538d0b9f6cb5b802a8745d -Author: Martin Lucina -Date: Fri Oct 15 15:05:54 2010 +0200 +commit ab1fc89b84221407ee93d0f9a87405222d336a60 +Author: Steven McCoy +Date: Thu Mar 17 12:10:58 2011 +0800 - configure.in: Extract API version from zmq.h + Add path support for asciidoc and xmlto. - * Added a version.sh and relevant changes to configure.in to extract the API - version from zmq.h at the time autogen.sh is run. - * Moved the version macros to be next to zmq_version in zmq.h and improved - the comments. - * Modified ZMQ_MAKE_VERSION to use (x) instead of plain x when expanding - macro parameters. + Signed-off-by: Steven McCoy + + NEWS | 2 +- + configure.in | 5 +++++ + doc/Makefile.am | 10 +++++----- + 3 files changed, 11 insertions(+), 6 deletions(-) + +commit 6f12503c57a47cb491c4bf6281f843b2b04f7cf6 +Author: Steven McCoy +Date: Thu Mar 17 12:09:25 2011 +0800 + + Add silent rules to documentation generators. - Signed-off-by: Martin Lucina + Signed-off-by: Steven McCoy - Makefile.am | 1 + - configure.in | 8 +++++--- - include/zmq.h | 21 +++++++++++---------- - version.sh | 21 +++++++++++++++++++++ - 4 files changed, 38 insertions(+), 13 deletions(-) + doc/Makefile.am | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) -commit 26d7669464054a4aed3f0ee9643bffa0e01aab5c -Author: Gonzalo Diethelm -Date: Thu Oct 14 08:02:43 2010 -0300 +commit 976b79e38946e6a573a6567c9a4e405f5438da6f +Author: Steven McCoy +Date: Thu Mar 17 12:07:45 2011 +0800 - Added bin directory to ignore list. + Add silent rules to Automake. + + Signed-off-by: Steven McCoy - .gitignore | 1 + + configure.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -commit 2568947a71adc0e8ddad54b6054a3b3e532e1613 -Author: Sebastian Otaegui -Date: Wed Oct 13 07:59:50 2010 +0200 +commit 046fea6c410295471e78f219ed077e41c63f3275 +Author: Steven McCoy +Date: Thu Mar 17 12:06:58 2011 +0800 - Add support for RHEL6 in the spec file + Bootstrapping OpenPGM Autoconf system no longer required. - Signed-off-by: Sebastian Otaegui + Signed-off-by: Steven McCoy - AUTHORS | 1 + - builds/redhat/zeromq.spec | 7 +++++++ - 2 files changed, 8 insertions(+), 0 deletions(-) + configure.in | 4 ---- + 1 files changed, 0 insertions(+), 4 deletions(-) -commit 57428db89885631128cb9a48b334b050eb83a512 -Author: Martin Lucina -Date: Mon Oct 11 16:39:48 2010 +0200 +commit be4c3afd386576932abb25deff765af378095ff4 +Author: Steven McCoy +Date: Thu Mar 17 12:06:36 2011 +0800 - configure.in: Do not patch libtool rpath handling + Bump OpenPGM to 5.1.114. - For historic reasons (mainly compatbility with really old libtool), configure was - patching libtool to not use rpath in binaries. This breaks (among other things) - correct operation of "make check" since the test binaries may not be run with - the correct shared library version. + Signed-off-by: Steven McCoy + + configure.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit e713118fce2db84a067af81c43eaf5273860e741 +Author: Steven McCoy +Date: Thu Mar 17 12:04:03 2011 +0800 + + Add support for OpenPGM on OSX by pulling in RFC 3768 compatibility header. - Current best practice as seen e.g. at http://wiki.debian.org/RpathIssue suggests - that this is no longer an issue, so I'm removing the code that patches libtool. + Signed-off-by: Steven McCoy + + src/pgm_socket.hpp | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +commit 37483e1b772e73de60444da5b4413a52e4269124 +Author: Steven McCoy +Date: Thu Mar 17 12:03:19 2011 +0800 + + Revert workaround for OpenPGM defining bool as fixed upstream. - Signed-off-by: Martin Lucina + Signed-off-by: Steven McCoy - configure.in | 11 ----------- - 1 files changed, 0 insertions(+), 11 deletions(-) + src/pgm_socket.hpp | 5 ----- + 1 files changed, 0 insertions(+), 5 deletions(-) -commit 6cd0867f0208b4fca4cfca2a2ff7bc0de5199d4a +commit 2a7c74c71d02d5f6a93ae3c6c6aa99473a97492b +Author: Jon Dyte +Date: Wed Mar 16 09:54:03 2011 +0100 + + reset socket state when identity message cannot be written to xrep + + Signed-off-by: Jon Dyte + + src/xrep.cpp | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +commit c10add3c0895546deec4adbaa0561c8a9ebb493b +Author: Pieter Hintjens +Date: Tue Mar 15 12:45:26 2011 +0100 + + Fixed zmq::version style to match rest of API + + include/zmq.hpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit adf31a5e057926e4c9ea04e01048e071979edb1b +Author: Pieter Hintjens +Date: Tue Mar 15 10:51:21 2011 +0100 + + Fixed Makefile for docs + + doc/Makefile.am | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit d085436c3e18b2e533c2379b99ea9d29ce9a4e51 Author: Martin Sustrik -Date: Mon Oct 11 16:32:27 2010 +0200 +Date: Mon Mar 14 20:29:00 2011 +0100 - Fixing the Red Hat packaging + FreeBSD complation error fixed - When adding ZMQ_VERSION macros, I incorrectly removed - the PACKAGE_VERSION macro. Adding it back. + There was an error in pgm_receiver wrt strict aliasing. Signed-off-by: Martin Sustrik - configure.in | 4 +++- - 1 files changed, 3 insertions(+), 1 deletions(-) + NEWS | 5 +++++ + src/pgm_receiver.cpp | 5 ++++- + 2 files changed, 9 insertions(+), 1 deletions(-) -commit ef8db789a1c97152e84ff03c9a7f6e1e77d95981 -Author: Martin Sustrik -Date: Sat Oct 9 07:53:24 2010 +0200 +commit 74507887ee55faf12b5ac53399b9e3e815fe526d +Merge: 58e8f1d 1c31ed6 +Author: Pieter Hintjens +Date: Tue Mar 15 10:41:30 2011 +0100 - Version macros added + Merge branch 'master' of github.com:zeromq/zeromq2-1 + +commit 58e8f1d3682c2351917b168c05c1f4f47ae2b810 +Author: Pieter Hintjens +Date: Tue Mar 15 10:39:04 2011 +0100 + + Added zmq::version method to C++ API - Macro ZMQ_VERSION represents the current version of 0MQ - Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create - a representation of the specified version. - The versions can be compared using simple <, >, ==, etc. - operators. + Signed-off-by: Pieter Hintjens + + include/zmq.hpp | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +commit 1c31ed6671f5cfa769ed2b03e680e1f57b83e996 +Author: Martin Sustrik +Date: Mon Mar 14 07:11:30 2011 +0100 + + Remove obsolete assert from pgm_socket.cpp Signed-off-by: Martin Sustrik - builds/msvc/platform.hpp | 6 +----- - configure.in | 13 ------------- - include/zmq.h | 10 ++++++++++ - src/zmq.cpp | 6 +++--- - 4 files changed, 14 insertions(+), 21 deletions(-) + NEWS | 2 ++ + src/pgm_socket.cpp | 1 - + 2 files changed, 2 insertions(+), 1 deletions(-) -commit 79aea5ffa61f969ec66205f7c9c8c1611a2fd8da -Author: Max Wolf -Date: Thu Sep 30 15:10:47 2010 +0200 +commit 56743e499bdc7cd03eff692439b2c16913fba830 +Author: Pieter Hintjens +Date: Sun Mar 13 18:08:08 2011 +0100 - zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed + Added ROUTER/DEALER socket aliases - AUTHORS | 1 + - src/xrep.cpp | 7 ++++--- - 2 files changed, 5 insertions(+), 3 deletions(-) + NEWS | 3 +++ + include/zmq.h | 2 +- + 2 files changed, 4 insertions(+), 1 deletions(-) -commit c1deb226f4d1bc94c158c050088813aae96775e9 -Author: Dhammika Pathirana -Date: Tue Sep 28 07:46:17 2010 +0200 +commit 2f4d85fd1779d6bc9a506356d7a52ec43533a379 +Author: Pieter Hintjens +Date: Sun Mar 13 18:07:30 2011 +0100 - crash when closing an ypipe -- fixed + Fixes to man pages + + - Added missing man page for zmq_device(3) + - Removed man pages for undocumented zmq_queue(1), zmq_forwarder(1), zmq_streamer(1) + + Signed-off-by: Pieter Hintjens - src/ypipe.hpp | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) + NEWS | 44 ++++++++++++++-------------- + doc/Makefile.am | 2 +- + doc/zmq.txt | 20 ++++--------- + doc/zmq_bind.txt | 2 +- + doc/zmq_close.txt | 2 +- + doc/zmq_connect.txt | 2 +- + doc/zmq_cpp.txt | 2 +- + doc/zmq_device.txt | 72 ++++++++++++++++++++++++++++++++++++-------- + doc/zmq_errno.txt | 2 +- + doc/zmq_forwarder.txt | 33 -------------------- + doc/zmq_getsockopt.txt | 2 +- + doc/zmq_init.txt | 2 +- + doc/zmq_inproc.txt | 2 +- + doc/zmq_ipc.txt | 2 +- + doc/zmq_msg_close.txt | 2 +- + doc/zmq_msg_copy.txt | 2 +- + doc/zmq_msg_data.txt | 2 +- + doc/zmq_msg_init.txt | 2 +- + doc/zmq_msg_init_data.txt | 2 +- + doc/zmq_msg_init_size.txt | 2 +- + doc/zmq_msg_move.txt | 2 +- + doc/zmq_msg_size.txt | 2 +- + doc/zmq_pgm.txt | 2 +- + doc/zmq_poll.txt | 2 +- + doc/zmq_queue.txt | 33 -------------------- + doc/zmq_recv.txt | 2 +- + doc/zmq_send.txt | 2 +- + doc/zmq_setsockopt.txt | 2 +- + doc/zmq_socket.txt | 2 +- + doc/zmq_streamer.txt | 33 -------------------- + doc/zmq_strerror.txt | 2 +- + doc/zmq_tcp.txt | 2 +- + doc/zmq_term.txt | 2 +- + doc/zmq_version.txt | 2 +- + 34 files changed, 115 insertions(+), 176 deletions(-) -commit f61921d09679c4bed15204ec4e55d1c7313e3f6a -Author: Martin Sustrik -Date: Tue Sep 28 07:39:16 2010 +0200 +commit 46aa3f6f4a8328025fb5d13c33ff68770200be43 +Author: Pieter Hintjens +Date: Wed Aug 4 14:41:43 2010 +0200 - REQ socket can die when reply is delivered on wrong unerlying connection -- fixed + Added man page for the zmq_device method - src/req.cpp | 6 ++---- - 1 files changed, 2 insertions(+), 4 deletions(-) + doc/zmq_device.txt | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 files changed, 92 insertions(+), 0 deletions(-) -commit 9129b792486b87d4f54607321427c2df783c9ec1 -Author: Martin Sustrik -Date: Sun Sep 26 13:30:33 2010 +0200 +commit af3f1fb864dfe842f76322e744e809dd1647b281 +Author: Pieter Hintjens +Date: Sun Mar 13 07:44:34 2011 +0100 - if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed + Updated man page for ZMQ_ROUTER, ZMQ_DEALER - src/app_thread.cpp | 8 +++++--- - 1 files changed, 5 insertions(+), 3 deletions(-) + doc/zmq_socket.txt | 38 ++++++++++++++++++++++---------------- + 1 files changed, 22 insertions(+), 16 deletions(-) -commit e2802d9a4b7e518c549e8dd95a34d2424058f086 -Author: Martin Sustrik -Date: Wed Sep 15 16:44:57 2010 +0200 +commit 42c672aa781c3230ce2240f205eb924074c25a1c +Author: Pieter Hintjens +Date: Sun Mar 13 06:54:57 2011 +0100 - values of RATE, RECOVERY_IVL and SWAP options are checked for negative values + Defined ZMQ_DEALER and ZMQ_ROUTER - src/options.cpp | 6 +++--- - 1 files changed, 3 insertions(+), 3 deletions(-) + NEWS | 9 +++++++-- + include/zmq.h | 6 ++++-- + 2 files changed, 11 insertions(+), 4 deletions(-) + +commit 6ff5b7f7abfa4830949631c131f752fdb5635ad2 +Author: Pieter Hintjens +Date: Sun Mar 13 06:54:36 2011 +0100 + + Restored multicast loop by default + + src/options.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 63b842610872d364a5103739dab4827f6bf91ce1 +Author: guidog +Date: Fri Mar 11 12:20:36 2011 +0100 + + Added missing close method w/ check if socket is already closed. + + Signed-off-by: guidog + + NEWS | 2 ++ + include/zmq.hpp | 14 ++++++++++++-- + 2 files changed, 14 insertions(+), 2 deletions(-) + +commit 79fe799e1b4f06249f9d6ff97f5ed34e93a6c007 +Author: Pieter Hintjens +Date: Fri Mar 11 11:45:04 2011 +0100 + + Updated NEWS + + NEWS | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +commit 1de4d5b5653ee7e78511006ea72266edee7cce89 +Author: Pieter Hintjens +Date: Fri Mar 11 11:44:51 2011 +0100 + + Fixed doc of ZMQ_LINGER socket option + + doc/zmq_setsockopt.txt | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +commit b62dd40f356037f8507e21e181690064afbe90ce +Author: Steven McCoy +Date: Fri Mar 11 17:49:31 2011 +0800 + + Use new PGM_ODATA_MAX_RTE controlling original data instead of PGM_TXW_MAX_RTE covering entire channel. + + Signed-off-by: Steven McCoy + + NEWS | 17 +++++++++++++---- + src/pgm_socket.cpp | 6 +++--- + 2 files changed, 16 insertions(+), 7 deletions(-) + +commit b66bf4d75d4974422f0a0313fdc38aa2b2dda58b +Author: Steven McCoy +Date: Fri Mar 11 17:48:33 2011 +0800 + + Bump default rate to 40mbps, disable multicast loop. + + Signed-off-by: Steven McCoy + + src/options.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 75cc68c04efad96e8dbfeedaea1595ad082fccfe +Author: Mikko Koppanen +Date: Thu Mar 10 19:57:35 2011 +0000 + + Delete old openpgm package + + NEWS | 11 +++++++++++ + foreign/openpgm/libpgm-5.0.92~dfsg.tar.gz | Bin 444700 -> 0 bytes + 2 files changed, 11 insertions(+), 0 deletions(-) + +commit 8e389b0a20079ea604f2876639781e593e3f56ad +Author: Mikko Koppanen +Date: Thu Mar 10 19:56:34 2011 +0000 + + Use OpenPGM autoconf + + Makefile.am | 6 +- + configure.in | 84 ++++++++----------------- + foreign/openpgm/libpgm-5.1.113~dfsg.tar.gz | Bin 0 -> 473717 bytes + src/Makefile.am | 97 +--------------------------- + 4 files changed, 31 insertions(+), 156 deletions(-) + +commit 946b81bf79d028445686e1d77260c5ed0eac4f15 +Author: Brett Cameron +Date: Tue Mar 8 14:39:52 2011 +0100 + + Different fixes to make OpenVMS port work. + + Signed-off-by: Martin Sustrik + + AUTHORS | 2 +- + NEWS | 2 ++ + src/ip.cpp | 16 ++++++++++------ + src/ip.hpp | 2 -- + src/semaphore.hpp | 2 ++ + src/stdint.hpp | 10 +--------- + 6 files changed, 16 insertions(+), 18 deletions(-) + +commit 1dc25322b7361c342d310246b10b99ed5022be84 +Author: Martin Sustrik +Date: Wed Mar 9 16:34:37 2011 +0100 + + Windows build fixed + + Compilation of ip.cpp have failed because EPROTONOSUPPORT + was undefined. Including zmq.h should help as the error + code is defined there. + + Signed-off-by: Martin Sustrik + + NEWS | 3 +++ + src/ip.cpp | 2 ++ + 2 files changed, 5 insertions(+), 0 deletions(-) + +commit 2ddb106601460e3fa5bec2de93f374b0e1af6a5f +Author: Steven McCoy +Date: Tue Mar 8 18:32:00 2011 +0800 + + Re-add PGM_TXW_MAX_RTE in order to have rate limiting. + + Signed-off-by: Steven McCoy + + NEWS | 10 ++++++++++ + src/pgm_socket.cpp | 5 ++++- + 2 files changed, 14 insertions(+), 1 deletions(-) + +commit 515945929dd92779176a20452a38b4d193fc2453 +Author: Pieter Hintjens +Date: Sun Mar 6 10:39:11 2011 +0100 + + Updated version number to 2.1.3 + + include/zmq.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 0b694448f9b32f7528eb93443c2a94b6bb4fd8ed +Author: Pieter Hintjens +Date: Sun Mar 6 10:38:32 2011 +0100 + + Updated NEWS for 2.1.2 + + NEWS | 22 ++++++++++++++++++---- + 1 files changed, 18 insertions(+), 4 deletions(-) + +commit 01923856da74d07877f5e773ea6d0397339f5a55 +Author: Martin Sustrik +Date: Thu Mar 3 12:37:11 2011 +0100 + + Bug caused by interaction of REQ/REP routing and HWM fixed. + + Signed-off-by: Martin Sustrik + + src/xrep.cpp | 16 +++++++++++++++- + 1 files changed, 15 insertions(+), 1 deletions(-) + +commit c31d090860c21a27e69035acc42360dc8e27da87 +Author: Martin Sustrik +Date: Thu Mar 3 12:15:08 2011 +0100 + + Documentation wrt thread-safety cleaned up. + + Signed-off-by: Martin Sustrik + + doc/zmq_init.txt | 5 +++++ + doc/zmq_socket.txt | 13 +++---------- + 2 files changed, 8 insertions(+), 10 deletions(-) + +commit 1096070ce2bb789abd9b210f0c2234e247259ce3 +Merge: b7a20bd 5856387 +Author: Pieter Hintjens +Date: Wed Mar 2 19:36:05 2011 +0100 + + Merge branch 'master' of github.com:zeromq/zeromq2-1 + +commit b7a20bd3716d045565fa1a5b2bfd8c973be7af0e +Author: Martin Sustrik +Date: Wed Mar 2 16:30:40 2011 +0100 + + The copyrights in file headers updated. + + Signed-off-by: Martin Sustrik + + autogen.sh | 8 +++++--- + builds/msvc/platform.hpp | 3 ++- + devices/zmq_forwarder/zmq_forwarder.cpp | 3 ++- + devices/zmq_queue/zmq_queue.cpp | 3 ++- + devices/zmq_streamer/zmq_streamer.cpp | 3 ++- + include/zmq.h | 1 + + include/zmq.hpp | 3 ++- + include/zmq_utils.h | 3 ++- + perf/local_lat.cpp | 3 ++- + perf/local_thr.cpp | 3 ++- + perf/remote_lat.cpp | 3 ++- + perf/remote_thr.cpp | 3 ++- + src/array.hpp | 3 ++- + src/atomic_counter.hpp | 3 ++- + src/atomic_ptr.hpp | 3 ++- + src/blob.hpp | 3 ++- + src/clock.cpp | 3 ++- + src/clock.hpp | 3 ++- + src/command.cpp | 3 ++- + src/command.hpp | 3 ++- + src/config.hpp | 3 ++- + src/connect_session.cpp | 3 ++- + src/connect_session.hpp | 3 ++- + src/ctx.cpp | 3 ++- + src/ctx.hpp | 3 ++- + src/decoder.cpp | 3 ++- + src/decoder.hpp | 3 ++- + src/device.cpp | 3 ++- + src/device.hpp | 3 ++- + src/devpoll.cpp | 3 ++- + src/devpoll.hpp | 3 ++- + src/dist.cpp | 3 ++- + src/dist.hpp | 3 ++- + src/encoder.cpp | 3 ++- + src/encoder.hpp | 3 ++- + src/epoll.cpp | 3 ++- + src/epoll.hpp | 3 ++- + src/err.cpp | 3 ++- + src/err.hpp | 3 ++- + src/fd.hpp | 3 ++- + src/fq.cpp | 3 ++- + src/fq.hpp | 3 ++- + src/i_engine.hpp | 3 ++- + src/i_inout.hpp | 3 ++- + src/i_poll_events.hpp | 3 ++- + src/io_object.cpp | 3 ++- + src/io_object.hpp | 3 ++- + src/io_thread.cpp | 3 ++- + src/io_thread.hpp | 3 ++- + src/ip.cpp | 3 ++- + src/ip.hpp | 3 ++- + src/kqueue.cpp | 3 ++- + src/kqueue.hpp | 3 ++- + src/lb.cpp | 3 ++- + src/lb.hpp | 3 ++- + src/likely.hpp | 3 ++- + src/mailbox.cpp | 3 ++- + src/mailbox.hpp | 3 ++- + src/msg_content.hpp | 3 ++- + src/mutex.hpp | 3 ++- + src/named_session.cpp | 3 ++- + src/named_session.hpp | 3 ++- + src/object.cpp | 3 ++- + src/object.hpp | 3 ++- + src/options.cpp | 3 ++- + src/options.hpp | 3 ++- + src/own.cpp | 3 ++- + src/own.hpp | 3 ++- + src/pair.cpp | 3 ++- + src/pair.hpp | 3 ++- + src/pgm_receiver.cpp | 3 ++- + src/pgm_receiver.hpp | 3 ++- + src/pgm_sender.cpp | 3 ++- + src/pgm_sender.hpp | 3 ++- + src/pgm_socket.cpp | 3 ++- + src/pgm_socket.hpp | 3 ++- + src/pipe.cpp | 3 ++- + src/pipe.hpp | 3 ++- + src/poll.cpp | 3 ++- + src/poll.hpp | 3 ++- + src/poller.hpp | 3 ++- + src/poller_base.cpp | 3 ++- + src/poller_base.hpp | 3 ++- + src/pub.cpp | 3 ++- + src/pub.hpp | 3 ++- + src/pull.cpp | 3 ++- + src/pull.hpp | 3 ++- + src/push.cpp | 3 ++- + src/push.hpp | 3 ++- + src/reaper.cpp | 3 ++- + src/reaper.hpp | 3 ++- + src/rep.cpp | 3 ++- + src/rep.hpp | 3 ++- + src/req.cpp | 3 ++- + src/req.hpp | 3 ++- + src/select.cpp | 3 ++- + src/select.hpp | 3 ++- + src/semaphore.hpp | 3 ++- + src/session.cpp | 3 ++- + src/session.hpp | 3 ++- + src/socket_base.cpp | 3 ++- + src/socket_base.hpp | 3 ++- + src/stdint.hpp | 3 ++- + src/sub.cpp | 3 ++- + src/sub.hpp | 3 ++- + src/swap.cpp | 3 ++- + src/swap.hpp | 3 ++- + src/tcp_connecter.cpp | 3 ++- + src/tcp_connecter.hpp | 3 ++- + src/tcp_listener.cpp | 3 ++- + src/tcp_listener.hpp | 3 ++- + src/tcp_socket.cpp | 3 ++- + src/tcp_socket.hpp | 3 ++- + src/thread.cpp | 3 ++- + src/thread.hpp | 3 ++- + src/transient_session.cpp | 3 ++- + src/transient_session.hpp | 3 ++- + src/trie.cpp | 3 ++- + src/trie.hpp | 3 ++- + src/uuid.cpp | 3 ++- + src/uuid.hpp | 3 ++- + src/windows.hpp | 3 ++- + src/wire.hpp | 3 ++- + src/xpub.cpp | 3 ++- + src/xpub.hpp | 3 ++- + src/xrep.cpp | 3 ++- + src/xrep.hpp | 3 ++- + src/xreq.cpp | 3 ++- + src/xreq.hpp | 4 +++- + src/xsub.cpp | 3 ++- + src/xsub.hpp | 3 ++- + src/ypipe.hpp | 3 ++- + src/yqueue.hpp | 3 ++- + src/zmq.cpp | 3 ++- + src/zmq_connecter.cpp | 3 ++- + src/zmq_connecter.hpp | 3 ++- + src/zmq_engine.cpp | 3 ++- + src/zmq_engine.hpp | 3 ++- + src/zmq_init.cpp | 3 ++- + src/zmq_init.hpp | 3 ++- + src/zmq_listener.cpp | 3 ++- + src/zmq_listener.hpp | 3 ++- + tests/test_hwm.cpp | 3 ++- + tests/test_pair_inproc.cpp | 3 ++- + tests/test_pair_ipc.cpp | 3 ++- + tests/test_pair_tcp.cpp | 3 ++- + tests/test_reqrep_inproc.cpp | 3 ++- + tests/test_reqrep_ipc.cpp | 3 ++- + tests/test_reqrep_tcp.cpp | 3 ++- + tests/test_shutdown_stress.cpp | 3 ++- + tests/testutil.hpp | 3 ++- + 151 files changed, 305 insertions(+), 152 deletions(-) + +commit 58563871a84907cbde5f31f215e94d7bd2ad8908 +Author: Martin Sustrik +Date: Tue Mar 1 16:08:40 2011 +0100 + + Explicit identities bug in inproc transport fixed. + + The identity of bound socket was not used. Instead, transient + identity was generated. + + Signed-off-by: Martin Sustrik + + src/socket_base.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 0629aaf0ef46cdb6a57ddc7b91b647d9d57519c3 +Author: Martin Sustrik +Date: Sat Feb 26 08:42:20 2011 +0100 + + Memory leak in PUB/XPUB sockets fixed. + + Signed-off-by: Martin Sustrik + + src/xpub.cpp | 14 ++++++-------- + src/xpub.hpp | 4 ---- + src/xsub.cpp | 7 ++----- + src/xsub.hpp | 4 ---- + 4 files changed, 8 insertions(+), 21 deletions(-) + +commit ded079782173389357e6fa1023833d15d0cf4240 +Author: Martin Sustrik +Date: Fri Feb 25 08:58:01 2011 +0100 + + Socket with no owner objects is deallocated immediately + + Till now the deallocation of such socket was delayed + till zmq_term() thus creating a "leak". + + Signed-off-by: Martin Sustrik + + src/reaper.cpp | 7 ++++--- + src/socket_base.cpp | 24 ++++++++++++++---------- + src/socket_base.hpp | 4 ++++ + 3 files changed, 22 insertions(+), 13 deletions(-) + +commit 929d26d9d75148a0dfb0463a53ce71ea781e5b7d +Author: Pieter Hintjens +Date: Thu Feb 24 17:23:51 2011 +0100 + + Bumped version to 2.1.2 + + include/zmq.h | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit b233204dc3dc6eacc51d45d75926743b72d2616b +Author: Martin Sustrik +Date: Thu Feb 24 16:57:53 2011 +0100 + + Minor patch to zmq_getsockopt(3) man page + + Signed-off-by: Martin Sustrik + + doc/zmq_getsockopt.txt | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit f4c1040ddcb579ca53fb34ef0ef83b130424070d +Author: Martin Sustrik +Date: Wed Feb 23 11:48:49 2011 +0100 + + Incorrect PGM sender/receiver creation fixed + + Signed-off-by: Martin Sustrik + + src/connect_session.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit f7ce56b801fcec2c0bea28ffe4edba26f319edaa +Author: Pieter Hintjens +Date: Wed Feb 23 10:51:07 2011 +0100 + + Updated release notes for version 2.1.1 + + NEWS | 581 +++++------------------------------------------------------------- + 1 files changed, 42 insertions(+), 539 deletions(-) + +commit 43e8868875e1d5287979e5b9060a9b16be45cc79 +Author: Martin Sustrik +Date: Tue Feb 22 16:23:36 2011 +0100 + + Added explicit error message in case of memory exhaustion + + Signed-off-by: Martin Sustrik + + src/connect_session.cpp | 6 +++--- + src/ctx.cpp | 6 +++--- + src/decoder.hpp | 2 +- + src/encoder.hpp | 2 +- + src/epoll.cpp | 2 +- + src/err.hpp | 20 +++++++++++++------- + src/io_thread.cpp | 2 +- + src/ip.cpp | 2 +- + src/kqueue.cpp | 2 +- + src/object.cpp | 4 ++-- + src/pgm_receiver.cpp | 1 + + src/pgm_sender.cpp | 2 +- + src/pgm_socket.cpp | 3 ++- + src/pipe.cpp | 8 ++++---- + src/reaper.cpp | 2 +- + src/session.cpp | 2 -- + src/socket_base.cpp | 6 +++--- + src/swap.cpp | 13 ++++++++----- + src/trie.cpp | 6 +++--- + src/yqueue.hpp | 4 ++-- + src/zmq.cpp | 8 ++++---- + src/zmq_connecter.cpp | 2 +- + src/zmq_init.cpp | 6 +++--- + src/zmq_listener.cpp | 2 +- + 24 files changed, 61 insertions(+), 52 deletions(-) + +commit 98ccff1a24a056aef15372b131eee1c1bf8f62ca +Author: Mikko Koppanen +Date: Mon Feb 21 23:40:48 2011 +0100 + + Fixes build on at least CentOS 5 + + Signed-off-by: Mikko Koppanen + + builds/redhat/zeromq.spec | 19 +++++++++++++------ + 1 files changed, 13 insertions(+), 6 deletions(-) + +commit 0eea93526d210372c23041d50f4b401a94e3a006 +Author: Martin Sustrik +Date: Mon Feb 21 17:49:12 2011 +0100 + + Fix for memory leak caused by long identities + + Signed-off-by: Martin Sustrik + + src/zmq_init.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit 5c0931121ba1854766599b6b7dbd1a7937febd6d +Author: Martin Sustrik +Date: Mon Feb 21 11:22:54 2011 +0100 + + Computation of buffer size for PGM fixed. + + Signed-off-by: Martin Sustrik + + src/pgm_socket.cpp | 41 +++++++++++++++++++++++++++++------------ + src/pgm_socket.hpp | 3 +++ + 2 files changed, 32 insertions(+), 12 deletions(-) + +commit 12486fecc4f8d9a3bed37cf3d732b1250b075e24 +Author: Martin Sustrik +Date: Fri Feb 18 17:57:59 2011 +0100 + + Fix MSVC and SunStudio builds with OpenPGM + + Signed-off-by: Martin Sustrik + + src/pgm_socket.hpp | 5 +++++ + src/zmq.cpp | 6 ++++++ + 2 files changed, 11 insertions(+), 0 deletions(-) + +commit 17e2ca71b4f6db76a4848d366defa36f1b19bdd7 +Author: Martin Sustrik +Date: Fri Feb 18 14:15:10 2011 +0100 + + Logging of duplicit identities added + + Signed-off-by: Martin Sustrik + + src/ctx.cpp | 12 ++++++++++-- + src/ctx.hpp | 3 ++- + src/object.cpp | 8 ++++++-- + src/object.hpp | 2 +- + src/session.cpp | 1 + + 5 files changed, 20 insertions(+), 6 deletions(-) + +commit 1f536b2d3820ba5435086a77ad34d86a432b94c7 +Author: Martin Sustrik +Date: Thu Feb 17 14:20:19 2011 +0100 + + Init object is child of listener + + This means that all the handshaking while accepting incoming + connection is done exclusively in I/O threads, thus it won't + overload the application thread's mailbox. + + Signed-off-by: Martin Sustrik + + src/zmq_listener.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 28f3e87fc6c8c5c7046234bf9a08ae62f26d7f3a +Author: Martin Sustrik +Date: Thu Feb 17 10:33:38 2011 +0100 + + Add delay before reconnecting + + So far ZMQ_RECONNECT_IVL delay was used only when TCP connect + failed. Now it is used even if connect succeeds and the peer + closes the connection afterwards. + + Signed-off-by: Martin Sustrik + + src/config.hpp | 3 --- + src/connect_session.cpp | 9 +++++---- + src/connect_session.hpp | 2 +- + src/zmq_connecter.cpp | 4 ++-- + src/zmq_connecter.hpp | 2 +- + 5 files changed, 9 insertions(+), 11 deletions(-) + +commit fbe5d859f461b0deaa6083fdee077e01e9b47b91 +Author: Michael Compton +Date: Tue Feb 15 09:33:19 2011 +0100 + + Added note regarding setting sockopt before bind/connect + + Signed-off-by: Michael Compton + + AUTHORS | 1 + + doc/zmq_setsockopt.txt | 1 + + 2 files changed, 2 insertions(+), 0 deletions(-) + +commit ba26cc9938c33fe0837322ea34bcd438f9b7d207 +Author: Martin Sustrik +Date: Sun Feb 13 10:07:10 2011 +0100 + + Build problem with OpenPGM and MSVC fixed + + Signed-off-by: Martin Sustrik + + src/zmq.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 14a0e147b2b89fc7fed92c7d9c806b6c53380400 +Author: Pieter Hintjens +Date: Sat Feb 12 18:36:21 2011 +0100 + + Fixed win32 issue with WSAStartup + + - ctx constructor was calling mailbox_t constructor implicitly + - moved WSAStartup and WSACleanup to be outside constructor/destructor + + Signed-off-by: Pieter Hintjens + + src/ctx.cpp | 17 ----------------- + src/zmq.cpp | 19 +++++++++++++++++++ + 2 files changed, 19 insertions(+), 17 deletions(-) + +commit e94790006ea6f4c64cc1df1c193aa1cf89a75100 +Author: Martin Sustrik +Date: Wed Feb 9 22:33:57 2011 +0100 + + reaper added to MSVC build + + Signed-off-by: Martin Sustrik + + builds/msvc/libzmq/libzmq.vcproj | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +commit 5b82b1ba30d136655c72f116ee2e372ded453952 +Author: Martin Sustrik +Date: Wed Feb 9 22:23:21 2011 +0100 + + Reaper thread waits for commands rather them retrieving them periodically + + Signed-off-by: Martin Sustrik + + src/command.hpp | 5 ++++ + src/object.cpp | 20 ++++++++++++++++ + src/object.hpp | 2 + + src/reaper.cpp | 64 +++++++++++++++++--------------------------------- + src/reaper.hpp | 13 +++------- + src/socket_base.cpp | 53 ++++++++++++++++++++++++++++------------- + src/socket_base.hpp | 21 +++++++++++++--- + 7 files changed, 106 insertions(+), 72 deletions(-) + +commit 80ac398bba928fa7f245d2e107071677a13185cf +Author: Martin Sustrik +Date: Wed Feb 9 15:32:15 2011 +0100 + + Initial implementation of reaper thread. + + Reaper thread destroys the socket asynchronously. + zmq_term() can be interrupted by a signal (EINTR). + zmq_socket() will return ETERM after zmq_term() was called. + + Signed-off-by: Martin Sustrik + + doc/zmq_socket.txt | 3 +- + doc/zmq_term.txt | 2 + + src/Makefile.am | 2 + + src/command.hpp | 15 +++++- + src/ctx.cpp | 158 +++++++++++++++++++++++--------------------------- + src/ctx.hpp | 43 +++++++------- + src/io_thread.cpp | 2 +- + src/io_thread.hpp | 3 + + src/object.cpp | 42 ++++++++++++-- + src/object.hpp | 8 +- + src/reaper.cpp | 139 ++++++++++++++++++++++++++++++++++++++++++++ + src/reaper.hpp | 81 ++++++++++++++++++++++++++ + src/socket_base.cpp | 18 +++--- + src/socket_base.hpp | 8 ++- + 14 files changed, 394 insertions(+), 130 deletions(-) + +commit 889424e675eecd9d9c7d1121456401d5c43029a5 +Author: Martin Sustrik +Date: Tue Feb 8 16:19:37 2011 +0100 + + max_sockets honoured precisely + + The internal log socket was subtracted from the number of + available sockets. So, if max_sockets was set to 100, + you could create only 99 sockets. Fixed. + + Signed-off-by: Martin Sustrik + + src/ctx.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 5dcbc34396bb4d256916fafcbb2ddd646ad179e6 +Author: Martin Sustrik +Date: Tue Feb 8 14:46:27 2011 +0100 + + zmq_poll with no fds behaves decently + + Signed-off-by: Martin Sustrik + + src/zmq.cpp | 30 ++++++++++++++++++++++++++++++ + 1 files changed, 30 insertions(+), 0 deletions(-) + +commit 908b39bf8309044913a34c632cd432958dcf6960 +Author: Mikko Koppanen +Date: Mon Feb 7 15:06:20 2011 +0100 + + m4_esyscmd_s doesnt seem to be portable across different systems + + Signed-off-by: Mikko Koppanen + + configure.in | 2 +- + version.sh | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit c8e5be87d82e73cfc8a6655d2c2b6779f7c223a5 +Author: Martin Sustrik +Date: Sat Feb 5 15:04:15 2011 +0100 + + test-hwm added to .gitignore + + Signed-off-by: Martin Sustrik + + .gitignore | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 4efead1bbb8f3d2b84ad8e1fc88b65bc621f987f +Author: Chris Rempel +Date: Sat Feb 5 14:42:21 2011 +0100 + + Fixed autogen.sh warnings on Debian 6 systems. + + Signed-off-by: Chris Rempel + + Please enter the commit message for your changes. Lines starting + + AUTHORS | 1 + + configure.in | 2 +- + 2 files changed, 2 insertions(+), 1 deletions(-) + +commit 042e34a5d99a9d39b0680d063878f13f5d7e7337 +Author: Thijs Terlouw +Date: Fri Feb 4 16:44:13 2011 +0100 + + operator void* () added to context_t. + + Makes it possible to share the context from C++ to C. + + Signed-off-by: Thijs Terlouw + + include/zmq.hpp | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +commit 3f758ab2f45a07e3e77af4f1b32dc876f5a151ad +Author: Martin Sustrik +Date: Thu Feb 3 09:59:54 2011 +0100 + + Don't use RLIMIT_NOFILES in devpoll_t. + + The patch allows for running 0MQ on Solaris and HP-UX + even though ulimit for max number of file descriptors + is set to unlimited. + + Signed-off-by: Martin Sustrik + + src/devpoll.cpp | 20 ++++++++++---------- + src/devpoll.hpp | 3 ++- + 2 files changed, 12 insertions(+), 11 deletions(-) + +commit ca1acc340c256a35f0db58805bba7cb337d9a5a3 +Author: Martin Sustrik +Date: Thu Feb 3 08:46:04 2011 +0100 + + RLIMIT_NOFILE not used in poll_t anymore + + The problem was that RLIMIT_NOFILE can be set to RLIM_INIFINITY + (and that appears to be default on AIX) which caused 0MQ to fail. + + Signed-off-by: Martin Sustrik + + src/poll.cpp | 20 ++++++++++---------- + src/poll.hpp | 3 ++- + 2 files changed, 12 insertions(+), 11 deletions(-) + +commit 1e0302633ea10766d21b2a70d62e6f16440c18d4 +Author: Mikko Koppanen +Date: Sun Jan 30 12:43:17 2011 +0100 + + Added WithOpenPGM configuration into MSVC builds + + Signed-off-by: Mikko Koppanen + + builds/msvc/libzmq/libzmq.vcproj | 77 ++++++++++++++++++++++++++++++++++++++ + builds/msvc/msvc.sln | 17 ++++++++ + 2 files changed, 94 insertions(+), 0 deletions(-) + +commit 72d320366f2a1076ced81f4e871c7affbb9ffb9d +Author: Mikko Koppanen +Date: Sun Jan 30 11:51:30 2011 +0100 + + Added test for HWM + + Signed-off-by: Mikko Koppanen + + tests/Makefile.am | 5 +++- + tests/test_hwm.cpp | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 71 insertions(+), 1 deletions(-) + +commit 1b15eba9a9718adfeea5cecf499b8247596f6c71 +Author: Martin Sustrik +Date: Fri Jan 28 07:50:21 2011 +0100 + + Fixed the problem of subscription forwarding and PGM interaction + + Signed-off-by: Martin Sustrik + + src/socket_base.cpp | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +commit f7f1dfc86dd649edbd789a5d157d74721338c912 +Author: Thijs Terlouw +Date: Wed Jan 26 07:01:06 2011 +0100 + + ZMQ_RECONNECT_IVL_MAX socket option added + + It allows for exponential back-off strategy when reconnecting. + + Signed-off-by: Thijs Terlouw + + AUTHORS | 1 + + doc/zmq_getsockopt.txt | 23 ++++++++++++++++++- + doc/zmq_setsockopt.txt | 24 ++++++++++++++++++-- + include/zmq.h | 3 +- + src/options.cpp | 22 +++++++++++++++++++ + src/options.hpp | 6 ++++- + src/zmq_connecter.cpp | 55 +++++++++++++++++++++++++++++++++-------------- + src/zmq_connecter.hpp | 12 ++++++++- + 8 files changed, 120 insertions(+), 26 deletions(-) + +commit 8e61a11b398c95d829f24c388737eb122405c97b +Author: Mikko Koppanen +Date: Thu Jan 20 22:13:01 2011 +0100 + + Do not execute ipc tests under MinGW + + Signed-off-by: Mikko Koppanen + + tests/Makefile.am | 10 +++++----- + 1 files changed, 5 insertions(+), 5 deletions(-) + +commit 8561a55d2ca3f99ef7d122cf621b2379924152a5 +Author: Mikko Koppanen +Date: Thu Jan 20 22:12:25 2011 +0100 + + Remove unnecessary visibility pragmas + + Signed-off-by: Mikko Koppanen + + src/zmq.cpp | 9 --------- + 1 files changed, 0 insertions(+), 9 deletions(-) + +commit c91bf25645b27fb903886093b27fa153c60be2fd +Author: Dhammika Pathirana +Date: Thu Jan 20 07:52:40 2011 +0100 + + Fix handle connection reset during session init + + Patch to handle nmap version probes. + + Signed-off-by: Dhammika Pathirana + + src/decoder.hpp | 4 ++++ + src/zmq_engine.cpp | 2 +- + 2 files changed, 5 insertions(+), 1 deletions(-) + +commit 56bdba592cf336b2bd4241a2b8e331cd38a089e4 +Author: Martin Sustrik +Date: Tue Jan 18 15:57:45 2011 +0100 + + Fix cppcheck warnings: Prefer prefix ++/-- operators for non-primitive types. + + Signed-off-by: Martin Sustrik + + src/ctx.cpp | 6 +++--- + src/epoll.cpp | 4 ++-- + src/kqueue.cpp | 2 +- + src/own.cpp | 2 +- + src/pgm_receiver.cpp | 2 +- + src/poller_base.cpp | 2 +- + src/select.cpp | 4 ++-- + src/xrep.cpp | 8 ++++---- + 8 files changed, 15 insertions(+), 15 deletions(-) + +commit b262f2fe9ba02a6d2749e286eaadc65d489600c9 +Author: Martin Sustrik +Date: Mon Jan 17 14:51:01 2011 +0100 + + Typo fixed in zmq_send(3) man page. + + Signed-off-by: Martin Sustrik + + doc/zmq_send.txt | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 667b247e322e2f0e99b680170a1d004f124b0568 +Author: Steven McCoy +Date: Mon Jan 17 14:45:24 2011 +0100 + + Cancel pending timers when decoder for PGM stalls + + Otherwise the timer event can raise an input event + causing assertion on unprocessed data. + + Signed-off-by: Steven McCoy + + src/pgm_receiver.cpp | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +commit a249d152003d7a7ebf048c2a9a0307abc1adb704 +Author: Martin Sustrik +Date: Sat Jan 15 20:16:00 2011 +0100 + + Fix MSVC build + + Signed-off-by: Martin Sustrik + + builds/msvc/libzmq/libzmq.vcproj | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +commit 59fa0c9b46a7f8291c68564ad71ef97dd0bae69e +Author: Martin Sustrik +Date: Fri Jan 14 12:41:12 2011 +0100 + + Gerard Toonstra added to the authors file + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit a348d94c09ab93a19a57ec22a86782e45f1d06ac +Author: Martin Sustrik +Date: Fri Jan 14 12:38:07 2011 +0100 + + Fair queueing of subscriptions added to XPUB socket + + Signed-off-by: Martin Sustrik + + src/xpub.cpp | 19 ++++++++++++++++--- + src/xpub.hpp | 6 ++++++ + 2 files changed, 22 insertions(+), 3 deletions(-) + +commit 58c9830d90fc39727cec88e48f8985a499aa0ee7 +Author: Martin Sustrik +Date: Fri Jan 14 12:25:54 2011 +0100 + + XSUB socket has a subscription distributor + + Signed-off-by: Martin Sustrik + + src/xsub.cpp | 7 +++++-- + src/xsub.hpp | 4 ++++ + 2 files changed, 9 insertions(+), 2 deletions(-) + +commit 8eae7d8507b1c96aec28bca20a157bb7537c3eb8 +Author: Martin Sustrik +Date: Fri Jan 14 12:05:10 2011 +0100 + + 'message distribution mechanism' separated from XPUB socket + + Signed-off-by: Martin Sustrik + + src/Makefile.am | 2 + + src/dist.cpp | 161 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ + src/dist.hpp | 76 ++++++++++++++++++++++++++ + src/xpub.cpp | 119 ++-------------------------------------- + src/xpub.hpp | 23 ++------- + 5 files changed, 249 insertions(+), 132 deletions(-) + +commit 18f29ded6a83875c27395d254c25e3d152ae1cc6 +Author: Martin Sustrik +Date: Thu Jan 13 11:44:23 2011 +0100 + + Make cppcheck not complain about "'operator=' should return something" + + Signed-off-by: Martin Sustrik + + src/array.hpp | 4 ++-- + src/atomic_counter.hpp | 2 +- + src/atomic_ptr.hpp | 2 +- + src/clock.hpp | 2 +- + src/connect_session.hpp | 2 +- + src/ctx.hpp | 2 +- + src/decoder.hpp | 2 +- + src/devpoll.hpp | 2 +- + src/encoder.hpp | 2 +- + src/epoll.hpp | 2 +- + src/fq.hpp | 2 +- + src/io_object.hpp | 2 +- + src/kqueue.hpp | 2 +- + src/lb.hpp | 2 +- + src/mailbox.hpp | 2 +- + src/mutex.hpp | 2 +- + src/named_session.hpp | 2 +- + src/object.hpp | 2 +- + src/own.hpp | 2 +- + src/pair.hpp | 2 +- + src/pgm_receiver.hpp | 2 +- + src/pgm_sender.hpp | 2 +- + src/pipe.hpp | 4 ++-- + src/poll.hpp | 2 +- + src/poller_base.hpp | 2 +- + src/pub.hpp | 2 +- + src/pull.hpp | 2 +- + src/push.hpp | 2 +- + src/rep.hpp | 2 +- + src/req.hpp | 2 +- + src/select.hpp | 2 +- + src/semaphore.hpp | 6 +++--- + src/session.hpp | 2 +- + src/socket_base.hpp | 2 +- + src/sub.hpp | 2 +- + src/swap.hpp | 4 ++++ + src/tcp_connecter.hpp | 2 +- + src/tcp_listener.hpp | 2 +- + src/tcp_socket.hpp | 2 +- + src/thread.hpp | 2 +- + src/transient_session.hpp | 2 +- + src/trie.hpp | 2 +- + src/xpub.hpp | 2 +- + src/xrep.hpp | 2 +- + src/xreq.hpp | 2 +- + src/xsub.hpp | 2 +- + src/ypipe.hpp | 2 +- + src/yqueue.hpp | 2 +- + src/zmq_connecter.hpp | 2 +- + src/zmq_engine.hpp | 2 +- + src/zmq_init.hpp | 2 +- + src/zmq_listener.hpp | 2 +- + 52 files changed, 59 insertions(+), 55 deletions(-) + +commit 70513871082462c957e46986040ebe7b10d64557 +Author: Neale Ferguson +Date: Wed Jan 12 09:22:25 2011 +0100 + + Support dynamic generation of C preprocessor definitions for PGM rather than hardcoding them. + + Signed-off-by: Neale Ferguson + + AUTHORS | 1 + + configure.in | 59 +++++++++++++++++++++++++++++++++++++++++++++++++----- + src/Makefile.am | 14 +------------ + src/clock.cpp | 5 ++++ + 4 files changed, 60 insertions(+), 19 deletions(-) + +commit 725ebce13ca7871002063c4a254bf532d35ee878 +Author: Martin Sustrik +Date: Tue Jan 11 21:12:51 2011 +0100 + + Version bumped to 2.1.1 + + Signed-off-by: Martin Sustrik + + include/zmq.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit bd0ba6e89a709cc8afbd5a7c3c4f9f533c428249 +Author: Martin Sustrik +Date: Mon Jan 10 13:53:30 2011 +0100 + + Size of inproc hwm and swap is sum of peers' hwms and swaps + + The meat of the patch was contributed by Douglas Creager. + Martin Sustrik implemented storing peer options in inproc + endpoint repository. + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + src/ctx.cpp | 18 +++++++++--------- + src/ctx.hpp | 15 ++++++++++++--- + src/object.cpp | 6 +++--- + src/object.hpp | 4 ++-- + src/socket_base.cpp | 34 +++++++++++++++++++++++++--------- + 6 files changed, 52 insertions(+), 26 deletions(-) + +commit babdf48aacc585d57457da8dec1fb6ce262bf719 +Author: Dhammika Pathirana +Date: Fri Jan 7 13:28:35 2011 +0100 + + Fix pipe writer termination + + Signed-off-by: Dhammika Pathirana + + src/pipe.cpp | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +commit 8e0049e2fb60d31c07786fffe39fdc9c63369dfa +Author: Martin Sustrik +Date: Fri Jan 7 12:59:48 2011 +0100 + + Disable sending messages on SUB socket + + The ability was inherited from XSUB socket. + Now it's properly disabled. + + Signed-off-by: Martin Sustrik + + src/sub.cpp | 15 ++++++++++++++- + src/sub.hpp | 2 ++ + 2 files changed, 16 insertions(+), 1 deletions(-) + +commit 08cd2ce05da74143b6154f7d665756870077c38d +Author: Min Ragan-Kelley +Date: Thu Jan 6 08:42:57 2011 +0100 + + resolve "function declaration isn't a prototype" + + change two declarations in headers to form f(void); instead of f(); + which eliminates the warnings when compiling against zeromq + + Signed-off-by: MinRK + + AUTHORS | 1 + + include/zmq.h | 2 +- + include/zmq_utils.h | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +commit 472bdcd6b4995d2ab92e97aafa898f083ce1f3ba +Author: Martin Sustrik +Date: Wed Jan 5 16:57:51 2011 +0100 + + Return ETERM from getsockopt(ZMQ_EVETS) if zmq_term() was called + + Signed-off-by: Martin Sustrik + + src/socket_base.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 95eebbfffaf512d81721697026dbb5434c12c27d +Author: Martin Sustrik +Date: Mon Jan 3 20:50:24 2011 +0100 + + sunos/gcc3 compilation issue fixed + + Signed-off-by: Martin Sustrik + + src/sub.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 51d2d9b9f82526a9b471dda272c1d54b3d1b1152 +Author: Martin Sustrik +Date: Mon Dec 20 13:06:36 2010 +0100 + + Yet one more fix for oversized messages. + + Signed-off-by: Martin Sustrik + + src/decoder.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit 112d0cd52ec959a6bb4cf02ab03977bc22478246 +Author: Martin Sustrik +Date: Mon Dec 20 11:47:41 2010 +0100 + + Fix the segfault when over-sized message is rejected. + + The in_progress message inside of decoder was left + uninitialised in such a case. + + Signed-off-by: Martin Sustrik + + src/decoder.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit cbbb1e925d699c8b42b2724740d68839c81684c3 +Author: Mikko Koppanen +Date: Sat Dec 18 12:13:10 2010 +0100 + + Fix passing through CFLAGS/CPPFLAGS/CXXFLAGS when using --enable-debug + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 12 ++++++------ + configure.in | 5 +++++ + 2 files changed, 11 insertions(+), 6 deletions(-) + +commit d15e881ea02232c3e875699b3c25f43ad2fd093c +Author: Martin Sustrik +Date: Fri Dec 17 16:30:42 2010 +0100 + + unplugged engine tries to manipulate the pollset -- fixed + + Signed-off-by: Martin Sustrik + + src/zmq_engine.cpp | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +commit b19ee99bb1a2b19a6bf78c7fa2159a85aa608a10 +Author: Dhammika Pathirana +Date: Fri Dec 17 15:30:56 2010 +0100 + + fix race condition in session init + + Signed-off-by: Dhammika Pathirana + + src/zmq_engine.cpp | 22 +++++++++++++++++++--- + src/zmq_engine.hpp | 3 +++ + src/zmq_init.cpp | 44 +++++++++++++++++++++++++++----------------- + src/zmq_init.hpp | 4 ++++ + 4 files changed, 53 insertions(+), 20 deletions(-) + +commit 27e83cc5258e191a7d5977e202046447df7896b9 +Author: Mikko Koppanen +Date: Wed Dec 15 20:10:27 2010 +0100 + + Fixes assertion on pipe.cpp:237 when swap fills up. + + Fixes swap::full () functionality + + Signed-off-by: Mikko Koppanen + + src/lb.cpp | 9 ++++++++- + src/pair.cpp | 5 ++++- + src/pipe.cpp | 8 ++++---- + src/pipe.hpp | 6 +++--- + src/swap.cpp | 15 ++++++++++++++- + src/swap.hpp | 8 ++++++-- + 6 files changed, 39 insertions(+), 12 deletions(-) + +commit a46980babe076d34347629a54e9635466e6e2a9f +Author: Mikko Koppanen +Date: Wed Dec 15 14:41:18 2010 +0100 + + Remove assertions from devices + + Signed-off-by: Mikko Koppanen + + devices/zmq_forwarder/zmq_forwarder.cpp | 6 ++++- + devices/zmq_queue/zmq_queue.cpp | 6 ++++- + devices/zmq_streamer/zmq_streamer.cpp | 6 ++++- + src/device.cpp | 33 ++++++++++-------------------- + 4 files changed, 26 insertions(+), 25 deletions(-) + +commit f749f2d21c1b47e6dcd626633acff764a4484b99 +Author: Dhammika Pathirana +Date: Mon Dec 13 15:40:26 2010 +0100 + + add basic uri validations + + Signed-off-by: Dhammika Pathirana + + src/socket_base.cpp | 50 ++++++++++++++++++++++++++++---------------------- + src/socket_base.hpp | 4 ++++ + 2 files changed, 32 insertions(+), 22 deletions(-) + +commit 22b2b9a2b6e1dd18d58ef51f453d2b4777e71be4 +Author: Dhammika Pathirana +Date: Mon Dec 13 14:18:47 2010 +0100 + + fix overwriting errno on bind failure + + Signed-off-by: Dhammika Pathirana + + src/tcp_listener.cpp | 7 +++++-- + src/tcp_listener.hpp | 3 +++ + 2 files changed, 8 insertions(+), 2 deletions(-) + +commit a9d969a73e303db2f6ddf436740d0bbef7e63dba +Author: Martin Sustrik +Date: Thu Dec 9 21:44:15 2010 +0100 + + Bob Beaty added to the AUTHORS file + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit fcfad5682ed7a7f5108853d2a7039aedfd9a9ac2 +Author: Bob Beaty +Date: Thu Dec 9 21:42:58 2010 +0100 + + Added Recovery Interval in Milliseconds + + For very high-speed message systems, the memory used for recovery can get to + be very large. The corrent limitation on that reduction is the ZMQ_RECOVERY_IVL + of 1 sec. I added in an additional option ZMQ_RECOVERY_IVL_MSEC, which is the + Recovery Interval in milliseconds. If used, this will override the previous + one, and allow you to set a sub-second recovery interval. If not set, the + default behavior is to use ZMQ_RECOVERY_IVL. + + Signed-off-by: Bob Beaty + + doc/zmq_getsockopt.txt | 20 ++++++++++++++++++++ + doc/zmq_setsockopt.txt | 24 ++++++++++++++++++++++++ + include/zmq.h | 1 + + src/options.cpp | 18 ++++++++++++++++++ + src/options.hpp | 2 ++ + src/pgm_socket.cpp | 32 ++++++++++++++++++-------------- + 6 files changed, 83 insertions(+), 14 deletions(-) + +commit 1d81d2f1d4549c2cd0999c9544b059c29706f260 +Author: Mikko Koppanen +Date: Tue Dec 7 11:15:51 2010 +0100 + + tar doesn't accept -C flag on solaris while extracting + + Signed-off-by: Mikko Koppanen + + configure.in | 8 ++++++-- + 1 files changed, 6 insertions(+), 2 deletions(-) + +commit a3353150f845cf0f6e8f2355d3aad760bfba4b64 +Author: Mikko Koppanen +Date: Tue Dec 7 11:15:18 2010 +0100 + + Fix werror flag store/restore + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit aed2eeafdc2fce93738368749b61b36f98ea6cd6 +Author: Mikko Koppanen +Date: Tue Dec 7 11:14:46 2010 +0100 + + Fix visibility on rhel4 + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- + configure.in | 16 +++++++--------- + 2 files changed, 53 insertions(+), 11 deletions(-) + +commit 9bb5323a1abce0dcf8ed56734313a5249003d868 +Author: Martin Lucina +Date: Tue Dec 7 11:10:21 2010 +0100 + + Clarify zmq_send() operation for ZMQ_PUB sockets + + Signed-off-by: Martin Lucina + + doc/zmq_socket.txt | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 73bbcb552d6fbd1b3744a1ee29202a19e4d2f46e +Author: Martin Sustrik +Date: Mon Dec 6 23:10:50 2010 +0100 + + MSVC build fixed + + Signed-off-by: Martin Sustrik + + builds/msvc/libzmq/libzmq.vcproj | 32 ++++++++------------------------ + 1 files changed, 8 insertions(+), 24 deletions(-) + +commit 8d6cafe06696e17afff03adf4b33bd504b55e277 +Author: Martin Sustrik +Date: Mon Dec 6 22:57:29 2010 +0100 + + All devices conflated into a single implementation. + + Signed-off-by: Martin Sustrik + + src/Makefile.am | 8 +--- + src/device.cpp | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++ + src/device.hpp | 31 +++++++++++++ + src/forwarder.cpp | 60 ------------------------ + src/forwarder.hpp | 31 ------------- + src/queue.cpp | 130 ----------------------------------------------------- + src/queue.hpp | 31 ------------- + src/streamer.cpp | 60 ------------------------ + src/streamer.hpp | 31 ------------- + src/zmq.cpp | 24 ++++------ + 10 files changed, 172 insertions(+), 364 deletions(-) + +commit ec61751e17fe4ceb62cc16750b12df6056c5962a +Author: Martin Sustrik +Date: Mon Dec 6 22:36:10 2010 +0100 + + options.type correctly set for PUB/SUB/XPUB/XSUB + + Signed-off-by: Martin Sustrik + + src/pub.cpp | 1 + + src/sub.cpp | 1 + + src/xpub.cpp | 2 +- + src/xsub.cpp | 2 +- + 4 files changed, 4 insertions(+), 2 deletions(-) + +commit 8a6ff4ccd2ecbbfb7b2fd80fe621b8a05b0f9bbd +Author: Martin Sustrik +Date: Mon Dec 6 09:44:23 2010 +0100 + + xup and xsub files added to the MSVC build + + Signed-off-by: Martin Sustrik + + builds/msvc/libzmq/libzmq.vcproj | 16 ++++++++++++++++ + 1 files changed, 16 insertions(+), 0 deletions(-) + +commit 2daa0bb49d52aeb1aa60c94505bdad72348e5d8e +Author: Martin Sustrik +Date: Sun Dec 5 09:48:52 2010 +0100 + + XSUB accepts (un)subscriptions in form of messages. + + Signed-off-by: Martin Sustrik + + src/sub.cpp | 31 +++++++++++++++++++++++++++++++ + src/sub.hpp | 4 ++++ + src/xsub.cpp | 40 +++++++++++++++++++++++++--------------- + src/xsub.hpp | 3 ++- + 4 files changed, 62 insertions(+), 16 deletions(-) + +commit c80e7b80cc726ca7c29493c2553c8d19792bb6e5 +Author: Martin Sustrik +Date: Sat Dec 4 23:14:38 2010 +0100 + + XPUB and XSUB socket types added. + + These are just placeholders. At the moment XPUB behaves th same + as PUB and XSUB as SUB. + + Signed-off-by: Martin Sustrik + + include/zmq.h | 4 +- + src/Makefile.am | 4 + + src/pub.cpp | 144 +------------------------------------------ + src/pub.hpp | 34 +---------- + src/socket_base.cpp | 11 +++- + src/sub.cpp | 134 +--------------------------------------- + src/sub.hpp | 38 +----------- + src/xpub.cpp | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/xpub.hpp | 73 ++++++++++++++++++++++ + src/xsub.cpp | 161 ++++++++++++++++++++++++++++++++++++++++++++++++ + src/xsub.hpp | 78 +++++++++++++++++++++++ + 11 files changed, 506 insertions(+), 346 deletions(-) + +commit abc8b5e40c55deb96e7674b15629f2affa4eb92a +Author: Martin Lucina +Date: Wed Dec 1 11:55:56 2010 +0100 + + Update NEWS file for 2.1.0 release + + Signed-off-by: Martin Lucina + + NEWS | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 files changed, 73 insertions(+), 0 deletions(-) + +commit 4a3ed39a22655406e17c49fab4912c4681f3d7bf +Author: Steven McCoy +Date: Wed Dec 1 11:52:05 2010 +0100 + + Bump OpenPGM to 5.0.92. + + Signed-off-by: Steven McCoy + + configure.in | 2 +- + foreign/openpgm/libpgm-5.0.91~dfsg.tar.gz | Bin 444731 -> 0 bytes + foreign/openpgm/libpgm-5.0.92~dfsg.tar.gz | Bin 0 -> 444700 bytes + 3 files changed, 1 insertions(+), 1 deletions(-) + +commit 520d621016691bcb2a0551147aaa38a9891080b3 +Author: Martin Lucina +Date: Wed Dec 1 11:11:25 2010 +0100 + + Bump ABI version to 1:0:0 for ZeroMQ 2.1.0 release + + Signed-off-by: Martin Lucina + + configure.in | 13 +++++++++---- + 1 files changed, 9 insertions(+), 4 deletions(-) + +commit b70d628fad5ab97d24473b83fd18997b4e87477d +Author: Martin Lucina +Date: Wed Dec 1 10:57:37 2010 +0100 + + Documentation updates for 2.1 + + - Clarify ZMQ_LINGER, zmq_close (), zmq_term () relationship + - New socket options + - Clarify thread safety of sockets and migration between threads + - Other minor and spelling fixes + + Signed-off-by: Martin Lucina + + doc/zmq.txt | 12 ++++- + doc/zmq_close.txt | 12 +++-- + doc/zmq_errno.txt | 2 +- + doc/zmq_getsockopt.txt | 116 ++++++++++++++++++++++++++++++++---------------- + doc/zmq_pgm.txt | 6 +- + doc/zmq_poll.txt | 11 +++-- + doc/zmq_setsockopt.txt | 67 ++++++++++++++++++---------- + doc/zmq_socket.txt | 24 +++++++--- + doc/zmq_tcp.txt | 6 +- + doc/zmq_term.txt | 27 +++++++---- + doc/zmq_version.txt | 2 +- + 11 files changed, 186 insertions(+), 99 deletions(-) + +commit 5bb0a339be31064900257e04e2ffd32e80911d63 +Author: Mikko Koppanen +Date: Wed Dec 1 10:33:07 2010 +0100 + + Prefix variables with "ac_zmq_" + + - Added a macro for checking clang compiler + - Moved basic compiler checks to a macro + - Added a macro for checking if compiler supports a flag + - Added --enable-debug flag + - Added a macro for running normal autoconf check with compiler flags + - Added a macro for checking for verbose flag for different compilers (-Wall) + - Added a macro for turning on strict standards compliance + - Added a macro for turning warnings to errors + - Added a macro for checking if compiler supports given pragma + - Most of the flags now go through checks if the compilers supports them + rather than enumerating different compilers + - Added DSO symbol visibility for sun compiler + - Enabled verbose mode for sun compiler + - Fixed build for ICC 12.x by adding -wd279 to size_t checks + - Removed pkg-config checks as those don't seem to be used anywhere + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 461 ++++++++++++++++++++++++++++++++++++++++++++++----- + autogen.sh | 6 - + configure.in | 212 +++++++++++------------- + include/zmq.h | 14 +- + include/zmq_utils.h | 14 +- + 5 files changed, 532 insertions(+), 175 deletions(-) + +commit 17d7e6ede0f907461130302cf4bddcdf9e2737cf +Merge: 28db150 289b1f5 +Author: Martin Sustrik +Date: Wed Dec 1 10:27:24 2010 +0100 + + Merge branch 'maint' + + * maint: + Remove unnecessary cast in kevent_delete + + Conflicts: + src/kqueue.cpp + + Signed-off-by: Martin Sustrik + +commit 289b1f5ced492a2dc62edaba0016abde21093692 +Author: Martin Lucina +Date: Wed Dec 1 10:25:31 2010 +0100 + + Remove unnecessary cast in kevent_delete + + Fixes the build on NetBSD where the compiler complains about casting NULL + to (int). + + Signed-off-by: Martin Lucina + + src/kqueue.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 28db150aaf7b1cffb996f1b27bc082f75acec261 +Author: Steven McCoy +Date: Mon Nov 29 10:52:22 2010 +0100 + + Fix thread thunker scope for MSVC. + + Signed-off-by: Steven McCoy + + src/thread.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 325dd2f0914de502ae7687f94927fa98c20380c9 +Author: Martin Sustrik +Date: Sat Nov 27 22:19:43 2010 +0100 + + Functions passed to pthread_create are declared as extern "C" + + So far these were declared as C++ static functions which + was incorrect and caused warnings with SunStudio. + + Signed-off-by: Martin Sustrik + + src/thread.cpp | 54 ++++++++++++++++++++++----------------- + src/thread.hpp | 10 +++--- + tests/test_shutdown_stress.cpp | 19 ++++++++------ + 3 files changed, 46 insertions(+), 37 deletions(-) + +commit 0bc2a05d84dc8e496a60d0c8def7689783e08e01 +Author: Martin Sustrik +Date: Sat Nov 27 12:51:43 2010 +0100 + + .gitignore modified to ignore test executables + + Signed-off-by: Martin Sustrik + + .gitignore | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) + +commit c9584096e033850c77c4c3d4ee99e8073f7b26da +Author: Martin Lucina +Date: Thu Nov 25 17:12:31 2010 +0100 + + Control symbol exports using -fvisibility + + On systems using GCC 4.0 or newer which support symbol visibility in shared + libraries, use -fvisibility=hidden and only export explict API functions + defined in zmq.cpp. We do not enable -fvisibility on MinGW since this uses a + separate mechanism (__declspec). + + Signed-off-by: Martin Lucina + + configure.in | 12 ++++++++++++ + include/zmq.h | 8 ++++++++ + include/zmq_utils.h | 6 ++++++ + src/Makefile.am | 3 +-- + src/zmq.cpp | 8 ++++++++ + 5 files changed, 35 insertions(+), 2 deletions(-) + +commit 734624be760b3c7942eb26bea77fca918cb1540d +Author: Martin Sustrik +Date: Thu Nov 25 14:05:43 2010 +0100 + + Typo fixed in a comment. + + Signed-off-by: Martin Sustrik + + src/i_engine.hpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 92618fd99ac19f3169552c25cbabffbe9e983f7f +Author: Sebastian Otaegui +Date: Thu Nov 25 14:04:53 2010 +0100 + + Small fix for the rhel6 spec + + Signed-off-by: Sebastian Otaegui + + builds/redhat/zeromq.spec | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +commit a689047de091b2ffbc58cde4a89e98119ae0f599 +Merge: ac40680 83d9af9 +Author: Martin Sustrik +Date: Mon Nov 22 16:07:15 2010 +0100 + + Merge branch 'maint' + + * maint: + Mikko Koppanen becomes a maintainer of the build system. + +commit 83d9af99516fc620ffdfa6cd5a226ab70673cb5d +Author: Martin Sustrik +Date: Mon Nov 22 16:06:20 2010 +0100 + + Mikko Koppanen becomes a maintainer of the build system. + + Signed-off-by: Martin Sustrik + + MAINTAINERS | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit ac40680ea2f6b32a3c451db1b606524e86a347dd +Author: Martin Sustrik +Date: Fri Nov 19 12:35:06 2010 +0100 + + Problem with blob_t initialisation fixed. + + HP's version of STL doesn't allow for initialisation of basic_string + (blob_t) using NULL pointer, while SGI's implementation is OK with + that. Fixed. + + Signed-off-by: Martin Sustrik + + src/object.cpp | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +commit edf7c18d79b195001d7ed7d05ac30a4d7a64bce1 +Author: Mikko Koppanen +Date: Fri Nov 19 09:10:26 2010 +0100 + + Add a check that the compiler actually works. + + The patch tests that the C and C++ compilers actually exist + and work. autoconf seems to default to 'g++' when C++ compiler is not + found, which causes the following error (when the compiler isn't + there): + + checking for uuid_generate in -luuid... no + configure: error: cannot link with -luuid, install uuid-dev. + + The config.log contains the real error message "g++ command not found" + but the error message shown to the user is misleading. + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 18 ++++++++++++++++++ + configure.in | 6 +++++- + 2 files changed, 23 insertions(+), 1 deletions(-) + +commit 945c931daf0c053a9cdbfdbb3ec7d0e90c29fc10 +Author: Mikko Koppanen +Date: Thu Nov 18 11:51:27 2010 +0100 + + Run autoupdate on the configure.in + + I ran autoupdate on the configure.in, which generated most of the + patch attached. There is also a small manual fix in which removes the + warning "Remember to add LT_INIT to configure.in" which I assume is + because AC_PROG_LIBTOOL was called inside a macro. + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 3 --- + configure.in | 13 +++++++------ + 2 files changed, 7 insertions(+), 9 deletions(-) + +commit 72a7b93f124cdaee8082aff218f6497c366f53f9 +Author: Mikko Koppanen +Date: Wed Nov 17 15:10:43 2010 +0100 + + Allow building without documentation. + + Allows building without documentation even if asciidoc and xmlto are + installed. This eases up working with the build system because doc + generation take quite a while on repeated builds. + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 41 +++++++++++++++++++++++++---------------- + 1 files changed, 25 insertions(+), 16 deletions(-) + +commit c86375831d4002ac58501bacebb3fd12d5c651b8 +Author: Mikko Koppanen +Date: Wed Nov 17 15:09:06 2010 +0100 + + Remove unneeded substitutions + + Couldn't find a place where these substs were actually used + + Signed-off-by: Mikko Koppanen + + configure.in | 15 --------------- + 1 files changed, 0 insertions(+), 15 deletions(-) + +commit b83d0a1bc077fdcc481fee40dcf4780669c3f3d2 +Author: Mikko Koppanen +Date: Wed Nov 17 15:07:59 2010 +0100 + + Remove unnecessary conditional + + This conditional is unnecessary as BUILD_PGM can be negated in the test. + + Signed-off-by: Mikko Koppanen + + configure.in | 1 - + src/Makefile.am | 2 +- + 2 files changed, 1 insertions(+), 2 deletions(-) + +commit 925595259b51dd84711b620afdf02245e537a38f +Author: Mikko Koppanen +Date: Wed Nov 17 15:06:51 2010 +0100 + + MinGW32 build fixes + + After long discussions in IRC we came to conclusion that there is no + elegant way to handle static builds with MinGW32. This patch sets + AC_DISABLE_STATIC by default on MinGW32 and Cygwin + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 27 +++++++++++++++++++++++++++ + configure.in | 19 ++++++++++++++----- + 2 files changed, 41 insertions(+), 5 deletions(-) + +commit 3dbd5d58723bdc31eb00a6ebf4f643059a432f8c +Author: Mikko Koppanen +Date: Wed Nov 17 15:05:01 2010 +0100 + + Fix mingw32 build + + MinGW32 defines __int64_t as long long, which causes the build to fail + unless -Wno-long-long is used. In addition the shutdown_stress test + isn't currently compatible with Win. + + Signed-off-by: Mikko Koppanen + + configure.in | 3 ++- + tests/Makefile.am | 9 +++++++-- + 2 files changed, 9 insertions(+), 3 deletions(-) + +commit 34f50a6840fdf638bbd7887aa2438006baeb884d +Merge: bd0ecf4 152c64f +Author: Martin Sustrik +Date: Tue Nov 16 14:26:04 2010 +0100 + + Merge branch 'maint' + + * maint: + FD_SETSIZE defaults to 1024 in MSVC build + + Conflicts: + builds/msvc/libzmq/libzmq.vcproj + + Signed-off-by: Martin Sustrik + +commit bd0ecf478466b27103af92db33ffebc3948f2e4e +Author: Martin Sustrik +Date: Tue Nov 16 14:15:29 2010 +0100 + + FD_SETSIZE defaults to 1024 in MSVC build + + Signed-off-by: Martin Sustrik + + builds/msvc/libzmq/libzmq.vcproj | 20 ++++++++++---------- + 1 files changed, 10 insertions(+), 10 deletions(-) + +commit 152c64f25df9d037e7f51874d2d66724337aad38 +Author: Martin Sustrik +Date: Tue Nov 16 14:04:55 2010 +0100 + + FD_SETSIZE defaults to 1024 in MSVC build + + Signed-off-by: Martin Sustrik + + builds/msvc/libzmq/libzmq.vcproj | 36 ++++++++++++++++++------------------ + 1 files changed, 18 insertions(+), 18 deletions(-) + +commit da3327cf8780ea4d454e0aa8904b5aab3c446b23 +Author: Mikko Koppanen +Date: Mon Nov 15 17:02:36 2010 +0100 + + Build refactoring + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 53 ++++++++++++++++++++++++++++++ + configure.in | 97 +++++++++++++++++++++++++++++------------------------- + src/Makefile.am | 3 +- + 3 files changed, 106 insertions(+), 47 deletions(-) + +commit f77c8ca47ff77af44eab7b4b8538ed49ec428eda +Merge: a2500ae ffcb0ba +Author: Martin Sustrik +Date: Sat Nov 13 18:16:13 2010 +0100 + + Merge branch 'maint' + + * maint: + Couple of patches for AIX build + +commit ffcb0baa735538b8b4a0f00799d1185adba2761f +Author: Martin Sustrik +Date: Sat Nov 13 18:08:18 2010 +0100 + + Couple of patches for AIX build + + - RAND_bytes function resides in crypto library + - pollfd on AIX used 'reqevents' instead of events and 'retnevents' + instead of 'revents' + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + configure.in | 1 + + src/zmq.cpp | 23 ++++++++++++++--------- + 3 files changed, 16 insertions(+), 9 deletions(-) + +commit a2500ae3485d6243778b832d22dc6dc02a00f025 +Author: Chia-liang Kao +Date: Fri Nov 12 19:16:00 2010 +0100 + + Fix a bug that zmq_poll's select backend spins when timeout=-1, due to + ptimeout not properly recalculated after first pass. + + Signed-off-by: Chia-liang Kao + + AUTHORS | 1 + + src/zmq.cpp | 32 ++++++++++++++++---------------- + 2 files changed, 17 insertions(+), 16 deletions(-) + +commit 8abe67357ab905c5c86191c1d9005666f66b6ca0 +Merge: c021702 f7123de +Author: Martin Sustrik +Date: Fri Nov 12 14:47:26 2010 +0100 + + Merge branch 'maint' + + * maint: + Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal + + Conflicts: + src/socket_base.cpp + +commit f7123de9434a96794e6a7cd83b398ceb18c9de8b +Author: Marc Rossi +Date: Fri Nov 12 14:38:25 2010 +0100 + + Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal + + Added block boolean var to second process_commands() invocation for blocking sockets + instead of always using true. This prevents the process_commands() call from hanging + when a message is received with an empty queue after the call to xrecv() but + prior to the initial call to process_commands() invoked when ++ticks == inbound_poll_rate. + + Signed-off-by: Marc Rossi + + AUTHORS | 1 + + src/socket_base.cpp | 4 +++- + 2 files changed, 4 insertions(+), 1 deletions(-) + +commit c0217027ccd2267b05e017af436a842755d044b0 +Author: Martin Sustrik +Date: Sat Nov 6 08:02:14 2010 +0100 + + Coding style cleanup in mailbox.cpp + + Signed-off-by: Martin Sustrik + + src/mailbox.cpp | 39 +++++++++++++++++++++------------------ + 1 files changed, 21 insertions(+), 18 deletions(-) + +commit 9da84a5239e5356e34d872c2b5af1d19b9c7eb4f +Author: Martin Sustrik +Date: Fri Nov 5 17:39:51 2010 +0100 + + signaler renamed to mailbox + + For historical reasons queue to transfer commands between + threads was called 'signaler'. Given that it was used to + pass commands rather than signals it was renamed to 'mailbox', + see Erlang mailboxes. + + Signed-off-by: Martin Sustrik + + MAINTAINERS | 2 +- + builds/msvc/libzmq/libzmq.vcproj | 4 +- + src/Makefile.am | 4 +- + src/ctx.cpp | 14 +- + src/ctx.hpp | 6 +- + src/io_thread.cpp | 12 +- + src/io_thread.hpp | 15 +- + src/mailbox.cpp | 378 ++++++++++++++++++++++++++++++++++++++ + src/mailbox.hpp | 61 ++++++ + src/own.cpp | 2 +- + src/signaler.cpp | 366 ------------------------------------ + src/signaler.hpp | 61 ------ + src/socket_base.cpp | 12 +- + src/socket_base.hpp | 10 +- + 14 files changed, 479 insertions(+), 468 deletions(-) + +commit 9cfdb441f45057c7106a101835d65164fce9470a +Author: Martin Sustrik +Date: Fri Nov 5 16:38:52 2010 +0100 + + slots renamed to tids + + Threads were so far identified by integers called 'slots'. + This patch renames them to more comprehensible 'tid's (thread IDs). + + Signed-off-by: Martin Sustrik + + src/ctx.cpp | 12 ++++++------ + src/ctx.hpp | 6 +++--- + src/io_thread.cpp | 4 ++-- + src/io_thread.hpp | 2 +- + src/object.cpp | 14 +++++++------- + src/object.hpp | 8 ++++---- + src/own.cpp | 4 ++-- + src/own.hpp | 2 +- + src/pair.cpp | 4 ++-- + src/pair.hpp | 2 +- + src/pub.cpp | 4 ++-- + src/pub.hpp | 2 +- + src/pull.cpp | 4 ++-- + src/pull.hpp | 2 +- + src/push.cpp | 4 ++-- + src/push.hpp | 2 +- + src/rep.cpp | 4 ++-- + src/rep.hpp | 2 +- + src/req.cpp | 4 ++-- + src/req.hpp | 2 +- + src/socket_base.cpp | 24 ++++++++++++------------ + src/socket_base.hpp | 4 ++-- + src/sub.cpp | 4 ++-- + src/sub.hpp | 2 +- + src/xrep.cpp | 4 ++-- + src/xrep.hpp | 2 +- + src/xreq.cpp | 4 ++-- + src/xreq.hpp | 2 +- + 28 files changed, 67 insertions(+), 67 deletions(-) + +commit 623a9c9f1b53bdda9ad61f58cdc7a286e3e474cd +Author: Martin Sustrik +Date: Thu Nov 4 21:23:07 2010 +0100 + + Jacob Rideout added to the AUTGORS file. + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 0ada4f8e30088e6a91fef7a45fd7e5dd7bdb9d1d +Author: Jacob Rideout +Date: Thu Nov 4 21:21:01 2010 +0100 + + Fix documentation typos + + Signed-off-by: Jacob Rideout + + doc/zmq_getsockopt.txt | 6 +++--- + doc/zmq_setsockopt.txt | 12 ++++++------ + 2 files changed, 9 insertions(+), 9 deletions(-) + +commit 1b39bcd88336ebed002e13a8ac3d4bc104b13718 +Author: Martin Lucina +Date: Thu Nov 4 17:54:47 2010 +0100 + + Automatically resize signalling socket buffer if full + + If the socketpair used by signaler_t fills up, this can lead to deadlock. + This patch provides partial resolution by attempting to resize SO_SNDBUF on + the writer side, and if that fails we shall at least assert rather than + hang. + + I've also refactored the signaler_t code to make the platform-dependent + parts clearer and have tested both the MSG_DONTWAIT and standard POSIX path + in recv. + + The Win32 implementation currently does not implement resizing as I'm not + convinced that it's safe, but it will also assert like other platforms if + signaler_t::send() cannot succeed. + + The OpenVMS implementation has been carried forward but is untested. + + Signed-off-by: Martin Lucina + + src/config.hpp | 4 - + src/signaler.cpp | 403 ++++++++++++++++++++++++++---------------------------- + src/signaler.hpp | 18 +-- + 3 files changed, 201 insertions(+), 224 deletions(-) + +commit 756f7df8c8e82a67f033049af47a3f783ad951e1 +Author: Martin Sustrik +Date: Thu Nov 4 16:11:04 2010 +0100 + + Previous FD_STSIZE patch reverted. + + Signed-off-by: Martin Sustrik + + src/select.cpp | 3 --- + 1 files changed, 0 insertions(+), 3 deletions(-) + +commit 2246689c8fcf37cd69bd8098b21dc28a9abbcdeb +Author: Martin Sustrik +Date: Thu Nov 4 13:12:40 2010 +0100 + + FD_SETSIZE for internal polling defaults to 1024 + + If, when compiling 0MQ you don't set FD_SETSIZE, + it defaults to 1024 rather than to 64. + + Signed-off-by: Martin Sustrik + + src/select.cpp | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +commit b90e621329688c83f21f26bbe0367966a245e607 +Author: Martin Sustrik +Date: Thu Nov 4 10:01:58 2010 +0100 + + minor typo fixed + + Devpoll polling mechanism used ZMQ_HAVE_SOLRIS instead of + ZMQ_HAVE_SOLARIS in one case. Fixed. + + Signed-off-by: Martin Sustrik + + src/devpoll.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit d4a41067d3e873ba4a87c4711ad2f755e7de9157 +Author: Martin Sustrik +Date: Tue Nov 2 14:27:24 2010 +0100 + + HP-UX has no OPEN_MAX defined + + devpoll_t used this constant to determine how many events to + retrieve from the poller in one go. The implementation was + changed not to depend on this constant. + + Signed-off-by: Martin Sustrik + + src/devpoll.cpp | 11 ++++++----- + 1 files changed, 6 insertions(+), 5 deletions(-) + +commit de93f6359f061d08846cd203ad3ba4fda915e504 +Author: Martin Sustrik +Date: Tue Nov 2 13:30:20 2010 +0100 + + crypto library is needed on HP-UX to generate UUIDs + + Signed-off-by: Martin Sustrik + + configure.in | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit dbcd38252435ff69f1043649a94ec985e7f1ff5b +Merge: 0ad71f8 eb83678 +Author: Martin Sustrik +Date: Mon Nov 1 14:13:36 2010 +0100 + + Merge branch 'maint' + + * maint: + Add INSTALL to Git, thus making it a normal file + +commit eb83678b2b5eaca07d6813cab5c7dea493ac4bc8 +Author: Martin Lucina +Date: Mon Nov 1 14:12:33 2010 +0100 + + Add INSTALL to Git, thus making it a normal file + + INSTALL gets added in somewhat magically by automake, or not. Adding it into + Git ensures it's always included in the distribution. + + Signed-off-by: Martin Lucina + + .gitignore | 1 - + INSTALL | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 237 insertions(+), 1 deletions(-) + +commit 0ad71f88fe5531011c0354f22eeb070b1f729c7d +Author: Mikael Helbo Kjaer +Date: Mon Nov 1 12:54:58 2010 +0100 + + select now uses Erase-Remove idiom for retired fds + + Signed-off-by: Mikael Helbo Kjaer + + src/select.cpp | 17 ++++++++--------- + src/select.hpp | 3 +++ + 2 files changed, 11 insertions(+), 9 deletions(-) + +commit 085b709021c44673d9bf65a5d639e3c2e99703af +Author: Martin Sustrik +Date: Sat Oct 30 18:17:53 2010 +0200 + + Documentation for zmq_close and zmq_term fixed. + + Signed-off-by: Martin Sustrik + + doc/zmq_close.txt | 12 ++++++------ + doc/zmq_term.txt | 21 +++++++++------------ + 2 files changed, 15 insertions(+), 18 deletions(-) + +commit 3d8eb071a2a664d8de1e2e2fa7cb46a4f2764e5e +Author: Martin Sustrik +Date: Sat Oct 30 16:17:08 2010 +0200 + + Coding style fixed for pgm_socket + + Signed-off-by: Martin Sustrik + + src/pgm_socket.cpp | 211 ++++++++++++++++++++++++++++++++-------------------- + src/pgm_socket.hpp | 5 +- + 2 files changed, 132 insertions(+), 84 deletions(-) + +commit b358df9fffd6a4155318356024358b8a1e2b9c9c +Author: Martin Sustrik +Date: Sat Oct 30 15:08:28 2010 +0200 + + Name of "GNU Lesser Public License" corrected. + + Signed-off-by: Martin Sustrik + + builds/msvc/platform.hpp | 6 ++-- + devices/zmq_forwarder/zmq_forwarder.cpp | 6 ++-- + devices/zmq_queue/zmq_queue.cpp | 6 ++-- + devices/zmq_streamer/zmq_streamer.cpp | 6 ++-- + include/zmq.h | 6 ++-- + include/zmq.hpp | 6 ++-- + include/zmq_utils.h | 6 ++-- + perf/local_lat.cpp | 6 ++-- + perf/local_thr.cpp | 6 ++-- + perf/remote_lat.cpp | 6 ++-- + perf/remote_thr.cpp | 6 ++-- + src/array.hpp | 6 ++-- + src/atomic_counter.hpp | 6 ++-- + src/atomic_ptr.hpp | 6 ++-- + src/blob.hpp | 6 ++-- + src/clock.cpp | 6 ++-- + src/clock.hpp | 6 ++-- + src/command.cpp | 6 ++-- + src/command.hpp | 6 ++-- + src/config.hpp | 6 ++-- + src/connect_session.cpp | 6 ++-- + src/connect_session.hpp | 6 ++-- + src/ctx.cpp | 6 ++-- + src/ctx.hpp | 6 ++-- + src/decoder.cpp | 6 ++-- + src/decoder.hpp | 6 ++-- + src/devpoll.cpp | 6 ++-- + src/devpoll.hpp | 6 ++-- + src/encoder.cpp | 6 ++-- + src/encoder.hpp | 6 ++-- + src/epoll.cpp | 6 ++-- + src/epoll.hpp | 6 ++-- + src/err.cpp | 6 ++-- + src/err.hpp | 6 ++-- + src/fd.hpp | 6 ++-- + src/forwarder.cpp | 6 ++-- + src/forwarder.hpp | 6 ++-- + src/fq.cpp | 6 ++-- + src/fq.hpp | 6 ++-- + src/i_engine.hpp | 6 ++-- + src/i_inout.hpp | 6 ++-- + src/i_poll_events.hpp | 32 +++++++++++++++--------------- + src/io_object.cpp | 6 ++-- + src/io_object.hpp | 6 ++-- + src/io_thread.cpp | 6 ++-- + src/io_thread.hpp | 6 ++-- + src/ip.cpp | 6 ++-- + src/ip.hpp | 6 ++-- + src/kqueue.cpp | 6 ++-- + src/kqueue.hpp | 6 ++-- + src/lb.cpp | 6 ++-- + src/lb.hpp | 6 ++-- + src/likely.hpp | 6 ++-- + src/msg_content.hpp | 6 ++-- + src/mutex.hpp | 6 ++-- + src/named_session.cpp | 6 ++-- + src/named_session.hpp | 6 ++-- + src/object.cpp | 6 ++-- + src/object.hpp | 6 ++-- + src/options.cpp | 6 ++-- + src/options.hpp | 6 ++-- + src/own.cpp | 6 ++-- + src/own.hpp | 6 ++-- + src/pair.cpp | 6 ++-- + src/pair.hpp | 6 ++-- + src/pgm_receiver.cpp | 6 ++-- + src/pgm_receiver.hpp | 6 ++-- + src/pgm_sender.cpp | 6 ++-- + src/pgm_sender.hpp | 6 ++-- + src/pgm_socket.cpp | 6 ++-- + src/pgm_socket.hpp | 6 ++-- + src/pipe.cpp | 6 ++-- + src/pipe.hpp | 6 ++-- + src/poll.cpp | 6 ++-- + src/poll.hpp | 6 ++-- + src/poller.hpp | 6 ++-- + src/poller_base.cpp | 6 ++-- + src/poller_base.hpp | 6 ++-- + src/pub.cpp | 6 ++-- + src/pub.hpp | 6 ++-- + src/pull.cpp | 6 ++-- + src/pull.hpp | 6 ++-- + src/push.cpp | 6 ++-- + src/push.hpp | 6 ++-- + src/queue.cpp | 6 ++-- + src/queue.hpp | 6 ++-- + src/rep.cpp | 6 ++-- + src/rep.hpp | 6 ++-- + src/req.cpp | 6 ++-- + src/req.hpp | 6 ++-- + src/select.cpp | 6 ++-- + src/select.hpp | 6 ++-- + src/semaphore.hpp | 6 ++-- + src/session.cpp | 6 ++-- + src/session.hpp | 6 ++-- + src/signaler.cpp | 6 ++-- + src/signaler.hpp | 6 ++-- + src/socket_base.cpp | 6 ++-- + src/socket_base.hpp | 6 ++-- + src/stdint.hpp | 6 ++-- + src/streamer.cpp | 6 ++-- + src/streamer.hpp | 6 ++-- + src/sub.cpp | 6 ++-- + src/sub.hpp | 6 ++-- + src/swap.cpp | 6 ++-- + src/swap.hpp | 6 ++-- + src/tcp_connecter.cpp | 6 ++-- + src/tcp_connecter.hpp | 6 ++-- + src/tcp_listener.cpp | 6 ++-- + src/tcp_listener.hpp | 6 ++-- + src/tcp_socket.cpp | 6 ++-- + src/tcp_socket.hpp | 6 ++-- + src/thread.cpp | 6 ++-- + src/thread.hpp | 6 ++-- + src/transient_session.cpp | 6 ++-- + src/transient_session.hpp | 6 ++-- + src/trie.cpp | 6 ++-- + src/trie.hpp | 6 ++-- + src/uuid.cpp | 13 ++--------- + src/uuid.hpp | 6 ++-- + src/windows.hpp | 6 ++-- + src/wire.hpp | 6 ++-- + src/xrep.cpp | 6 ++-- + src/xrep.hpp | 6 ++-- + src/xreq.cpp | 6 ++-- + src/xreq.hpp | 6 ++-- + src/ypipe.hpp | 6 ++-- + src/yqueue.hpp | 6 ++-- + src/zmq.cpp | 6 ++-- + src/zmq_connecter.cpp | 6 ++-- + src/zmq_connecter.hpp | 6 ++-- + src/zmq_engine.cpp | 6 ++-- + src/zmq_engine.hpp | 6 ++-- + src/zmq_init.cpp | 6 ++-- + src/zmq_init.hpp | 6 ++-- + src/zmq_listener.cpp | 6 ++-- + src/zmq_listener.hpp | 6 ++-- + tests/test_pair_inproc.cpp | 6 ++-- + tests/test_pair_ipc.cpp | 6 ++-- + tests/test_pair_tcp.cpp | 6 ++-- + tests/test_reqrep_inproc.cpp | 6 ++-- + tests/test_reqrep_ipc.cpp | 6 ++-- + tests/test_reqrep_tcp.cpp | 6 ++-- + tests/test_shutdown_stress.cpp | 6 ++-- + tests/testutil.hpp | 6 ++-- + 145 files changed, 448 insertions(+), 455 deletions(-) + +commit 3d01b929fe5e57311ea62fff4a37abbeaab1b3eb +Author: Martin Sustrik +Date: Fri Oct 29 08:19:07 2010 +0200 + + Peter Bourgon added to the AUTHORS file + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 9384faf7e5f2fb58d976df8b29f979402346207a +Author: Peter Bourgon +Date: Fri Oct 29 08:16:59 2010 +0200 + + Add function to zmq::error_t to access errnum + + Signed-off-by: Peter Bourgon + + include/zmq.hpp | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +commit dace2473f1cfea902dfd3be4a233f4092397d65a +Author: Martin Sustrik +Date: Thu Oct 28 08:44:53 2010 +0200 + + Burak Arslan added to the AUTHORS file + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 3eb935ef6e211d2fa5094ae032777ed319253d11 +Author: Burak Arslan +Date: Thu Oct 28 08:41:28 2010 +0200 + + switch to c++-specific headers + + Signed-off-by: Burak Arslan + + include/zmq.hpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 9a1d4df0fd29e040756bff6302cf9a134074d9b9 +Author: Dhammika Pathirana +Date: Wed Oct 27 09:37:32 2010 +0200 + + fix typo, destroy new engine + + Signed-off-by: Dhammika Pathirana + + src/session.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 465da7b17eef4c86020a5def41a87977410b965a +Author: Dhammika Pathirana +Date: Tue Oct 26 16:02:47 2010 +0200 + + drop connection requests with duplicate peer identity + + Signed-off-by: Dhammika Pathirana + + src/session.cpp | 9 +++++++-- + src/zmq_init.hpp | 2 +- + 2 files changed, 8 insertions(+), 3 deletions(-) + +commit 401986e6bb565f94d975acaba9504eb6ee3c8598 +Author: Martin Sustrik +Date: Tue Oct 26 15:35:56 2010 +0200 + + Build with MSVC2005 fixed + + To use __rdtsc() function MSVC2005 requires including intrin.h + + Signed-off-by: Martin Sustrik + + AUTHORS | 1 + + src/clock.cpp | 4 ++++ + 2 files changed, 5 insertions(+), 0 deletions(-) + +commit e1debf15bbdb0747cffb6013d59fb3f73462a600 +Author: Steven McCoy +Date: Tue Oct 26 14:24:07 2010 +0200 + + Update to OpenPGM 5.0.91. + + Signed-off-by: Steven McCoy + + configure.in | 2 +- + foreign/openpgm/libpgm-5.0.78.tar.gz | Bin 511599 -> 0 bytes + foreign/openpgm/libpgm-5.0.91~dfsg.tar.gz | Bin 0 -> 444731 bytes + 3 files changed, 1 insertions(+), 1 deletions(-) + +commit 11af0fcc54d06052bbbf20c64a3ce31000d02f7d +Merge: 71bef33 8ef53c0 +Author: Martin Sustrik +Date: Sat Oct 23 22:12:47 2010 +0200 + + Merge branch 'maint' + + * maint: + Fixes build on Linux using Sun Studio compiler + +commit 8ef53c0dc6d625bdeb95b7f9626cf58cf6babfed +Author: Mikko Koppanen +Date: Fri Oct 15 10:43:22 2010 +0200 + + Fixes build on Linux using Sun Studio compiler + + Signed-off-by: Mikko Koppanen + + configure.in | 6 ++++-- + 1 files changed, 4 insertions(+), 2 deletions(-) + +commit 71bef330fc9f09ee070c90d174fc0bcb7783b38d +Author: Dhammika Pathirana +Date: Sat Oct 23 20:59:54 2010 +0200 + + handle decoding malformed messages + + Signed-off-by: Dhammika Pathirana + + src/decoder.cpp | 26 ++++++++++++++++++-------- + src/decoder.hpp | 23 +++++++++++++++++++---- + src/zmq_engine.cpp | 26 ++++++++++++++++---------- + 3 files changed, 53 insertions(+), 22 deletions(-) + +commit 8d6979922efff7183ce03b49715472e5b2a6a1df +Author: Steven McCoy +Date: Sat Oct 23 14:35:02 2010 +0200 + + Changes for MSVC OpenPGM build. + + Signed-off-by: Steven McCoy + + src/pgm_socket.cpp | 1 - + src/pgm_socket.hpp | 1 + + src/zmq.cpp | 1 + + 3 files changed, 2 insertions(+), 1 deletions(-) + +commit da59f8dd7a7f275eff98e5705767ac89ac503912 +Merge: e73c96b 21b0c0b +Author: Martin Sustrik +Date: Sat Oct 23 13:51:12 2010 +0200 + + Merge branch 'maint' + + * maint: + SunStudio fixed. + +commit 21b0c0b4f7896facbfcaf10c8eb777e72a505a45 +Author: Martin Sustrik +Date: Sat Oct 23 13:49:13 2010 +0200 + + SunStudio fixed. + + With SunStudio's implementation of STL basic_string constructor + doesn't accept NULL as a parameter even though size of string + is set to zero. Fixed. + + Signed-off-by: Martin Sustrik + + src/object.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit e73c96ba30c5e9ada83592bc2289a56eeadf6155 +Author: Martin Sustrik +Date: Mon Oct 18 09:11:36 2010 +0200 + + Minor comment improvement. + + Signed-off-by: Martin Sustrik + + src/session.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit 0c86f90280d69bd360f7566f9549c904c26d5e42 +Author: Martin Sustrik +Date: Sun Oct 17 10:26:06 2010 +0200 + + Minor typo fixed in zmq_getsockopt(3) man page. + + Signed-off-by: Martin Sustrik + + doc/zmq_getsockopt.txt | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit a780833683ed1f5bc4a112644836973f8282434b +Author: Martin Sustrik +Date: Sun Oct 17 10:23:58 2010 +0200 + + ZMQ_BACKLOG socket option added. + + Signed-off-by: Martin Sustrik + + doc/zmq_getsockopt.txt | 13 +++++++++++++ + doc/zmq_setsockopt.txt | 13 +++++++++++++ + include/zmq.h | 1 + + src/config.hpp | 4 ---- + src/options.cpp | 19 +++++++++++++++++++ + src/options.hpp | 3 +++ + src/tcp_listener.cpp | 12 +++++++----- + src/tcp_listener.hpp | 3 ++- + src/zmq_listener.cpp | 2 +- + 9 files changed, 59 insertions(+), 11 deletions(-) + +commit e8e2944f45eab3e22dc46ceac3225a886ca468ad +Author: Martin Sustrik +Date: Sun Oct 17 09:54:12 2010 +0200 + + ZMQ_RECONNECT_IVL socket options added. + + Signed-off-by: Martin Sustrik + + doc/zmq_getsockopt.txt | 15 ++++++++++- + doc/zmq_setsockopt.txt | 13 ++++++++++ + include/zmq.h | 1 + + src/config.hpp | 3 -- + src/options.cpp | 59 +++++++++++++++++++++++++++++++++-------------- + src/options.hpp | 3 ++ + src/zmq_connecter.cpp | 15 ++++++----- + src/zmq_connecter.hpp | 2 +- + 8 files changed, 80 insertions(+), 31 deletions(-) + +commit 8b8837688a97c4d05aff01a6dea7ac5a35b21fa2 +Author: Martin Sustrik +Date: Sat Oct 16 17:56:25 2010 +0200 + + Couple of bugs in zmq_poll fixed. + + Signed-off-by: Martin Sustrik + + src/zmq.cpp | 16 ++++++++++++++-- + 1 files changed, 14 insertions(+), 2 deletions(-) + +commit 72b15a6dae6c199d847ebde5ac73de238f0ebf75 +Author: Martin Sustrik +Date: Sat Oct 16 16:05:34 2010 +0200 + + Implementation of zmq_strerror moved from zmq.cpp to err.cpp + + Signed-off-by: Martin Sustrik + + src/err.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ + src/err.hpp | 9 ++++++--- + src/zmq.cpp | 38 +------------------------------------- + 3 files changed, 48 insertions(+), 40 deletions(-) + +commit 61d38fbeed89d69516b9976c60b7711fefed6411 +Author: Martin Sustrik +Date: Sat Oct 16 14:48:06 2010 +0200 + + Bug in low precision clock fixed. + + Signed-off-by: Martin Sustrik + + src/clock.cpp | 4 ++-- + src/clock.hpp | 3 +++ + 2 files changed, 5 insertions(+), 2 deletions(-) + +commit 0a03e86e9547fa7c221b316a5a943467adea3dfd +Author: Martin Sustrik +Date: Sat Oct 16 10:53:29 2010 +0200 + + ZMQ_LINGER socket option added. + + 1. ZMQ_LINGER option can be set/get + 2. options are part of own_t base class rather than being declared + separately by individual objects + 3. Linger option is propagated with "term" command so that the + newest value of it is used rather than the stored old one. + 4. Session sets the linger timer if needed and terminates + as soon as it expires. + 5. Corresponding documentation updated. + + Signed-off-by: Martin Sustrik + + doc/zmq_getsockopt.txt | 16 ++++++++++++++++ + doc/zmq_setsockopt.txt | 16 ++++++++++++++++ + include/zmq.h | 1 + + src/command.hpp | 1 + + src/object.cpp | 7 ++++--- + src/object.hpp | 4 ++-- + src/options.cpp | 18 ++++++++++++++++++ + src/options.hpp | 3 +++ + src/own.cpp | 20 ++++++++++++-------- + src/own.hpp | 8 ++++++-- + src/pair.cpp | 4 ++-- + src/pair.hpp | 2 +- + src/pub.cpp | 4 ++-- + src/pub.hpp | 2 +- + src/pull.cpp | 4 ++-- + src/pull.hpp | 2 +- + src/push.cpp | 4 ++-- + src/push.hpp | 2 +- + src/session.cpp | 40 ++++++++++++++++++++++++++++++++++++---- + src/session.hpp | 17 ++++++++++++----- + src/socket_base.cpp | 4 ++-- + src/socket_base.hpp | 6 +----- + src/sub.cpp | 4 ++-- + src/sub.hpp | 2 +- + src/xrep.cpp | 4 ++-- + src/xrep.hpp | 2 +- + src/xreq.cpp | 4 ++-- + src/xreq.hpp | 2 +- + src/zmq_connecter.cpp | 5 ++--- + src/zmq_connecter.hpp | 4 ---- + src/zmq_init.cpp | 3 +-- + src/zmq_init.hpp | 4 ---- + src/zmq_listener.cpp | 7 +++---- + src/zmq_listener.hpp | 6 +----- + 34 files changed, 158 insertions(+), 74 deletions(-) + +commit a1474e305762d32df2b79300d124aac7fa0181c8 +Author: Toralf Wittner +Date: Sat Oct 16 08:27:57 2010 +0200 + + Cancel tx_timer_id in pgm_sender_t::out_event(). + + Signed-off-by: Toralf Wittner + + AUTHORS | 1 + + src/pgm_sender.cpp | 6 +++--- + 2 files changed, 4 insertions(+), 3 deletions(-) + +commit 733c6780c557a0eaacdf17961fb8f3841c65f862 +Author: Martin Sustrik +Date: Sat Oct 16 01:22:18 2010 +0200 + + Minor code clean-up to keep clang compiler happy. + + "warning: extra ';' inside a struct or union [-pedantic]" + + Signed-off-by: Martin Sustrik + + src/pipe.hpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit b95f11aa0a7887f5eb8eb8e2e0f09532bc3604ba +Author: Mikko Koppanen +Date: Sat Oct 16 01:05:15 2010 +0200 + + Don't set pedantic to yes if using ICC + + Signed-off-by: Mikko Koppanen + + acinclude.m4 | 17 +++++++++++++++++ + configure.in | 13 +++++++++---- + 2 files changed, 26 insertions(+), 4 deletions(-) + +commit 48b0a901b8056957e36ba52ae4416d656971bb47 +Author: Martin Sustrik +Date: Sat Oct 16 00:53:50 2010 +0200 + + Obsolete compile-time option removed. + + Signed-off-by: Martin Sustrik + + src/config.hpp | 4 ---- + 1 files changed, 0 insertions(+), 4 deletions(-) + +commit ae5a3c8a99a30b54d0b079bbd98be286685056e8 +Merge: 18d46c8 710615c +Author: Martin Sustrik +Date: Sat Oct 16 00:49:01 2010 +0200 + + Merge branch 'maint' + + * maint: + Version number increased. + + Conflicts: + include/zmq.h + + Signed-off-by: Martin Sustrik + +commit 710615cdab8c8e500c259bb27df2af70f5ae8275 +Author: Martin Sustrik +Date: Sat Oct 16 00:47:31 2010 +0200 + + Version number increased. + + Signed-off-by: Martin Sustrik + + include/zmq.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 18d46c81047fc2f8449a5b4ff3e41cc25bd1cfc2 +Merge: 027eed4 53d1677 +Author: Martin Sustrik +Date: Fri Oct 15 19:38:52 2010 +0200 + + Merge branch 'maint' + +commit 53d1677c8b0f85e309c6a067b47c80dedcffb5aa +Author: Martin Sustrik +Date: Fri Oct 15 19:37:41 2010 +0200 + + Update NEWS for 2.0.10 release + + Signed-off-by: Martin Sustrik + + NEWS | 28 ++++++++++++++++++++++++++++ + 1 files changed, 28 insertions(+), 0 deletions(-) + +commit 027eed41b8bf16cb8b2f9f83be1fe286b39e4fd8 +Merge: 2e9871c 6e95205 +Author: Martin Sustrik +Date: Fri Oct 15 17:46:21 2010 +0200 + + Merge branch 'maint' + + * maint: + Fix memory leak under Windows + +commit 6e9520533395b19ed6f6a17de6f196aa5e93da9f +Author: Taras Shpot +Date: Fri Oct 15 17:45:02 2010 +0200 + + Fix memory leak under Windows + + The comment about memory ownership in uuid_t::to_string + was misleading as on most platforms the buffer is a field + of the object; + The string allocated in UuidToString() wasn't properly freed + with RpcStringFree() + + Signed-off-by: Taras Shpot + + AUTHORS | 1 + + src/uuid.cpp | 2 ++ + src/uuid.hpp | 2 +- + 3 files changed, 4 insertions(+), 1 deletions(-) + +commit 2e9871ce34b5abc60ebc37c1887b76895537d62a +Merge: eeb8e7c 5b44025 +Author: Martin Lucina +Date: Fri Oct 15 17:30:03 2010 +0200 + + Merge branch 'maint' + + Conflicts: + configure.in + + Signed-off-by: Martin Lucina + +commit 5b44025602b6af952fc434a6e7bf8dff65a00be6 +Author: Martin Lucina +Date: Fri Oct 15 17:27:10 2010 +0200 + + maint: Upgrade OpenPGM to 2.1.28~dfsg + + Upgrade OpenPGM to version 2.1.28 for ZeroMQ 2.0.x. Now we also use the + DFSG-compliant upstream release tarball. + + Signed-off-by: Martin Lucina + + configure.in | 2 +- + foreign/openpgm/libpgm-2-1-28~dfsg.tar.gz | Bin 0 -> 340501 bytes + foreign/openpgm/libpgm-2.1.26.tar.gz | Bin 413863 -> 0 bytes + 3 files changed, 1 insertions(+), 1 deletions(-) + +commit eeb8e7c8beef83fe8c23bde888a1081fc9e8e3ec +Merge: 7b9e397 3cf01bf +Author: Martin Sustrik +Date: Fri Oct 15 17:13:36 2010 +0200 + + Merge branch 'maint' + + * maint: + Makefile.am: Add missing files to distribution, improve maintainer-clean + configure.in: Extract API version from zmq.h + Added bin directory to ignore list. + + Conflicts: + configure.in + include/zmq.h + +commit 3cf01bf56e66657da795e43f09fa2499b2381dc9 +Author: Martin Lucina +Date: Fri Oct 15 15:30:10 2010 +0200 + + Makefile.am: Add missing files to distribution, improve maintainer-clean + + Add missing files needed for regenerating configure to the distribution; + add MAINTAINERS; improve maintainer-clean to produce a really clean tree. + + Signed-off-by: Martin Lucina + + Makefile.am | 18 +++++++++++++----- + 1 files changed, 13 insertions(+), 5 deletions(-) + +commit 3b3df731e60d604794538d0b9f6cb5b802a8745d +Author: Martin Lucina +Date: Fri Oct 15 15:05:54 2010 +0200 + + configure.in: Extract API version from zmq.h + + * Added a version.sh and relevant changes to configure.in to extract the API + version from zmq.h at the time autogen.sh is run. + * Moved the version macros to be next to zmq_version in zmq.h and improved + the comments. + * Modified ZMQ_MAKE_VERSION to use (x) instead of plain x when expanding + macro parameters. + + Signed-off-by: Martin Lucina + + Makefile.am | 1 + + configure.in | 8 +++++--- + include/zmq.h | 21 +++++++++++---------- + version.sh | 21 +++++++++++++++++++++ + 4 files changed, 38 insertions(+), 13 deletions(-) + +commit 7b9e39724eeecf33dde3b0e4fd9f205480afb977 +Author: Martin Sustrik +Date: Fri Oct 15 11:31:20 2010 +0200 + + Minor fix in devpoll.hpp + + Signed-off-by: Martin Sustrik + + src/devpoll.hpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 17b0785744287d0897175ed13000fba710c2dc5b +Author: Martin Sustrik +Date: Fri Oct 15 11:29:20 2010 +0200 + + Destructor of poller_base_t made virtual. + + Signed-off-by: Martin Sustrik + + src/poller_base.hpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 3e74a439c4b7901f3d3607a2d4142266bc1781b4 +Author: Mikko Koppanen +Date: Fri Oct 15 11:21:56 2010 +0200 + + Cast execute_timers() result to int + + Signed-off-by: Mikko Koppanen + + src/devpoll.cpp | 2 +- + src/epoll.cpp | 2 +- + src/kqueue.cpp | 2 +- + src/poll.cpp | 2 +- + src/select.cpp | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +commit b64b50ae218dbbc362eaeb0571a337650f623e3c +Author: Martin Sustrik +Date: Fri Oct 15 10:58:19 2010 +0200 + + Timers correctly canceled by PGM engines on shutdown. + + Signed-off-by: Martin Sustrik + + src/pgm_receiver.cpp | 10 +++++++--- + src/pgm_sender.cpp | 17 ++++++++++++++--- + src/pgm_sender.hpp | 3 ++- + 3 files changed, 23 insertions(+), 7 deletions(-) + +commit e288f7a347eb5a2fd38043d930fc67c8e8bcce9b +Author: Mikko Koppanen +Date: Fri Oct 15 10:43:22 2010 +0200 + + Fixes build on Linux using Sun Studio compiler + + Signed-off-by: Mikko Koppanen + + configure.in | 6 ++++-- + 1 files changed, 4 insertions(+), 2 deletions(-) + +commit e33e4d7650e36af7d09569de21f7f71b5670945c +Author: Mikko Koppanen +Date: Fri Oct 15 10:38:09 2010 +0200 + + ICC related qualifier fix + + Signed-off-by: Mikko Koppanen + + AUTHORS | 1 + + src/pipe.hpp | 4 ++-- + 2 files changed, 3 insertions(+), 2 deletions(-) + +commit 03a18c27ace49cbcbb0c495e4c575c34b8f862a4 +Author: Martin Pales +Date: Thu Oct 14 16:31:58 2010 +0200 + + zmq::clock_t : return correct value in rdtsc() on solaris + + Function clock_t::rdtsc() now returns correct value when compiled + with sunstudio 12 compiler. + + Signed-off-by: Martin Pales + + src/clock.cpp | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +commit 26d7669464054a4aed3f0ee9643bffa0e01aab5c +Author: Gonzalo Diethelm +Date: Thu Oct 14 08:02:43 2010 -0300 + + Added bin directory to ignore list. + + .gitignore | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit b7386f5b5031b2e75fb4370069935d7f6a0eedbb +Author: Martin Sustrik +Date: Thu Oct 14 12:13:52 2010 +0200 + + To insert to associateive STL containers value_type used instead of make_pair + + Signed-off-by: Martin Sustrik + + src/ctx.cpp | 4 ++-- + src/pgm_receiver.cpp | 2 +- + src/socket_base.cpp | 2 +- + src/xrep.cpp | 2 +- + 4 files changed, 5 insertions(+), 5 deletions(-) + +commit f9e6d94be56fab6d1d8e281e48bb5d6091562acb +Author: Martin Pales +Date: Thu Oct 14 12:02:05 2010 +0200 + + zmq::poller_base_t : workaround for sunstudio compiler in add_timer() + + A minor workaround to resolve compilation error with sunstudio compiler, + which does not yet support member templates for std::multimap. + + Signed-off-by: Martin Pales + + src/poller_base.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit cafcdbbe2bc9c78899568bb6cb957b700e12c66b +Author: Martin Sustrik +Date: Thu Oct 14 09:34:09 2010 +0200 + + Safety measure in zmq_msg_close implemented + + zmq_msg_close now empties the message on zmq_msg_close, thus not + leaving random data in the structure, that may be mistaken for + a valid message. + + Signed-off-by: Martin Sustrik + + src/zmq.cpp | 32 +++++++++++++++++++------------- + 1 files changed, 19 insertions(+), 13 deletions(-) + +commit b174ad2c45c746e56b41671a3d68ef496bba6b97 +Author: Martin Sustrik +Date: Thu Oct 14 09:16:49 2010 +0200 + + zmq_poll man page fixed to reflect the precise timeout semantics. + + Signed-off-by: Martin Sustrik + + doc/zmq_poll.txt | 8 +------- + 1 files changed, 1 insertions(+), 7 deletions(-) + +commit da73b7c6f60f2ea1adc6fbd99e22576b9ce2f316 +Author: Martin Pales +Date: Thu Oct 14 08:38:11 2010 +0200 + + zmq::devpoll_t : correct a typo in loop() + + A minor typo correction to resolve compilation error on Solaris. + + Signed-off-by: Martin Pales + + AUTHORS | 1 + + src/devpoll.cpp | 2 +- + 2 files changed, 2 insertions(+), 1 deletions(-) + +commit e2167cecaefec6557c7a5712fb75e51487ff69a6 +Author: Martin Sustrik +Date: Wed Oct 13 21:39:20 2010 +0200 + + Precise timouts in zmq_poll implemented + + Signed-off-by: Martin Sustrik + + src/zmq.cpp | 127 +++++++++++++++++++++++++++++++++++++++++----------------- + 1 files changed, 90 insertions(+), 37 deletions(-) + +commit 9d96e0037a9d027fd286f771fa2a8db5def485c8 +Author: Martin Sustrik +Date: Wed Oct 13 10:09:46 2010 +0200 + + Clean-up of the code related to attaching/detaching engines to sessions. + + Session base class now handles the engine events exclusively. It notifies + derived session types using dedicated "attached" and "detached" events. + + Couple of bugs was fixed along the way. + + Signed-off-by: Martin Sustrik + + src/connect_session.cpp | 9 ++++----- + src/connect_session.hpp | 3 ++- + src/named_session.cpp | 15 +++++---------- + src/named_session.hpp | 5 +---- + src/session.cpp | 18 ++++++++---------- + src/session.hpp | 12 ++++++------ + src/transient_session.cpp | 4 ++++ + src/transient_session.hpp | 3 ++- + 8 files changed, 32 insertions(+), 37 deletions(-) + +commit 5ae878b891fa5189f5202f1577d22bdb9ba51f77 +Merge: 954d7f7 2568947 +Author: Martin Sustrik +Date: Wed Oct 13 08:01:13 2010 +0200 + + Merge branch 'maint' + + * maint: + Add support for RHEL6 in the spec file + +commit 2568947a71adc0e8ddad54b6054a3b3e532e1613 +Author: Sebastian Otaegui +Date: Wed Oct 13 07:59:50 2010 +0200 + + Add support for RHEL6 in the spec file + + Signed-off-by: Sebastian Otaegui + + AUTHORS | 1 + + builds/redhat/zeromq.spec | 7 +++++++ + 2 files changed, 8 insertions(+), 0 deletions(-) + +commit 954d7f743dbc0c159794915c6deadc374dbf64d2 +Author: Martin Sustrik +Date: Tue Oct 12 17:55:09 2010 +0200 + + Avoid duplicate creation of pipes for a single session + + When a session is being closed down its inbound and outbound + pipe pointers are set to null. If (re) connection happens at + that time, session may try to reinistantiate the pipes which + is wrong. This patch allows session to attach pipes only once + in its lifetime. + + Signed-off-by: Martin Sustrik + + src/session.cpp | 40 ++++++++++++++++++++++++---------------- + src/session.hpp | 3 +++ + 2 files changed, 27 insertions(+), 16 deletions(-) + +commit c6d74e0a0345cae2c09c6fb29911159331c93e64 +Author: Steven McCoy +Date: Tue Oct 12 12:26:21 2010 +0200 + + Drop PGM parameters to 100mb friendly range. + + Signed-off-by: Steven McCoy + + src/pgm_socket.cpp | 30 +++++++++++++----------------- + 1 files changed, 13 insertions(+), 17 deletions(-) + +commit 5b8af52efc0ddf1df5506a2800aa69bc50a44ddb +Author: Steven McCoy +Date: Mon Oct 11 17:59:58 2010 +0200 + + Fix assertion in PGM transports on cancel_timer + + Signed-off-by: Steven McCoy + + src/pgm_receiver.cpp | 2 ++ + src/pgm_sender.cpp | 12 ++++++++---- + 2 files changed, 10 insertions(+), 4 deletions(-) + +commit e168173162dd26238a799c19142bab8b7885ebb3 +Merge: f22e85f 57428db +Author: Martin Sustrik +Date: Mon Oct 11 16:42:10 2010 +0200 + + Merge branch 'maint' + + * maint: + configure.in: Do not patch libtool rpath handling + Fixing the Red Hat packaging + +commit 57428db89885631128cb9a48b334b050eb83a512 +Author: Martin Lucina +Date: Mon Oct 11 16:39:48 2010 +0200 + + configure.in: Do not patch libtool rpath handling + + For historic reasons (mainly compatbility with really old libtool), configure was + patching libtool to not use rpath in binaries. This breaks (among other things) + correct operation of "make check" since the test binaries may not be run with + the correct shared library version. + + Current best practice as seen e.g. at http://wiki.debian.org/RpathIssue suggests + that this is no longer an issue, so I'm removing the code that patches libtool. + + Signed-off-by: Martin Lucina + + configure.in | 11 ----------- + 1 files changed, 0 insertions(+), 11 deletions(-) + +commit 6cd0867f0208b4fca4cfca2a2ff7bc0de5199d4a +Author: Martin Sustrik +Date: Mon Oct 11 16:32:27 2010 +0200 + + Fixing the Red Hat packaging + + When adding ZMQ_VERSION macros, I incorrectly removed + the PACKAGE_VERSION macro. Adding it back. + + Signed-off-by: Martin Sustrik + + configure.in | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +commit f22e85f19f2bf58285e4984e875487f17c85e791 +Author: Martin Sustrik +Date: Mon Oct 11 12:23:18 2010 +0200 + + Reverting commit 1d431190f50c86f62460 + + The patch was supposed to check that pipe writer sends messages + in atomic fashion. However, it prevented the user to read + half of a message and close the socket. + + Signed-off-by: Martin Sustrik + + src/xrep.cpp | 7 ------- + 1 files changed, 0 insertions(+), 7 deletions(-) + +commit 73e7ef37c2e72dd542d20ddc5be30cedce68e329 +Author: Martin Sustrik +Date: Sun Oct 10 09:23:37 2010 +0200 + + When XREP silently drops message, it does not empty it -- fixed + + Signed-off-by: Martin Sustrik + + src/xrep.cpp | 33 +++++++++++++++++---------------- + 1 files changed, 17 insertions(+), 16 deletions(-) + +commit f5030a93a52fc73292c16dae5f8e0e1b39732df0 +Author: Christian Gudrian +Date: Sat Oct 9 19:19:50 2010 +0200 + + Execute the timers before pollset initialisation. + + Since executing the timers might modify the source pollsets we have + to defer the initialisation until after the timers have executed. + + Signed-off-by: Christian Gudrian + + AUTHORS | 1 + + src/select.cpp | 6 +++--- + 2 files changed, 4 insertions(+), 3 deletions(-) + +commit 318cdd1f24cd663702222cc182ae2ccac5e76870 +Merge: 214b560 ef8db78 +Author: Martin Sustrik +Date: Sat Oct 9 08:03:58 2010 +0200 + + Merge branch 'maint' + + * maint: + Version macros added + + Conflicts: + builds/msvc/platform.hpp + + Signed-off-by: Martin Sustrik + +commit ef8db789a1c97152e84ff03c9a7f6e1e77d95981 +Author: Martin Sustrik +Date: Sat Oct 9 07:53:24 2010 +0200 + + Version macros added + + Macro ZMQ_VERSION represents the current version of 0MQ + Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create + a representation of the specified version. + The versions can be compared using simple <, >, ==, etc. + operators. + + Signed-off-by: Martin Sustrik + + builds/msvc/platform.hpp | 6 +----- + configure.in | 13 ------------- + include/zmq.h | 10 ++++++++++ + src/zmq.cpp | 6 +++--- + 4 files changed, 14 insertions(+), 21 deletions(-) + +commit 214b56077a7e5d12813c8034013171d33283566c +Author: Martin Lucina +Date: Fri Oct 8 22:06:41 2010 +0200 + + Fix missing platform.hpp in zmq_connecter.cpp + + Missed testing on Win32 + + Signed-off-by: Martin Lucina + + src/zmq_connecter.cpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit daf5d3273b1930af7e4c54ee597b89ecb3763000 +Author: Martin Sustrik +Date: Fri Oct 8 21:42:55 2010 +0200 + + More cleanup of session termination process. + + Fix in termination of session attached to a REP socket. + Several fixes of session termination in case of disconnection. + + Signed-off-by: Martin Sustrik + + src/connect_session.cpp | 2 ++ + src/named_session.cpp | 1 + + src/session.cpp | 10 ++++++++-- + 3 files changed, 11 insertions(+), 2 deletions(-) + +commit f90c8d957ea2a11c73a307aae2494a26d22c2f3b +Author: Martin Lucina +Date: Fri Oct 8 17:49:40 2010 +0200 + + Scalability improvements for large amounts of connections + + Add signaler_sndbuf_size option to config.hpp which allows the user to + increase the size of the send buffer used by the signalling socketpair. + + Implement random backoff for reconnection attempts using a primitive + pseudo-random generation to prevent reconnection storms. + + Add wait_before_connect option to config.hpp to allow the user to enable + random delay even on initial connect. Default is false for low latency. + + Signed-off-by: Martin Lucina + + src/config.hpp | 9 ++++++++- + src/signaler.cpp | 39 ++++++++++++++++++++++++++++++++------- + src/zmq_connecter.cpp | 25 +++++++++++++++++++++---- + src/zmq_connecter.hpp | 3 +++ + 4 files changed, 64 insertions(+), 12 deletions(-) + +commit 7a685b0f88386b11c4c1fcbb45324aa28f4e2eac +Author: Martin Sustrik +Date: Fri Oct 8 17:23:21 2010 +0200 + + Clean-up of session termination process + + Specifically, shutdown of child objects is initiated *before* termination + handshake with socket object. + + Signed-off-by: Martin Sustrik + + src/fq.cpp | 4 ++ + src/fq.hpp | 1 + + src/pair.cpp | 12 ++++-- + src/pair.hpp | 1 + + src/pipe.cpp | 7 +++ + src/pipe.hpp | 1 + + src/session.cpp | 111 ++++++++++++++++++++++++++++--------------------------- + src/session.hpp | 25 +++++++----- + src/xrep.cpp | 4 ++ + src/xrep.hpp | 1 + + 10 files changed, 99 insertions(+), 68 deletions(-) + +commit 965fb7755b50ca1522f076da46fa3651812126e1 +Author: Martin Lucina +Date: Mon Oct 4 16:22:30 2010 +0200 + + configure.in: OpenPGM no longer requires pkg-config + + configure.in | 14 +++----------- + 1 files changed, 3 insertions(+), 11 deletions(-) + +commit d62d721f1a6f7c9df627b3f3fa8e200ddc9bf5f5 +Author: Steven McCoy +Date: Mon Oct 4 16:14:57 2010 +0200 + + configure.in: Add amd64 to OpenPGM supported platforms + + configure.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 1d431190f50c86f624605ab11c1580b2d2f7ee06 +Author: Nir Soffer +Date: Sat Oct 2 10:01:18 2010 +0200 + + make sure that reader does not terminate in the middle of a multipart message + + AUTHORS | 1 + + src/xrep.cpp | 7 +++++++ + 2 files changed, 8 insertions(+), 0 deletions(-) + +commit 2142b8918a0cea79c79c8ed8ce5652148abe4a39 +Author: Martin Sustrik +Date: Fri Oct 1 18:46:32 2010 +0200 + + issue 92 -- Assertion failed: inpipe && outpipe (pair.cpp:86) -- fixed + + src/pair.cpp | 14 +++++++++----- + 1 files changed, 9 insertions(+), 5 deletions(-) + +commit 1a6cd59e8b423cdf3a4f4f854b37c5e0693baef6 +Author: Martin Sustrik +Date: Fri Oct 1 16:03:08 2010 +0200 + + stress test for shutdown process added + + tests/Makefile.am | 7 ++- + tests/test_shutdown_stress.cpp | 83 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 88 insertions(+), 2 deletions(-) + +commit 2a85cce189ae915e85bb567b1401d063284e622f +Merge: 0bb76b6 8f9080e +Author: Martin Sustrik +Date: Fri Oct 1 13:37:59 2010 +0200 + + Merge branch 'master' of github.com:zeromq/zeromq2 + +commit 0bb76b667b277b143a9a2901e8bf407f34da469d +Author: Martin Sustrik +Date: Fri Oct 1 13:37:46 2010 +0200 + + assert when xrep socket gets reconnected in the middle of the shutdown -- fixed + + src/xrep.cpp | 35 ++++++++++++++++++++++------------- + 1 files changed, 22 insertions(+), 13 deletions(-) + +commit 8f9080ebb9ea5576c87a1412748aef1faf0653f6 +Author: Martin Lucina +Date: Thu Sep 30 15:30:24 2010 +0200 + + zmq_poll(): Fix busy-loop if timeout is zero + + Fix a case where zmq_poll() (poll-based version) could go off into a busy-loop + if no revents are returned and the timeout passed in is zero. + + src/zmq.cpp | 11 +++++++---- + 1 files changed, 7 insertions(+), 4 deletions(-) + +commit ac9b05c36b9d1f5bb3f8465b4c56478c399a01f3 +Merge: 98fa2fa 79aea5f +Author: Martin Sustrik +Date: Thu Sep 30 15:12:06 2010 +0200 + + Merge branch 'maint' + + * maint: + zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed + +commit 79aea5ffa61f969ec66205f7c9c8c1611a2fd8da +Author: Max Wolf +Date: Thu Sep 30 15:10:47 2010 +0200 + + zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed + + AUTHORS | 1 + + src/xrep.cpp | 7 ++++--- + 2 files changed, 5 insertions(+), 3 deletions(-) + +commit 98fa2fa802773252a2c569ffea99bce1c5f9cd4c +Author: Martin Sustrik +Date: Thu Sep 30 14:03:54 2010 +0200 + + fix in XREP's fair queueing mechanism + + src/xrep.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit 7881ba1bcd2c940037e54a74d6aeb8376329cde4 +Author: Martin Sustrik +Date: Thu Sep 30 11:35:14 2010 +0200 + + minor whitespace fix + + src/pgm_socket.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit eaa925eca7a3e0c64d184a4a96fec139166a7470 +Author: Steven McCoy +Date: Thu Sep 30 11:33:35 2010 +0200 + + FreeBSD doesn't define MSG_ERRQUEUE -- now it's defined in 0MQ + + src/pgm_socket.cpp | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +commit ec2e85919e4a34a313e6d0df84cc421bc9682ad8 +Author: Ilja Golshtein +Date: Wed Sep 29 10:09:03 2010 +0200 + + C++ binding destructors don't throw exceptions + + AUTHORS | 1 + + include/zmq.hpp | 6 ++---- + 2 files changed, 3 insertions(+), 4 deletions(-) + +commit d14be62499478f31cf641399982ecdf4f6f158c4 +Author: Steven McCoy +Date: Tue Sep 28 22:46:56 2010 +0200 + + more fixes to (e)pgm transport + + src/pgm_receiver.cpp | 21 ++++++++++++- + src/pgm_receiver.hpp | 7 ++++ + src/pgm_sender.cpp | 37 +++++++++++++++++++++- + src/pgm_sender.hpp | 7 ++++ + src/pgm_socket.cpp | 81 +++++++++++++++++++++++++++++++++++++------------- + src/pgm_socket.hpp | 5 +++ + 6 files changed, 134 insertions(+), 24 deletions(-) + +commit 96d85b20982926e60d5065cba3203971c9eeed63 +Author: Steven McCoy +Date: Tue Sep 28 16:58:51 2010 +0200 + + * Add assertions to check for OpenPGM calls with invalid parameters. + * Assertion to check that pgm_getaddrinfo is actually returning something. + * Missing pgm_connect call. + * Typo on TOS causing immediate abort. + * Placeholder calls for timeouts whilst continuing spin loop functionality. + * OpenPGM v5 now supports reference counting so remove init checks. + * Duplicate UDP unicast port setting, requires one unicast and one multicast. + * Incorrectly set socket rcvbuf size with sndbuf. + * Replace std::lexicographical_compare of TSI's with long word integer comparisons. + * pgm_socket_t::receive returns -1 on no data. + + src/pgm_receiver.cpp | 2 +- + src/pgm_receiver.hpp | 12 ++--- + src/pgm_socket.cpp | 109 ++++++++++++++++++++++++++++++++----------------- + src/zmq.cpp | 24 +++++------ + 4 files changed, 87 insertions(+), 60 deletions(-) + +commit 00cd7d49c7f2b532b2349581b82577bc714f9bf8 +Author: Steven McCoy +Date: Tue Sep 28 16:35:29 2010 +0200 + + Upgrade to OpenPGM-5.0.78 + + configure.in | 16 +- + foreign/openpgm/libpgm-2.1.26.tar.gz | Bin 413863 -> 0 bytes + foreign/openpgm/libpgm-5.0.78.tar.gz | Bin 0 -> 511599 bytes + src/Makefile.am | 96 +++--- + src/pgm_socket.cpp | 564 ++++++++++++++++++---------------- + src/pgm_socket.hpp | 2 +- + src/zmq.cpp | 26 +- + 7 files changed, 364 insertions(+), 340 deletions(-) + +commit 10bb9d0405169487cd53c6f109091e036577860e +Author: Martin Sustrik +Date: Tue Sep 28 15:32:12 2010 +0200 + + Dhammika Pathirana was missing from the AUTOHRS file for some reason -- fixed + + AUTHORS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 87beaaa00d49d216f856b8322f1ad04e4f9ecea3 +Author: Gonzalo Diethelm +Date: Tue Sep 28 15:27:45 2010 +0200 + + ZMQ_TYPE socket option added + + .gitignore | 1 + + doc/zmq_getsockopt.txt | 13 +++++++++++++ + include/zmq.h | 1 + + src/options.cpp | 10 ++++++++++ + src/options.hpp | 3 +++ + src/pair.cpp | 1 + + src/pub.cpp | 1 + + src/pull.cpp | 1 + + src/push.cpp | 1 + + src/rep.cpp | 1 + + src/req.cpp | 1 + + src/sub.cpp | 1 + + src/xrep.cpp | 1 + + src/xreq.cpp | 1 + + 14 files changed, 37 insertions(+), 0 deletions(-) + +commit 6715f9b1858587db6aec826bdc9a7905bba8030e +Merge: 16c3884 c1deb22 +Author: Martin Sustrik +Date: Tue Sep 28 07:51:59 2010 +0200 + + Merge branch 'maint' + + * maint: + crash when closing an ypipe -- fixed + +commit c1deb226f4d1bc94c158c050088813aae96775e9 +Author: Dhammika Pathirana +Date: Tue Sep 28 07:46:17 2010 +0200 + + crash when closing an ypipe -- fixed + + src/ypipe.hpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit f61921d09679c4bed15204ec4e55d1c7313e3f6a +Author: Martin Sustrik +Date: Tue Sep 28 07:39:16 2010 +0200 + + REQ socket can die when reply is delivered on wrong unerlying connection -- fixed + + src/req.cpp | 6 ++---- + 1 files changed, 2 insertions(+), 4 deletions(-) + +commit 16c3884a61b146040277ec61bfdbc553c883b4d6 +Author: Martin Sustrik +Date: Mon Sep 27 11:18:21 2010 +0200 + + MSVC build fixed + + builds/msvc/libzmq/libzmq.vcproj | 42 +++++++++++++++++++++++++++++++++---- + src/clock.cpp | 2 +- + src/ctx.cpp | 6 +++++ + src/select.cpp | 3 +- + 4 files changed, 46 insertions(+), 7 deletions(-) + +commit e2f834d2947ad7e7f4e6bfb5be653af8b8a2a576 +Author: Martin Sustrik +Date: Mon Sep 27 09:53:30 2010 +0200 + + ZMQ_FD and ZMQ_EVENTS documentation added + + doc/zmq_getsockopt.txt | 30 ++++++++++++++++++++++++++++++ + 1 files changed, 30 insertions(+), 0 deletions(-) + +commit 30c1cba4e4276f4ddcb5a455fdd62d4d6bd1edd2 +Author: Martin Sustrik +Date: Mon Sep 27 09:34:00 2010 +0200 + + latency optimisation for the case where there are no timers + + src/poller_base.cpp | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +commit 238640a526c419392bf2df95de196db89ea6eb73 +Author: Martin Sustrik +Date: Sun Sep 26 21:42:23 2010 +0200 + + timers properly implemented + + src/config.hpp | 4 --- + src/devpoll.cpp | 35 ++++---------------------------- + src/devpoll.hpp | 6 ----- + src/epoll.cpp | 43 ++++++--------------------------------- + src/epoll.hpp | 6 ----- + src/kqueue.cpp | 40 +++++-------------------------------- + src/kqueue.hpp | 6 ----- + src/poll.cpp | 33 ++++++------------------------ + src/poll.hpp | 6 ----- + src/poller_base.cpp | 52 ++++++++++++++++++++++++++++++++++++++++++++++++- + src/poller_base.hpp | 27 +++++++++++++++++++++++++ + src/select.cpp | 37 ++++++---------------------------- + src/select.hpp | 6 ----- + src/zmq_connecter.cpp | 3 +- + src/zmq_connecter.hpp | 2 +- + 15 files changed, 113 insertions(+), 193 deletions(-) + +commit 8d7bf6684cbb9625ec7c963b8867e2411b49eb57 +Author: Martin Sustrik +Date: Sun Sep 26 19:22:33 2010 +0200 + + common base for all pollers created; the only thing it handles at the moment is 'load' + + src/Makefile.am | 2 + + src/devpoll.cpp | 13 +---------- + src/devpoll.hpp | 9 +------ + src/epoll.cpp | 12 +--------- + src/epoll.hpp | 9 +------ + src/kqueue.cpp | 15 ++++--------- + src/kqueue.hpp | 9 +------ + src/poll.cpp | 12 +--------- + src/poll.hpp | 9 +------ + src/poller_base.cpp | 44 ++++++++++++++++++++++++++++++++++++++++ + src/poller_base.hpp | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/select.cpp | 12 +--------- + src/select.hpp | 9 +------ + 13 files changed, 125 insertions(+), 86 deletions(-) + +commit cf815e8c785254d97190f223765fbbd19a1e6d52 +Author: Martin Sustrik +Date: Sun Sep 26 18:30:03 2010 +0200 + + new interfaces for timers; the implementation is not changed yet + + src/config.hpp | 4 ++++ + src/devpoll.cpp | 6 +++--- + src/devpoll.hpp | 7 +++---- + src/epoll.cpp | 6 +++--- + src/epoll.hpp | 4 ++-- + src/i_poll_events.hpp | 2 +- + src/io_object.cpp | 10 +++++----- + src/io_object.hpp | 6 +++--- + src/io_thread.cpp | 2 +- + src/io_thread.hpp | 2 +- + src/kqueue.cpp | 6 +++--- + src/kqueue.hpp | 4 ++-- + src/poll.cpp | 6 +++--- + src/poll.hpp | 4 ++-- + src/select.cpp | 6 +++--- + src/select.hpp | 4 ++-- + src/zmq_connecter.cpp | 8 ++++---- + src/zmq_connecter.hpp | 3 +++ + 18 files changed, 48 insertions(+), 42 deletions(-) + +commit be79a9fbc26a55c90b693485f69dfd17f710cb13 +Author: Martin Sustrik +Date: Sun Sep 26 18:01:59 2010 +0200 + + minor beautifications + + src/config.hpp | 4 +++- + src/connect_session.hpp | 3 +++ + src/named_session.hpp | 3 +++ + src/transient_session.hpp | 3 +++ + 4 files changed, 12 insertions(+), 1 deletions(-) + +commit 5dae27d0ed92aba070f824a4bf5dfa7845aa165d +Author: Martin Sustrik +Date: Sun Sep 26 16:55:54 2010 +0200 + + clock_t class added + + src/Makefile.am | 2 + + src/clock.cpp | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/clock.hpp | 56 ++++++++++++++++++++++++++++ + src/config.hpp | 7 ++++ + src/socket_base.cpp | 38 +++++-------------- + src/socket_base.hpp | 2 +- + src/zmq.cpp | 43 +++------------------- + 7 files changed, 181 insertions(+), 67 deletions(-) + +commit 7d5061798c93655796b1cf64afd7f5b8146a7681 +Merge: e478468 9129b79 +Author: Martin Sustrik +Date: Sun Sep 26 13:36:05 2010 +0200 + + Merge branch 'maint' + + * maint: + if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed + + Conflicts: + src/app_thread.cpp + +commit 9129b792486b87d4f54607321427c2df783c9ec1 +Author: Martin Sustrik +Date: Sun Sep 26 13:30:33 2010 +0200 + + if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed + + src/app_thread.cpp | 8 +++++--- + 1 files changed, 5 insertions(+), 3 deletions(-) + +commit e478468e52fcb085f9d429cee5dd6938c80343bc +Author: Martin Sustrik +Date: Tue Sep 21 09:10:17 2010 +0200 + + minor error in comment fixed + + src/socket_base.hpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 9c118866003277222173ea04916c3e3b82c88b95 +Author: Martin Sustrik +Date: Tue Sep 21 09:00:46 2010 +0200 + + The flag in the socket has clear semantics now -- it tracks whether corresponding context was closed, it doesn't track whether zmq_close was called on the socket itself + + src/socket_base.cpp | 41 +++++++++++++---------------------------- + src/socket_base.hpp | 6 ++---- + 2 files changed, 15 insertions(+), 32 deletions(-) + +commit 4d51a52874b814f65a31a0c1b8e0a36cb671697c +Author: Martin Sustrik +Date: Mon Sep 20 17:25:04 2010 +0200 + + zmq_poll (select version) now correctly assumes that ZMQ_FD is edge-trigerred + + src/zmq.cpp | 27 ++++++++++----------------- + 1 files changed, 10 insertions(+), 17 deletions(-) + +commit f49b77eedcdacf9663050a20723ac964af7cdac0 +Author: Martin Lucina +Date: Mon Sep 20 16:55:46 2010 +0200 + + zmq_poll honours ZMQ_FORCE_POLL and ZMQ_FORCE_SELECT options + + src/zmq.cpp | 25 +++++++++++++++++++++---- + 1 files changed, 21 insertions(+), 4 deletions(-) + +commit 1abfc92d265bce4f60d63cd302319c451d2c451a +Author: Martin Lucina +Date: Mon Sep 20 16:45:25 2010 +0200 + + minor problem in zmq_poll (select version) fixed + + src/zmq.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 328c92a0a70b98b4a3bf09132bd8f8041e4c8628 +Author: Martin Sustrik +Date: Mon Sep 20 00:06:05 2010 +0200 + + problem with engine being attached to session while it's being terminated fixed + + src/encoder.hpp | 2 +- + src/session.cpp | 40 ++++++++++++++++++++++++++++++++++++++-- + src/session.hpp | 2 ++ + src/zmq_engine.hpp | 5 +---- + 4 files changed, 42 insertions(+), 7 deletions(-) + +commit 1d2399720b3fd06da5e7f9f4a211f30c57a9ce2d +Author: Martin Sustrik +Date: Sun Sep 19 22:45:48 2010 +0200 + + zmq_init_t destroyed zmq_engine_t before plugging it out from the poller first -- fixed + + src/zmq_engine.cpp | 10 +++++++++- + src/zmq_engine.hpp | 7 ++++++- + src/zmq_init.cpp | 2 +- + 3 files changed, 16 insertions(+), 3 deletions(-) + +commit cda3c96a7fed0ee603c13e787ac511a1ea171367 +Author: Martin Sustrik +Date: Sun Sep 19 22:17:37 2010 +0200 + + minor code reorganisation in ctx_t::terminate + + src/ctx.cpp | 31 +++++++++++++++---------------- + 1 files changed, 15 insertions(+), 16 deletions(-) + +commit 938689a49128ca17d2bc9662f311c6dbb70240db +Author: Martin Sustrik +Date: Sun Sep 19 21:40:26 2010 +0200 + + synchronisation problem fixed in ctx_t + + src/ctx.cpp | 2 ++ + src/zmq_init.cpp | 5 ++++- + 2 files changed, 6 insertions(+), 1 deletions(-) + +commit 471013a59fc7f41b694c0bc0b11a459d4c19700d +Author: Martin Sustrik +Date: Sun Sep 19 20:43:14 2010 +0200 + + two races fixed in session creation + + src/zmq_init.cpp | 16 ++++++++++++---- + 1 files changed, 12 insertions(+), 4 deletions(-) + +commit 1f10208ad065c01e172669affdd48b6f2698ff4c +Author: Martin Sustrik +Date: Sun Sep 19 08:42:19 2010 +0200 + + termination of pipe via delimiter message could stuck when no data were read from the pipe (because connection wasn't active) -- fixed + + src/session.cpp | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) + +commit 5153b6368be58d0fcaea262463a3fc08ea658f78 +Author: Martin Sustrik +Date: Sun Sep 19 08:39:53 2010 +0200 + + obsolete 'active' flag removed from session_t + + src/session.cpp | 11 +++-------- + src/session.hpp | 3 --- + 2 files changed, 3 insertions(+), 11 deletions(-) + +commit 4c6d07d3668558d910c9b1d19d52ccdeacc90574 +Author: Martin Sustrik +Date: Sat Sep 18 07:37:36 2010 +0200 + + single term ack counting mechanism for every socket (no separate mechanisms for fq_t and lb_t) + + src/Makefile.am | 1 - + src/fq.cpp | 18 ++++++++---------- + src/fq.hpp | 4 ++-- + src/i_terminate_events.hpp | 38 -------------------------------------- + src/lb.cpp | 18 ++++++++---------- + src/lb.hpp | 4 ++-- + src/own.hpp | 16 ++++++++-------- + src/pull.cpp | 7 ------- + src/pull.hpp | 6 +----- + src/push.cpp | 7 ------- + src/push.hpp | 6 +----- + src/sub.cpp | 7 ------- + src/sub.hpp | 6 +----- + src/xreq.cpp | 7 ------- + src/xreq.hpp | 6 +----- + 15 files changed, 32 insertions(+), 119 deletions(-) + +commit fb6ce536d96c82e8f4378a87a5d59aefcc57a96d +Author: Martin Sustrik +Date: Sat Sep 18 06:48:45 2010 +0200 + + more details on launch_sibling in comments + + src/own.cpp | 8 +++++++- + 1 files changed, 7 insertions(+), 1 deletions(-) + +commit 0c215fada4f448788069e42bda34609f74c8b64b +Author: Martin Sustrik +Date: Sat Sep 18 06:42:46 2010 +0200 + + potential duplicate termination of pipes removed + + src/fq.cpp | 1 + + src/lb.cpp | 1 + + src/socket_base.cpp | 10 ---------- + 3 files changed, 2 insertions(+), 10 deletions(-) + +commit c7b9ba3ccdd5a18afb22dda1afee16c938076c25 +Author: Martin Sustrik +Date: Fri Sep 17 12:58:20 2010 +0200 + + reconnection process fixed when failure occurs during init phase + + src/command.hpp | 3 ++- + src/session.cpp | 8 ++++++++ + 2 files changed, 10 insertions(+), 1 deletions(-) + +commit 85aa25e56cbf6f4194162235fc06bed8683b1bad +Author: Martin Sustrik +Date: Fri Sep 17 12:32:46 2010 +0200 + + bug in REQ+multipart fixed + + src/req.cpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit ff1080728f3a587ee472a64533fd7e44b365e6f0 +Merge: be159b6 e2802d9 +Author: Martin Sustrik +Date: Wed Sep 15 16:58:00 2010 +0200 + + Merge branch 'maint' + + * maint: + values of RATE, RECOVERY_IVL and SWAP options are checked for negative values + +commit e2802d9a4b7e518c549e8dd95a34d2424058f086 +Author: Martin Sustrik +Date: Wed Sep 15 16:44:57 2010 +0200 + + values of RATE, RECOVERY_IVL and SWAP options are checked for negative values + + src/options.cpp | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +commit be159b63169474b644ebd38177bf4e808ebb5487 +Author: Martin Lucina +Date: Mon Sep 13 13:27:48 2010 +0200 + + zmq::writer_t: Add missing test for swap + + src/pipe.cpp | 34 +++++++++++++++++----------------- + 1 files changed, 17 insertions(+), 17 deletions(-) + +commit 92f9136ca6c69d2d1588ff5ff65e668e40e0f7eb +Author: Martin Sustrik +Date: Fri Sep 10 13:11:08 2010 +0200 + + lefover assert removed + + src/lb.cpp | 3 --- + 1 files changed, 0 insertions(+), 3 deletions(-) + +commit a68e6739f4248e25a0f9a64c89729f55dfacb842 +Author: Martin Sustrik +Date: Thu Sep 9 08:25:00 2010 +0200 + + when no I/O threads are available error is raised instead of assertion + + doc/zmq_bind.txt | 2 ++ + doc/zmq_connect.txt | 2 ++ + include/zmq.h | 2 +- + src/connect_session.cpp | 15 ++++++++++----- + src/ctx.cpp | 7 +++++-- + src/ctx.hpp | 5 +++-- + src/object.cpp | 4 ++-- + src/object.hpp | 2 +- + src/socket_base.cpp | 21 ++++++++++++++++++--- + src/zmq.cpp | 2 ++ + src/zmq_connecter.cpp | 9 +++++++-- + src/zmq_listener.cpp | 9 +++++++-- + 12 files changed, 60 insertions(+), 20 deletions(-) + +commit 47e87b7e4b8dd6a0cfbc1f30ffcb06edfa83c853 +Author: Martin Sustrik +Date: Wed Sep 8 15:45:59 2010 +0200 + + EMTHREAD error code returned to zmq.h to ensure backward compatibility + + include/zmq.h | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 91ea20464439b5359a5d803181141fc756fa817c +Author: Martin Sustrik +Date: Wed Sep 8 08:39:27 2010 +0200 + + EINTR returned from the blocking functions + + doc/zmq_getsockopt.txt | 2 + + doc/zmq_poll.txt | 2 + + doc/zmq_recv.txt | 3 ++ + doc/zmq_send.txt | 3 ++ + doc/zmq_setsockopt.txt | 2 + + src/ctx.cpp | 5 --- + src/ctx.hpp | 3 -- + src/io_thread.cpp | 8 ++++- + src/signaler.cpp | 47 +++++++++++++++---------------- + src/signaler.hpp | 2 +- + src/socket_base.cpp | 71 ++++++++++++++++++++++++++--------------------- + src/socket_base.hpp | 3 +- + src/zmq.cpp | 26 +++++++---------- + 13 files changed, 93 insertions(+), 84 deletions(-) + +commit f374431ebe0f3e18a2b2adeafa8093ff59a9eac2 +Author: Martin Sustrik +Date: Tue Sep 7 17:06:33 2010 +0200 + + get rid of 'has virtual functions but non-virtual destructor' warnings in pipe.hpp + + src/pipe.hpp | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +commit 6d4ffd90dbda943e5d1215fb56d06eeac1b4420f +Author: Martin Sustrik +Date: Tue Sep 7 15:49:54 2010 +0200 + + Bug in fq_t and lb_t (when used via ZMQ_EVENTS option) fixed + + src/fq.cpp | 7 +++++-- + src/lb.cpp | 6 +++--- + 2 files changed, 8 insertions(+), 5 deletions(-) + +commit b4740c14e7fc68040037d65bdfac4233b08c5a08 +Merge: d4c8de5 01c463c +Author: Martin Sustrik +Date: Sat Sep 4 19:10:17 2010 +0200 + + Merge branch 'maint' + + * maint: + Version number incremented to 2.0.10 + NEWS updated for 2.0.9 + + Conflicts: + builds/msvc/platform.hpp + configure.in commit 01c463cc89626bf9d69500ab1f4957705663788e Author: Martin Sustrik @@ -220,6 +4354,18 @@ Date: Sat Sep 4 18:38:20 2010 +0200 NEWS | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) +commit d4c8de5050a183f4df72062ce3ff6ceca0128fdf +Merge: 76f2e5d 1e84519 +Author: Martin Lucina +Date: Sat Sep 4 17:49:40 2010 +0200 + + Merge branch 'maint' + + * maint: + Update .gitignore + doc: Add 0MQ version to XHTML11 backend footer + build: Generate ChangeLog in 'make dist', ZIP automatically + commit 1e8451961e498abd1da61e64f5baf48890e1563e Author: Martin Lucina Date: Sat Sep 4 17:44:11 2010 +0200 @@ -260,6 +4406,24 @@ Date: Sat Sep 4 17:26:36 2010 +0200 configure.in | 2 +- 3 files changed, 17 insertions(+), 2729 deletions(-) +commit 76f2e5d5442d3200c8ca09681a887830775c84c0 +Merge: ca17612 db7fe85 +Author: Martin Sustrik +Date: Sat Sep 4 17:19:38 2010 +0200 + + Merge branch 'maint' + + * maint: + Broken device numbering reverted + assert on malformed messages + forwarder and streamer devices handle multi-part messages correctly + improved null checking in zmq_term + + Conflicts: + AUTHORS + include/zmq.h + src/zmq.cpp + commit db7fe858d6356988fb9a9270c235178e523b2370 Author: Martin Sustrik Date: Sat Sep 4 17:12:08 2010 +0200 @@ -299,6 +4463,20 @@ Date: Thu Aug 26 12:14:53 2010 +0200 src/zmq.cpp | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) +commit ca176121deb8dbdc62d8a37fec377c07fc786480 +Merge: 2673a84 51a84c1 +Author: Martin Lucina +Date: Sat Sep 4 16:24:21 2010 +0200 + + Merge branch 'maint' + + * maint: + zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached + zmq.h: Fix typo and use of C99 comment + + Conflicts: + src/zmq.cpp + commit 51a84c15ded2d70985c9d971ebdf3f3c9c18d590 Author: Martin Lucina Date: Sat Sep 4 16:12:33 2010 +0200 @@ -321,6 +4499,24 @@ Date: Sat Sep 4 16:10:14 2010 +0200 include/zmq.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) +commit 2673a84e07b93b8607958516c55341c2eb220a6e +Merge: 0a1f7e3 ee3444f +Author: Martin Lucina +Date: Sat Sep 4 16:01:31 2010 +0200 + + Merge branch 'maint' + + * maint: + doc: Update zmq_socket(3) for 2.0.8 API changes + Revert "Added man page for the zmq_device method" + Revert "Added clean target that deletes generated man pages" + Revert "Various changes to documentation project:" + Revert "Reverting 'clean' change to Makefile" + Revert "Removed empty man pages for old standalone devices" + Revert "Further cleanups on reference manual" + Revert "Small improvements to zmq_device(3) page" + Revert "Removed wip zmq_deviced from master" + commit ee3444ff93888a052cd1ba48aa22892f7077a7a0 Author: Martin Lucina Date: Sat Sep 4 16:00:26 2010 +0200 @@ -473,6 +4669,21 @@ Date: Sat Sep 4 15:51:09 2010 +0200 doc/zmq_deviced.txt | 145 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 149 insertions(+), 2 deletions(-) +commit 0a1f7e3524338690551c04ebfccd896a0b96f399 +Merge: a81a373 14853c2 +Author: Martin Sustrik +Date: Thu Sep 2 08:07:40 2010 +0200 + + Merge branch 'maint' + + * maint: + Prior to this patch prefix_tree asserts. + Fix for signaler_t on HP-UX and AIX platforms + Mikael Kjaer added to AUTHORS + + Conflicts: + src/trie.cpp + commit 14853c2db528b3fd6eed84786053549e71f61bb7 Author: Jon Dyte Date: Thu Sep 2 07:52:02 2010 +0200 @@ -508,6 +4719,16 @@ Date: Thu Sep 2 07:26:14 2010 +0200 AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) +commit a81a37399b2ab4143aedf3ff4c442655b9e7e9b7 +Merge: 47aaf10 59315eb +Author: Martin Sustrik +Date: Wed Sep 1 18:42:15 2010 +0200 + + Merge branch 'maint' + + * maint: + Erasure of retired fd's in select.cpp causes an assertion in MSVC 2008 STL + commit 59315ebdcb565d23ba78ba0ca8581cef465fc9bd Author: Mikael Helbo Kjær Date: Wed Sep 1 18:39:12 2010 +0200 @@ -523,6 +4744,20 @@ Date: Wed Sep 1 18:39:12 2010 +0200 src/select.cpp | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) +commit 47aaf10211a0f3380dc82942a8cb4eba8c3c7ea3 +Merge: 0fe7d3c 99ddfa7 +Author: Martin Sustrik +Date: Wed Sep 1 18:35:48 2010 +0200 + + Merge branch 'maint' + + * maint: + maint: will become 2.0.9 + + Conflicts: + builds/msvc/platform.hpp + configure.in + commit 99ddfa7d65a4556bdbb68fd1831e2de73595f0c7 Author: Martin Sustrik Date: Wed Sep 1 18:22:03 2010 +0200 @@ -533,6 +4768,696 @@ Date: Wed Sep 1 18:22:03 2010 +0200 configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) +commit 0fe7d3c998f65fb93b0f3d15c40d8bc2fe0923ad +Merge: 651c1ad 6a0c323 +Author: Martin Sustrik +Date: Wed Sep 1 15:29:19 2010 +0200 + + conflicts resolved + +commit 651c1adc80ddc724877f2ebedf07d18e21e363f6 +Author: Martin Sustrik +Date: Wed Sep 1 15:24:46 2010 +0200 + + sys transport introdced; inproc://log moved to sys://log + + src/ctx.cpp | 2 +- + src/socket_base.cpp | 10 +++++----- + 2 files changed, 6 insertions(+), 6 deletions(-) + +commit 6a0c323bb231a2460c238cd0b93293fcd482f9bc +Author: Martin Sustrik +Date: Wed Sep 1 13:31:45 2010 +0200 + + MSVC build fixed + + builds/msvc/libzmq/libzmq.vcproj | 24 ++++++++---------------- + src/ctx.cpp | 6 ++++-- + 2 files changed, 12 insertions(+), 18 deletions(-) + +commit ce0972dca3982538fd123b61fbae3928fad6d1e7 +Author: Martin Sustrik +Date: Wed Sep 1 07:57:38 2010 +0200 + + context creates an inproc endpoint ('inproc://log') to distribute 0MQ's log messages + + src/ctx.cpp | 25 +++++++++++++++++++++++-- + src/ctx.hpp | 10 ++++++++++ + src/object.cpp | 5 +++++ + src/object.hpp | 5 +++++ + 4 files changed, 43 insertions(+), 2 deletions(-) + +commit db73c76314d7109da4b400a3edb107c4eda802a2 +Author: Martin Sustrik +Date: Wed Sep 1 07:56:04 2010 +0200 + + assert when pipe attaches to PUB socket in process of termination -- fixed + + src/pub.cpp | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +commit aaa07613d3d7ff1eafcec3d38769f806fae5ac5c +Author: Martin Sustrik +Date: Wed Sep 1 07:54:57 2010 +0200 + + pipe being attached to the PAIR socket during its termination process is immediately asked to terminate itself + + src/pair.cpp | 7 ++++++- + 1 files changed, 6 insertions(+), 1 deletions(-) + +commit 47c064f2eaa01c324e06588a4f07892762e78fcd +Author: Martin Sustrik +Date: Wed Sep 1 07:35:15 2010 +0200 + + hangup when closing socket with no pipes attached -- fixed + + src/fq.cpp | 5 +++++ + src/lb.cpp | 5 +++++ + 2 files changed, 10 insertions(+), 0 deletions(-) + +commit 090e460d6f09b5611d34a4867efb6cf46dd44a34 +Author: Martin Sustrik +Date: Tue Aug 31 21:03:34 2010 +0200 + + naming cleanup: yarray->array + + src/Makefile.am | 3 +- + src/array.hpp | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/ctx.hpp | 4 +- + src/fq.hpp | 4 +- + src/lb.hpp | 4 +- + src/pipe.hpp | 6 +- + src/pub.hpp | 4 +- + src/socket_base.hpp | 4 +- + src/yarray.hpp | 110 -------------------------------------- + src/yarray_item.hpp | 64 ---------------------- + 10 files changed, 160 insertions(+), 189 deletions(-) + +commit f5acbb5095901e56a9bfd29b9a8c1c7d3f165ce3 +Author: Martin Sustrik +Date: Tue Aug 31 07:01:40 2010 +0200 + + naming cleanup: zmq_encoder->encoder, zmq_decoder->decoder + + src/Makefile.am | 6 +-- + src/decoder.cpp | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ + src/decoder.hpp | 47 +++++++++++++++++---- + src/encoder.cpp | 89 +++++++++++++++++++++++++++++++++++++++ + src/encoder.hpp | 39 +++++++++++++---- + src/pgm_receiver.cpp | 2 +- + src/pgm_receiver.hpp | 6 +- + src/pgm_sender.hpp | 4 +- + src/zmq_decoder.cpp | 114 -------------------------------------------------- + src/zmq_decoder.hpp | 59 -------------------------- + src/zmq_encoder.cpp | 89 --------------------------------------- + src/zmq_encoder.hpp | 55 ------------------------ + src/zmq_engine.hpp | 8 ++-- + 13 files changed, 283 insertions(+), 349 deletions(-) + +commit e45583c0f2b8fb11f119317e7c94052c07c24ea8 +Author: Martin Sustrik +Date: Mon Aug 30 17:04:51 2010 +0200 + + OSX build fixed -- semaphore replaced by mutex + + src/semaphore.hpp | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++- + 1 files changed, 53 insertions(+), 2 deletions(-) + +commit f0a36f9994e0a4e6e509bdf4b6dd75af27f984bb +Author: Martin Sustrik +Date: Mon Aug 30 15:28:08 2010 +0200 + + Minor patch to zmq_cpp(7) + + doc/zmq_cpp.txt | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit fba90af8a7cc4a790cc9c77b6313fc253b51c36c +Author: Martin Sustrik +Date: Mon Aug 30 12:10:40 2010 +0200 + + Issue 54 - socket_base.cpp:162 comparison error + + src/socket_base.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 68d62cfb4eb89549a3118e8e396531452b1174c3 +Author: Martin Sustrik +Date: Sat Aug 28 14:07:26 2010 +0200 + + MSVC build fixed + + builds/msvc/libzmq/libzmq.vcproj | 32 ++++++++++++++++---------------- + 1 files changed, 16 insertions(+), 16 deletions(-) + +commit 0a8473deddae61a8c9221c3df089239ac2e2ca62 +Author: Guido Goldstein +Date: Sat Aug 28 13:58:23 2010 +0200 + + Added tests for transports per socket + + tests/Makefile.am | 17 +++++++-- + tests/simple.cpp | 32 ----------------- + tests/test_pair.cpp | 78 ------------------------------------------ + tests/test_pair_inproc.cpp | 30 ++++++++++++++++ + tests/test_pair_ipc.cpp | 30 ++++++++++++++++ + tests/test_pair_tcp.cpp | 30 ++++++++++++++++ + tests/test_reqrep.cpp | 77 ----------------------------------------- + tests/test_reqrep_inproc.cpp | 30 ++++++++++++++++ + tests/test_reqrep_ipc.cpp | 30 ++++++++++++++++ + tests/test_reqrep_tcp.cpp | 30 ++++++++++++++++ + tests/testutil.hpp | 69 +++++++++++++++++++++++++++++++++++-- + 11 files changed, 258 insertions(+), 195 deletions(-) + +commit 6ec783e7023b4c4d4d10a3870b4c560684ae7069 +Author: Martin Sustrik +Date: Sat Aug 28 13:26:19 2010 +0200 + + prefix_tree_t renamed to trie_t + + src/Makefile.am | 4 +- + src/prefix_tree.cpp | 180 --------------------------------------------------- + src/prefix_tree.hpp | 55 ---------------- + src/sub.hpp | 4 +- + src/trie.cpp | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/trie.hpp | 58 ++++++++++++++++ + 6 files changed, 242 insertions(+), 239 deletions(-) + +commit beea535f9d7ff210ea035de190c0d87184ee1963 +Author: Martin Sustrik +Date: Sat Aug 28 13:18:53 2010 +0200 + + swap's block size made into a compile-time parameter + + src/config.hpp | 4 ++++ + src/swap.cpp | 5 +++-- + src/swap.hpp | 2 +- + 3 files changed, 8 insertions(+), 3 deletions(-) + +commit d8b975f4e73ae940c0c0f9c8c6c7aac1199fee09 +Author: Martin Sustrik +Date: Sat Aug 28 13:14:45 2010 +0200 + + msg_store_t renamed to swap_t + + src/Makefile.am | 4 +- + src/msg_store.cpp | 307 ----------------------------------------------------- + src/msg_store.hpp | 114 -------------------- + src/pipe.cpp | 2 +- + src/pipe.hpp | 4 +- + src/swap.cpp | 307 +++++++++++++++++++++++++++++++++++++++++++++++++++++ + src/swap.hpp | 114 ++++++++++++++++++++ + 7 files changed, 426 insertions(+), 426 deletions(-) + +commit d90b4071151e3752208d3a9d49fb50845f89ab1b +Author: Martin Sustrik +Date: Sat Aug 28 13:06:58 2010 +0200 + + refactoring of pipe/swap interaction + + src/pipe.cpp | 194 ++++++++++++++++++++++++++++++---------------------------- + src/pipe.hpp | 39 ++++++------ + 2 files changed, 120 insertions(+), 113 deletions(-) + +commit 42000d2c4f988a164eaeb9b580a4f588d91e353e +Author: Martin Sustrik +Date: Sat Aug 28 10:15:03 2010 +0200 + + terminology unified: revive->activate + + src/command.hpp | 13 ++++++------- + src/fq.cpp | 4 ++-- + src/object.cpp | 26 +++++++++++++------------- + src/object.hpp | 8 ++++---- + src/pipe.cpp | 8 ++++---- + src/pipe.hpp | 4 ++-- + src/socket_base.cpp | 5 +++-- + 7 files changed, 34 insertions(+), 34 deletions(-) + +commit 92923cd40b645af844c5ed1055a0a45c6daa3c89 +Author: Martin Sustrik +Date: Sat Aug 28 08:44:12 2010 +0200 + + bug in pipe deactivation fixed + + src/pipe.cpp | 8 +++----- + src/socket_base.cpp | 2 +- + tests/test_pair.cpp | 7 ++++--- + tests/test_reqrep.cpp | 4 ++-- + 4 files changed, 10 insertions(+), 11 deletions(-) + +commit 035c937ee7452708a9dd3abd851fda6a753808f4 +Author: Martin Sustrik +Date: Sat Aug 28 07:02:22 2010 +0200 + + zmq_poll: account for the fact that ZMQ_FD is edge-triggered + + src/zmq.cpp | 31 ++++++++++++++++++++++++------- + 1 files changed, 24 insertions(+), 7 deletions(-) + +commit 67aa788577fb49474dd7329b14316d25f1b3c08b +Author: Guido Goldstein +Date: Sat Aug 28 06:31:40 2010 +0200 + + Fixed socket states in tests + + tests/test_pair.cpp | 3 +++ + tests/test_reqrep.cpp | 3 +++ + tests/testutil.hpp | 6 +++++- + 3 files changed, 11 insertions(+), 1 deletions(-) + +commit 4d9b046977f895f8d61731672a5e84967ed85eb2 +Author: Guido Goldstein +Date: Fri Aug 27 21:13:45 2010 +0200 + + two tests added + + AUTHORS | 1 + + tests/Makefile.am | 4 ++- + tests/simple.cpp | 2 +- + tests/test_pair.cpp | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ + tests/test_reqrep.cpp | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ + tests/testutil.hpp | 64 ++++++++++++++++++++++++++++++++++++++++++ + 6 files changed, 217 insertions(+), 2 deletions(-) + +commit 0b76f234a2c521194029c6708c394391dfc66ea7 +Merge: 35cb1fa 98dc118 +Author: Martin Lucina +Date: Fri Aug 27 18:41:10 2010 +0200 + + Merge branch 'master' of github.com:zeromq/zeromq2 + +commit 35cb1fade62a92fdccc9fa0d75a3b69115c56c35 +Author: Martin Lucina +Date: Fri Aug 27 18:35:59 2010 +0200 + + Add a basic framework for a test suite + + The test suite uses the standard automake support. Tests are always built, + but run only when you do a "make check". + + Makefile.am | 4 ++-- + configure.in | 2 +- + tests/Makefile.am | 8 ++++++++ + tests/simple.cpp | 32 ++++++++++++++++++++++++++++++++ + 4 files changed, 43 insertions(+), 3 deletions(-) + +commit 98dc11843e3234e3d70b50d4f650089e7cf99e63 +Author: Dhammika Pathirana +Date: Fri Aug 27 18:06:37 2010 +0200 + + assert on malformed messages + + src/zmq_decoder.cpp | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) + +commit 56faac7f19bf2a6d2c7b6e0c2e35fcb667a72a48 +Author: Martin Sustrik +Date: Fri Aug 27 15:01:38 2010 +0200 + + zmq_poll returns prematurely even if infinite timeout is set - fixed + + src/zmq.cpp | 204 +++++++++++++++++++++++++++++++++-------------------------- + 1 files changed, 114 insertions(+), 90 deletions(-) + +commit 3cb84b5ceac0f8652a99ec61152a865292e02cf1 +Author: Jon Dyte +Date: Fri Aug 27 06:59:55 2010 +0200 + + forwarder and streamer devices handle multi-part messages correctly + + src/forwarder.cpp | 17 ++++++++++++++--- + src/queue.cpp | 15 ++++++++------- + src/streamer.cpp | 17 ++++++++++++++--- + 3 files changed, 36 insertions(+), 13 deletions(-) + +commit 43f2c6ff5b15d6feae2bd608e50503f7d4c62682 +Author: Ivo Danihelka +Date: Thu Aug 26 12:14:53 2010 +0200 + + improved null checking in zmq_term + + AUTHORS | 1 + + src/zmq.cpp | 7 ++++--- + 2 files changed, 5 insertions(+), 3 deletions(-) + +commit b608c19c5a28f0f49a106bfddf680f0a410df6c8 +Author: Martin Sustrik +Date: Tue Aug 24 15:58:48 2010 +0200 + + MSVC build fixed + + builds/msvc/libzmq/libzmq.vcproj | 52 ++++++++++++++++++++++++------------- + src/pipe.hpp | 9 +++--- + src/socket_base.cpp | 1 + + 3 files changed, 40 insertions(+), 22 deletions(-) + +commit 9b8993efb48ccbe3df917338cc078129b5af495b +Author: Martin Sustrik +Date: Tue Aug 24 11:19:22 2010 +0200 + + elementary fixes to the named session + + src/named_session.cpp | 21 +++++++++++---------- + src/session.cpp | 37 +++++++++++-------------------------- + src/session.hpp | 9 ++++----- + src/socket_base.cpp | 12 ++++++------ + src/socket_base.hpp | 7 +++---- + src/zmq_init.cpp | 6 ++---- + 6 files changed, 37 insertions(+), 55 deletions(-) + +commit 46d70555659c05a0c8d95c6d7aa8c7e0cc5ebc66 +Author: Martin Sustrik +Date: Tue Aug 24 10:20:55 2010 +0200 + + connecter object unregisters its fd correctly + + src/zmq_connecter.cpp | 12 ++++-------- + src/zmq_connecter.hpp | 1 - + 2 files changed, 4 insertions(+), 9 deletions(-) + +commit 87655b0b9d9121465e0b2ea1976b0879b1b1f756 +Author: Martin Sustrik +Date: Tue Aug 24 09:57:15 2010 +0200 + + listener object unregisters its fd correctly + + src/zmq_engine.cpp | 3 --- + src/zmq_listener.cpp | 5 ++--- + src/zmq_listener.hpp | 2 +- + 3 files changed, 3 insertions(+), 7 deletions(-) + +commit 0d5f3ebbdad12a63e7cc28c53c38d750761a75e3 +Author: Martin Sustrik +Date: Tue Aug 24 09:39:17 2010 +0200 + + sessions created by listerner are correctly shut down + + src/session.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit 5a731e73c855cd96040b3ecd55ef3b65606e1eb6 +Author: Martin Sustrik +Date: Sat Aug 14 08:53:52 2010 +0200 + + added ZMQ_MAKE_VALGRIND_HAPPY compile-time option + + perf/remote_thr.cpp | 8 ++++++-- + src/object.cpp | 36 ++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+), 2 deletions(-) + +commit 43e34d028115c43577713c0c3e1f0c33b0aac94a +Author: Martin Sustrik +Date: Sat Aug 14 08:37:38 2010 +0200 + + engine leak fixed; pgm compilation fixed + + src/connect_session.cpp | 20 ++++++++------------ + src/i_engine.hpp | 4 ++++ + src/pgm_receiver.cpp | 12 +++++++++--- + src/pgm_receiver.hpp | 7 ++++--- + src/pgm_sender.cpp | 12 +++++++++--- + src/pgm_sender.hpp | 7 ++++--- + src/session.cpp | 3 +++ + src/socket_base.cpp | 2 -- + src/zmq_engine.cpp | 6 ++++++ + src/zmq_engine.hpp | 1 + + 10 files changed, 48 insertions(+), 26 deletions(-) + +commit 45f83d78a56f4b3a812c87fec03a75558445b2ab +Author: Martin Sustrik +Date: Thu Aug 12 15:03:51 2010 +0200 + + one more dezombification bug fixed + + src/ctx.cpp | 33 +++++++++------------------------ + src/ctx.hpp | 7 +------ + src/object.cpp | 5 ----- + src/object.hpp | 3 --- + src/own.cpp | 7 ++++++- + src/own.hpp | 5 ++++- + src/socket_base.cpp | 21 ++++++++++++++++----- + src/socket_base.hpp | 12 ++++++++++-- + 8 files changed, 46 insertions(+), 47 deletions(-) + +commit 936dbf956b0f1471a96fc06bcba67765257dbc4a +Author: Martin Sustrik +Date: Thu Aug 12 08:16:18 2010 +0200 + + dezombification procedure fixed + + src/ctx.cpp | 46 ++++++++++++++++++++++++++++++++++------------ + src/ctx.hpp | 12 ++++++++---- + src/object.cpp | 5 +++++ + src/object.hpp | 3 +++ + src/socket_base.cpp | 10 ++++++---- + src/socket_base.hpp | 4 ++-- + src/zmq.cpp | 2 +- + 7 files changed, 59 insertions(+), 23 deletions(-) + +commit 76bd6e73c335dbebd8bd30565f83a810058f2cc8 +Author: Martin Sustrik +Date: Wed Aug 11 17:06:49 2010 +0200 + + engine termination on disconnect fixed + + src/connect_session.cpp | 2 +- + src/connect_session.hpp | 6 +++--- + src/session.cpp | 14 ++++++++++++-- + src/session.hpp | 1 + + src/transient_session.cpp | 2 +- + src/transient_session.hpp | 5 +++-- + 6 files changed, 21 insertions(+), 9 deletions(-) + +commit d13933bc62fce71b5a58118020e0dd3776e79aa9 +Author: Martin Sustrik +Date: Wed Aug 11 14:09:56 2010 +0200 + + I/O object hierarchy implemented + + src/Makefile.am | 11 +- + src/command.hpp | 4 +- + src/connect_session.cpp | 115 ++++++++++++ + src/connect_session.hpp | 60 ++++++ + src/ctx.cpp | 6 +- + src/ctx.hpp | 2 +- + src/fq.cpp | 21 ++- + src/fq.hpp | 11 +- + src/i_engine.hpp | 15 +- + src/i_inout.hpp | 21 +-- + src/i_terminate_events.hpp | 38 ++++ + src/io_object.cpp | 22 ++- + src/io_object.hpp | 10 +- + src/lb.cpp | 22 ++- + src/lb.hpp | 11 +- + src/named_session.cpp | 87 +++++++++ + src/named_session.hpp | 56 ++++++ + src/object.cpp | 26 ++-- + src/object.hpp | 23 ++- + src/own.cpp | 198 ++++++++++++++++++++ + src/own.hpp | 132 +++++++++++++ + src/owned.cpp | 77 -------- + src/owned.hpp | 94 ---------- + src/pair.cpp | 28 ++- + src/pair.hpp | 7 +- + src/pub.cpp | 26 ++- + src/pub.hpp | 8 +- + src/pull.cpp | 14 +- + src/pull.hpp | 17 ++- + src/push.cpp | 14 +- + src/push.hpp | 17 ++- + src/session.cpp | 161 ++++++----------- + src/session.hpp | 73 +++++--- + src/socket_base.cpp | 435 +++++++++++++------------------------------- + src/socket_base.hpp | 68 ++----- + src/sub.cpp | 12 +- + src/sub.hpp | 11 +- + src/transient_session.cpp | 36 ++++ + src/transient_session.hpp | 46 +++++ + src/xrep.cpp | 25 ++- + src/xrep.hpp | 12 +- + src/xreq.cpp | 17 +- + src/xreq.hpp | 13 +- + src/zmq_connecter.cpp | 38 ++--- + src/zmq_connecter.hpp | 24 +-- + src/zmq_engine.cpp | 52 ++--- + src/zmq_engine.hpp | 14 +- + src/zmq_init.cpp | 142 +++++++------- + src/zmq_init.hpp | 33 ++-- + src/zmq_listener.cpp | 19 +- + src/zmq_listener.hpp | 11 +- + 51 files changed, 1441 insertions(+), 994 deletions(-) + +commit ee1f1af0091d9bdffa0e5ce1783da925b3cd7e56 +Author: Martin Lucina +Date: Sat Aug 7 21:04:30 2010 +0200 + + zmq_poll(): Fix some corner cases + + Trying to optimize out the case where items_[i]. events is 0 would + result in a bogus pollfds[i]. Similarly in the select()-based impl, + while not strictly necessary it's better to get ZMQ_FD even if + events is 0 since that detects ETERM and friends. + + src/zmq.cpp | 14 ++++++++------ + 1 files changed, 8 insertions(+), 6 deletions(-) + +commit a85d1e51bff991a0d2f93ded2724e0ee290edf12 +Author: Martin Lucina +Date: Sat Aug 7 20:35:42 2010 +0200 + + zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt2 + + Rewrite the select()-based zmq_poll() implementation to use + ZMQ_FD and ZMQ_EVENTS. + + Also fix some corner cases: We should not pollute revents with + unrequested events, and we don't need to poll on ZMQ_FD at all + if a pollitem with no events set was passed in. + + src/zmq.cpp | 227 +++++++++++++++++++++++----------------------------------- + 1 files changed, 90 insertions(+), 137 deletions(-) + +commit 6b1ca2cb1e0adc9f28aae8d322b0832a3b174a04 +Author: Martin Lucina +Date: Sat Aug 7 18:33:44 2010 +0200 + + Fix whitespace + + Dunno where those s came from... + + src/zmq.cpp | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +commit cd12508418530724f10a353fc3a14ab321d0be8e +Author: Martin Lucina +Date: Sat Aug 7 18:24:12 2010 +0200 + + zmq_poll(): Rewrite to use ZMQ_FD/ZMQ_EVENTS pt1 + + Rewrite zmq_poll() to use ZMQ_FD and ZMQ_EVENTS introduced on the + wip-shutdown branch. Only do the poll()-based version of zmq_poll (), the + select()-based version will not compile at the moment. + + src/zmq.cpp | 169 +++++++++++++++++++---------------------------------------- + 1 files changed, 54 insertions(+), 115 deletions(-) + +commit eb7b8a413a99b2e43e8feee410f2b860e99e7056 +Author: Martin Sustrik +Date: Sat Aug 7 11:24:07 2010 +0200 + + REP socket layered on top of XREP socket + + src/rep.cpp | 263 +++++++++-------------------------------------------------- + src/rep.hpp | 49 ++---------- + 2 files changed, 45 insertions(+), 267 deletions(-) + +commit 3e97c0fef49e511dcae400e134876581cdae43f3 +Author: Martin Sustrik +Date: Sat Aug 7 09:52:34 2010 +0200 + + REQ socket implementation is layered on top of XREQ + + src/fq.cpp | 7 ++ + src/pipe.cpp | 6 +- + src/req.cpp | 243 ++++++++-------------------------------------------------- + src/req.hpp | 54 +------------ + 4 files changed, 47 insertions(+), 263 deletions(-) + +commit f77edfce26bf50ab6eae6550d33f345c9785acca +Author: Martin Sustrik +Date: Fri Aug 6 20:55:37 2010 +0200 + + Destruction of session is delayed till both in & out pipes are closed + + src/pipe.cpp | 5 ----- + src/pipe.hpp | 4 ---- + src/session.cpp | 7 ++++--- + 3 files changed, 4 insertions(+), 12 deletions(-) + +commit 05d908492dc382941fc633ad7082b5bd86e84e67 +Author: Martin Sustrik +Date: Fri Aug 6 17:49:37 2010 +0200 + + WIP: Socket migration between threads, new zmq_close() semantics + + Sockets may now be migrated between OS threads; sockets may not be used by + more than one thread at any time. To migrate a socket to another thread the + caller must ensure that a full memory barrier is called before using the + socket from the target thread. + + The new zmq_close() semantics implement the behaviour discussed at: + + http://lists.zeromq.org/pipermail/zeromq-dev/2010-July/004244.html + + Specifically, zmq_close() is now deterministic and while it still returns + immediately, it does not discard any data that may still be queued for + sending. Further, zmq_term() will now block until all outstanding data has + been sent. + + TODO: Many bugs have been introduced, needs testing. Further, SO_LINGER or + an equivalent mechanism (possibly a configurable timeout to zmq_term()) + needs to be implemented. + + include/zmq.h | 70 ++++---- + src/Makefile.am | 15 +- + src/app_thread.cpp | 195 -------------------- + src/app_thread.hpp | 88 --------- + src/config.hpp | 5 +- + src/ctx.cpp | 249 ++++++++++++-------------- + src/ctx.hpp | 94 ++++------ + src/fq.cpp | 29 ++- + src/fq.hpp | 17 ++- + src/i_endpoint.hpp | 43 ----- + src/io_thread.cpp | 5 +- + src/io_thread.hpp | 2 +- + src/lb.cpp | 21 ++- + src/lb.hpp | 13 +- + src/object.cpp | 29 ++-- + src/object.hpp | 14 +- + src/owned.cpp | 10 +- + src/owned.hpp | 9 +- + src/pair.cpp | 72 +++++--- + src/pair.hpp | 26 ++- + src/pipe.cpp | 250 +++++++++++++++----------- + src/pipe.hpp | 111 +++++++----- + src/pub.cpp | 62 +++----- + src/pub.hpp | 21 +-- + src/pull.cpp | 48 +----- + src/pull.hpp | 16 +-- + src/push.cpp | 50 +----- + src/push.hpp | 16 +-- + src/rep.cpp | 81 ++++++--- + src/rep.hpp | 30 ++-- + src/req.cpp | 65 ++++--- + src/req.hpp | 32 ++-- + src/semaphore.hpp | 135 ++++++++++++++ + src/session.cpp | 62 ++++--- + src/session.hpp | 26 ++- + src/socket_base.cpp | 495 +++++++++++++++++++++++++++++++++++++-------------- + src/socket_base.hpp | 100 +++++++---- + src/sub.cpp | 40 +---- + src/sub.hpp | 11 +- + src/thread.cpp | 20 -- + src/thread.hpp | 9 - + src/xrep.cpp | 65 ++++---- + src/xrep.hpp | 26 ++- + src/xreq.cpp | 37 +--- + src/xreq.hpp | 10 +- + src/zmq.cpp | 7 +- + src/zmq_encoder.cpp | 2 +- + 47 files changed, 1427 insertions(+), 1406 deletions(-) + +commit b7e0fa972f45d21e45cacb93a1a92d38fdc11f40 +Author: Martin Sustrik +Date: Wed Aug 25 15:38:43 2010 +0200 + + 'master' will become 2.1.x release + + builds/msvc/platform.hpp | 4 ++-- + configure.in | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + commit 1e089f7163c8c59b60b39742ee4bc40e1ca843c5 Author: Martin Lucina Date: Wed Aug 25 13:11:20 2010 +0200 -- cgit v1.2.3