Martin Sustrik
de93f6359f
crypto library is needed on HP-UX to generate UUIDs
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-02 13:30:20 +01:00
Martin Sustrik
dbcd382524
Merge branch 'maint'
...
* maint:
Add INSTALL to Git, thus making it a normal file
2010-11-01 14:13:36 +01:00
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
Mikael Helbo Kjaer
0ad71f88fe
select now uses Erase-Remove idiom for retired fds
...
Signed-off-by: Mikael Helbo Kjaer <mhk@designtech.dk>
2010-11-01 12:54:58 +01:00
Martin Sustrik
085b709021
Documentation for zmq_close and zmq_term fixed.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 18:17:53 +02:00
Martin Sustrik
3d8eb071a2
Coding style fixed for pgm_socket
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 16:17:08 +02:00
Martin Sustrik
b358df9fff
Name of "GNU Lesser Public License" corrected.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 15:08:28 +02:00
Martin Sustrik
3d01b929fe
Peter Bourgon added to the AUTHORS file
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-29 08:19:07 +02:00
Peter Bourgon
9384faf7e5
Add function to zmq::error_t to access errnum
...
Signed-off-by: Peter Bourgon <peter.bourgon@gmail.com>
2010-10-29 08:16:59 +02:00
Martin Sustrik
dace2473f1
Burak Arslan added to the AUTHORS file
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-28 08:44:53 +02:00
Burak Arslan
3eb935ef6e
switch to c++-specific headers
...
Signed-off-by: Burak Arslan <burak-github@arskom.com.tr>
2010-10-28 08:41:28 +02:00
Dhammika Pathirana
9a1d4df0fd
fix typo, destroy new engine
...
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
2010-10-27 09:37:32 +02:00
Dhammika Pathirana
465da7b17e
drop connection requests with duplicate peer identity
...
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
2010-10-26 16:02:47 +02:00
Martin Sustrik
401986e6bb
Build with MSVC2005 fixed
...
To use __rdtsc() function MSVC2005 requires including intrin.h
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-26 15:35:56 +02:00
Steven McCoy
e1debf15bb
Update to OpenPGM 5.0.91.
...
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2010-10-26 14:24:07 +02:00
Martin Sustrik
11af0fcc54
Merge branch 'maint'
...
* maint:
Fixes build on Linux using Sun Studio compiler
2010-10-23 22:12:47 +02: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
Dhammika Pathirana
71bef330fc
handle decoding malformed messages
...
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
2010-10-23 20:59:54 +02:00
Steven McCoy
8d6979922e
Changes for MSVC OpenPGM build.
...
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2010-10-23 14:35:02 +02:00
Martin Sustrik
da59f8dd7a
Merge branch 'maint'
...
* maint:
SunStudio fixed.
2010-10-23 13:51:12 +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
e73c96ba30
Minor comment improvement.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-18 09:11:36 +02:00
Martin Sustrik
0c86f90280
Minor typo fixed in zmq_getsockopt(3) man page.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-17 10:26:06 +02:00
Martin Sustrik
a780833683
ZMQ_BACKLOG socket option added.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-17 10:23:58 +02:00
Martin Sustrik
e8e2944f45
ZMQ_RECONNECT_IVL socket options added.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-17 09:54:12 +02:00
Martin Sustrik
8b8837688a
Couple of bugs in zmq_poll fixed.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 17:56:25 +02:00
Martin Sustrik
72b15a6dae
Implementation of zmq_strerror moved from zmq.cpp to err.cpp
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 16:05:34 +02:00
Martin Sustrik
61d38fbeed
Bug in low precision clock fixed.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 14:48:06 +02:00
Martin Sustrik
0a03e86e95
ZMQ_LINGER socket option added.
...
1. ZMQ_LINGER option can be set/get
2. options are part of own_t base class rather than being declared
separately by individual objects
3. Linger option is propagated with "term" command so that the
newest value of it is used rather than the stored old one.
4. Session sets the linger timer if needed and terminates
as soon as it expires.
5. Corresponding documentation updated.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 10:53:29 +02:00
Toralf Wittner
a1474e3057
Cancel tx_timer_id in pgm_sender_t::out_event().
...
Signed-off-by: Toralf Wittner <toralf.wittner@gmail.com>
2010-10-16 08:27:57 +02:00
Martin Sustrik
733c6780c5
Minor code clean-up to keep clang compiler happy.
...
"warning: extra ';' inside a struct or union [-pedantic]"
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 01:22:18 +02:00
Mikko Koppanen
b95f11aa0a
Don't set pedantic to yes if using ICC
...
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-16 01:05:15 +02:00
Martin Sustrik
48b0a901b8
Obsolete compile-time option removed.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 00:53:50 +02:00
Martin Sustrik
ae5a3c8a99
Merge branch 'maint'
...
* maint:
Version number increased.
Conflicts:
include/zmq.h
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 00:49:01 +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
18d46c8104
Merge branch 'maint'
2010-10-15 19:38:52 +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
Martin Sustrik
027eed41b8
Merge branch 'maint'
...
* maint:
Fix memory leak under Windows
2010-10-15 17:46:21 +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
2e9871ce34
Merge branch 'maint'
...
Conflicts:
configure.in
Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-15 17:30:03 +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 Sustrik
eeb8e7c8be
Merge branch 'maint'
...
* maint:
Makefile.am: Add missing files to distribution, improve maintainer-clean
configure.in: Extract API version from zmq.h
Added bin directory to ignore list.
Conflicts:
configure.in
include/zmq.h
2010-10-15 17:13:36 +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
Martin Sustrik
7b9e39724e
Minor fix in devpoll.hpp
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-15 11:31:20 +02:00
Martin Sustrik
17b0785744
Destructor of poller_base_t made virtual.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-15 11:29:20 +02:00
Mikko Koppanen
3e74a439c4
Cast execute_timers() result to int
...
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-15 11:21:56 +02:00
Martin Sustrik
b64b50ae21
Timers correctly canceled by PGM engines on shutdown.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-15 10:58:19 +02:00
Mikko Koppanen
e288f7a347
Fixes build on Linux using Sun Studio compiler
...
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-15 10:43:22 +02:00
Mikko Koppanen
e33e4d7650
ICC related qualifier fix
...
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-15 10:38:09 +02:00