- 26 Sep, 2012 6 commits
-
-
Ivan Pechorin authored
Visual Studio 2008 compiler defines min/max as macros in its <algorithm> even if <windows.h> is not included at all. This patch defines NOMINMAX to remove these macros and fix compilation on Visual Studio 2008.
-
Ivan Pechorin authored
This patch fixes the two headers added recently to include our own "stdint.hpp" instead of system <stdint.h> because the latter is not available in Visual Studio versions prior to 2010.
-
Ivan Pechorin authored
This patch updates MSVC2008 project after device was renamed to proxy and new files were added (tcp.cpp, v1_encoder.cpp and v1_decoder.cpp).
-
Ivan Pechorin authored
This patch updates MSVC2010 project after device was renamed to proxy and new files were added (v1_encoder.cpp and v1_decoder.cpp).
-
Ivan Pechorin authored
Visual Studio didn’t have <stdint.h> until 2010, therefore we had a bunch of typedefs for int8_t, int16_t and the likes in "stdint.hpp". This patch limits these typedefs to Visual Studio versions older than 2010 and uses compiler-shipped <stdint.h> on 2010 and newer.
-
Pieter Hintjens authored
Init msg in pgm_receiver drop subs
-
- 25 Sep, 2012 3 commits
-
-
Ian Barber authored
Fixes reported issue with PGM receiver on 32bit Suse where asserts were hit due to the msg flags not being zeroed.
-
Pieter Hintjens authored
Fix monitor
-
Lourens Naudé authored
-
- 21 Sep, 2012 4 commits
-
-
Pieter Hintjens authored
zmq_msg_t will now typedef a named struct.
-
Astellar authored
This change allows forward declaration of struct zmq_msg_t.
-
Lourens Naudé authored
-
Lourens Naudé authored
Significantly reworked the monitoring infrastructure with a more granular per socket API and to play well with monitoring endpoints in application threads
-
- 20 Sep, 2012 2 commits
-
-
Pieter Hintjens authored
Update doc/zmq_msg_get.txt
-
Vaughan Newton authored
-
- 18 Sep, 2012 2 commits
-
-
Ian Barber authored
Add pthread.h include to test_connect_delay.cpp
-
Joshua Gao authored
This test case uses pthreads, but doesn't include the header.
-
- 07 Sep, 2012 3 commits
-
-
Ian Barber authored
Replaced device concept with proxy concept
-
Pieter Hintjens authored
* zmq_device is now a wrapper that calls zmq_proxy * zmq_proxy adds capture socket
-
Pieter Hintjens authored
Add "#undef NDEBUG" to all tests.
-
- 06 Sep, 2012 2 commits
-
-
Arthur O'Dwyer authored
This change makes sure that even if the tests are built in a "release" configuration (with optimizations and NDEBUG turned on), the assertions won't get compiled out of the tests themselves. The C standard guarantees that the most recent inclusion of <assert.h> is the one that counts, so it's important that the "#undef NDEBUG/#include <assert.h>" come as the last thing in the block of header files. "testutil.hpp" includes <assert.h>, so I've left <assert.h> out of any test that #includes "testutil.hpp", just for the sake of brevity.
-
Pieter Hintjens authored
-
- 05 Sep, 2012 4 commits
-
-
Ian Barber authored
New message encoder/decoder + code simplification
-
Martin Hurton authored
-
Martin Hurton authored
This is supposed to become part of the ZMTP/1.1. The main differences from the ZMTP/1.0 framing protocol are: - flags field comes first, followed by the length field - long messages are signaled using a flag rather then 0xff escape - length field does not include the flags field, 0 is a valid value
-
Martin Hurton authored
-
- 04 Sep, 2012 2 commits
-
-
Pieter Hintjens authored
Fix some PGM refactor breakages
-
Ian Barber authored
Hopefully fixed LIBZMQ-427 - there was a slight typo in the init_address refactor. The encoder refactoring had also broken pgm_sender and receiver, but just required updating to use the new functions.
-
- 03 Sep, 2012 3 commits
-
-
Ian Barber authored
Code cleanup
-
Martin Hurton authored
-
Martin Hurton authored
-
- 02 Sep, 2012 4 commits
-
-
Ian Barber authored
Introduce versioning into ZTP
-
Martin Hurton authored
Since ZMQ 2.x does not support subscription forwarding, it's not possible to use ZMQ 2.x SUB socket to receive messages from a PUB socket. This patch adds some compatibility layer so that ZMQ 2.x SUB socket receives messages from PUB socket.
-
Martin Hurton authored
This patch introduces i_msg_sink and i_msg_source interfaces. This allows us to make message encoder and decoder more general.
-
Martin Hurton authored
The new protocol adds support for protocol version and exchanges the socket type, so that the library can reject a connection when the sockets do not match. The protocol was designed so that it's possible to detect and fully support ZTP/1.0 peers. When a new connection is set up, peers exchange greeting messages. The greeting message encodes both the protocol verion and the socket type. The format of the greeting message is as follows: greeting = tag1, adaptation, tag2, version, length, socket_type tag1 = BYTE / 0xff adaptation = 8 BYTES tag2 = BYTE / 0x7f version = BYTE / 1 length = BYTE / 1 socket_type = BYTE The protocol does not define the value of adaptation field. When interoperability with ZTP/1.0 peers is required, the adaptaion encodes, in network byte order, the length of identity message increased by 1. When adaptaion consists of eight zeros, the current implementatatio of 0MQ 2.x closes the connection. This patch supports both ZTP/1.0 and new protocol.
-
- 28 Aug, 2012 2 commits
-
-
Mikko Koppanen authored
Fixed COPYING.LESSER
-
Pieter Hintjens authored
-
- 27 Aug, 2012 3 commits
-
-
Pieter Hintjens authored
Silence all "unused parameter" warnings from Clang.
-
Arthur O'Dwyer authored
-
Arthur O'Dwyer authored
This formerly unused parameter actually represents the socket on which the event was received. As such, we should check that its value makes sense: it must be either "rep" or "req", and in the case of some kinds of events, it must be specifically one or the other. After this change, "s" is no longer unused.
-