0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-15 10:18:01 +08:00

2123 Commits

Author SHA1 Message Date
Pieter Hintjens
930252a737 Revert "zmq: add support for TIPC transport"
This reverts commit dbc42ee9af098183714845a75139997dcc34c7a0.
2013-10-31 19:57:03 +01:00
Pieter Hintjens
48cc4c74c4 Revert "zmq: add TIPC transport tests"
This reverts commit d0aa05fac49ef3640a99c67d323bb3d062f6c355.
2013-10-31 19:56:59 +01:00
Pieter Hintjens
86717b2a29 Merge pull request #110 from Hugne/tipc_support
Tipc support
2013-10-31 11:54:43 -07:00
Erik Hugne
d0aa05fac4 zmq: add TIPC transport tests
The tests are identical to the TCP ones, only the
addressing is changed.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-10-31 16:49:13 +01:00
Erik Hugne
dbc42ee9af zmq: add support for TIPC transport
A ZeroMQ application can opt for TIPC based sockets
using the TIPC port name format:
zmq_bind(sb, "tipc://{type,lower,upper}");
zmq_connect(sc, "tipc://{type,inst}");

'type' is the service ID, and 'lower/upper' can be
used for service partitioning or basic load
balancing.

ZeroMQ TIPC transport requires a kernel >= 3.8
(nonblocking connect support for TIPC).

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-10-31 16:45:00 +01:00
Pieter Hintjens
15e4cf2c67 Updated for next release 3.2.5 2013-09-20 13:20:17 +02:00
Pieter Hintjens
f45dd95ed8 Updated NEWS for release 3.2.4 v3.2.4 2013-09-20 11:56:58 +02:00
Pieter Hintjens
a7f2ad0b24 Merge pull request #108 from hintjens/master
Updated NEWS
2013-09-16 22:39:18 -07:00
Pieter Hintjens
b36545fe70 Updated NEWS 2013-09-17 07:33:50 +02:00
Pieter Hintjens
687ea29280 Merge pull request #107 from jpoliv/master
Make ./configure --with-system-pgm detect the OpenPGM 5.2 system library.
2013-09-16 22:32:43 -07:00
Jose Pedro Oliveira
2255369a69 Make ./configure --with-system-pgm detect the OpenPGM 5.2 system library.
Note that OpenPGM installs a versioned pkgconfig file (openpgm-5.2.pc,
openpgm-5.1.pc).
2013-09-17 01:15:09 +01:00
Pieter Hintjens
c832e3d1df Merge pull request #105 from hintjens/master
Revert "fixed compilation - added detection for _WIN32_WINNT"
2013-08-23 23:09:59 -07:00
Pieter Hintjens
7f44310670 Revert "fixed compilation - added detection for _WIN32_WINNT"
This reverts commit d1ea5e525e7f8ba886eb4bc72155e6d68dafc269.
2013-08-24 08:08:04 +02:00
Pieter Hintjens
ba597c6e47 Merge pull request #104 from snikulov/cmake_fixes_msvc2012
fixed compilation - added detection for _WIN32_WINNT
2013-08-23 10:25:46 -07:00
Sergei Nikulov
d1ea5e525e fixed compilation - added detection for _WIN32_WINNT 2013-08-22 00:59:15 +04:00
Pieter Hintjens
d246aaceee Merge pull request #102 from hintjens/master
Build failed on some boxes due to missing EOL at EOF
2013-07-30 00:25:02 -07:00
Pieter Hintjens
143ae519b4 Fixed missing whitespace at end of file 2013-07-30 09:24:22 +02:00
Pieter Hintjens
2aca7b233b Merge pull request #99 from leewoosung/hotfixes/patched
Backport for LIBZMQ-541 fix
2013-07-15 00:52:12 -07:00
Pieter Hintjens
00c0d5835f Merge pull request #98 from steve-o/master
Migrate to using MSVC toolkit support independent of compiler versioning.
2013-07-13 15:24:12 -07:00
Steven McCoy
60b64748e5 Use MSVC2012's msbuild to drive everything using toolkit support for actually compilations. 2013-07-13 17:13:34 -04:00
Pieter Hintjens
aeb87cf2cc Merge pull request #97 from steve-o/master
Add MSVC 2013 support; Fix CMake regressions upstream
2013-07-13 14:08:11 -07:00
Steven McCoy
703c1a6e04 Merge remote-tracking branch 'upstream/master' 2013-07-13 12:26:11 -04:00
Steven McCoy
7604dd2d47 Add MSVC 2013 preview support; Fix upstream CMake changes wrt. PDB and lib locations. 2013-07-13 12:24:52 -04:00
Pieter Hintjens
a941934e34 Merge pull request #96 from pijyoi/master
simple Makefile for mingw32
2013-07-11 14:35:23 -07:00
KIU Shueng Chuan
51066c9767 simple Makefile for mingw32 2013-07-11 21:49:45 +08:00
Pieter Hintjens
bd77676d99 Merge pull request #93 from cjuniet/master
[LIBZMQ-543] Fix compilation errors with Clang
2013-07-03 15:42:47 -07:00
Christophe Juniet
20cce750fa Fix a few invalid forward declarations
A few forward declarations use mismatched struct and class types. Clang
won't compile this with -Werror.
2013-07-03 22:22:23 +02:00
WooSung
1b5b18cba9 LIBZMQ-541 fix 2013-06-27 23:20:14 +09:00
Ian Barber
8b6dcc8420 Merge pull request #91 from hintjens/master
test_connect_delay was failing, so I backported the code from libzmq master.
2013-05-21 13:31:51 -07:00
Pieter Hintjens
3d353f8306 Backported test_connect_delay.cpp from libzmq 2013-05-21 10:25:02 +02:00
Pieter Hintjens
ad14c562d7 Merge pull request #90 from hintjens/master
Fixed name of Travis file
2013-05-21 00:33:18 -07:00
Pieter Hintjens
37a0ec5936 Fixed name of Travis file 2013-05-21 09:32:39 +02:00
Pieter Hintjens
e9755d2a39 Merge pull request #89 from hintjens/master
Adding support for Travis CI
2013-05-21 00:25:16 -07:00
Pieter Hintjens
96fbeea5f6 Added support for Travis CI 2013-05-21 09:22:13 +02:00
Pieter Hintjens
0836de2f2e Merge pull request #88 from hintjens/master
Backported two fixes
2013-05-17 23:17:34 -07:00
Pieter Hintjens
26b182fe76 Backported #84 and #532 2013-05-18 07:17:00 +01:00
KIU Shueng Chuan
d7cad1b52a set SO_LINGER on first signaler socket to close in order to avoid
TIME_WAIT state.
2013-05-16 18:57:42 +02:00
KIU Shueng Chuan
573a1eab4b release critical section on failure to create signaler fdpair 2013-05-16 18:57:20 +02:00
Pieter Hintjens
0e5c98a9fe Merge pull request #87 from steve-o/master
Add support for vc110_xp in CMake build environment
2013-05-15 17:10:09 -07:00
Steven McCoy
2c55496d28 Update to support new toolkit functionality with CMake and VS11 for XP as a target platform. 2013-05-15 20:04:07 -04:00
Pieter Hintjens
094eceefb8 Fixed packaging for Windows, was missing errno sources 2013-05-07 14:40:15 +02:00
Martin Hurton
14bb2e46a5 Merge pull request #85 from hintjens/master
Fix for #456 was not backported to 3.2.2; will be in 3.2.4 now
2013-05-03 00:02:08 -07:00
Pieter Hintjens
11bae19cf8 #456 was not in 3.2.2 but will be in 3.2.4 2013-05-02 22:10:06 +02:00
Pieter Hintjens
a3dafd408f Code formatting 2013-05-02 22:09:30 +02:00
John Muehlhausen
58c1ba8994 patch for issue 456
Do not filter out duplicate subscriptions on the XSUB side of
XSUB/XPUB, so that ZMQ_XPUB_VERBOSE doesn't get blocked by forwarding
devices (as long as the devices all use ZMQ_XPUB_VERBOSE)
2013-05-02 22:09:21 +02:00
Pieter Hintjens
c710a39b9e Resolved merge conflict 2013-05-02 20:44:42 +02:00
Pieter Hintjens
400cbc208a Merge pull request #83 from vortechs2000/fix_323_builds
Fix 323 builds
2013-05-02 11:28:49 -07:00
Pieter Hintjens
bdd72826c9 Various cleanups to test programs
- Patch applied using git am from libzmq commit 5f009e52
 - tests/test_raw_sock.cpp doesn't exist in zeromq3-x, so that
   file was manually removed from the patch before 'git am'

Signed-off-by: AJ Lewis <aj.lewis@quantum.com>
2013-05-02 10:40:27 -05:00
AJ Lewis
1e435f59c3 Add newline to end of test_connect_delay.cpp so it compiles with older versions of GCC 2013-05-02 10:32:10 -05:00
Pieter Hintjens
0f6e357894 Bumped version number for next release 3.2.4 2013-05-02 11:23:57 +02:00
Pieter Hintjens
a85ddf3e1a Updated NEWS for 3.2.3 v3.2.3 2013-05-02 11:12:41 +02:00
Pieter Hintjens
41b7f74d49 Merge pull request #82 from trevorbernard/master
Backport fix for LIBZMQ-526
2013-05-01 14:22:05 -07:00
Trevor Bernard
69dbe0113a Back port fix for LIBZMQ-526
Fix syntax error
2013-05-01 10:31:28 -03:00
Pieter Hintjens
894c0fb87b Merge pull request #81 from steve-o/libzmq-446
[#LIBZMQ-446] Silence error on setting PGM_TOS on REL 4.
2013-04-13 02:53:55 -07:00
Steven McCoy
521ed91289 [#LIBZMQ-446] Silence error on setting PGM_TOS due to some platforms raising an error at runtime. Noted are RHEL 4. 2013-04-12 23:44:04 -04:00
Pieter Hintjens
a436d14547 Merge pull request #79 from mika-fischer/workaround-for-496
Work around for LIBZMQ-496
2013-03-18 02:47:57 -07:00
Mika Fischer
1a17eb392e Work around for LIBZMQ-496
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.

See also the fix for LIBZMQ-281 in zeromq2-x.

Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de>
2013-02-19 11:01:13 +01:00
Pieter Hintjens
4f1f68f6cc Merge pull request #78 from ianbarber/master
Backport of test_last_endpoint shutdown fix, resolves LIBZMQ-462
2013-02-11 10:21:30 -08:00
Ian Barber
5d3781a8bf Patch from Rob Gagnon, backport of test fix from master. Resolves LIBZMQ-462 2013-02-10 22:51:52 +00:00
Pieter Hintjens
d6aaa4a7ba Merge pull request #77 from ianbarber/master
Backport of test_connect_delay refactor from master
2013-02-06 23:51:22 -08:00
Ian Barber
b774772bb9 Backport of test_connect_delay refactor 2013-02-06 21:22:56 +00:00
Pieter Hintjens
a0a24a92af Merge pull request #76 from hintjens/master
Backported fix for LIBZMQ-497
2013-02-01 01:04:42 -08:00
Min(Dongmin Yu)
6a7dcfb898 LIBZMQ-497 there could be unsent bytes in encoder
When we send a large message, the message can be splitted into two chunks.
One is in the encoder buffer and the other is the zero-copy pointer.
The session could get the term before the last chunk is sent.
2013-02-01 10:03:55 +01:00
Pieter Hintjens
8e748064ac Merge pull request #75 from hintjens/master
Backported c436c8
2013-01-21 09:07:35 -08:00
MinRK
c436c8cdc3 AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.
2013-01-21 18:06:40 +01:00
Pieter Hintjens
0df7bbbc9d Merge pull request #73 from amuraru/fix-newline
Fixed newline in test_disconnect_inproc
2013-01-11 13:42:27 -08:00
Pieter Hintjens
c2b6f06d0d Merge pull request #72 from amuraru/fix-spec
Fixed el5/el6 deps in RPM spec file
2013-01-11 13:41:30 -08:00
Adrian Muraru
4a0410ad21 Fixed newline in test_disconnect_inproc 2013-01-11 23:00:02 +02:00
Adrian Muraru
572be0e82c Fixed el5/el6 deps in RPM spec file 2013-01-11 22:57:40 +02:00
Ian Barber
92446d81ce Merge pull request #71 from hintjens/master
Backported fix for LIBZMQ-488
2012-12-27 06:16:08 -08:00
KIU Shueng Chuan
96ce417422 win32: close zmq-signaler-port-sync event object to avoid handle leak 2012-12-27 14:47:14 +01:00
Martin Hurton
911387cfbb Merge pull request #70 from sradomski/master
Removal of terminated pipes from inproc and ignoring peer ends
2012-12-04 08:50:44 -08:00
Stefan Radomski
2131e85cd7 Break early when pipe to be removed was found 2012-12-04 17:41:08 +01:00
Stefan Radomski
fbfd3c34d9 Fixed iterator when erasing from inprocs multimap 2012-12-04 17:32:38 +01:00
Stefan Radomski
1965e2d05d Removal of terminated pipes from inproc and ignoring peer ends 2012-12-04 17:03:58 +01:00
Martin Hurton
a91779baf1 Merge pull request #69 from sradomski/master
Close pipes for inproc sockets on zmq_disconnect
2012-12-04 05:49:13 -08:00
Stefan Radomski
8e6fdc56e1 Changed errno to ENOENT for disconnecting unconnected endpoints 2012-12-04 14:14:46 +01:00
Stefan Radomski
b0563c2103 Set errno and update documentation on zmq_disconnect 2012-12-04 13:52:23 +01:00
Stefan Radomski
2388f27bfe Close inproc socket pairs on zmq_disconnect
This patch fixes LIBZMQ-476 and LIBZMQ-475
2012-12-04 13:14:56 +01:00
Ian Barber
ba1fd8e82a Merge pull request #68 from vperron/master
ARM toolchain compatibility
2012-11-30 14:11:26 -08:00
Victor Perron
6d4e2ce93b Change NULL to 0 to keep compatibility with some cross-compiling GCC
versions
2012-11-30 22:58:03 +01:00
Pieter Hintjens
7541e38205 Merge pull request #67 from ianbarber/master
Update RPM spec file
2012-11-26 08:24:16 -08:00
Ian Barber
c7786d4374 Update SPEC file
Update the RPM spec file with Justin Cook's changes to fix the build for 3.2.2. (https://zeromq.jira.com/browse/LIBZMQ-473)
2012-11-26 16:21:06 +00:00
Pieter Hintjens
ed8ab632c6 Updated version to 3.2.3 for next stable release 2012-11-23 17:05:43 +09:00
Pieter Hintjens
2ae1bd2088 Merge pull request #66 from hintjens/master
One fix to NEWS
v3.2.2
2012-11-22 23:58:03 -08:00
Pieter Hintjens
3b268c6943 Added NEWS entry for issue 465 2012-11-23 16:57:23 +09:00
Pieter Hintjens
025e218629 Merge pull request #65 from hintjens/master
Release 3.2.2 stable
2012-11-22 23:54:06 -08:00
Pieter Hintjens
61b936893d Updated NEWS for release 3.2.2 2012-11-23 16:52:50 +09:00
Pieter Hintjens
bcf8916e17 Backported latest socket event framework 2012-11-23 16:42:13 +09:00
Pieter Hintjens
12f3f8a7f6 Merge pull request #64 from hintjens/master
Backported fix for LIBZMQ-472
2012-11-21 19:20:21 -08:00
Martin Hurton
9120741719 Check decoder's state function for NULL before calling it
Fixes bug reported by Peter Friend
(http://lists.zeromq.org/pipermail/zeromq-dev/2012-November/019425.html)
2012-11-22 12:17:07 +09:00
Pieter Hintjens
efdb5cf076 Merge pull request #63 from hintjens/master
Added autogen.sh hint to INSTALL
2012-11-21 19:10:12 -08:00
Pieter Hintjens
ae8c4a4adf Added autogen.sh hint 2012-11-22 12:09:31 +09:00
Pieter Hintjens
f9b6da0e78 Merge pull request #61 from hintjens/master
Fixed doc for SNDHWM
2012-11-18 23:33:54 -08:00
Pieter Hintjens
f5a9c328e9 Fixed ZMQ_SNDHWM description 2012-11-19 16:33:20 +09:00
Pieter Hintjens
65a29e85ee Merge pull request #60 from hintjens/master
Fixed doc for SNDHWM
2012-11-18 17:22:24 -08:00
Pieter Hintjens
f0383bffad Clarified that SNDHWM is per part, not message 2012-11-19 10:21:46 +09:00
John Muehlhausen
a7438de239 Issue 468
XPUB "verbose" mode excludes unsubscriptions
2012-11-16 10:59:37 +09:00
Pieter Hintjens
7f81575245 Merge pull request #59 from hintjens/master
Backported fix for LIBZMQ-450
2012-11-14 02:38:02 -08:00
Lourens Naudé
c05a1b1f26 Backported fix for addresses on triggered events 2012-11-14 19:19:29 +09:00