Martin Lucina
ee3444ff93
doc: Update zmq_socket(3) for 2.0.8 API changes
2010-09-04 16:00:26 +02:00
Martin Lucina
26b39bcdef
Revert "Added man page for the zmq_device method"
...
This reverts commit f575f252c99c99d3622f313d6bbad6635197a1e4.
Conflicts:
doc/zmq_device.txt
2010-09-04 15:55:41 +02:00
Martin Lucina
8800ac7de5
Revert "Added clean target that deletes generated man pages"
...
This reverts commit 6cd90304476c1c6873d67068009def63e520b848.
2010-09-04 15:55:19 +02:00
Martin Lucina
32baeb610e
Revert "Various changes to documentation project:"
...
This reverts commit 77a3c36ff1f11215229a4efdb821a3cb83a9d6fc.
2010-09-04 15:55:11 +02:00
Martin Lucina
4cb6dbd52f
Revert "Reverting 'clean' change to Makefile"
...
This reverts commit c51de31f2fd31f782e419bfac2fb8d40d689f3e3.
2010-09-04 15:55:03 +02:00
Martin Lucina
48d3e2d660
Revert "Removed empty man pages for old standalone devices"
...
This reverts commit 6ff193999d96487f7aa7e578980ab5554e61d8dc.
2010-09-04 15:54:53 +02:00
Martin Lucina
6c393f53e2
Revert "Further cleanups on reference manual"
...
This reverts commit 13f3481e127a6b2390e847af6b01ee88f1b4ae61.
Conflicts:
doc/zmq_device.txt
doc/zmq_tcp.txt
2010-09-04 15:54:34 +02:00
Martin Lucina
6647e61243
Revert "Small improvements to zmq_device(3) page"
...
This reverts commit 96bcc9e6cf73781c31042278eb960c0363a78805.
2010-09-04 15:51:40 +02:00
Martin Lucina
83d253d72d
Revert "Removed wip zmq_deviced from master"
...
This reverts commit de0173754cc82f6c08875a892892f043a804554c.
2010-09-04 15:51:09 +02:00
Jon Dyte
14853c2db5
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.
2010-09-02 07:52:02 +02:00
Bernd Melchers
8ec0743c75
Fix for signaler_t on HP-UX and AIX platforms
2010-09-02 07:33:57 +02:00
Martin Sustrik
d5b6f680a5
Mikael Kjaer added to AUTHORS
2010-09-02 07:26:14 +02:00
Mikael Helbo Kjær
59315ebdcb
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.
2010-09-01 18:39:12 +02:00
Martin Sustrik
99ddfa7d65
maint: will become 2.0.9
2010-09-01 18:22:03 +02:00
Martin Lucina
1e089f7163
Update ChangeLog for v2.0.8
2010-08-25 13:11:20 +02:00
Martin Lucina
c9076c5d8b
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).
2010-08-25 12:50:16 +02:00
Pieter Hintjens
6d275a8788
Updated NEWS for stable 2.0.8 release
2010-08-25 12:09:55 +02:00
Pieter Hintjens
98bea86240
Updated NEWS for stable 2.0.8 release
2010-08-25 11:59:01 +02:00
Pieter Hintjens
d788c1f7e4
Updated NEWS for stable 2.0.8 release
2010-08-25 11:43:52 +02:00
Martin Lucina
c06a3cc510
Update version number to 2.0.8
2010-08-25 11:24:24 +02:00
Martin Lucina
b66dd7afd2
zmq_stopwatch_stop: Don't return EFAULT
...
Function returning unsigned long int cannot return (-1)
2010-08-25 09:50:45 +02:00
Pieter Hintjens
2b2accb8bf
Added calls to zmq_msg_close in examples
2010-08-21 15:47:10 +02:00
Pieter Hintjens
c52d1f2d47
Fixed example for multipart zmq_recv()
2010-08-21 13:46:03 +02:00
Pieter Hintjens
87612be91d
Merge branch '46_device_robustness'
2010-08-20 01:06:34 +02:00
Pieter Hintjens
de0035b6d9
Fixed git URL in README
2010-08-19 14:31:04 +02:00
Martin Sustrik
7aba2d1033
documentation leftover from v2.0.6 cleaned in zmq(7)
2010-08-18 12:00:26 +02:00
Pieter Hintjens
de0173754c
Removed wip zmq_deviced from master
2010-08-11 21:12:10 +02:00
Pieter Hintjens
5be54b9120
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.
2010-08-11 17:05:19 +02:00
Pieter Hintjens
e74d350068
Fixed (un)signed type errors in get/setsockopt manual
2010-08-11 17:00:12 +02:00
Pieter Hintjens
a12f446c4c
Modified zmq_tcp(7) to emphasize wildcard interfaces
2010-08-10 12:40:22 +02:00
Pieter Hintjens
b6cdd369e3
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
2010-08-08 11:43:32 +02:00
Pieter Hintjens
677b3d906a
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
2010-08-07 20:55:07 +02:00
Martin Lucina
b579aa9510
Merge branch 'master' of github.com:zeromq/zeromq2
2010-08-06 12:01:40 +02:00
Martin Lucina
6d35e82db4
Fix uninitialized use of nbytes in signaler fix
2010-08-06 12:00:57 +02:00
Pieter Hintjens
2100a91333
Merge branch 'master' of github.com:zeromq/zeromq2
2010-08-06 11:09:29 +02:00
Martin Lucina
16b43e657b
Merge branch 'master' of github.com:zeromq/zeromq2
2010-08-05 23:41:49 +02:00
Martin Lucina
9ac2ff449c
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.
2010-08-05 23:40:30 +02:00
Pieter Hintjens
78e9ee84bf
Fixed MSVC project for PULL/PUSH
2010-08-05 18:49:49 +02:00
Pieter Hintjens
96bcc9e6cf
Small improvements to zmq_device(3) page
...
* Clarified broker model and proxy model
* Added example of proxy model
2010-08-04 17:06:38 +02:00
Pieter Hintjens
13f3481e12
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
2010-08-04 16:05:25 +02:00
Pieter Hintjens
6ff193999d
Removed empty man pages for old standalone devices
2010-08-04 15:07:15 +02:00
Pieter Hintjens
c51de31f2f
Reverting 'clean' change to Makefile
2010-08-04 14:56:58 +02:00
Pieter Hintjens
77a3c36ff1
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
2010-08-04 14:43:33 +02:00
Pieter Hintjens
6cd9030447
Added clean target that deletes generated man pages
2010-08-04 14:42:21 +02:00
Pieter Hintjens
f575f252c9
Added man page for the zmq_device method
2010-08-04 14:41:43 +02:00
Pieter Hintjens
11a410b658
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.
2010-08-04 14:38:56 +02:00
Martin Lucina
544b36da68
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.
2010-07-30 16:49:06 +02:00
Martin Hurton
66470b2c55
perf: fix typo
2010-07-26 12:24:00 +02:00
Martin Hurton
10533a560b
pipe: check_read() should check for message delimiter
2010-07-24 17:33:54 +02:00
Martin Hurton
e1c596b37e
Make sure lwm > 0 when hwm > 0
2010-07-24 17:19:47 +02:00
Martin Lucina
5b1a6a4bea
Issue 42 - getaddrinfo() fails
2010-07-21 17:33:40 +02:00
Martin Sustrik
aedf3f808b
EHOSTUNREACH is a valid return value from recv()
2010-07-19 08:38:24 +02:00
Martin Sustrik
269904361b
minor comment clarification
2010-07-13 11:46:56 +02:00
Martin Sustrik
da49e5a4dd
devices exit in case of context termination
2010-07-13 07:57:29 +02:00
Martin Hurton
ca057c7db8
Fix identity generation for transient inproc connections
2010-07-10 23:02:50 +02:00
Martin Hurton
1f61c87ac5
issue 40 - nbytes != -1 (tcp_socket.cpp:216)
2010-07-07 17:15:32 +02:00
Martin Hurton
fd707fedc5
issue 38 - Assertion failed: fetched (xrep.cpp:196)
2010-07-07 12:41:53 +02:00
Martin Lucina
805af8241d
asciidoc.conf was missing from distribution tarball
2010-06-30 16:23:07 +02:00
Pieter Hintjens
0ab6532419
Prevent socket reuse by second bind, on win32
2010-06-29 21:08:41 +02:00
Martin Sustrik
79a3d07c85
MSVC build fixed
2010-06-29 07:45:11 +02:00
Martin Sustrik
ba91644fdb
msg_store added to MSVC build
2010-06-26 20:11:40 +02:00
Pieter Hintjens
1dda8a2aaa
Used more expressive variable names
2010-06-25 18:35:42 +02:00
Martin Hurton
fca2e8e8cc
Add SWAP support
2010-06-21 15:06:51 +02:00
Martin Hurton
10c28c1fc2
Revive reader on pipe termination
2010-06-19 20:51:42 +02:00
Martin Hurton
2c3913bb19
fix double free error in PAIR socket
2010-06-19 19:50:55 +02:00
Martin Sustrik
cff7ba2315
Windows build fixed
2010-06-17 17:09:51 +02:00
Martin Sustrik
7f01e9970d
stopwatch returned to libzmq
2010-06-17 16:51:53 +02:00
Martin Hurton
4777fe4010
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.
2010-06-17 13:00:30 +02:00
Martin Sustrik
9151de3895
generate identity for transient inproc connections
2010-06-17 11:01:18 +02:00
Martin Sustrik
341e8a2673
test commit
2010-06-15 14:01:44 +02:00
Martin Sustrik
9858447fad
getsockopt documentation fixed
2010-06-15 08:01:43 +02:00
Brian Buchanan
ac90b7e0ba
issue 35 - ZMQ_RCVMORE sometimes erroneously returns false
2010-06-11 08:03:34 +02:00
Martin Sustrik
5ee355d188
if connect asserts, exact error is reported
2010-06-11 07:02:36 +02:00
Martin Sustrik
27877d73ea
EHOSTUNREACH is acceptable outcome from connect
2010-06-11 06:55:30 +02:00
Piotr Trojanek
c818b14bbd
clearing thread info structure
2010-06-10 12:57:42 +02:00
Martin Sustrik
74a3907be2
couple of ICC warnings fixed
2010-06-10 12:36:27 +02:00
Piotr Trojanek
8782b4d696
-lcrypto added to linking flags for QNX
2010-06-10 07:34:11 +02:00
Martin Sustrik
76e0153d4f
issue 33 - missing virtual destructors
2010-06-10 07:21:05 +02:00
Martin Sustrik
d329c55da9
issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296)
2010-06-10 07:12:00 +02:00
Martin Sustrik
604f7475ec
issue 32 - poll_t poller broken
2010-06-09 17:49:08 +02:00
Martin Sustrik
7a29e8594f
Piotr Trojanek added to AUTHORS file
2010-06-09 17:07:45 +02:00
Piotr Trojanek
751b60a18d
extra ';' inside a struct or union -- clang warnings fixed
2010-06-09 17:06:32 +02:00
Martin Sustrik
240fc33f65
minor comment clarification
2010-06-07 20:23:48 +02:00
Martin Sustrik
784e73a7c8
Merge branch 'master' of git@github.com:sustrik/zeromq2
2010-06-07 09:03:56 +02:00
Martin Sustrik
ce53d02e05
C++ docs for zmq::poll function improved
2010-06-07 09:03:40 +02:00
Martin Lucina
8f51a10918
Update ChangeLog for v2.0.7
2010-06-04 19:30:47 +02:00
Martin Lucina
5c97ff9a2e
More NEWS for 2.0.7
2010-06-04 19:27:55 +02:00
Martin Lucina
e8a9614aae
Update NEWS for 2.0.7 release
2010-06-04 19:20:37 +02:00
Martin Sustrik
9b8f902d72
initial version of 2.0.7 NEWS
2010-06-04 18:49:55 +02:00
Martin Lucina
baf659fde5
Move news from ChangeLog into NEWS
2010-06-04 17:12:51 +02:00
Martin Lucina
94dfe1368a
Fix MINGW build
...
Mingw seems to define NOMINMAX, so don't redefine it if already defined
2010-06-04 17:02:16 +02:00
Martin Sustrik
cf048bb1f8
platform.hpp for MSVC contains only very basic stuff
2010-06-04 16:29:36 +02:00
Martin Sustrik
927993863e
MSVC build fixed
2010-06-04 15:47:22 +02:00
Martin Lucina
621d7415b3
Fix Solaris/NetBSD breakage in atomic_ptr.hpp
2010-06-04 15:35:14 +02:00
Martin Sustrik
67ca7dcbe6
obsolete API elements removed - this commit breaks backward compatibility
2010-06-04 15:24:06 +02:00
Martin Lucina
d844a90690
zmqd: Removing for now, not ready for 2.0.7
2010-06-04 15:00:31 +02:00
Martin Lucina
606c77368c
Move perf helper functions to perf/helpers.cpp
2010-06-04 14:48:49 +02:00
Martin Lucina
05b4a7ae78
Remove PGM examples from build
2010-06-04 13:58:49 +02:00
Martin Lucina
4d65d7a5a9
Documentation: zmq_tcp(7) update for 2.0.7
...
Document MORE bit in flags field
2010-06-04 13:53:40 +02:00
Martin Lucina
7fc15c21a1
Documentation: zmq_cpp(7) update for 2.0.7
2010-06-03 14:36:44 +02:00