Pieter Hintjens
e8cbfac966
Merge pull request #503 from chazmcgarvey/define-dummy-eproto
...
define a dummy EPROTO for platforms that don't use it
2013-01-23 11:55:48 -08:00
Pieter Hintjens
abc8907e44
Merge pull request #505 from arsenm/master
...
Fix perf-tools build on Linux with cmake
2013-01-23 11:55:17 -08:00
Pieter Hintjens
93618e7d02
Merge pull request #504 from o172/master
...
Adds tests/test_disconnect_inproc to .gitignore
2013-01-23 11:55:02 -08:00
Matt Arsenault
f01bab6633
Fix cmake not linking librt to perf-tools
2013-01-23 14:31:02 -05:00
o172(xenovo)
0a1bd45721
Added tests/test_disconnect_inproc to .gitignore
2013-01-23 19:20:52 +00:00
Pieter Hintjens
7bc3e53b53
Merge pull request #502 from ianbarber/master
...
Add bounds check on upstream XSUB messages
2013-01-21 21:18:08 -08:00
Charles McGarvey
ba3e18f700
define a dummy EPROTO for platforms that don't use it
...
This accomplishes the same thing as 2e2ef7fd in a potentially cleaner way.
2013-01-21 17:14:26 -07:00
Ian Barber
d850272417
Add size check on XSUB message sends
...
Ensures 0 length messages aren't being checked for subscribtion status on whatever data happens to be following the data pointer.
2013-01-21 16:11:27 -08:00
Pieter Hintjens
eeaa2c8e42
Merge pull request #501 from chazmcgarvey/conditional-eproto
...
do not use EPROTO on platforms that do not have it
2013-01-21 14:47:35 -08:00
Charles McGarvey
2e2ef7fd33
do not use EPROTO on platforms that do not have it
2013-01-21 15:00:55 -07:00
Pieter Hintjens
3a632185a6
Merge pull request #500 from haf/fixes/asciidoc-title
...
Shortening the =-chars to make asciidoc work
2013-01-20 03:43:49 -08:00
Henrik
7918175717
Shortening the =-chars to make asciidoc work
2013-01-19 18:02:24 +01:00
Pieter Hintjens
29a1d8ec60
Merge pull request #499 from minrk/ac_header
...
Minor autoconf tweaks
2013-01-17 23:49:52 -08:00
Pieter Hintjens
f467011dbc
Merge pull request #498 from minrk/zmq_ctx_term
...
deprecate zmq_ctx_destroy in favor of zmq_ctx_term
2013-01-17 23:49:32 -08:00
MinRK
21c97f0cc2
AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
...
AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.
2013-01-17 16:00:38 -08:00
MinRK
64c019e24d
move configure.in -> configure.ac
...
autotools warns that configure.in
should actually be named configure.ac
2013-01-17 15:59:11 -08:00
MinRK
edd43e1ca4
deprecate zmq_ctx_destroy in favor of zmq_ctx_term
...
in order to avoid logical collisions with pre-existing notions of context destruction in bindings (czmq, pyzmq).
2013-01-17 15:48:18 -08:00
Ian Barber
21fc2a9946
Merge pull request #497 from hintjens/master
...
Clarified how icp:// works with zmq_bind
2013-01-14 19:54:38 -08:00
Pieter Hintjens
bbc5befc66
Clarified zmq_bind on icp://
2013-01-14 17:49:19 +01:00
Pieter Hintjens
c2fbb722a4
Merge pull request #496 from amuraru/master
...
Fixed el5/el6 deps in RPM spec file / newline fix
2013-01-12 08:33:33 -08:00
Adrian Muraru
35f18aef74
Fixed newline in test_disconnect_inproc
2013-01-12 16:21:56 +02:00
Adrian Muraru
fb0beb6f29
Fixed el5/el6 deps in RPM spec file
2013-01-12 16:21:56 +02:00
Ian Barber
7d475add7e
Merge pull request #495 from hintjens/master
...
Whitespace and comment cleanups
2013-01-08 06:22:27 -08:00
Pieter Hintjens
d997d88096
Revert "Old change to move ports off 5555 (was conflicting with other stuff)"
...
This reverts commit da0efaa81771aba497a961d70f2166f500a52afd.
2013-01-08 09:18:38 +01:00
Pieter Hintjens
aff1406713
Revert "Test cases were failing on bind"
...
This reverts commit 8ba097f3da8d1a752755a52b1d3ec967c23f0643.
2013-01-08 09:18:23 +01:00
Pieter Hintjens
a4bedc5255
Whitespace and comment fixes
2013-01-08 09:16:50 +01:00
Pieter Hintjens
da0efaa817
Old change to move ports off 5555 (was conflicting with other stuff)
2013-01-08 09:09:27 +01:00
Pieter Hintjens
b0f0d3fcb4
Clarification on zmq_msg_more
2013-01-08 09:08:02 +01:00
Pieter Hintjens
12a648db07
Specified that it's safe to call zmq_msg_more after zmq_msg_close
2013-01-08 09:08:01 +01:00
Pieter Hintjens
ef186fe15b
Spelling fixes
2013-01-08 09:08:01 +01:00
Pieter Hintjens
af934f85ca
Removed use of deprecated API methods
2013-01-08 09:08:01 +01:00
Pieter Hintjens
8ba097f3da
Test cases were failing on bind
2013-01-08 09:08:01 +01:00
Pieter Hintjens
c1f76e433f
Merge pull request #494 from jgm-radez/master
...
allow XSUB/XPUB to send/recv messages unrelated to sub/unsub
2013-01-08 00:05:07 -08:00
John Muehlhausen
d32e392278
allow XSUB/XPUB to send/recv messages unrelated to sub/unsub (LIBZMQ-490)
...
zmq::xpub_t::xread_activated() – change to process messages without 0
or 1 prefix, but without affecting subscriptions
zmq::xsub_t::xsend() – change to send rather than discard messages
without 0 or 1 prefix, but without affecting subscriptions
Update documentation
2013-01-07 22:24:24 -06:00
Ian Barber
98a91e852e
Merge pull request #493 from arsenm/master
...
Fix minor problem with cmake bulid
2013-01-02 12:51:43 -08:00
Matt Arsenault
45f504d3e2
Fix looking for rc sources in toplevel binary directory
2013-01-02 15:50:04 -05:00
Pieter Hintjens
949d157897
Merge pull request #492 from arsenm/master
...
Make CMake build usable for other systems
2013-01-02 00:32:15 -08:00
Matt Arsenault
6ce464414b
Fix typos
2013-01-02 03:24:11 -05:00
Matt Arsenault
f770954d30
Fix a couple more warnings
2013-01-02 03:24:11 -05:00
Matt Arsenault
6ecb796e77
Fix warnings with MinGW
2013-01-02 03:24:11 -05:00
Matt Arsenault
1ffc5d11dc
Fix some of the -Wshadows
2013-01-02 03:24:11 -05:00
Matt Arsenault
14d3245e02
Fix -Wmismatched-tags
2013-01-02 03:24:11 -05:00
Matt Arsenault
edb5a05add
Fix -Wmissing-field-initializers
2013-01-02 03:24:11 -05:00
Matt Arsenault
3ebab09ce4
Fix unused argument warnings
2013-01-02 03:24:11 -05:00
Matt Arsenault
e88dc49400
Fix random 3 space tabs
2013-01-02 03:24:11 -05:00
Matt Arsenault
59cafecd96
Fix MinGW32 build
...
Fix link errors when using -m32 with MinGW
2013-01-02 03:24:11 -05:00
Matt Arsenault
3c7d4840a1
Fix NSIS installer errors, MinGW build.
...
The CPack NSIS installer was in a state where it would always give a
useless error. I think it was using stuff intended for running cpack
separately from cmake.
2013-01-02 03:24:10 -05:00
Matt Arsenault
a1d6a222ed
Generated header is not in ../src/
2013-01-02 03:24:10 -05:00
Matt Arsenault
4704159f73
Fix cmake build with sun studio
2013-01-02 03:24:10 -05:00
Matt Arsenault
74763e2c8e
Don't use the toplevel cmake paths so the build works as a subproject
2013-01-02 03:24:10 -05:00
Matt Arsenault
f3901b35d4
Comments about ICC build failure with 12.x were crazy
...
Fix warnings with ICC.
2013-01-02 03:24:10 -05:00
Matt Arsenault
0362c310a5
First pass at getting cmake build to work with non-Windows systems.
...
Make doc building option dependent on asciidoc being installed
Fix MSVC build requiring cygwin.
Don't use try_run to get the version
2013-01-02 03:24:10 -05:00
Matt Arsenault
73c370dd17
Fix inconsistently using #if or #ifdef instead of #if defined
2013-01-02 03:24:10 -05:00
Pieter Hintjens
c7009d274e
Merge pull request #491 from pijyoi/issue84
...
fix for LIBZMQ-84: Address already in use (signaler.cpp)
2013-01-01 08:32:12 -08:00
Pieter Hintjens
1eee9ce035
Merge pull request #490 from pijyoi/master
...
eliminate dead code moved into zmq_utils.cpp
2012-12-29 02:26:06 -08:00
KIU Shueng Chuan
151a80619b
set SO_LINGER on first signaler socket to close in order to avoid
...
TIME_WAIT state.
2012-12-29 18:05:15 +08:00
KIU Shueng Chuan
322808be9c
eliminate code moved into zmq_utils.cpp
2012-12-29 13:21:50 +08:00
Pieter Hintjens
8dda553ac4
Merge pull request #489 from pijyoi/master
...
win32: fix Event handle leak
2012-12-27 05:46:20 -08:00
KIU Shueng Chuan
942c654d1c
win32: close zmq-signaler-port-sync event object to avoid handle leak
2012-12-27 21:31:12 +08:00
Pieter Hintjens
ce24557b11
Merge pull request #488 from steve-o/openpgm-next
...
Pull upstream OpenPGM 5.2.122 for multi-platform minor fixes.
2012-12-11 22:34:52 -08:00
Steven McCoy
2e9d4d4132
Pull upstream OpenPGM 5.2.122 for multi-platform minor fixes.
2012-12-11 21:41:10 -05:00
Pieter Hintjens
4febe88b2b
Merge pull request #487 from miniway/master
...
returns -1 with EAGAIN when mandatory is set and pipe is full
2012-12-11 08:09:08 -08:00
Min(Dongmin Yu)
a0cecc718d
returns -1 with EAGAIN when mandatory is set and pipe is full
2012-12-11 19:41:36 +09:00
Pieter Hintjens
2a7b219f07
Merge pull request #486 from miniway/master
...
return EHOSTUNREACH at full only when mandatory is set
2012-12-09 01:25:51 -08:00
Min(Dongmin Yu)
394d755cf3
return EHOSTUNREACH at full only when mandatory is set
2012-12-09 16:52:45 +09:00
Pieter Hintjens
8da6b7a6fd
Merge pull request #485 from miniway/master
...
returns EHOSTUNREACH when a peer is full if ZMQ_ROUTER_MANDATORY is set
2012-12-07 23:19:20 -08:00
Min(Dongmin Yu)
9382941adc
returns EHOSTUNREACH when a peer is full if ZMQ_ROUTER_MANDATORY is set
2012-12-08 10:20:42 +09:00
Martin Hurton
95d36f42ee
Merge pull request #484 from pijyoi/master
...
fix wrong boolean operator in router_raw test code
2012-12-07 01:54:56 -08:00
KIU Shueng Chuan
6706efba28
fix wrong boolean operator
2012-12-07 17:45:05 +08:00
Martin Hurton
ebd1bf9bcf
Merge pull request #482 from sradomski/master
...
Close pipes for inproc sockets on zmq_disconnect
2012-12-04 14:05:48 -08:00
Stefan Radomski
21345ffa50
Break early when pipe to be removed was found
2012-12-04 17:40:43 +01:00
Stefan Radomski
f9770e93ef
Fixed iterator when erasing from inprocs multimap
2012-12-04 17:31:46 +01:00
Stefan Radomski
624dd1e5b5
Removal of terminated pipes from inproc and ignoring peer ends
2012-12-04 17:10:32 +01:00
Stefan Radomski
66c22456b9
Close pipes for inproc sockets on zmq_disconnect
...
- fixes LIBZMQ-476 and LIBZMQ-475
2012-12-04 15:14:21 +01:00
Pieter Hintjens
b2f6741bcb
Merge pull request #481 from ianbarber/master
...
Simplify test_connect_delay
2012-12-01 00:53:02 -08:00
Ian Barber
75161b5c62
Serialise test_connect_delay
...
Simplify the test connect delay test script, removing the threads and
moving to a serialised version. AFAICS this should provide the same
test, but without the race conditions that happened with the previous
test.
2012-11-30 23:07:12 +00:00
Martin Hurton
013a99daab
Merge pull request #480 from vperron/master
...
Tiny fix
2012-11-30 13:41:54 -08:00
Victor Perron
3fc8c7073d
Same fix, in-line style
2012-11-30 22:16:20 +01:00
Victor Perron
33f42efb48
Change NULL to 0 to keep compatibility with some cross-compiling GCC
...
versions
2012-11-30 21:39:22 +01:00
Pieter Hintjens
a4a731652a
Merge pull request #479 from ianbarber/master
...
Update RPM spec file
2012-11-26 08:23:43 -08:00
Ian Barber
1d11f196b1
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:12:25 +00:00
Pieter Hintjens
cae5d3b817
Merge pull request #478 from methodmissing/event-messages-3.2
...
Event message memory corruption fixes
2012-11-22 01:16:55 -08:00
Martin Hurton
d1cbf96cde
Merge pull request #477 from hintjens/master
...
Added autogen.sh hint to INSTALL
2012-11-22 00:03:02 -08:00
Pieter Hintjens
e6da46ff8c
Added autogen.sh hint
2012-11-22 12:09:02 +09:00
Lourens Naudé
359a505949
Prefer malloc to new for event address allocation as per Martin's recommendation
2012-11-22 00:12:17 +00:00
Pieter Hintjens
a28322cd0c
Merge pull request #476 from hurtonm/master
...
Check decoder's state function for NULL before calling it
2012-11-21 14:15:59 -08:00
Martin Hurton
a8721c3c04
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-21 22:58:05 +01:00
Lourens Naudé
b1f4850153
Let socket event messages initialize with zmq_msg_init_data and let the framework handle cleanup
2012-11-21 18:27:53 +00:00
Lourens Naudé
f78ca629b5
Merge branch 'master' of github.com:zeromq/libzmq
2012-11-21 18:04:05 +00:00
Pieter Hintjens
8db8c45b18
Merge pull request #475 from ianbarber/master
...
Add ZMTP link to zmq_tcp doc.
2012-11-20 13:27:43 -08:00
Ian Barber
be4cc2f80a
Update zmq_tcp to include a reference to RFC
...
Include a note with a link to ZMQ RFC 15 for the ZMTP protocol
description.
2012-11-20 19:13:28 +00:00
Ian Barber
7e6c304a98
Merge pull request #474 from hintjens/master
...
Fixed doc for SNDHWM
2012-11-19 02:40:36 -08:00
Pieter Hintjens
1489857973
Fixed ZMQ_SNDHWM description
2012-11-19 16:32:58 +09:00
Pieter Hintjens
7533ebb33d
Clarified that SNDHWM is per part, not message
2012-11-19 10:20:56 +09:00
Lourens Naudé
6d245eb6bc
Copy monitor specific event endpoints to event messages as the engine etc. can be released at anytime
2012-11-17 11:29:47 +00:00
Lourens Naudé
ce4d321684
Revert "Merge pull request #473 from methodmissing/fix-engine-endpoint"
...
This reverts commit 1a18c7b0a816e10f8a8a770b2141d47f661f0302, reversing
changes made to bef9a41bdb991b867981317e0e20ee174ecd6fea.
2012-11-17 10:06:09 +00:00
Ian Barber
1a18c7b0a8
Merge pull request #473 from methodmissing/fix-engine-endpoint
...
[LIBZMQ-450] Copy the stream engine endpoint - string reference caused memory corruption
2012-11-16 13:06:24 -08:00
Lourens Naudé
fdf162a117
[LIBZMQ-450] Copy the stream engine endpoint - string reference caused memory corruption
2012-11-16 17:21:07 +00:00
Pieter Hintjens
bef9a41bdb
Merge pull request #472 from jgm-radez/master
...
Issue 468
2012-11-15 17:58:44 -08:00
John Muehlhausen
b8d5d3fa69
Issue 468
...
XPUB "verbose" mode excludes unsubscriptions
2012-11-15 15:30:30 -06:00