0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-03 20:45:24 +08:00

696 Commits

Author SHA1 Message Date
Martin Hurton
f9c84a1a68 Implement flow control for ZMQ_DOWNSTREAM sockets 2010-03-12 11:07:38 +01:00
Martin Hurton
5d4f6b18cd Implement flow control for ZMQ_P2P sockets 2010-03-12 11:07:38 +01:00
Martin Hurton
f9521c6b6a PGM: implement flow control 2010-03-12 11:07:38 +01:00
Martin Hurton
61ee6fae53 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.
2010-03-12 11:07:38 +01:00
Martin Lucina
31d36104aa devices/ build fixed 2010-03-12 10:34:11 +01:00
Martin Lucina
10bbe6af99 Cleanup .gitignore 2010-03-11 20:43:51 +01:00
Martin Lucina
27e2d08449 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
2010-03-11 20:33:27 +01:00
Martin Lucina
90944759b6 Removed Java binding from core distribution 2010-03-11 20:12:55 +01:00
Martin Lucina
9fda070e4d Typeset literal correctly 2010-03-10 23:20:43 +01:00
Martin Lucina
0a1e0beaa2 Fixes to PGM wire format description 2010-03-10 23:18:08 +01:00
Martin Lucina
5fef480aeb Fixes to TCP wire format specification 2010-03-10 13:52:41 +01:00
Martin Sustrik
8f90ae8dfd wire formats in docs clarified 2010-03-10 12:40:13 +01:00
Martin Lucina
98801ebcae Documentation fixes 2010-03-10 12:19:39 +01:00
Martin Lucina
bc468b3451 Add missing section with zmq_version() 2010-03-09 19:29:41 +01:00
Martin Lucina
edebff902a Add dependency for zmq_epgm.7 2010-03-09 18:58:59 +01:00
Martin Lucina
ca70b40383 Hack, zmq_epgm.7 needs to be copied from zmq_pgm.7 2010-03-09 18:53:42 +01:00
Martin Lucina
1aee86408d Documentation rewrite 2010-03-09 18:47:31 +01:00
Martin Sustrik
d790940fd0 udp transport renamed to epgm 2010-03-09 18:14:49 +01:00
Martin Sustrik
5a776f5597 PGM late joiners would start receiving a complete message rather than a message part 2010-03-09 17:34:28 +01:00
Martin Sustrik
0f891e091c message flags from the wire are written to zmq_msg_t and vice versa 2010-03-09 17:24:42 +01:00
Martin Sustrik
531c6af0d4 message flags added to zmq_msg_t strcuture 2010-03-09 16:56:53 +01:00
Martin Sustrik
96ccc1c5fc 'flags' fields added to the wire format 2010-03-09 15:10:44 +01:00
Martin Sustrik
e04e2cdbba rollback functionality added to pipe 2010-03-09 08:43:20 +01:00
Martin Sustrik
9481c69b0f problem with NIC name resolution on OSX fixed 2010-03-06 16:32:19 +01:00
Martin Lucina
26b0aea24f Win32 build fixes 2010-03-03 17:01:08 +01:00
unknown
352da8ae87 type mismatch in tcp_listener (win version) fixed 2010-03-03 15:47:21 +01:00
Martin Hurton
14054ecce7 Fix typo: zmq_close -> zmq_msg_close 2010-03-03 09:58:37 +01:00
Martin Hurton
708298d798 Fix possible lockups when reading from ZMQ_REP sockets 2010-03-03 08:00:30 +01:00
unknown
157a66fc42 polling on POSIX sockets returns POLLERR (win32) 2010-03-01 18:33:16 +01:00
Martin Sustrik
4e7158b67d return POLLERR from polling on POSIX sockets (linux version) 2010-03-01 17:40:39 +01:00
Martin Sustrik
7442f53956 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-27 14:18:21 +01:00
Martin Sustrik
ea0a44c8a9 Ruby binding removed 2010-02-27 14:18:02 +01:00
unknown
83f85ea51d ruby binding removed from msvc build 2010-02-27 13:49:53 +01:00
unknown
696ada8833 python binding removed from nsvc build 2010-02-27 13:36:52 +01:00
Martin Sustrik
45414b5444 python binding removed 2010-02-27 12:23:22 +01:00
Martin Lucina
efefa069b2 Cygwin support 2010-02-26 20:03:58 +01:00
Martin Sustrik
deda7ca54a Java Poller patch 2010-02-26 17:28:09 +01:00
unknown
4a1a83887d Win32 build of Java binding fixed 2010-02-26 16:42:52 +01:00
Martin Sustrik
4440b13c35 Poller object implemented in Java binding 2010-02-26 15:55:36 +01:00
Martin Sustrik
1c4daf79ce MIT license text added 2010-02-26 14:28:20 +01:00
Martin Sustrik
57e057c825 1st version of Java poll added 2010-02-25 16:29:17 +01:00
Martin Sustrik
ed8fe68383 handle invalid PGM connection string decently 2010-02-24 17:27:31 +01:00
Martin Sustrik
be51cfa419 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-24 16:19:53 +01:00
Martin Sustrik
0b4172b868 minor cast issues on cygwin fixed 2010-02-24 16:19:14 +01:00
unknown
b7f01f9071 chat example removed from win build; missing fd_signaler_t::poll on win added 2010-02-24 15:33:03 +01:00
Martin Sustrik
476ebde628 use binary UUIDs instead of string representation to save some bytes 2010-02-24 13:02:29 +01:00
Martin Lucina
cc5c30f5dc Fix: OpenPGM is now distributed as .tar.gz 2010-02-24 12:09:24 +01:00
Martin Lucina
bba36e6ee6 Disable IPv6 support
The current IPv6 support is half-assed and breaks for too many people.
Revert back to IPv4 only for now.
2010-02-24 12:07:24 +01:00
Martin Lucina
39b8961974 Update OpenPGM to 2.0.24 (stable) 2010-02-24 09:41:10 +01:00
Martin Sustrik
ccd47f1ee8 chat example moved to separate repo 2010-02-24 09:17:05 +01:00
Martin Sustrik
8980a98582 zmq_error used from ruby binding 2010-02-24 08:29:29 +01:00
Martin Sustrik
551fa104ff zmq_errno used in C++ binding 2010-02-23 23:43:31 +01:00
Martin Sustrik
95329719cd zmq_errno is exported from the DLL 2010-02-23 23:37:05 +01:00
Martin Sustrik
2441ef11a2 zmq_errno helper function added 2010-02-23 23:28:25 +01:00
Martin Sustrik
2dd55605ea recv fails after polling for IN on REQ socket 2010-02-23 22:13:56 +01:00
Martin Sustrik
025c9e173c execution disabled on certain source files; some comments on java binding; MSVC temp files added to .gitignore 2010-02-23 17:22:52 +01:00
unknown
71b4947f95 Win32 build fixed 2010-02-23 12:02:55 +01:00
Martin Sustrik
7c0df6ee02 Java binding beautified, inline documentation added 2010-02-23 11:52:33 +01:00
Martin Sustrik
ef1b597489 minor fix in zmq_socket(3) man page 2010-02-23 10:01:54 +01:00
Martin Sustrik
b9a612ff3f Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-22 18:19:51 +01:00
Martin Sustrik
f24955519a zmq_poll doesn't exit when infinite timeout is set and interrupt occurs 2010-02-22 18:19:26 +01:00
Martin Lucina
61f0ef569b NetBSD: Check for and use atomic_ops(3) if available 2010-02-22 18:16:40 +01:00
Martin Lucina
3a69cca386 Fix $build_doc/$install_man check yet again 2010-02-22 16:42:13 +01:00
Martin Sustrik
1294c1d33a typo in zmq_ipc(7) fixed 2010-02-21 16:58:53 +01:00
malosek
ff99d753ae Minor buid system tunning 2010-02-20 21:03:12 +01:00
Martin Sustrik
740e531fbb Aleksey Yeschenko added to the credit section of AUTHORS file 2010-02-20 09:11:30 +01:00
Martin Lucina
57148b1fde Add missing check for install_man=yes
Fixes git builds w/o asciidoc, bug introduced in 46824abe
2010-02-19 18:23:54 +01:00
Martin Sustrik
8b86dcf81c build on cygwin enabled 2010-02-19 17:50:47 +01:00
Martin Sustrik
727054547f don't check for identity, if the connection is anonymous 2010-02-19 17:02:07 +01:00
Martin Sustrik
aff1f6621a Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-19 15:25:05 +01:00
Martin Sustrik
75f571c884 Multi-hop REQ/REP, part XII., generate unique identities for anonymous connections 2010-02-19 15:24:43 +01:00
Martin Lucina
2a79a943de Add NetBSD support 2010-02-18 19:38:15 +01:00
Martin Lucina
776b126339 Fix typo 2010-02-18 19:27:35 +01:00
Martin Lucina
ab27f84b14 libstdc++ depends on libm on some platforms 2010-02-18 19:27:15 +01:00
Martin Lucina
495f0d105f Fix detection of libstdc++
We only care about libstdc++ when using GNU C++.
Further, libstdc++ depends on libm on some platforms, fix this.
2010-02-18 17:29:14 +01:00
Martin Lucina
46824abeb2 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.
2010-02-18 17:25:49 +01:00
Martin Lucina
8be491b7bd 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.
2010-02-18 13:46:00 +01:00
Martin Sustrik
d008637bc4 one more attempt to fix the previous win32 problem 2010-02-17 21:16:59 +01:00
Martin Sustrik
f97da5e644 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-17 20:33:46 +01:00
Martin Sustrik
e385319e5a recv returning -1 while errno=0 fixed 2010-02-17 20:33:00 +01:00
unknown
41354bfa98 zmq_version fixed on Win32 platform 2010-02-17 20:16:19 +01:00
Martin Lucina
f745c96a9b 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.
2010-02-17 15:40:26 +01:00
Martin Sustrik
9d8623b28f ZMQII-76: Bug in how replies are handled when the REQ endpoint goes away 2010-02-17 08:30:27 +01:00
Martin Sustrik
33cb20a747 ZMQII-77: Put librbzmq symbols into ZMQ module 2010-02-16 23:31:17 +01:00
Martin Sustrik
1e7878489d exconf.rb checks for libzmq.so installation 2010-02-16 23:02:59 +01:00
Martin Sustrik
8214d386c3 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-16 22:20:09 +01:00
Martin Sustrik
4190f64d8c Special exception clause added to LGPL license 2010-02-16 22:19:33 +01:00
Martin Lucina
96b2690716 Merge branch 'master' of github.com:sustrik/zeromq2 2010-02-16 19:59:32 +01:00
Martin Lucina
60ce5cc82a PGM tarball should be removed on 'distclean', not 'clean' 2010-02-16 19:58:55 +01:00
Martin Sustrik
b9caa319e2 Multi-hop REQ/REP, part XI., finalise the XREQ/XREP functionality 2010-02-16 18:30:38 +01:00
Martin Sustrik
2ddce20535 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-16 18:03:41 +01:00
Martin Sustrik
a2f9899f6a missing COPYING file added 2010-02-16 17:50:36 +01:00
Martin Lucina
afb526f31a Fix 'make dist' to work with no special magic 2010-02-16 00:11:38 +01:00
Martin Lucina
8e9b78af27 Correct path for pgm distclean 2010-02-15 23:59:35 +01:00
Martin Lucina
df0c18ca17 Missed one instance of pgm2 2010-02-15 23:54:49 +01:00
Martin Lucina
b09eeeb2fa Update gitignore 2010-02-15 23:52:08 +01:00
Martin Lucina
80c820d758 Cleaning up more PGM cruft 2010-02-15 23:51:05 +01:00
Martin Lucina
635e314643 Clarify python.h messages 2010-02-15 23:09:57 +01:00
Martin Lucina
55800cea8c Fix typo 2010-02-15 23:02:24 +01:00
Martin Lucina
5687661ba4 Cleanup messages from configure.in 2010-02-15 22:58:45 +01:00