0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

767 Commits

Author SHA1 Message Date
Martin Lucina
eb83678b2b Add INSTALL to Git, thus making it a normal file
INSTALL gets added in somewhat magically by automake, or not. Adding it into
Git ensures it's always included in the distribution.

Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-11-01 14:12:33 +01:00
Mikko Koppanen
8ef53c0dc6 Fixes build on Linux using Sun Studio compiler
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-23 22:09:13 +02:00
Martin Sustrik
21b0c0b4f7 SunStudio fixed.
With SunStudio's implementation of STL basic_string constructor
doesn't accept NULL as a parameter even though size of string
is set to zero. Fixed.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-23 13:49:13 +02:00
Martin Sustrik
710615cdab Version number increased.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 00:47:31 +02:00
Martin Sustrik
53d1677c8b Update NEWS for 2.0.10 release
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-15 19:37:41 +02:00
Taras Shpot
6e95205333 Fix memory leak under Windows
The comment about memory ownership in uuid_t::to_string
was misleading as on most platforms the buffer is a field
of the object;
The string allocated in UuidToString() wasn't properly freed
with RpcStringFree()

Signed-off-by: Taras Shpot <taras.shpot@eleks.com>
2010-10-15 17:45:02 +02:00
Martin Lucina
5b44025602 maint: Upgrade OpenPGM to 2.1.28~dfsg
Upgrade OpenPGM to version 2.1.28 for ZeroMQ 2.0.x. Now we also use the
DFSG-compliant upstream release tarball.

Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-15 17:27:10 +02:00
Martin Lucina
3cf01bf56e Makefile.am: Add missing files to distribution, improve maintainer-clean
Add missing files needed for regenerating configure to the distribution;
add MAINTAINERS; improve maintainer-clean to produce a really clean tree.

Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-15 16:53:45 +02:00
Martin Lucina
3b3df731e6 configure.in: Extract API version from zmq.h
* Added a version.sh and relevant changes to configure.in to extract the API
  version from zmq.h at the time autogen.sh is run.
* Moved the version macros to be next to zmq_version in zmq.h and improved
  the comments.
* Modified ZMQ_MAKE_VERSION to use (x) instead of plain x when expanding
  macro parameters.

Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-15 16:53:15 +02:00
Gonzalo Diethelm
26d7669464 Added bin directory to ignore list. 2010-10-14 08:02:43 -03:00
Sebastian Otaegui
2568947a71 Add support for RHEL6 in the spec file
Signed-off-by: Sebastian Otaegui <feniix@gmail.com>
2010-10-13 07:59:50 +02:00
Martin Lucina
57428db898 configure.in: Do not patch libtool rpath handling
For historic reasons (mainly compatbility with really old libtool), configure was
patching libtool to not use rpath in binaries. This breaks (among other things)
correct operation of "make check" since the test binaries may not be run with
the correct shared library version.

Current best practice as seen e.g. at http://wiki.debian.org/RpathIssue suggests
that this is no longer an issue, so I'm removing the code that patches libtool.

Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-11 16:39:48 +02:00
Martin Sustrik
6cd0867f02 Fixing the Red Hat packaging
When adding ZMQ_VERSION macros, I incorrectly removed
the PACKAGE_VERSION macro. Adding it back.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-11 16:32:27 +02:00
Martin Sustrik
ef8db789a1 Version macros added
Macro ZMQ_VERSION represents the current version of 0MQ
Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create
a representation of the specified version.
The versions can be compared using simple <, >, ==, etc.
operators.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-09 07:53:24 +02:00
Max Wolf
79aea5ffa6 zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed 2010-09-30 15:10:47 +02:00
Dhammika Pathirana
c1deb226f4 crash when closing an ypipe -- fixed 2010-09-28 07:46:17 +02:00
Martin Sustrik
f61921d096 REQ socket can die when reply is delivered on wrong unerlying connection -- fixed 2010-09-28 07:39:16 +02:00
Martin Sustrik
9129b79248 if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed 2010-09-26 13:30:33 +02:00
Martin Sustrik
e2802d9a4b values of RATE, RECOVERY_IVL and SWAP options are checked for negative values 2010-09-15 16:44:57 +02:00
Martin Sustrik
01c463cc89 Version number incremented to 2.0.10 2010-09-04 19:08:55 +02:00
Martin Sustrik
ebf3089735 NEWS updated for 2.0.9 2010-09-04 18:38:20 +02:00
Martin Lucina
1e8451961e Update .gitignore 2010-09-04 17:44:11 +02:00
Martin Lucina
32fd916c73 doc: Add 0MQ version to XHTML11 backend footer
Thanks to Matt Weinstein for the suggestion.
2010-09-04 17:42:33 +02:00
Martin Lucina
a6d3629fb4 build: Generate ChangeLog in 'make dist', ZIP automatically
Change 'make dist' to generate the Git ChangeLog file, that way it doesn't
have to be manually updated nor kept in Git which causes unnecessary work.

Also change 'make dist' to invoke 'dist-zip' automatically to generate a
ZIP as well as a .tar.gz.

Thanks to http://live.gnome.org/Git/ChangeLog for the inspiration to
automatically generate ChangeLog.
2010-09-04 17:42:12 +02:00
Martin Sustrik
db7fe858d6 Broken device numbering reverted 2010-09-04 17:12:08 +02:00
Dhammika Pathirana
10227899b1 assert on malformed messages 2010-09-04 16:59:25 +02:00
Jon Dyte
c2f3b3b445 forwarder and streamer devices handle multi-part messages correctly 2010-09-04 16:58:59 +02:00
Ivo Danihelka
ae567be0c2 improved null checking in zmq_term 2010-09-04 16:58:29 +02:00
Martin Lucina
51a84c15de zmq::select_t, zmq_poll(): assert if FD_SETSIZE reached
Ensure that 0MQ does not attempt to call select() on more than FD_SETSIZE
file descriptors.
2010-09-04 16:12:33 +02:00
Martin Lucina
f850190c16 zmq.h: Fix typo and use of C99 comment 2010-09-04 16:10:14 +02:00
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