# Generated by Makefile. Do not edit. commit 8daada4bdc41bfe9da9e3c93c8b0f6c04a6cb0ec Author: Pieter Hintjens Date: Tue Apr 10 20:30:31 2012 +0200 gcc_421_char_traits.hpp was missing from tarballs src/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit fb64b8801cd02776e1524aedc41083f9bf876e4d Merge: 2bdb487 f2a8fa1 Author: Pieter Hintjens Date: Wed Apr 4 04:36:54 2012 -0700 Merge pull request #47 from pieterh/master Bumped version for next release (2.2.1) commit f2a8fa1de6d92c5264ff19e3ed05af115069edc0 Author: Pieter Hintjens Date: Wed Apr 4 12:26:45 2012 +0100 Bumped version number to 2.2.1 for next release include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2bdb487abbe69984ec264ddcb785e032e1b0419f Merge: bfd04c5 0b2f5cb Author: Pieter Hintjens Date: Wed Apr 4 04:11:29 2012 -0700 Merge pull request #46 from pieterh/master Preparing for release 2.2.0 commit 0b2f5cbac93b674e6282cc85222b64cf6a17950a Author: Pieter Hintjens Date: Wed Apr 4 12:06:28 2012 +0100 Fixed man pages for release 2.2.0 * Fixed new entries for getsockopt/setsockopt SNDTIMEO and RCVTIMEO * Removed individual authorship from man page footers doc/zmq.txt | 3 +- doc/zmq_bind.txt | 3 +- doc/zmq_close.txt | 3 +- doc/zmq_connect.txt | 3 +- doc/zmq_cpp.txt | 3 +- doc/zmq_device.txt | 16 +---------- doc/zmq_errno.txt | 3 +- doc/zmq_getsockopt.txt | 67 ++++++++++++++++++++++----------------------- doc/zmq_init.txt | 3 +- doc/zmq_inproc.txt | 3 +- doc/zmq_ipc.txt | 3 +- doc/zmq_msg_close.txt | 3 +- doc/zmq_msg_copy.txt | 3 +- doc/zmq_msg_data.txt | 3 +- doc/zmq_msg_init.txt | 3 +- doc/zmq_msg_init_data.txt | 3 +- doc/zmq_msg_init_size.txt | 3 +- doc/zmq_msg_move.txt | 3 +- doc/zmq_msg_size.txt | 3 +- doc/zmq_pgm.txt | 4 +- doc/zmq_poll.txt | 3 +- doc/zmq_recv.txt | 3 +- doc/zmq_send.txt | 3 +- doc/zmq_setsockopt.txt | 67 ++++++++++++++++++++++----------------------- doc/zmq_socket.txt | 3 +- doc/zmq_strerror.txt | 3 +- doc/zmq_tcp.txt | 3 +- doc/zmq_term.txt | 3 +- doc/zmq_version.txt | 4 +- 29 files changed, 95 insertions(+), 135 deletions(-) commit 87cce25bd9b31a192297bc4213f45107f5a1b796 Author: Pieter Hintjens Date: Wed Apr 4 11:53:58 2012 +0100 Updated product version to 2.2.0 include/zmq.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 33af4869733de3f646daf2bafc242f813fb927f4 Author: Pieter Hintjens Date: Wed Apr 4 11:53:02 2012 +0100 Updated ABI version to 1.1.0 configure.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit b0d95774000b930125f24450f9e080b9e8b63a0c Author: Pieter Hintjens Date: Wed Apr 4 11:50:50 2012 +0100 Updated NEWS for version 2.2.0 NEWS | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) commit bfd04c5b867890b4d6a563f2a7d95b5d183e84ba Merge: 6ab8ef0 1e5c6fa Author: Pieter Hintjens Date: Tue Apr 3 05:27:13 2012 -0700 Merge pull request #45 from jhawk28/master Fix issue 349 commit 1e5c6fa0077dcd5767bc557fbccaf383dee98339 Author: Joshua Foster Date: Sun Apr 1 20:44:26 2012 -0400 Fix issue 349 https://zeromq.jira.com/browse/LIBZMQ-349 Add the send/recv socket options from 3.1.0. .gitignore | 1 + NEWS | 2 + doc/zmq_getsockopt.txt | 32 ++++++++++++ doc/zmq_setsockopt.txt | 32 ++++++++++++ include/zmq.h | 4 +- src/options.cpp | 39 +++++++++++++++- src/options.hpp | 4 ++ src/socket_base.cpp | 8 ++-- tests/Makefile.am | 4 +- tests/test_timeo.cpp | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 244 insertions(+), 7 deletions(-) commit 6ab8ef084242299a9b8ada00b500126e465f6618 Author: Pieter Hintjens Date: Tue Mar 20 14:48:45 2012 -0500 Updated NEWS for issue 342 NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 6f3967176b1d3b6f0f586cc92848f9f6e80ee912 Merge: 24f1175 4b8ace2 Author: Pieter Hintjens Date: Tue Mar 20 12:47:19 2012 -0700 Merge pull request #42 from yisding/master missing algorithm include commit 24f1175d942323697bff6ed1690ffbdcf2f33631 Merge: 25c7cd0 48f70a8 Author: Chuck Remes Date: Tue Mar 20 09:40:20 2012 -0700 Merge pull request #44 from pieterh/master Fixed issue LIBZMQ-293 - libzmq doesn't follow ZMTP/1.0 spec commit 48f70a88a31245667fccd5227d60cac34a06855f Author: Pieter Hintjens Date: Tue Mar 20 11:28:36 2012 -0500 Fixed issue #293 - libzmq doesn't follow ZMTP/1.0 spec NEWS | 4 +++- src/encoder.cpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit 25c7cd0691b77770a4b85a13964e22d2274da4b7 Author: Pieter Hintjens Date: Tue Mar 20 11:05:26 2012 -0500 Updated for issue 332 NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 033907f2b810f8476c300c169e0fa6b912a56e22 Author: Pieter Hintjens Date: Thu Feb 16 12:14:56 2012 -0600 Updated NEWS for PR #36 NEWS | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit e4d7ad2643ac4e5391ae3939d3e19b6b0a05830f Merge: ec3e95a ba61dde Author: Pieter Hintjens Date: Tue Mar 20 09:02:55 2012 -0700 Merge pull request #43 from jlopex/master Fixes issue LIBZMQ-332 commit ba61dde6730aa79f05450a8b56b22dbf528eb57c Author: Javier Lopez Date: Mon Mar 19 19:13:56 2012 -0700 Fixes zeromq 2.1 not compiling on Android According to the libc documentation S_IWRITE is only for BSD compatibility: http://www.gnu.org/s/hello/manual/libc/Permission-Bits.html This patch adds a check to determine the target platform and use correct file access definition in each case: - For Linux and Android S_IWUSR is used. - For other platforms S_IWRITE is used. Signed-off-by: Javier Lopez src/options.cpp | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) commit 4b8ace2e68b2a50caad1b6204335aa00720c1c8e Author: Yi Ding Date: Sun Feb 19 15:13:27 2012 -0600 Add algorithm include for std::swap include/zmq.hpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit ec3e95a67e9fba9542e45aeadd5bd9fc22ea6dfa Merge: 71dc626 dbf1db2 Author: Pieter Hintjens Date: Thu Feb 16 10:16:29 2012 -0800 Merge pull request #40 from gitfoxi/master Backport some build fixes for old-ass Linux from libzmq development. commit 71dc626e82100e9be7a61d92f1f9e51aa50fa40c Merge: 80b2764 ec070c5 Author: Pieter Hintjens Date: Thu Feb 16 10:15:37 2012 -0800 Merge pull request #38 from jtzl/master updated INSTALL documentation as per pull request #37 commit 80b27649bc1d00fde72b98d79d9f407dfee0c30a Merge: e23eb9d 5361000 Author: Pieter Hintjens Date: Thu Feb 16 10:13:26 2012 -0800 Merge pull request #36 from gimaker/trie-pruning Backport fix to prune the trie from zmq3 (LIBZMQ-305) commit e23eb9dd2a66104f54ed8517aee56161d0382061 Author: Pieter Hintjens Date: Thu Feb 16 12:10:34 2012 -0600 Updated NEWS for PR #39 NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit de1c5fd75d28af7fc9b849f5c79c89c2ccc9fbb3 Author: Pieter Hintjens Date: Sun Dec 18 19:23:54 2011 -0600 Prepared for 2.1.12 NEWS | 7 +++++++ include/zmq.h | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-) commit 8123b18284b1dadf4a72b7d6e644471539239282 Merge: 9bea035 2b148ac Author: Pieter Hintjens Date: Thu Feb 16 10:09:10 2012 -0800 Merge pull request #39 from vortechs2000/issue-301 Fix builds on HP-UX 11iv3 when using either gcc or aCC commit 9bea035b96d90fbfeefe248453697c9aaf68594e Merge: 73f167e 1bff796 Author: Pieter Hintjens Date: Tue Feb 14 09:10:39 2012 -0800 Merge pull request #41 from thesamet/master Prevent unused variable warning in presence of assertions. commit 1bff796edb408aafcc9096849fd41209afa20d66 Author: Nadav Samet Date: Mon Feb 13 22:09:13 2012 -0800 Prevent unused variable warning in presence of assertions. include/zmq.hpp | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) commit dbf1db2253cac6cf06488e2739068be135983682 Author: m <415fox@gmail.com> Date: Sat Jan 28 13:30:52 2012 -0800 Backport ./configure --with-poller from libzmq development. If you've been configuring the poller using: CPPFLAGS=-DZMQ_FORCE_POLL ./configure Now you're going to want to say: ./configure --with-poller=poll acinclude.m4 | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 5 +- 2 files changed, 194 insertions(+), 1 deletions(-) commit 34da56118ee70ce594662960cdac90ca55f87ed0 Author: 415fox@gmail.com <415fox@gmail.com> Date: Sat Jan 28 12:37:56 2012 -0800 Fix: Whitespace and comment. src/clock.cpp | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit 4a90c1027731ccad41cf44294c92f1ad1c8eb7ba Author: 415fox@gmail.com <415fox@gmail.com> Date: Fri Jan 27 12:40:56 2012 -0800 Fix: runtime patch for when system has clock_gettime but does not support CLOCK_MONOTONIC. src/clock.cpp | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 9631d910082fa302c3f3d45fbac189139747b933 Author: 415fox@gmail.com <415fox@gmail.com> Date: Sat Jan 28 12:24:14 2012 -0800 Source char_traits from GCC C++ Library directly to clarify license. http://gcc.gnu.org/onlinedocs/libstdc++/ Previously borrowed code from id3lib was considered shady. Placed in its own file for style reasons. src/blob.hpp | 96 +--------------------------------- src/gcc_421_char_traits.hpp | 119 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 93 deletions(-) commit 1050ffe01a159dd4fdf0880932b55439c8dad36f Author: 415fox@gmail.com <415fox@gmail.com> Date: Fri Jan 27 12:24:14 2012 -0800 Fix basic_string not implemented in stdc++ 3 src/blob.hpp | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) commit 7a55220be42c7e0ead23a29e26caddac76110577 Author: 415fox@gmail.com <415fox@gmail.com> Date: Fri Jan 27 12:23:32 2012 -0800 Fix bad combination of gcc3, -Werror and private destructor. src/ctx.hpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 536100053cd3bb28d9d8be33b2e48a60d3d225ee Author: Staffan Gimåker Date: Thu Jan 26 14:18:03 2012 +0100 Fix segfault bug when pruning the trie. Signed-off-by: Staffan Gimåker src/trie.cpp | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 2b148acd46db833b8c2b880622d0f77bb5e1d89c Author: AJ Lewis Date: Tue Jan 17 11:20:32 2012 -0600 Patch from Mikko Koppanen for #LIBZMQ-301 Add the '-Ae' flag when using aCC Check if CLOCK_MONOTONIC defined before using it - if not, use gethrtime() Signed-off-by: AJ Lewis configure.in | 2 ++ src/clock.cpp | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit ec070c59343d2991f1bbeb3613c4ae88a55c580f Author: Jtzl Forshizl Date: Tue Jan 17 14:07:51 2012 -0500 clarifying installation documentation for users building from repo INSTALL | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit e954cb49732facaa627dff617d214a5b5cab90e5 Author: AJ Lewis Date: Tue Jan 17 10:33:55 2012 -0600 Change peer_identity_size (in all cases) in the command_t structure to be a size_t instead of an unsigned char. The peer_identity_size field in the attach and bind substructure is used to generate a C++ base_string object from an unsigned char *, and that object expects a size_t, not an unsigned char. If an unsigned char is used, the HPUX aCC compiler gets confused and can't figure out which constructor to use. Signed-off-by: AJ Lewis src/command.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 75bc614d55a36f76cfdadbf44b094cbd132b11dd Author: Staffan Gimåker Date: Wed Jan 4 11:31:32 2012 +0100 Backport fix to prune the trie from zmq3. Signed-off-by: Staffan Gimåker src/trie.cpp | 24 ++++++++++++++++++++++-- src/trie.hpp | 3 +++ 2 files changed, 25 insertions(+), 2 deletions(-) commit 73f167eeb5ce9d26678399a574918f9813976024 Author: Pieter Hintjens Date: Sun Dec 18 19:11:17 2011 -0600 Updated NEWS for 2.1.11 NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1e49dda4da68c92b410c93065a9dac908bef4cf6 Author: Pieter Hintjens Date: Tue Dec 6 14:21:17 2011 +0100 Updated NEWS for issue 290 NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 354faeb8360c434600b6c5e34dc1c249991bc014 Merge: 04b2ef2 1f1b454 Author: Pieter Hintjens Date: Mon Dec 5 08:18:28 2011 -0800 Merge pull request #35 from mika-fischer/libzmq-290 Use monotonic clock for clock_t commit 1f1b4543750d9ec882cc83c3e0f49b568c57bbf5 Author: Mika Fischer Date: Fri Dec 2 09:43:44 2011 +0100 Use monotonic clock for clock_t This makes clock_t insensitive to the system clock being reset by NTP or the sysadmin, which could previously cause long hangs for instance in zmq_poll. configure.in | 4 ++-- src/clock.cpp | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) commit 04b2ef208d9fc9bea382fcfb2d0eb3efa36d5f9f Author: Pieter Hintjens Date: Wed Nov 30 17:14:18 2011 -0600 Reverted commit 1fb107, which was causing memory violations NEWS | 2 +- src/xrep.cpp | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) commit 0919e99c394c426685e74154fea06ed04b50d5ba Author: Pieter Hintjens Date: Wed Nov 30 14:01:43 2011 -0600 Wasn't compiling... what happened to xrep.cpp? src/xrep.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d6cd256584f65764795d82aac0f7850a9cd920de Author: Pieter Hintjens Date: Wed Nov 30 14:01:22 2011 -0600 Fixed issue 254 NEWS | 2 ++ src/tcp_socket.cpp | 16 +++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit 4212c4b6dd11971c3dc9f6b2426f787939cc0c04 Author: Pieter Hintjens Date: Sun Nov 27 09:11:15 2011 -0600 Revert "Fixes duplicated variable error" This reverts commit 26da87062080a9247401efd1a85f747c59365db1. src/xrep.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 35df57cda6861cac31710ad2a10fae4c97c0e63c Author: Martin Sustrik Date: Mon Nov 21 08:11:33 2011 +0100 Phillip Kovacs added to the AUTHORS file Signed-off-by: Martin Sustrik AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 1fb107166f67091c4e1e20a0e511e78e4bf13c7b Merge: d3a1ba6 26da870 Author: Pieter Hintjens Date: Sat Nov 19 15:52:02 2011 -0800 Merge pull request #28 from gsandoval/master Fixes memory leak in XREP xsend commit d3a1ba6ae4a0e3939fb9e48935ac341504cd513d Author: Pieter Hintjens Date: Sat Nov 19 17:50:59 2011 -0600 Added Botond Ballo to authors AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 9861b49161aba728151e06bcd50c0ec7bb11121c Merge: ad47cc5 0ceb637 Author: Pieter Hintjens Date: Sat Nov 19 15:48:53 2011 -0800 Merge pull request #33 from botond-ballo/master C++11 move constructor and move assignment operator for zmq::socket_t and zmq::context_t commit 0ceb637b379c65b49d0a5b572e2b0715fcfb3531 Author: Botond Ballo Date: Sat Nov 19 18:00:25 2011 -0500 Fixed indentation of preprocessor directives Fixed indentation of preprocessor directives to it's consistent with other headers. Signed-off-by: Botond Ballo include/zmq.hpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 573614acf14936772fbc4edee5b2c791a8ab4283 Author: Botond Ballo Date: Sat Nov 19 17:57:00 2011 -0500 Fixed indentation of preprocessor directives. Fixed indentation of preprocessor directives to make it consistent with other headers. Signed-off-by: Botond Ballo include/zmq.hpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 315e563eddc856cdeb062b07c780a476aca954e5 Author: Botond Ballo Date: Sat Nov 19 17:44:17 2011 -0500 C++11 move constructor/assignment operator for socket_t and context_t Added a C++11 move constructor and move assignment operator to zmq::socket_t and zmq::context_t. These functions are only enabled if the compiler supports C++11 rvalue references. Currently the code can detect rvalue reference support for the following compilers: GCC, MSVC, clang. Signed-off-by: Botond Ballo include/zmq.hpp | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) commit ad47cc55cf39660ce533e7921fe259d32d4c4a49 Author: Martin Sustrik Date: Sat Nov 19 10:06:06 2011 +0100 Stuart Webster added to the AUTHORS file Signed-off-by: Martin Sustrik AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit bed61c78946e5719bfbd1477ded6c577fe811163 Author: Stuart Webster Date: Sat Nov 19 10:02:23 2011 +0100 Line-ending conversion rules for hg-git users and enabled use of .gitignore by hg-git users Mercurial does not have built-in support for converting line-endings. This is a settings file for hg eol (http://mercurial.selenic.com/wiki/EolExtension), an extension that replicates the behaviour of git with core.autocrlf=true. Mercurial uses Python regex syntax by default in its .hgignore files. Adding this line to .gitignore overrides that setting, so hg-git users can just create a hardlink to it (e.g "mklink /H .hgignore .gitignore" on Windows) to use it. Signed-off-by: Stuart Webster .gitignore | 1 + .hgeol | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) commit a247c7d422c86cd78ef6f5b8dad8fbfd9a00aeea Author: Pieter Hintjens Date: Thu Nov 17 11:20:21 2011 -0600 Updated NEWS for issue 281 NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 561a9d2d8022d76166e1de981543337a783f6076 Merge: 69bc977 c4dabba Author: Pieter Hintjens Date: Thu Nov 17 09:16:43 2011 -0800 Merge pull request #32 from mika-fischer/libzmq-281 Work around for LIBZMQ-281 commit c4dabba55f71d2648d9196cd5ef3b2c7238ab254 Author: Mika Fischer Date: Thu Nov 17 13:33:55 2011 +0100 Work around for LIBZMQ-281 The problem is that other threads might still be in mailbox::send() when it is destroyed. So as a workaround, we just acquire the mutex in the destructor. Therefore the running send will finish before the mailbox is destroyed. Signed-off-by: Mika Fischer src/mailbox.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 69bc97726e0ec0ffb509eaf4f50e86616544677f Author: Pieter Hintjens Date: Wed Nov 16 11:42:08 2011 -0600 Fixed erroneous ifdef -- backport 83975c1 src/ip.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5819d702ff48af12d02276cb79eef0c2068d0dc3 Author: Pieter Hintjens Date: Sat Nov 5 20:34:28 2011 +0100 Added AJ Lewis to AUTHORS AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4c7e6d6156d1225f00701ba460c062524e5a474d Author: Pieter Hintjens Date: Fri Nov 4 21:09:47 2011 +0100 Updated NEWS NEWS | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 533a94ba0741e54de832140bdffff53d944441c9 Merge: 6e5a3e9 1afd7a0 Author: Pieter Hintjens Date: Fri Nov 4 12:59:40 2011 -0700 Merge pull request #30 from vortechs2000/master Get zeromq compiling on AIX 6.1 commit 1afd7a088400b39fd3309ff996ffbf9e567463ff Author: AJ Lewis Date: Thu Nov 3 12:10:35 2011 -0500 Combine the existing freebsd/netbsd section with the new HP-UX DCE section Using a couple #ifdefs, we can combine the freebsd/netbsd uuid section with the HP-UX DEC section in uuid.cpp. Signed-off-by: AJ Lewis src/uuid.cpp | 39 +++++++++++---------------------------- 1 files changed, 11 insertions(+), 28 deletions(-) commit 357a6e9f05110e241a1682f841b886b88e442263 Author: AJ Lewis Date: Thu Nov 3 11:57:52 2011 -0500 Implement DCE uuid calls properly Create HPUX & LIBDCEKT specific sections similar to BSD section. It's possible that these could be merged, but I'm not sure if it would be as readable because there are some type differences that might make things difficult. Signed-off-by: AJ Lewis src/uuid.cpp | 37 +++++++++++++++++++++++++------------ src/uuid.hpp | 5 +++++ 2 files changed, 30 insertions(+), 12 deletions(-) commit 857c7f91d1e3c5c82408b9d932e117145678b814 Author: AJ Lewis Date: Thu Nov 3 11:37:41 2011 -0500 Use DCE library on HP-UX to handle UUID generation This is the initial dumb implementation - it just replaces RAND_bytes in the final uuid case rather than handling uuid_create() as done in the BSD case. It passes the self tests, but it's probably not the correct way to do it. You can also use the openssl method my using the '--without-dce' flag to configure. Signed-off-by: AJ Lewis configure.in | 9 ++++++++- src/uuid.cpp | 12 ++++++++++++ 2 files changed, 20 insertions(+), 1 deletions(-) commit e5742c20cb076a1867ca7d42668ac1a53aab6b58 Merge: f32cf6d 6e5a3e9 Author: AJ Lewis Date: Thu Nov 3 11:35:22 2011 -0500 Merge remote-tracking branch 'upstream/master' commit 6e5a3e9358373d28123d3b19e91f5a6ff7486073 Author: Pieter Hintjens Date: Fri Oct 28 05:43:35 2011 +0900 Updated NEWS NEWS | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4cf638a2502a6d344c9e25ef5252b2d45613f7de Author: Bernd Prager Date: Thu Oct 27 17:11:28 2011 +0200 Missing bracket added Signed-off: Martin Sustrik src/zmq.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8c502692dad0a29e0b98e895b3b04f3d783b5b42 Author: Pieter Hintjens Date: Fri Oct 28 05:38:05 2011 +0900 Updated NEWS NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit b75c06c34f991d96a3b21d48b74efc029df7c800 Author: Martin Sustrik Date: Thu Oct 27 11:51:23 2011 +0200 Paul Betts added to the AUTHORS file Signed-off-by: Martin Sustrik Conflicts: AUTHORS AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 19c865d3d7d6a4157205b4036e95e45955459a0b Author: Paul Betts Date: Thu Oct 27 11:48:58 2011 +0200 Enable exceptions raising on assert on Win32 This patch changes the Win32 version to call RaiseException instead of abort (which eventually calls TerminateProcess). This allows crash dumps to be sent correctly instead of the process disappearing. Signed-off-by: Paul Betts src/err.cpp | 13 +++++++++++++ src/err.hpp | 26 ++++++++++++++------------ 2 files changed, 27 insertions(+), 12 deletions(-) commit b40d7c18ad1a3210a49da088b65060f784d17009 Author: Pieter Hintjens Date: Fri Oct 28 05:33:13 2011 +0900 Updated NEWS for issue 261 NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 99e7b6a44ee81d1807a5c8a577eea366e4d7275f Author: Martin Sustrik Date: Thu Oct 27 09:41:48 2011 +0200 Bug in kqueue poller fixed (issue 261) Signed-off-by: Martin Sustrik src/kqueue.cpp | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) commit b2974da2ba800d2c2b5eb76e1123e95ec63fedf4 Author: Pieter Hintjens Date: Fri Oct 28 05:32:02 2011 +0900 Revert "Applied workaround for issue 261" This reverts commit ddc75f9e54f1fc95a057e935c51c0c22e53df6e7. NEWS | 7 +++---- src/kqueue.cpp | 4 +--- 2 files changed, 4 insertions(+), 7 deletions(-) commit 686f9f53641899d2e4863526aa52fe47c6fb6bc0 Author: Mikko Koppanen Date: Thu Oct 27 20:37:06 2011 +0100 Fix issue LIBZMQ-273 NEWS | 3 +++ acinclude.m4 | 22 ++++++++++++++++++++++ configure.in | 5 +++++ src/ip.cpp | 4 ++-- 4 files changed, 32 insertions(+), 2 deletions(-) commit f32cf6d4991bf7a334fa8350157d51fb5469ed50 Author: AJ Lewis Date: Thu Oct 27 08:42:11 2011 -0500 Get zeromq compiling on AIX 6.1 Includes platform.hpp in device.cpp and then adds the same check for platforms found in zmq.cpp to include poll.h. Without this, device.cpp fails to compile with: device.cpp: In function 'int zmq::device(zmq::socket_base_t*, zmq::socket_base_t*)': device.cpp:46: error: 'struct zmq_pollitem_t' has no member named 'reqevents' device.cpp:47: error: 'struct zmq_pollitem_t' has no member named 'rtnevents' device.cpp:50: error: 'struct zmq_pollitem_t' has no member named 'reqevents' device.cpp:51: error: 'struct zmq_pollitem_t' has no member named 'rtnevents' device.cpp:67: error: 'struct zmq_pollitem_t' has no member named 'rtnevents' device.cpp:92: error: 'struct zmq_pollitem_t' has no member named 'rtnevents' gmake[1]: *** [libzmq_la-device.lo] Error 1 Signed-off-by: AJ Lewis src/device.cpp | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) commit 26da87062080a9247401efd1a85f747c59365db1 Author: Guillermo Sandoval Date: Mon Oct 24 16:14:43 2011 -0500 Fixes duplicated variable error src/xrep.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 826d61244360d703f38cfc59ee643a177fb8b65e Author: Guillermo Sandoval Date: Mon Oct 24 16:10:12 2011 -0500 Calls zmq_msg_close regardless of the message is send or not. So it fixes memory leak in XREP src/xrep.cpp | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit daac034503589ed7dabe77fdecb5f1a360ced638 Merge: db69361 c3af879 Author: Guillermo Sandoval Date: Mon Oct 24 16:08:33 2011 -0500 Merge branch 'master' of github.com:gsandoval/zeromq2-1 commit db69361650acb476269623e01b6f548a549365fa Author: Guillermo Sandoval Date: Mon Oct 24 15:14:08 2011 -0500 Fixes memory leak in XREP sockets, occurring when the message was successfully sent. src/xrep.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit c3af87950559ce87c5f5798ec4c950a6ea5e7e55 Author: Guillermo Sandoval Date: Mon Oct 24 15:14:08 2011 -0500 Fixes memory leak in XREP sockets, occurring when the message was successfully sent. src/xrep.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 808c3b9ff6756566d7da3a8f2ae5f626d9fd1b13 Author: Pieter Hintjens Date: Wed Oct 12 06:52:31 2011 -0500 Updated NEWS for issue 269 NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 5f248ef1a63f36e0932db122b73e7f4ce4cf7cd0 Author: Pieter Hintjens Date: Wed Oct 12 05:51:39 2011 -0500 Revert "Added diagnostics for issue 254" This reverts commit 80b0041ea1685ed49c222d237b4c9c49bd495b64. src/tcp_socket.cpp | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) commit 3014e0f87129695c5230ffbc5b68cdf007878de2 Author: Pieter Hintjens Date: Wed Oct 5 15:50:35 2011 +0200 Clarified doc to say 'round-robined' instead of 'load-balanced' doc/zmq_socket.txt | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit b71462bf750cf00210669921e32fdd2f85d40eb8 Author: Pieter Hintjens Date: Wed Oct 5 14:34:35 2011 +0200 Updated NEWS for OpenPGM updated NEWS | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 77c8c7f11865b1e1b8c4e11cb5ef6297bc6b774e Author: Steven McCoy Date: Tue Oct 4 09:39:55 2011 +0200 New upstream OpenPGM maintenance release 5.1.118. Signed-off-by: Steven McCoy configure.in | 2 +- foreign/openpgm/libpgm-5.1.115~dfsg.tar.gz | Bin 1054630 -> 0 bytes foreign/openpgm/libpgm-5.1.118~dfsg.tar.gz | Bin 0 -> 1046589 bytes 3 files changed, 1 insertions(+), 1 deletions(-) commit 0bbc1755387b743aaa086bdc268bcb65fab90af3 Author: Pieter Hintjens Date: Mon Oct 3 07:42:08 2011 -0500 Updated version to 2.1.11 include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ab64a395a01293453da606f08e0983ae8bbeb210 Author: Pieter Hintjens Date: Mon Oct 3 07:24:15 2011 -0500 Updated news for 2.1.10 release NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ddc75f9e54f1fc95a057e935c51c0c22e53df6e7 Author: Pieter Hintjens Date: Wed Sep 28 08:37:41 2011 -0500 Applied workaround for issue 261 NEWS | 7 ++++--- src/kqueue.cpp | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) commit 80b0041ea1685ed49c222d237b4c9c49bd495b64 Author: Pieter Hintjens Date: Fri Sep 16 10:33:24 2011 -0500 Added diagnostics for issue 254 src/tcp_socket.cpp | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 4fc2b0fee7cd98ef4d1b69ce079539773bb5b76b Author: Pieter Hintjens Date: Fri Sep 16 10:33:10 2011 -0500 Whitespace fixes src/tcp_connecter.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit e7f29bfccb915d129bc55b9ff1b48b1a7c2e6661 Author: Pieter Hintjens Date: Tue Sep 13 10:15:31 2011 -0500 Fixed issue 252 NEWS | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit fffd7701a5bece99767b6e10e2cafbe7670c5f2f Author: Pieter Hintjens Date: Tue Sep 13 10:13:52 2011 -0500 Fixed issue 252 src/req.cpp | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 3e1aa20233c8bc4d29fecf9e74f6ee6857cdca44 Author: Pieter Hintjens Date: Tue Sep 6 08:02:27 2011 -0500 Fixed issue 250 NEWS | 2 ++ src/ip.cpp | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit 930c3ef246a5f2a58a614778a9512d61d222de16 Author: Pieter Hintjens Date: Sun Sep 4 10:58:07 2011 +0200 Fixed windows build src/err.hpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit afb68fd07be76bd037761d7b54416f7d29255866 Author: Pieter Hintjens Date: Fri Sep 2 16:09:50 2011 +0200 Updated NEWS for issue 218 Signed-off-by: Pieter Hintjens NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 3d91c037657c74c79dfa49f1781eb633bf31de98 Author: Pieter Hintjens Date: Fri Sep 2 16:08:46 2011 +0200 Fixed issue 218 Signed-off-by: Pieter Hintjens src/ip.cpp | 49 +++++++++++++++++++++++++++++++++++++++---------- src/ip.hpp | 2 ++ src/signaler.cpp | 6 +++--- src/tcp_connecter.cpp | 6 +++--- src/tcp_listener.cpp | 2 +- 5 files changed, 48 insertions(+), 17 deletions(-) commit 9fcbf166da89f73b010950b264f4573b25804e5e Author: Pieter Hintjens Date: Fri Sep 2 11:53:25 2011 +0200 Updated NEWS for issue 140 fix NEWS | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 6c07e8d94453fbabe818a639c8d6021aa95f14c4 Author: Pieter Hintjens Date: Fri Sep 2 11:51:11 2011 +0200 Fixed issue 140 src/options.cpp | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) commit 66d69d7d6393d6d097c9a89e20c061e61167a091 Author: Pieter Hintjens Date: Tue Aug 30 14:09:30 2011 +0200 Updated for issue 207 NEWS | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit a41271a0c1840729f4a439b0bd240ca78af04f02 Merge: c514fb9 81602d4 Author: Pieter Hintjens Date: Tue Aug 30 13:52:49 2011 +0200 Merge branch 'issue-207' commit 81602d41aae0cbc284e3d13d7bd7b30357dd8083 Author: Pieter Hintjens Date: Tue Aug 30 13:52:42 2011 +0200 Fixed issue 207 src/socket_base.cpp | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit c514fb93902fc8f9423d888b5d70bde87b357cd8 Author: Pieter Hintjens Date: Tue Aug 30 13:11:12 2011 +0200 Updated for 2.1.9 include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 392c3771c22d0dfe793cc9c4ee5c27d18d38d428 Author: Pieter Hintjens Date: Mon Aug 29 20:25:11 2011 +0200 Updated NEWS for 2.1.9 NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bb7f41144b513ebf07698ade91c6d6c4e20bec77 Author: Pieter Hintjens Date: Mon Aug 29 12:24:45 2011 +0200 Fixed NEWS to reflect RC status of 2.1.8 NEWS | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit 4df43be69c3f25a4a5f96d379a59d6c6d6f214fa Author: Martin Sustrik Date: Wed Aug 17 18:41:02 2011 +0200 Fix the PGM support on win64 On win64 the size of file descriptor is not the same as size of int. The bug in PGM transport caused a runtime error because of this. The problem is fixed now. Signed-off-by: Martin Sustrik NEWS | 2 ++ src/pgm_receiver.cpp | 4 ++-- src/pgm_sender.cpp | 8 ++++---- src/pgm_socket.cpp | 8 ++++---- src/pgm_socket.hpp | 7 ++++--- 5 files changed, 16 insertions(+), 13 deletions(-) commit 024c4c91098913c7488abde75e9ef0d3fee7e195 Author: Pieter Hintjens Date: Wed Aug 17 16:40:09 2011 +0200 Fixed compile error on win32 src/zmq.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 323138b81ca71e036200d666b95b96c9b6e58696 Author: Pieter Hintjens Date: Tue Aug 16 17:45:39 2011 +0200 Updated NEWS for Android build NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7b22dccf2fed4cd057876912991fdd61954d6dbc Author: Mikko Koppanen Date: Mon Aug 15 19:09:04 2011 +0200 Added Android support Signed-off-by: Mikko Koppanen configure.in | 6 ++++++ src/ip.cpp | 2 +- src/swap.cpp | 2 +- src/thread.cpp | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) commit 591e5887e6e32675a7520eac67621416f13bec35 Author: Martin Sustrik Date: Sun Aug 14 14:23:16 2011 +0200 Fixed issue 238 NEWS | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit ebfdfdf298525c993b8827fe6c7b6f753c56ca52 Author: Martin Sustrik Date: Sun Aug 14 14:23:16 2011 +0200 select version zmq_poll reports invalid FDs Till now, passing invalid file descriptor to zmq_poll() caused asseration. Now it returns error. Signed-off-by: Martin Sustrik src/zmq.cpp | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) commit d6fbb80a19056cad02ee32e465b12cb0ba29c419 Author: Pieter Hintjens Date: Sat Aug 13 00:27:13 2011 +0200 Fixed issue 239 NEWS | 3 +++ src/swap.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) commit 317435e2835b41d98a885883631d024422f5c9ff Author: Pieter Hintjens Date: Thu Aug 11 16:54:50 2011 +0200 usleep is void on Android src/zmq.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 7239640d0282902af047d391b4a41fb5cc914bd1 Author: wroberts Date: Wed Aug 10 13:23:37 2011 -0400 Added an ndk-build clean command to clean script and fixed usleep error. - Fixed incorrect directory removal in clean script builds/android/clean.sh | 2 +- src/zmq.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit eeca373616e347e947ff73f1cf8c11f7b53fc1a8 Author: Pieter Hintjens Date: Wed Aug 10 18:18:15 2011 +0200 Updated NEWS for Android NEWS | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 880e5c324031bc390bc88d07f5137ce31d1c8c69 Author: Pieter Hintjens Date: Wed Aug 10 17:58:16 2011 +0200 Fixed use of ANDROID macro src/thread.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 98b96e7d8fd60605ad1498cd540b07dd7040f168 Author: Pieter Hintjens Date: Wed Aug 10 17:51:34 2011 +0200 Whitespace and comment changes builds/android/build.sh | 35 ++++++++++++++++++++++------------- builds/android/clean.sh | 15 ++++++++++----- 2 files changed, 32 insertions(+), 18 deletions(-) commit f2b76414f70d462e7863e4d79f61227d7315cf9d Author: Pieter Hintjens Date: Wed Aug 10 17:13:40 2011 +0200 Added William Roberts to AUTHORS AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 7f2a522a85a2379120ad6d809be56b9f34e3b89b Author: wroberts Date: Tue Aug 9 19:24:11 2011 -0400 Finished with clean android build builds/android/Android.mk | 6 ++---- builds/android/build.sh | 5 +++++ builds/android/clean.sh | 14 +++++++++++--- 3 files changed, 18 insertions(+), 7 deletions(-) commit 62a8d76aa32cc9579811f32d06cbc6ae0a00dbb2 Author: wroberts Date: Tue Aug 9 18:47:59 2011 -0400 Android wip builds/android/Android.mk | 42 ++ builds/android/Application.mk | 1 + builds/android/build.sh | 38 ++ builds/android/clean.sh | 13 + builds/android/include/platform.hpp | 1 + builds/android/include/platform_android.hpp | 229 +++++++++ builds/android/uuid/clear.c | 43 ++ builds/android/uuid/compare.c | 55 +++ builds/android/uuid/copy.c | 45 ++ builds/android/uuid/gen_uuid.c | 680 +++++++++++++++++++++++++++ builds/android/uuid/gen_uuid_nt.c | 92 ++++ builds/android/uuid/isnull.c | 48 ++ builds/android/uuid/pack.c | 69 +++ builds/android/uuid/parse.c | 79 +++ builds/android/uuid/unpack.c | 63 +++ builds/android/uuid/unparse.c | 76 +++ builds/android/uuid/uuid.h | 103 ++++ builds/android/uuid/uuidP.h | 59 +++ builds/android/uuid/uuid_time.c | 171 +++++++ builds/android/uuid/uuidd.h | 54 +++ 20 files changed, 1961 insertions(+), 0 deletions(-) commit ad6bf4aa3e77d8aec72951ac88e0e916c6e63a0d Author: Pieter Hintjens Date: Tue Aug 9 20:48:04 2011 +0200 Provisional Android support, from Ghislain Putois AUTHORS | 1 + builds/android/Makefile | 10 ++++++++++ src/ip.cpp | 20 ++++++++++---------- src/swap.cpp | 6 +++--- src/thread.cpp | 10 ++++++---- 5 files changed, 30 insertions(+), 17 deletions(-) commit 9b2c16cb42fd559cfac1c86f420392a2e4cb7b2e Author: Pieter Hintjens Date: Sat Jul 30 17:26:42 2011 +0200 Fixed issue 236 NEWS | 11 +++++++++++ src/socket_base.cpp | 4 ++++ 2 files changed, 15 insertions(+), 0 deletions(-) commit b7d1b669ce9c3f27202b8daf46425766a877de3e Author: Pieter Hintjens Date: Thu Jul 28 14:07:25 2011 +0200 Debian packaging wasn't distributed NEWS | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) commit 764c4f5a8fa2f21d0f755811ba8b4c38c24e7ae5 Author: Pieter Hintjens Date: Thu Jul 28 13:52:55 2011 +0200 Updated version number for next release include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3c913026c72dd83e2d6ffbb6d9866a748502ffcf Author: Pieter Hintjens Date: Thu Jul 28 13:44:40 2011 +0200 Updated NEWS for 2.1.8 release NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9d9fb596ab0eaa00da36f79b442d40fd42dfe4eb Merge: 3cb929e 59a84ab Author: Pieter Hintjens Date: Fri Jul 22 11:38:32 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit 3cb929e46affd5ebf8c456acba594bae5c106cc8 Author: Martin Sustrik Date: Thu Jul 21 23:35:26 2011 +0200 mailbox::recv correctly passes EINTR to the caller This bug caused signal during blocking call to assert. Signed-off-by: Martin Sustrik NEWS | 3 +++ src/mailbox.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) commit 59a84abbfbb3be79d8f765da95de23ebdac16630 Merge: 5227717 1b9bc37 Author: Pieter Hintjens Date: Wed Jul 20 16:40:12 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit 1b9bc37ff76826069de846fe0c3220b78b357e72 Author: Pieter Hintjens Date: Wed Jul 20 13:12:18 2011 +0200 Fixed build for MSVC builds/msvc/libzmq/libzmq.vcproj | 4 ++++ src/signaler.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit d897a2b45b422ff87da6007b06c6147e535491dd Author: Pieter Hintjens Date: Tue Jul 19 23:08:02 2011 +0200 Fixed build for Windows (signaler.cpp) src/signaler.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8dd8c71dab33bfd903e05d238b2e8ec507c23c7e Author: Martin Sustrik Date: Mon Jul 18 14:29:20 2011 +0200 Fixed email addresses in the MAITAINERS file Signed-off-by: Martin Sustrik MAINTAINERS | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit b69aee1b5e5aee9bdcab75aa1b5af88bfc7b0339 Author: Pieter Hintjens Date: Mon Jul 18 13:39:51 2011 +0200 Avoid SIGPIPE errors on FreeBSD MAINTAINERS | 8 ++++---- src/tcp_socket.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit 846769d809dea727bb6aeb58155aeb9afb357bce Author: Martin Sustrik Date: Mon Jul 18 09:41:26 2011 +0200 Signaler timeout bug on Windows fixed Signed-off-by: Martin Sustrik src/signaler.cpp | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) commit b613c297897cfca15024d493e181f4f1973b1abe Author: Pieter Hintjens Date: Mon Jul 18 11:53:58 2011 +0200 Avoid SIGPIPE errors on FreeBSD src/tcp_socket.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5227717f9b8ccb8cf89967f470e017884edbd10f Author: Pieter Hintjens Date: Fri Jul 15 13:43:20 2011 +0200 ROUTER can talk to ZMQ_REP, DEALER to ZMQ_REQ doc/zmq_socket.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e496d49f57d6b3a377c11b6d5a58f175200ddbde Author: Pieter Hintjens Date: Fri Jul 15 07:08:00 2011 +0200 Updated NEWS for issue 230 NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 5fd65d8f62e4c6e70b23a3e8f0195526b03a2e4f Merge: a8c9eed 61233d0 Author: Pieter Hintjens Date: Fri Jul 15 07:06:42 2011 +0200 Merge branch 'issue230' commit a8c9eedc031ef68d01b5515ff1108bb7f5ada3ac Merge: d17cae2 2c89920 Author: Pieter Hintjens Date: Thu Jul 14 23:29:15 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit d17cae20c5365fe2695b5e9027d8b91916eb9174 Author: Pieter Hintjens Date: Thu Jul 14 22:32:45 2011 +0200 Backported fix for issue 231 NEWS | 4 + src/Makefile.am | 2 + src/config.hpp | 7 + src/ctx.cpp | 2 +- src/io_thread.cpp | 2 +- src/mailbox.cpp | 366 ++++------------------------------------ src/mailbox.hpp | 26 ++- src/reaper.cpp | 2 +- src/signaler.cpp | 340 +++++++++++++++++++++++++++++++++++++ src/signaler.hpp | 63 +++++++ src/socket_base.cpp | 75 ++++++--- src/socket_base.hpp | 6 +- tests/test_shutdown_stress.cpp | 2 +- 13 files changed, 529 insertions(+), 368 deletions(-) commit 2c899206691f528aa21ed52a4eb52ea7d59436cd Author: Pieter Hintjens Date: Thu Jul 14 22:32:45 2011 +0200 Backported fix for issue 231 src/Makefile.am | 2 + src/config.hpp | 7 + src/ctx.cpp | 2 +- src/io_thread.cpp | 2 +- src/mailbox.cpp | 366 ++++------------------------------------ src/mailbox.hpp | 26 ++- src/reaper.cpp | 2 +- src/signaler.cpp | 340 +++++++++++++++++++++++++++++++++++++ src/signaler.hpp | 63 +++++++ src/socket_base.cpp | 75 ++++++--- src/socket_base.hpp | 6 +- tests/test_shutdown_stress.cpp | 2 +- 12 files changed, 525 insertions(+), 368 deletions(-) commit 61233d00877dfb0322bb1a1fd3d7916a1e779d9b Author: Pieter Hintjens Date: Thu Jul 14 22:09:45 2011 +0200 Fixed issue 230 src/tcp_socket.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit a5972520e9961eaf6f6948036c99dbfd03812c1e Author: Pieter Hintjens Date: Wed Jul 13 18:10:54 2011 +0200 Fixed issue 228, backported from 3.0 NEWS | 2 ++ src/rep.cpp | 2 +- src/xrep.cpp | 4 ---- 3 files changed, 3 insertions(+), 5 deletions(-) commit 647dca9650d54637a0e763216825875d1ac915d1 Author: Martin Sustrik Date: Mon Jul 11 16:05:04 2011 +0200 zmq_bind(3) and zmq_connect(3) describe EINVAL error Signed-off-by: Martin Sustrik doc/zmq_bind.txt | 2 ++ doc/zmq_connect.txt | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit 89fc94cc7e3bb7f23c27dcc57877ec582f4af790 Author: Pieter Hintjens Date: Tue Jul 12 15:47:01 2011 +0200 Updated NEWS NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 994dbe48e74ddfa30a66c46430e878e60dfdd61e Author: Pieter Hintjens Date: Tue Jul 12 15:45:38 2011 +0200 Removed debian packaging, it's now at http://packages.debian.org/source/sid/zeromq debian/README.Debian | 4 -- debian/changelog | 24 ---------- debian/compat | 1 - debian/control | 76 -------------------------------- debian/copyright | 105 -------------------------------------------- debian/libzmq-dev.install | 5 -- debian/libzmq-dev.manpages | 2 - debian/libzmq0.install | 1 - debian/libzmq0.manpages | 5 -- debian/rules | 92 -------------------------------------- debian/source/format | 1 - debian/source/options | 1 - debian/zeromq-bin.install | 3 - debian/zeromq-bin.manpages | 3 - 14 files changed, 0 insertions(+), 323 deletions(-) commit d27374c8346cdde9b0e77fb625249df6d185c6e0 Author: Martin Sustrik Date: Mon Jul 4 09:27:50 2011 +0200 License text in autogen.sh fixed autogen.sh incorrectly referred to the license as GPL. Changed to LGPL. Signed-off-by: Martin Sustrik autogen.sh | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit c35a14beaba8d60e473f15d9978b075d33423a55 Author: Martin Sustrik Date: Thu Jun 30 00:05:03 2011 +0200 Testing for errors from pthread_* functions fixed pthread_* functions return the error number rather than setting errno. This was not accounter for till now. Signed-off-by: Martin Sustrik src/thread.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 257859d1175d361eb9064dc94d8ad80bed6eec58 Author: Martin Sustrik Date: Tue Jun 28 10:22:27 2011 +0200 Packaging for MSVC build fixed MSVC project files for inproc_lat and inproc_thr were not packaged during make dist phase. Signed-off-by: Martin Sustrik builds/msvc/Makefile.am | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit a26c5bfe99dcc574e4899cc7472bffbc092511f5 Author: Carl Clemens Date: Sun Jun 26 16:19:45 2011 +0200 Typo in zmq_msg_size(3) fixed Signed-off-by: Carl Clemens AUTHORS | 1 + doc/zmq_msg_size.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) commit fa6b54fccc281ed5f7d2d7b4f60c8f5f3f019167 Merge: 21ea666 2008917 Author: Pieter Hintjens Date: Sun Jun 19 10:31:58 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit 21ea66635f5bc202ca64299d9f70687d224d55fc Author: Steven McCoy Date: Fri Jun 17 15:02:48 2011 -0400 Refactor Windows versioning and WinSock usage. Signed-off-by: Steven McCoy include/zmq.h | 2 +- src/ctx.cpp | 12 +++-- src/select.cpp | 9 ++-- src/windows.hpp | 152 +++++++++++++++++++++++++++++++++++++++++++++---------- 4 files changed, 138 insertions(+), 37 deletions(-) commit 20089170eabc1614d4b3e946ae9a363cfa8d3e47 Author: Martin Sustrik Date: Tue Jun 14 09:58:18 2011 +0200 Fixed issue 223 - ENETUNREACH is a valid error from connect This patch fixed the JIRA issue 223 Signed-off-by: Martin Sustrik NEWS | 4 ++++ src/tcp_connecter.cpp | 3 ++- 2 files changed, 6 insertions(+), 1 deletions(-) commit 0a533915b4cb2d3910ee3f128e882376e340f87b Author: Pieter Hintjens Date: Mon Jun 13 11:45:06 2011 +0200 Revert "Fix scope on Windows includes." This reverts commit c55e8b47b63ba69b7e240edd8270629f99a00b0d. src/ctx.cpp | 8 ++------ src/select.cpp | 2 +- src/select.hpp | 2 +- src/windows.hpp | 5 +++-- 4 files changed, 7 insertions(+), 10 deletions(-) commit c55e8b47b63ba69b7e240edd8270629f99a00b0d Author: Steven McCoy Date: Sun Jun 12 19:37:11 2011 +0200 Fix scope on Windows includes. Fix windows.h included before winsock2.h. Remove definition of _WINSOCKAPI_. Signed-off-by: Steven McCoy src/ctx.cpp | 8 ++++++-- src/select.cpp | 2 +- src/select.hpp | 2 +- src/windows.hpp | 5 ++--- 4 files changed, 10 insertions(+), 7 deletions(-) commit 69bce48516554cb1f2ac5e52ebb59632ae967c48 Author: Pieter Hintjens Date: Thu Jun 9 19:55:21 2011 +0200 Fixed NEWS for broken 2.1.6 release NEWS | 42 ++++++++++++++++++++---------------------- 1 files changed, 20 insertions(+), 22 deletions(-) commit 71012227f8615b398f755a82f73a70c61ba4fc55 Merge: 143b64b 47245e1 Author: Pieter Hintjens Date: Thu May 26 11:07:51 2011 -0700 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit 2f6bc9ce9260a3234a1f1de5c63956b081695f40 Merge: 6a8b691 47245e1 Author: Pieter Hintjens Date: Mon May 23 12:53:30 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit 47245e189c81aa083824d732c238d64d5ea32fce Merge: dae5a6c f94a700 Author: Pieter Hintjens Date: Mon May 23 03:47:04 2011 -0700 Merge pull request #19 from grk/patch-1 Fix overflow of megabits on 32bit machines. commit 6a8b691a3117e8d925ee29392c6463568f37108c Author: Pieter Hintjens Date: Fri May 20 17:22:42 2011 +0200 Prepared for 2.1.8 NEWS | 10 ++++++++++ include/zmq.h | 2 +- 2 files changed, 11 insertions(+), 1 deletions(-) commit f94a700626d2d7fc48fce2f0400c764416483e88 Author: Grzesiek Kolodziejczyk Date: Thu May 12 03:46:08 2011 -0700 Fix overflow of megabits on 32bit machines. perf/local_thr.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c35f65a82f1dace3a0b9afc5185dc3efc35595b5 Author: Pieter Hintjens Date: Thu May 12 12:07:51 2011 +0200 Updated NEWS for 2.1.7 NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 143b64bf5ccd59227135cf151a4dc3ed60384360 Merge: 6bb9e7b dae5a6c Author: Pieter Hintjens Date: Tue May 10 08:05:23 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit dae5a6cb9e589e2471558dc86c55202558e918c2 Author: Martin Sustrik Date: Sun May 8 09:03:49 2011 +0200 Async connect doesn't fail on WSAENETDOWN Signed-off-by: Martin Sustrik NEWS | 9 +++- src/err.cpp | 112 ++++++++++++++++++++++++++----------------------- src/err.hpp | 12 +++++ src/tcp_connecter.cpp | 10 ++-- 4 files changed, 82 insertions(+), 61 deletions(-) commit 46738270c22c134b8bbd7546ba4c6864b42f4c75 Author: Martin Sustrik Date: Sat Apr 9 09:46:59 2011 +0200 Missing ENOTSOCK added on Win32 Signed-off-by: Martin Sustrik include/zmq.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 6bb9e7b55db32090763c7f4a43bda8be24f29fd3 Author: Pieter Hintjens Date: Sat May 7 09:03:38 2011 +0200 Fixed spelling errors in man pages doc/zmq_getsockopt.txt | 2 +- doc/zmq_pgm.txt | 4 ++-- doc/zmq_setsockopt.txt | 2 +- doc/zmq_tcp.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit 52318cf705f9b0a73e88b8296d10291f7ba22a86 Merge: c42d156 141a001 Author: Pieter Hintjens Date: Sat May 7 07:23:21 2011 +0200 Updated NEWS commit c42d156fb94b5131d385f08ff93659ffd2944e21 Author: Pieter Hintjens Date: Sat May 7 07:20:10 2011 +0200 Updated NEWS NEWS | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) commit 141a001b046a1206336642b7aa401cbd5e82b826 Author: Pieter Hintjens Date: Fri May 6 17:09:36 2011 +0200 Updated news for issue 211 NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 9a08c71d7d63544d55620391d12fab4269e3a4df Author: Pieter Hintjens Date: Fri May 6 17:03:18 2011 +0200 Fixed issue 211 - REP assert on missing envelope src/rep.cpp | 21 ++++++++++++++------- src/xrep.cpp | 12 +++++++++++- src/xrep.hpp | 1 + 3 files changed, 26 insertions(+), 8 deletions(-) commit ddffe5db3351fbaff6086157e6a351e935d37d2e Author: Martin Sustrik Date: Fri May 6 15:51:56 2011 +0200 Current pipe pointer in XREP out of range -- fixed. Signed-off-by: Martin Sustrik src/xrep.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 96861b9d405663d71926b21843220481ebd33062 Author: Martin Sustrik Date: Sat Apr 9 09:35:34 2011 +0200 Run-time checking for context & socket validity added Signed-off-by: Martin Sustrik NEWS | 3 +++ doc/zmq_bind.txt | 4 ++-- doc/zmq_close.txt | 4 ++-- doc/zmq_connect.txt | 4 ++-- doc/zmq_getsockopt.txt | 4 ++-- doc/zmq_recv.txt | 4 ++-- doc/zmq_send.txt | 4 ++-- doc/zmq_setsockopt.txt | 4 ++-- doc/zmq_term.txt | 2 +- src/ctx.cpp | 9 +++++++++ src/ctx.hpp | 6 ++++++ src/socket_base.cpp | 9 +++++++++ src/socket_base.hpp | 6 ++++++ src/zmq.cpp | 32 ++++++++++++++++---------------- 14 files changed, 64 insertions(+), 31 deletions(-) commit 24a669f96d44acd03e03212e8ad5c32ffa756f53 Author: Martin Sustrik Date: Wed May 4 12:43:23 2011 +0200 Tore Halvorsen added to the AUTHORS file Signed-off-by: Martin Sustrik AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4536f014071dd85c5520057f902e288c65e3cd2b Author: Tore Halvorsen Date: Wed May 4 12:41:10 2011 +0200 Accessing an iterator after it is accessed is not valid. Moving the erase after the access and check agains current_id. src/xrep.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8e740d555b5b4383995cb3d81ff44c1e7add2da4 Author: Pieter Hintjens Date: Wed May 4 15:52:26 2011 +0200 Clarified zmq_poll man page that timeout resolution is 1msec NEWS | 1 + doc/zmq_poll.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) commit 71cb36d04bd74ca82aca3868e665831733995be7 Author: Pieter Hintjens Date: Tue May 3 17:30:21 2011 +0200 Fixed issue 206 NEWS | 2 ++ src/decoder.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 0fc54c9d14c8ff137e2b8aff6e472dcefb3a0c02 Author: Pieter Hintjens Date: Mon May 2 20:09:11 2011 +0200 Updated NEWS NEWS | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 16b725ddc978633b6349eb9353263c076ad9b702 Author: Martin Sustrik Date: Mon May 2 19:28:51 2011 +0200 Current inpipe remains unchaged in XREP when other pipe terminates When an inpipe terminated within XREP, it was erased from the array and thus current_in (which is an index) pointed to a different element in the array. This caused problems when we were in the middle of reading a multipart message. Signed-off-by: Martin Sustrik src/xrep.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit c688f7536ea1a2f4f8d82fcc40f962bea230dd9e Author: Pieter Hintjens Date: Sat Apr 30 09:13:28 2011 +0200 Another fix to PUB sockets with multipart messages src/dist.cpp | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) commit 10f0e7c71ed31530d3a56f9ae99ef926bfcb1090 Author: Pieter Hintjens Date: Sat Apr 30 07:37:17 2011 +0200 Updated NEWS for issue 191 NEWS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 24e56e19a82035950dd721bb9d970294f508737e Merge: 33018b3 b6befaa Author: Pieter Hintjens Date: Sat Apr 30 07:36:30 2011 +0200 Merge branch 'issue191' commit b6befaad5d9ac6c4ccb13b1668b14696d7016c01 Author: Pieter Hintjens Date: Sat Apr 30 07:36:16 2011 +0200 Message atomicity in pub sockets fixed - issue 191 src/dist.cpp | 4 +++- src/dist.hpp | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) commit 33018b30287777bf19ac292e38861b0c4b7e2599 Author: Pieter Hintjens Date: Fri Apr 29 09:24:16 2011 +0200 Updated NEWS NEWS | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 7dc87c59ded306970763c928ff0c4c350e2a2453 Author: Martin Sustrik Date: Fri Apr 29 07:23:30 2011 +0200 WSAENETUNREACH is a valid networking error Till now, 0MQ asserted on Windows when connect () returned WSAENETUNREACH. Signed-off-by: Martin Sustrik src/tcp_connecter.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit be403bf2ba1b61355cd0d2f8f6609408b71cde99 Author: Pieter Hintjens Date: Fri Apr 29 09:22:29 2011 +0200 Downstreamed patch for issue 191 src/dist.cpp | 70 ++++++++++++++++++++++++++++++--------------------------- src/dist.hpp | 17 +++++++------ 2 files changed, 46 insertions(+), 41 deletions(-) commit 0ec42592f31faa5e98faa38961ee736d892e0783 Author: Pieter Hintjens Date: Tue Apr 26 19:57:16 2011 +0200 Bumped version number for 2.1.7 include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ee185e241ec2a3091b9200cd5615cfa4f66e7a07 Author: Pieter Hintjens Date: Tue Apr 26 19:45:25 2011 +0200 Set version number for 2.1.6 include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d23534614452c954e7f64052ef232fd176e8897c Author: Pieter Hintjens Date: Tue Apr 26 19:44:36 2011 +0200 Fixed NEWS for 2.1.6 NEWS | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit ca24a1baa512751c54a89ab7eb5f815522d77b13 Author: Pieter Hintjens Date: Tue Apr 26 19:22:24 2011 +0200 Moved tests off 5555 (conflict with Eclipse) Signed-off-by: Pieter Hintjens tests/test_pair_tcp.cpp | 2 +- tests/test_reqrep_tcp.cpp | 2 +- tests/test_shutdown_stress.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit 6f653e39d7a0ade569bc7e78679930a11640de4e Author: Martin Sustrik Date: Fri Apr 22 07:51:24 2011 +0200 Assert during SUB socket termination fixed. Fair queueing algorithm was checking whether the current pipe is not closed in the middle of reading a multipart message. However, this is OK when the socket is closing down. Signed-off-by: Martin Sustrik src/fq.cpp | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit fa6541c34e9c9496ad3fe83758773965862e272d Author: Pieter Hintjens Date: Tue Apr 26 10:01:56 2011 +0200 Ignore generated RHAT spec file .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 32915f8cadc30a62524ff6fe1c70158934704117 Author: Mikko Koppanen Date: Wed Apr 20 21:55:48 2011 +0100 Backport spec file changes from upstream Makefile.am | 1 - builds/redhat/zeromq.spec | 139 ------------------------------------------ builds/redhat/zeromq.spec.in | 139 ++++++++++++++++++++++++++++++++++++++++++ configure.in | 3 +- 4 files changed, 141 insertions(+), 141 deletions(-) commit 43307455e352769189d427f260c4b48a3a19f7ce Author: Pieter Hintjens Date: Wed Apr 20 19:39:57 2011 +0200 Fixed bad commit of message validity checking include/zmq.h | 2 +- include/zmq.hpp | 2 +- src/socket_base.cpp | 12 ++++++------ src/zmq.cpp | 40 +++++++++++++++++++++++++++++++--------- 4 files changed, 39 insertions(+), 17 deletions(-) commit 205533ac79e6634650c9b77c41ef934084a84619 Author: Pieter Hintjens Date: Wed Apr 20 16:17:56 2011 +0200 Updated for 2.1.6 include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a347a957ecf3dcbf300fd4513d8aad967a492395 Author: Pieter Hintjens Date: Wed Apr 20 16:12:15 2011 +0200 Fixed error in zmq_msg_t checking, reverted to 2.1.5 include/zmq.h | 2 +- src/socket_base.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit bee9cd8aa40cf82bdb45b88e6d9fc9ef123c118e Author: Pieter Hintjens Date: Wed Apr 20 12:39:21 2011 +0200 Updated for 2.1.6 include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fd089736bcaa196106f516b87b8e8b906ffa8f63 Author: Pieter Hintjens Date: Wed Apr 20 12:31:17 2011 +0200 Updated news for 2.1.5 NEWS | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit f5043dff3ec0c1ea4619c89de8186a6d54938d5d Merge: c27e9d1 8b13301 Author: Pieter Hintjens Date: Wed Apr 20 12:29:28 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit c27e9d16ad964f3b4252df890a3ec56c1c8ff6d7 Author: Martin Sustrik Date: Tue Apr 19 08:08:15 2011 +0200 Message validity is checked in the runtime Signed-off-by: Martin Sustrik doc/zmq_msg_close.txt | 3 ++- doc/zmq_msg_copy.txt | 3 ++- doc/zmq_msg_move.txt | 3 ++- doc/zmq_recv.txt | 2 ++ doc/zmq_send.txt | 2 ++ include/zmq.h | 1 + src/req.cpp | 2 +- src/socket_base.cpp | 14 ++++++++++++++ src/xrep.cpp | 2 +- 9 files changed, 27 insertions(+), 5 deletions(-) commit 8b13301225b0ee34397af53a4c824a5bf05388ba Author: Martin Sustrik Date: Mon Apr 18 09:11:45 2011 +0200 zmq_socket(3) describes the EMFILE error code Signed-off-by: Martin Sustrik doc/zmq_socket.txt | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 2b07aaad62cfa218fcbc2f586fce94c1f9fc7284 Author: Martin Sustrik Date: Fri Apr 15 08:03:26 2011 +0200 zmq_send(3) manpage improved Signed-off-by: Martin Sustrik doc/zmq_send.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 91bfeaf9b9ef1e0370fae31b14b4be3d8b02eff5 Author: Martin Sustrik Date: Fri Apr 15 07:59:28 2011 +0200 Error handling for accept on Cygwin fixed Signed-off-by: Martin Sustrik src/tcp_listener.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 6ee55af86870e102cf9dab77e7ed217068c8c4d4 Merge: 5a87743 1b55cf2 Author: Pieter Hintjens Date: Thu Apr 7 22:56:19 2011 +0200 Merge branch 'master' of github.com:zeromq/zeromq2-1 commit 5a8774373279ec9517b89ac21a945ca65fda20d2 Author: Pieter Hintjens Date: Thu Apr 7 22:56:09 2011 +0200 Reduced stress of shutdown tests tests/test_shutdown_stress.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1b55cf2705b04caa0fc8152e1684389d91e557f0 Author: Mikko Koppanen Date: Tue Apr 5 12:00:30 2011 +0100 Fix Win32 builds src/tcp_socket.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 5fe4e9cea8af2c9d5f22d53b92ae202c03ce9c33 Author: Mikko Koppanen Date: Mon Apr 4 22:52:02 2011 +0200 Make pkg-config dependency conditional Signed-off-by: Mikko Koppanen autogen.sh | 6 ------ configure.in | 13 ++++++++----- 2 files changed, 8 insertions(+), 11 deletions(-) commit 28cdcaa8f323e05f7ebb3873c62ed1fd7839136f Author: Martin Sustrik Date: Mon Apr 4 13:12:46 2011 +0200 Another error handling issue on Win32 solved Signed-off-by: Martin Sustrik perf/inproc_lat.cpp | 2 +- perf/inproc_thr.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 08066dcf6511faddf54ede3dd28bf14bf5f89201 Author: Martin Sustrik Date: Mon Apr 4 12:49:39 2011 +0200 Issue with error checking on Win32 platform fixed Signed-off-by: Martin Sustrik src/thread.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6f9cb01eab130589d9c97062847a293b7605d429 Author: Martin Sustrik Date: Mon Apr 4 12:12:06 2011 +0200 Unreferenced variable removed Signed-off-by: Martin Sustrik src/tcp_socket.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 5436832fdfe12c51c869e2cd59722b2be21a5a2a Author: Pieter Hintjens Date: Mon Apr 4 10:50:51 2011 +0200 Fixed RPM source spec builds/redhat/zeromq.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c493a44a2c1f2eb4e9e2aa37929b16170d849975 Author: Pieter Hintjens Date: Mon Apr 4 10:36:24 2011 +0200 Fixed bad packaging for zmq_device builds/redhat/zeromq.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 122b9a48247d12258710bde53d4298da03661a01 Author: Robert G. Jakabosky Date: Sun Apr 3 20:44:02 2011 +0200 Add note about thread-safety to zmq_msg_init_data() manpage. Signed-off-by: Robert G. Jakabosky doc/zmq_msg_init_data.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 2ec3fdeff4c9b0d825cc5f1192abf3362b0bf771 Author: Pieter Hintjens Date: Sun Apr 3 14:28:07 2011 +0200 Backported inproc perf tests to 2.x api perf/inproc_lat.cpp | 16 ++++++++-------- perf/inproc_thr.cpp | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) commit 4929636cea946892870921162388ecdf39f5267a Author: Mikko Koppanen Date: Sun Apr 3 12:51:12 2011 +0100 Fix merge conflicts acinclude.m4 | 6 +++--- configure.in | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) commit 6641ed81d2d2215f6b0d2aafa30c455eafe00c29 Author: Pieter Hintjens Date: Sun Apr 3 10:37:12 2011 +0200 Updated NEWS NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 7a5f33ed180303c45b83e224bebaa4d734687fbf Author: Martin Sustrik Date: Sun Apr 3 07:36:02 2011 +0200 Git ignores .gcno files Signed-off-by: Martin Sustrik .gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 1e3ccf94c3b964ebb5b85c76775489ed73d881d1 Author: Mikko Koppanen Date: Sun Apr 3 07:34:14 2011 +0200 Additional gcov changes Signed-off-by: Mikko Koppanen acinclude.m4 | 32 +++++++++++++++++++++----------- 1 files changed, 21 insertions(+), 11 deletions(-) commit 9014b40901bf87c322f69e656ff77c99e34cf1d1 Author: Mikko Koppanen Date: Sat Apr 2 22:49:41 2011 +0200 Added code coverage checking Signed-off-by: Mikko Koppanen acinclude.m4 | 8 ++++---- configure.in | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) commit cd299055643ef160e87b7a339cb30aa0bb2eab98 Author: Mikko Koppanen Date: Sat Apr 2 22:50:46 2011 +0200 Large rename: AC_ZMQ_ to LIBZMQ_ and ac_zmq_ to libzmq_. Fixes "warning suspicious cache-id" Signed-off-by: Mikko Koppanen acinclude.m4 | 366 +++++++++++++++++++++++++++++++-------------------------- configure.in | 86 +++++++------- 2 files changed, 243 insertions(+), 209 deletions(-) commit 45f95648b825257f5426263643547a7df9c304b7 Author: Mikko Koppanen Date: Sat Apr 2 22:48:52 2011 +0200 Add option to build with system opepgm Signed-off-by: Mikko Koppanen autogen.sh | 6 ++++++ configure.in | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 0 deletions(-) commit c54e54b1c32c602d9a188d4f2318f72d4f3b21f9 Author: Pieter Hintjens Date: Sat Apr 2 20:17:38 2011 +0200 Updated NEWS for patches NEWS | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) commit b4c4648fef62b6aceaad1ab3d47764b9f3c06e47 Author: Martin Sustrik Date: Sat Apr 2 19:32:44 2011 +0200 Project location on github changed in README file Signed-off-by: Martin Sustrik README | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 006b72e73d34edda48a477d62042b3b73dfe5166 Author: Pieter Hintjens Date: Sat Apr 2 09:22:41 2011 +0200 Fixed memory leak with threads on win32 Signed-off-by: Pieter Hintjens src/thread.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit b65071324288ff5b5c1bfa2439d547a11c40b687 Author: Martin Sustrik Date: Sat Apr 2 09:50:35 2011 +0200 inproc perf tests now work on Windows Signed-off-by: Martin Sustrik builds/msvc/inproc_lat/inproc_lat.vcproj | 174 ++++++++++++++++++++++++++++++ builds/msvc/inproc_thr/inproc_thr.vcproj | 174 ++++++++++++++++++++++++++++++ builds/msvc/msvc.sln | 40 ++++--- perf/inproc_lat.cpp | 46 ++++++++- perf/inproc_thr.cpp | 46 ++++++++- 5 files changed, 458 insertions(+), 22 deletions(-) commit 6da2436ea8944dc8625ccaa005eddc69c5a8942b Author: Martin Sustrik Date: Fri Apr 1 11:55:10 2011 +0200 inproc_lat and inproc_thr added to .gitignore Signed-off-by: Martin Sustrik .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e1926d84698cdc2a331123c7d3f6c0d2aa8d8cfd Author: Martin Sustrik Date: Fri Apr 1 11:53:51 2011 +0200 PGM wire format specification improved in zmq_pgm(7) Signed-off-by: Martin Sustrik doc/zmq_pgm.txt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 1fb5a3ee6e07cdbdef31a5dd1abaf8799a88b1a7 Author: Martin Sustrik Date: Thu Mar 31 23:16:14 2011 +0200 Robert G. Jakabosky added to the AUTHORS file Signed-off-by: Martin Sustrik AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 0e528fb7029234f490d77ab7d382d47413f85c4e Author: Robert G. Jakabosky Date: Thu Mar 31 23:14:38 2011 +0200 Adding thread latency/throughput perf. examples. Signed-off-by: Robert G. Jakabosky perf/Makefile.am | 8 ++- perf/inproc_lat.cpp | 190 +++++++++++++++++++++++++++++++++++++++++++++++ perf/inproc_thr.cpp | 204 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 401 insertions(+), 1 deletions(-) commit 51d6e1d47d3a2cf13358b83d312236317a53f435 Author: Pieter Hintjens Date: Wed Mar 30 14:45:29 2011 +0200 Udated version for next release include/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5684d43eb3a03cb863f920015c5fa52f73977ec8 Author: Pieter Hintjens Date: Wed Mar 30 14:21:58 2011 +0200 Fixed whitespace error doc/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3420eb7304ec05e2d7f36ac6f811abf2d0ba8bff Author: Pieter Hintjens Date: Wed Mar 30 14:09:19 2011 +0200 Updated NEWS for 2.1.4 NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e621c48ba04fe5dbe77f416bed185a60273e5be0 Author: Pieter Hintjens Date: Mon Mar 28 20:52:22 2011 +0200 Restored HTML man pages output doc/Makefile.am | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit a18d55633378e6949a4dd619ade3bd434ec3614e Author: Pieter Hintjens Date: Sat Mar 26 09:53:06 2011 +0100 Added missing HWP/inproc change to 2.1.1 notes NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 20e6dc44164bea5b247225dac8dcbf7630314f72 Merge: 1a8d95d 55d6932 Author: Mikko Koppanen Date: Wed Mar 23 14:21:02 2011 +0000 Merge branch 'master' of https://github.com/zeromq/zeromq2-1 commit 1a8d95da9eae484df2c3b6879b3c6f76b48a98cb Author: Mikko Koppanen Date: Wed Mar 23 14:20:57 2011 +0000 Fix make dist Makefile.am | 7 ++++++- configure.in | 3 +++ foreign/openpgm/Makefile.am | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) commit 55d6932031da03d1321e728a376a64217ecf0d61 Author: Pieter Hintjens Date: Wed Mar 23 11:45:38 2011 +0100 Upgraded OpenPGM to 5.1.115 NEWS | 5 +++++ foreign/openpgm/libpgm-5.1.114~dfsg.tar.gz | Bin 1051807 -> 0 bytes foreign/openpgm/libpgm-5.1.115~dfsg.tar.gz | Bin 0 -> 1054630 bytes 3 files changed, 5 insertions(+), 0 deletions(-) commit f392d73332d5642f17a85ffe337c7f45217f4124 Author: Steven McCoy Date: Wed Mar 23 14:55:00 2011 +0800 OpenPGM 5.1.115 to fix assertion with messages smaller than an IP header length. Signed-off-by: Steven McCoy configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4c988d321a60279bf324140c539b6e586d5c29d2 Author: Pieter Hintjens Date: Tue Mar 22 22:31:30 2011 +0100 Prepared for 2.1.4 release NEWS | 11 +++++++++++ include/zmq.h | 2 +- 2 files changed, 12 insertions(+), 1 deletions(-) commit 34b7f54b0fa6e7884a76792633ca66f176d25906 Merge: b10138f 91bdf04 Author: Pieter Hintjens Date: Tue Mar 22 22:29:12 2011 +0100 Merge branch 'openpgm-no-artifact' of https://github.com/mkoppanen/zeromq2-1 into mkoppanen-openpgm-no-artifact commit 91bdf04ac5d70c265efe44ae9462c403ec8a93e7 Author: Mikko Koppanen Date: Tue Mar 22 09:21:05 2011 +0000 Make sure that OpenPGM artifacts are not installed during ZeroMQ installation and remove unnecessary OpenPGM build defines .gitignore | 1 + Makefile.am | 2 +- configure.in | 53 +++--------------------------------------- foreign/openpgm/Makefile.am | 6 +++++ 4 files changed, 12 insertions(+), 50 deletions(-) commit b10138f6ec803b9b616c483a7792fb5ed4e9ccc6 Author: Pieter Hintjens Date: Mon Mar 21 21:08:23 2011 +0100 Fixed RHAT packaging for removed devices builds/redhat/zeromq.spec | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) commit 3c0180fbda42d04659268e50241ca75c1668d01e Author: Pieter Hintjens Date: Mon Mar 21 14:05:48 2011 +0100 Fixed error in OpenPGM news NEWS | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) 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: Sun Mar 20 20:52:54 2011 +0100 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 | 5 ++++- src/lb.cpp | 25 ++++++++++++++++++++++++- src/lb.hpp | 3 +++ 3 files changed, 31 insertions(+), 2 deletions(-) commit 2294c87d2c670e95595553d3fb7a13264216a540 Author: Pieter Hintjens Date: Sun Mar 20 17:27:43 2011 +0100 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 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. 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 NEWS | 3 +++ src/dist.cpp | 44 +++++++++++++++++++++++++++++++++++++++----- src/dist.hpp | 15 +++++++++++++++ 3 files changed, 57 insertions(+), 5 deletions(-) commit 6e3c38ab2d85eaf46ad9e218914e29f9984a54c2 Author: Pieter Hintjens Date: Sun Mar 20 10:26:20 2011 +0100 Clarified scope of ZMQ_PAIR sockets Signed-off-by: Pieter Hintjens 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 84131c004431520f2f62e0cc45e253c13575e6da Author: Pieter Hintjens Date: Thu Mar 17 11:13:50 2011 +0100 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 Sustrik src/tcp_listener.cpp | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) commit ab1fc89b84221407ee93d0f9a87405222d336a60 Author: Steven McCoy Date: Thu Mar 17 12:10:58 2011 +0800 Add path support for asciidoc and xmlto. 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: Steven McCoy doc/Makefile.am | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 976b79e38946e6a573a6567c9a4e405f5438da6f Author: Steven McCoy Date: Thu Mar 17 12:07:45 2011 +0800 Add silent rules to Automake. Signed-off-by: Steven McCoy configure.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 046fea6c410295471e78f219ed077e41c63f3275 Author: Steven McCoy Date: Thu Mar 17 12:06:58 2011 +0800 Bootstrapping OpenPGM Autoconf system no longer required. Signed-off-by: Steven McCoy configure.in | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit be4c3afd386576932abb25deff765af378095ff4 Author: Steven McCoy Date: Thu Mar 17 12:06:36 2011 +0800 Bump OpenPGM to 5.1.114. 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. 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: Steven McCoy src/pgm_socket.hpp | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) 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 Mar 14 20:29:00 2011 +0100 FreeBSD complation error fixed There was an error in pgm_receiver wrt strict aliasing. Signed-off-by: Martin Sustrik NEWS | 5 +++++ src/pgm_receiver.cpp | 5 ++++- 2 files changed, 9 insertions(+), 1 deletions(-) commit 74507887ee55faf12b5ac53399b9e3e815fe526d Merge: 58e8f1d 1c31ed6 Author: Pieter Hintjens Date: Tue Mar 15 10:41:30 2011 +0100 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 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 NEWS | 2 ++ src/pgm_socket.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletions(-) commit 56743e499bdc7cd03eff692439b2c16913fba830 Author: Pieter Hintjens Date: Sun Mar 13 18:08:08 2011 +0100 Added ROUTER/DEALER socket aliases NEWS | 3 +++ include/zmq.h | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) commit 2f4d85fd1779d6bc9a506356d7a52ec43533a379 Author: Pieter Hintjens Date: Sun Mar 13 18:07:30 2011 +0100 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 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 46aa3f6f4a8328025fb5d13c33ff68770200be43 Author: Pieter Hintjens Date: Wed Aug 4 14:41:43 2010 +0200 Added man page for the zmq_device method doc/zmq_device.txt | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 92 insertions(+), 0 deletions(-) commit af3f1fb864dfe842f76322e744e809dd1647b281 Author: Pieter Hintjens Date: Sun Mar 13 07:44:34 2011 +0100 Updated man page for ZMQ_ROUTER, ZMQ_DEALER doc/zmq_socket.txt | 38 ++++++++++++++++++++++---------------- 1 files changed, 22 insertions(+), 16 deletions(-) commit 42c672aa781c3230ce2240f205eb924074c25a1c Author: Pieter Hintjens Date: Sun Mar 13 06:54:57 2011 +0100 Defined ZMQ_DEALER and ZMQ_ROUTER 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 Date: Sat Sep 4 19:08:55 2010 +0200 Version number incremented to 2.0.10 builds/msvc/platform.hpp | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ebf3089735329f0d083a992c98a9fd63b128346e Author: Martin Sustrik Date: Sat Sep 4 18:38:20 2010 +0200 NEWS updated for 2.0.9 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 Update .gitignore .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 32fd916c731901944e01c0cb445d32ce0d162693 Author: Martin Lucina Date: Sat Sep 4 17:42:33 2010 +0200 doc: Add 0MQ version to XHTML11 backend footer Thanks to Matt Weinstein for the suggestion. doc/asciidoc.conf | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) commit a6d3629fb4f87c018c7ba2f8c4ff69f7eda07790 Author: Martin Lucina Date: Sat Sep 4 17:26:36 2010 +0200 build: Generate ChangeLog in 'make dist', ZIP automatically Change 'make dist' to generate the Git ChangeLog file, that way it doesn't have to be manually updated nor kept in Git which causes unnecessary work. Also change 'make dist' to invoke 'dist-zip' automatically to generate a ZIP as well as a .tar.gz. Thanks to http://live.gnome.org/Git/ChangeLog for the inspiration to automatically generate ChangeLog. ChangeLog | 2724 ---------------------------------------------------------- Makefile.am | 20 +- 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 Broken device numbering reverted include/zmq.h | 64 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 32 insertions(+), 32 deletions(-) commit 10227899b1ccdaecf709fbfc7b765e147baf3080 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 c2f3b3b4458187085e148850068f9719c2567614 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 ae567be0c295d9c18da5ba4be4f8403cc844a9a3 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 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 zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached Ensure that 0MQ does not attempt to call select() on more than FD_SETSIZE file descriptors. src/select.cpp | 4 ++++ src/zmq.cpp | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) commit f850190c16df0d55015dc15cd5c0c50289db5dda Author: Martin Lucina Date: Sat Sep 4 16:10:14 2010 +0200 zmq.h: Fix typo and use of C99 comment 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 doc: Update zmq_socket(3) for 2.0.8 API changes doc/zmq_socket.txt | 40 ++++++++++++++++++++++------------------ 1 files changed, 22 insertions(+), 18 deletions(-) commit 26b39bcdef390f45bb316c4488b51470c27086e2 Author: Martin Lucina Date: Sat Sep 4 15:55:41 2010 +0200 Revert "Added man page for the zmq_device method" This reverts commit f575f252c99c99d3622f313d6bbad6635197a1e4. Conflicts: doc/zmq_device.txt doc/zmq_device.txt | 99 ---------------------------------------------------- 1 files changed, 0 insertions(+), 99 deletions(-) commit 8800ac7de5d50426b0459ebea4568bb77954ea3d Author: Martin Lucina Date: Sat Sep 4 15:55:19 2010 +0200 Revert "Added clean target that deletes generated man pages" This reverts commit 6cd90304476c1c6873d67068009def63e520b848. doc/Makefile.am | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) commit 32baeb610e779862b58c56f66571b01599743a9e Author: Martin Lucina Date: Sat Sep 4 15:55:11 2010 +0200 Revert "Various changes to documentation project:" This reverts commit 77a3c36ff1f11215229a4efdb821a3cb83a9d6fc. doc/asciidoc.conf | 15 ------ doc/zmq.txt | 19 +++++++ doc/zmq_bind.txt | 9 +++- doc/zmq_close.txt | 4 ++ doc/zmq_connect.txt | 4 ++ doc/zmq_cpp.txt | 4 ++ doc/zmq_deviced.txt | 123 --------------------------------------------- doc/zmq_errno.txt | 4 ++ doc/zmq_forwarder.txt | 4 ++ doc/zmq_getsockopt.txt | 4 ++ doc/zmq_init.txt | 4 ++ doc/zmq_inproc.txt | 4 ++ doc/zmq_ipc.txt | 4 ++ doc/zmq_msg_close.txt | 4 ++ doc/zmq_msg_copy.txt | 4 ++ doc/zmq_msg_data.txt | 4 ++ doc/zmq_msg_init.txt | 4 ++ doc/zmq_msg_init_data.txt | 4 ++ doc/zmq_msg_init_size.txt | 4 ++ doc/zmq_msg_move.txt | 4 ++ doc/zmq_msg_size.txt | 4 ++ doc/zmq_pgm.txt | 5 ++- doc/zmq_poll.txt | 4 ++ doc/zmq_queue.txt | 4 ++ doc/zmq_recv.txt | 4 ++ doc/zmq_send.txt | 4 ++ doc/zmq_setsockopt.txt | 4 ++ doc/zmq_socket.txt | 31 ++++++------ doc/zmq_streamer.txt | 4 ++ doc/zmq_strerror.txt | 4 ++ doc/zmq_tcp.txt | 4 ++ doc/zmq_term.txt | 5 ++ doc/zmq_version.txt | 4 ++ 33 files changed, 155 insertions(+), 156 deletions(-) commit 4cb6dbd52f5ab65350a448ceb07ff77eacc2b84c Author: Martin Lucina Date: Sat Sep 4 15:55:03 2010 +0200 Revert "Reverting 'clean' change to Makefile" This reverts commit c51de31f2fd31f782e419bfac2fb8d40d689f3e3. doc/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 48d3e2d6607499b8c5feb1258c9bd40519923c69 Author: Martin Lucina Date: Sat Sep 4 15:54:53 2010 +0200 Revert "Removed empty man pages for old standalone devices" This reverts commit 6ff193999d96487f7aa7e578980ab5554e61d8dc. doc/asciidoc.conf | 2 +- doc/zmq_forwarder.txt | 29 +++++++++++++++++++++++++++++ doc/zmq_queue.txt | 29 +++++++++++++++++++++++++++++ doc/zmq_streamer.txt | 29 +++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+), 1 deletions(-) commit 6c393f53e28f41118eed9a8d034d8d46f2555572 Author: Martin Lucina Date: Sat Sep 4 15:54:34 2010 +0200 Revert "Further cleanups on reference manual" This reverts commit 13f3481e127a6b2390e847af6b01ee88f1b4ae61. Conflicts: doc/zmq_device.txt doc/zmq_tcp.txt doc/zmq.txt | 22 +++++++++++------ doc/zmq_bind.txt | 13 +++------- doc/zmq_connect.txt | 13 +++------- doc/zmq_device.txt | 60 +++++++++++------------------------------------ doc/zmq_deviced.txt | 50 +++++++++++---------------------------- doc/zmq_getsockopt.txt | 2 +- doc/zmq_pgm.txt | 4 +- doc/zmq_poll.txt | 4 +- doc/zmq_setsockopt.txt | 2 +- doc/zmq_tcp.txt | 8 +++--- 10 files changed, 60 insertions(+), 118 deletions(-) commit 6647e61243fdfbdc600ef3bfbd15b7c2ca6e853e Author: Martin Lucina Date: Sat Sep 4 15:51:40 2010 +0200 Revert "Small improvements to zmq_device(3) page" This reverts commit 96bcc9e6cf73781c31042278eb960c0363a78805. doc/zmq_device.txt | 32 ++++++++++---------------------- 1 files changed, 10 insertions(+), 22 deletions(-) commit 83d253d72d4fe83f4a001a7cfb4059ccc52b04e0 Author: Martin Lucina Date: Sat Sep 4 15:51:09 2010 +0200 Revert "Removed wip zmq_deviced from master" This reverts commit de0173754cc82f6c08875a892892f043a804554c. doc/Makefile.am | 2 +- doc/zmq.txt | 4 +- 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 Prior to this patch prefix_tree asserts. This is because as it adds the 255th element at a node it attempts to calculate the count member var which is an unsigned char via count = (255 -0) + 1; and pass the result to realloc. Unfortunately the result is zero and realloc returns null; the prefix_tree asserts. I have fixed it by making the count an unsigned short. src/prefix_tree.cpp | 12 ++++++------ src/prefix_tree.hpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit 8ec0743c7551de3c76126d080961cece732370f1 Author: Bernd Melchers Date: Thu Sep 2 07:33:57 2010 +0200 Fix for signaler_t on HP-UX and AIX platforms AUTHORS | 1 + src/signaler.cpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit d5b6f680a54c682da066e769c46075a4bc57bd55 Author: Martin Sustrik Date: Thu Sep 2 07:26:14 2010 +0200 Mikael Kjaer added to AUTHORS 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 Erasure of retired fd's in select.cpp causes an assertion in MSVC 2008 STL I was hitting an issue with an SCL enabled STL library in connection with the way select_t::loop was erasing retired fd's. The problem as identified by the SCL assertion was that by the time the iterator given to the erase method was called it was considered invalid by the library. I am not sure this isn't just a "quirk" of the MSVC STL library as the other code looks valid to me as well. 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 maint: will become 2.0.9 builds/msvc/platform.hpp | 2 +- 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 Update ChangeLog for v2.0.8 ChangeLog | 493 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 493 insertions(+), 0 deletions(-) commit c9076c5d8b9b69f4e1bf797127735a563b712eb9 Author: Martin Lucina Date: Wed Aug 25 12:50:16 2010 +0200 Basic documentation for XREQ/XREP socket types Add some basic documentation for XREQ/XREP socket types, including a brief description of the most common use case (REQ -> XREP) and (XREQ -> REP). doc/zmq_socket.txt | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) commit 6d275a8788ad06dda451845402877010f114d6d4 Merge: 98bea86 d788c1f Author: Pieter Hintjens Date: Wed Aug 25 12:09:55 2010 +0200 Updated NEWS for stable 2.0.8 release commit 98bea86240c3e2cb0c1c9832f5660994a0a11f34 Author: Pieter Hintjens Date: Wed Aug 25 11:43:52 2010 +0200 Updated NEWS for stable 2.0.8 release NEWS | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 48 insertions(+), 6 deletions(-) commit d788c1f7e49305976f3e1d0540c5671c47348880 Author: Pieter Hintjens Date: Wed Aug 25 11:43:52 2010 +0200 Updated NEWS for stable 2.0.8 release NEWS | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 41 insertions(+), 6 deletions(-) commit c06a3cc5101a36bf70c593937374371cafbacfc3 Author: Martin Lucina Date: Wed Aug 25 11:24:24 2010 +0200 Update version number to 2.0.8 builds/msvc/platform.hpp | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b66dd7afd20b82668a3d7756900c91680bd1d91e Author: Martin Lucina Date: Wed Aug 25 09:50:45 2010 +0200 zmq_stopwatch_stop: Don't return EFAULT Function returning unsigned long int cannot return (-1) src/zmq.cpp | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 2b2accb8bf574bfb7d85893696f477d5bc6ca272 Author: Pieter Hintjens Date: Sat Aug 21 15:47:10 2010 +0200 Added calls to zmq_msg_close in examples doc/zmq_recv.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c52d1f2d47ac93e391ff707b50245aa33d7e8323 Author: Pieter Hintjens Date: Sat Aug 21 13:46:03 2010 +0200 Fixed example for multipart zmq_recv() doc/zmq_recv.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 87612be91d4ff5252613196f061bd89d3bce25ec Merge: de0035b 5be54b9 Author: Pieter Hintjens Date: Fri Aug 20 01:06:34 2010 +0200 Merge branch '46_device_robustness' commit de0035b6d9fc1c5423d10fbac468b0e17188510f Author: Pieter Hintjens Date: Thu Aug 19 14:31:04 2010 +0200 Fixed git URL in README README | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7aba2d10338727b030c3a9ff4ec34f7086ea5023 Author: Martin Sustrik Date: Wed Aug 18 12:00:26 2010 +0200 documentation leftover from v2.0.6 cleaned in zmq(7) doc/zmq.txt | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit de0173754cc82f6c08875a892892f043a804554c Author: Pieter Hintjens Date: Wed Aug 11 21:12:10 2010 +0200 Removed wip zmq_deviced from master doc/Makefile.am | 2 +- doc/zmq.txt | 4 +- doc/zmq_deviced.txt | 145 --------------------------------------------------- 3 files changed, 2 insertions(+), 149 deletions(-) commit 5be54b912029381736ee8b8798f95cc9a2544a70 Author: Pieter Hintjens Date: Wed Aug 11 17:05:19 2010 +0200 46 - Devices vulnerable to invalid messages http://github.com/zeromq/zeromq2/issues#issue/46 Invalid messages are now discarded silently, instead of causing an assertion failure. src/xrep.cpp | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit e74d350068e8a7d2becbd791f19e2c1ef20afae5 Author: Pieter Hintjens Date: Wed Aug 11 17:00:12 2010 +0200 Fixed (un)signed type errors in get/setsockopt manual doc/zmq_getsockopt.txt | 10 +++++----- doc/zmq_setsockopt.txt | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit a12f446c4c160e6fb969c35ff01578e5f0965ecc Author: Pieter Hintjens Date: Tue Aug 10 12:36:56 2010 +0200 Modified zmq_tcp(7) to emphasize wildcard interfaces doc/zmq_tcp.txt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit b6cdd369e328ceca2c46758d92ad8ea6a1f59cd7 Author: Pieter Hintjens Date: Sun Aug 8 11:43:32 2010 +0200 Added error checking (EFAULT) for null arguments * Fixed zmq_term, zmq_socket, zmq_close, zmq_setsockopt, * zmq_getsockopt, zmq_bind, zmq_connect, zmq_send, * zmq_recv, zmq_poll, zmq_device, zmq_stopwatch_stop * Updated Reference Manual for these methods doc/zmq_bind.txt | 2 + doc/zmq_close.txt | 3 +- doc/zmq_connect.txt | 2 + doc/zmq_device.txt | 13 ++++++++- doc/zmq_getsockopt.txt | 2 + doc/zmq_poll.txt | 2 + doc/zmq_recv.txt | 2 + doc/zmq_send.txt | 2 + doc/zmq_setsockopt.txt | 2 + doc/zmq_socket.txt | 3 +- doc/zmq_term.txt | 3 +- src/zmq.cpp | 63 ++++++++++++++++++++++++++++++++++++----------- 12 files changed, 79 insertions(+), 20 deletions(-) commit 677b3d906acc97c26855bdc31126492878ad6292 Author: Pieter Hintjens Date: Sat Aug 7 20:55:07 2010 +0200 Added not-null assertions on pointer arguments in C API functions * zmq_term * zmq_socket * zmq_close * zmq_setsockopt * zmq_getsockopt * zmq_bind * zmq_connect * zmq_send * zmq_recv * zmq_poll * zmq_device * zmq_stopwatch_stop src/zmq.cpp | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) commit b579aa9510fe6897735ba2aae5db399ef89ad573 Merge: 6d35e82 2100a91 Author: Martin Lucina Date: Fri Aug 6 12:01:40 2010 +0200 Merge branch 'master' of github.com:zeromq/zeromq2 commit 6d35e82db4178b936b33c2eaa6a9f4a2b597e2f3 Author: Martin Lucina Date: Fri Aug 6 12:00:57 2010 +0200 Fix uninitialized use of nbytes in signaler fix src/signaler.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2100a9133312f7feecd22c4f809c8f3912c93274 Merge: 78e9ee8 16b43e6 Author: Pieter Hintjens Date: Fri Aug 6 11:09:29 2010 +0200 Merge branch 'master' of github.com:zeromq/zeromq2 commit 16b43e657b44902b3b45fbb01228c813cf27ad39 Merge: 9ac2ff4 96bcc9e Author: Martin Lucina Date: Thu Aug 5 23:41:49 2010 +0200 Merge branch 'master' of github.com:zeromq/zeromq2 commit 9ac2ff449ccfb71cb1f3c9d7b2cf67c440539228 Author: Martin Lucina Date: Thu Aug 5 23:40:30 2010 +0200 zmq::signaler_t: Restart syscalls on EINTR This patch restarts the send() or recv() inside zmq::signaler_t if the call fails due to EINTR. src/signaler.cpp | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) commit 78e9ee84bf0e89eeb7134771b1f501ea0f9ccd9d Author: Pieter Hintjens Date: Thu Aug 5 18:49:49 2010 +0200 Fixed MSVC project for PULL/PUSH builds/msvc/libzmq/libzmq.vcproj | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 96bcc9e6cf73781c31042278eb960c0363a78805 Author: Pieter Hintjens Date: Wed Aug 4 17:06:38 2010 +0200 Small improvements to zmq_device(3) page * Clarified broker model and proxy model * Added example of proxy model doc/zmq_device.txt | 32 ++++++++++++++++++++++---------- 1 files changed, 22 insertions(+), 10 deletions(-) commit 13f3481e127a6b2390e847af6b01ee88f1b4ae61 Author: Pieter Hintjens Date: Wed Aug 4 16:05:25 2010 +0200 Further cleanups on reference manual - fixed unwrapped text in new man pages - fixed over-long lines in older pages, where possible - removed reference to old standalong devices from index page - added refernce to new zmq_device[3] documented from index page - some minor spelling corrections doc/zmq.txt | 22 ++++++------------ doc/zmq_bind.txt | 13 +++++++--- doc/zmq_connect.txt | 13 +++++++--- doc/zmq_device.txt | 56 ++++++++++++++++++++++++++++++++++++----------- doc/zmq_deviced.txt | 50 ++++++++++++++++++++++++++++++------------ doc/zmq_getsockopt.txt | 2 +- doc/zmq_pgm.txt | 4 +- doc/zmq_poll.txt | 4 +- doc/zmq_setsockopt.txt | 2 +- doc/zmq_tcp.txt | 11 +++++---- 10 files changed, 117 insertions(+), 60 deletions(-) commit 6ff193999d96487f7aa7e578980ab5554e61d8dc Author: Pieter Hintjens Date: Wed Aug 4 15:07:15 2010 +0200 Removed empty man pages for old standalone devices doc/asciidoc.conf | 2 +- doc/zmq_forwarder.txt | 29 ----------------------------- doc/zmq_queue.txt | 29 ----------------------------- doc/zmq_streamer.txt | 29 ----------------------------- 4 files changed, 1 insertions(+), 88 deletions(-) commit c51de31f2fd31f782e419bfac2fb8d40d689f3e3 Author: Pieter Hintjens Date: Wed Aug 4 14:56:58 2010 +0200 Reverting 'clean' change to Makefile doc/Makefile.am | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 77a3c36ff1f11215229a4efdb821a3cb83a9d6fc Author: Pieter Hintjens Date: Wed Aug 4 14:43:33 2010 +0200 Various changes to documentation project: * Added documentation for zmq_deviced, which we're developing * Created consistent page footer in documentation template * Page footer notes doc authors and copyright statement doc/asciidoc.conf | 15 ++++++ doc/zmq.txt | 19 ------- doc/zmq_bind.txt | 9 +--- doc/zmq_close.txt | 4 -- doc/zmq_connect.txt | 4 -- doc/zmq_cpp.txt | 4 -- doc/zmq_deviced.txt | 123 +++++++++++++++++++++++++++++++++++++++++++++ doc/zmq_errno.txt | 4 -- doc/zmq_forwarder.txt | 4 -- doc/zmq_getsockopt.txt | 4 -- doc/zmq_init.txt | 4 -- doc/zmq_inproc.txt | 4 -- doc/zmq_ipc.txt | 4 -- doc/zmq_msg_close.txt | 4 -- doc/zmq_msg_copy.txt | 4 -- doc/zmq_msg_data.txt | 4 -- doc/zmq_msg_init.txt | 4 -- doc/zmq_msg_init_data.txt | 4 -- doc/zmq_msg_init_size.txt | 4 -- doc/zmq_msg_move.txt | 4 -- doc/zmq_msg_size.txt | 4 -- doc/zmq_pgm.txt | 5 +-- doc/zmq_poll.txt | 4 -- doc/zmq_queue.txt | 4 -- doc/zmq_recv.txt | 4 -- doc/zmq_send.txt | 4 -- doc/zmq_setsockopt.txt | 4 -- doc/zmq_socket.txt | 31 ++++++------ doc/zmq_streamer.txt | 4 -- doc/zmq_strerror.txt | 4 -- doc/zmq_tcp.txt | 4 -- doc/zmq_term.txt | 5 -- doc/zmq_version.txt | 4 -- 33 files changed, 156 insertions(+), 155 deletions(-) commit 6cd90304476c1c6873d67068009def63e520b848 Author: Pieter Hintjens Date: Wed Aug 4 14:42:21 2010 +0200 Added clean target that deletes generated man pages doc/Makefile.am | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit f575f252c99c99d3622f313d6bbad6635197a1e4 Author: Pieter Hintjens Date: Wed Aug 4 14:41:43 2010 +0200 Added man page for the zmq_device method doc/zmq_device.txt | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 92 insertions(+), 0 deletions(-) commit 11a410b65827a3958fb5f417c29e95c1953a0b42 Author: Pieter Hintjens Date: Wed Aug 4 14:38:56 2010 +0200 Renamed ZMQ_UPSTREAM to ZMQ_PULL, and ZMQ_DOWNSTREAM to ZMQ_PUSH. Left the old definitions as aliases, to be removed in release 3.0. Also renamed the source files implementing these two socket types. This change does not break existing applications nor bindings, but allows us to fix the documentation and user guide now, rather than keeping the old (confusing) names. include/zmq.h | 61 ++++++++++++++++--------------- src/Makefile.am | 8 ++-- src/app_thread.cpp | 12 +++--- src/downstream.cpp | 101 ---------------------------------------------------- src/downstream.hpp | 61 ------------------------------- src/pull.cpp | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/pull.hpp | 62 ++++++++++++++++++++++++++++++++ src/push.cpp | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/push.hpp | 61 +++++++++++++++++++++++++++++++ src/upstream.cpp | 98 -------------------------------------------------- src/upstream.hpp | 62 -------------------------------- 11 files changed, 364 insertions(+), 361 deletions(-) commit 544b36da68729daffefa8f40d2efed5945851a01 Author: Martin Lucina Date: Fri Jul 30 16:49:06 2010 +0200 XREQ: Correct behaviour on hitting ZMQ_HWM This reverts part of commit 84e0c7991a9b316ed571533abc628cc1175750a3 to get correct ZMQ_HWM semantics with XREQ sockets: When sending a message to an XREQ socket, the underlying pipe is selected in a round-robin fashion. If an underlying pipe is full it is skipped. If there are no underlying pipes, or all underlying pipes are full then zmq_send() shall block or return EAGAIN, depending on whether or not the call is blocking. Messages are never dropped. src/xreq.cpp | 27 +++------------------------ src/xreq.hpp | 3 --- 2 files changed, 3 insertions(+), 27 deletions(-) commit 66470b2c55d74fb137211f4264bbfc5e3f454534 Author: Martin Hurton Date: Mon Jul 26 12:24:00 2010 +0200 perf: fix typo perf/local_thr.cpp | 2 +- perf/remote_thr.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 10533a560b4af1d3dae63c87c737e25bbdb78998 Author: Martin Hurton Date: Wed Jul 14 18:31:17 2010 +0200 pipe: check_read() should check for message delimiter src/pipe.cpp | 27 ++++++++++++++++++++++----- src/pipe.hpp | 3 +++ src/ypipe.hpp | 11 +++++++++++ 3 files changed, 36 insertions(+), 5 deletions(-) commit e1c596b37eef2c2c72c605d7bf4a5c97050add6b Author: Martin Hurton Date: Sat Jul 24 16:57:13 2010 +0200 Make sure lwm > 0 when hwm > 0 src/pipe.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5b1a6a4bea1cebe860769f82702410f6c1d0ab1b Author: Martin Lucina Date: Wed Jul 21 17:33:40 2010 +0200 Issue 42 - getaddrinfo() fails src/ip.cpp | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) commit aedf3f808befd8cf32a16e34b907c60c79eabfd7 Author: Martin Sustrik Date: Mon Jul 19 08:38:24 2010 +0200 EHOSTUNREACH is a valid return value from recv() src/tcp_socket.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 269904361b565efa54a106e3eda96091320439bd Author: Martin Sustrik Date: Tue Jul 13 11:46:56 2010 +0200 minor comment clarification src/tcp_connecter.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit da49e5a4dd4602bf893193a5e6e64af54695b51c Author: Martin Sustrik Date: Tue Jul 13 07:57:29 2010 +0200 devices exit in case of context termination src/forwarder.cpp | 15 +++++++++++++-- src/queue.cpp | 42 +++++++++++++++++++++++++++++++++++------- src/streamer.cpp | 15 +++++++++++++-- 3 files changed, 61 insertions(+), 11 deletions(-) commit ca057c7db8dcb2384e2498c938f3d83f64b78a7d Author: Martin Hurton Date: Sat Jul 10 22:57:47 2010 +0200 Fix identity generation for transient inproc connections src/socket_base.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 1f61c87ac527e2a75cabbce4ea4c5f916f4532e7 Author: Martin Hurton Date: Wed Jul 7 17:15:32 2010 +0200 issue 40 - nbytes != -1 (tcp_socket.cpp:216) src/tcp_socket.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit fd707fedc59124ed627780efed081acf33f455d2 Author: Martin Hurton Date: Tue Jul 6 22:47:07 2010 +0200 issue 38 - Assertion failed: fetched (xrep.cpp:196) src/xrep.cpp | 20 ++++++++++++-------- src/xrep.hpp | 6 ++++++ 2 files changed, 18 insertions(+), 8 deletions(-) commit 805af8241d7450fe1e60174739a78325677897f6 Author: Martin Lucina Date: Wed Jun 30 16:23:07 2010 +0200 asciidoc.conf was missing from distribution tarball doc/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0ab65324195ad70205514d465b03d851a6de051c Author: Pieter Hintjens Date: Tue Jun 29 21:08:41 2010 +0200 Prevent socket reuse by second bind, on win32 src/tcp_listener.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 79a3d07c8587e840548791efc314b0184c584881 Author: Martin Sustrik Date: Tue Jun 29 07:45:11 2010 +0200 MSVC build fixed src/msg_store.cpp | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) commit ba91644fdb48cec97edc6965c4ca7ab564a3513f Author: Martin Sustrik Date: Sat Jun 26 20:11:40 2010 +0200 msg_store added to MSVC build builds/msvc/libzmq/libzmq.vcproj | 8 ++++++++ src/msg_store.cpp | 2 ++ 2 files changed, 10 insertions(+), 0 deletions(-) commit 1dda8a2aaabd3b7705b0ecd67d6d9737d1978946 Author: Pieter Hintjens Date: Fri Jun 25 18:35:42 2010 +0200 Used more expressive variable names src/msg_store.cpp | 73 +++++++++++++++++++++++----------------------------- 1 files changed, 32 insertions(+), 41 deletions(-) commit fca2e8e8cc30bcd134839f6d0f5f9963323dad2b Author: Martin Hurton Date: Mon Jun 21 15:06:51 2010 +0200 Add SWAP support src/Makefile.am | 2 + src/msg_store.cpp | 313 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/msg_store.hpp | 114 +++++++++++++++++++ src/pipe.cpp | 114 +++++++++++++++---- src/pipe.hpp | 29 ++++-- src/session.cpp | 4 +- src/socket_base.cpp | 8 +- 7 files changed, 545 insertions(+), 39 deletions(-) commit 10c28c1fc2f06c93e12a7c60f79a315cec7c5a52 Author: Martin Hurton Date: Sat Jun 19 20:46:16 2010 +0200 Revive reader on pipe termination src/pipe.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2c3913bb19fa95e7decaa7967e2469dc428e46b0 Author: Martin Hurton Date: Sat Jun 19 19:46:35 2010 +0200 fix double free error in PAIR socket src/pair.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit cff7ba2315c0f62fa3679afa24ecea88da38a365 Author: Martin Sustrik Date: Thu Jun 17 17:09:51 2010 +0200 Windows build fixed builds/msvc/c_local_lat/c_local_lat.vcproj | 4 ---- builds/msvc/c_local_thr/c_local_thr.vcproj | 4 ---- builds/msvc/c_remote_lat/c_remote_lat.vcproj | 4 ---- builds/msvc/c_remote_thr/c_remote_thr.vcproj | 4 ---- include/zmq_utils.h | 8 ++++++++ src/zmq.cpp | 1 + 6 files changed, 9 insertions(+), 16 deletions(-) commit 7f01e9970d211235fc8057de6dc41ba8ceafe795 Author: Martin Sustrik Date: Thu Jun 17 16:51:53 2010 +0200 stopwatch returned to libzmq include/zmq.h | 2 + include/zmq_utils.h | 49 +++++++++++++++++++++++++++++ perf/Makefile.am | 9 ++--- perf/helpers.cpp | 86 --------------------------------------------------- perf/helpers.h | 40 ----------------------- perf/local_lat.cpp | 4 +- perf/local_thr.cpp | 6 ++-- perf/remote_lat.cpp | 6 ++-- perf/remote_thr.cpp | 4 +- src/Makefile.am | 2 +- src/zmq.cpp | 63 +++++++++++++++++++++++++++++++++++++ 11 files changed, 129 insertions(+), 142 deletions(-) commit 4777fe4010572d381a2ad8eb63df2fc5fb7e6642 Author: Martin Hurton Date: Thu Jun 17 12:45:14 2010 +0200 pipe: fix bug in rollback() method The msgs_written variable keeps track how many complete messages have been written so far. The rollback operation drops all fragments of the last incomplete message so it shouldn't change this variable at all. src/pipe.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 9151de38959a21829d4ab60324d6750d2e1a4357 Author: Martin Sustrik Date: Thu Jun 17 11:01:18 2010 +0200 generate identity for transient inproc connections src/socket_base.cpp | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 341e8a267309179bbb8249845e7efb14faf93d4d Author: Martin Sustrik Date: Tue Jun 15 14:01:44 2010 +0200 test commit AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 9858447fad3260cb16b1f2e56a14cfe3db737a36 Author: Martin Sustrik Date: Tue Jun 15 08:01:43 2010 +0200 getsockopt documentation fixed doc/zmq_getsockopt.txt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit ac90b7e0ba497bfec09d7a69a2e01dc6d94a9c9a Author: Brian Buchanan Date: Fri Jun 11 08:03:34 2010 +0200 issue 35 - ZMQ_RCVMORE sometimes erroneously returns false AUTHORS | 1 + src/socket_base.cpp | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletions(-) commit 5ee355d1880bc7391c199ea29adc620ceb0d96f1 Author: Martin Sustrik Date: Fri Jun 11 07:02:36 2010 +0200 if connect asserts, exact error is reported src/tcp_connecter.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 27877d73ea7dd972a773c7e960706130daaf5925 Author: Martin Sustrik Date: Fri Jun 11 06:55:30 2010 +0200 EHOSTUNREACH is acceptable outcome from connect src/tcp_connecter.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit c818b14bbd261aa836400e9dfb4848117dd2edb6 Author: Piotr Trojanek Date: Thu Jun 10 12:57:42 2010 +0200 clearing thread info structure src/ctx.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 74a3907be285891d90b82e2d315d03141a398752 Author: Martin Sustrik Date: Thu Jun 10 12:36:27 2010 +0200 couple of ICC warnings fixed src/encoder.hpp | 2 +- src/uuid.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 8782b4d696da7b1527f69e819d75d691bc3df105 Author: Piotr Trojanek Date: Thu Jun 10 07:34:11 2010 +0200 -lcrypto added to linking flags for QNX configure.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 76e0153d4f3ef1d5fef1a9b926e0e8e3ab2d9685 Author: Martin Sustrik Date: Thu Jun 10 07:21:05 2010 +0200 issue 33 - missing virtual destructors src/decoder.hpp | 4 +++- src/encoder.hpp | 2 ++ src/yarray_item.hpp | 4 +++- src/ypipe.hpp | 6 ++++++ 4 files changed, 14 insertions(+), 2 deletions(-) commit d329c55da9c503e82831e940b0fc8dc9e5479975 Author: Martin Sustrik Date: Thu Jun 10 07:12:00 2010 +0200 issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296) src/tcp_connecter.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 604f7475ec1d19df416156879db3ddd3c90d5a13 Author: Martin Sustrik Date: Wed Jun 9 17:49:08 2010 +0200 issue 32 - poll_t poller broken src/poll.cpp | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) commit 7a29e8594fb539e37b9d08982b1f491b0794b7d2 Author: Martin Sustrik Date: Wed Jun 9 17:07:45 2010 +0200 Piotr Trojanek added to AUTHORS file AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 751b60a18d028d9859394c7abe960cb1c42e605e Author: Piotr Trojanek Date: Wed Jun 9 17:06:32 2010 +0200 extra ';' inside a struct or union -- clang warnings fixed foreign/xmlParser/xmlParser.hpp | 2 +- src/i_poll_events.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 240fc33f65c6cd9f1ed0a511daf4ad00ff37f163 Author: Martin Sustrik Date: Mon Jun 7 20:23:48 2010 +0200 minor comment clarification src/tcp_connecter.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 784e73a7c84f2c0a454f4a9ef69586755482a9d5 Merge: ce53d02 8f51a10 Author: Martin Sustrik Date: Mon Jun 7 09:03:56 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit ce53d02e0580755055245cc1050f1dd3a26a3f22 Author: Martin Sustrik Date: Mon Jun 7 09:03:40 2010 +0200 C++ docs for zmq::poll function improved doc/zmq_cpp.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 8f51a10918d54e24818b863a9e3d530a00de21b5 Author: Martin Lucina Date: Fri Jun 4 19:30:47 2010 +0200 Update ChangeLog for v2.0.7 ChangeLog | 848 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 848 insertions(+), 0 deletions(-) commit 5c97ff9a2eb3e55007fd90b5c3a1c433de7bc60c Author: Martin Lucina Date: Fri Jun 4 19:27:55 2010 +0200 More NEWS for 2.0.7 NEWS | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit e8a9614aaeb45fc619eed2983f93edb744b4cef4 Author: Martin Lucina Date: Fri Jun 4 19:20:37 2010 +0200 Update NEWS for 2.0.7 release NEWS | 54 +++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 39 insertions(+), 15 deletions(-) commit 9b8f902d72438752b00d4c1bb3887c40423777e0 Author: Martin Sustrik Date: Fri Jun 4 18:49:55 2010 +0200 initial version of 2.0.7 NEWS NEWS | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) commit baf659fde5136c20f879ef713ec3effc34854ba6 Author: Martin Lucina Date: Fri Jun 4 17:12:51 2010 +0200 Move news from ChangeLog into NEWS ChangeLog | 397 +------------------------------------------------------------ NEWS | 398 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 400 insertions(+), 395 deletions(-) commit 94dfe1368ac1cd4a456c86b8fc800d7c3911cfd3 Author: Martin Lucina Date: Fri Jun 4 17:02:16 2010 +0200 Fix MINGW build Mingw seems to define NOMINMAX, so don't redefine it if already defined src/windows.hpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit cf048bb1f8a665370d9e39aee2a7363327911b08 Author: Martin Sustrik Date: Fri Jun 4 16:29:36 2010 +0200 platform.hpp for MSVC contains only very basic stuff builds/msvc/platform.hpp | 29 ----------------------------- perf/helpers.cpp | 4 +++- src/encoder.hpp | 5 +++++ src/prefix_tree.cpp | 5 +++++ src/uuid.cpp | 1 - src/uuid.hpp | 1 + src/windows.hpp | 4 ++++ src/zmq_engine.cpp | 6 +++++- 8 files changed, 23 insertions(+), 32 deletions(-) commit 927993863eda325c66fc678810eeadd0c744cdf2 Author: Martin Sustrik Date: Fri Jun 4 15:47:22 2010 +0200 MSVC build fixed builds/msvc/c_local_lat/c_local_lat.vcproj | 4 ++++ builds/msvc/c_local_thr/c_local_thr.vcproj | 4 ++++ builds/msvc/c_remote_lat/c_remote_lat.vcproj | 4 ++++ builds/msvc/c_remote_thr/c_remote_thr.vcproj | 4 ++++ foreign/xmlParser/xmlParser.cpp | 2 +- perf/helpers.cpp | 4 +--- 6 files changed, 18 insertions(+), 4 deletions(-) commit 621d7415b3cdee1f79787e2961f113b00d237615 Author: Martin Lucina Date: Fri Jun 4 15:35:14 2010 +0200 Fix Solaris/NetBSD breakage in atomic_ptr.hpp src/atomic_ptr.hpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 67ca7dcbe6b072b74a112ce4df4529cda82c0f13 Author: Martin Sustrik Date: Fri Jun 4 15:24:06 2010 +0200 obsolete API elements removed - this commit breaks backward compatibility devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- devices/zmq_queue/zmq_queue.cpp | 2 +- devices/zmq_streamer/zmq_streamer.cpp | 2 +- include/zmq.h | 11 +---------- include/zmq.hpp | 4 ++-- perf/local_lat.cpp | 2 +- perf/local_thr.cpp | 2 +- perf/remote_lat.cpp | 2 +- perf/remote_thr.cpp | 2 +- src/zmq.cpp | 4 +--- 10 files changed, 11 insertions(+), 22 deletions(-) commit d844a90690af357988b1c5ba027c740d4182d753 Author: Martin Lucina Date: Fri Jun 4 15:00:31 2010 +0200 zmqd: Removing for now, not ready for 2.0.7 Makefile.am | 4 +- configure.in | 2 +- zmqd/Makefile.am | 8 -- zmqd/zmqd.cpp | 364 ------------------------------------------------------ 4 files changed, 3 insertions(+), 375 deletions(-) commit 606c77368cccd2a277437b5de8764772295fdf89 Author: Martin Lucina Date: Fri Jun 4 14:48:49 2010 +0200 Move perf helper functions to perf/helpers.cpp include/zmq.h | 17 ---------- perf/Makefile.am | 9 +++-- perf/helpers.cpp | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ perf/helpers.h | 40 +++++++++++++++++++++++ perf/local_lat.cpp | 3 +- perf/local_thr.cpp | 5 ++- perf/remote_lat.cpp | 5 ++- perf/remote_thr.cpp | 3 +- src/zmq.cpp | 58 ---------------------------------- 9 files changed, 141 insertions(+), 85 deletions(-) commit 05b4a7ae787760d5c24e048612b786fa0283854a Author: Martin Lucina Date: Fri Jun 4 13:58:49 2010 +0200 Remove PGM examples from build configure.in | 9 ---- perf/Makefile.am | 112 +----------------------------------------------------- 2 files changed, 1 insertions(+), 120 deletions(-) commit 4d65d7a5a98cbb95430a5b02706ab87d3fa0f56c Author: Martin Lucina Date: Fri Jun 4 13:53:40 2010 +0200 Documentation: zmq_tcp(7) update for 2.0.7 Document MORE bit in flags field doc/zmq_tcp.txt | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit 7fc15c21a17cfa58e60e4a513360cb12b542a570 Author: Martin Lucina Date: Thu Jun 3 14:36:44 2010 +0200 Documentation: zmq_cpp(7) update for 2.0.7 doc/zmq_cpp.txt | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) commit 10f4bf3f35ab3da05fe5ca8a28cd131e3781249f Author: Martin Lucina Date: Thu Jun 3 14:15:05 2010 +0200 Documentation: Cosmetic changes doc/zmq_getsockopt.txt | 10 ++++++++++ doc/zmq_setsockopt.txt | 11 +++++++++++ 2 files changed, 21 insertions(+), 0 deletions(-) commit 8076fd1a3abece7dc91c2b2309dd0ecba57e882f Author: Martin Lucina Date: Thu Jun 3 14:08:36 2010 +0200 Documentation: zmq_errno(3) doc/Makefile.am | 2 +- doc/zmq.txt | 9 ++++++--- doc/zmq_errno.txt | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 4 deletions(-) commit 7c9b09bc511236c8cc5f6cea7623a8b98fedf302 Author: Martin Lucina Date: Wed Jun 2 18:36:34 2010 +0200 Documentation: Flow control, zmq_socket(3) Mostly Flow control and additions to zmq_socket(3) Removed/changed lots of text regarding message queues More fixes for 2.0.7 changes doc/zmq.txt | 18 +---- doc/zmq_getsockopt.txt | 23 ++++--- doc/zmq_poll.txt | 28 ++++---- doc/zmq_recv.txt | 22 +++---- doc/zmq_send.txt | 9 +-- doc/zmq_setsockopt.txt | 25 ++++--- doc/zmq_socket.txt | 172 ++++++++++++++++++++++++++++++++++++++++------- 7 files changed, 205 insertions(+), 92 deletions(-) commit 9d00d300b0d6b45d2954792540cc95a0c3fb6a01 Author: Martin Lucina Date: Tue Jun 1 22:22:50 2010 +0200 Documentation: zmq_init() API changes for 2.0.7 doc/zmq_init.txt | 19 +++++-------------- 1 files changed, 5 insertions(+), 14 deletions(-) commit 8ba1d3c8ed32b39bb1133330d496587d96020e7e Author: Martin Lucina Date: Tue Jun 1 22:22:29 2010 +0200 Documentation: zmq_term() and ETERM for 2.0.7 doc/zmq_bind.txt | 2 +- doc/zmq_connect.txt | 2 +- doc/zmq_getsockopt.txt | 1 - doc/zmq_poll.txt | 6 ++---- doc/zmq_setsockopt.txt | 1 - doc/zmq_term.txt | 20 +++++++++++++++++--- 6 files changed, 21 insertions(+), 11 deletions(-) commit 74a03dfd7dbb762be5d50eca4df214f8825ad44a Merge: 99e6179 8a77135 Author: Martin Lucina Date: Tue Jun 1 21:49:50 2010 +0200 Merge branch 'master' of github.com:sustrik/zeromq2 commit 8a771350795dc4f9aae6a89534f1391d7b63b10c Author: Martin Sustrik Date: Tue Jun 1 10:42:55 2010 +0200 Pieter Hintjens added to 'authors' section AUTHORS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0b0716661e99a2b55151650ec94cd5fd268d0334 Author: Pieter Hintjens Date: Tue Jun 1 10:40:12 2010 +0200 multiple vulnerabilities in xml paerser fixed foreign/xmlParser/xmlParser.cpp | 37 +++++++++++++++++++++++++++++++------ 1 files changed, 31 insertions(+), 6 deletions(-) commit 99e6179edd9e3552fcdb7f4fce3306cd174f3359 Author: Martin Lucina Date: Mon May 31 17:24:50 2010 +0200 Documentation updates The option_value parameter for zmq_getsockopt is in and out. doc/zmq_getsockopt.txt | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit b4f3e0acd72de97bc5ef46ea74d9cd7ed7f9efc2 Author: Martin Lucina Date: Mon May 31 17:21:51 2010 +0200 Documentation updates Clarify multi-part messages doc/zmq_recv.txt | 16 ++++++++-------- doc/zmq_send.txt | 13 ++++++------- 2 files changed, 14 insertions(+), 15 deletions(-) commit 7bbe754cb4987669d4273ec37f5f50d29b9931df Author: Martin Lucina Date: Mon May 31 17:21:12 2010 +0200 Documentation updates Clarify pipeline and exclusive pair patterns doc/zmq_socket.txt | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) commit 8a4df431de872623c761fdeb291748d3d153b8d1 Author: Martin Lucina Date: Mon May 31 14:18:51 2010 +0200 Documentation updates Add getsockopt to Makefile.am doc/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dfbaf4f9668f0493649d6ba1328cced64e5340b0 Author: Martin Lucina Date: Mon May 31 14:18:37 2010 +0200 Documentation updates Multi-part messages doc/zmq_recv.txt | 5 +++-- doc/zmq_send.txt | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) commit 0fa73b039462c1754d407de85306904e9b0c73be Author: Martin Lucina Date: Mon May 31 14:13:41 2010 +0200 Documentation updates Add getsockopt to index doc/zmq.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit eb9ff1e77977c6199c0a0439f4dd35fa39f3bd3c Author: Martin Lucina Date: Mon May 31 14:12:27 2010 +0200 Documentation updates Multi-part messages doc/zmq_getsockopt.txt | 17 +++++++++++++++++ doc/zmq_recv.txt | 37 ++++++++++++++++++++++++++++++++++++- doc/zmq_send.txt | 33 ++++++++++++++++++++++++++++++++- 3 files changed, 85 insertions(+), 2 deletions(-) commit 8becacf82c950af951f477e3dc3f7ac79e110fc1 Author: Martin Lucina Date: Mon May 31 12:53:40 2010 +0200 Documentation updates Add zmq_getsockopt(3), clean up zmq_setsockopt(3). doc/zmq_getsockopt.txt | 209 ++++++++++++++++++++++++++++++++++++++++++++++++ doc/zmq_setsockopt.txt | 62 ++++++++------- 2 files changed, 241 insertions(+), 30 deletions(-) commit be6019abd1ac6fe11c9c51dbadf9c72b37349c2a Author: Martin Sustrik Date: Mon May 31 09:28:36 2010 +0200 issue 28. - SNDMORE/ RCVMORE is dropping every other message src/req.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 2e9be56a4059cf230f6aa92eb1c71db5f1200b8e Author: Martin Sustrik Date: Mon May 31 06:17:58 2010 +0200 memory leak in REQ socket fixed src/req.cpp | 34 ++++------------------------------ 1 files changed, 4 insertions(+), 30 deletions(-) commit 3bb60da0d085b1089ddec4617fcd40f2cda88567 Merge: 04fcd4d da37c45 Author: Martin Sustrik Date: Mon May 31 06:11:42 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 04fcd4d55b3b01e75d1d0d547987841811a2d610 Author: Martin Sustrik Date: Mon May 31 06:11:20 2010 +0200 memory leak in REP socket fixed src/rep.cpp | 34 ++++------------------------------ 1 files changed, 4 insertions(+), 30 deletions(-) commit da37c45b0c7200eea96118952e671972b71df4ce Author: Martin Lucina Date: Fri May 28 01:38:43 2010 +0200 Clarify zmq_bind/zmq_connect Use the term 'endpoint' correctly, and drop the nonsense about local/remote addresses which doesn't clearly explain what is going on doc/zmq_bind.txt | 28 +++++++++++++++------------- doc/zmq_connect.txt | 26 ++++++++++++++------------ 2 files changed, 29 insertions(+), 25 deletions(-) commit 74f1a4a579d3b09b3420092d9f076827be31c4e7 Author: Martin Lucina Date: Fri May 28 00:55:04 2010 +0200 RPM packaging cleanups - ditch -utils package - add descriptions from Debian packaging builds/redhat/zeromq.spec | 41 +++++++++++++++++------------------------ 1 files changed, 17 insertions(+), 24 deletions(-) commit b4cc7b97ecaf743f3259f9df7d687558892b8a72 Author: Mikko Koppanen Date: Fri Apr 16 10:26:22 2010 +0100 dist-hook for copying zeromq.spec to top-level Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8bd3f743f50a61355b6cf18046d59c7d0289836b Author: Mikko Koppanen Date: Fri Apr 16 00:01:13 2010 +0100 Import redhat packaging builds/redhat/zeromq.spec | 137 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 137 insertions(+), 0 deletions(-) commit 5219e4ce8f9aa082c5f91e248a9f66639c69727d Author: Martin Lucina Date: Fri May 28 00:49:13 2010 +0200 Clarify socket types in documentation, reinstate ZMQ_PAIR doc/zmq.txt | 4 +- doc/zmq_setsockopt.txt | 14 ++++---- doc/zmq_socket.txt | 91 +++++++++++++++++++++++++++++------------------ 3 files changed, 65 insertions(+), 44 deletions(-) commit 8408ae066dce123fc93e4f53dbadb1f60b7f2e8a Author: Martin Sustrik Date: Tue May 25 15:03:57 2010 +0200 LWM is computed rather than explicitly specified by user doc/zmq_setsockopt.txt | 15 --------------- include/zmq.h | 1 + src/config.hpp | 5 ++++- src/options.cpp | 18 ------------------ src/options.hpp | 1 - src/pipe.cpp | 35 ++++++++++++++++++++++++++++++++--- src/pipe.hpp | 4 +++- src/session.cpp | 6 ++---- src/socket_base.cpp | 12 ++++-------- 9 files changed, 46 insertions(+), 51 deletions(-) commit f34a468a263c7b4013a267297ee7f121e12dfb9d Author: Martin Sustrik Date: Tue May 25 10:57:54 2010 +0200 coding style fixed in zmqd zmqd/zmqd.cpp | 426 ++++++++++++++++++++++++++++----------------------------- 1 files changed, 211 insertions(+), 215 deletions(-) commit 7773fdddfb357145cb15faaa5228fb3b2d0f6f78 Merge: 091e92a 89783c3 Author: Martin Sustrik Date: Thu May 20 18:02:34 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 091e92a11dec353e674cbacbf2455a48bdb4e01d Author: Martin Sustrik Date: Thu May 20 18:01:58 2010 +0200 Pieter Hintjens added to AUTHORS file AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 89783c37d2b8a7b5519eab7922b460449aa0bf3f Author: Martin Sustrik Date: Wed May 19 06:31:57 2010 +0200 incomplete messages can be stored in ypipe src/pipe.cpp | 10 ++++------ src/ypipe.hpp | 46 ++++++++++++++++++++++++++++------------------ 2 files changed, 32 insertions(+), 24 deletions(-) commit f40ce4e500d32b4240395e09e0ce3359734f0189 Author: Jon Dyte Date: Sat May 15 12:37:45 2010 +0200 single 0MQ daemon (zmqd) - initial version Makefile.am | 4 +- configure.in | 2 +- zmqd/Makefile.am | 8 ++ zmqd/zmqd.cpp | 368 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 379 insertions(+), 3 deletions(-) commit 6705a3d5807542ee2ed8a1ef6e3d9f769e5d5a93 Author: Steven McCoy Date: Thu May 13 12:43:58 2010 +0200 some more sanity checks in pgm_socket src/pgm_socket.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit ff9d3985556aa58a5d120a3eb72867c7ebea924d Merge: 56262d7 f6c1c97 Author: Martin Sustrik Date: Thu May 13 12:41:39 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 56262d7ba79a9ba19fc1b89fdc07bca3894062f2 Author: Steven McCoy Date: Thu May 13 12:41:20 2010 +0200 some more sanity checks in pgm_socket src/pgm_socket.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit f6c1c972428f15356af09d6922910ef44d1f6cb3 Merge: 52ef3f3 127cb89 Author: Martin Lucina Date: Wed May 12 16:49:49 2010 +0200 Merge branch 'master' of github.com:sustrik/zeromq2 commit 52ef3f3f2c6f3ba1717b2e729556df713c022636 Author: Martin Lucina Date: Wed May 12 16:46:59 2010 +0200 Revert commit 7cb076e, atomic ops cleanup Reverted to using atomic.h on NetBSD Removed GNU builtins (see http://lists.zeromq.org/pipermail/zeromq-dev/2010-May/003485.html) Removed SPARC native atomic ops as they are untested and have been commented out for years Add "memory" to asm clobber for X86 atomic_counter::sub() src/atomic_counter.hpp | 65 +++++++---------------------------------------- src/atomic_ptr.hpp | 58 ++++++------------------------------------ 2 files changed, 19 insertions(+), 104 deletions(-) commit 127cb89ac1271bf85798294d450509b7c23019bd Author: Martin Sustrik Date: Wed May 12 16:46:07 2010 +0200 MAINTAINERS file added MAINTAINERS | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) commit 8e5ac100c95e02ef60aa827b4199002f324617ed Merge: 714a8d5 9fbb914 Author: Martin Sustrik Date: Wed May 12 12:45:38 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 714a8d50a03e773320a02247847c58020c96e867 Author: Brett Cameron Date: Wed May 12 12:45:12 2010 +0200 fixes for OpenVMS src/signaler.cpp | 1 + src/tcp_connecter.cpp | 19 ++++++++++++++++--- src/tcp_listener.cpp | 31 +++++++++++++++++++++++++++---- src/uuid.cpp | 29 +++++++++++++++++++++++++++++ src/uuid.hpp | 11 ++++++++++- 5 files changed, 83 insertions(+), 8 deletions(-) commit 9fbb9141a8895ac83e8051ac568223a9e57a278d Author: Martin Lucina Date: Mon May 10 16:39:09 2010 +0200 Update historic include paths devices/zmq_forwarder/Makefile.am | 2 +- devices/zmq_queue/Makefile.am | 2 +- devices/zmq_streamer/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 9d16a415cbfd33f89d2f5afd96ed7cd34a21a634 Author: Martin Lucina Date: Mon May 10 16:32:10 2010 +0200 OpenPGM build flags cleanup Removed various exotic -Wxxx flags in the OpenPGM build to get us to what is actually required and reasonable; added in -fno-strict-aliasing since OpenPGM generates lots of warnings about dereferencing typed-punned pointers; removed the OpenPGM extra flags from libzmq_la_CXXFLAGS and left them only in libzmq_la_CFLAGS so that our code is not built with the OpenPGM extra flags. src/Makefile.am | 23 ++--------------------- 1 files changed, 2 insertions(+), 21 deletions(-) commit 2cf9f04a460473ea10e901e68e66596583d0d286 Author: Martin Lucina Date: Mon May 10 16:24:53 2010 +0200 Update OpenPGM to version 2.1.26 configure.in | 2 +- foreign/openpgm/libpgm-2.0.24.tar.gz | Bin 407110 -> 0 bytes foreign/openpgm/libpgm-2.1.26.tar.gz | Bin 0 -> 413863 bytes src/Makefile.am | 2 ++ 4 files changed, 3 insertions(+), 1 deletions(-) commit a25414e55caa975185ac6534c40bb601e5c38a9a Author: Martin Sustrik Date: Sun May 9 16:59:15 2010 +0200 Fix in zmq_poll (Windows version) src/zmq.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4d33c43913dd640853cec75ce21080c2b33d8526 Author: Martin Sustrik Date: Fri May 7 21:53:55 2010 +0200 caution about zmq_msg_init_* functions added to the docs doc/zmq_msg_init.txt | 4 ++++ doc/zmq_msg_init_data.txt | 4 ++++ doc/zmq_msg_init_size.txt | 4 ++++ 3 files changed, 12 insertions(+), 0 deletions(-) commit 4a3b857c4cf35261751d562ad7e4acc5ecf58be0 Author: Martin Sustrik Date: Fri May 7 11:08:50 2010 +0200 commands not processed immediatelly in some scenarios; fixed src/app_thread.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 36b044a0d5a9918841839edf12767b31bfec36a0 Author: Martin Sustrik Date: Fri May 7 09:21:15 2010 +0200 ZMQ_PAIR socket removed from the documentation as it is unfinished yet doc/zmq_socket.txt | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) commit f60d891b2309cdc6f2cc1507a238cec85e4aa9e7 Author: Martin Sustrik Date: Thu May 6 10:33:01 2010 +0200 Issue 23. zmq_init() crashes on illegal numbers src/zmq.cpp | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 64c58662b7f491f2a3c8cb684f27ea1d5c549552 Author: Martin Sustrik Date: Wed May 5 14:33:02 2010 +0200 MSVC build fixed builds/msvc/libzmq/libzmq.vcproj | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 835e893e54598ff474067cc68b787440baf6b05c Author: Martin Sustrik Date: Wed May 5 14:24:54 2010 +0200 dispatcher_t class renamed to ctx_t src/Makefile.am | 4 +- src/app_thread.cpp | 10 +- src/app_thread.hpp | 2 +- src/ctx.cpp | 316 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/ctx.hpp | 156 +++++++++++++++++++++++++ src/dispatcher.cpp | 316 --------------------------------------------------- src/dispatcher.hpp | 153 ------------------------- src/io_thread.cpp | 6 +- src/io_thread.hpp | 2 +- src/object.cpp | 28 +++--- src/object.hpp | 10 +- src/socket_base.cpp | 11 +- src/zmq.cpp | 17 ++-- src/zmq_encoder.cpp | 2 +- 14 files changed, 518 insertions(+), 515 deletions(-) commit 10f5334f2891b187ce57f38186cf977406097ab0 Merge: 44dd005 3f5465a Author: Martin Sustrik Date: Wed May 5 13:03:56 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 44dd005ff05431b05a8e04858a23784b252da870 Author: Martin Sustrik Date: Wed May 5 13:03:26 2010 +0200 number of application threads to use 0MQ sockets is unlimited; app_threads parameter in zmq_init is unused and obsolete src/config.hpp | 4 +++ src/dispatcher.cpp | 53 +++++++++++++++++++++++++++++---------------------- src/dispatcher.hpp | 15 ++----------- src/zmq.cpp | 6 +++- 4 files changed, 41 insertions(+), 37 deletions(-) commit 3f5465ada1b465ac0e360d0416b8f42b0fddfab0 Author: Martin Sustrik Date: Tue May 4 10:37:10 2010 +0200 Windows port fixed src/signaler.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 235ed3a3dcffb7c658cbc9253eae9de54db24533 Author: Martin Sustrik Date: Tue May 4 10:22:16 2010 +0200 signaler transports commands per se rather than one-bit signals src/app_thread.cpp | 20 +++--- src/config.hpp | 5 - src/dispatcher.cpp | 71 +++++++---------- src/dispatcher.hpp | 30 ++----- src/io_thread.cpp | 17 ++-- src/object.cpp | 6 +- src/pipe.hpp | 2 +- src/signaler.cpp | 224 ++++++++++++++++++++-------------------------------- src/signaler.hpp | 45 +++-------- src/ypipe.hpp | 83 +++++--------------- 10 files changed, 174 insertions(+), 329 deletions(-) commit 8b9bd05726c3df56d7f437889abccba3cbbffdee Author: Martin Sustrik Date: Mon May 3 16:21:36 2010 +0200 thread ID and dispatcher made private in object_t src/app_thread.cpp | 6 +++--- src/io_thread.cpp | 2 +- src/object.hpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 84e0c7991a9b316ed571533abc628cc1175750a3 Author: Martin Sustrik Date: Sun May 2 20:59:07 2010 +0200 queue device fixed src/queue.cpp | 86 ++++++++++++++++++++++++++++---------------------------- src/xreq.cpp | 27 ++++++++++++++++-- src/xreq.hpp | 3 ++ 3 files changed, 70 insertions(+), 46 deletions(-) commit 4a6bac1deaedb3c111c7e28b2933ed98367cb193 Merge: acfd0f8 beb4da3 Author: Martin Sustrik Date: Fri Apr 30 04:54:10 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit acfd0f8ca2d15111f35ae0034ed3ce130c96b910 Author: Martin Sustrik Date: Fri Apr 30 04:53:41 2010 +0200 prefix in XREP recv'd message misses MORE flag src/xrep.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit beb4da3c28cff501a33de34cec95ca110cd3084e Author: Martin Sustrik Date: Thu Apr 29 20:53:46 2010 +0200 windows port fixed builds/msvc/libzmq/libzmq.vcproj | 34 +++++----------------------------- src/signaler.cpp | 4 +--- 2 files changed, 6 insertions(+), 32 deletions(-) commit ae93ed318a450d6d763a5f629d478467f7362b07 Author: Martin Sustrik Date: Thu Apr 29 20:34:48 2010 +0200 signaler rewritten in such a way that any number (>64) of threads can be used src/app_thread.cpp | 25 +++---- src/app_thread.hpp | 2 +- src/config.hpp | 4 + src/dispatcher.cpp | 16 ++-- src/dispatcher.hpp | 10 ++- src/io_thread.cpp | 30 ++++----- src/io_thread.hpp | 2 +- src/object.cpp | 13 +--- src/object.hpp | 9 +-- src/signaler.cpp | 200 +++++++++++++++++++++++++++++++--------------------- src/signaler.hpp | 24 +++++- src/zmq.cpp | 2 +- 12 files changed, 190 insertions(+), 147 deletions(-) commit 1ffc6dd41f2e2ce45c67f3fe08780c5a09cf667d Author: Martin Sustrik Date: Thu Apr 29 18:03:54 2010 +0200 eventfd-style signaling removed configure.in | 26 ------------------ src/signaler.cpp | 78 +----------------------------------------------------- src/signaler.hpp | 6 ---- 3 files changed, 1 insertions(+), 109 deletions(-) commit 37128b7b1aeed9ad2bf6816560b85b5f94dd5bec Author: Martin Sustrik Date: Thu Apr 29 17:31:57 2010 +0200 fd_signaler_t renamed to signaler_t src/Makefile.am | 4 +- src/app_thread.cpp | 3 +- src/app_thread.hpp | 6 +- src/dispatcher.hpp | 4 +- src/fd_signaler.cpp | 432 --------------------------------------------------- src/fd_signaler.hpp | 80 ---------- src/io_thread.cpp | 2 +- src/io_thread.hpp | 6 +- src/signaler.cpp | 432 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/signaler.hpp | 80 ++++++++++ 10 files changed, 524 insertions(+), 525 deletions(-) commit c193fd146661b39027c5e3fa0776dcdf8c6af5e2 Author: Martin Sustrik Date: Thu Apr 29 17:20:23 2010 +0200 lock-free polling removed; ZMQ_POLL flag removed doc/zmq_init.txt | 8 +- include/zmq.h | 1 + src/Makefile.am | 5 - src/app_thread.cpp | 22 +--- src/app_thread.hpp | 8 +- src/atomic_bitmap.hpp | 310 ---------------------------------------------- src/dispatcher.cpp | 7 +- src/dispatcher.hpp | 6 +- src/fd_signaler.hpp | 3 +- src/i_signaler.hpp | 55 -------- src/io_thread.cpp | 6 +- src/io_thread.hpp | 5 +- src/object.cpp | 1 - src/queue.cpp | 5 +- src/simple_semaphore.hpp | 242 ------------------------------------ src/ypollset.cpp | 65 ---------- src/ypollset.hpp | 69 ---------- src/zmq.cpp | 11 +-- 18 files changed, 28 insertions(+), 801 deletions(-) commit 7cb076e56a18cb76c49f17bd34bc73c11e01b705 Author: Steven McCoy Date: Thu Apr 29 11:36:13 2010 +0200 Defer NetBSD atomic ops to GCC builtins. Revert Sun atomic ops #define. src/atomic_bitmap.hpp | 72 ++++++++++++++++++++++++++++++++---------------- src/atomic_counter.hpp | 42 ++++++++++++++++++---------- src/atomic_ptr.hpp | 25 +++++++++++----- 3 files changed, 92 insertions(+), 47 deletions(-) commit ad6fa9d0d4f1cf29ce63998d7efe337b1a784ef6 Author: Martin Sustrik Date: Tue Apr 27 17:36:00 2010 +0200 initial version of multi-hop REQ/REP src/rep.cpp | 97 +++++++++++++++++++---------- src/req.cpp | 28 ++++++++- src/xrep.cpp | 195 +++++++++++++++++++++++++++++++++++++++++++++++----------- src/xrep.hpp | 35 +++++++++- 4 files changed, 280 insertions(+), 75 deletions(-) commit 1ad6ade0ed465030716ce720077f3aa31e6cd136 Author: Martin Sustrik Date: Mon Apr 26 16:58:49 2010 +0200 MSVC build fixed builds/msvc/libzmq/libzmq.vcproj | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit beffee92a8ec9e14cca21e5901970c4d03967c3d Author: Martin Sustrik Date: Mon Apr 26 16:51:05 2010 +0200 P2P renamed to PAIR doc/zmq_socket.txt | 8 ++-- include/zmq.h | 4 +- src/Makefile.am | 4 +- src/app_thread.cpp | 6 +- src/p2p.cpp | 139 ---------------------------------------------------- src/p2p.hpp | 63 ----------------------- src/pair.cpp | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/pair.hpp | 63 +++++++++++++++++++++++ 8 files changed, 214 insertions(+), 212 deletions(-) commit 7d9603d722c9c2752dccd0c51f470e68d0e0c48c Author: Jon Dyte Date: Sun Apr 25 15:04:23 2010 +0200 Bug in zmq_queue fixed devices/zmq_queue/zmq_queue.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d524c4e15d3cfa21f265d2c21e8a76ac97bfee2d Author: Martin Sustrik Date: Fri Apr 16 09:53:09 2010 +0200 fix of documentation typo doc/zmq_setsockopt.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1c33941be9d564733c15fe0466906fdf0bbd46b8 Merge: ea18d30 370cde0 Author: Martin Sustrik Date: Thu Apr 15 07:32:49 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit ea18d30c209cb4e3f0dd0bc5e4380345e81b6fb6 Author: Martin Sustrik Date: Thu Apr 15 07:32:25 2010 +0200 atomic_ptr fix of Win64 include/zmq.h | 2 +- src/atomic_ptr.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 370cde09226d8a1b87eeac306fe97d64b4ea63a3 Author: Martin Sustrik Date: Mon Apr 12 17:00:11 2010 +0200 win build fixed builds/msvc/libzmq/libzmq.vcproj | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 0024d290765f53428ff78eddc5a4bc675a13c6a7 Author: Martin Lucina Date: Mon Apr 12 16:49:13 2010 +0200 Build fixes for cross compiling and Win32 configure.in | 27 ++++++++++++++++++--------- foreign/xmlParser/xmlParser.cpp | 2 +- include/zmq.h | 14 ++++++++------ src/Makefile.am | 2 +- 4 files changed, 28 insertions(+), 17 deletions(-) commit 34964769399825e45b3efd02e642af97355707ef Author: Martin Sustrik Date: Mon Apr 12 10:05:24 2010 +0200 MSVC perf build fixed builds/msvc/c_local_lat/c_local_lat.vcproj | 2 +- builds/msvc/c_local_thr/c_local_thr.vcproj | 2 +- builds/msvc/c_remote_lat/c_remote_lat.vcproj | 2 +- builds/msvc/c_remote_thr/c_remote_thr.vcproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 7668e7976dc6c3e18a314d991381f29f5cbcc6ef Author: Martin Sustrik Date: Mon Apr 12 09:57:34 2010 +0200 zmq_poll returns ETERM in case of context termination doc/zmq_socket.txt | 3 --- src/zmq.cpp | 11 +++++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) commit 3236cb1a54316206d14a0f925dfa79d5b35f70fc Author: Martin Sustrik Date: Mon Apr 12 09:25:04 2010 +0200 ETERM is accounted for in the documentation doc/zmq_bind.txt | 2 ++ doc/zmq_connect.txt | 2 ++ doc/zmq_poll.txt | 3 ++- doc/zmq_recv.txt | 2 ++ doc/zmq_send.txt | 2 ++ doc/zmq_setsockopt.txt | 3 +++ doc/zmq_socket.txt | 3 +++ 7 files changed, 16 insertions(+), 1 deletions(-) commit fba28c7c0cddd7c54fe45b38fc38ac6fe5a48438 Author: Martin Sustrik Date: Sun Apr 11 16:36:27 2010 +0200 issue 1 - Change zmq_term semantics include/zmq.h | 1 + src/app_thread.cpp | 25 ++++++++++++++++++++++--- src/app_thread.hpp | 18 ++++++++++++++++-- src/dispatcher.cpp | 7 +++++++ src/socket_base.cpp | 50 +++++++++++++++++++++++++++++++++++++++++++------- src/zmq.cpp | 2 ++ 6 files changed, 91 insertions(+), 12 deletions(-) commit dff79d778db46bebe1e3b0cbd28b328972b9adb8 Author: Martin Sustrik Date: Sun Apr 11 14:20:00 2010 +0200 version number bumped to 2.0.7 for MSVC build builds/msvc/platform.hpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6cf076510a39c8eb60b1ec2f28aa895b9fb6eaae Author: Martin Sustrik Date: Sun Apr 11 14:00:40 2010 +0200 C-style comments in zmq.h include/zmq.h | 128 +++++++++++++++++++++++++------------------------------- 1 files changed, 57 insertions(+), 71 deletions(-) commit 00cf3ceb8da8cb58b343cb75798a042588f09752 Author: Martin Sustrik Date: Sun Apr 11 10:26:47 2010 +0200 multi-part message functionality available via ZMQ_SNDMORE and ZMQ_RCVMORE include/zmq.h | 3 +++ src/socket_base.cpp | 27 ++++++++++++++++++++++----- src/socket_base.hpp | 3 +++ 3 files changed, 28 insertions(+), 5 deletions(-) commit 6fea42258348c8489d2cd64ca0e92981148134f8 Author: Martin Sustrik Date: Sun Apr 11 07:59:03 2010 +0200 getsockopt added to c++ binding include/zmq.hpp | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit b668387d917cd80c5d4b9631bc0008b6a014c083 Author: Martin Lucina Date: Sat Apr 10 17:04:33 2010 +0200 Remove -Wxxx gcc-isms from subdir Makefiles configure.in | 6 +++--- devices/zmq_forwarder/Makefile.am | 1 - devices/zmq_queue/Makefile.am | 1 - devices/zmq_streamer/Makefile.am | 1 - perf/Makefile.am | 4 ---- 5 files changed, 3 insertions(+), 10 deletions(-) commit f6fa41dd7b3677d0f7441db83cbd6c8a0283a499 Author: Martin Lucina Date: Sat Apr 10 16:51:22 2010 +0200 Compile perf tests with the C++ compiler This lets us build the binaries in a portable fashion w/o having to worry about how to link with the C++ runtime. configure.in | 7 --- perf/Makefile.am | 8 ++-- perf/local_lat.c | 106 --------------------------------------- perf/local_lat.cpp | 106 +++++++++++++++++++++++++++++++++++++++ perf/local_thr.c | 136 --------------------------------------------------- perf/local_thr.cpp | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++ perf/remote_lat.c | 119 -------------------------------------------- perf/remote_lat.cpp | 119 ++++++++++++++++++++++++++++++++++++++++++++ perf/remote_thr.c | 98 ------------------------------------ perf/remote_thr.cpp | 98 ++++++++++++++++++++++++++++++++++++ 10 files changed, 463 insertions(+), 470 deletions(-) commit c214a24f06bb41885dfbd73e42acb6e043df05ef Author: Martin Sustrik Date: Sat Apr 10 16:27:07 2010 +0200 fix for Sun C++ 5.8 src/forwarder.cpp | 2 ++ src/queue.cpp | 2 ++ src/streamer.cpp | 2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) commit 770aedbd09fb1e11a4e4880da2603a517856c16c Author: Martin Lucina Date: Sat Apr 10 16:18:34 2010 +0200 Build fixes for Solaris and non-GNU compilers Compiling C++ code with -D_POSIX_SOURCE on Solaris is unsupported, so remove it. Isolate GCC-isms inside checks that we are actually using GCC/G++. Only check for -lstdc++ when on GCC and doing static linking. configure.in | 38 ++++++++++++++++++++++++++------------ src/Makefile.am | 2 +- 2 files changed, 27 insertions(+), 13 deletions(-) commit 1dc0380e29fecd70f6299243d81f67db850db616 Author: Martin Lucina Date: Sat Apr 10 13:28:45 2010 +0200 Debian packaging fixes suitable for 0MQ git Removed README.source, TODO.source since these are irrelevant to a generic git package. Fixed spelling in debian/copyright. Removed RFC check in debian/rules, again irrelevant to a generic git package. debian/README.source | 37 ------------------------------------- debian/TODO.source | 5 ----- debian/copyright | 2 +- debian/rules | 6 ------ 4 files changed, 1 insertions(+), 49 deletions(-) commit 8aa2acd0f8906b95232e765da805e3fab947b76b Author: Adrian von Bidder Date: Sat Apr 10 13:23:09 2010 +0200 Debian packaging update from Adrian von Bidder debian/README.Debian | 10 +- debian/README.source | 37 ++++++++ debian/TODO.source | 5 + debian/changelog | 24 ++++- debian/cl-zeromq.files | 7 -- debian/cl-zeromq.install | 6 - debian/cl-zeromq.links | 1 - debian/control | 195 +++++++++++---------------------------- debian/copyright | 105 +++++++++++++++++++-- debian/dirs | 5 - debian/docs | 2 - debian/libzeromq-dev.files | 37 -------- debian/libzeromq-dev.install | 19 ---- debian/libzeromq-python.files | 1 - debian/libzeromq-python.install | 1 - debian/libzeromq-ruby.files | 1 - debian/libzeromq-ruby.install | 1 - debian/libzeromq0.files | 2 - debian/libzeromq0.install | 1 - debian/libzmq-dev.install | 5 + debian/libzmq-dev.manpages | 2 + debian/libzmq0.install | 1 + debian/libzmq0.manpages | 5 + debian/rules | 126 +++++++++---------------- debian/shlibs.local | 1 - debian/source/format | 1 + debian/source/options | 1 + debian/zeromq-bin.install | 3 + debian/zeromq-bin.manpages | 3 + debian/zeromq-examples.files | 2 - debian/zeromq-examples.install | 2 - debian/zeromq-perf.files | 10 -- debian/zeromq-perf.install | 10 -- debian/zeromq-utils.files | 6 - debian/zeromq-utils.install | 6 - 35 files changed, 283 insertions(+), 361 deletions(-) commit 1d28dc9059d0014314ad22d98ddb7c6f21c151e7 Author: Martin Lucina Date: Fri Apr 9 19:15:40 2010 +0200 Fix for Issue #14 Don't fail hard if an unreleased tarball is being built and asciidoc is not installed; instead just print a big fat warning configure.in | 23 +++++++++-------------- 1 files changed, 9 insertions(+), 14 deletions(-) commit 6ea76e95736152e83f977ad860f40a231cedb1ef Author: Martin Sustrik Date: Fri Apr 9 16:24:21 2010 +0200 version bumped to 2.0.7 configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 716f4ac8714d33d21f9853f58482e35c1e3ad934 Author: Martin Sustrik Date: Fri Apr 9 13:04:15 2010 +0200 zmq_getsockopt function added include/zmq.h | 2 + src/options.cpp | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++- src/options.hpp | 1 + src/socket_base.cpp | 7 +++ src/socket_base.hpp | 4 +- src/zmq.cpp | 6 +++ 6 files changed, 122 insertions(+), 4 deletions(-) commit 027bb1d2a7c83c7c719f6bdc3100eb639019d2f0 Author: Martin Sustrik Date: Thu Apr 8 19:20:42 2010 +0200 issue 10 - zmq_strerror problem on Windows src/zmq.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 5cd9f74a70e2c8503c29aaca881c193a936b7b44 Author: Martin Sustrik Date: Thu Apr 8 19:04:32 2010 +0200 few fixed related to multi-part messages in REP socket src/rep.cpp | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) commit 77cbd18e9c0480a6c26fd29de5d70569762108be Author: Martin Sustrik Date: Thu Apr 8 11:07:22 2010 +0200 issue 11 - Assertion failed: it != peers.end () (pgm_receiver.cpp:161) src/pgm_receiver.cpp | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) commit 38e9103e0c82bcbb61a9c23ed3a4ace1c7420f95 Author: Martin Sustrik Date: Thu Apr 8 08:33:38 2010 +0200 issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed src/object.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 0f7aab5212ef66f7e292fe4ca891660859972ec4 Merge: 745db9c b0250cc Author: Martin Sustrik Date: Wed Apr 7 11:54:34 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 745db9c574153160214470563bea3b53ab4c292a Author: Martin Sustrik Date: Wed Apr 7 11:54:09 2010 +0200 unitialised member in seesion_t class - fixed src/session.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit b0250cc89df8d6c3d3fff7c8edc17a09ceaaa107 Author: Martin Sustrik Date: Wed Apr 7 10:41:11 2010 +0200 Win32 build fixed builds/msvc/libzmq/libzmq.vcproj | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit 065e4d00ff628097ce693ac7d9056fbcaf23d0bc Merge: edfd05d a7973a2 Author: Martin Sustrik Date: Wed Apr 7 08:20:24 2010 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit edfd05df8ef58afc498795cb74906c07ee396f76 Author: Jon Dyte Date: Wed Apr 7 08:20:01 2010 +0200 devices can be created via API devices/zmq_forwarder/zmq_forwarder.cpp | 6 +-- devices/zmq_queue/zmq_queue.cpp | 110 +------------------------------ devices/zmq_streamer/zmq_streamer.cpp | 6 +-- include/zmq.h | 10 +++ include/zmq.hpp | 7 ++ src/Makefile.am | 6 ++ src/forwarder.cpp | 36 ++++++++++ src/forwarder.hpp | 31 +++++++++ src/queue.cpp | 98 +++++++++++++++++++++++++++ src/queue.hpp | 31 +++++++++ src/streamer.cpp | 36 ++++++++++ src/streamer.hpp | 31 +++++++++ src/zmq.cpp | 20 ++++++ 13 files changed, 309 insertions(+), 119 deletions(-) commit a7973a2c4997e2ff79126eb073dc675c574de917 Author: Martin Lucina Date: Tue Apr 6 15:23:13 2010 +0200 Documentation fixes doc/zmq_bind.txt | 6 +++--- doc/zmq_setsockopt.txt | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) commit 0777567e8911382ac42859f907730df023ebec26 Author: Martin Sustrik Date: Tue Apr 6 07:33:52 2010 +0200 ENODEV from zmq_bind error described doc/zmq_bind.txt | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 37fd1a77a6927ae351e10fe8d5b68d0b0d525d22 Author: Martin Hurton Date: Wed Mar 31 15:15:16 2010 +0200 Handle full-pipe for REP sockets more gracefully src/rep.cpp | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit 2f219d7c287cd518bc77b576e507d7a17c9535e9 Author: Martin Sustrik Date: Sat Mar 27 21:25:40 2010 +0100 ZMQ_TBC renamed to ZMQ_MORE include/zmq.h | 4 ++-- src/fq.cpp | 12 ++++++------ src/fq.hpp | 2 +- src/lb.cpp | 12 ++++++------ src/lb.hpp | 2 +- src/pipe.cpp | 6 +++--- src/pub.cpp | 2 +- src/rep.cpp | 22 +++++++++++----------- src/rep.hpp | 2 +- src/req.cpp | 20 ++++++++++---------- src/req.hpp | 2 +- src/session.cpp | 2 +- src/socket_base.cpp | 6 +++--- src/sub.cpp | 14 +++++++------- src/sub.hpp | 2 +- src/zmq_encoder.cpp | 6 +++--- 16 files changed, 58 insertions(+), 58 deletions(-) commit 842b4dd2e492459cbc0cc79ffdb34ddab8f0b528 Author: Martin Sustrik Date: Sat Mar 27 14:57:56 2010 +0100 muti-part message functionality available via API include/zmq.h | 1 + src/socket_base.cpp | 5 +++++ 2 files changed, 6 insertions(+), 0 deletions(-) commit 8d8e0857be3d2ab941de443e436061ef82752c17 Author: Martin Sustrik Date: Sat Mar 27 14:50:35 2010 +0100 as advertised, zmq_flush and ZMQ_NOFLUSH were removed include/zmq.h | 2 -- src/zmq.cpp | 6 ------ 2 files changed, 0 insertions(+), 8 deletions(-) commit 06538fc11790a0cf895c43d137a33febf97f3a28 Author: Martin Sustrik Date: Sat Mar 27 14:24:57 2010 +0100 multi-part messages work with REQ/REP sockets src/rep.cpp | 71 +++++++++++++++++++++++++++++++++++++++-------------------- src/rep.hpp | 9 +++++- src/req.cpp | 61 +++++++++++++++++++++++++++++++++----------------- src/req.hpp | 9 +++++- 4 files changed, 101 insertions(+), 49 deletions(-) commit bbfac783f91f6692b7f9c0aa5392ac955f7b49bf Author: Martin Sustrik Date: Sat Mar 27 09:43:49 2010 +0100 multi-part message work with UPSTREAM/DOWNSTREAM src/lb.cpp | 25 +++++++++++++++++++------ src/lb.hpp | 3 +++ 2 files changed, 22 insertions(+), 6 deletions(-) commit ed291b02516ac5c9fe01f328d505305d36fe6319 Author: Martin Sustrik Date: Sat Mar 27 09:24:38 2010 +0100 multi-part messages work with PUB/SUB src/fq.cpp | 31 +++++++++++++++++++++++++------ src/fq.hpp | 4 ++++ src/pipe.cpp | 10 ++++++++-- src/pub.cpp | 3 ++- src/sub.cpp | 27 +++++++++++++++++++++++++-- src/sub.hpp | 4 ++++ src/ypipe.hpp | 2 +- 7 files changed, 69 insertions(+), 12 deletions(-) commit 0b9897b141ae03ccd00132a638d030a2521cf5b3 Merge: 0a53ff7 783463a Author: Martin Sustrik Date: Fri Mar 26 12:15:47 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 783463ac49aeb2d1be57dc9b3669d508187415a8 Author: Martin Lucina Date: Thu Mar 25 17:31:18 2010 +0100 Clarify use of poll() with C++ API, fix typo doc/zmq_cpp.txt | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit c802a72a0b4aae06cd65158af3c65e65e0dfc2e0 Author: Vitaly Mayatskikh Date: Mon Mar 22 22:31:37 2010 +0100 configure does not mention xmlto when missing configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0a53ff7b9f8a212793c540535c322bfaa93d3430 Merge: f031677 93bdb79 Author: Martin Sustrik Date: Sat Mar 20 19:51:29 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 93bdb792a92b9bd235c7be47a13febf429568301 Author: Martin Sustrik Date: Sat Mar 20 19:50:36 2010 +0100 PUB socket was blocking occassionally - fixed src/pub.cpp | 84 ++++++++++++++++++++++++++-------------------------------- src/pub.hpp | 17 ++++++----- 2 files changed, 47 insertions(+), 54 deletions(-) commit f031677100b41347e09932fc973040097a2187e4 Author: Martin Sustrik Date: Sat Mar 20 15:04:30 2010 +0100 rollback of half-processed messages in case of disconnection src/session.cpp | 27 ++++++++++++++++++++++++++- src/session.hpp | 4 ++++ 2 files changed, 30 insertions(+), 1 deletions(-) commit dfdaff5eba1e6980adb3326c119d2070d0ad42bb Author: Martin Sustrik Date: Sat Mar 20 10:58:59 2010 +0100 XREP-style prefixing/trimming messages removed src/i_engine.hpp | 10 ++-------- src/options.cpp | 3 +-- src/options.hpp | 3 --- src/pgm_receiver.cpp | 12 ------------ src/pgm_receiver.hpp | 2 -- src/pgm_sender.cpp | 12 ------------ src/pgm_sender.hpp | 2 -- src/session.cpp | 5 ----- src/xrep.cpp | 5 ++--- src/zmq_decoder.cpp | 48 +++++++----------------------------------------- src/zmq_decoder.hpp | 8 -------- src/zmq_encoder.cpp | 31 ++++--------------------------- src/zmq_encoder.hpp | 6 ------ src/zmq_engine.cpp | 10 ---------- src/zmq_engine.hpp | 2 -- src/zmq_init.cpp | 3 +-- 16 files changed, 17 insertions(+), 145 deletions(-) commit cbaf10978a8ffa98d98161aeec8d020c517b127b Author: Martin Sustrik Date: Fri Mar 19 09:14:26 2010 +0100 fixes for building with Sun CC src/dispatcher.cpp | 3 ++- src/tcp_listener.cpp | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit ae35a1644cd8f2441de73f1260c46bb0da6a1605 Author: Martin Sustrik Date: Tue Mar 16 19:02:50 2010 +0100 fix include paths in perf on Win32 perf/local_lat.c | 2 +- perf/local_thr.c | 2 +- perf/remote_lat.c | 2 +- perf/remote_thr.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 49a30d49f37148db1be105615668998c8fb8ea86 Author: Martin Sustrik Date: Tue Mar 16 17:49:39 2010 +0100 Update contributors for 2.0.6 AUTHORS | 96 +++++++++++++++++++++++++++++++----------------------------- ChangeLog | 19 +++++++---- 2 files changed, 62 insertions(+), 53 deletions(-) commit fe18ce1abab2ef43f97ef6f2b093a69f42cb7103 Author: Martin Sustrik Date: Tue Mar 16 17:11:23 2010 +0100 ChangeLog for v2.0.6 ChangeLog | 1499 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 1499 insertions(+), 0 deletions(-) commit 38c942ae648115ac10320968eb4b5e235ef15674 Author: Martin Sustrik Date: Tue Mar 16 17:07:17 2010 +0100 Add Git location to README README | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 6d5a9e96400025044af8172887ef99589c0d1eb1 Author: Martin Sustrik Date: Tue Mar 16 16:20:23 2010 +0100 Update README README | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) commit ad75d0213483f3c585ce144386623e64e65eca0d Author: Martin Sustrik Date: Tue Mar 16 15:48:16 2010 +0100 Add MSVC build files to distribution .gitignore | 12 ++++-------- Makefile.am | 2 +- builds/msvc/Makefile.am | 12 ++++++++++++ configure.in | 3 ++- 4 files changed, 19 insertions(+), 10 deletions(-) commit a9e0c3cd7e0c54f872749f387cf3d69b216bc613 Author: Martin Sustrik Date: Tue Mar 16 15:37:47 2010 +0100 Removing leftover MSVC builds builds/msvc/display/display.vcproj | 176 ------------------------------------ builds/msvc/prompt/prompt.vcproj | 176 ------------------------------------ 2 files changed, 0 insertions(+), 352 deletions(-) commit 5472861179ff232c55e7a7021a93da5c680f2017 Merge: 8a3f974 8fcf6ff Author: Martin Sustrik Date: Tue Mar 16 15:24:57 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 8a3f97400a2b3ef2ec088a00868087b85cfd81b6 Author: Martin Sustrik Date: Tue Mar 16 15:23:55 2010 +0100 Clarify zmq_poll restrictions doc/zmq_poll.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 1705ec224745b935e13d8f18ef81bcbef45ff143 Author: Martin Lucina Date: Tue Mar 16 15:19:38 2010 +0100 C++ interface documentation updates doc/zmq_cpp.txt | 195 ++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 151 insertions(+), 44 deletions(-) commit 8fcf6ffb67aba2ff9f78f4ba327d29755f03535a Author: Martin Lucina Date: Mon Mar 15 15:47:17 2010 +0100 Cleanups to autogen.sh autogen.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fceba036279a0e9bb39aebd862b70ad1bb5b3f40 Author: Martin Lucina Date: Mon Mar 15 15:45:38 2010 +0100 Cleanups to autogen.sh Use POSIX "command -v" construct to test for prerequisite commands Clarify error messages on failure autogen.sh | 30 ++++++++++++++---------------- 1 files changed, 14 insertions(+), 16 deletions(-) commit 61ad236e9543a569fe066872a5fda4fa40ea7591 Author: Martin Sustrik Date: Sat Mar 13 14:40:10 2010 +0100 ZMQ_NOFLUSH and zmq_flush obsoleted doc/Makefile.am | 2 +- doc/zmq.txt | 1 - doc/zmq_flush.txt | 55 --------------------------------------------------- doc/zmq_send.txt | 8 ------- doc/zmq_socket.txt | 1 - include/zmq.hpp | 7 ------ src/downstream.cpp | 10 --------- src/downstream.hpp | 1 - src/lb.cpp | 3 +- src/p2p.cpp | 10 +-------- src/p2p.hpp | 1 - src/pub.cpp | 17 ++------------- src/pub.hpp | 1 - src/rep.cpp | 6 ----- src/rep.hpp | 1 - src/req.cpp | 6 ----- src/req.hpp | 1 - src/socket_base.cpp | 5 ---- src/socket_base.hpp | 2 - src/sub.cpp | 6 ----- src/sub.hpp | 1 - src/upstream.cpp | 6 ----- src/upstream.hpp | 1 - src/xrep.cpp | 6 ----- src/xrep.hpp | 1 - src/xreq.cpp | 7 ------ src/xreq.hpp | 1 - src/zmq.cpp | 3 +- 28 files changed, 8 insertions(+), 162 deletions(-) commit c42343d3f027248514344aec9e3814dfe1047d59 Author: Martin Sustrik Date: Sat Mar 13 12:34:55 2010 +0100 pipe_t::rollback removes only unfinished message from the pipe rather than all unflushed messages src/pipe.cpp | 4 ++++ src/pipe.hpp | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit dcb983699e52bf2e075baaeef250bcd3c82e4846 Author: Martin Sustrik Date: Sat Mar 13 08:59:46 2010 +0100 zmq_queue implementation added devices/zmq_queue/zmq_queue.cpp | 114 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 109 insertions(+), 5 deletions(-) commit 22db38bf3d9c96a840af50300632d44fd01ed3a8 Author: unknown Date: Fri Mar 12 20:20:25 2010 +0100 MSVC build: C++ perf tests removed; all executables go into bin directory builds/msvc/c_local_lat/c_local_lat.vcproj | 8 +- builds/msvc/c_local_thr/c_local_thr.vcproj | 8 +- builds/msvc/c_remote_lat/c_remote_lat.vcproj | 8 +- builds/msvc/c_remote_thr/c_remote_thr.vcproj | 8 +- builds/msvc/cpp_local_lat/cpp_local_lat.vcproj | 176 ---------------------- builds/msvc/cpp_local_thr/cpp_local_thr.vcproj | 176 ---------------------- builds/msvc/cpp_remote_lat/cpp_remote_lat.vcproj | 176 ---------------------- builds/msvc/cpp_remote_thr/cpp_remote_thr.vcproj | 176 ---------------------- builds/msvc/msvc.sln | 44 +----- builds/msvc/zmq_forwarder/zmq_forwarder.vcproj | 2 + builds/msvc/zmq_queue/zmq_queue.vcproj | 2 + builds/msvc/zmq_streamer/zmq_streamer.vcproj | 2 + 12 files changed, 26 insertions(+), 760 deletions(-) commit c08a7f8896e8fdae8379d2fce552b360daaeadc8 Author: Martin Sustrik Date: Fri Mar 12 20:02:19 2010 +0100 C perf tests are built non-optionally; C++ perf tests removed Makefile.am | 6 +-- configure.in | 26 +--------- perf/Makefile.am | 131 ++++++++++++++++++++++++++++++++++++++++++++- perf/c/Makefile.am | 129 -------------------------------------------- perf/c/local_lat.c | 106 ------------------------------------ perf/c/local_thr.c | 136 ----------------------------------------------- perf/c/remote_lat.c | 119 ----------------------------------------- perf/c/remote_thr.c | 98 ---------------------------------- perf/cpp/Makefile.am | 20 ------- perf/cpp/local_lat.cpp | 52 ------------------ perf/cpp/local_thr.cpp | 71 ------------------------ perf/cpp/remote_lat.cpp | 63 ---------------------- perf/cpp/remote_thr.cpp | 54 ------------------- perf/local_lat.c | 106 ++++++++++++++++++++++++++++++++++++ perf/local_thr.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++ perf/remote_lat.c | 119 +++++++++++++++++++++++++++++++++++++++++ perf/remote_thr.c | 98 ++++++++++++++++++++++++++++++++++ 17 files changed, 590 insertions(+), 880 deletions(-) commit 1fbeba2fe3c3bd6046eea4d6432791194d4238f2 Author: Martin Sustrik Date: Fri Mar 12 19:05:56 2010 +0100 simplify configuration summary configure.in | 19 ++++--------------- 1 files changed, 4 insertions(+), 15 deletions(-) commit 66b67fbdf2b047ef7adb8ec018a6fe89dd9cbfca Author: Martin Sustrik Date: Fri Mar 12 18:58:29 2010 +0100 devices are built unconditionally configure.in | 34 ---------------------------------- devices/Makefile.am | 13 +------------ src/req.cpp | 2 +- 3 files changed, 2 insertions(+), 47 deletions(-) commit 430aa533347dcbca57857d318a6898f480967cba Author: Martin Sustrik Date: Fri Mar 12 18:42:38 2010 +0100 text concerning language bindings removed from configure configure.in | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 54df388aced3ae059009eec3df66c7dea717747b Author: unknown Date: Fri Mar 12 18:05:38 2010 +0100 Java binding removed from MSVC build builds/msvc/j_local_lat/j_local_lat.vcproj | 78 -------- builds/msvc/j_local_thr/j_local_thr.vcproj | 78 -------- builds/msvc/j_remote_lat/j_remote_lat.vcproj | 78 -------- builds/msvc/j_remote_thr/j_remote_thr.vcproj | 78 -------- builds/msvc/java/java.vcproj | 272 -------------------------- builds/msvc/msvc.sln | 45 ----- 6 files changed, 0 insertions(+), 629 deletions(-) commit 6badd204d5686de8b2a6e8ee88da78260c0ff949 Author: Martin Hurton Date: Wed Mar 3 17:25:46 2010 +0100 Implement flow control for ZMQ_REP sockets src/rep.cpp | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 923609b0922c3bf07f16c8c99aba4fe98f08ef60 Author: Martin Hurton Date: Tue Mar 2 22:23:34 2010 +0100 Implement flow control for ZMQ_REQ sockets src/req.cpp | 98 ++++++++++++++++++++++++++++++++++++++++++++++------------ src/req.hpp | 3 ++ 2 files changed, 80 insertions(+), 21 deletions(-) commit 42e575cb6b62fe1e5d12d2e4fb5c6874d47eb57e Author: Martin Hurton Date: Tue Mar 2 12:41:33 2010 +0100 Implement flow control fox ZMQ_XREP sockets src/xrep.cpp | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit e34184acc327ae4b085a1a50ff6502e2dc148522 Author: Martin Hurton Date: Tue Mar 2 11:15:50 2010 +0100 Implement flow control for ZMQ_XREQ sockets src/xreq.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 06d7a447378c8e9f0805c219deaf8e7e7ef1eeb0 Author: Martin Hurton Date: Tue Mar 2 10:48:30 2010 +0100 Implement flow control for ZMQ_PUB sockets src/pub.cpp | 34 ++++++++++++++++++++++++++-------- src/pub.hpp | 7 +++++++ 2 files changed, 33 insertions(+), 8 deletions(-) commit f9c84a1a689f4f64cfa45cb22d4f02ec246c7f93 Author: Martin Hurton Date: Mon Mar 1 17:21:23 2010 +0100 Implement flow control for ZMQ_DOWNSTREAM sockets src/downstream.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5d4f6b18cd57897cc0e77e474118e104a0d5cfc3 Author: Martin Hurton Date: Mon Mar 1 16:55:13 2010 +0100 Implement flow control for ZMQ_P2P sockets src/p2p.cpp | 21 +++++++++++++++------ src/p2p.hpp | 1 + 2 files changed, 16 insertions(+), 6 deletions(-) commit f9521c6b6a35103c03b742a311a34d7b04da0b84 Author: Martin Hurton Date: Tue Mar 2 09:02:40 2010 +0100 PGM: implement flow control src/pgm_receiver.cpp | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- src/pgm_receiver.hpp | 9 +++++++++ 2 files changed, 55 insertions(+), 4 deletions(-) commit 61ee6fae536a8000be87b5aaf271f6519a3b7d3f Author: Martin Hurton Date: Mon Mar 1 10:13:26 2010 +0100 Implement flow control This commit introduces the necessary changes necessary for implementing flow control. None of the socket types implements the flow control yet. The code will crash when the flow control is enabled and the thw lwm is reached. The following commits will add flow-control support for individual socket types. src/command.hpp | 8 +++++++ src/downstream.cpp | 6 ++++- src/downstream.hpp | 1 + src/err.hpp | 6 +++++ src/i_endpoint.hpp | 1 + src/i_engine.hpp | 2 + src/lb.cpp | 49 +++++++++++++++++++----------------------- src/lb.hpp | 1 - src/object.cpp | 19 ++++++++++++++++ src/object.hpp | 3 ++ src/options.cpp | 8 +++--- src/options.hpp | 4 +- src/p2p.cpp | 11 ++++++--- src/p2p.hpp | 1 + src/pgm_receiver.cpp | 5 ++++ src/pgm_receiver.hpp | 1 + src/pgm_sender.cpp | 5 ++++ src/pgm_sender.hpp | 1 + src/pipe.cpp | 57 ++++++++++++++++++++++++++++++++++++++++--------- src/pipe.hpp | 29 ++++++++++++++++-------- src/pub.cpp | 16 ++++++++++--- src/pub.hpp | 1 + src/rep.cpp | 10 +++++++- src/rep.hpp | 1 + src/req.cpp | 11 ++++++--- src/req.hpp | 1 + src/session.cpp | 7 ++++++ src/session.hpp | 1 + src/socket_base.cpp | 5 ++++ src/socket_base.hpp | 2 + src/sub.cpp | 5 ++++ src/sub.hpp | 1 + src/upstream.cpp | 5 ++++ src/upstream.hpp | 1 + src/xrep.cpp | 8 ++++++- src/xrep.hpp | 1 + src/xreq.cpp | 6 ++++- src/xreq.hpp | 1 + src/zmq_engine.cpp | 17 ++++++++++---- src/zmq_engine.hpp | 1 + 40 files changed, 242 insertions(+), 77 deletions(-) commit 31d36104aa7caead6f299f0c5cb58a9fde7cf9b0 Author: Martin Lucina Date: Fri Mar 12 10:34:11 2010 +0100 devices/ build fixed devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- devices/zmq_queue/zmq_queue.cpp | 2 +- devices/zmq_streamer/zmq_streamer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 10bbe6af9900b4609cfcadc031dcf4dcb8ebfb3b Author: Martin Lucina Date: Thu Mar 11 20:43:51 2010 +0100 Cleanup .gitignore .gitignore | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) commit 27e2d08449ea52649e2e42b263f76fbd5d8382c5 Author: Martin Lucina Date: Thu Mar 11 20:33:27 2010 +0100 Restructure language bindings C and C++ headers moved from bindings/ to include/, bindings/ removed --with-c and --with-cpp options to configure removed, C and C++ now built and installed by default bindings/c/zmq.h | 249 --------------------------------------------- bindings/cpp/zmq.hpp | 266 ------------------------------------------------- configure.in | 32 +------ include/zmq.h | 249 +++++++++++++++++++++++++++++++++++++++++++++ include/zmq.hpp | 266 +++++++++++++++++++++++++++++++++++++++++++++++++ perf/Makefile.am | 10 +-- perf/c/Makefile.am | 2 +- perf/cpp/Makefile.am | 2 +- src/Makefile.am | 12 +-- src/app_thread.cpp | 2 +- src/dispatcher.cpp | 2 +- src/downstream.cpp | 2 +- src/err.cpp | 2 +- src/fq.cpp | 2 +- src/i_inout.hpp | 2 +- src/io_thread.cpp | 2 +- src/lb.cpp | 2 +- src/msg_content.hpp | 2 +- src/options.cpp | 2 +- src/p2p.cpp | 2 +- src/pipe.cpp | 2 +- src/pipe.hpp | 2 +- src/pub.cpp | 2 +- src/rep.cpp | 2 +- src/req.cpp | 2 +- src/socket_base.cpp | 2 +- src/socket_base.hpp | 2 +- src/sub.cpp | 2 +- src/sub.hpp | 2 +- src/tcp_connecter.cpp | 2 +- src/tcp_listener.cpp | 2 +- src/upstream.cpp | 2 +- src/xrep.cpp | 2 +- src/xreq.cpp | 2 +- src/zmq.cpp | 2 +- src/zmq_decoder.hpp | 2 +- src/zmq_encoder.hpp | 2 +- 37 files changed, 549 insertions(+), 595 deletions(-) commit 90944759b66771bbe399922eecedc5095fa2a509 Author: Martin Lucina Date: Thu Mar 11 20:12:55 2010 +0100 Removed Java binding from core distribution Makefile.am | 4 +- bindings/Makefile.am | 7 - bindings/java/Context.cpp | 112 ------------ bindings/java/Makefile.am | 72 -------- bindings/java/Poller.cpp | 126 ------------- bindings/java/Socket.cpp | 345 ------------------------------------ bindings/java/org/zmq/Context.java | 58 ------ bindings/java/org/zmq/Poller.java | 135 -------------- bindings/java/org/zmq/Socket.java | 134 -------------- configure.in | 73 +------- perf/Makefile.am | 8 +- perf/java/Makefile.am | 5 - perf/java/local_lat.java | 55 ------ perf/java/local_thr.java | 71 -------- perf/java/remote_lat.java | 60 ------- perf/java/remote_thr.java | 57 ------ 16 files changed, 9 insertions(+), 1313 deletions(-) commit 9fda070e4d66d538e3c709c6cb8934cbf4442c29 Author: Martin Lucina Date: Wed Mar 10 23:20:43 2010 +0100 Typeset literal correctly doc/zmq_pgm.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 0a1e0beaa2849a51ea659eba0f142ce340d2cc6d Author: Martin Lucina Date: Wed Mar 10 23:18:08 2010 +0100 Fixes to PGM wire format description doc/zmq_pgm.txt | 69 ++++++++++++++++++++++++++++++------------------------ 1 files changed, 38 insertions(+), 31 deletions(-) commit 5fef480aeb28424769d97c92f331d87f87b87c85 Author: Martin Lucina Date: Wed Mar 10 13:52:41 2010 +0100 Fixes to TCP wire format specification doc/zmq_tcp.txt | 42 ++++++++++++++++++++++++++---------------- 1 files changed, 26 insertions(+), 16 deletions(-) commit 8f90ae8dfdf5efbb6c8429897dc95cad621af00b Author: Martin Sustrik Date: Wed Mar 10 12:40:13 2010 +0100 wire formats in docs clarified doc/zmq_pgm.txt | 40 +++++++++++++++++++++++++++++++--------- doc/zmq_tcp.txt | 22 +++++++++++++--------- 2 files changed, 44 insertions(+), 18 deletions(-) commit 98801ebcaea1117ae596a3bae0653c3720a94359 Author: Martin Lucina Date: Wed Mar 10 12:19:39 2010 +0100 Documentation fixes doc/zmq.txt | 3 ++- doc/zmq_bind.txt | 4 ++-- doc/zmq_close.txt | 2 +- doc/zmq_connect.txt | 4 ++-- doc/zmq_flush.txt | 2 +- doc/zmq_msg_close.txt | 2 +- doc/zmq_msg_copy.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_poll.txt | 13 +++++++------ doc/zmq_recv.txt | 2 +- doc/zmq_send.txt | 2 +- doc/zmq_setsockopt.txt | 18 ++++++++---------- doc/zmq_socket.txt | 7 ++++--- doc/zmq_term.txt | 2 +- 17 files changed, 36 insertions(+), 35 deletions(-) commit bc468b34513a0fd76e69e03f3f978abd7d8c3871 Author: Martin Lucina Date: Tue Mar 9 19:29:41 2010 +0100 Add missing section with zmq_version() doc/zmq.txt | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit edebff902a9785ecdb3a27f6a78ac7cc68b38a56 Author: Martin Lucina Date: Tue Mar 9 18:58:59 2010 +0100 Add dependency for zmq_epgm.7 doc/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ca70b40383fd12ce866054dd87cecb3d732c8d9f Author: Martin Lucina Date: Tue Mar 9 18:53:42 2010 +0100 Hack, zmq_epgm.7 needs to be copied from zmq_pgm.7 doc/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 1aee86408d575d6572b071d7564da7f006d1757e Author: Martin Lucina Date: Tue Mar 9 18:47:31 2010 +0100 Documentation rewrite doc/Makefile.am | 4 +- doc/asciidoc.conf | 8 + doc/zmq.txt | 227 ++++++++++++++++++------------ doc/zmq_bind.txt | 60 +++++--- doc/zmq_close.txt | 37 ++--- doc/zmq_connect.txt | 60 +++++--- doc/zmq_epgm.txt | 1 + doc/zmq_flush.txt | 48 +++---- doc/zmq_forwarder.txt | 17 ++- doc/zmq_init.txt | 52 ++++---- doc/zmq_inproc.txt | 85 ++++++++--- doc/zmq_ipc.txt | 72 +++++++--- doc/zmq_java.txt | 27 ---- doc/zmq_msg_close.txt | 43 +++--- doc/zmq_msg_copy.txt | 46 +++---- doc/zmq_msg_data.txt | 32 ++--- doc/zmq_msg_init.txt | 29 +++-- doc/zmq_msg_init_data.txt | 51 ++++--- doc/zmq_msg_init_size.txt | 51 +++---- doc/zmq_msg_move.txt | 38 +++--- doc/zmq_msg_size.txt | 35 ++--- doc/zmq_pgm.txt | 174 +++++++++++++---------- doc/zmq_poll.txt | 122 +++++++++++----- doc/zmq_queue.txt | 17 ++- doc/zmq_recv.txt | 53 ++++--- doc/zmq_send.txt | 66 +++++---- doc/zmq_setsockopt.txt | 348 ++++++++++++++++++++++++++++++--------------- doc/zmq_socket.txt | 184 +++++++++++++------------ doc/zmq_streamer.txt | 17 ++- doc/zmq_strerror.txt | 25 ++-- doc/zmq_tcp.txt | 129 ++++++++++++------ doc/zmq_term.txt | 33 ++--- doc/zmq_udp.txt | 56 ------- doc/zmq_version.txt | 23 ++- 34 files changed, 1297 insertions(+), 973 deletions(-) commit d790940fd06060c8a2c624b0e41e470ad31ae0d8 Author: Martin Sustrik Date: Tue Mar 9 18:14:49 2010 +0100 udp transport renamed to epgm configure.in | 4 ++-- src/socket_base.cpp | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) commit 5a776f5597cac632ca507e2d80ca0de064bba1d6 Author: Martin Sustrik Date: Tue Mar 9 17:34:28 2010 +0100 PGM late joiners would start receiving a complete message rather than a message part src/zmq_encoder.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 0f891e091cc46775226ee1fe28784876395a7b92 Author: Martin Sustrik Date: Tue Mar 9 17:24:42 2010 +0100 message flags from the wire are written to zmq_msg_t and vice versa src/zmq_decoder.cpp | 4 ++-- src/zmq_encoder.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 531c6af0d4df606ddef15da821dad20399b9480a Author: Martin Sustrik Date: Tue Mar 9 16:56:53 2010 +0100 message flags added to zmq_msg_t strcuture bindings/c/zmq.h | 14 +++++++++----- src/pipe.cpp | 2 +- src/pub.cpp | 4 ++-- src/zmq.cpp | 14 ++++++++------ 4 files changed, 20 insertions(+), 14 deletions(-) commit 96ccc1c5fceb56bd7ffc2e6bef9ddab5347d722b Author: Martin Sustrik Date: Tue Mar 9 15:10:44 2010 +0100 'flags' fields added to the wire format src/zmq_decoder.cpp | 40 +++++++++++++++++++++++++++++----------- src/zmq_decoder.hpp | 1 + src/zmq_encoder.cpp | 11 ++++++++--- src/zmq_encoder.hpp | 2 +- 4 files changed, 39 insertions(+), 15 deletions(-) commit e04e2cdbbaf351eb04164bdcd293fcb8fa22a9a4 Author: Martin Sustrik Date: Tue Mar 9 08:43:20 2010 +0100 rollback functionality added to pipe src/pipe.cpp | 13 +++++++++++++ src/pipe.hpp | 3 +++ src/ypipe.hpp | 11 +++++++++++ src/yqueue.hpp | 37 ++++++++++++++++++++++++++++++++++++- 4 files changed, 63 insertions(+), 1 deletions(-) commit 9481c69b0f60068f12aa26699588fed6a8faceec Author: Martin Sustrik Date: Sat Mar 6 16:32:19 2010 +0100 problem with NIC name resolution on OSX fixed src/ip.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 26b0aea24f9add0a1811e23f709d96b44b459571 Author: Martin Lucina Date: Wed Mar 3 17:01:08 2010 +0100 Win32 build fixes configure.in | 8 ++++---- src/Makefile.am | 4 ++++ src/ip.hpp | 10 +++++----- src/uuid.hpp | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) commit 352da8ae8775f057a7ec67a7bd3f2270ac1c4d0f Author: unknown Date: Wed Mar 3 15:47:21 2010 +0100 type mismatch in tcp_listener (win version) fixed src/tcp_listener.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 14054ecce7d367d8e3d47f84f72d2fc748aec8e4 Author: Martin Hurton Date: Wed Mar 3 09:41:57 2010 +0100 Fix typo: zmq_close -> zmq_msg_close src/rep.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 708298d798693a19ace9a4811a3760d8de0a5c1d Author: Martin Hurton Date: Wed Mar 3 00:08:11 2010 +0100 Fix possible lockups when reading from ZMQ_REP sockets src/rep.cpp | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) commit 157a66fc42d46c79edc01f6feed8f482fb5d53f1 Author: unknown Date: Mon Mar 1 18:33:16 2010 +0100 polling on POSIX sockets returns POLLERR (win32) src/zmq.cpp | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit 4e7158b67dcbbc307e76616a85aa34cc83ad6606 Author: Martin Sustrik Date: Mon Mar 1 17:40:39 2010 +0100 return POLLERR from polling on POSIX sockets (linux version) src/zmq.cpp | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 7442f53956e5d32d9c6a3543f8bef1664a773926 Merge: ea0a44c 83f85ea Author: Martin Sustrik Date: Sat Feb 27 14:18:21 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit ea0a44c8a964cad4276ec216319d32e95e4a4bc0 Author: Martin Sustrik Date: Sat Feb 27 14:18:02 2010 +0100 Ruby binding removed bindings/Makefile.am | 8 +- bindings/ruby/Makefile.am | 11 -- bindings/ruby/extconf.rb | 28 ----- bindings/ruby/rbzmq.cpp | 288 --------------------------------------------- configure.in | 57 +--------- perf/Makefile.am | 8 +- perf/ruby/Makefile.am | 1 - perf/ruby/local_lat.rb | 41 ------- perf/ruby/local_thr.rb | 61 ---------- perf/ruby/remote_lat.rb | 53 -------- perf/ruby/remote_thr.rb | 45 ------- 11 files changed, 7 insertions(+), 594 deletions(-) commit 83f85ea51dee1fb2fcee22543a90361b860d6cb8 Author: unknown Date: Sat Feb 27 13:49:53 2010 +0100 ruby binding removed from msvc build builds/msvc/msvc.sln | 9 ----- builds/msvc/ruby/ruby.vcproj | 68 ------------------------------------------ 2 files changed, 0 insertions(+), 77 deletions(-) commit 696ada883331359bee76b1ea996d8ac846624bea Author: unknown Date: Sat Feb 27 13:36:52 2010 +0100 python binding removed from nsvc build builds/msvc/msvc.sln | 8 -- builds/msvc/python/python.vcproj | 176 -------------------------------------- 2 files changed, 0 insertions(+), 184 deletions(-) commit 45414b5444db0a1f7e325c7dce92fbe84667d093 Author: Martin Sustrik Date: Sat Feb 27 12:23:22 2010 +0100 python binding removed bindings/Makefile.am | 8 +- bindings/python/Makefile.am | 7 - bindings/python/pyzmq.cpp | 556 ------------------------------------------- bindings/python/setup.py.in | 14 - configure.in | 65 +----- doc/Makefile.am | 2 +- doc/zmq.txt | 3 - doc/zmq_python.txt | 27 -- perf/Makefile.am | 9 +- perf/python/Makefile.am | 1 - perf/python/local_lat.py | 49 ---- perf/python/local_thr.py | 70 ------ perf/python/remote_lat.py | 61 ----- perf/python/remote_thr.py | 53 ---- 14 files changed, 11 insertions(+), 914 deletions(-) commit efefa069b2ce407a7da4328ab024c47920a76960 Author: Martin Lucina Date: Fri Feb 26 20:03:58 2010 +0100 Cygwin support configure.in | 7 +++++++ src/uuid.cpp | 3 ++- src/uuid.hpp | 6 ++++-- 3 files changed, 13 insertions(+), 3 deletions(-) commit deda7ca54a3c8f1ba735e8654ca87f8808606122 Author: Martin Sustrik Date: Fri Feb 26 17:28:09 2010 +0100 Java Poller patch .gitignore | 3 + bindings/java/Context.cpp | 106 ------------------------------------ bindings/java/Makefile.am | 22 ++++++-- bindings/java/org/zmq/Context.java | 18 ------ 4 files changed, 21 insertions(+), 128 deletions(-) commit 4a1a83887d6faf36cb01f1c69142e6aafafe5eba Author: unknown Date: Fri Feb 26 16:42:52 2010 +0100 Win32 build of Java binding fixed builds/msvc/java/java.vcproj | 36 ++++++++++++++++++++++++++++++++---- 1 files changed, 32 insertions(+), 4 deletions(-) commit 4440b13c359dab2c1ba55e31c604ac093172d68e Author: Martin Sustrik Date: Fri Feb 26 15:55:36 2010 +0100 Poller object implemented in Java binding bindings/java/Poller.cpp | 126 ++++++++++++++++++++++++++++++++++ bindings/java/org/zmq/Poller.java | 135 +++++++++++++++++++++++++++++++++++++ 2 files changed, 261 insertions(+), 0 deletions(-) commit 1c4daf79ce12da75acb8010c99b3c1d509a7a950 Author: Martin Sustrik Date: Fri Feb 26 14:28:20 2010 +0100 MIT license text added COPYING.LESSER | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) commit 57e057c825156b6effd15c07ee302f4ccdd2561c Author: Martin Sustrik Date: Thu Feb 25 16:29:17 2010 +0100 1st version of Java poll added bindings/java/Context.cpp | 140 ++++++++++++++++++++++++++++++------ bindings/java/Socket.cpp | 89 +++++++++-------------- bindings/java/org/zmq/Context.java | 21 +++++- bindings/java/org/zmq/Socket.java | 5 +- 4 files changed, 173 insertions(+), 82 deletions(-) commit ed8fe68383ca94ca33a9919bc2ed5b5a5d62cab0 Author: Martin Sustrik Date: Wed Feb 24 17:27:31 2010 +0100 handle invalid PGM connection string decently src/pgm_socket.cpp | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit be51cfa419bb6c75eb24d241769a7c5543c432a7 Merge: 0b4172b b7f01f9 Author: Martin Sustrik Date: Wed Feb 24 16:19:53 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 0b4172b8689b60ce254c6823d69962bbdbd031d4 Author: Martin Sustrik Date: Wed Feb 24 16:19:14 2010 +0100 minor cast issues on cygwin fixed src/ip.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit b7f01f9071c26292c30517bac18dae92efaf3ffb Author: unknown Date: Wed Feb 24 15:33:03 2010 +0100 chat example removed from win build; missing fd_signaler_t::poll on win added builds/msvc/msvc.sln | 18 ------------------ src/fd_signaler.cpp | 26 +++++++++++++++++++------- 2 files changed, 19 insertions(+), 25 deletions(-) commit 476ebde6280a428e2dd8fee7c70670aa449831c9 Author: Martin Sustrik Date: Wed Feb 24 13:02:29 2010 +0100 use binary UUIDs instead of string representation to save some bytes src/uuid.cpp | 87 +++++++++++++++++++++++++++++++++++++++++++++++------ src/uuid.hpp | 22 +++++++++++-- src/zmq_init.cpp | 6 ++-- 3 files changed, 98 insertions(+), 17 deletions(-) commit cc5c30f5dc2d6490c0199709ceb2d86e3cc3895d Author: Martin Lucina Date: Wed Feb 24 12:09:24 2010 +0100 Fix: OpenPGM is now distributed as .tar.gz Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bba36e6ee6ecdee5f3ded30b9f11e7684393bfd2 Author: Martin Lucina Date: Wed Feb 24 12:07:24 2010 +0100 Disable IPv6 support The current IPv6 support is half-assed and breaks for too many people. Revert back to IPv4 only for now. src/ip.cpp | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) commit 39b89619742cf4aed25a5b3ccc5ff6d23d9d15cf Author: Martin Lucina Date: Wed Feb 24 09:41:10 2010 +0100 Update OpenPGM to 2.0.24 (stable) .gitignore | 1 + configure.in | 16 ++++++++-------- foreign/openpgm/libpgm-2.0.23rc8.tar.bz2 | Bin 321822 -> 0 bytes foreign/openpgm/libpgm-2.0.24.tar.gz | Bin 0 -> 407110 bytes 4 files changed, 9 insertions(+), 8 deletions(-) commit ccd47f1ee8c9268b99478c6cce3d8b1aada62566 Author: Martin Sustrik Date: Wed Feb 24 09:17:05 2010 +0100 chat example moved to separate repo Makefile.am | 4 +- configure.in | 13 +-------- examples/Makefile.am | 7 ----- examples/chat/Makefile.am | 11 ------- examples/chat/README | 42 ---------------------------- examples/chat/display.cpp | 50 --------------------------------- examples/chat/prompt.cpp | 67 --------------------------------------------- 7 files changed, 3 insertions(+), 191 deletions(-) commit 8980a985828579d03f031b18a1bebcd65eded417 Author: Martin Sustrik Date: Wed Feb 24 08:29:29 2010 +0100 zmq_error used from ruby binding bindings/ruby/rbzmq.cpp | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) commit 551fa104ffdb8c417b7d75ce70c463992e7d4652 Author: Martin Sustrik Date: Tue Feb 23 23:43:31 2010 +0100 zmq_errno used in C++ binding bindings/cpp/zmq.hpp | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit 95329719cda2b941e422d06daad3a7ba4c4a8829 Author: Martin Sustrik Date: Tue Feb 23 23:37:05 2010 +0100 zmq_errno is exported from the DLL bindings/c/zmq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2441ef11a22170499d7ae12865dc98a61230f7ed Author: Martin Sustrik Date: Tue Feb 23 23:28:25 2010 +0100 zmq_errno helper function added bindings/c/zmq.h | 10 ++++++++++ src/zmq.cpp | 5 +++++ 2 files changed, 15 insertions(+), 0 deletions(-) commit 2dd55605ea3956413cb25cab705ffdbdb2e00da5 Author: Martin Sustrik Date: Tue Feb 23 22:13:56 2010 +0100 recv fails after polling for IN on REQ socket src/req.cpp | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit 025c9e173c58971993858ea66fb2eeaf08de195d Author: Martin Sustrik Date: Tue Feb 23 17:22:52 2010 +0100 execution disabled on certain source files; some comments on java binding; MSVC temp files added to .gitignore .gitignore | 9 +++++++++ bindings/java/org/zmq/Context.java | 2 ++ bindings/java/org/zmq/Socket.java | 2 ++ 3 files changed, 13 insertions(+), 0 deletions(-) commit 71b4947f951f0120e4aadccb42f2452bb95dba06 Author: unknown Date: Tue Feb 23 12:02:55 2010 +0100 Win32 build fixed builds/msvc/libzmq/libzmq.vcproj | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 7c0df6ee02eb792c6afea7f047539840addb2f02 Author: Martin Sustrik Date: Tue Feb 23 11:52:33 2010 +0100 Java binding beautified, inline documentation added AUTHORS | 1 + bindings/java/Context.cpp | 106 ++++++++++++------- bindings/java/Socket.cpp | 197 +++++++++++++++++++++++++++--------- bindings/java/org/zmq/Context.java | 17 ++- bindings/java/org/zmq/Socket.java | 59 +++++++---- 5 files changed, 267 insertions(+), 113 deletions(-) commit ef1b5974891a30b15299464859023a531c2328f8 Author: Martin Sustrik Date: Tue Feb 23 10:01:54 2010 +0100 minor fix in zmq_socket(3) man page doc/zmq_socket.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b9a612ff3f74a3add607b054213d0f52e85cc426 Merge: f249555 61f0ef5 Author: Martin Sustrik Date: Mon Feb 22 18:19:51 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit f24955519ac0d3b0da5dd87fbb7bfc8cc1e24295 Author: Martin Sustrik Date: Mon Feb 22 18:19:26 2010 +0100 zmq_poll doesn't exit when infinite timeout is set and interrupt occurs src/zmq.cpp | 56 +++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 39 insertions(+), 17 deletions(-) commit 61f0ef569b2f879b6b4e1f247253ceec08e774c7 Author: Martin Lucina Date: Mon Feb 22 18:16:40 2010 +0100 NetBSD: Check for and use atomic_ops(3) if available configure.in | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) commit 3a69cca386a895313729f418ee44443794feed0f Author: Martin Lucina Date: Mon Feb 22 16:42:13 2010 +0100 Fix $build_doc/$install_man check yet again configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1294c1d33a1c73218eb94bf18ceb9ae873d08891 Author: Martin Sustrik Date: Sun Feb 21 16:58:53 2010 +0100 typo in zmq_ipc(7) fixed doc/zmq_ipc.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit ff99d753ae30a7b5fef730fdcf1643e2928d9993 Author: malosek Date: Sat Feb 20 21:03:12 2010 +0100 Minor buid system tunning autogen.sh | 8 ++++++++ configure.in | 1 - 2 files changed, 8 insertions(+), 1 deletions(-) commit 740e531fbb47ad324737c075251c674e9dced6f1 Author: Martin Sustrik Date: Sat Feb 20 09:11:30 2010 +0100 Aleksey Yeschenko added to the credit section of AUTHORS file AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 57148b1fdeec0080b77ecfa837add9557226261c Author: Martin Lucina Date: Fri Feb 19 18:23:54 2010 +0100 Add missing check for install_man=yes Fixes git builds w/o asciidoc, bug introduced in 46824abe configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8b86dcf81cc7b80267f334f4f26dfd319532ad25 Author: Martin Sustrik Date: Fri Feb 19 17:50:47 2010 +0100 build on cygwin enabled AUTHORS | 1 + configure.in | 3 +++ src/poller.hpp | 2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) commit 727054547f32680f7db098497c2d7b1a0b20e2d8 Author: Martin Sustrik Date: Fri Feb 19 17:02:07 2010 +0100 don't check for identity, if the connection is anonymous src/session.cpp | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit aff1f6621ae13083c7f15f7f1f808560254a2dcb Merge: 75f571c 2a79a94 Author: Martin Sustrik Date: Fri Feb 19 15:25:05 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 75f571c8844231f4172f131e1dd6ba2348eb54e5 Author: Martin Sustrik Date: Fri Feb 19 15:24:43 2010 +0100 Multi-hop REQ/REP, part XII., generate unique identities for anonymous connections doc/zmq_setsockopt.txt | 10 ++++++---- src/options.cpp | 9 +++++++++ src/session.cpp | 6 +++--- src/uuid.hpp | 6 +++--- src/zmq_encoder.cpp | 1 - src/zmq_engine.cpp | 4 +++- src/zmq_init.cpp | 40 ++++++++++++++++++++-------------------- 7 files changed, 44 insertions(+), 32 deletions(-) commit 2a79a943de417679c562cd4a917e1d1bc19b0d25 Author: Martin Lucina Date: Thu Feb 18 19:38:15 2010 +0100 Add NetBSD support configure.in | 13 +++++++++++++ src/atomic_bitmap.hpp | 16 ++++++++-------- src/atomic_counter.hpp | 14 +++++++------- src/atomic_ptr.hpp | 14 +++++++------- src/ip.cpp | 11 ++--------- src/ip.hpp | 10 ++++++++++ src/kqueue.cpp | 17 ++++++++++++++--- src/kqueue.hpp | 3 ++- src/poll.cpp | 3 ++- src/poll.hpp | 3 ++- src/poller.hpp | 2 ++ src/tcp_listener.cpp | 2 +- src/uuid.cpp | 2 +- src/uuid.hpp | 4 ++-- src/zmq.cpp | 6 ++++-- 15 files changed, 77 insertions(+), 43 deletions(-) commit 776b12633981fd95050e138daeeba00a65d9532b Author: Martin Lucina Date: Thu Feb 18 19:27:35 2010 +0100 Fix typo configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ab27f84b14a317d78a9dd145ef5c82e0ef88f583 Author: Martin Lucina Date: Thu Feb 18 19:27:15 2010 +0100 libstdc++ depends on libm on some platforms configure.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 495f0d105f809a265c34aa9a0eb20af0dcdcf283 Author: Martin Lucina Date: Thu Feb 18 17:29:14 2010 +0100 Fix detection of libstdc++ We only care about libstdc++ when using GNU C++. Further, libstdc++ depends on libm on some platforms, fix this. configure.in | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit 46824abeb2b016c51f406401d965816f71189aed Author: Martin Lucina Date: Thu Feb 18 17:25:49 2010 +0100 Never build docs from tarball releases This fixes the build_doc logic to work as advertised and never try to (re)build documentation when working with a tarball release. configure.in | 14 +++++++++++--- doc/Makefile.am | 3 ++- 2 files changed, 13 insertions(+), 4 deletions(-) commit 8be491b7bdb8525eb37cebf355697c566a482e2d Author: Martin Lucina Date: Thu Feb 18 13:46:00 2010 +0100 Use feature test macros more conservatively It turns out that feature test macros are a complete mess, and defining _GNU_SOURCE and _POSIX_C_SOURCE together breaks some systems. So we try and define the appropriate "make everything visible" combination specific to each system instead. This may still break something, so people should test their platforms and speak up if so. configure.in | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) commit d008637bc42da3fca50e423c2df0736be2745ac7 Author: Martin Sustrik Date: Wed Feb 17 21:16:59 2010 +0100 one more attempt to fix the previous win32 problem src/socket_base.cpp | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) commit f97da5e6449b183ad3ebb9b0ba8c37ff3dc17387 Merge: e385319 41354bf Author: Martin Sustrik Date: Wed Feb 17 20:33:46 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit e385319e5aaff6deafddfb216b24f026b461caa6 Author: Martin Sustrik Date: Wed Feb 17 20:33:00 2010 +0100 recv returning -1 while errno=0 fixed src/socket_base.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 41354bfa9820eb4495cf98342177d036df2a7dc7 Author: unknown Date: Wed Feb 17 20:16:19 2010 +0100 zmq_version fixed on Win32 platform builds/msvc/platform.hpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit f745c96a9bcf930d10fe31de5f7b3e772cccfa83 Author: Martin Lucina Date: Wed Feb 17 15:40:26 2010 +0100 Add POSIX and GNU Feature Test Macros This should fix more exotic POSIX platforms such as HPUX which insist on having _POSIX_C_SOURCE defined to get proper threading behaviour. We also define _GNU_SOURCE so that we get any extensions on systems with glibc, e.g. eventfd. configure.in | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) commit 9d8623b28f09f5a6db94c7d69ae264984ef1fbe3 Author: Martin Sustrik Date: Wed Feb 17 08:30:27 2010 +0100 ZMQII-76: Bug in how replies are handled when the REQ endpoint goes away src/rep.cpp | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) commit 33cb20a747a2ca2c7b0487b023cfd6548ffe11e8 Author: Martin Sustrik Date: Tue Feb 16 23:31:17 2010 +0100 ZMQII-77: Put librbzmq symbols into ZMQ module AUTHORS | 1 + bindings/ruby/rbzmq.cpp | 75 ++++++++++++++++++++++++---------------------- perf/ruby/local_lat.rb | 4 +- perf/ruby/local_thr.rb | 6 ++-- perf/ruby/remote_lat.rb | 4 +- perf/ruby/remote_thr.rb | 4 +- 6 files changed, 49 insertions(+), 45 deletions(-) commit 1e7878489dc5d3013b5e5858fe404ab6b4a6947a Author: Martin Sustrik Date: Tue Feb 16 23:02:59 2010 +0100 exconf.rb checks for libzmq.so installation AUTHORS | 1 + bindings/ruby/extconf.rb | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 8214d386c3f10dcc7f034a1159e82aa2d470829f Merge: 4190f64 96b2690 Author: Martin Sustrik Date: Tue Feb 16 22:20:09 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 4190f64d8cfc3950bc456ea7793db72130d05feb Author: Martin Sustrik Date: Tue Feb 16 22:19:33 2010 +0100 Special exception clause added to LGPL license COPYING.LESSER | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) commit 96b2690716a811a4c782de0eccfb9affa398cfe4 Merge: 60ce5cc a2f9899 Author: Martin Lucina Date: Tue Feb 16 19:59:32 2010 +0100 Merge branch 'master' of github.com:sustrik/zeromq2 commit 60ce5cc82a48d5881cb493a5b6b3afba19bd0863 Author: Martin Lucina Date: Tue Feb 16 19:58:55 2010 +0100 PGM tarball should be removed on 'distclean', not 'clean' Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b9caa319e279cd8cd367e0a64308b9e80c4ead3d Author: Martin Sustrik Date: Tue Feb 16 18:30:38 2010 +0100 Multi-hop REQ/REP, part XI., finalise the XREQ/XREP functionality src/downstream.cpp | 2 +- src/downstream.hpp | 3 +- src/i_endpoint.hpp | 4 ++- src/i_engine.hpp | 9 ++++--- src/p2p.cpp | 2 +- src/p2p.hpp | 3 +- src/pgm_receiver.cpp | 8 ++++++- src/pgm_receiver.hpp | 3 +- src/pgm_sender.cpp | 8 ++++++- src/pgm_sender.hpp | 3 +- src/pub.cpp | 2 +- src/pub.hpp | 3 +- src/rep.cpp | 2 +- src/rep.hpp | 3 +- src/req.cpp | 2 +- src/req.hpp | 3 +- src/session.cpp | 7 +++++- src/session.hpp | 3 +- src/socket_base.cpp | 12 +++++----- src/socket_base.hpp | 5 ++- src/sub.cpp | 2 +- src/sub.hpp | 3 +- src/upstream.cpp | 2 +- src/upstream.hpp | 3 +- src/xrep.cpp | 51 ++++++++++++++++++++++++++++++++++++++++++++----- src/xrep.hpp | 10 ++++++++- src/xreq.cpp | 2 +- src/xreq.hpp | 3 +- src/zmq_decoder.cpp | 48 +++++++++++++++++++++++++++++----------------- src/zmq_encoder.cpp | 15 ++++++++++--- src/zmq_engine.cpp | 8 +++++- src/zmq_engine.hpp | 3 +- src/zmq_init.cpp | 6 +---- 33 files changed, 171 insertions(+), 72 deletions(-) commit 2ddce205350f11dacd8d8550f7d4e6e088c7fbcd Merge: 43620b3 a2f9899 Author: Martin Sustrik Date: Tue Feb 16 18:03:41 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit a2f9899f6a1fad3f9c73fc7599445bdde0b95ec4 Author: Martin Sustrik Date: Tue Feb 16 17:50:36 2010 +0100 missing COPYING file added .gitignore | 1 - COPYING | 674 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/zmq_poll.txt | 3 +- 3 files changed, 676 insertions(+), 2 deletions(-) commit afb526f31a82b8697b5f7e73e50b14705a3a74b2 Author: Martin Lucina Date: Tue Feb 16 00:11:38 2010 +0100 Fix 'make dist' to work with no special magic bindings/java/Makefile.am | 13 +++++++------ perf/c/Makefile.am | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) commit 8e9b78af271ae54882abf3010260d1e80ddd70f2 Author: Martin Lucina Date: Mon Feb 15 23:59:35 2010 +0100 Correct path for pgm distclean Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit df0c18ca17aa0dcd0e9f3737666a794b943f0982 Author: Martin Lucina Date: Mon Feb 15 23:54:49 2010 +0100 Missed one instance of pgm2 Makefile.am | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit b09eeeb2fac380da1e3455cdf97278850842e1c8 Author: Martin Lucina Date: Mon Feb 15 23:52:08 2010 +0100 Update gitignore .gitignore | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 80c820d758aa65d71fbf4a24fd59d11de1f72fa5 Author: Martin Lucina Date: Mon Feb 15 23:51:05 2010 +0100 Cleaning up more PGM cruft Makefile.am | 3 ++ configure.in | 65 ++++++++++++++++++--------------------------------- perf/c/Makefile.am | 4 +- src/Makefile.am | 12 +++++++-- 4 files changed, 37 insertions(+), 47 deletions(-) commit 635e314643885ce8508ee64632bed7d6228fe8b6 Author: Martin Lucina Date: Mon Feb 15 23:09:57 2010 +0100 Clarify python.h messages configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 55800cea8c63ea84bd99e4c660ef1fd17a353e32 Author: Martin Lucina Date: Mon Feb 15 23:02:24 2010 +0100 Fix typo configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5687661ba4a1ecf70e130047dc288cb6cff6f21a Author: Martin Lucina Date: Mon Feb 15 22:58:45 2010 +0100 Cleanup messages from configure.in configure.in | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) commit 48a90cfb347bc983362ce2bc021591d513d6a5ec Author: Martin Lucina Date: Mon Feb 15 22:25:01 2010 +0100 Replace check for sparc with host_cpu configure.in | 25 ++++++++----------------- 1 files changed, 8 insertions(+), 17 deletions(-) commit 0ded6c1973596436d7e5c54cfb89ada4d6c7473d Author: Martin Lucina Date: Mon Feb 15 22:17:18 2010 +0100 Multiple fixes to --with-pgm Disallow build --with-pgm on non-x86/AMB64 CPUs Check correctly for all dependencies required by --with-pgm Don't assume tar has -j Reorder --with-pgm checks configure.in | 70 ++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 42 insertions(+), 28 deletions(-) commit 94c74d5c18183b49507d633c7b06713841cfcb03 Author: Martin Sustrik Date: Mon Feb 15 21:04:34 2010 +0100 Brian Granger added to credits list AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit f96f53c9687b5a032ef45ce42154a7f944492eec Author: Martin Sustrik Date: Mon Feb 15 21:03:11 2010 +0100 ZMQ_POLLERR placeholder added to zmq.h bindings/c/zmq.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 5041b0bc0bce43e5b6d8b6c6264141d33f3c2a7c Author: Martin Sustrik Date: Mon Feb 15 20:35:00 2010 +0100 fixing the previous commit :( src/ip.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 7778010d76e6da534307ca3f0a3506d3d7f0ec5d Author: Martin Sustrik Date: Mon Feb 15 19:58:47 2010 +0100 care taken of the fact that AI_NUMERICSERV is not defined on OSX 10.5 src/ip.cpp | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 817c89a78ea7b773046b010ca129fd1206e1c8f0 Author: malosek Date: Mon Feb 15 19:42:05 2010 +0100 removed first dummy run of PKG_CHECK_EXISTS configure.in | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit 43620b3d35e3f3a6e49046fdc0426651bf58dedb Author: Martin Sustrik Date: Sun Feb 14 13:34:48 2010 +0100 Multi-hop REQ/REP, part X., optional delayed creation of pipes during connect src/options.cpp | 1 + src/options.hpp | 6 +++++ src/rep.cpp | 5 ++++ src/session.cpp | 48 +++++++++++++++++++++----------------------- src/socket_base.cpp | 55 ++++++++++++++++++++++++++++++++------------------ src/xrep.cpp | 4 +++ 6 files changed, 74 insertions(+), 45 deletions(-) commit 4405250d93a2ad6eb3940c4bc4fe8ea32bd52f9e Author: Martin Sustrik Date: Sat Feb 13 15:30:03 2010 +0100 Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t src/command.cpp | 4 ++++ src/command.hpp | 2 ++ src/object.cpp | 28 ++++++++++++++++++++++++---- src/object.hpp | 4 ++-- src/options.cpp | 2 +- src/options.hpp | 5 ++--- src/pgm_socket.cpp | 7 +++++-- src/session.cpp | 2 +- src/socket_base.cpp | 5 +++-- src/socket_base.hpp | 3 ++- 10 files changed, 46 insertions(+), 16 deletions(-) commit f5ce81f2893ec0707c2f4346740878e68b51e13a Author: Martin Sustrik Date: Sat Feb 13 14:07:30 2010 +0100 Multi-hop REQ/REP, part VIII., new blob_t type used for holding identity src/Makefile.am | 1 + src/blob.hpp | 33 +++++++++++++++++++++++++++++++++ src/i_engine.hpp | 5 +++-- src/object.cpp | 19 +++++++++---------- src/object.hpp | 7 ++++--- src/pgm_receiver.cpp | 3 +-- src/pgm_receiver.hpp | 2 +- src/pgm_sender.cpp | 3 +-- src/pgm_sender.hpp | 2 +- src/session.cpp | 32 +++++++++++--------------------- src/session.hpp | 13 +++++-------- src/socket_base.cpp | 24 ++++++++++-------------- src/socket_base.hpp | 14 ++++++-------- src/zmq_decoder.cpp | 34 +++++++++++++--------------------- src/zmq_decoder.hpp | 6 +++--- src/zmq_engine.cpp | 5 ++--- src/zmq_engine.hpp | 2 +- src/zmq_init.cpp | 17 ++++++----------- src/zmq_init.hpp | 5 ++--- 19 files changed, 113 insertions(+), 114 deletions(-) commit cdc2efe9b5f0d1f45065b1c32e5eabd7e9f78a12 Author: Martin Sustrik Date: Sat Feb 13 13:07:33 2010 +0100 Multi-hop REQ/REP, part VII., identity-related algorithms rewritten src/session.cpp | 114 +++++++++++++++++++++++++++++++-------------------- src/session.hpp | 10 +---- src/socket_base.cpp | 25 ++++++----- src/socket_base.hpp | 9 +++- src/zmq_init.cpp | 4 +- 5 files changed, 93 insertions(+), 69 deletions(-) commit 923eacd28a725a6b32de588fe7a54dbe252d84aa Author: Martin Sustrik Date: Sat Feb 13 09:09:40 2010 +0100 Multi-hop REQ/REP, part VI., session 'name' renamed to 'peer_identity' src/session.cpp | 16 ++++++++-------- src/session.hpp | 14 +++++++++----- src/zmq_init.cpp | 7 ++++--- 3 files changed, 21 insertions(+), 16 deletions(-) commit 2e78e48503375a415d95ee8df80df9c065172abc Author: Martin Sustrik Date: Fri Feb 12 20:49:00 2010 +0100 Multi-hop REQ/REP, part V., peer identity is passed from init object to session src/command.cpp | 10 ++++++++++ src/command.hpp | 2 ++ src/object.cpp | 22 ++++++++++++++++++++-- src/object.hpp | 6 ++++-- src/session.cpp | 3 ++- src/session.hpp | 3 ++- src/zmq_init.cpp | 3 ++- 7 files changed, 42 insertions(+), 7 deletions(-) commit d8430f4b9a43bf8c99854298edc9f1bc35c0e8ec Author: Martin Sustrik Date: Fri Feb 12 20:03:02 2010 +0100 Multi-hop REQ/REP, part IV., add command deallocation mechanism src/Makefile.am | 1 + src/command.cpp | 24 ++++++++++++++++++++++++ src/command.hpp | 3 +++ src/dispatcher.cpp | 4 ++++ src/object.cpp | 18 +++++++++++------- 5 files changed, 43 insertions(+), 7 deletions(-) commit 313b5dfadd8753b341197cc109bce40e08856cf6 Author: Martin Sustrik Date: Fri Feb 12 19:42:35 2010 +0100 Multi-hop REQ/REP, part III., change 'type' in options to simple 'traceroute' flag src/downstream.cpp | 1 - src/options.cpp | 4 ++-- src/options.hpp | 6 +++--- src/p2p.cpp | 1 - src/pub.cpp | 1 - src/rep.cpp | 1 - src/req.cpp | 1 - src/sub.cpp | 1 - src/upstream.cpp | 1 - src/xrep.cpp | 5 ++++- src/xreq.cpp | 1 - src/zmq_init.cpp | 2 +- 12 files changed, 10 insertions(+), 15 deletions(-) commit 96e0442332fcc680ddafdcaa8fcbdc6acd992c76 Merge: 36a5763 dc8f4b1 Author: Martin Sustrik Date: Fri Feb 12 15:58:22 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 36a576370ccfed3c104850b5b95a6ed3870edbea Author: Martin Sustrik Date: Fri Feb 12 15:57:54 2010 +0100 Multi-hop REQ/REP, part I., tracerouting switched on on XREP socket src/i_engine.hpp | 8 ++++++++ src/pgm_receiver.cpp | 9 ++++++++- src/pgm_receiver.hpp | 1 + src/pgm_sender.cpp | 9 ++++++++- src/pgm_sender.hpp | 1 + src/zmq_decoder.cpp | 27 +++++++++++++-------------- src/zmq_decoder.hpp | 6 +++++- src/zmq_encoder.cpp | 13 +++++++++---- src/zmq_encoder.hpp | 8 ++++++-- src/zmq_engine.cpp | 11 +++++++++-- src/zmq_engine.hpp | 1 + src/zmq_init.cpp | 6 ++++++ 12 files changed, 75 insertions(+), 25 deletions(-) commit dc8f4b1b761103784b422b7604bc8f36d429d3f4 Author: Martin Hurton Date: Fri Feb 12 15:08:57 2010 +0100 Fix memory leak in bind() src/socket_base.cpp | 4 +++- src/zmq_listener.hpp | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 7b4cf2a4d040057f6f378cac2cd125513a859c1b Author: Martin Sustrik Date: Fri Feb 12 13:33:50 2010 +0100 Multi-hop REQ/REP, part I., socket type is known to all associated objects src/downstream.cpp | 1 + src/options.cpp | 1 + src/options.hpp | 3 +++ src/p2p.cpp | 1 + src/pub.cpp | 1 + src/rep.cpp | 1 + src/req.cpp | 1 + src/sub.cpp | 1 + src/upstream.cpp | 1 + src/xrep.cpp | 1 + src/xreq.cpp | 1 + 11 files changed, 13 insertions(+), 0 deletions(-) commit cd7300fd4f25754f844b17a77685ec837ebecbbb Author: Martin Hurton Date: Fri Feb 12 12:12:49 2010 +0100 Resolve command starvation in recv() src/socket_base.cpp | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) commit 7f7ac843d58b3d8a77f681fa4c35bd21726b6f31 Author: Martin Lucina Date: Thu Feb 11 17:51:47 2010 +0100 Next 0MQ release will be 2.0.6 As decided on the mailing list, there have been five 2.x releases to date, so the upcoming release will be numbered 2.0.6. configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit de41c9da31246314bb2b0c55dfe3b2884d48df3b Merge: 30b967e 92d0147 Author: Martin Lucina Date: Thu Feb 11 17:51:08 2010 +0100 Merge branch 'master' of github.com:sustrik/zeromq2 commit 30b967e2a439ce76b1141d34fa3c8ee9f87a88a8 Author: Martin Lucina Date: Thu Feb 11 17:49:40 2010 +0100 Integrate version numbering into autoconf configure.in is now the master source for the package version number, this propagates to src/platform.hpp (for zmq_version) and doc/Makefile.am (for documentation generation) automagically. configure.in | 28 +++++++++++++++++++++++++++- doc/Makefile.am | 6 ++++-- doc/asciidoc.conf | 2 +- src/config.hpp | 5 ----- src/zmq.cpp | 6 +++--- 5 files changed, 35 insertions(+), 12 deletions(-) commit 92d0147b20f77cad5d20e257aec502f628e7889e Author: Martin Sustrik Date: Thu Feb 11 16:50:40 2010 +0100 python binding build with 2.4 version of python fixed bindings/python/pyzmq.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 432fbd796bb4905fb19ceee802009b17e88e9256 Author: Martin Sustrik Date: Thu Feb 11 10:43:59 2010 +0100 ZMQII-72: Add zmq_version function (documentation) doc/Makefile.am | 4 ++-- doc/zmq_version.txt | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) commit bd9213e71222df66634d59581264ffe67210222c Author: Martin Sustrik Date: Thu Feb 11 10:29:33 2010 +0100 ZMQII-72: Add zmq_version function bindings/c/zmq.h | 6 ++++++ src/config.hpp | 4 ++++ src/zmq.cpp | 8 ++++++++ 3 files changed, 18 insertions(+), 0 deletions(-) commit 7cab423fc20e46f54fa561e51b566cc8a63ca5c1 Merge: bc9b7f1 354efc5 Author: Martin Hurton Date: Wed Feb 10 17:14:21 2010 +0100 Merge branch 'master' of github.com:sustrik/zeromq2 commit bc9b7f1f54b9dcf754021f1f7eb766d71cc97f29 Author: Martin Hurton Date: Wed Feb 10 12:48:04 2010 +0100 lb: bugfix - never skip active pipe when sending msg src/lb.cpp | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) commit 6b3c1798e7554dd1ce63b2ad137e327f3f32fcf1 Author: Martin Hurton Date: Wed Feb 10 12:47:34 2010 +0100 fq: bugfix - don't read msg from inactive pipe src/fq.cpp | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 354efc513fdb4096f8830e6c2e3e8f1311303e61 Author: Martin Lucina Date: Wed Feb 10 16:18:46 2010 +0100 Convert documentation to AsciiDoc .gitignore | 5 + Makefile.am | 8 +-- configure.in | 19 ++++- doc/Makefile.am | 41 ++++++++++ doc/asciidoc.conf | 34 ++++++++ doc/zmq.txt | 175 ++++++++++++++++++++++++++++++++++++++++++ doc/zmq_bind.txt | 67 ++++++++++++++++ doc/zmq_close.txt | 52 +++++++++++++ doc/zmq_connect.txt | 63 +++++++++++++++ doc/zmq_cpp.txt | 89 +++++++++++++++++++++ doc/zmq_flush.txt | 59 ++++++++++++++ doc/zmq_forwarder.txt | 32 ++++++++ doc/zmq_init.txt | 61 +++++++++++++++ doc/zmq_inproc.txt | 50 ++++++++++++ doc/zmq_ipc.txt | 44 +++++++++++ doc/zmq_java.txt | 27 +++++++ doc/zmq_msg_close.txt | 53 +++++++++++++ doc/zmq_msg_copy.txt | 60 ++++++++++++++ doc/zmq_msg_data.txt | 50 ++++++++++++ doc/zmq_msg_init.txt | 54 +++++++++++++ doc/zmq_msg_init_data.txt | 67 ++++++++++++++++ doc/zmq_msg_init_size.txt | 61 +++++++++++++++ doc/zmq_msg_move.txt | 55 +++++++++++++ doc/zmq_msg_size.txt | 53 +++++++++++++ doc/zmq_pgm.txt | 106 +++++++++++++++++++++++++ doc/zmq_poll.txt | 85 ++++++++++++++++++++ doc/zmq_python.txt | 27 +++++++ doc/zmq_queue.txt | 32 ++++++++ doc/zmq_recv.txt | 66 ++++++++++++++++ doc/zmq_send.txt | 77 ++++++++++++++++++ doc/zmq_setsockopt.txt | 155 +++++++++++++++++++++++++++++++++++++ doc/zmq_socket.txt | 126 ++++++++++++++++++++++++++++++ doc/zmq_streamer.txt | 32 ++++++++ doc/zmq_strerror.txt | 50 ++++++++++++ doc/zmq_tcp.txt | 93 ++++++++++++++++++++++ doc/zmq_term.txt | 49 ++++++++++++ doc/zmq_udp.txt | 56 +++++++++++++ man/Makefile.am | 22 ----- man/convert2html.sh | 55 ------------- man/convert2pdf.sh | 88 --------------------- man/man1/zmq_forwarder.1 | 11 --- man/man1/zmq_queue.1 | 11 --- man/man1/zmq_streamer.1 | 11 --- man/man3/zmq_bind.3 | 52 ------------- man/man3/zmq_close.3 | 30 ------- man/man3/zmq_connect.3 | 49 ------------ man/man3/zmq_flush.3 | 37 --------- man/man3/zmq_init.3 | 40 ---------- man/man3/zmq_msg_close.3 | 32 -------- man/man3/zmq_msg_copy.3 | 43 ---------- man/man3/zmq_msg_data.3 | 27 ------- man/man3/zmq_msg_init.3 | 33 -------- man/man3/zmq_msg_init_data.3 | 55 ------------- man/man3/zmq_msg_init_size.3 | 44 ----------- man/man3/zmq_msg_move.3 | 38 --------- man/man3/zmq_msg_size.3 | 30 ------- man/man3/zmq_poll.3 | 71 ----------------- man/man3/zmq_recv.3 | 52 ------------- man/man3/zmq_send.3 | 64 --------------- man/man3/zmq_setsockopt.3 | 137 --------------------------------- man/man3/zmq_socket.3 | 110 -------------------------- man/man3/zmq_strerror.3 | 27 ------- man/man3/zmq_term.3 | 25 ------ man/man7/zmq.7 | 151 ------------------------------------ man/man7/zmq_cl.7 | 124 ----------------------------- man/man7/zmq_cpp.7 | 103 ------------------------- man/man7/zmq_inproc.7 | 42 ---------- man/man7/zmq_ipc.7 | 34 -------- man/man7/zmq_java.7 | 9 -- man/man7/zmq_pgm.7 | 98 ----------------------- man/man7/zmq_python.7 | 9 -- man/man7/zmq_tcp.7 | 80 ------------------- man/man7/zmq_udp.7 | 45 ----------- 73 files changed, 2224 insertions(+), 1898 deletions(-) commit 2d44bf3644c8e12aa86c48e9da4df19bfa9ea703 Author: Martin Sustrik Date: Wed Feb 10 11:04:28 2010 +0100 ZMQII-69: Make 0MQ build on HP-UX src/fd_signaler.cpp | 4 ++-- src/tcp_connecter.cpp | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) commit 8c25bab31d63bf5e2c4eec6d9084cf7d1c1e5dd3 Author: Martin Sustrik Date: Wed Feb 10 10:42:54 2010 +0100 ZMQII-70: zmq_poll on win32 fails with EINVAL src/zmq.cpp | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) commit 8f86cac2f6721eec4b600383eb113f7fedf41ce1 Author: Martin Sustrik Date: Tue Feb 9 19:23:15 2010 +0100 ZMQII-69: Make 0MQ build on HP-UX src/fd_signaler.cpp | 78 +++++++++++++++++++++++++++++++++++++++++++++++++ src/ip.cpp | 4 +-- src/tcp_connecter.hpp | 9 +++++- 3 files changed, 87 insertions(+), 4 deletions(-) commit fd673ae231119682a242967551cfa034fa32791a Author: Martin Sustrik Date: Tue Feb 9 15:21:26 2010 +0100 couple of typos in the documentation fixed examples/chat/README | 2 +- man/man3/zmq_term.3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6b2ca4e158c3394f5aba8f0f01ff1734423683f9 Author: Martin Sustrik Date: Tue Feb 9 15:15:44 2010 +0100 ZMQII-67: Build checks for python even if it's not needed configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4c870ede7fdecaf1f952b01096e09cc03a7c7aef Author: Martin Sustrik Date: Tue Feb 9 09:08:37 2010 +0100 ZMQII-57: Shutdown OpenPGM library src/pgm_socket.cpp | 31 +------------------------------ src/zmq.cpp | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 47 insertions(+), 31 deletions(-) commit 396e41a2a4b31f91ef4c4458d53be9e3a9b4bb92 Author: Martin Sustrik Date: Mon Feb 8 18:55:51 2010 +0100 minor change to README README | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 01533a5aefb49e23be95cab9cfa5ca32cd438d25 Author: Martin Sustrik Date: Mon Feb 8 18:37:48 2010 +0100 ZMQII-65: Two OS threads are mapped to the same app_thread_t src/app_thread.cpp | 23 ++------------ src/app_thread.hpp | 19 ------------ src/dispatcher.cpp | 79 +++++++++++++++++++++++++++++++++------------------- src/dispatcher.hpp | 29 ++++++++++++++---- 4 files changed, 76 insertions(+), 74 deletions(-) commit 7593d815ac57f2877480c5056b2f1aa65460f5c3 Author: Martin Sustrik Date: Mon Feb 8 10:34:12 2010 +0100 ZMQII-64: First message stuck in 0MQ in case of immediate disconnection src/zmq_engine.cpp | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 427bc3276aa236c8691fee7e634717d0579a3055 Author: Martin Sustrik Date: Sun Feb 7 16:24:14 2010 +0100 minor code cleanup src/socket_base.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b0ee6b0c8ab8a5052a5e111dda24308dd00c0d62 Author: Martin Sustrik Date: Sun Feb 7 11:31:05 2010 +0100 ZMQII-62: zmq_close after sending message via P2P socket fails src/p2p.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit bbaa494fb569d94c356ddecca7dbf249ffc217cf Author: Martin Sustrik Date: Sun Feb 7 09:14:43 2010 +0100 ZMQII-59: TCP server crashes sometimes when message is send and socket is closed immediately src/dispatcher.cpp | 23 +++++++++++++++++++++++ src/dispatcher.hpp | 16 ++-------------- src/object.cpp | 12 +++++------- 3 files changed, 30 insertions(+), 21 deletions(-) commit d21bf21a362cf6d20d8d060bb91ee2fdca1dd88b Author: Martin Sustrik Date: Fri Feb 5 13:00:49 2010 +0100 allow async connect on Win32 return WSAECONNABORTED src/tcp_connecter.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 0888fcd06f1c66ec3dfab744bfc24d1486737c7e Author: Martin Sustrik Date: Thu Feb 4 23:58:41 2010 +0100 yqueue_t uses malloc/free instead of new/delete src/yqueue.hpp | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 30076c4f7a5b0c70ef0c5a6574cac531bc996f5e Author: Martin Sustrik Date: Thu Feb 4 17:46:47 2010 +0100 ZMQII-58: TCP connecting asserts on Win32 (same fix for POSIX) src/tcp_connecter.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c46b7ed1978ead346022577ff015b092f3257c84 Author: unknown Date: Thu Feb 4 17:40:04 2010 +0100 ZMQII-58: TCP connecting asserts on Win32 src/tcp_connecter.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b86483acbe109566f4e0fb43266fdd98e7648d55 Author: Martin Sustrik Date: Thu Feb 4 14:50:59 2010 +0100 ZMQII-50: Document Ruby Bindings man/Makefile.am | 2 +- man/convert2html.sh | 1 - man/convert2pdf.sh | 2 -- man/man7/zmq_ruby.7 | 9 --------- 4 files changed, 1 insertions(+), 13 deletions(-) commit bc90231227a84f4b7dffe432a8efa70b75c19031 Author: Martin Sustrik Date: Thu Feb 4 09:39:57 2010 +0100 contrain interface name resolving in OpenPGM to IPv4 interfaces src/pgm_socket.cpp | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 0f697fe2b460dfbec7481f6d535b95f6b4cc2eac Author: Martin Sustrik Date: Wed Feb 3 20:04:44 2010 +0100 ZMQII-56: Avoid allocation of chunk in yqueue.hpp by keeping a spare one AUTHORS | 1 + src/yqueue.hpp | 31 ++++++++++++++++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) commit 72bbc92b70a67fab1dbba6fbd53f574944bdd8e4 Merge: 6502c16 4172fdd Author: Martin Lucina Date: Wed Feb 3 15:54:39 2010 +0100 Merge branch 'master' of github.com:sustrik/zeromq2 commit 6502c16a7fd878e61f0672a47e2cdb4d56ab0eb2 Author: Martin Lucina Date: Wed Feb 3 15:52:11 2010 +0100 Update OpenPGM to 2.0.23rc8 configure.in | 10 +++++----- foreign/openpgm/libpgm-2.0.21rc6.tar.bz2 | Bin 323697 -> 0 bytes foreign/openpgm/libpgm-2.0.23rc8.tar.bz2 | Bin 0 -> 321822 bytes src/Makefile.am | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) commit 4172fdd6970d4b42443442bf6633f9a9bd4c6f2b Author: unknown Date: Wed Feb 3 14:55:46 2010 +0100 Win32 build fixed builds/msvc/libzmq/libzmq.vcproj | 8 ++++ builds/msvc/msvc.sln | 9 +++++ builds/msvc/ruby/ruby.vcproj | 68 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 0 deletions(-) commit 7c25feb51bdbc9563cc65ff4829f761ef7231483 Author: Martin Sustrik Date: Wed Feb 3 13:06:34 2010 +0100 ZMQII-55: At most one PGM/UDP transport can be opened src/pgm_socket.cpp | 40 +++++++++++++++++++++------------------- 1 files changed, 21 insertions(+), 19 deletions(-) commit 9cee8f9c3e22f1e880988271ab1c31c92827efde Author: Martin Sustrik Date: Tue Feb 2 15:11:25 2010 +0100 problem with PGM messages larger than 1 MTU fixed src/pgm_receiver.cpp | 104 ++++++++++++++++++++++++++------------------------ 1 files changed, 54 insertions(+), 50 deletions(-) commit 27e47bdcc0358b84a57378e19359556e2dbcb50e Author: Martin Sustrik Date: Tue Feb 2 13:29:31 2010 +0100 ZMQII-54: Affinity isn't honoured src/dispatcher.cpp | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) commit 5d16070ffcd426e81ea27520f6847d68e5e5af80 Author: Martin Sustrik Date: Tue Feb 2 08:46:35 2010 +0100 ZMQII-53: Memory leak when using invalid socket type src/dispatcher.cpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit a1e70f29575994798df1d57314193782f6d9cdcb Author: Martin Sustrik Date: Tue Feb 2 08:27:38 2010 +0100 ZMQII-52: Asserion during reconnection src/zmq_init.cpp | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 528610ff55ef283b99cbcda007200a6b4092be59 Author: Martin Sustrik Date: Tue Feb 2 08:14:23 2010 +0100 typo in zmq_socket(3) man page fixed man/man3/zmq_socket.3 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 00b9a5dedeb47efd78aea59b579a4b5befba743a Author: Martin Sustrik Date: Sun Jan 31 20:14:30 2010 +0100 ZMQII-51: Implement O(1) topic matching src/Makefile.am | 2 + src/prefix_tree.cpp | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/prefix_tree.hpp | 55 ++++++++++++++++ src/sub.cpp | 44 ++----------- src/sub.hpp | 13 +--- 5 files changed, 242 insertions(+), 47 deletions(-) commit 70ea8e9d4b88a1ecb1c076eccc2e9bd872c2230c Author: Martin Sustrik Date: Sat Jan 30 13:40:50 2010 +0100 ZMQII-48: Implement P2P socket type src/p2p.cpp | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ src/p2p.hpp | 5 +++++ 2 files changed, 49 insertions(+), 12 deletions(-) commit eb47c1b064ec2f433d3889b7fd4a297a965166bb Merge: 2784f90 4d5e643 Author: Martin Sustrik Date: Fri Jan 29 08:39:36 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 2784f90d595a253e071244d440f78e667f6a957c Author: Martin Sustrik Date: Fri Jan 29 08:39:19 2010 +0100 moving debian directory to the root of the project debian/README.Debian | 6 + debian/changelog | 6 + debian/cl-zeromq.files | 7 ++ debian/cl-zeromq.install | 6 + debian/cl-zeromq.links | 1 + debian/compat | 1 + debian/control | 161 ++++++++++++++++++++++++++++++ debian/copyright | 18 ++++ debian/dirs | 5 + debian/docs | 2 + debian/libzeromq-dev.files | 37 +++++++ debian/libzeromq-dev.install | 19 ++++ debian/libzeromq-python.files | 1 + debian/libzeromq-python.install | 1 + debian/libzeromq-ruby.files | 1 + debian/libzeromq-ruby.install | 1 + debian/libzeromq0.files | 2 + debian/libzeromq0.install | 1 + debian/rules | 136 +++++++++++++++++++++++++ debian/shlibs.local | 1 + debian/zeromq-examples.files | 2 + debian/zeromq-examples.install | 2 + debian/zeromq-perf.files | 10 ++ debian/zeromq-perf.install | 10 ++ debian/zeromq-utils.files | 6 + debian/zeromq-utils.install | 6 + packages/debian/README.Debian | 6 - packages/debian/changelog | 6 - packages/debian/cl-zeromq.files | 7 -- packages/debian/cl-zeromq.install | 6 - packages/debian/cl-zeromq.links | 1 - packages/debian/compat | 1 - packages/debian/control | 161 ------------------------------ packages/debian/copyright | 18 ---- packages/debian/dirs | 5 - packages/debian/docs | 2 - packages/debian/libzeromq-dev.files | 37 ------- packages/debian/libzeromq-dev.install | 19 ---- packages/debian/libzeromq-python.files | 1 - packages/debian/libzeromq-python.install | 1 - packages/debian/libzeromq-ruby.files | 1 - packages/debian/libzeromq-ruby.install | 1 - packages/debian/libzeromq0.files | 2 - packages/debian/libzeromq0.install | 1 - packages/debian/rules | 136 ------------------------- packages/debian/shlibs.local | 1 - packages/debian/zeromq-examples.files | 2 - packages/debian/zeromq-examples.install | 2 - packages/debian/zeromq-perf.files | 10 -- packages/debian/zeromq-perf.install | 10 -- packages/debian/zeromq-utils.files | 6 - packages/debian/zeromq-utils.install | 6 - 52 files changed, 449 insertions(+), 449 deletions(-) commit 4d5e643299e22b53120173319490957b98c0199e Author: malosek Date: Thu Jan 28 19:19:25 2010 +0100 patching libtool script moved at the end of configure configure.in | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) commit 849095a042b8326f5789baa04d1dbb7ca36d4632 Merge: f17f0fa e5ff617 Author: Martin Sustrik Date: Thu Jan 28 12:45:37 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit f17f0fa67bc5a373f3fc7964aaad4f08aa1dc761 Author: Martin Sustrik Date: Thu Jan 28 12:45:12 2010 +0100 CL binding ripped out of the tree .gitignore | 3 + bindings/Makefile.am | 8 +- bindings/cl/Makefile.am | 9 -- bindings/cl/meta.lisp | 59 ---------- bindings/cl/package.lisp | 108 ------------------- bindings/cl/zeromq-api.lisp | 180 ------------------------------- bindings/cl/zeromq.asd | 38 ------- bindings/cl/zeromq.lisp | 250 ------------------------------------------- configure.in | 21 ---- perf/Makefile.am | 2 +- perf/cl/Makefile.am | 2 - perf/cl/lat-parms.lisp | 22 ---- perf/cl/local-lat-poll.lisp | 43 -------- perf/cl/local-lat.lisp | 52 --------- perf/cl/local-thr.lisp | 54 --------- perf/cl/remote-lat.lisp | 50 --------- perf/cl/remote-thr.lisp | 41 ------- perf/cl/thr-parms.lisp | 25 ----- 18 files changed, 6 insertions(+), 961 deletions(-) commit e5ff617c4e061d29c9a019efa2292fd09c87a71e Author: malosek Date: Wed Jan 27 20:58:40 2010 +0100 fixed OpenPGM compilation on mingw32 src/windows.hpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 8f57ff4634ae44cd998bc0b864a8987f241e2fce Author: malosek Date: Wed Jan 27 20:45:43 2010 +0100 fixed OpenPGM compilation on mingw32 perf/c/Makefile.am | 1 + src/Makefile.am | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) commit 2056c888d2567ab96c3539fd60bfb652e19df335 Author: malosek Date: Wed Jan 27 18:29:45 2010 +0100 changed version of the master branch back to dev configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0b97e7a4f23f7add763ac6e0fc945c9a342a7d32 Author: malosek Date: Wed Jan 27 11:30:22 2010 +0100 libpgm updated to 2.6.21rc6 configure.in | 12 ++++++------ foreign/openpgm/libpgm-2.0.20rc5.tar.bz2 | Bin 316958 -> 0 bytes foreign/openpgm/libpgm-2.0.21rc6.tar.bz2 | Bin 0 -> 323697 bytes perf/c/Makefile.am | 6 ++++++ src/Makefile.am | 13 +++++++++++-- src/pgm_socket.cpp | 25 +++++++++++++++++++------ 6 files changed, 42 insertions(+), 14 deletions(-) commit 943125bd12dbf181f4dfce7babddf1af7bcb7e18 Author: Martin Sustrik Date: Wed Jan 27 08:47:01 2010 +0100 Hard-wired constant on OpenVMS replaced by symbolic constant src/fd_signaler.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit aa27034db5d47f4630f464da53f63a0e62c34daa Author: unknown Date: Sun Jan 24 08:38:18 2010 +0100 IPv6 patch - part V. (win32) src/ip.cpp | 21 +++------------------ 1 files changed, 3 insertions(+), 18 deletions(-) commit adc5d7693d9279134c0494210b9d2b885e95d950 Author: Martin Sustrik Date: Sun Jan 24 08:19:02 2010 +0100 IPv6 patch - part IV. src/ip.cpp | 41 ++++++++++++++++++++++++++++++++++------- 1 files changed, 34 insertions(+), 7 deletions(-) commit fca9a2159a1fb963901d11dc6f734a622baa92d6 Merge: 079d327 454f43a Author: Martin Sustrik Date: Sat Jan 23 11:14:53 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 079d327670d9137d93f4dbe9eb6cfa6d4165b903 Author: Martin Sustrik Date: Sat Jan 23 11:14:30 2010 +0100 IPv6 patch - part III. src/ip.cpp | 42 ++++++++++++++++++++++++------------------ 1 files changed, 24 insertions(+), 18 deletions(-) commit 454f43a45b2d453b53984387e8a8a50cad568f41 Author: unknown Date: Sat Jan 23 09:08:31 2010 +0100 IP address resolving on Win32 fixed src/ip.cpp | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) commit df4548aa76617314cb1a47e6d408cc663640cd70 Merge: 2634934 d762e1a Author: Martin Sustrik Date: Sat Jan 23 08:20:01 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 2634934999408124837afceaf577b75ed58116d7 Author: Martin Sustrik Date: Sat Jan 23 08:19:30 2010 +0100 IPv6 patch part 2/2 src/ip.cpp | 26 +++++++++++++++++++------- src/ip.hpp | 11 +++++++---- src/tcp_connecter.cpp | 17 ++++++++++------- src/tcp_connecter.hpp | 1 + src/tcp_listener.cpp | 11 ++++++----- src/tcp_listener.hpp | 1 + 6 files changed, 44 insertions(+), 23 deletions(-) commit 6aaf095dd259dc42d78cc7bd8c5a7f867eb23166 Author: Martin Sustrik Date: Fri Jan 22 16:32:48 2010 +0100 IPv6 support -part II. src/ip.cpp | 158 +++++++++++++++++++++++------------------------------------- 1 files changed, 60 insertions(+), 98 deletions(-) commit d762e1a9c976680dde2d2f38dac9f5861bd82dad Author: unknown Date: Fri Jan 22 13:29:46 2010 +0100 Win32 build fixed bindings/cpp/zmq.hpp | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 34d65e22c557671c74d6c51026b2434912966319 Author: Martin Sustrik Date: Fri Jan 22 13:13:52 2010 +0100 Tero Marttila's Ipv6 patch - part I. src/fd_signaler.cpp | 1 - src/ip.cpp | 24 ++++++++++++++---------- src/ip.hpp | 6 +++--- src/tcp_connecter.cpp | 17 +++++++++-------- src/tcp_connecter.hpp | 2 +- src/tcp_listener.cpp | 16 ++++++++-------- 6 files changed, 35 insertions(+), 31 deletions(-) commit 6edec4fe93c60693a5faee7e4e8821eac4f43d4d Author: Martin Sustrik Date: Fri Jan 22 11:38:17 2010 +0100 zmq_udp(7) man page fixed man/man7/zmq_udp.7 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 70601c243fa7e91f5cceaa80190d7b413940020b Author: Martin Sustrik Date: Fri Jan 22 11:21:28 2010 +0100 zmq_pgm(7) man page fixed man/man7/zmq_pgm.7 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit d1e09578b275aca93c50cde078322a0348342c60 Author: unknown Date: Fri Jan 22 07:54:16 2010 +0100 Hardcoded loopback address removed from fd_signaler AUTHORS | 1 + src/fd_signaler.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) commit f4832faf29df6470bf59f1f1866c07fa4278a75b Author: Martin Sustrik Date: Thu Jan 21 16:30:42 2010 +0100 small fix to man pages to comply with lintian man/Makefile.am | 2 +- man/convert2html.sh | 1 + man/convert2pdf.sh | 2 ++ man/man7/zmq_cl.7 | 2 +- man/man7/zmq_cpp.7 | 2 +- man/man7/zmq_inproc.7 | 2 +- man/man7/zmq_ipc.7 | 2 +- man/man7/zmq_java.7 | 9 +++++++++ man/man7/zmq_pgm.7 | 2 +- man/man7/zmq_python.7 | 2 +- man/man7/zmq_ruby.7 | 2 +- man/man7/zmq_tcp.7 | 2 +- man/man7/zmq_udp.7 | 2 +- 13 files changed, 22 insertions(+), 10 deletions(-) commit b1b66df37c0b05ba05d9636234bad0cc02a1bd03 Author: Martin Sustrik Date: Thu Jan 21 12:07:42 2010 +0100 PGM man page improved man/man7/zmq_pgm.7 | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 66ef22993f22a0d47703c1203f57d95c4316bc70 Author: Martin Sustrik Date: Thu Jan 21 10:38:40 2010 +0100 zmq_close man page improved man/man3/zmq_close.3 | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit a008af6088ef1ad3baf1b9e6ae699cc07367efa3 Author: Martin Sustrik Date: Thu Jan 21 10:01:05 2010 +0100 Asko Kauppi added to the list of authors AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit f0757c003eb232247a460631276b40e4fc02f3c9 Author: Martin Sustrik Date: Thu Jan 21 09:58:49 2010 +0100 ZMQII-43: Race condition when writing to pipe src/session.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6a46ca75e5970733cfe135ecf77074b69fdda34f Author: Martin Sustrik Date: Wed Jan 20 09:22:41 2010 +0100 ZMQ-42: Building with ICC fails src/tcp_connecter.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 111f0ff078372e8a0f5c0b98170d451d6561e85e Author: Martin Sustrik Date: Wed Jan 20 09:19:03 2010 +0100 ZMQII-41: Poll function in C++ binding doesn't convert errors to exceptions bindings/cpp/zmq.hpp | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 6b0457fcaad3fa9a2e632b3799119c40da8dd6ca Author: Martin Sustrik Date: Tue Jan 19 12:48:38 2010 +0100 minor documentation patch man/man3/zmq_setsockopt.3 | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 7094edd6baf0d69c3879da7f16c7222388952931 Author: Martin Sustrik Date: Mon Jan 18 15:57:33 2010 +0100 error handling in C perf tests improved perf/c/local_lat.c | 51 +++++++++++++++++++++++++++++++++--------- perf/c/local_thr.c | 61 ++++++++++++++++++++++++++++++++++++++++----------- perf/c/remote_lat.c | 51 +++++++++++++++++++++++++++++++++--------- perf/c/remote_thr.c | 41 ++++++++++++++++++++++++++------- 4 files changed, 160 insertions(+), 44 deletions(-) commit 4ceb83935062bb84fd5da702679a126d12aed8be Author: Martin Sustrik Date: Mon Jan 18 13:16:14 2010 +0100 typos in man pages fixed .gitignore | 13 +++++++++++++ man/man3/zmq_bind.3 | 2 +- man/man3/zmq_connect.3 | 2 +- man/man3/zmq_recv.3 | 2 +- man/man3/zmq_send.3 | 2 +- man/man3/zmq_socket.3 | 8 ++++---- man/man7/zmq.7 | 4 ++-- man/man7/zmq_cpp.7 | 2 +- man/man7/zmq_inproc.7 | 2 +- man/man7/zmq_ipc.7 | 8 ++++---- man/man7/zmq_pgm.7 | 10 +++++----- man/man7/zmq_tcp.7 | 4 ++-- man/man7/zmq_udp.7 | 12 ++++++------ 13 files changed, 42 insertions(+), 29 deletions(-) commit bddff50271b7c4c15c34d7a0aa1c04f3e3e3c107 Author: Martin Sustrik Date: Mon Jan 18 11:01:41 2010 +0100 ZMQII-40: wrong return code from recolve_ip_interface src/ip.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 55944729ed5527692b1ead17af553aa32c316781 Author: Martin Sustrik Date: Mon Jan 18 10:53:46 2010 +0100 ChangeLog modified for 2.0-beta2 version ChangeLog | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit f40e3a6931fb6463c349ef765d99515edc569fd7 Author: Martin Sustrik Date: Sun Jan 17 17:49:34 2010 +0100 version number bumped configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 51e012c446b500fe3dfb46b6475ebf018ecfeaa0 Author: Martin Sustrik Date: Sat Jan 16 09:39:44 2010 +0100 Solaris build fixed AUTHORS | 1 + src/ip.cpp | 2 +- src/tcp_connecter.cpp | 6 ++++-- src/tcp_listener.cpp | 7 +++---- 4 files changed, 9 insertions(+), 7 deletions(-) commit a507d16e13fdd6b13e1e69d0d305750995513a1f Author: unknown Date: Fri Jan 15 14:21:20 2010 +0100 Win32 build fixed src/tcp_connecter.cpp | 2 ++ src/tcp_listener.cpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletions(-) commit 2bb57ac57ace37203c505ff17147210feca34d73 Author: Martin Sustrik Date: Fri Jan 15 14:11:39 2010 +0100 ZMQII-39: Implement IPC transport man/Makefile.am | 2 +- man/convert2html.sh | 1 + man/convert2pdf.sh | 2 + man/man7/zmq.7 | 3 + man/man7/zmq_inproc.7 | 3 +- man/man7/zmq_ipc.7 | 34 ++++++++++ man/man7/zmq_pgm.7 | 1 + man/man7/zmq_tcp.7 | 1 + man/man7/zmq_udp.7 | 1 + src/ip.cpp | 17 +++++ src/ip.hpp | 9 +++ src/socket_base.cpp | 23 ++++++- src/tcp_connecter.cpp | 117 +++++++++++++++++++++++----------- src/tcp_connecter.hpp | 4 +- src/tcp_listener.cpp | 166 ++++++++++++++++++++++++++++++++++-------------- src/tcp_listener.hpp | 10 +-- src/zmq_connecter.cpp | 10 ++- src/zmq_connecter.hpp | 7 +- src/zmq_engine.cpp | 9 ++- src/zmq_engine.hpp | 6 ++- src/zmq_init.cpp | 4 +- src/zmq_init.hpp | 3 +- src/zmq_listener.cpp | 6 +- src/zmq_listener.hpp | 4 +- 24 files changed, 323 insertions(+), 120 deletions(-) commit 56c369272c279224562d11b0a66590ac7826f4f3 Merge: b9b0124 b60342a Author: unknown Date: Thu Jan 14 15:50:54 2010 +0100 Merge branch 'master' of github.com:sustrik/zeromq2 commit b9b0124d553b30932d8b78fb774ae258fa0d0f4d Author: unknown Date: Thu Jan 14 15:50:12 2010 +0100 ZMQII-34: ensure that poll won't return POLLIN event when the message will be filtered out anyway (Win32) src/zmq.cpp | 54 +++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 37 insertions(+), 17 deletions(-) commit b60342ae1a95dbb303705f5b89a94b33805a3841 Author: Martin Sustrik Date: Thu Jan 14 14:11:34 2010 +0100 man pages are more specific on NIC name issue man/man3/zmq_bind.3 | 12 ++++++++---- man/man3/zmq_connect.3 | 12 ++++++++---- man/man7/zmq_pgm.7 | 5 +++++ man/man7/zmq_tcp.7 | 5 +++++ man/man7/zmq_udp.7 | 5 +++++ 5 files changed, 31 insertions(+), 8 deletions(-) commit 067ba3b9f77a253d4ce58e05ef1fa7702c32b2a3 Author: Martin Sustrik Date: Wed Jan 13 19:21:23 2010 +0100 ZMQII-34: ensure that poll won't return POLLIN event when the message will be filtered out anyway (POSIX) src/socket_base.cpp | 4 +-- src/sub.cpp | 92 +++++++++++++++++++++++++++++++++++++-------------- src/sub.hpp | 10 +++++ src/zmq.cpp | 50 ++++++++++++++++++---------- 4 files changed, 110 insertions(+), 46 deletions(-) commit 06105d164230800e8ea42ddd513e2f7fb27e6f2f Author: Martin Sustrik Date: Wed Jan 13 15:15:01 2010 +0100 transports man pages updated man/man7/zmq_inproc.7 | 34 +++++++++++++++++++++- man/man7/zmq_pgm.7 | 77 ++++++++++++++++++++++++++++++++++++++++++++++++- man/man7/zmq_tcp.7 | 5 +++ man/man7/zmq_udp.7 | 32 +++++++++++++++++++- 4 files changed, 145 insertions(+), 3 deletions(-) commit 30a107e06d48ebbc7a635ba4fb21a24e385cf4e4 Author: Martin Sustrik Date: Wed Jan 13 13:35:13 2010 +0100 timeout parameter for zmq_poll added in cl binding bindings/cl/zeromq-api.lisp | 12 +++++++----- bindings/cl/zeromq.lisp | 3 ++- 2 files changed, 9 insertions(+), 6 deletions(-) commit 20a8edcf5c2d9d5099d194e5a87c501d49c47328 Author: Martin Sustrik Date: Wed Jan 13 13:24:29 2010 +0100 ZMQII-38: Compiler complains about missing virtual constructors src/i_endpoint.hpp | 2 ++ src/i_inout.hpp | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit 76dbb4f3bb88f73bc40e3de72e258e321375cd2f Author: Martin Sustrik Date: Tue Jan 12 13:08:37 2010 +0100 zmq_tcp man page added man/man7/zmq_tcp.7 | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 61 insertions(+), 1 deletions(-) commit bcd278a5a5fa9c08af6786c6f3c1ec5fa974fadf Author: Martin Sustrik Date: Tue Jan 12 08:14:55 2010 +0100 ZMQII-37: SIGSEGV when polling on REQ socket src/req.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4c613b39faebe18af95cab07a7d5f687285c4655 Author: Martin Sustrik Date: Tue Jan 12 08:02:03 2010 +0100 script to convert man pages to html added man/convert2html.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) commit 72b2f07a707724b353e9733f60cb4bade9b43966 Author: Martin Sustrik Date: Mon Jan 11 07:47:19 2010 +0100 ZMQII-36: Chat example & forwarder broken because of changes subscribe semantics devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- examples/chat/display.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 65f450f22e311d9a9251d05f8fb902a8fa2afe54 Author: Martin Sustrik Date: Sun Jan 10 17:41:59 2010 +0100 minor man page fix man/man3/zmq_connect.3 | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit bd07baf0281ddb5f332bd03b06038fc0ac048285 Author: Martin Sustrik Date: Sat Jan 9 22:24:59 2010 +0100 ZMQII-33: zmq_poll may exceed timeout if signal interrupts the waiting src/zmq.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e806615dd18e625b0b7fb1074cc4da5fda18529b Author: Martin Sustrik Date: Fri Jan 8 15:44:51 2010 +0100 ZMQII-31: memory leak in zmq_poll (on timeout) AUTHORS | 1 + src/zmq.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) commit 9fc8827b8a8e9d842b85b7f7f9790fc0a2ef88f6 Merge: ddf5f75 e9a4ad3 Author: Martin Sustrik Date: Thu Jan 7 14:45:13 2010 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit ddf5f75549f01a0615ee3f49b6b5d53aefd8fbd2 Author: Martin Sustrik Date: Thu Jan 7 14:44:43 2010 +0100 zmq.cpp build probelm on non-linux platforms fixed man/man3/zmq_setsockopt.3 | 10 ++++------ src/zmq.cpp | 5 ++++- 2 files changed, 8 insertions(+), 7 deletions(-) commit e9a4ad38ce04ee21a7f81d5a36e3c58cf7138f5d Author: malosek Date: Wed Jan 6 20:10:27 2010 +0100 updated version to 2.0-beta1 in configure.in configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7546526e667b35c05c80515d651e950a771813e1 Author: Martin Sustrik Date: Wed Jan 6 19:42:15 2010 +0100 ChangeLog updated for 2.0-beta1 ChangeLog | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit e21b33e9cfe12725de23bf2ef44967f53bcb2a10 Author: malosek Date: Tue Jan 5 18:34:27 2010 +0100 forced WINVER to 0x0501 for mingv32 build src/windows.hpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit ef049efe2ec56bb0ff5395ba8cba6e1722922e43 Author: Martin Sustrik Date: Tue Jan 5 14:45:10 2010 +0100 perf tests modified to reflect change in subscription format perf/c/local_thr.c | 2 +- perf/cl/local-thr.lisp | 2 +- perf/cpp/local_thr.cpp | 2 +- perf/java/local_thr.java | 2 +- perf/python/local_thr.py | 2 +- perf/ruby/local_thr.rb | 2 +- src/zmq_engine.cpp | 8 +++++--- 7 files changed, 11 insertions(+), 9 deletions(-) commit 8d339e959694107df8f1666634a34f54ad76ae41 Author: malosek Date: Tue Jan 5 13:46:35 2010 +0100 Fixed newer autotools warningng about AC_CONFIG_MACRO_DIR Makefile.am | 2 ++ configure.in | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit 11fec367d1a13c3f0248f8542eb805b8d9571685 Author: malosek Date: Tue Jan 5 11:22:14 2010 +0100 added pending event fd handling by the pgm_sender src/pgm_sender.cpp | 9 ++++++++- src/pgm_sender.hpp | 1 + src/pgm_socket.cpp | 10 +++++++--- src/pgm_socket.hpp | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) commit 472ddf8de2c93f750831d52b5473cdbed1db51e8 Merge: d10c605 4f6baf4 Author: malosek Date: Tue Jan 5 11:05:03 2010 +0100 fixed failed merge with autogen.sh commit d10c605fa94a8fe8265785043aeef63983e07f3f Author: malosek Date: Tue Jan 5 10:51:54 2010 +0100 updated to libpgm-2.0.20rc5 configure.in | 10 +++++----- foreign/openpgm/libpgm-2.0.19rc4.tar.bz2 | Bin 317223 -> 0 bytes foreign/openpgm/libpgm-2.0.20rc5.tar.bz2 | Bin 0 -> 316958 bytes 3 files changed, 5 insertions(+), 5 deletions(-) commit 4f6baf4dde627656b63cc4e2acdb78a8577ba640 Author: Martin Sustrik Date: Tue Jan 5 08:29:35 2010 +0100 Copyrights transferred from FastMQ to iMatix autogen.sh | 7 +------ bindings/c/zmq.h | 2 +- bindings/cpp/zmq.hpp | 2 +- bindings/java/Context.cpp | 2 +- bindings/java/Socket.cpp | 2 +- bindings/java/org/zmq/Context.java | 2 +- bindings/java/org/zmq/Socket.java | 2 +- bindings/python/pyzmq.cpp | 2 +- bindings/ruby/extconf.rb | 2 +- bindings/ruby/rbzmq.cpp | 2 +- builds/msvc/platform.hpp | 2 +- devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- devices/zmq_queue/zmq_queue.cpp | 2 +- devices/zmq_streamer/zmq_streamer.cpp | 2 +- examples/chat/display.cpp | 2 +- examples/chat/prompt.cpp | 2 +- man/convert2pdf.sh | 2 +- man/man1/zmq_forwarder.1 | 2 +- man/man1/zmq_queue.1 | 2 +- man/man1/zmq_streamer.1 | 2 +- man/man3/zmq_bind.3 | 2 +- man/man3/zmq_close.3 | 2 +- man/man3/zmq_connect.3 | 2 +- man/man3/zmq_flush.3 | 2 +- man/man3/zmq_init.3 | 2 +- man/man3/zmq_msg_close.3 | 2 +- man/man3/zmq_msg_copy.3 | 2 +- man/man3/zmq_msg_data.3 | 2 +- man/man3/zmq_msg_init.3 | 2 +- man/man3/zmq_msg_init_data.3 | 2 +- man/man3/zmq_msg_init_size.3 | 2 +- man/man3/zmq_msg_move.3 | 2 +- man/man3/zmq_msg_size.3 | 2 +- man/man3/zmq_poll.3 | 2 +- man/man3/zmq_recv.3 | 2 +- man/man3/zmq_send.3 | 2 +- man/man3/zmq_setsockopt.3 | 2 +- man/man3/zmq_socket.3 | 2 +- man/man3/zmq_strerror.3 | 2 +- man/man3/zmq_term.3 | 2 +- man/man7/zmq.7 | 2 +- man/man7/zmq_cl.7 | 2 +- man/man7/zmq_cpp.7 | 2 +- man/man7/zmq_inproc.7 | 2 +- man/man7/zmq_pgm.7 | 2 +- man/man7/zmq_python.7 | 2 +- man/man7/zmq_ruby.7 | 2 +- man/man7/zmq_tcp.7 | 2 +- man/man7/zmq_udp.7 | 2 +- packages/debian/copyright | 2 +- perf/c/local_lat.c | 2 +- perf/c/local_thr.c | 2 +- perf/c/remote_lat.c | 2 +- perf/c/remote_thr.c | 2 +- perf/cpp/local_lat.cpp | 2 +- perf/cpp/local_thr.cpp | 2 +- perf/cpp/remote_lat.cpp | 2 +- perf/cpp/remote_thr.cpp | 2 +- perf/java/local_lat.java | 2 +- perf/java/local_thr.java | 2 +- perf/java/remote_lat.java | 2 +- perf/java/remote_thr.java | 2 +- perf/python/local_lat.py | 2 +- perf/python/local_thr.py | 2 +- perf/python/remote_lat.py | 2 +- perf/python/remote_thr.py | 2 +- perf/ruby/local_lat.rb | 2 +- perf/ruby/local_thr.rb | 2 +- perf/ruby/remote_lat.rb | 2 +- perf/ruby/remote_thr.rb | 2 +- src/app_thread.cpp | 2 +- src/app_thread.hpp | 2 +- src/atomic_bitmap.hpp | 2 +- src/atomic_counter.hpp | 2 +- src/atomic_ptr.hpp | 2 +- src/command.hpp | 2 +- src/config.hpp | 2 +- src/decoder.hpp | 2 +- src/devpoll.cpp | 2 +- src/devpoll.hpp | 2 +- src/dispatcher.cpp | 2 +- src/dispatcher.hpp | 2 +- src/downstream.cpp | 2 +- src/downstream.hpp | 2 +- src/encoder.hpp | 2 +- src/epoll.cpp | 2 +- src/epoll.hpp | 2 +- src/err.cpp | 2 +- src/err.hpp | 2 +- src/fd.hpp | 2 +- src/fd_signaler.cpp | 2 +- src/fd_signaler.hpp | 2 +- src/fq.cpp | 2 +- src/fq.hpp | 2 +- src/i_endpoint.hpp | 2 +- src/i_engine.hpp | 2 +- src/i_inout.hpp | 2 +- src/i_poll_events.hpp | 2 +- src/i_signaler.hpp | 2 +- src/io_object.cpp | 2 +- src/io_object.hpp | 2 +- src/io_thread.cpp | 2 +- src/io_thread.hpp | 2 +- src/ip.cpp | 2 +- src/ip.hpp | 2 +- src/kqueue.cpp | 2 +- src/kqueue.hpp | 2 +- src/lb.cpp | 2 +- src/lb.hpp | 2 +- src/likely.hpp | 2 +- src/msg_content.hpp | 2 +- src/mutex.hpp | 2 +- src/object.cpp | 2 +- src/object.hpp | 2 +- src/options.cpp | 2 +- src/options.hpp | 2 +- src/owned.cpp | 2 +- src/owned.hpp | 2 +- src/p2p.cpp | 2 +- src/p2p.hpp | 2 +- src/pgm_receiver.cpp | 2 +- src/pgm_receiver.hpp | 2 +- src/pgm_sender.cpp | 2 +- src/pgm_sender.hpp | 2 +- src/pgm_socket.cpp | 2 +- src/pgm_socket.hpp | 2 +- src/pipe.cpp | 2 +- src/pipe.hpp | 2 +- src/poll.cpp | 2 +- src/poll.hpp | 2 +- src/poller.hpp | 2 +- src/pub.cpp | 2 +- src/pub.hpp | 2 +- src/rep.cpp | 2 +- src/rep.hpp | 2 +- src/req.cpp | 2 +- src/req.hpp | 2 +- src/select.cpp | 2 +- src/select.hpp | 2 +- src/session.cpp | 2 +- src/session.hpp | 2 +- src/simple_semaphore.hpp | 2 +- src/socket_base.cpp | 2 +- src/socket_base.hpp | 2 +- src/stdint.hpp | 2 +- src/sub.cpp | 2 +- src/sub.hpp | 2 +- src/tcp_connecter.cpp | 2 +- src/tcp_connecter.hpp | 2 +- src/tcp_listener.cpp | 2 +- src/tcp_listener.hpp | 2 +- src/tcp_socket.cpp | 2 +- src/tcp_socket.hpp | 2 +- src/thread.cpp | 2 +- src/thread.hpp | 2 +- src/upstream.cpp | 2 +- src/upstream.hpp | 2 +- src/uuid.cpp | 2 +- src/uuid.hpp | 2 +- src/windows.hpp | 2 +- src/wire.hpp | 2 +- src/xrep.cpp | 2 +- src/xrep.hpp | 2 +- src/xreq.cpp | 2 +- src/xreq.hpp | 2 +- src/yarray.hpp | 2 +- src/yarray_item.hpp | 2 +- src/ypipe.hpp | 2 +- src/ypollset.cpp | 2 +- src/ypollset.hpp | 2 +- src/yqueue.hpp | 2 +- src/zmq.cpp | 2 +- src/zmq_connecter.cpp | 2 +- src/zmq_connecter.hpp | 2 +- src/zmq_decoder.cpp | 2 +- src/zmq_decoder.hpp | 2 +- src/zmq_encoder.cpp | 2 +- src/zmq_encoder.hpp | 2 +- src/zmq_engine.cpp | 2 +- src/zmq_engine.hpp | 2 +- src/zmq_init.cpp | 2 +- src/zmq_init.hpp | 2 +- src/zmq_listener.cpp | 2 +- src/zmq_listener.hpp | 2 +- 184 files changed, 184 insertions(+), 189 deletions(-) commit bf01727f4b5d2e12daa5e4289c556fb3b7ade3f3 Author: malosek Date: Mon Jan 4 16:04:40 2010 +0100 updated to libpgm 2.0.19rc4 configure.in | 10 +++++----- foreign/openpgm/libpgm-2.0.18rc3.tar.bz2 | Bin 315989 -> 0 bytes foreign/openpgm/libpgm-2.0.19rc4.tar.bz2 | Bin 0 -> 317223 bytes 3 files changed, 5 insertions(+), 5 deletions(-) commit 1528edb963b2c9d292758f7704eeda336d358db2 Author: malosek Date: Mon Jan 4 16:03:49 2010 +0100 fixed autogen.sh complaining about existing config dir autogen.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f2b235db165e459f7f265993477dae0dc987125a Author: Martin Sustrik Date: Mon Jan 4 15:46:20 2010 +0100 ZMQII-29: Add timeout to zmq_poll function bindings/c/zmq.h | 2 +- bindings/cpp/zmq.hpp | 4 ++-- man/man3/zmq_poll.3 | 10 ++++++++-- src/zmq.cpp | 23 ++++++++++++++++++----- 4 files changed, 29 insertions(+), 10 deletions(-) commit 7884f4541aa6f95b76e0b2429baaf11108c543a1 Author: Martin Sustrik Date: Mon Jan 4 15:13:04 2010 +0100 problem with new version of autoreconf fixed autogen.sh | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 1b90e5f6f50ecb512b22f73850f763a9a009c483 Author: malosek Date: Thu Dec 31 16:53:00 2009 +0100 added missing likely.hpp file into the dist src/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 9bda63cd6378682af3b685dbbe0c47cdc4455295 Author: malosek Date: Thu Dec 31 16:35:04 2009 +0100 fixed minor gcc warning in src/pgm_receiver.cpp src/pgm_receiver.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 819590c04cb24f1627b140883e4106bb8a6f62eb Author: malosek Date: Thu Dec 31 16:31:13 2009 +0100 libpgm updated to 2.0.18rc3 configure.in | 10 +++++----- foreign/openpgm/libpgm-2.0.17rc2.tar.bz2 | Bin 315051 -> 0 bytes foreign/openpgm/libpgm-2.0.18rc3.tar.bz2 | Bin 0 -> 315989 bytes 3 files changed, 5 insertions(+), 5 deletions(-) commit 9fadf0b218b66e8448a2356f124dc1bb10f1f81d Author: malosek Date: Thu Dec 31 16:18:45 2009 +0100 fixed minor gcc warning in src/pgm_socket.cpp src/pgm_socket.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d6da7903d0fc42356adbf4c43e04774a1b465632 Author: malosek Date: Thu Dec 31 15:47:44 2009 +0100 removed unused foreign/openpgm/create_custom_gsi_1.patch file Makefile.am | 1 - foreign/openpgm/create_custom_gsi_1.patch | 43 ----------------------------- 2 files changed, 0 insertions(+), 44 deletions(-) commit 7cb02fb3e7cbe614caefbb5d9ab34936fba2724f Author: malosek Date: Thu Dec 31 15:44:42 2009 +0100 fixed make dist for non pgm configuration configure.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 102077471c5863242b5e9a2e063e272edd5b48ea Author: Martin Sustrik Date: Tue Dec 29 16:50:28 2009 +0100 error in zmq_poll manpage fixed man/man3/zmq_poll.3 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e9cebc86ed8eeff2cc5dde49807a4851b43d1232 Author: unknown Date: Tue Dec 29 16:42:56 2009 +0100 EINPROGRESS definition added on Win32 platform bindings/c/zmq.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 23e5c3b342793ca871747b7d6681d445b34925bb Author: Martin Sustrik Date: Tue Dec 29 07:53:33 2009 +0100 polling on SUB socket fixed src/sub.cpp | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) commit 72161fb075025410312c6735d681c3de9a36a4e5 Author: Martin Sustrik Date: Mon Dec 28 21:29:31 2009 +0100 format of subscriptions changed (no * needed anymore) src/socket_base.cpp | 11 ++++-- src/sub.cpp | 90 +++++++++++++++++++++------------------------------ src/sub.hpp | 9 +---- src/zmq_engine.cpp | 7 +++- 4 files changed, 51 insertions(+), 66 deletions(-) commit c97967ed4b70de700db38cc2661bbe43262bc029 Author: unknown Date: Mon Dec 28 16:20:21 2009 +0100 MSVC build fixed builds/msvc/libzmq/libzmq.vcproj | 16 ++++------------ src/zmq_init.cpp | 1 + 2 files changed, 5 insertions(+), 12 deletions(-) commit 5852db451a76905336601c5ba3e4f33006f007fb Author: Martin Sustrik Date: Mon Dec 28 11:51:06 2009 +0100 PGM code cleanup src/pgm_receiver.cpp | 148 ++++++++++++++++------------------------- src/pgm_receiver.hpp | 13 ++-- src/pgm_sender.cpp | 94 ++++++++++----------------- src/pgm_sender.hpp | 16 +---- src/pgm_socket.cpp | 178 +++++++++++++++----------------------------------- src/pgm_socket.hpp | 37 ++--------- 6 files changed, 159 insertions(+), 327 deletions(-) commit aebff623f36efddc0de7a3192832b61802f8cec8 Author: Martin Sustrik Date: Wed Dec 23 19:37:56 2009 +0100 ZMQII-28: Bidirectional introduction on TCP connection establishment src/Makefile.am | 8 +- src/i_inout.hpp | 6 +- src/pgm_receiver.cpp | 3 +- src/pgm_receiver.hpp | 6 +- src/pgm_sender.cpp | 3 +- src/pgm_sender.hpp | 6 +- src/session.cpp | 54 +++++++++--- src/session.hpp | 24 ++++-- src/socket_base.cpp | 83 +++++++++++++------ src/socket_base.hpp | 27 ++++-- src/zmq_connecter.cpp | 15 ++-- src/zmq_connecter.hpp | 8 +- src/zmq_connecter_init.cpp | 132 ------------------------------ src/zmq_connecter_init.hpp | 79 ------------------ src/zmq_engine.cpp | 2 +- src/zmq_init.cpp | 195 ++++++++++++++++++++++++++++++++++++++++++++ src/zmq_init.hpp | 89 ++++++++++++++++++++ src/zmq_listener.cpp | 6 +- src/zmq_listener_init.cpp | 137 ------------------------------- src/zmq_listener_init.hpp | 79 ------------------ 20 files changed, 445 insertions(+), 517 deletions(-) commit b3bd4c15fe869de4f5c530ecc5942968677a85c3 Author: Martin Sustrik Date: Tue Dec 22 09:01:01 2009 +0100 OpenPGM error handling fixed src/pgm_socket.cpp | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) commit 7cf18a2aec8300099e3c3e236ac3cefa3be746d0 Author: Martin Sustrik Date: Mon Dec 21 20:45:52 2009 +0100 minor fixes src/app_thread.cpp | 4 ++-- src/object.hpp | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) commit 5a0674dfeccf0d80dc92e77a8630be280c71fb84 Author: Martin Sustrik Date: Mon Dec 21 18:50:24 2009 +0100 OpenPGM error handling improved bindings/python/pyzmq.cpp | 2 +- src/pgm_socket.cpp | 64 +++++++++++++++++++++++++++++++++++---------- src/pgm_socket.hpp | 12 ++++---- 3 files changed, 57 insertions(+), 21 deletions(-) commit 990a1e8686bdeb3472a27d00cb2436936a4d0d26 Author: Martin Sustrik Date: Fri Dec 18 16:01:58 2009 +0100 zmq_cl(7) man page added man/man7/zmq_cl.7 | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 118 insertions(+), 3 deletions(-) commit bad224251e97205abaf987e8e998bc14af32223c Author: Martin Sustrik Date: Fri Dec 18 15:46:21 2009 +0100 minor errors in zmq_cpp man page fixed man/man7/zmq_cpp.7 | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit d50c7daf9eafe36ca2df7210ff2e82487e85f842 Author: Martin Sustrik Date: Fri Dec 18 14:34:57 2009 +0100 hint parameter (zmq_free_fn) added to Lisp binding bindings/cl/zeromq.lisp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 1924cba88985a36cb1422efd2fb287292b41eb44 Author: Martin Sustrik Date: Fri Dec 18 14:33:22 2009 +0100 memory management in Lisp binding fixed bindings/cl/zeromq-api.lisp | 59 +++++++++++++++++++++++++++++------------- 1 files changed, 41 insertions(+), 18 deletions(-) commit 86d68cbcbd24e6dfe6dd1ed230c7806408b70668 Author: Martin Sustrik Date: Fri Dec 18 14:19:28 2009 +0100 memory leaks related to OpenPGM errors fixed src/pgm_socket.cpp | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) commit 500d32a540d762d30a59e952a4f2216d73e4654c Author: Martin Sustrik Date: Wed Dec 16 17:19:20 2009 +0100 examples & perf added to the Debian package packages/debian/control | 50 +++++++++++++++++++++++++++---- packages/debian/dirs | 3 ++ packages/debian/rules | 7 ++-- packages/debian/zeromq-examples.files | 2 + packages/debian/zeromq-examples.install | 2 + packages/debian/zeromq-perf.files | 10 ++++++ packages/debian/zeromq-perf.install | 10 ++++++ 7 files changed, 75 insertions(+), 9 deletions(-) commit 667d1a8280e2dedd7f3ccdbd39605263ba8e98d7 Author: Martin Sustrik Date: Wed Dec 16 15:20:14 2009 +0100 man page updated to match change in zmq_free_fn man/man3/zmq_msg_init_data.3 | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) commit ab5abf6c7ec7668c4a8373d87c491d22d0db144d Author: Martin Sustrik Date: Wed Dec 16 15:08:37 2009 +0100 hint parameter added to zmq_free function bindings/c/zmq.h | 4 ++-- bindings/cpp/zmq.hpp | 10 ++++++---- src/msg_content.hpp | 1 + src/zmq.cpp | 6 ++++-- 4 files changed, 13 insertions(+), 8 deletions(-) commit 02202ec30ecca9e538cc807ce86b54d822c823bd Author: Martin Sustrik Date: Wed Dec 16 14:54:11 2009 +0100 addition to CREDITS section of AUTHORS file AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 5e77a1daa46f1b757b08f65895778f803575469c Author: Martin Sustrik Date: Wed Dec 16 14:43:50 2009 +0100 debian package added packages/debian/README.Debian | 6 ++ packages/debian/changelog | 6 ++ packages/debian/cl-zeromq.files | 7 ++ packages/debian/cl-zeromq.install | 6 ++ packages/debian/cl-zeromq.links | 1 + packages/debian/compat | 1 + packages/debian/control | 123 +++++++++++++++++++++++++++ packages/debian/copyright | 18 ++++ packages/debian/dirs | 2 + packages/debian/docs | 2 + packages/debian/libzeromq-dev.files | 37 ++++++++ packages/debian/libzeromq-dev.install | 19 ++++ packages/debian/libzeromq-python.files | 1 + packages/debian/libzeromq-python.install | 1 + packages/debian/libzeromq-ruby.files | 1 + packages/debian/libzeromq-ruby.install | 1 + packages/debian/libzeromq0.files | 2 + packages/debian/libzeromq0.install | 1 + packages/debian/rules | 135 ++++++++++++++++++++++++++++++ packages/debian/shlibs.local | 1 + packages/debian/zeromq-utils.files | 6 ++ packages/debian/zeromq-utils.install | 6 ++ 22 files changed, 383 insertions(+), 0 deletions(-) commit 7479871cde46371c593f35c0ace3d9e984fddb1a Merge: 8aa0908 3e64083 Author: Martin Sustrik Date: Tue Dec 15 23:50:32 2009 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 8aa0908635f255e2d533539d5330b92b62dc88ba Author: Martin Sustrik Date: Tue Dec 15 23:49:55 2009 +0100 all news converted to nothrow variant src/app_thread.cpp | 23 ++++++++++++----------- src/dispatcher.cpp | 12 ++++++++---- src/epoll.cpp | 3 ++- src/io_thread.cpp | 4 +++- src/kqueue.cpp | 3 ++- src/pgm_receiver.cpp | 4 +++- src/pgm_socket.cpp | 2 ++ src/session.cpp | 8 ++++++-- src/socket_base.cpp | 33 +++++++++++++++++++++------------ src/tcp_listener.cpp | 1 - src/yqueue.hpp | 5 +++-- src/zmq.cpp | 4 ++-- src/zmq_connecter.cpp | 6 ++++-- src/zmq_connecter_init.cpp | 5 ++++- src/zmq_engine.cpp | 4 +++- src/zmq_listener.cpp | 6 ++++-- src/zmq_listener_init.cpp | 9 ++++++--- 17 files changed, 85 insertions(+), 47 deletions(-) commit 3e640836674872961f48efb4dc7badb20d736407 Author: unknown Date: Tue Dec 15 18:00:00 2009 +0100 win32 build fixed builds/msvc/libzmq/libzmq.vcproj | 16 ++++++++++++++++ src/zmq_listener_init.cpp | 1 + 2 files changed, 17 insertions(+), 0 deletions(-) commit 2cef05d86976784f4bc1083cb0fa548e267ac132 Author: Martin Sustrik Date: Tue Dec 15 17:49:40 2009 +0100 reconnection mechanism added to tcp transport src/i_inout.hpp | 15 +++++++++++++-- src/io_object.hpp | 1 + src/io_thread.hpp | 1 + src/object.hpp | 5 +++-- src/session.cpp | 23 +++++++++++++++++++++-- src/session.hpp | 5 ++++- src/zmq_connecter.cpp | 10 +++++++--- src/zmq_connecter.hpp | 5 ++++- src/zmq_connecter_init.cpp | 36 +++++++++++++++++++++--------------- src/zmq_connecter_init.hpp | 11 +++++++---- src/zmq_engine.cpp | 23 ++++++++++++++++++++--- src/zmq_engine.hpp | 5 ++++- src/zmq_listener_init.cpp | 22 ++++++++++++++++++++-- src/zmq_listener_init.hpp | 5 ++++- 14 files changed, 130 insertions(+), 37 deletions(-) commit 14b112301e62af5115ab870d97ae448c2e3deddb Author: Martin Sustrik Date: Tue Dec 15 13:58:21 2009 +0100 handle error during connecting by eventual reconnection src/zmq_connecter.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit e49115224a7957b0e5d49326bc02ae6af186eaf9 Author: Martin Sustrik Date: Tue Dec 15 09:09:19 2009 +0100 zmq_encoder/decoder are able to add/trim prefixes from messages; fair queueing and load balancing algorithms factorised into separate classes src/Makefile.am | 4 ++ src/downstream.cpp | 34 ++------------- src/downstream.hpp | 10 +--- src/fq.cpp | 106 +++++++++++++++++++++++++++++++++++++++++++++++ src/fq.hpp | 64 +++++++++++++++++++++++++++++ src/lb.cpp | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/lb.hpp | 63 ++++++++++++++++++++++++++++ src/pgm_receiver.cpp | 2 +- src/pgm_sender.cpp | 2 +- src/sub.cpp | 50 ++++------------------- src/sub.hpp | 21 ++------- src/upstream.cpp | 58 +++----------------------- src/upstream.hpp | 14 +----- src/xrep.cpp | 17 ++++---- src/xrep.hpp | 5 ++- src/xreq.cpp | 28 ++++++------ src/xreq.hpp | 8 +++- src/zmq_decoder.cpp | 40 +++++++++++++++--- src/zmq_decoder.hpp | 7 +++- src/zmq_encoder.cpp | 21 ++++++++-- src/zmq_encoder.hpp | 4 +- src/zmq_engine.cpp | 4 +- 22 files changed, 476 insertions(+), 197 deletions(-) commit bd792faa9d6c78c375dbc52c6d773e157335da36 Author: Martin Sustrik Date: Mon Dec 14 11:46:30 2009 +0100 ZMQ_SNDBUF and ZMQ_RCVBUF honoured in PGM transport src/pgm_socket.cpp | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) commit 68488215da8e03a74ca4da6b822e4cfa3b71d73a Author: Martin Sustrik Date: Sun Dec 13 18:32:22 2009 +0100 Man pages for XREQ/XREP/zmq_queue updated man/Makefile.am | 2 +- man/convert2pdf.sh | 2 ++ man/man1/zmq_queue.1 | 11 +++++++++++ man/man3/zmq_socket.3 | 37 +++++++++++++++++++++++++++++++++++-- 4 files changed, 49 insertions(+), 3 deletions(-) commit 0637e06387ac0676e9595246eb60a6809664b01a Author: unknown Date: Sun Dec 13 14:59:25 2009 +0100 zmq_streamer & zmq_queue are built under MSVC builds/msvc/libzmq/libzmq.vcproj | 20 +++- builds/msvc/msvc.sln | 18 +++ builds/msvc/zmq_queue/zmq_queue.vcproj | 174 ++++++++++++++++++++++++++ builds/msvc/zmq_streamer/zmq_streamer.vcproj | 174 ++++++++++++++++++++++++++ src/xrep.cpp | 5 + src/xreq.cpp | 5 + 6 files changed, 394 insertions(+), 2 deletions(-) commit fa6bf24d8030b0e54fd25b167064482e4cf08a36 Author: Martin Sustrik Date: Sun Dec 13 14:45:23 2009 +0100 XREP & XREQ socket types added; zmq_queue device added bindings/c/zmq.h | 6 +- bindings/cl/zeromq.lisp | 6 +- bindings/java/org/zmq/Socket.java | 6 +- bindings/python/pyzmq.cpp | 6 ++ bindings/ruby/rbzmq.cpp | 2 + configure.in | 15 +++- devices/Makefile.am | 8 ++- devices/zmq_forwarder/Makefile.am | 2 +- devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- devices/zmq_queue/Makefile.am | 9 ++ devices/zmq_queue/zmq_queue.cpp | 122 +++++++++++++++++++++++++++++++ devices/zmq_streamer/Makefile.am | 2 +- devices/zmq_streamer/zmq_streamer.cpp | 2 +- src/Makefile.am | 4 + src/app_thread.cpp | 8 ++ src/pgm_sender.cpp | 4 - src/xrep.cpp | 95 ++++++++++++++++++++++++ src/xrep.hpp | 57 ++++++++++++++ src/xreq.cpp | 95 ++++++++++++++++++++++++ src/xreq.hpp | 57 ++++++++++++++ 20 files changed, 490 insertions(+), 18 deletions(-) commit c43aded531014895973c283fdd82bb2e5e85c789 Author: Martin Sustrik Date: Sun Dec 13 11:27:43 2009 +0100 debug code removed from PGM engines src/pgm_receiver.cpp | 21 ----------- src/pgm_receiver.hpp | 10 +++-- src/pgm_sender.cpp | 33 +----------------- src/pgm_socket.cpp | 92 ++++--------------------------------------------- src/pgm_socket.hpp | 24 ++++--------- 5 files changed, 24 insertions(+), 156 deletions(-) commit f4ac8d7a443bd1afb35634d1cccb79943cc316e0 Author: Martin Sustrik Date: Sun Dec 13 09:56:02 2009 +0100 OpenPGM v1 support removed Makefile.am | 4 +- configure.in | 134 ++------------------ foreign/openpgm/libpgm-1.2.14.tar.bz2 | Bin 280029 -> 0 bytes foreign/openpgm/lost_data_tsi.patch | 76 ----------- src/Makefile.am | 59 --------- src/pgm_receiver.cpp | 10 -- src/pgm_sender.cpp | 18 --- src/pgm_sender.hpp | 2 - src/pgm_socket.cpp | 226 +-------------------------------- src/pgm_socket.hpp | 16 --- 10 files changed, 18 insertions(+), 527 deletions(-) commit 73b765e4b497f6a505cbf88c524085fa0e58e59c Author: Martin Sustrik Date: Sun Dec 13 09:11:08 2009 +0100 PGM transport fixed src/encoder.hpp | 26 ++++--- src/pgm_receiver.cpp | 5 +- src/pgm_sender.cpp | 6 +- src/pgm_socket.cpp | 193 ++++++++++++++++++++------------------------------ src/pgm_socket.hpp | 5 +- src/zmq_engine.cpp | 4 +- 6 files changed, 105 insertions(+), 134 deletions(-) commit d5670f34baa0751a5b4567a28caea4e4fa208727 Author: Martin Sustrik Date: Fri Dec 11 22:29:04 2009 +0100 ZMQII-26: Use zero-copy for large messages (rx side) src/decoder.hpp | 87 ++++++++++++++++++++++++++++++++++-------- src/encoder.hpp | 107 ++++++++++++++++++++++++++++++--------------------- src/zmq_decoder.cpp | 3 +- src/zmq_decoder.hpp | 2 +- src/zmq_encoder.cpp | 3 +- src/zmq_encoder.hpp | 2 +- src/zmq_engine.cpp | 72 ++++++++++++++-------------------- src/zmq_engine.hpp | 13 ++---- 8 files changed, 174 insertions(+), 115 deletions(-) commit 770178724f9493e99c832863031aef016f143e9f Author: Martin Sustrik Date: Thu Dec 10 21:34:40 2009 +0100 errors are never predicted in branch prediction (likely/unlikely macros added) src/atomic_counter.hpp | 1 - src/err.hpp | 91 +++++++++++++++++++++++++++++------------------- src/likely.hpp | 32 +++++++++++++++++ 3 files changed, 87 insertions(+), 37 deletions(-) commit d4fdc26efc6b21103e446f712a484af910a57f2f Author: unknown Date: Thu Dec 10 16:46:22 2009 +0100 zmq_poll implemented on Win32 platform bindings/c/zmq.h | 7 +++ src/zmq.cpp | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 125 insertions(+), 7 deletions(-) commit 986ab66b8f260614b2bd18f870ad98402c0f247a Author: unknown Date: Thu Dec 10 10:39:24 2009 +0100 ZMQII-27: Allow setting SNDBUF and RCVBUF size from 0MQ API (Win32) src/tcp_socket.cpp | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) commit 8d58643655b653c520fcdcc2a89b5067788f32fc Author: unknown Date: Thu Dec 10 10:33:07 2009 +0100 MSVC build for chat example added builds/msvc/display/display.vcproj | 176 ++++++++++++++++++++++++++++++++++++ builds/msvc/msvc.sln | 18 ++++ builds/msvc/prompt/prompt.vcproj | 176 ++++++++++++++++++++++++++++++++++++ examples/chat/prompt.cpp | 5 + 4 files changed, 375 insertions(+), 0 deletions(-) commit 2e39f892c353851fe90261db0a0875abab50539f Author: Martin Sustrik Date: Thu Dec 10 09:47:24 2009 +0100 ZMQII-27: Allow setting SNDBUF and RCVBUF size from 0MQ API (POSIX) bindings/c/zmq.h | 2 ++ bindings/cl/zeromq.lisp | 2 ++ bindings/java/org/zmq/Socket.java | 2 ++ bindings/python/pyzmq.cpp | 6 ++++++ bindings/ruby/rbzmq.cpp | 2 ++ man/man3/zmq_setsockopt.3 | 24 ++++++++++++++++++++++++ src/options.cpp | 18 ++++++++++++++++++ src/options.hpp | 3 +++ src/tcp_socket.cpp | 17 +++++++++++++++-- src/tcp_socket.hpp | 3 ++- src/zmq_connecter_init.cpp | 2 +- src/zmq_engine.cpp | 8 +++++--- src/zmq_engine.hpp | 5 ++++- src/zmq_listener_init.cpp | 2 +- 14 files changed, 87 insertions(+), 9 deletions(-) commit 72dacc35702a14ab0bb5a2650dffbb3bbda63175 Author: Martin Sustrik Date: Thu Dec 10 08:25:21 2009 +0100 zero-copy on tx side optimised to minimise number of user/kernel space transitions src/encoder.hpp | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit 1c1dfb50f88002ce7a024f2d8980b968d3aee1ae Author: Martin Sustrik Date: Wed Dec 9 14:12:25 2009 +0100 zmq_cpp(7) man page filled in man/man7/zmq_cpp.7 | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 95 insertions(+), 2 deletions(-) commit cab5a4a1596e5019c7fd306ad49aac67209b467c Author: Martin Sustrik Date: Wed Dec 9 09:19:16 2009 +0100 minor documentation updates examples/chat/README | 4 ++-- src/encoder.hpp | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) commit c98e29fb6e017a667452cd0a50536da691600353 Author: Martin Sustrik Date: Tue Dec 8 21:48:39 2009 +0100 README added to chat example examples/chat/README | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) commit 902d4f2282f4ed59f942be6fa1013b20dd964536 Author: Martin Sustrik Date: Tue Dec 8 16:13:51 2009 +0100 minor fix of zero-copy on tx side src/encoder.hpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 9be877c68503c35f9f72c8b92bd11454e4fcad97 Author: Martin Sustrik Date: Tue Dec 8 15:41:50 2009 +0100 ZMQII-26: Use zero-copy for large messages src/encoder.hpp | 28 +++++++++++++++++++++++----- src/zmq_engine.cpp | 21 +++++++++++++-------- src/zmq_engine.hpp | 12 ++++++++---- 3 files changed, 44 insertions(+), 17 deletions(-) commit bfef2fcd0ba590169ad46ea45da9d36dca1b5b97 Author: Martin Sustrik Date: Mon Dec 7 21:52:10 2009 +0100 autotools build system builds chat example now Makefile.am | 4 ++-- configure.in | 25 ++++++++++++++++++------- examples/Makefile.am | 7 +++++++ examples/chat/Makefile.am | 11 +++++++++++ 4 files changed, 38 insertions(+), 9 deletions(-) commit a08a72dd082e5e62f0d043c71ea7d9b6fb80b57e Author: Martin Sustrik Date: Mon Dec 7 21:06:54 2009 +0100 chat example added examples/chat/display.cpp | 50 ++++++++++++++++++++++++++++++++++++ examples/chat/prompt.cpp | 62 +++++++++++++++++++++++++++++++++++++++++++++ src/fd_signaler.cpp | 2 +- 3 files changed, 113 insertions(+), 1 deletions(-) commit 82012667cca5249ba7aa16ac5880b86ac54f3e98 Author: Martin Sustrik Date: Mon Dec 7 17:28:43 2009 +0100 Deadlock on zmq_close src/fd_signaler.cpp | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 9f495942736bfc1c1ef5f0b23d5a1bdab56d3757 Author: Martin Sustrik Date: Sat Dec 5 11:20:57 2009 +0100 C & C++ header files clean-up bindings/c/zmq.h | 257 ++++---------------------------------------------- bindings/cpp/zmq.hpp | 62 ++++++------- src/ypipe.hpp | 12 +-- 3 files changed, 53 insertions(+), 278 deletions(-) commit 356ce8fe917c1b3b645555bcd2ff0ff989c6829a Author: Martin Sustrik Date: Fri Dec 4 10:06:46 2009 +0100 man pages updated man/man1/zmq_forwarder.1 | 2 +- man/man1/zmq_streamer.1 | 2 +- man/man7/zmq.7 | 145 +++++++++++++++++++++++++++++++++++++++++++++- man/man7/zmq_cl.7 | 2 +- man/man7/zmq_cpp.7 | 3 +- man/man7/zmq_inproc.7 | 2 +- man/man7/zmq_pgm.7 | 2 +- man/man7/zmq_python.7 | 2 +- man/man7/zmq_ruby.7 | 2 +- man/man7/zmq_tcp.7 | 2 +- man/man7/zmq_udp.7 | 2 +- 11 files changed, 153 insertions(+), 13 deletions(-) commit 3e051e874ad03299cc9a9693cf8f20d6e37af329 Author: Martin Sustrik Date: Fri Dec 4 10:03:38 2009 +0100 Vitaly Mayatskikh added to authors section AUTHORS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 721e37a371713ddb20c4dfcca253fe01f71a4af7 Author: Martin Sustrik Date: Fri Dec 4 10:02:25 2009 +0100 platform.hpp.in removed from the codebase src/platform.hpp.in | 234 --------------------------------------------------- 1 files changed, 0 insertions(+), 234 deletions(-) commit 734aaa2dcbd130cfc5d8ef0bd31bd259117f6c0c Author: Martin Sustrik Date: Thu Dec 3 12:58:16 2009 +0100 placeholders for new man pages added man/Makefile.am | 9 ++++++--- man/convert2pdf.sh | 18 ++++++++++++++++++ man/man1/zmq_streamer.1 | 11 +++++++++++ man/man7/zmq_cl.7 | 9 +++++++++ man/man7/zmq_cpp.7 | 9 +++++++++ man/man7/zmq_inproc.7 | 9 +++++++++ man/man7/zmq_pgm.7 | 9 +++++++++ man/man7/zmq_python.7 | 9 +++++++++ man/man7/zmq_ruby.7 | 9 +++++++++ man/man7/zmq_tcp.7 | 9 +++++++++ man/man7/zmq_udp.7 | 9 +++++++++ 11 files changed, 107 insertions(+), 3 deletions(-) commit 6fcdc5fa69ea44d38e5505c23a6e9645efd35027 Author: Martin Sustrik Date: Thu Dec 3 10:14:07 2009 +0100 common lisp binding & perf tests added bindings/Makefile.am | 8 +- bindings/cl/Makefile.am | 9 ++ bindings/cl/meta.lisp | 59 +++++++++++ bindings/cl/package.lisp | 108 +++++++++++++++++++ bindings/cl/zeromq-api.lisp | 155 +++++++++++++++++++++++++++ bindings/cl/zeromq.asd | 38 +++++++ bindings/cl/zeromq.lisp | 244 +++++++++++++++++++++++++++++++++++++++++++ configure.in | 21 ++++ perf/Makefile.am | 2 +- perf/cl/Makefile.am | 2 + perf/cl/lat-parms.lisp | 22 ++++ perf/cl/local-lat-poll.lisp | 43 ++++++++ perf/cl/local-lat.lisp | 52 +++++++++ perf/cl/local-thr.lisp | 54 ++++++++++ perf/cl/remote-lat.lisp | 50 +++++++++ perf/cl/remote-thr.lisp | 41 +++++++ perf/cl/thr-parms.lisp | 25 +++++ 17 files changed, 930 insertions(+), 3 deletions(-) commit 7146ef85e96551ce6f7b80d014463f246d09c878 Author: Martin Sustrik Date: Wed Dec 2 21:26:47 2009 +0100 seqnum mechanism automated src/dispatcher.cpp | 2 ++ src/object.cpp | 27 ++++++++++++++++++++------- src/object.hpp | 12 +++++++++--- src/owned.cpp | 26 ++++++++------------------ src/owned.hpp | 14 ++------------ src/session.cpp | 5 ----- src/socket_base.cpp | 12 ++++++------ src/socket_base.hpp | 1 + src/zmq_connecter.cpp | 1 - src/zmq_connecter_init.cpp | 4 ++-- src/zmq_listener.cpp | 2 -- src/zmq_listener_init.cpp | 6 ++++-- 12 files changed, 54 insertions(+), 58 deletions(-) commit cb84580bbced0b5d34ddcbac6e0aed5d0ad7cae6 Author: Martin Sustrik Date: Tue Dec 1 19:09:58 2009 +0100 harmless uninitialised memory read fixed src/yqueue.hpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 9bd309bda6522dfdd514dd0c4edae04322c83ed1 Author: Martin Sustrik Date: Tue Dec 1 18:50:54 2009 +0100 annoying optimisation in 'bind' command removed src/command.hpp | 4 +--- src/object.cpp | 11 ++++------- src/object.hpp | 6 +++--- src/session.cpp | 5 ++--- src/socket_base.cpp | 13 +++---------- src/socket_base.hpp | 3 +-- 6 files changed, 14 insertions(+), 28 deletions(-) commit c04583ff6ca3c27de5628a61b6b6ce59fd13c9d9 Author: Martin Sustrik Date: Tue Dec 1 15:12:42 2009 +0100 minor code beautification src/pipe.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 0d704fceee5e1bd0fe9438fa380452b69cd29114 Author: unknown Date: Tue Dec 1 14:58:00 2009 +0100 MSVC warnings fixed src/pipe.cpp | 32 ++++++++++++++++++++++++-------- src/pipe.hpp | 6 ++++-- 2 files changed, 28 insertions(+), 10 deletions(-) commit 9cff475af849897f669049fd7748f875fa1cd6c3 Author: malosek Date: Mon Nov 30 18:18:13 2009 +0100 added libpgm-2.0.17rc2 into the dist package Makefile.am | 4 ++-- configure.in | 21 +++++++++++++++------ foreign/openpgm/libpgm-2.0.17rc2.tar.bz2 | Bin 0 -> 315051 bytes 3 files changed, 17 insertions(+), 8 deletions(-) commit 82242f6a9e06d855ff2ac5616196a97868838a6c Author: malosek Date: Mon Nov 30 17:48:16 2009 +0100 minor formatting fix in zmq_init.3 man page man/man3/zmq_init.3 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit c637bf292d0dc97be5c94c5c96a033c2d665576c Merge: 9ccf2b4 fa1641a Author: malosek Date: Mon Nov 30 16:45:36 2009 +0100 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 9ccf2b42cf932b4c29ea20cc9c6e3d5d8e7a62b4 Author: malosek Date: Mon Nov 30 16:45:18 2009 +0100 minor tweaks in pgm code src/pgm_sender.cpp | 4 ++++ src/pgm_socket.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit fa1641afc593be5926e558381861112b584e861a Author: malosek Date: Fri Nov 27 14:30:48 2009 +0100 msvc build fixed bindings/c/zmq.h | 3 +++ builds/msvc/libzmq/libzmq.vcproj | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 0 deletions(-) commit 19ce7c0e77f703ed2ec3b54685ddf4a6f2329ffe Author: Martin Sustrik Date: Thu Nov 26 12:41:50 2009 +0100 zmq_msg_data.3 referenced twice in Makefile.am - fixed AUTHORS | 1 + man/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 8d85638f77ec0aa886170ba6bb49763ef165393b Author: Martin Sustrik Date: Thu Nov 26 12:01:26 2009 +0100 memory leak in message encoder fixed AUTHORS | 1 + perf/c/local_thr.c | 3 +++ src/session.cpp | 4 ---- src/zmq_decoder.cpp | 8 +++++++- src/zmq_encoder.cpp | 7 ++++++- src/zmq_listener_init.cpp | 1 - 6 files changed, 17 insertions(+), 7 deletions(-) commit 92aa9e94e21b652839faa3dda27c67571bad315d Author: Martin Sustrik Date: Wed Nov 25 08:55:03 2009 +0100 experimental code to use futexes instead of mutexes added to simple_semapthore_t src/simple_semaphore.hpp | 60 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 57 insertions(+), 3 deletions(-) commit c98fd6bc3f2a49d7cb0b820a07354168c98f60b7 Author: Martin Sustrik Date: Tue Nov 24 11:23:10 2009 +0100 ZMQII-25: Implement streamed request/reply bindings/c/zmq.h | 6 ++ bindings/java/org/zmq/Socket.java | 2 + bindings/python/pyzmq.cpp | 6 ++ bindings/ruby/rbzmq.cpp | 2 + configure.in | 15 +++- devices/Makefile.am | 8 ++- devices/zmq_forwarder/zmq_forwarder.cpp | 7 +- devices/zmq_streamer/Makefile.am | 9 ++ devices/zmq_streamer/zmq_streamer.cpp | 122 ++++++++++++++++++++++++++ man/man3/zmq_socket.3 | 9 ++ src/Makefile.am | 4 + src/app_thread.cpp | 14 +++- src/downstream.cpp | 131 ++++++++++++++++++++++++++++ src/downstream.hpp | 64 ++++++++++++++ src/p2p.hpp | 4 +- src/pub.hpp | 4 +- src/rep.cpp | 2 +- src/rep.hpp | 4 +- src/req.hpp | 4 +- src/sub.hpp | 4 +- src/upstream.cpp | 143 +++++++++++++++++++++++++++++++ src/upstream.hpp | 69 +++++++++++++++ 22 files changed, 612 insertions(+), 21 deletions(-) commit 5cd98bc575517ea72c435770a5313711484f7d34 Author: Martin Sustrik Date: Mon Nov 23 09:22:25 2009 +0100 the rest of man3 man pages filled in man/man3/zmq_msg_close.3 | 20 +++++++++++++++ man/man3/zmq_msg_copy.3 | 31 ++++++++++++++++++++++++ man/man3/zmq_msg_data.3 | 15 ++++++++++++ man/man3/zmq_msg_init.3 | 21 ++++++++++++++++ man/man3/zmq_msg_init_data.3 | 33 ++++++++++++++++++++++++++ man/man3/zmq_msg_init_size.3 | 32 +++++++++++++++++++++++++ man/man3/zmq_msg_move.3 | 26 ++++++++++++++++++++ man/man3/zmq_msg_size.3 | 18 ++++++++++++++ man/man3/zmq_poll.3 | 53 ++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 249 insertions(+), 0 deletions(-) commit e90ada0d044636201c57786307a49a52f9cf7643 Author: Martin Sustrik Date: Sun Nov 22 16:51:21 2009 +0100 more man pages filled in bindings/c/zmq.h | 2 +- man/man3/zmq_bind.3 | 36 ++++++++++++++++ man/man3/zmq_close.3 | 15 +++++++ man/man3/zmq_connect.3 | 37 ++++++++++++++++- man/man3/zmq_flush.3 | 25 +++++++++++ man/man3/zmq_init.3 | 3 +- man/man3/zmq_recv.3 | 40 +++++++++++++++++ man/man3/zmq_send.3 | 52 +++++++++++++++++++++++ man/man3/zmq_setsockopt.3 | 103 +++++++++++++++++++++++++++++++++++++++++++++ man/man3/zmq_socket.3 | 56 ++++++++++++++++++++++++ man/man3/zmq_term.3 | 2 + 11 files changed, 368 insertions(+), 3 deletions(-) commit 6602cce9af93539df8f1c43235e7e7130a3df60d Author: Martin Sustrik Date: Sun Nov 22 12:05:11 2009 +0100 zmq_init, zmq_term & zmq_strerror man pages added man/Makefile.am | 2 +- man/convert2pdf.sh | 2 ++ man/man3/zmq_init.3 | 26 ++++++++++++++++++++++++++ man/man3/zmq_strerror.3 | 27 +++++++++++++++++++++++++++ man/man3/zmq_term.3 | 11 +++++++++++ 5 files changed, 67 insertions(+), 1 deletions(-) commit ed5563f75285197aa0cdbe8a0dc6f80c5bb1f89c Author: Martin Sustrik Date: Sun Nov 22 10:25:53 2009 +0100 man pages (dummy) added for zmq_msg_* functions man/Makefile.am | 5 ++++- man/convert2pdf.sh | 16 ++++++++++++++++ man/man3/zmq_msg_close.3 | 12 ++++++++++++ man/man3/zmq_msg_copy.3 | 12 ++++++++++++ man/man3/zmq_msg_data.3 | 12 ++++++++++++ man/man3/zmq_msg_init.3 | 12 ++++++++++++ man/man3/zmq_msg_init_data.3 | 15 +++++++++++++++ man/man3/zmq_msg_init_size.3 | 12 ++++++++++++ man/man3/zmq_msg_move.3 | 12 ++++++++++++ man/man3/zmq_msg_size.3 | 12 ++++++++++++ 10 files changed, 119 insertions(+), 1 deletions(-) commit 55b64a02e7f3b1ce9e512240a9f9a337ead3b54c Author: Martin Sustrik Date: Sun Nov 22 08:47:06 2009 +0100 man pages - initial (dummy) version Makefile.am | 8 +++++- configure.in | 8 ++++++- man/Makefile.am | 16 +++++++++++++++ man/convert2pdf.sh | 48 +++++++++++++++++++++++++++++++++++++++++++++ man/man1/zmq_forwarder.1 | 11 ++++++++++ man/man3/zmq_bind.3 | 12 +++++++++++ man/man3/zmq_close.3 | 12 +++++++++++ man/man3/zmq_connect.3 | 12 +++++++++++ man/man3/zmq_flush.3 | 12 +++++++++++ man/man3/zmq_init.3 | 12 +++++++++++ man/man3/zmq_poll.3 | 12 +++++++++++ man/man3/zmq_recv.3 | 12 +++++++++++ man/man3/zmq_send.3 | 12 +++++++++++ man/man3/zmq_setsockopt.3 | 12 +++++++++++ man/man3/zmq_socket.3 | 12 +++++++++++ man/man3/zmq_term.3 | 12 +++++++++++ man/man7/zmq.7 | 9 ++++++++ 17 files changed, 229 insertions(+), 3 deletions(-) commit c41daca3da6ffd033f93c3e24898414567f71eb3 Author: Martin Sustrik Date: Sat Nov 21 21:30:09 2009 +0100 race condition in inproc transport shutdown fixed src/command.hpp | 3 +++ src/object.cpp | 9 ++++++--- src/object.hpp | 6 +++--- src/session.cpp | 4 +++- src/socket_base.cpp | 16 ++++++++++++---- src/socket_base.hpp | 3 ++- 6 files changed, 29 insertions(+), 12 deletions(-) commit 64634605b3ccb90d582cfdf380535c89bf900a0e Author: Martin Sustrik Date: Sat Nov 21 21:13:29 2009 +0100 obsolete parameter removed from 'bind' command src/command.hpp | 1 - src/object.cpp | 9 +++------ src/object.hpp | 6 +++--- src/session.cpp | 2 +- src/socket_base.cpp | 6 ++---- src/socket_base.hpp | 3 +-- 6 files changed, 10 insertions(+), 17 deletions(-) commit 0e9ab2e8a3f5bc22f2c331c14236a2918a5512a8 Author: Martin Sustrik Date: Sat Nov 21 20:59:55 2009 +0100 inproc transport - initial commit src/dispatcher.cpp | 56 ++++++++++++++++++++++++++++++++++++++++++++++ src/dispatcher.hpp | 12 ++++++++++ src/object.cpp | 15 ++++++++++++ src/object.hpp | 6 +++++ src/socket_base.cpp | 62 +++++++++++++++++++++++++++++++++++++++++++++++++- src/socket_base.hpp | 12 ++++++++++ src/zmq.cpp | 6 +++- 7 files changed, 165 insertions(+), 4 deletions(-) commit 14f2fecdcd9732fe741c211138a4ba327816a937 Author: Martin Sustrik Date: Thu Nov 19 09:53:49 2009 +0100 ZMQII-24: SEGFAULT when anonymous session disconnects src/pipe.cpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit c2e0661b0afb2f50f47e0275fa6603947f26d240 Author: Martin Sustrik Date: Thu Nov 19 08:06:52 2009 +0100 uninitialised variable in devpoll_t and kqueue_t src/devpoll.cpp | 3 ++- src/kqueue.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 26ca5ed8c62f8a88a32106a5c9e003712f4ca655 Author: Martin Sustrik Date: Sat Nov 14 18:57:04 2009 +0100 Fixing concurrency issue in rep.cpp resulting in broken connections with multiple requesters under heavy load. src/rep.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 84585a9561b5e3bd39baa8d49b889455362334ea Author: malosek Date: Wed Nov 4 18:59:19 2009 +0100 pgm_transport_recvmsgv in process_upstream returns PGM_IO_STATUS_RATE_LIMITED on busy sender src/pgm_socket.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit c2cd7977f7a82e978d77b2d4d8e23d78f71e809c Author: malosek Date: Tue Nov 3 19:54:43 2009 +0100 update pgm_socket to recent openpgm2 src/pgm_socket.cpp | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) commit 08b02a43ae21e833a04d274fb20ef3bbc73c0d09 Author: malosek Date: Tue Nov 3 14:11:53 2009 +0100 fixed get_sender_fds and get_receiver_fds for openpgm2 src/pgm_socket.cpp | 83 +++++++++++++++++++++++++++++++-------------------- src/pgm_socket.hpp | 2 +- 2 files changed, 51 insertions(+), 34 deletions(-) commit 7d672d3ab8c74371b58b293f807db74760b18155 Author: malosek Date: Tue Nov 3 14:06:25 2009 +0100 minor fixes for MSVC++ 2005 build src/app_thread.cpp | 3 +++ src/fd.hpp | 2 +- src/windows.hpp | 5 +++++ 3 files changed, 9 insertions(+), 1 deletions(-) commit 7cbdcc954213b715ce83316538403bbce1fac99f Author: Martin Sustrik Date: Thu Oct 22 13:21:27 2009 +0200 ZMQII-21: Problem with fd_signaler_t::poll on socket close src/fd_signaler.cpp | 31 ++++++++++++++++++++++++------- 1 files changed, 24 insertions(+), 7 deletions(-) commit 55acf365ea76b908388ca9726232bde90242cdcb Author: Martin Sustrik Date: Tue Oct 20 18:44:17 2009 +0200 releasing python global lock when doing blocking operations bindings/python/pyzmq.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 8b08047cb08dd6ba7ae142007f82607183574ef6 Author: malosek Date: Mon Oct 19 19:00:04 2009 +0200 added --with-pgm2-examples configure option configure.in | 17 ++++++++ perf/c/Makefile.am | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++- src/Makefile.am | 4 +- 3 files changed, 123 insertions(+), 2 deletions(-) commit 71e455bfe5dd1df1220e9280e536be56238d2178 Author: malosek Date: Mon Oct 19 15:19:22 2009 +0200 ZMQII-19: add --disable-eventfd configure option configure.in | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) commit 50c7d12be6c10c294143491b479c50349a3c84a3 Author: malosek Date: Mon Oct 12 22:53:11 2009 +0200 added HAVE_LIBWS2_32 into platform.hpp.in src/platform.hpp.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 0ce02058ebc35184b91399eee35d44ef01cd9e38 Author: malosek Date: Mon Oct 12 22:51:41 2009 +0200 updated 0MQ to recent OpenPGM2 rev.562 src/Makefile.am | 1 + src/pgm_socket.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) commit ea2f6558fd2a759b78364ded493c598f5ca5a2d3 Author: malosek Date: Mon Oct 12 22:50:01 2009 +0200 mingw fixed winsock linking issue configure.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 7afc61ae7c4859fa1a6273e1964d378c00142746 Author: malosek Date: Tue Oct 6 12:57:24 2009 +0200 0MQ compilable on winXP mingw with --with-pgm2 option configure.in | 12 ++++++++-- src/Makefile.am | 53 ++++++++++++++++++++++++++++++++----------------- src/pgm_receiver.cpp | 5 ++++ src/pgm_receiver.hpp | 8 ++++++- src/pgm_sender.cpp | 6 +++- src/pgm_sender.hpp | 4 +++ src/pgm_socket.cpp | 23 ++++++++++++++------- src/pgm_socket.hpp | 13 ++++------- src/platform.hpp.in | 3 ++ 9 files changed, 86 insertions(+), 41 deletions(-) commit ac83175ef0f0084f281a416785679f8b56f551b9 Author: malosek Date: Mon Oct 5 16:57:26 2009 +0200 updated to recent PGM2 changes foreign/openpgm/create_custom_gsi_1.patch | 2 +- src/pgm_socket.cpp | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 10 deletions(-) commit 3daeff2786ce1d6d8e58f0ad15e693f2c48c94f9 Author: malosek Date: Mon Oct 5 15:06:40 2009 +0200 mingw port configure.in | 13 ++++++++----- src/fd.hpp | 4 ++-- src/platform.hpp.in | 3 +++ src/uuid.hpp | 7 ++++++- src/windows.hpp | 6 ++++++ 5 files changed, 25 insertions(+), 8 deletions(-) commit de2e439a52e93a4cb17a19e9ef9cadfd5ebf2cea Author: malosek Date: Mon Oct 5 15:06:08 2009 +0200 1 minor change in xmlParser.cpp foreign/xmlParser/xmlParser.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 14dc1f45cd1a328415db09ef1e06def6179dae00 Author: malosek Date: Mon Oct 5 12:28:34 2009 +0200 build system tuning - fixed make dist Makefile.am | 7 ++++--- configure.in | 15 +++++++++++---- src/Makefile.am | 11 ++++++----- 3 files changed, 21 insertions(+), 12 deletions(-) commit b0c97a5f8b88fca73338c1c173b446515e2ed366 Author: malosek Date: Mon Oct 5 10:37:49 2009 +0200 build system tuning Makefile.am | 1 + src/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit d57ee0984ac3f8712063a7f83d7200be25ca5513 Merge: ff65e26 4efe236 Author: malosek Date: Mon Oct 5 10:22:31 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit ff65e26ce7567ea6a907e566f8530f4988231d68 Author: malosek Date: Mon Oct 5 10:22:12 2009 +0200 create_custom_gsi.patch renamed to create_custom_gsi_1.patch configure.in | 4 +- foreign/openpgm/create_custom_gsi.patch | 43 ----------------------------- foreign/openpgm/create_custom_gsi_1.patch | 43 +++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 45 deletions(-) commit e1b9fcd4b185cdcfd460a5d2ecb29d085856bb20 Author: malosek Date: Mon Oct 5 10:18:24 2009 +0200 moved pgm_create_custom_gsi into PGM1 and drop ssl dependency configure.in | 18 ++++++------- foreign/openpgm/create_custom_gsi.patch | 43 +++++++++++++++++++++++++++++++ foreign/openpgm/lost_data_tsi.patch | 4 +- src/pgm_socket.cpp | 18 +------------ src/pgm_socket.hpp | 3 -- src/platform.hpp.in | 6 ---- 6 files changed, 54 insertions(+), 38 deletions(-) commit 4efe2366d7394e8969fc9aa64c50be6842d8455f Author: Martin Sustrik Date: Fri Oct 2 10:46:36 2009 +0200 poller is a concept now rather than virtualised class src/Makefile.am | 2 +- src/devpoll.cpp | 41 +++++++++++-------------- src/devpoll.hpp | 13 ++++---- src/epoll.cpp | 16 ++++------ src/epoll.hpp | 14 ++++---- src/i_poller.hpp | 84 ----------------------------------------------------- src/io_object.cpp | 2 +- src/io_object.hpp | 6 ++- src/io_thread.cpp | 41 +------------------------ src/io_thread.hpp | 8 ++-- src/kqueue.cpp | 17 +++++------ src/kqueue.hpp | 13 ++++---- src/poll.cpp | 18 +++++------ src/poll.hpp | 13 ++++---- src/poller.hpp | 68 ++++++++++++++++++++++++++++++++++++++++++ src/select.cpp | 33 +++++++++------------ src/select.hpp | 13 ++++---- 17 files changed, 170 insertions(+), 232 deletions(-) commit 4a3b4dadead8fe2af65443d0be4cc8462b9aa597 Author: Martin Sustrik Date: Fri Oct 2 09:42:13 2009 +0200 ZMQII-9: Check and implement speculative reads & writes src/ypollset.cpp | 1 - src/zmq_engine.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletions(-) commit 49a9ef5fcb661827ee174415b4608e609bd0a65b Author: unknown Date: Thu Oct 1 13:48:04 2009 +0200 windows error handling improved bindings/c/zmq.h | 12 ++++++++++++ src/err.cpp | 43 +++++++++++++++++++++++++++++++++++++++++-- src/err.hpp | 1 + src/tcp_connecter.cpp | 10 +++++----- src/tcp_listener.cpp | 17 ++++++++++++----- src/zmq.cpp | 8 ++++++++ 6 files changed, 79 insertions(+), 12 deletions(-) commit cc631c4c6649b0d67114db13386a949426e35dbf Author: Martin Sustrik Date: Thu Oct 1 10:56:17 2009 +0200 ZMQII-18: Implement I/O multiplexing (first approximation) bindings/c/zmq.h | 33 ++++++++++++++ bindings/cpp/zmq.hpp | 5 ++ src/fd_signaler.hpp | 2 - src/i_signaler.hpp | 6 +++ src/p2p.cpp | 11 +++++ src/p2p.hpp | 2 + src/pub.cpp | 11 +++++ src/pub.hpp | 2 + src/rep.cpp | 17 +++++++ src/rep.hpp | 2 + src/req.cpp | 13 ++++++ src/req.hpp | 2 + src/socket_base.cpp | 15 ++++++ src/socket_base.hpp | 12 +++++ src/sub.cpp | 13 ++++++ src/sub.hpp | 2 + src/ypollset.cpp | 6 +++ src/ypollset.hpp | 1 + src/zmq.cpp | 117 +++++++++++++++++++++++++++++++++++++++++++++++++- 19 files changed, 269 insertions(+), 3 deletions(-) commit f2ff2c6e5c4e244dea28e1ac6ec3f886b7ebc356 Author: Martin Sustrik Date: Wed Sep 30 10:08:35 2009 +0200 checking for available messages added to ypipe/pipe src/pipe.cpp | 11 +++++++++++ src/pipe.hpp | 3 +++ src/ypipe.hpp | 24 ++++++++++++++++-------- 3 files changed, 30 insertions(+), 8 deletions(-) commit 84d854a088d27b642355d4e835a2d93e405452ae Author: Martin Sustrik Date: Tue Sep 29 15:40:29 2009 +0200 documentation error in zmq.h fixed bindings/c/zmq.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 64e68e748607473befbcf2d96590d45dc7bc98db Author: malosek Date: Tue Sep 29 13:56:19 2009 +0200 detecting data loss for PGM2 receiver src/pgm_receiver.cpp | 10 ++++++++++ src/pgm_socket.cpp | 40 ++++++++++++++++++++++++++++++++++------ 2 files changed, 44 insertions(+), 6 deletions(-) commit 39d915ded8ccb612ae1f9aaefcd93f349f4c8f4c Author: malosek Date: Mon Sep 28 18:06:06 2009 +0200 PGM2 sender src/pgm_receiver.cpp | 2 +- src/pgm_sender.cpp | 26 +++++++++++++-- src/pgm_sender.hpp | 3 ++ src/pgm_socket.cpp | 85 +++++++++++++++++++++++++++++++++++++++---------- src/pgm_socket.hpp | 8 +++- 5 files changed, 100 insertions(+), 24 deletions(-) commit cf6cc0128ff4d26e0059f399bbb8342ce259b996 Author: malosek Date: Fri Sep 25 17:50:12 2009 +0200 pgm2 receiver working (partly) src/Makefile.am | 3 +- src/pgm_socket.cpp | 161 +++++++++++++++++++++++++++++++++++---------------- src/pgm_socket.hpp | 14 ++++- src/socket_base.cpp | 4 +- 4 files changed, 129 insertions(+), 53 deletions(-) commit 72c5c5fff42fc0b4c9d1eaaaebe9d6e1dd8824f2 Author: malosek Date: Thu Sep 24 16:23:49 2009 +0200 --with-pgm2 compilable configure.in | 10 +++--- src/pgm_receiver.cpp | 2 +- src/pgm_receiver.hpp | 2 +- src/pgm_sender.cpp | 2 +- src/pgm_sender.hpp | 2 +- src/pgm_socket.cpp | 91 +++++++++++++++++++++++++++++++++++++++++++------ src/pgm_socket.hpp | 9 +---- 7 files changed, 89 insertions(+), 29 deletions(-) commit 33afdcd1adccd19ebd9f4ec9cc6d23a37975d135 Author: malosek Date: Thu Sep 24 12:43:35 2009 +0200 added --with-pgm2 into build system configure.in | 116 +++++++++++++++++++++++++++++++++++++++++--------- src/Makefile.am | 89 +++++++++++++++++++++++++++++++++++++- src/pgm_receiver.cpp | 2 +- src/pgm_receiver.hpp | 2 +- src/pgm_sender.cpp | 2 +- src/pgm_sender.hpp | 2 +- src/pgm_socket.cpp | 2 +- src/pgm_socket.hpp | 2 +- src/platform.hpp.in | 8 +++- src/socket_base.cpp | 4 +- 10 files changed, 196 insertions(+), 33 deletions(-) commit 5aee5fd0cfc6351e843de1540eafa4e757066edc Author: malosek Date: Wed Sep 23 12:14:44 2009 +0200 Updated libzmq.vcproj file builds/msvc/libzmq/libzmq.vcproj | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) commit 27d8627cb5d8c91df2f09ecc1272e84be4fe3c80 Author: malosek Date: Wed Sep 23 11:31:03 2009 +0200 Updated changelog for alpha3 release ChangeLog | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) commit b0a1a16fc2a84afa0eb2715f680297caef521b54 Merge: 088a2db 2521130 Author: Martin Sustrik Date: Wed Sep 23 10:23:53 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 088a2db6746488c1ce4a73c357caaece50bbdf60 Author: Martin Sustrik Date: Wed Sep 23 10:22:54 2009 +0200 ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding bindings/c/zmq.h | 24 ++++++++++++------------ perf/c/local_lat.c | 2 +- perf/c/local_thr.c | 2 +- perf/c/remote_lat.c | 2 +- perf/c/remote_thr.c | 2 +- src/p2p.cpp | 4 ++-- src/p2p.hpp | 4 ++-- src/pipe.cpp | 2 +- src/pipe.hpp | 4 ++-- src/pub.cpp | 4 ++-- src/pub.hpp | 4 ++-- src/rep.cpp | 4 ++-- src/rep.hpp | 4 ++-- src/req.cpp | 4 ++-- src/req.hpp | 4 ++-- src/socket_base.hpp | 10 ++++++---- src/sub.cpp | 4 ++-- src/sub.hpp | 6 +++--- 18 files changed, 46 insertions(+), 44 deletions(-) commit 25211307696752acc17e91783aa662dc9e423b21 Author: malosek Date: Wed Sep 23 10:22:39 2009 +0200 ZMQII-14: Change default for ZMQ_MCAST_LOOP to true src/options.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 85cbd7f83c10c70da8fa44fe7673143703f9710d Author: malosek Date: Tue Sep 22 15:12:51 2009 +0200 added PGM bus functionality Makefile.am | 1 + configure.in | 20 ++++- foreign/openpgm/lost_data_tsi.patch | 76 +++++++++++++++ src/pgm_receiver.cpp | 176 ++++++++++++++++++----------------- src/pgm_receiver.hpp | 37 +++++--- src/pgm_socket.cpp | 159 ++++++++----------------------- src/pgm_socket.hpp | 19 ++-- src/platform.hpp.in | 6 + 8 files changed, 265 insertions(+), 229 deletions(-) commit 3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 Author: Martin Sustrik Date: Tue Sep 22 13:00:05 2009 +0200 language bindings use zmq_strerror instead of strerror bindings/cpp/zmq.hpp | 9 +-------- bindings/java/Context.cpp | 12 +++--------- bindings/java/Socket.cpp | 11 ++--------- bindings/python/pyzmq.cpp | 20 ++++++++++---------- bindings/ruby/rbzmq.cpp | 18 +++++++++--------- 5 files changed, 25 insertions(+), 45 deletions(-) commit a0db7f6b811e687eda452a7de9f5db112f715544 Author: Martin Sustrik Date: Tue Sep 22 12:08:18 2009 +0200 POSIX error codes unsupported on win platform faked bindings/c/zmq.h | 16 +++++++++++++--- src/zmq.cpp | 13 +++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) commit e136d923b7060ef64d44264f88e49057e6638f31 Author: Martin Sustrik Date: Tue Sep 22 11:52:35 2009 +0200 ZMQ-specific error codes added bindings/c/zmq.h | 34 +++++++++++++++++++++++++++++----- src/dispatcher.cpp | 2 +- src/err.cpp | 5 +++++ src/pub.cpp | 2 +- src/rep.cpp | 6 +++--- src/req.cpp | 8 ++++---- src/socket_base.cpp | 10 +++++----- src/sub.cpp | 4 ++-- src/zmq.cpp | 15 +++++++++++++++ 9 files changed, 65 insertions(+), 21 deletions(-) commit cc8136896d30890efb24aadc2d3058652aa43d45 Author: Martin Sustrik Date: Tue Sep 22 10:57:46 2009 +0200 documentation in zmq.h improved bindings/c/zmq.h | 283 ++++++++++++++++++++++++++++++++++++-------------- bindings/cpp/zmq.hpp | 13 --- src/zmq.cpp | 28 +---- 3 files changed, 208 insertions(+), 116 deletions(-) commit e6ca5da1815023e90306914dab101eeef4b6f199 Author: Martin Sustrik Date: Tue Sep 22 08:30:15 2009 +0200 Windows build fixed src/fd_signaler.cpp | 31 ++++++++++++++++--------------- src/p2p.cpp | 3 +++ src/rep.cpp | 2 ++ 3 files changed, 21 insertions(+), 15 deletions(-) commit b15f695976d21300beabc3e0ecef87c1a0b4dc4c Author: Martin Sustrik Date: Mon Sep 21 17:20:13 2009 +0200 different fixes to req/rep src/dispatcher.cpp | 8 ++++---- src/fd_signaler.cpp | 22 +++++++++++----------- src/options.cpp | 4 +++- src/options.hpp | 5 +++++ src/p2p.cpp | 14 +++----------- src/p2p.hpp | 2 -- src/pub.cpp | 14 +++----------- src/pub.hpp | 2 -- src/rep.cpp | 14 +++----------- src/rep.hpp | 2 -- src/req.cpp | 14 +++----------- src/req.hpp | 2 -- src/session.cpp | 36 ++++++++++++++++++++++++------------ src/socket_base.cpp | 40 +++++++++++++--------------------------- src/socket_base.hpp | 13 ++++--------- src/sub.cpp | 14 +++----------- src/sub.hpp | 2 -- 17 files changed, 79 insertions(+), 129 deletions(-) commit cb1b6fe32cbf3c7cf5961bb4156f2de743693a3a Author: Martin Sustrik Date: Mon Sep 21 14:39:59 2009 +0200 initial version of req/rep sockets src/Makefile.am | 8 + src/app_thread.cpp | 20 ++- src/app_thread.hpp | 3 +- src/i_endpoint.hpp | 7 +- src/options.cpp | 80 +++++++++ src/options.hpp | 3 + src/p2p.cpp | 92 ++++++++++ src/p2p.hpp | 56 ++++++ src/pipe.cpp | 28 +--- src/pipe.hpp | 19 +-- src/pub.cpp | 129 ++++++++++++++- src/pub.hpp | 24 +++- src/rep.cpp | 204 +++++++++++++++++++++++ src/rep.hpp | 79 +++++++++ src/req.cpp | 206 +++++++++++++++++++++++ src/req.hpp | 84 ++++++++++ src/session.cpp | 49 +++--- src/session.hpp | 6 +- src/socket_base.cpp | 460 ++++++++++++++------------------------------------- src/socket_base.hpp | 77 ++++----- src/sub.cpp | 88 +++++++++- src/sub.hpp | 38 ++++- src/yarray.hpp | 110 ++++++++++++ src/yarray_item.hpp | 62 +++++++ 24 files changed, 1460 insertions(+), 472 deletions(-) commit 7668b246fc3cf4a2a3b3ee9b1283ad8a4b12ac4f Author: Martin Sustrik Date: Sun Sep 20 12:03:14 2009 +0200 ZMQ_POLL option forces fd_signaler to be used in app_thread src/app_thread.cpp | 18 +++++++++++++++--- src/app_thread.hpp | 5 ++--- src/fd_signaler.cpp | 39 ++++++++++++++++++++++++--------------- src/fd_signaler.hpp | 3 --- src/i_signaler.hpp | 4 ++-- src/ypollset.cpp | 4 ++++ src/ypollset.hpp | 2 +- 7 files changed, 48 insertions(+), 27 deletions(-) commit 495a2228cd08a29946f9e9ce2e0721e789203e35 Author: Martin Sustrik Date: Sun Sep 20 10:58:00 2009 +0200 MSVC warnings removed src/fd_signaler.cpp | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) commit f99b8fc921bc0e6aa55276d8c55e43c9d7f4375a Author: Martin Sustrik Date: Sun Sep 20 10:47:27 2009 +0200 receiving side of signaler virtualised src/app_thread.cpp | 4 +- src/fd_signaler.cpp | 55 ++++++++++++++++++++++++++++++++++++++------------ src/fd_signaler.hpp | 12 ++-------- src/i_signaler.hpp | 11 ++++++++++ src/io_thread.cpp | 4 +- src/ypollset.cpp | 8 +++--- src/ypollset.hpp | 18 +++++----------- 7 files changed, 70 insertions(+), 42 deletions(-) commit 50a8b9ea0c4a819073b46449dee8fc839b837ae5 Author: Martin Sustrik Date: Sun Sep 20 10:14:21 2009 +0200 'flags' parameter added to zmq_init bindings/c/zmq.h | 6 +++++- bindings/cpp/zmq.hpp | 4 ++-- bindings/java/Context.cpp | 4 ++-- bindings/java/org/zmq/Context.java | 8 +++++--- bindings/python/pyzmq.cpp | 13 ++++++++----- bindings/ruby/rbzmq.cpp | 11 +++++++---- perf/c/local_lat.c | 2 +- perf/c/local_thr.c | 2 +- perf/c/remote_lat.c | 2 +- perf/c/remote_thr.c | 2 +- perf/java/local_lat.java | 2 +- perf/java/local_thr.java | 2 +- perf/java/remote_lat.java | 2 +- perf/java/remote_thr.java | 2 +- perf/ruby/local_lat.rb | 2 +- perf/ruby/local_thr.rb | 2 +- perf/ruby/remote_lat.rb | 2 +- perf/ruby/remote_thr.rb | 2 +- src/app_thread.cpp | 3 ++- src/app_thread.hpp | 3 ++- src/dispatcher.cpp | 8 +++++--- src/dispatcher.hpp | 2 +- src/fd_signaler.cpp | 6 ++++++ src/io_thread.cpp | 3 ++- src/io_thread.hpp | 3 ++- src/zmq.cpp | 8 ++++---- 26 files changed, 65 insertions(+), 41 deletions(-) commit edecf75b611cf0e6b1c2658846cff013434edad4 Author: Martin Sustrik Date: Thu Sep 17 12:29:32 2009 +0200 python binding checks ctx argument type bindings/python/pyzmq.cpp | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) commit 8cdf75327d847c464415ab32554d155febcf7c5e Author: Martin Sustrik Date: Thu Sep 17 11:44:39 2009 +0200 ChangeLog updated ChangeLog | 336 ++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 175 insertions(+), 161 deletions(-) commit dffbdbb60c5d5caf01d13063a3d1babab0411338 Author: malosek Date: Thu Sep 17 11:31:28 2009 +0200 fixed compiler warning cast from uint64 to bool in socket_base.cpp src/socket_base.cpp | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 1bd6d5e0f6a6013b2d43abb2a82f0027a92fcc96 Author: malosek Date: Thu Sep 17 11:26:39 2009 +0200 fixed missing xmlParser in dist package Makefile.am | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 2be152967c90834bf02ab84e39980281d3f05002 Author: malosek Date: Thu Sep 17 10:49:02 2009 +0200 java binding Makefile.am cleanup bindings/java/Makefile.am | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit cff6eb43766ddbbc894237c1ffffc824ca3c79b6 Author: malosek Date: Thu Sep 17 10:29:02 2009 +0200 msvc directory moved into builds dir bindings/java/Socket.cpp | 2 +- builds/msvc/c_local_lat/c_local_lat.vcproj | 176 +++++++ builds/msvc/c_local_thr/c_local_thr.vcproj | 176 +++++++ builds/msvc/c_remote_lat/c_remote_lat.vcproj | 176 +++++++ builds/msvc/c_remote_thr/c_remote_thr.vcproj | 176 +++++++ builds/msvc/cpp_local_lat/cpp_local_lat.vcproj | 176 +++++++ builds/msvc/cpp_local_thr/cpp_local_thr.vcproj | 176 +++++++ builds/msvc/cpp_remote_lat/cpp_remote_lat.vcproj | 176 +++++++ builds/msvc/cpp_remote_thr/cpp_remote_thr.vcproj | 176 +++++++ builds/msvc/j_local_lat/j_local_lat.vcproj | 78 +++ builds/msvc/j_local_thr/j_local_thr.vcproj | 78 +++ builds/msvc/j_remote_lat/j_remote_lat.vcproj | 78 +++ builds/msvc/j_remote_thr/j_remote_thr.vcproj | 78 +++ builds/msvc/java/java.vcproj | 244 ++++++++++ builds/msvc/libzmq/libzmq.vcproj | 562 ++++++++++++++++++++++ builds/msvc/msvc.sln | 154 ++++++ builds/msvc/platform.hpp | 59 +++ builds/msvc/python/python.vcproj | 176 +++++++ builds/msvc/zmq_forwarder/zmq_forwarder.vcproj | 174 +++++++ msvc/c_local_lat/c_local_lat.vcproj | 176 ------- msvc/c_local_thr/c_local_thr.vcproj | 176 ------- msvc/c_remote_lat/c_remote_lat.vcproj | 176 ------- msvc/c_remote_thr/c_remote_thr.vcproj | 176 ------- msvc/cpp_local_lat/cpp_local_lat.vcproj | 176 ------- msvc/cpp_local_thr/cpp_local_thr.vcproj | 176 ------- msvc/cpp_remote_lat/cpp_remote_lat.vcproj | 176 ------- msvc/cpp_remote_thr/cpp_remote_thr.vcproj | 176 ------- msvc/j_local_lat/j_local_lat.vcproj | 78 --- msvc/j_local_thr/j_local_thr.vcproj | 78 --- msvc/j_remote_lat/j_remote_lat.vcproj | 78 --- msvc/j_remote_thr/j_remote_thr.vcproj | 78 --- msvc/java/java.vcproj | 244 ---------- msvc/libzmq/libzmq.vcproj | 538 --------------------- msvc/msvc.sln | 154 ------ msvc/platform.hpp | 59 --- msvc/python/python.vcproj | 176 ------- msvc/zmq_forwarder/zmq_forwarder.vcproj | 174 ------- 37 files changed, 3090 insertions(+), 3066 deletions(-) commit 3ebe9932f9c208966f8cb97d631d26df0367c151 Merge: 1a65504 d16b3bc Author: malosek Date: Wed Sep 16 17:07:15 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 1a655045951c29edda0b616640b9dac507cda164 Author: malosek Date: Wed Sep 16 17:06:59 2009 +0200 ruby directory moved into bindings dir Makefile.am | 9 +- bindings/Makefile.am | 8 +- bindings/ruby/Makefile.am | 11 ++ bindings/ruby/extconf.rb | 24 ++++ bindings/ruby/rbzmq.cpp | 277 +++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- ruby/Makefile.am | 11 -- ruby/extconf.rb | 24 ---- ruby/rbzmq.cpp | 277 --------------------------------------------- 9 files changed, 322 insertions(+), 321 deletions(-) commit c63387ca3657848c0eaa8014a863148c1e6525ff Author: malosek Date: Wed Sep 16 17:00:32 2009 +0200 python directory moved into bindings dir Makefile.am | 8 +- bindings/Makefile.am | 11 + bindings/python/Makefile.am | 7 + bindings/python/pyzmq.cpp | 528 +++++++++++++++++++++++++++++++++++++++++++ bindings/python/setup.py.in | 14 ++ configure.in | 3 +- python/Makefile.am | 7 - python/pyzmq.cpp | 528 ------------------------------------------- python/setup.py.in | 14 -- 9 files changed, 564 insertions(+), 556 deletions(-) commit 1b2a426656134b85ff4c75cb0cccbc53f2b83447 Author: malosek Date: Wed Sep 16 16:49:09 2009 +0200 c and cpp directories moved into bindings directory bindings/c/zmq.h | 216 +++++++++++++++++++++++ bindings/cpp/zmq.hpp | 283 +++++++++++++++++++++++++++++++ bindings/java/Makefile.am | 2 +- c/zmq.h | 216 ----------------------- cpp/zmq.hpp | 283 ------------------------------- devices/zmq_forwarder/Makefile.am | 2 +- devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- perf/c/Makefile.am | 2 +- perf/cpp/Makefile.am | 2 +- perf/java/Makefile.am | 2 +- src/Makefile.am | 4 +- src/app_thread.cpp | 2 +- src/dispatcher.cpp | 2 +- src/i_inout.hpp | 2 +- src/io_thread.cpp | 2 +- src/msg_content.hpp | 2 +- src/pipe.cpp | 2 +- src/pipe.hpp | 2 +- src/pub.cpp | 2 +- src/socket_base.cpp | 2 +- src/sub.cpp | 2 +- src/zmq.cpp | 2 +- src/zmq_decoder.hpp | 2 +- src/zmq_encoder.hpp | 2 +- 24 files changed, 520 insertions(+), 520 deletions(-) commit 6bfb9e6aaf0adad441d693a679c30ef30aeb5c14 Author: malosek Date: Wed Sep 16 16:22:23 2009 +0200 java directory moved into bindings directory II Makefile.am | 8 ++------ bindings/java/Makefile.am | 2 +- configure.in | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) commit 3de435a07d460e7eb2423a75e71a409b0f1143e2 Author: malosek Date: Wed Sep 16 16:22:00 2009 +0200 java directory moved into bindings directory bindings/java/Context.cpp | 96 +++++++++++++ bindings/java/Makefile.am | 58 ++++++++ bindings/java/Socket.cpp | 272 ++++++++++++++++++++++++++++++++++++ bindings/java/org/zmq/Context.java | 50 +++++++ bindings/java/org/zmq/Socket.java | 112 +++++++++++++++ java/Context.cpp | 96 ------------- java/Makefile.am | 58 -------- java/Socket.cpp | 272 ------------------------------------ java/org/zmq/Context.java | 50 ------- java/org/zmq/Socket.java | 112 --------------- 10 files changed, 588 insertions(+), 588 deletions(-) commit d16b3bc0c93452a4be7d06525793ac5190e38031 Merge: 35c58dc 10dd8c5 Author: Martin Sustrik Date: Wed Sep 16 15:52:39 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 35c58dc7331e3c5033b16829dff40437efe97a81 Author: Martin Sustrik Date: Wed Sep 16 15:37:20 2009 +0200 ZMQII-1: fix for devpoll, kqueue & poll src/devpoll.cpp | 3 ++- src/kqueue.cpp | 3 ++- src/poll.cpp | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 10dd8c53460a28849aacf7d2e24b63d7fae11ae0 Merge: 03d494d fc7715b Author: malosek Date: Wed Sep 16 15:36:56 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 03d494d4f074a8707274e6d5fd21ac6dca917344 Author: malosek Date: Wed Sep 16 15:36:38 2009 +0200 added udp:// transport prefix for PGM UDP encapsulation src/pgm_receiver.cpp | 4 ++-- src/pgm_receiver.hpp | 2 +- src/pgm_sender.cpp | 10 ++++------ src/pgm_sender.hpp | 2 +- src/pgm_socket.cpp | 33 +++++++-------------------------- src/pgm_socket.hpp | 2 +- src/socket_base.cpp | 13 +++++++++---- 7 files changed, 25 insertions(+), 41 deletions(-) commit fc7715b4636be7a0d49f27234359ddfddce23f5b Merge: f1c72d6 c6665f4 Author: Martin Sustrik Date: Wed Sep 16 15:27:39 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit f1c72d693e3bd252866a1f78e575493573eb57fe Author: Martin Sustrik Date: Wed Sep 16 15:26:49 2009 +0200 ZMQII-4: Failure in dev/poll poller src/zmq_connecter.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c6665f46be7eb701866441087c35cdb1a08fc641 Author: malosek Date: Wed Sep 16 14:57:22 2009 +0200 set rc to 0 in its declaration (pyzmq.cpp) python/pyzmq.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3b2c3cae095abf9b61cd72cf19f053071a8c614a Author: malosek Date: Wed Sep 16 14:55:11 2009 +0200 setsockopt cleanup in rbzmq perf/ruby/local_thr.rb | 2 +- ruby/rbzmq.cpp | 106 +++++++++++++++++++----------------------------- 2 files changed, 43 insertions(+), 65 deletions(-) commit 3534732c0614a764731fbea2431247068fa63330 Merge: 17800ac a71d002 Author: malosek Date: Wed Sep 16 14:26:04 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 17800ac85e667d18124d0e90f9387d6c90887570 Author: malosek Date: Wed Sep 16 14:25:49 2009 +0200 setsockopt cleanup in pyzmq.cpp python/pyzmq.cpp | 31 +++++++++++++++++++++++-------- 1 files changed, 23 insertions(+), 8 deletions(-) commit a71d00288008b7ed1dc91b6ad3d5fdf25a5e683e Merge: 4631fde 7a5db60 Author: Martin Sustrik Date: Wed Sep 16 14:03:42 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 4631fde7e385ea31e85f41290614afb9bda391c9 Author: Martin Sustrik Date: Wed Sep 16 14:02:43 2009 +0200 ZMQII-8: Failure during orphan pipe deallocation src/dispatcher.cpp | 4 ++-- src/session.cpp | 6 +++++- src/zmq_connecter_init.cpp | 6 +++++- 3 files changed, 12 insertions(+), 4 deletions(-) commit 7a5db6041f4f11ed502fa7446da900509dedb00f Author: malosek Date: Wed Sep 16 12:22:36 2009 +0200 added newly added socket options to all language bindings, P2P model changed to PUB/SUB for throughput tests c/zmq.h | 2 +- java/Socket.cpp | 1 + java/org/zmq/Socket.java | 1 + perf/c/local_thr.c | 8 ++++- perf/c/remote_thr.c | 5 ++- perf/cpp/local_thr.cpp | 8 ++++- perf/cpp/remote_thr.cpp | 6 +++- perf/java/local_thr.java | 68 ++++++++++++++++++++++++-------------------- perf/java/remote_thr.java | 60 +++++++++++++++++++++------------------ perf/python/local_thr.py | 8 ++++- perf/python/remote_thr.py | 6 +++- perf/ruby/local_thr.rb | 7 ++++- perf/ruby/remote_thr.rb | 6 +++- python/pyzmq.cpp | 18 +++++++++++- ruby/rbzmq.cpp | 5 +++ src/socket_base.cpp | 11 ++++++- 16 files changed, 149 insertions(+), 71 deletions(-) commit 9c522dccaf0b2c8074bd96fbfb4c968f45748ba4 Author: Martin Sustrik Date: Wed Sep 16 11:02:18 2009 +0200 reconnect added to zmq_connecter perf/c/remote_lat.c | 10 ++++++---- perf/cpp/remote_lat.cpp | 5 ++++- src/session.cpp | 9 ++++++--- src/session.hpp | 5 ++++- src/socket_base.cpp | 4 ++-- src/zmq_connecter.cpp | 22 +++++++++++++++++----- src/zmq_connecter.hpp | 5 ++++- src/zmq_connecter_init.cpp | 22 ++++++++++++++++++++-- src/zmq_engine.cpp | 1 + src/zmq_engine.hpp | 1 + src/zmq_listener_init.cpp | 2 +- 11 files changed, 66 insertions(+), 20 deletions(-) commit 6e03cb2f3eb083e1de8e7161d3ab21b52c87eece Merge: bce2e60 9fbdcc7 Author: Martin Sustrik Date: Wed Sep 16 10:56:55 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 9fbdcc7940823634d82f51d2b124ccfbca6e9b17 Author: malosek Date: Wed Sep 16 10:35:23 2009 +0200 removed reset method from zmq_decoder_t src/pgm_receiver.cpp | 25 +++++++++++++++---------- src/pgm_receiver.hpp | 2 +- src/zmq_decoder.cpp | 10 ---------- src/zmq_decoder.hpp | 2 -- 4 files changed, 16 insertions(+), 23 deletions(-) commit 969522bbf55467b6f6e8113be28451d087060843 Author: malosek Date: Wed Sep 16 10:11:01 2009 +0200 added OpenPGM receiver - ZMQ_SUB c/zmq.h | 1 + src/Makefile.am | 2 + src/options.cpp | 3 +- src/options.hpp | 7 +- src/pgm_receiver.cpp | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/pgm_receiver.hpp | 98 ++++++++++++++++++++++++ src/pgm_sender.cpp | 7 +-- src/pgm_sender.hpp | 2 +- src/pgm_socket.cpp | 17 +++-- src/socket_base.cpp | 75 +++++++++++++++++-- src/sub.cpp | 6 ++ 11 files changed, 395 insertions(+), 25 deletions(-) commit bce2e60bbb3b7f799a532d9b8f2e171c570b9fea Author: Martin Sustrik Date: Wed Sep 16 09:50:39 2009 +0200 more errors from send & recv handled decently on windows src/tcp_socket.cpp | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 0381a78c0484012e760d61051f325c71136df17e Author: malosek Date: Tue Sep 15 13:47:15 2009 +0200 added reset method into zmq_decoder_t class src/zmq_decoder.cpp | 10 ++++++++++ src/zmq_decoder.hpp | 2 ++ 2 files changed, 12 insertions(+), 0 deletions(-) commit 79d4a6debf2f4a6970c1137f15426ba0c3535ac0 Merge: 7653f34 98b8e9b Author: malosek Date: Tue Sep 15 12:01:07 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 7653f34df0aae4689d0ccc563a2f111f4793e539 Author: malosek Date: Tue Sep 15 12:00:48 2009 +0200 fixed pub_t class creating ZMQ_SUB socket_base_t src/pub.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 98b8e9b54dd8c67006422106b478a3a6eab07869 Merge: a841774 3a3bcd3 Author: Martin Sustrik Date: Tue Sep 15 10:06:42 2009 +0200 Merge branch 'master' of github.com:sustrik/zeromq2 commit a841774cbd6363e6ddccc7a56e9a97d1c1481a76 Author: Martin Sustrik Date: Tue Sep 15 10:04:43 2009 +0200 forwarder renamed to zmq_forwarder (MSVC build) msvc/forwarder/forwarder.vcproj | 174 ------------------------------- msvc/msvc.sln | 10 +- msvc/zmq_forwarder/zmq_forwarder.vcproj | 174 +++++++++++++++++++++++++++++++ 3 files changed, 179 insertions(+), 179 deletions(-) commit 3a3bcd337fb8000aef6c8f5ca3dd1b10475d7ab0 Author: malosek Date: Tue Sep 15 09:57:11 2009 +0200 pgm_sender code beautiication src/pgm_sender.hpp | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) commit f44b215a60f50e8730a50522d7b9f2d5b4381d19 Author: malosek Date: Tue Sep 15 09:47:25 2009 +0200 added out_event call into pgm_sender_t revive src/pgm_sender.cpp | 23 +---------------------- 1 files changed, 1 insertions(+), 22 deletions(-) commit 712c7bd8954a801526e87e652840f7087f9af706 Merge: 3642813 35e82b4 Author: malosek Date: Tue Sep 15 09:46:08 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 35e82b460549e227f6c3409be32d2c657955628c Author: Martin Sustrik Date: Tue Sep 15 09:45:32 2009 +0200 forwarder renamed to zmq_forwarder configure.in | 2 +- devices/Makefile.am | 4 +- devices/forwarder/Makefile.am | 9 -- devices/forwarder/forwarder.cpp | 122 ------------------------------- devices/zmq_forwarder/Makefile.am | 9 ++ devices/zmq_forwarder/zmq_forwarder.cpp | 122 +++++++++++++++++++++++++++++++ 6 files changed, 134 insertions(+), 134 deletions(-) commit 364281343ce0fd03b25bc6b1b451ee7ba8db436b Merge: bdf22e9 f7ad4a2 Author: malosek Date: Tue Sep 15 09:44:44 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit bdf22e9c2fe82366283f4edc02fd59c37fdb2c4b Author: malosek Date: Tue Sep 15 09:43:42 2009 +0200 deleted useles iostream include from socket_base.cpp src/socket_base.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit f7ad4a203ad184d97002111f4ffb8bfe6a8f7c01 Author: Martin Sustrik Date: Mon Sep 14 17:04:57 2009 +0200 forwarder device compilable on windows foreign/xmlParser/xmlParser.cpp | 12 +++- msvc/forwarder/forwarder.vcproj | 174 +++++++++++++++++++++++++++++++++++++++ msvc/msvc.sln | 9 ++ python/pyzmq.cpp | 3 - ruby/rbzmq.cpp | 3 +- 5 files changed, 196 insertions(+), 5 deletions(-) commit 6cfd175e31eec44d215bbc237f2f1d94bfeac06d Author: Martin Sustrik Date: Mon Sep 14 16:45:53 2009 +0200 forwarder device added Makefile.am | 4 +- configure.in | 39 +++++++++--- devices/Makefile.am | 6 ++ devices/forwarder/Makefile.am | 9 +++ devices/forwarder/forwarder.cpp | 122 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 168 insertions(+), 12 deletions(-) commit e2900ce0a1b11ec212aeaf42bbefb26a54697c25 Author: Martin Sustrik Date: Mon Sep 14 14:30:15 2009 +0200 xmlParser added foreign/xmlParser/xmlParser.cpp | 2888 +++++++++++++++++++++++++++++++++++++++ foreign/xmlParser/xmlParser.hpp | 762 +++++++++++ 2 files changed, 3650 insertions(+), 0 deletions(-) commit 2bc9419ced21151fe90c530758dc85b7024fdb70 Author: Martin Sustrik Date: Mon Sep 14 13:54:30 2009 +0200 ZMQII-10: Make connections interrupted during the init phase be closed silently src/zmq_decoder.cpp | 13 +++++++++++-- src/zmq_listener_init.cpp | 7 +++++-- 2 files changed, 16 insertions(+), 4 deletions(-) commit 37cacc5700eaaaddbe2df6e3affeca4a335b023a Author: Martin Sustrik Date: Mon Sep 14 12:28:13 2009 +0200 ZMQII-1: Win32 - failure on shutdown java/Socket.cpp | 2 ++ msvc/libzmq/libzmq.vcproj | 4 ++++ src/select.cpp | 4 ++-- src/socket_base.cpp | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) commit c806aabb2d3e6b1ba9e3f61319f23d45c7f9a007 Author: Martin Sustrik Date: Mon Sep 14 11:25:57 2009 +0200 java binding sets socket options using setsockopt function c/zmq.h | 19 ++++---- java/Socket.cpp | 114 +++++++++++++++++++--------------------------- java/org/zmq/Socket.java | 58 ++++++----------------- src/options.cpp | 5 +- src/options.hpp | 1 - src/socket_base.cpp | 16 ++----- 6 files changed, 77 insertions(+), 136 deletions(-) commit 36707529a7d82b164b59d42fe0d5d8a35c3dd279 Author: Martin Sustrik Date: Mon Sep 14 09:40:35 2009 +0200 minor merge problem corrected src/pub.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 89b1f2782ca6a1db9c68b7d642b5a41cc4d56414 Merge: 47350ad 1a4d6f9 Author: Martin Sustrik Date: Fri Sep 11 18:18:25 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 47350adcb6ea48512d732bc323eb1835a5ac9908 Author: Martin Sustrik Date: Fri Sep 11 18:16:47 2009 +0200 separate class for PUB-style socket added c/zmq.h | 6 +++--- src/Makefile.am | 2 ++ src/app_thread.cpp | 5 ++++- src/pub.cpp | 39 +++++++++++++++++++++++++++++++++++++++ src/pub.hpp | 41 +++++++++++++++++++++++++++++++++++++++++ src/sub.cpp | 12 ++++++++++++ src/sub.hpp | 2 ++ 7 files changed, 103 insertions(+), 4 deletions(-) commit 1a4d6f91194c52795808baa07dcd61a20ff599be Author: malosek Date: Fri Sep 11 17:58:37 2009 +0200 added OpenPGM sender - ZMQ_PUB Makefile.am | 4 +- c/zmq.h | 2 + src/Makefile.am | 6 +- src/app_thread.cpp | 2 +- src/config.hpp | 4 +- src/options.cpp | 4 +- src/options.hpp | 6 + src/pgm_sender.cpp | 224 +++++++++++++++ src/pgm_sender.hpp | 109 ++++++++ src/pgm_socket.cpp | 754 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/pgm_socket.hpp | 153 +++++++++++ src/socket_base.cpp | 105 +++++++- src/socket_base.hpp | 5 +- src/sub.cpp | 2 +- 14 files changed, 1360 insertions(+), 20 deletions(-) commit e940878b3f8ff332df534c4df463cfdf085cc787 Author: Martin Sustrik Date: Fri Sep 11 16:59:47 2009 +0200 build on win32 fixed msvc/libzmq/libzmq.vcproj | 8 ++++++++ src/socket_base.cpp | 2 +- src/tcp_connecter.cpp | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) commit 7be7962f9802b48e66663416097eb76edfa83e1e Author: Martin Sustrik Date: Fri Sep 11 16:23:16 2009 +0200 prefix-style message filtering added src/sub.cpp | 61 +++++++++++++++++++++++++++++++++++++++++++++------------- src/sub.hpp | 10 +++++++- 2 files changed, 55 insertions(+), 16 deletions(-) commit 42ad2aa02d3b14eaa3c36c3f1a5a5789546ba411 Author: Martin Sustrik Date: Fri Sep 11 15:51:35 2009 +0200 ZMQII-7: Pipe detach fails on shutdown src/socket_base.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 29c5930d0b9a4a1df3b90819bdfbfff6a66fedd0 Author: Martin Sustrik Date: Fri Sep 11 14:17:57 2009 +0200 asserts for invalid indexes in pipe reader & writer added src/pipe.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e0d1294c4bae51a2bc83a09225e89dddc9b6dcf4 Merge: 5daa0de a91b449 Author: Martin Sustrik Date: Fri Sep 11 13:20:57 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 5daa0dec0f473c84aab6b12cdc5541335e74f07f Author: Martin Sustrik Date: Fri Sep 11 13:20:24 2009 +0200 ZMQII-5: Only one consumer in a process gets the message src/session.cpp | 23 ++++++++++++++--------- src/zmq_connecter_init.cpp | 4 +++- src/zmq_engine.cpp | 2 ++ src/zmq_listener_init.cpp | 4 +++- 4 files changed, 22 insertions(+), 11 deletions(-) commit a91b44977201e4b3891c70da0472a332f60a39fc Author: malosek Date: Fri Sep 11 11:21:40 2009 +0200 Revert "link libzmq with glib when congifured --with-pgm" This reverts commit 88695aaee607e6f4db1f4fd052e2596653fb18b2. c/zmq.h | 2 - perf/cpp/remote_thr.cpp | 13 +------- src/Makefile.am | 6 +--- src/config.hpp | 4 +-- src/options.cpp | 4 +-- src/options.hpp | 6 ---- src/socket_base.cpp | 74 +++++++--------------------------------------- 7 files changed, 16 insertions(+), 93 deletions(-) commit 88695aaee607e6f4db1f4fd052e2596653fb18b2 Author: malosek Date: Fri Sep 11 11:13:15 2009 +0200 link libzmq with glib when congifured --with-pgm c/zmq.h | 2 + perf/cpp/remote_thr.cpp | 13 +++++++- src/Makefile.am | 6 +++- src/config.hpp | 4 ++- src/options.cpp | 4 ++- src/options.hpp | 6 ++++ src/socket_base.cpp | 74 +++++++++++++++++++++++++++++++++++++++------- 7 files changed, 93 insertions(+), 16 deletions(-) commit f824b8a067c60b32260c56020742d6428ed3bb98 Author: Martin Sustrik Date: Thu Sep 10 16:59:22 2009 +0200 classify error from async connect as network related or 0MQ bugs src/tcp_connecter.cpp | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit f674c9269e04546da22e45ef6fff9303441680ea Author: Martin Sustrik Date: Thu Sep 10 16:32:06 2009 +0200 ZMQII-2: SIGSEGV in zmq_connecter_init_t::read src/zmq_decoder.cpp | 2 +- src/zmq_encoder.cpp | 2 +- src/zmq_engine.cpp | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) commit 93e70ee583489034c9f3b92fb87b374707afd5d5 Author: Martin Sustrik Date: Thu Sep 10 15:20:54 2009 +0200 throughput tests use P2P sockets consistently perf/cpp/remote_thr.cpp | 2 +- perf/java/local_thr.java | 2 +- perf/java/remote_thr.java | 2 +- perf/ruby/local_thr.rb | 2 +- perf/ruby/remote_thr.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 95944551be93665fe4dcadbe00168da553b7d82f Merge: 5acef9f b3f32e2 Author: malosek Date: Thu Sep 10 12:04:26 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit b3f32e219ec15a582b6fd03b155e0861443690f6 Author: Martin Sustrik Date: Thu Sep 10 12:00:47 2009 +0200 ZMQII-3: cheap and nasty implementation of message filtering c/zmq.h | 2 + src/Makefile.am | 2 + src/app_thread.cpp | 18 ++++++++++- src/socket_base.cpp | 5 +++ src/socket_base.hpp | 2 +- src/sub.cpp | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/sub.hpp | 51 +++++++++++++++++++++++++++++++ 7 files changed, 159 insertions(+), 3 deletions(-) commit 5acef9fc96280df934176b02de724eb904e4bba3 Author: malosek Date: Thu Sep 10 11:21:05 2009 +0200 added --with-pgm option, libpgm-1.2.14 build within 0mq build system Makefile.am | 3 + configure.in | 119 +++++++++++++++++++++++++++++++- foreign/openpgm/libpgm-1.2.14.tar.bz2 | Bin 0 -> 280029 bytes src/Makefile.am | 64 +++++++++++++++++- src/platform.hpp.in | 3 + 5 files changed, 183 insertions(+), 6 deletions(-) commit d81d3412520c9fed36f39462840c7d35815f4a87 Merge: 1864832 4cc923b Author: Martin Sustrik Date: Wed Sep 9 12:14:04 2009 +0200 Merge branch 'master' of github.com:sustrik/zeromq2 commit 1864832adaa173b7c85d4321b8ff8c396ce6b9af Author: Martin Sustrik Date: Wed Sep 9 12:13:19 2009 +0200 building zmq.jar on win32 fixed msvc/java/java.vcproj | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 4cc923b0252a0f1f0ee52508b7a3108e8e3c0950 Author: malosek Date: Wed Sep 9 11:19:05 2009 +0200 Stop configure, when could not link with libuuid configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 65b8b2d2c78867ee2671f995f5f7c805abd00df2 Merge: 305b81d d743d97 Author: Martin Sustrik Date: Wed Sep 9 11:08:39 2009 +0200 Merge branch 'master' of github.com:sustrik/zeromq2 commit 305b81dbdf63ab1b66733a330b2c64a980712b8b Author: Martin Sustrik Date: Wed Sep 9 11:07:48 2009 +0200 higher precision time measurement in python perf tests perf/python/local_thr.py | 8 ++++---- perf/python/remote_lat.py | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) commit d743d97e365b1d430b6c63de2782392a5f8f5305 Author: malosek Date: Wed Sep 9 10:37:40 2009 +0200 Updated AUTHORS, ChangeLog, README and added COPYING.LESSER files AUTHORS | 38 +++++++++ COPYING.LESSER | 166 ++++++++++++++++++++++++++++++++++++++++ ChangeLog | 231 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README | 4 + 4 files changed, 439 insertions(+), 0 deletions(-) commit 4d07d7cabe1a865812cf5d95a84557880e3c3096 Author: Martin Sustrik Date: Wed Sep 9 10:08:46 2009 +0200 fix of async connect on win32 src/tcp_connecter.cpp | 4 +++- src/zmq_connecter.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) commit c99f39abc669084fd3a94675ee98e235448ad5a4 Merge: 37d8371 cb78991 Author: Martin Sustrik Date: Wed Sep 9 09:07:11 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 37d8371967308ab1e541cf58b91e368b3e0b526c Author: Martin Sustrik Date: Wed Sep 9 09:03:30 2009 +0200 async connect bug fixed src/zmq_connecter.cpp | 19 ++++++------------- 1 files changed, 6 insertions(+), 13 deletions(-) commit cb78991f8e20fa35d99fa209be659c0aed59de47 Merge: 734a62c d3fb9f9 Author: malosek Date: Tue Sep 8 16:55:28 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 734a62c12d2e2fb009ccf97d7d188060a474cc17 Author: malosek Date: Tue Sep 8 16:55:03 2009 +0200 Sparc solaris port configure.in | 1 + src/devpoll.cpp | 6 ++++-- src/object.hpp | 2 +- src/tcp_socket.cpp | 3 ++- src/zmq.cpp | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) commit d3fb9f90af73a46e02b7e8780a8db95a31360d56 Author: Martin Sustrik Date: Tue Sep 8 16:16:01 2009 +0200 missing java MSVC project added msvc/java/java.vcproj | 244 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 244 insertions(+), 0 deletions(-) commit dadfd243649fbde768a24c677fa952f90d00589d Merge: ef34c94 844b590 Author: Martin Sustrik Date: Tue Sep 8 15:11:19 2009 +0200 Merge branch 'master' of github.com:sustrik/zeromq2 commit ef34c94c3a9cbda87b0a4512ec56415b023aff0b Author: Martin Sustrik Date: Tue Sep 8 15:10:10 2009 +0200 win build for python msvc/msvc.sln | 8 ++ msvc/python/python.vcproj | 176 +++++++++++++++++++++++++++++++++++++++++++++ python/pyzmq.cpp | 9 +++ 3 files changed, 193 insertions(+), 0 deletions(-) commit 844b590b5e348d8513ed574f6548cc0be41574af Author: malosek Date: Tue Sep 8 15:06:08 2009 +0200 added libzmq.pc.in file configure.in | 2 +- src/Makefile.am | 2 ++ src/libzmq.pc.in | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletions(-) commit b3fc14522574ccad233bee02ea135d8a93fb2441 Merge: 2a4a10c 3069b6b Author: malosek Date: Tue Sep 8 14:54:52 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 2a4a10c8be92c5ce6314378fc4de163888075279 Author: malosek Date: Tue Sep 8 14:54:04 2009 +0200 build system tuning Makefile.am | 8 ++++++-- configure.in | 37 +++++++++++++++++++++++++++++++++---- java/Makefile.am | 6 +++--- perf/Makefile.am | 25 +++++++++++++++++++++++-- perf/java/Makefile.am | 5 +++++ perf/python/Makefile.am | 6 +----- perf/ruby/Makefile.am | 1 + python/pyzmq.cpp | 2 +- ruby/rbzmq.cpp | 3 ++- src/Makefile.am | 2 +- 10 files changed, 76 insertions(+), 19 deletions(-) commit 3069b6bd54486346f7bfcce58d6a5e34d129965c Author: Martin Sustrik Date: Tue Sep 8 13:55:13 2009 +0200 win port of java binding + java perf tests java/Context.cpp | 7 ++ java/Message.cpp | 138 --------------------------------- java/Socket.cpp | 7 ++ java/org/zmq/Socket.java | 2 +- msvc/j_local_lat/j_local_lat.vcproj | 78 ++++++++++++++++++ msvc/j_local_thr/j_local_thr.vcproj | 78 ++++++++++++++++++ msvc/j_remote_lat/j_remote_lat.vcproj | 78 ++++++++++++++++++ msvc/j_remote_thr/j_remote_thr.vcproj | 78 ++++++++++++++++++ msvc/msvc.sln | 45 +++++++++++ perf/c/local_thr.c | 3 +- 10 files changed, 374 insertions(+), 140 deletions(-) commit ec6822a477b89ac77afc90425bf36c4829dbef3d Author: unknown Date: Tue Sep 8 11:30:49 2009 +0200 win port for c and cpp perf tests c/zmq.h | 8 +- cpp/zmq.hpp | 7 + msvc/c_local_lat/c_local_lat.vcproj | 176 +++++++++++++++++++++++++++++ msvc/c_local_thr/c_local_thr.vcproj | 176 +++++++++++++++++++++++++++++ msvc/c_remote_lat/c_remote_lat.vcproj | 176 +++++++++++++++++++++++++++++ msvc/c_remote_thr/c_remote_thr.vcproj | 176 +++++++++++++++++++++++++++++ msvc/cpp_local_lat/cpp_local_lat.vcproj | 176 +++++++++++++++++++++++++++++ msvc/cpp_local_thr/cpp_local_thr.vcproj | 176 +++++++++++++++++++++++++++++ msvc/cpp_remote_lat/cpp_remote_lat.vcproj | 176 +++++++++++++++++++++++++++++ msvc/cpp_remote_thr/cpp_remote_thr.vcproj | 176 +++++++++++++++++++++++++++++ msvc/libzmq/libzmq.vcproj | 10 ++- msvc/msvc.sln | 72 ++++++++++++ perf/c/local_lat.c | 3 +- perf/c/local_thr.c | 24 +--- perf/c/remote_lat.c | 19 +--- perf/c/remote_thr.c | 3 +- perf/cpp/local_lat.cpp | 3 +- perf/cpp/local_thr.cpp | 20 +--- perf/cpp/remote_lat.cpp | 16 +-- perf/cpp/remote_thr.cpp | 3 +- src/fd_signaler.cpp | 2 +- src/tcp_connecter.cpp | 18 +++- src/tcp_listener.cpp | 89 ++++++++++++++- src/tcp_socket.cpp | 5 + src/zmq.cpp | 67 +++++++++++- 25 files changed, 1702 insertions(+), 75 deletions(-) commit b71c3005e68d02f800ff09bcacece79d167bff75 Author: malosek Date: Mon Sep 7 17:06:47 2009 +0200 include directory split into c and cpp dirs, added --with-c and --with-cpp configure options Makefile.am | 2 - autogen.sh | 8 ++- c/zmq.h | 206 +++++++++++++++++++++++++++++++++++++ configure.in | 45 ++++++--- cpp/zmq.hpp | 276 ++++++++++++++++++++++++++++++++++++++++++++++++++ include/zmq.h | 206 ------------------------------------- include/zmq.hpp | 276 -------------------------------------------------- perf/c/Makefile.am | 4 +- perf/cpp/Makefile.am | 4 +- src/Makefile.am | 15 ++- src/app_thread.cpp | 2 +- src/dispatcher.cpp | 2 +- src/i_inout.hpp | 2 +- src/io_thread.cpp | 2 +- src/msg_content.hpp | 2 +- src/pipe.cpp | 2 +- src/pipe.hpp | 2 +- src/socket_base.cpp | 2 +- src/zmq.cpp | 2 +- src/zmq_decoder.hpp | 2 +- src/zmq_encoder.hpp | 2 +- 21 files changed, 547 insertions(+), 517 deletions(-) commit f895426c1885729f4a4a20b1eb543a92915aed85 Author: unknown Date: Mon Sep 7 15:41:43 2009 +0200 initial changes for win port include/zmq.h | 5 +- msvc/libzmq/libzmq.vcproj | 520 +++++++++++++++++++++++++++++++++++++++++++++ msvc/msvc.sln | 20 ++ msvc/platform.hpp | 59 +++++ src/app_thread.cpp | 2 + src/fd_signaler.cpp | 1 + src/options.hpp | 2 + src/pipe.cpp | 4 +- src/tcp_connecter.cpp | 75 +++++++- src/tcp_listener.cpp | 1 - src/tcp_socket.cpp | 74 ++++++- src/uuid.cpp | 13 +- src/uuid.hpp | 11 +- src/zmq_connecter.cpp | 2 +- 14 files changed, 764 insertions(+), 25 deletions(-) commit 87ccbb9fae0f9234f82f9a9ec6a215f5e73209d3 Merge: 67253f3 d62c742 Author: Martin Sustrik Date: Mon Sep 7 11:10:58 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit d62c74232a4c1edd38004933afd0c7dc119bd98b Merge: 11a6cb9 63b56d7 Author: Martin Sustrik Date: Mon Sep 7 11:01:42 2009 +0200 Merge branch 'master' of git://github.com/sustrik/zeromq2 commit 11a6cb925f7ff3d17f48edccc886839b4d49ef0b Author: Martin Sustrik Date: Mon Sep 7 11:00:20 2009 +0200 Ruby binding functional perf/ruby/local_lat.rb | 66 ++----- perf/ruby/local_thr.rb | 90 +++------- perf/ruby/remote_lat.rb | 64 +++---- perf/ruby/remote_thr.rb | 48 ++---- ruby/Makefile.am | 2 +- ruby/rbzmq.cpp | 292 ++++++++++++++++++++++++++++++ ruby/zmq.cpp | 460 ----------------------------------------------- 7 files changed, 382 insertions(+), 640 deletions(-) commit 67253f3186488db93dee23bd9194419f58f0b1d3 Author: Martin Sustrik Date: Sat Sep 5 09:30:12 2009 +0200 Java perf tests added java/Context.cpp | 15 ++--- java/Makefile.am | 22 +------ java/Socket.cpp | 140 +++++++++++++++++++++++--------------------- java/org/zmq/Context.java | 3 + java/org/zmq/Message.java | 66 --------------------- java/org/zmq/Socket.java | 42 +++++++------- perf/cpp/local_thr.cpp | 2 +- perf/cpp/remote_lat.cpp | 6 +- perf/java/local_lat.java | 55 ++++++++++++++++++ perf/java/local_thr.java | 65 +++++++++++++++++++++ perf/java/remote_lat.java | 60 +++++++++++++++++++ perf/java/remote_thr.java | 53 +++++++++++++++++ 12 files changed, 343 insertions(+), 186 deletions(-) commit 63b56d7fb38624c32111f9188d54b6fefb10a0e5 Author: Martin Sustrik Date: Fri Sep 4 16:21:39 2009 +0200 python perf tests are included into distribution package configure.in | 3 ++- perf/Makefile.am | 4 ++-- perf/python/Makefile.am | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) commit 4307baf7bcc71ca91da0175e79cdfbf6cc1ad770 Author: Martin Sustrik Date: Fri Sep 4 16:02:41 2009 +0200 python binding functional perf/c/local_lat.c | 11 +++++++---- perf/c/local_thr.c | 10 ++++++---- perf/c/remote_lat.c | 11 +++++++---- perf/c/remote_thr.c | 11 +++++++---- perf/cpp/local_lat.cpp | 8 ++++---- perf/cpp/local_thr.cpp | 8 ++++---- perf/cpp/remote_lat.cpp | 8 ++++---- perf/cpp/remote_thr.cpp | 8 ++++---- perf/python/local_lat.py | 6 +++--- perf/python/remote_lat.py | 4 ++-- perf/python/remote_thr.py | 2 +- src/app_thread.cpp | 4 +--- src/dispatcher.cpp | 36 +++++++++++++++++++++++++++++++++++- src/dispatcher.hpp | 25 ++++++++++++++++++++++--- src/object.cpp | 5 +++++ src/object.hpp | 1 + src/session.cpp | 7 ++++++- src/socket_base.cpp | 12 +++++++++++- src/zmq.cpp | 3 +-- 19 files changed, 131 insertions(+), 49 deletions(-) commit 450b31c3b263ee6ceea27517a2a969d0c74bcd7e Author: Martin Sustrik Date: Fri Sep 4 11:08:13 2009 +0200 bug in python binding fixed python/pyzmq.cpp | 25 ++++++++----------------- 1 files changed, 8 insertions(+), 17 deletions(-) commit 103cbee6a509e55ff5def82eb5ec3ef7feb319a3 Author: Martin Sustrik Date: Fri Sep 4 09:51:42 2009 +0200 couple of bugs fixed src/Makefile.am | 6 +++++- src/tcp_socket.cpp | 2 +- src/zmq_connecter_init.cpp | 1 - src/zmq_engine.cpp | 7 ++----- src/zmq_listener_init.cpp | 3 ++- 5 files changed, 10 insertions(+), 9 deletions(-) commit 4914e5c9d192ac6763e5da6fa28ea503ee769bf0 Author: Martin Sustrik Date: Wed Sep 2 16:16:25 2009 +0200 O(1) socket removal src/app_thread.cpp | 12 ++++++------ src/socket_base.cpp | 14 +++++++++++++- src/socket_base.hpp | 7 +++++++ 3 files changed, 26 insertions(+), 7 deletions(-) commit f92de9b2a9ad73fd7cd966e65b5a06b725e779fc Author: Martin Sustrik Date: Wed Sep 2 14:59:53 2009 +0200 bug during terminal shutdown fixed perf/c/local_lat.c | 13 +++++++++---- perf/c/local_thr.c | 5 ++++- perf/c/remote_lat.c | 15 ++++++++++----- perf/c/remote_thr.c | 3 +++ perf/cpp/local_thr.cpp | 2 +- perf/cpp/remote_lat.cpp | 2 +- src/session.cpp | 18 +++++++++++++----- 7 files changed, 41 insertions(+), 17 deletions(-) commit 702fdbb5dd6a83e7f656e8d1190e695ebb636765 Author: Martin Sustrik Date: Wed Sep 2 11:58:39 2009 +0200 messages that may have been received in the init phase are flushed immediately after engine is plugged in src/zmq_engine.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 75a5a8732cd5be1bb3bff608e352bf4ac624ffd4 Author: Martin Sustrik Date: Wed Sep 2 10:59:31 2009 +0200 --disable-shared & C perf tests: a better way configure.in | 1 + perf/c/Makefile.am | 8 ++++---- src/platform.hpp.in | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) commit 947b46319314dfab0e545282e9ccfc708d6f57e3 Author: Martin Sustrik Date: Wed Sep 2 10:46:10 2009 +0200 building C perf tests with --disable-shared fixed perf/c/Makefile.am | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 5e08a89d1c0edf44e15f262dd0f27a1c03bcd699 Merge: 6a5120b 1f06d99 Author: Martin Sustrik Date: Wed Sep 2 10:23:01 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 6a5120b1f1c48d19b777f76ac756b00fb624d110 Author: Martin Sustrik Date: Wed Sep 2 10:22:23 2009 +0200 python extension & perf tests include/zmq.h | 6 +- perf/c/local_thr.c | 6 +- perf/cpp/local_thr.cpp | 5 +- perf/python/local_lat.py | 42 +-- perf/python/local_thr.py | 44 +-- perf/python/remote_lat.py | 43 ++- perf/python/remote_thr.py | 17 +- python/pyzmq.cpp | 924 ++++++++++++++++----------------------------- src/i_endpoint.hpp | 2 + src/session.cpp | 29 +- src/session.hpp | 13 +- src/socket_base.cpp | 30 +- src/socket_base.hpp | 2 + 13 files changed, 452 insertions(+), 711 deletions(-) commit 1f06d99a0f563fdc32e9c00392f9875ba3009593 Author: Martin Hurton Date: Mon Aug 31 13:11:46 2009 +0200 Add Java binding Makefile.am | 8 +- configure.in | 54 +++++++++- java/Context.cpp | 92 +++++++++++++++ java/Makefile.am | 72 ++++++++++++ java/Message.cpp | 138 ++++++++++++++++++++++ java/Socket.cpp | 276 +++++++++++++++++++++++++++++++++++++++++++++ java/org/zmq/Context.java | 47 ++++++++ java/org/zmq/Message.java | 66 +++++++++++ java/org/zmq/Socket.java | 141 +++++++++++++++++++++++ 9 files changed, 891 insertions(+), 3 deletions(-) commit 0aacee389fdb553ef9925d0135eefcb501a67726 Author: Martin Hurton Date: Mon Aug 31 11:31:32 2009 +0200 POSIX threads don't use errno to report errors Fix simple_semaphore to follow POSIX threads convention for reporting errors. src/err.hpp | 9 +++++---- src/simple_semaphore.hpp | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) commit 72fdf47d16c8d3ecd9da657b4649978e414d775c Author: Martin Sustrik Date: Mon Aug 31 12:50:53 2009 +0200 python perf tests added perf/python/local_lat.py | 67 ++++++++++++++++++++++++++++++++++++++++++++ perf/python/local_thr.py | 68 +++++++++++++++++++++++++++++++++++++++++++++ perf/python/remote_lat.py | 59 +++++++++++++++++++++++++++++++++++++++ perf/python/remote_thr.py | 50 +++++++++++++++++++++++++++++++++ 4 files changed, 244 insertions(+), 0 deletions(-) commit b6d345f4a6402cf2e831a8b9d113f036b394a0bc Author: Martin Sustrik Date: Mon Aug 31 12:45:42 2009 +0200 Ruby perf tests added perf/ruby/local_lat.rb | 75 +++++++++++++++++++++++++++++++++++++++ perf/ruby/local_thr.rb | 90 +++++++++++++++++++++++++++++++++++++++++++++++ perf/ruby/remote_lat.rb | 61 ++++++++++++++++++++++++++++++++ perf/ruby/remote_thr.rb | 55 ++++++++++++++++++++++++++++ 4 files changed, 281 insertions(+), 0 deletions(-) commit 314deb61851a0ddc37228d24e9f4eb106461370a Author: Martin Sustrik Date: Sun Aug 30 15:47:39 2009 +0200 build system for perf/C and perf/C++ Makefile.am | 4 ++-- configure.in | 3 ++- include/zmq.h | 24 ++++++++++++------------ perf/Makefile.am | 2 ++ perf/c/Makefile.am | 20 ++++++++++++++++++++ perf/c/local_lat.c | 2 +- perf/c/local_thr.c | 19 ++++++++++--------- perf/c/remote_lat.c | 7 +++---- perf/c/remote_thr.c | 4 ++-- perf/cpp/Makefile.am | 20 ++++++++++++++++++++ perf/cpp/local_lat.cpp | 3 ++- perf/cpp/local_thr.cpp | 10 ++++++---- perf/cpp/remote_lat.cpp | 3 ++- perf/cpp/remote_thr.cpp | 3 ++- 14 files changed, 86 insertions(+), 38 deletions(-) commit 6c36673949b2256158e8914119d218dce311c585 Author: Martin Sustrik Date: Sun Aug 30 15:03:16 2009 +0200 C perf tests added perf/c/local_lat.c | 70 +++++++++++++++++++++++++++++++++++++++ perf/c/local_thr.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++ perf/c/remote_lat.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ perf/c/remote_thr.c | 67 +++++++++++++++++++++++++++++++++++++ 4 files changed, 318 insertions(+), 0 deletions(-) commit 4617fd9e9c50a9fa3a8cbf3b25e6061e3a8f10c8 Author: Martin Sustrik Date: Sun Aug 30 09:14:15 2009 +0200 c++ perf tests added .gitignore | 12 +++++++- perf/cpp/local_lat.cpp | 52 ++++++++++++++++++++++++++++++++++ perf/cpp/local_thr.cpp | 72 +++++++++++++++++++++++++++++++++++++++++++++++ perf/cpp/remote_lat.cpp | 69 +++++++++++++++++++++++++++++++++++++++++++++ perf/cpp/remote_thr.cpp | 50 ++++++++++++++++++++++++++++++++ 5 files changed, 254 insertions(+), 1 deletions(-) commit 176879e5bbce6115ff5741f2426f689bda312109 Author: Martin Sustrik Date: Sun Aug 30 08:18:31 2009 +0200 engine virtualised; chatroom example removed .gitignore | 5 +++ Makefile.am | 5 +-- configure.in | 3 +- examples/Makefile.am | 2 - examples/chat/Makefile.am | 15 --------- examples/chat/chatroom.cpp | 74 -------------------------------------------- examples/chat/display.cpp | 55 -------------------------------- examples/chat/prompt.cpp | 61 ------------------------------------ src/Makefile.am | 1 + src/command.hpp | 2 +- src/i_engine.hpp | 43 +++++++++++++++++++++++++ src/object.cpp | 5 +-- src/object.hpp | 4 +- src/owned.cpp | 2 +- src/owned.hpp | 2 +- src/session.cpp | 4 +- src/session.hpp | 4 +- src/zmq_engine.hpp | 9 ++--- 18 files changed, 67 insertions(+), 229 deletions(-) commit 1d650934e477be32db9a3c64de077deed0416689 Author: tamara Date: Sat Aug 29 11:31:32 2009 +0200 Ruby bidning added Makefile.am | 8 +- configure.in | 57 ++++++- ruby/Makefile.am | 11 ++ ruby/extconf.rb | 24 +++ ruby/zmq.cpp | 460 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/platform.hpp.in | 3 + 6 files changed, 559 insertions(+), 4 deletions(-) commit 3666a49022f84b3d1888f630a78f3f8f28aadde1 Author: Martin Sustrik Date: Sat Aug 29 10:32:21 2009 +0200 bug in identifying current thread fixed src/app_thread.cpp | 8 +++++--- src/app_thread.hpp | 9 ++++++--- src/thread.cpp | 20 ++++++++++++++++++++ src/thread.hpp | 9 +++++++++ 4 files changed, 40 insertions(+), 6 deletions(-) commit 6996ef6f1a0a50a754608df9444e425d0900b143 Author: Martin Sustrik Date: Sat Aug 29 09:41:50 2009 +0200 improved error handling include/zmq.hpp | 127 +++++++++++++++++++++----------------------------- src/ip.cpp | 3 +- src/tcp_listener.cpp | 9 ++-- src/tcp_listener.hpp | 5 +-- src/zmq_listener.cpp | 4 -- 5 files changed, 61 insertions(+), 87 deletions(-) commit cb09c6951e2c4405318b422a1f9213af3e4b6b8a Author: Martin Sustrik Date: Fri Aug 28 16:51:46 2009 +0200 pipe deallocation added src/command.hpp | 11 +++++++ src/dispatcher.cpp | 20 ++++++++++++ src/dispatcher.hpp | 18 +++++++++++ src/i_endpoint.hpp | 2 + src/object.cpp | 44 +++++++++++++++++++++++++++ src/object.hpp | 8 +++++ src/pipe.cpp | 81 +++++++++++++++++++++++++++++++++++++++++++++++++-- src/pipe.hpp | 30 ++++++++++++++++-- src/session.cpp | 18 +++++++++++ src/session.hpp | 2 + src/socket_base.cpp | 80 +++++++++++++++++++++++++++++++++++++------------- src/socket_base.hpp | 13 ++------ 12 files changed, 290 insertions(+), 37 deletions(-) commit 2dd501651592baa7f9e49f52e1321ae2b9b4e126 Author: Martin Sustrik Date: Thu Aug 27 16:24:21 2009 +0200 multiple bugs fixed src/i_inout.hpp | 8 ++++++++ src/pipe.hpp | 3 ++- src/session.cpp | 13 ++++++++++++- src/session.hpp | 1 + src/zmq_connecter_init.cpp | 6 ++++++ src/zmq_connecter_init.hpp | 1 + src/zmq_encoder.cpp | 1 - src/zmq_engine.cpp | 5 ++++- src/zmq_listener_init.cpp | 33 ++++++++++++++++++++++----------- src/zmq_listener_init.hpp | 5 +++++ 10 files changed, 61 insertions(+), 15 deletions(-) commit 67194267f89d63391288600f127205a2b7a8a5ae Merge: 99c5d92 67c69f9 Author: Martin Sustrik Date: Thu Aug 27 10:55:26 2009 +0200 Merge branch 'master' of git@github.com:sustrik/zeromq2 commit 99c5d9283622a0b37ee80f83ff4875c059fc5990 Author: Martin Sustrik Date: Thu Aug 27 10:54:28 2009 +0200 pipes added include/zmq.h | 2 +- src/Makefile.am | 2 + src/app_thread.cpp | 26 +++--- src/app_thread.hpp | 4 +- src/command.hpp | 11 ++- src/config.hpp | 8 ++ src/i_endpoint.hpp | 33 +++++++ src/object.cpp | 30 ++++++- src/object.hpp | 9 +- src/pipe.cpp | 112 ++++++++++++++++++++++ src/pipe.hpp | 102 ++++++++++++++++++++ src/session.cpp | 56 ++++++++++- src/session.hpp | 24 +++++- src/socket_base.cpp | 227 +++++++++++++++++++++++++++++++++++++++++++- src/socket_base.hpp | 42 ++++++++- src/ypipe.hpp | 22 ++-- src/yqueue.hpp | 2 +- src/zmq_encoder.cpp | 4 +- src/zmq_engine.cpp | 7 +- src/zmq_engine.hpp | 4 + src/zmq_listener_init.cpp | 3 +- 21 files changed, 680 insertions(+), 50 deletions(-) commit 67c69f952c956fb151c654726b4fc67e122722ff Author: Martin Hurton Date: Wed Aug 26 15:50:37 2009 +0200 make configure respect --with-python option configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit aacdb7a454686bfac93164d0e67e785658d48a3c Author: tamara Date: Mon Aug 24 12:04:15 2009 +0200 python build fix Makefile.am | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 77bc3790fa9e781ad26ec881175d22d807e16acf Author: tamara Date: Mon Aug 24 11:17:16 2009 +0200 python extension added Makefile.am | 4 +- configure.in | 59 ++++- python/Makefile.am | 7 + python/pyzmq.cpp | 756 ++++++++++++++++++++++++++++++++++++++++++++++++++++ python/setup.py.in | 14 + 5 files changed, 837 insertions(+), 3 deletions(-) commit 6be4b0143793ab5ceebc5d9d6bbe5c2f1333a0d2 Author: Martin Sustrik Date: Fri Aug 21 14:29:22 2009 +0200 session management implemented include/zmq.h | 28 ++++++------ include/zmq.hpp | 11 ++-- src/Makefile.am | 10 ++-- src/i_inout.hpp | 4 +- src/msg.hpp | 49 ------------------- src/msg_content.hpp | 50 +++++++++++++++++++ src/object.cpp | 5 +- src/object.hpp | 4 ++ src/owned.cpp | 10 ++++- src/owned.hpp | 4 ++ src/pipe.hpp | 2 +- src/session.cpp | 39 ++++++++++++---- src/session.hpp | 15 ++++-- src/socket_base.cpp | 77 +++++++++++++++++++++--------- src/socket_base.hpp | 24 ++++++---- src/zmq.cpp | 111 +++++++++++++++++++++++-------------------- src/zmq_connecter.cpp | 11 +++-- src/zmq_connecter.hpp | 10 +++- src/zmq_connecter_init.cpp | 94 +++++++++++++++++++++++++++++++++++++ src/zmq_connecter_init.hpp | 75 +++++++++++++++++++++++++++++ src/zmq_decoder.hpp | 2 +- src/zmq_encoder.hpp | 2 +- src/zmq_init.cpp | 112 -------------------------------------------- src/zmq_init.hpp | 82 -------------------------------- src/zmq_listener.cpp | 5 +- src/zmq_listener_init.cpp | 96 +++++++++++++++++++++++++++++++++++++ src/zmq_listener_init.hpp | 71 ++++++++++++++++++++++++++++ 27 files changed, 621 insertions(+), 382 deletions(-) commit a801b6d8b37557ccfb53030dca22f89a3f99b59c Author: Martin Sustrik Date: Thu Aug 20 11:32:23 2009 +0200 couple of bugs in shutdown mechanism fixed src/command.hpp | 11 +++++++-- src/object.cpp | 43 +++++++++++++++++++++++++++++++++------ src/object.hpp | 19 +++++++++++------ src/owned.cpp | 53 ++++++++++++++++++++++++------------------------- src/owned.hpp | 33 +++++++++++++++++++++--------- src/session.cpp | 5 +++- src/session.hpp | 2 +- src/socket_base.cpp | 40 +++++++++++++++++++++++++++++++++++- src/socket_base.hpp | 26 +++++++++++++++++++++-- src/zmq_connecter.cpp | 4 +- src/zmq_connecter.hpp | 2 +- src/zmq_engine.cpp | 3 +- src/zmq_init.cpp | 8 ++++-- src/zmq_init.hpp | 2 +- src/zmq_listener.cpp | 4 +- src/zmq_listener.hpp | 2 +- 16 files changed, 184 insertions(+), 73 deletions(-) commit 131f2e309668d1e64cfcb4aeb869665d8018bcfe Author: Martin Sustrik Date: Mon Aug 17 14:07:34 2009 +0200 subscribe API removed examples/chat/display.cpp | 1 - include/zmq.h | 3 --- include/zmq.hpp | 6 ------ src/socket_base.cpp | 5 ----- src/socket_base.hpp | 1 - src/zmq.cpp | 5 ----- 6 files changed, 0 insertions(+), 21 deletions(-) commit 059beca59d39d90a8ee0e1b07f840994962ea89e Author: Martin Sustrik Date: Wed Aug 12 09:40:16 2009 +0200 listener/connecter/init/session added include/zmq.h | 2 +- src/Makefile.am | 13 ++ src/atomic.hpp | 310 ------------------------------------------------- src/i_inout.hpp | 37 ++++++ src/io_object.cpp | 47 +------- src/io_object.hpp | 50 ++------ src/options.cpp | 29 +++++ src/options.hpp | 42 +++++++ src/owned.cpp | 74 ++++++++++++ src/owned.hpp | 82 +++++++++++++ src/session.cpp | 58 +++++++++ src/session.hpp | 57 +++++++++ src/socket_base.cpp | 29 ++--- src/socket_base.hpp | 8 +- src/zmq_connecter.cpp | 36 ++++--- src/zmq_connecter.hpp | 17 ++- src/zmq_decoder.cpp | 78 ++++++++++++ src/zmq_decoder.hpp | 57 +++++++++ src/zmq_encoder.cpp | 76 ++++++++++++ src/zmq_encoder.hpp | 55 +++++++++ src/zmq_engine.cpp | 107 +++++++++++++++++- src/zmq_engine.hpp | 33 +++++- src/zmq_init.cpp | 110 +++++++++++++++++ src/zmq_init.hpp | 82 +++++++++++++ src/zmq_listener.cpp | 25 ++-- src/zmq_listener.hpp | 11 ++- 26 files changed, 1070 insertions(+), 455 deletions(-) commit bda766ab401b6c565fe9c2d0bc80c11bbbe84488 Author: Martin Sustrik Date: Sun Aug 9 16:30:22 2009 +0200 redundant interface (i_api) removed src/Makefile.am | 2 - src/app_thread.cpp | 5 +-- src/app_thread.hpp | 6 ++-- src/dispatcher.cpp | 3 +- src/dispatcher.hpp | 2 +- src/i_api.hpp | 43 ----------------------------------- src/i_poll_events.hpp | 60 ++++++++++++++++++++++++------------------------ src/socket_base.hpp | 21 ++++++++--------- src/zmq.cpp | 19 ++++++++------- 9 files changed, 57 insertions(+), 104 deletions(-) commit 9f1f823b7b69ced56bdb0416feef71230cc7fd55 Author: Martin Sustrik Date: Sun Aug 9 16:12:09 2009 +0200 zmq_listener/zmq_connecter implemented src/Makefile.am | 2 + src/io_object.cpp | 13 +++--- src/io_object.hpp | 18 +++++--- src/socket_base.cpp | 12 ++++- src/tcp_connecter.cpp | 24 ++++++----- src/tcp_connecter.hpp | 9 ++++- src/zmq_connecter.cpp | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ src/zmq_connecter.hpp | 70 +++++++++++++++++++++++++++++++ src/zmq_listener.cpp | 9 +++- src/zmq_listener.hpp | 5 +- 10 files changed, 239 insertions(+), 33 deletions(-) commit 3147ff8523d9736039c4582f5f62c323b23940d1 Author: Martin Sustrik Date: Sun Aug 9 11:57:21 2009 +0200 getsockopt implemented include/zmq.h | 1 + src/socket_base.cpp | 69 +++++++++++++++++++++++++++++++++++++++++++++++--- src/socket_base.hpp | 10 +++++++ 3 files changed, 75 insertions(+), 5 deletions(-) commit bde396f1561fb5e57e6e413a40d904586e186d42 Author: Martin Sustrik Date: Sun Aug 9 11:21:47 2009 +0200 fix to 3-thread synchronisation algorithm src/io_object.cpp | 48 +++++++++++++++++++++++++++++++++++++++++++++++- src/io_object.hpp | 21 ++++++++++++++++++++- src/socket_base.cpp | 6 +++++- src/tcp_listener.cpp | 19 +++++++++++-------- src/tcp_listener.hpp | 11 +++++++++-- src/zmq_listener.cpp | 36 +++++++++++++++++++++++++++++++++++- src/zmq_listener.hpp | 15 +++++++++++++++ 7 files changed, 142 insertions(+), 14 deletions(-) commit 5b5b513330e96e3e08d0c2c60d03044091976420 Author: Martin Sustrik Date: Sun Aug 9 09:24:48 2009 +0200 socket options interface modeled as in BSD sockets include/zmq.h | 28 ++++++++++++++-------------- include/zmq.hpp | 14 ++++++++++---- src/Makefile.am | 2 ++ src/epoll.cpp | 4 +++- src/i_api.hpp | 6 ++++-- src/io_object.cpp | 45 ++++++++++++++++++++++++++++++++++++++++++++- src/io_object.hpp | 23 ++++++++++++++++++----- src/io_thread.hpp | 2 +- src/socket_base.cpp | 33 ++++++++++++++++++++------------- src/socket_base.hpp | 9 +++++---- src/zmq.cpp | 13 +++++++++---- src/zmq_engine.cpp | 35 +++++++++++++++++++++++++++++++++++ src/zmq_engine.hpp | 47 +++++++++++++++++++++++++++++++++++++++++++++++ src/zmq_listener.cpp | 9 +++++++-- src/zmq_listener.hpp | 5 +++-- 15 files changed, 222 insertions(+), 53 deletions(-) commit a8b410e66c3c75809c8e9c01dd3e35c579f02347 Author: Martin Sustrik Date: Sat Aug 8 16:01:58 2009 +0200 lockfree interaction patter for 3 theads implemented include/zmq.hpp | 8 +- src/Makefile.am | 14 +++- src/app_thread.cpp | 37 +++++++++--- src/app_thread.hpp | 13 +++- src/command.hpp | 59 ++++++++----------- src/context.cpp | 153 ------------------------------------------------ src/context.hpp | 122 -------------------------------------- src/dispatcher.cpp | 149 +++++++++++++++++++++++++++++++++++++++++++++++ src/dispatcher.hpp | 122 ++++++++++++++++++++++++++++++++++++++ src/err.hpp | 6 ++ src/i_api.hpp | 34 ++++++----- src/i_socket.hpp | 36 ----------- src/io_object.cpp | 41 +++++++++++++ src/io_object.hpp | 62 ++++++++++++++++++++ src/io_thread.cpp | 8 +- src/io_thread.hpp | 2 +- src/mutex.hpp | 30 +++++---- src/object.cpp | 158 +++++++++++++++----------------------------------- src/object.hpp | 42 +++++--------- src/socket_base.cpp | 129 ++++++++++++++++++++++++++++++++++++++++ src/socket_base.hpp | 72 +++++++++++++++++++++++ src/zmq.cpp | 19 +++--- src/zmq_listener.cpp | 35 +++++++++++ src/zmq_listener.hpp | 46 +++++++++++++++ 24 files changed, 849 insertions(+), 548 deletions(-) commit 0b5cc026fbe7ccc6de66907be29471562a2d344d Author: Martin Sustrik Date: Thu Aug 6 12:51:32 2009 +0200 clean up - session/socket/engine stuff removed src/Makefile.am | 51 +-------- src/app_thread.cpp | 106 ++---------------- src/app_thread.hpp | 27 +---- src/connecter.cpp | 189 ------------------------------- src/connecter.hpp | 99 ---------------- src/context.cpp | 139 ++--------------------- src/context.hpp | 52 +-------- src/data_distributor.cpp | 155 ------------------------- src/data_distributor.hpp | 70 ------------ src/devpoll.cpp | 9 +- src/devpoll.hpp | 3 +- src/dummy_aggregator.cpp | 111 ------------------ src/dummy_aggregator.hpp | 73 ------------ src/dummy_distributor.cpp | 85 -------------- src/dummy_distributor.hpp | 68 ----------- src/epoll.cpp | 10 +- src/epoll.hpp | 3 +- src/fair_aggregator.cpp | 143 ----------------------- src/fair_aggregator.hpp | 77 ------------- src/i_api.hpp | 42 ++++---- src/i_demux.hpp | 57 ---------- src/i_engine.hpp | 53 --------- src/i_mux.hpp | 60 ---------- src/i_poller.hpp | 7 +- src/i_session.hpp | 37 ------ src/i_socket.hpp | 36 ++++++ src/i_thread.hpp | 38 ------ src/io_object.cpp | 37 ------ src/io_object.hpp | 51 --------- src/io_thread.cpp | 31 ----- src/io_thread.hpp | 27 +---- src/kqueue.cpp | 9 +- src/kqueue.hpp | 3 +- src/listener.cpp | 170 ---------------------------- src/listener.hpp | 110 ------------------ src/load_balancer.cpp | 130 --------------------- src/load_balancer.hpp | 73 ------------ src/object.cpp | 33 ------ src/object.hpp | 8 -- src/p2p.cpp | 29 ----- src/p2p.hpp | 42 ------- src/pipe.cpp | 47 -------- src/pipe.hpp | 23 +---- src/pipe_reader.cpp | 118 ------------------- src/pipe_reader.hpp | 89 --------------- src/pipe_writer.cpp | 120 -------------------- src/pipe_writer.hpp | 88 --------------- src/poll.cpp | 13 ++- src/poll.hpp | 3 +- src/pub.cpp | 38 ------ src/pub.hpp | 45 -------- src/rep.cpp | 29 ----- src/rep.hpp | 42 ------- src/req.cpp | 29 ----- src/req.hpp | 42 ------- src/safe_object.cpp | 76 ------------- src/safe_object.hpp | 68 ----------- src/select.cpp | 13 ++- src/select.hpp | 2 +- src/session.cpp | 273 --------------------------------------------- src/session.hpp | 107 ------------------ src/session_stub.cpp | 110 ------------------ src/session_stub.hpp | 83 -------------- src/socket_base.cpp | 267 -------------------------------------------- src/socket_base.hpp | 96 ---------------- src/sub.cpp | 45 -------- src/sub.hpp | 46 -------- src/zmq.cpp | 2 +- src/zmq_decoder.cpp | 79 ------------- src/zmq_decoder.hpp | 57 ---------- src/zmq_encoder.cpp | 75 ------------ src/zmq_encoder.hpp | 54 --------- src/zmq_tcp_engine.cpp | 185 ------------------------------ src/zmq_tcp_engine.hpp | 92 --------------- 74 files changed, 131 insertions(+), 4878 deletions(-) commit b8b4acef4c2ba1a169ce84c1fb4c70a5676ebba3 Author: Martin Sustrik Date: Thu Aug 6 10:47:34 2009 +0200 dispatcher renamed to context src/Makefile.am | 4 +- src/app_thread.cpp | 8 +- src/app_thread.hpp | 4 +- src/context.cpp | 266 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/context.hpp | 170 ++++++++++++++++++++++++++++++++ src/dispatcher.cpp | 266 --------------------------------------------------- src/dispatcher.hpp | 170 -------------------------------- src/io_thread.cpp | 8 +- src/io_thread.hpp | 2 +- src/object.cpp | 26 +++--- src/object.hpp | 6 +- src/pipe.hpp | 8 +- src/pipe_reader.cpp | 2 +- src/pipe_reader.hpp | 6 +- src/pipe_writer.hpp | 6 +- src/safe_object.cpp | 6 +- src/safe_object.hpp | 2 +- src/zmq.cpp | 15 ++-- 18 files changed, 487 insertions(+), 488 deletions(-) commit 43fa72b7ee6b6d97b84a555ce8902cee855aeb72 Author: Martin Hurton Date: Mon Aug 3 11:59:55 2009 +0200 C++ binding uses exceptions to signal failure include/zmq.hpp | 83 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 73 insertions(+), 10 deletions(-) commit cc3755a16f00026af882ed14d122cc8aa6d50e82 Author: Martin Sustrik Date: Mon Aug 3 11:30:13 2009 +0200 renamed from zs to zmq .gitignore | 3 + Makefile.am | 2 +- configure.in | 38 ++++---- examples/chat/Makefile.am | 6 +- examples/chat/chatroom.cpp | 12 +- examples/chat/display.cpp | 10 +- examples/chat/prompt.cpp | 8 +- include/zmq.h | 207 +++++++++++++++++++++++++++++++++++++++ include/zmq.hpp | 231 ++++++++++++++++++++++++++++++++++++++++++++ include/zs.h | 206 --------------------------------------- include/zs.hpp | 231 -------------------------------------------- src/Makefile.am | 10 +- src/app_thread.cpp | 70 +++++++------- src/app_thread.hpp | 8 +- src/atomic.hpp | 62 ++++++------ src/atomic_bitmap.hpp | 82 ++++++++-------- src/atomic_counter.hpp | 72 +++++++------- src/atomic_ptr.hpp | 72 +++++++------- src/command.hpp | 6 +- src/config.hpp | 6 +- src/connecter.cpp | 48 +++++----- src/connecter.hpp | 12 +- src/data_distributor.cpp | 42 ++++---- src/data_distributor.hpp | 10 +- src/decoder.hpp | 6 +- src/devpoll.cpp | 38 ++++---- src/devpoll.hpp | 8 +- src/dispatcher.cpp | 52 +++++----- src/dispatcher.hpp | 8 +- src/dummy_aggregator.cpp | 34 +++--- src/dummy_aggregator.hpp | 8 +- src/dummy_distributor.cpp | 28 +++--- src/dummy_distributor.hpp | 8 +- src/encoder.hpp | 6 +- src/epoll.cpp | 36 ++++---- src/epoll.hpp | 8 +- src/err.cpp | 8 +- src/err.hpp | 16 ++-- src/fair_aggregator.cpp | 30 +++--- src/fair_aggregator.hpp | 8 +- src/fd.hpp | 8 +- src/fd_signaler.cpp | 54 +++++----- src/fd_signaler.hpp | 8 +- src/i_api.hpp | 14 ++-- src/i_demux.hpp | 11 +- src/i_engine.hpp | 8 +- src/i_mux.hpp | 11 +- src/i_poll_events.hpp | 6 +- src/i_poller.hpp | 6 +- src/i_session.hpp | 10 +- src/i_signaler.hpp | 6 +- src/i_thread.hpp | 6 +- src/io_object.cpp | 6 +- src/io_object.hpp | 6 +- src/io_thread.cpp | 72 +++++++------- src/io_thread.hpp | 8 +- src/ip.cpp | 36 ++++---- src/ip.hpp | 8 +- src/kqueue.cpp | 40 ++++---- src/kqueue.hpp | 8 +- src/listener.cpp | 42 ++++---- src/listener.hpp | 6 +- src/load_balancer.cpp | 32 +++--- src/load_balancer.hpp | 10 +- src/msg.hpp | 16 ++-- src/mutex.hpp | 10 +- src/object.cpp | 88 +++++++++--------- src/object.hpp | 6 +- src/p2p.cpp | 4 +- src/p2p.hpp | 6 +- src/pipe.cpp | 14 ++-- src/pipe.hpp | 10 +- src/pipe_reader.cpp | 26 +++--- src/pipe_reader.hpp | 8 +- src/pipe_writer.cpp | 30 +++--- src/pipe_writer.hpp | 8 +- src/platform.hpp.in | 26 +++--- src/poll.cpp | 40 ++++---- src/poll.hpp | 14 ++-- src/pub.cpp | 6 +- src/pub.hpp | 8 +- src/rep.cpp | 4 +- src/rep.hpp | 6 +- src/req.cpp | 4 +- src/req.hpp | 6 +- src/safe_object.cpp | 14 ++-- src/safe_object.hpp | 6 +- src/select.cpp | 40 ++++---- src/select.hpp | 10 +- src/session.cpp | 46 +++++----- src/session.hpp | 10 +- src/session_stub.cpp | 30 +++--- src/session_stub.hpp | 10 +- src/simple_semaphore.hpp | 12 +- src/socket_base.cpp | 56 ++++++------ src/socket_base.hpp | 14 ++-- src/stdint.hpp | 6 +- src/sub.cpp | 8 +- src/sub.hpp | 8 +- src/tcp_connecter.cpp | 20 ++-- src/tcp_connecter.hpp | 6 +- src/tcp_listener.cpp | 20 ++-- src/tcp_listener.hpp | 6 +- src/tcp_socket.cpp | 18 ++-- src/tcp_socket.hpp | 6 +- src/thread.cpp | 14 ++-- src/thread.hpp | 10 +- src/uuid.cpp | 40 ++++---- src/uuid.hpp | 18 ++-- src/windows.hpp | 4 +- src/wire.hpp | 6 +- src/ypipe.hpp | 8 +- src/ypollset.cpp | 10 +- src/ypollset.hpp | 6 +- src/yqueue.hpp | 10 +- src/zmq.cpp | 223 ++++++++++++++++++++++++++++++++++++++++++ src/zmq_decoder.cpp | 25 +++--- src/zmq_decoder.hpp | 10 +- src/zmq_encoder.cpp | 18 ++-- src/zmq_encoder.hpp | 10 +- src/zmq_tcp_engine.cpp | 44 ++++---- src/zmq_tcp_engine.hpp | 6 +- src/zs.cpp | 222 ------------------------------------------ 123 files changed, 1778 insertions(+), 1770 deletions(-) commit 183b6887644ac05c951a3f9143248ed86e91052f Author: Martin Sustrik Date: Thu Jul 30 13:53:46 2009 +0200 git ignoring intermediary files 0 files changed, 0 insertions(+), 0 deletions(-) commit 4ed70a930202b103e7e80b8dc925e0aaa4622595 Author: Martin Sustrik Date: Wed Jul 29 12:07:54 2009 +0200 initial commit Makefile.am | 4 + autogen.sh | 29 ++++ configure.in | 188 +++++++++++++++++++++++++++ examples/Makefile.am | 2 + examples/chat/Makefile.am | 15 ++ examples/chat/chatroom.cpp | 74 +++++++++++ examples/chat/display.cpp | 56 ++++++++ examples/chat/prompt.cpp | 61 +++++++++ include/zs.h | 206 +++++++++++++++++++++++++++++ include/zs.hpp | 231 +++++++++++++++++++++++++++++++++ src/Makefile.am | 120 +++++++++++++++++ src/app_thread.cpp | 221 +++++++++++++++++++++++++++++++ src/app_thread.hpp | 95 ++++++++++++++ src/atomic.hpp | 310 ++++++++++++++++++++++++++++++++++++++++++++ src/atomic_bitmap.hpp | 286 ++++++++++++++++++++++++++++++++++++++++ src/atomic_counter.hpp | 197 ++++++++++++++++++++++++++++ src/atomic_ptr.hpp | 189 +++++++++++++++++++++++++++ src/command.hpp | 98 ++++++++++++++ src/config.hpp | 71 ++++++++++ src/connecter.cpp | 189 +++++++++++++++++++++++++++ src/connecter.hpp | 99 ++++++++++++++ src/data_distributor.cpp | 155 ++++++++++++++++++++++ src/data_distributor.hpp | 70 ++++++++++ src/decoder.hpp | 101 ++++++++++++++ src/devpoll.cpp | 224 ++++++++++++++++++++++++++++++++ src/devpoll.hpp | 110 ++++++++++++++++ src/dispatcher.cpp | 266 +++++++++++++++++++++++++++++++++++++ src/dispatcher.hpp | 170 ++++++++++++++++++++++++ src/dummy_aggregator.cpp | 111 ++++++++++++++++ src/dummy_aggregator.hpp | 73 +++++++++++ src/dummy_distributor.cpp | 85 ++++++++++++ src/dummy_distributor.hpp | 68 ++++++++++ src/encoder.hpp | 108 +++++++++++++++ src/epoll.cpp | 214 ++++++++++++++++++++++++++++++ src/epoll.hpp | 107 +++++++++++++++ src/err.cpp | 146 +++++++++++++++++++++ src/err.hpp | 90 +++++++++++++ src/fair_aggregator.cpp | 143 ++++++++++++++++++++ src/fair_aggregator.hpp | 77 +++++++++++ src/fd.hpp | 44 ++++++ src/fd_signaler.cpp | 278 +++++++++++++++++++++++++++++++++++++++ src/fd_signaler.hpp | 92 +++++++++++++ src/i_api.hpp | 39 ++++++ src/i_demux.hpp | 56 ++++++++ src/i_engine.hpp | 53 ++++++++ src/i_mux.hpp | 59 +++++++++ src/i_poll_events.hpp | 45 +++++++ src/i_poller.hpp | 89 +++++++++++++ src/i_session.hpp | 37 ++++++ src/i_signaler.hpp | 38 ++++++ src/i_thread.hpp | 38 ++++++ src/io_object.cpp | 37 ++++++ src/io_object.hpp | 51 +++++++ src/io_thread.cpp | 177 +++++++++++++++++++++++++ src/io_thread.hpp | 99 ++++++++++++++ src/ip.cpp | 310 ++++++++++++++++++++++++++++++++++++++++++++ src/ip.hpp | 47 +++++++ src/kqueue.cpp | 214 ++++++++++++++++++++++++++++++ src/kqueue.hpp | 112 ++++++++++++++++ src/listener.cpp | 170 ++++++++++++++++++++++++ src/listener.hpp | 110 ++++++++++++++++ src/load_balancer.cpp | 130 ++++++++++++++++++ src/load_balancer.hpp | 73 +++++++++++ src/msg.hpp | 49 +++++++ src/mutex.hpp | 116 +++++++++++++++++ src/object.cpp | 294 +++++++++++++++++++++++++++++++++++++++++ src/object.hpp | 105 +++++++++++++++ src/p2p.cpp | 29 ++++ src/p2p.hpp | 42 ++++++ src/pipe.cpp | 47 +++++++ src/pipe.hpp | 57 ++++++++ src/pipe_reader.cpp | 118 +++++++++++++++++ src/pipe_reader.hpp | 89 +++++++++++++ src/pipe_writer.cpp | 120 +++++++++++++++++ src/pipe_writer.hpp | 88 +++++++++++++ src/platform.hpp.in | 210 ++++++++++++++++++++++++++++++ src/poll.cpp | 205 +++++++++++++++++++++++++++++ src/poll.hpp | 112 ++++++++++++++++ src/pub.cpp | 38 ++++++ src/pub.hpp | 45 +++++++ src/rep.cpp | 29 ++++ src/rep.hpp | 42 ++++++ src/req.cpp | 29 ++++ src/req.hpp | 42 ++++++ src/safe_object.cpp | 76 +++++++++++ src/safe_object.hpp | 68 ++++++++++ src/select.cpp | 236 +++++++++++++++++++++++++++++++++ src/select.hpp | 122 +++++++++++++++++ src/session.cpp | 273 ++++++++++++++++++++++++++++++++++++++ src/session.hpp | 107 +++++++++++++++ src/session_stub.cpp | 110 ++++++++++++++++ src/session_stub.hpp | 83 ++++++++++++ src/simple_semaphore.hpp | 188 +++++++++++++++++++++++++++ src/socket_base.cpp | 267 ++++++++++++++++++++++++++++++++++++++ src/socket_base.hpp | 96 ++++++++++++++ src/stdint.hpp | 70 ++++++++++ src/sub.cpp | 45 +++++++ src/sub.hpp | 46 +++++++ src/tcp_connecter.cpp | 138 ++++++++++++++++++++ src/tcp_connecter.hpp | 65 +++++++++ src/tcp_listener.cpp | 165 +++++++++++++++++++++++ src/tcp_listener.hpp | 65 +++++++++ src/tcp_socket.cpp | 116 +++++++++++++++++ src/tcp_socket.hpp | 70 ++++++++++ src/thread.cpp | 88 +++++++++++++ src/thread.hpp | 77 +++++++++++ src/uuid.cpp | 136 +++++++++++++++++++ src/uuid.hpp | 82 ++++++++++++ src/windows.hpp | 56 ++++++++ src/wire.hpp | 98 ++++++++++++++ src/ypipe.hpp | 209 +++++++++++++++++++++++++++++ src/ypollset.cpp | 56 ++++++++ src/ypollset.hpp | 74 +++++++++++ src/yqueue.hpp | 138 ++++++++++++++++++++ src/zmq_decoder.cpp | 78 +++++++++++ src/zmq_decoder.hpp | 57 ++++++++ src/zmq_encoder.cpp | 75 +++++++++++ src/zmq_encoder.hpp | 54 ++++++++ src/zmq_tcp_engine.cpp | 185 ++++++++++++++++++++++++++ src/zmq_tcp_engine.hpp | 92 +++++++++++++ src/zs.cpp | 222 +++++++++++++++++++++++++++++++ 121 files changed, 13546 insertions(+), 0 deletions(-)