0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-01 02:27:49 +08:00

696 Commits

Author SHA1 Message Date
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
Martin Lucina
10f4bf3f35 Documentation: Cosmetic changes 2010-06-03 14:15:05 +02:00
Martin Lucina
8076fd1a3a Documentation: zmq_errno(3) 2010-06-03 14:08:36 +02:00
Martin Lucina
7c9b09bc51 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
2010-06-02 18:36:34 +02:00
Martin Lucina
9d00d300b0 Documentation: zmq_init() API changes for 2.0.7 2010-06-01 22:22:50 +02:00
Martin Lucina
8ba1d3c8ed Documentation: zmq_term() and ETERM for 2.0.7 2010-06-01 22:22:29 +02:00
Martin Lucina
74a03dfd7d Merge branch 'master' of github.com:sustrik/zeromq2 2010-06-01 21:49:50 +02:00
Martin Sustrik
8a77135079 Pieter Hintjens added to 'authors' section 2010-06-01 10:42:55 +02:00
Pieter Hintjens
0b0716661e multiple vulnerabilities in xml paerser fixed 2010-06-01 10:40:12 +02:00
Martin Lucina
99e6179edd Documentation updates
The option_value parameter for zmq_getsockopt is in and out.
2010-05-31 17:24:50 +02:00
Martin Lucina
b4f3e0acd7 Documentation updates
Clarify multi-part messages
2010-05-31 17:21:51 +02:00
Martin Lucina
7bbe754cb4 Documentation updates
Clarify pipeline and exclusive pair patterns
2010-05-31 17:21:12 +02:00
Martin Lucina
8a4df431de Documentation updates
Add getsockopt to Makefile.am
2010-05-31 14:18:51 +02:00
Martin Lucina
dfbaf4f966 Documentation updates
Multi-part messages
2010-05-31 14:18:37 +02:00
Martin Lucina
0fa73b0394 Documentation updates
Add getsockopt to index
2010-05-31 14:13:41 +02:00
Martin Lucina
eb9ff1e779 Documentation updates
Multi-part messages
2010-05-31 14:12:27 +02:00
Martin Lucina
8becacf82c Documentation updates
Add zmq_getsockopt(3), clean up zmq_setsockopt(3).
2010-05-31 12:53:40 +02:00
Martin Sustrik
be6019abd1 issue 28. - SNDMORE/ RCVMORE is dropping every other message 2010-05-31 09:28:36 +02:00
Martin Sustrik
2e9be56a40 memory leak in REQ socket fixed 2010-05-31 06:17:58 +02:00
Martin Sustrik
3bb60da0d0 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-05-31 06:11:42 +02:00
Martin Sustrik
04fcd4d55b memory leak in REP socket fixed 2010-05-31 06:11:20 +02:00
Martin Lucina
da37c45b0c 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
2010-05-28 01:38:43 +02:00
Martin Lucina
74f1a4a579 RPM packaging cleanups
- ditch -utils package
- add descriptions from Debian packaging
2010-05-28 00:55:04 +02:00
Mikko Koppanen
b4cc7b97ec dist-hook for copying zeromq.spec to top-level 2010-05-28 00:50:54 +02:00
Mikko Koppanen
8bd3f743f5 Import redhat packaging 2010-05-28 00:50:54 +02:00
Martin Lucina
5219e4ce8f Clarify socket types in documentation, reinstate ZMQ_PAIR 2010-05-28 00:49:13 +02:00
Martin Sustrik
8408ae066d LWM is computed rather than explicitly specified by user 2010-05-25 15:03:57 +02:00
Martin Sustrik
f34a468a26 coding style fixed in zmqd 2010-05-25 10:57:54 +02:00
Martin Sustrik
7773fdddfb Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-05-20 18:02:34 +02:00
Martin Sustrik
091e92a11d Pieter Hintjens added to AUTHORS file 2010-05-20 18:01:58 +02:00
Martin Sustrik
89783c37d2 incomplete messages can be stored in ypipe 2010-05-19 06:31:57 +02:00
Jon Dyte
f40ce4e500 single 0MQ daemon (zmqd) - initial version 2010-05-15 12:37:45 +02:00
Steven McCoy
6705a3d580 some more sanity checks in pgm_socket 2010-05-13 12:43:58 +02:00
Martin Sustrik
ff9d398555 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-05-13 12:41:39 +02:00
Steven McCoy
56262d7ba7 some more sanity checks in pgm_socket 2010-05-13 12:41:20 +02:00
Martin Lucina
f6c1c97242 Merge branch 'master' of github.com:sustrik/zeromq2 2010-05-12 16:49:49 +02:00
Martin Lucina
52ef3f3f2c 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()
2010-05-12 16:46:59 +02:00
Martin Sustrik
127cb89ac1 MAINTAINERS file added 2010-05-12 16:46:07 +02:00
Martin Sustrik
8e5ac100c9 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-05-12 12:45:38 +02:00
Brett Cameron
714a8d50a0 fixes for OpenVMS 2010-05-12 12:45:12 +02:00
Martin Lucina
9fbb9141a8 Update historic include paths 2010-05-10 16:39:09 +02:00
Martin Lucina
9d16a415cb 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.
2010-05-10 16:32:10 +02:00