Permalink
Commits on Sep 14, 2015
  1. Fix a low probability bug in ::send()

    daveab committed Sep 14, 2015
    A ::send() marked unblocking, where the zmq[_send,_sendmsg,_ms_send]
      of the first (or only) part returned EINTR was expected to
      return FALSE (== would-block) to the caller, but instead would
      have sent the entire message. The comments indicate that this
      could lead to the send blocking.
    
    This would not be visible in our code, apart from a failure to update
      statistics about blocked sends. These statistics are used to infer
      which parts of the processing pipeline is slow, and are not critical.
    
    The bug was found by code inspection and no testcase has been written.
Commits on Jun 18, 2015
  1. Merge branch 'develop' into datasift

    benjamg committed Jun 18, 2015
    Conflicts:
    	Makefile
    	src/zmqpp/exception.hpp
    	src/zmqpp/socket.hpp
Commits on Jun 17, 2015
  1. Merge pull request #122 from xaqq/doxygen

    hintjens committed Jun 17, 2015
    Documentation improvement + switch to 4.1.2
  2. Version 4.1.2

    xaqq committed Jun 17, 2015
    Improve mainpage.
  3. Doxygen mainpage + comment formatting update

    xaqq committed Dec 27, 2014
    Adds a basic doxygen mainpage.
    Replace /*! with /** so doxygen autobrief can be enabled.
  4. Merge pull request #120 from xaqq/fix_119

    hintjens committed Jun 17, 2015
    Fixes #119 (VS build problem)
  5. Fixes #119 (VS build problem)

    xaqq committed Jun 17, 2015
Commits on Jun 2, 2015
  1. Merge pull request #117 from xaqq/fix_test

    benjamg committed Jun 2, 2015
    Fix error in test.
Commits on Jun 1, 2015
  1. Fix error in test.

    xaqq committed Jun 1, 2015
    This fixes #116.
    Problem: The creation of the zmq_pollitem_t object
    had a typo, resulting in a call to zmq_poll() that didn't
    really make sense.
    Solution: Correctly create the pollitem and adjust the BOOT_CHECK
    call to a proper expected result. Also increase the max timeout
    to 1second to make sure the message as plenty of time to be
    delivered.
Commits on May 26, 2015
  1. Merge pull request #115 from rcane/develop

    xaqq committed May 26, 2015
    Silenced some VC++ compiler warnings.
  2. Silenced some VC++ compiler warnings.

    rcane committed May 26, 2015
    Converted two while(true) loops into for(;;) in order to avoid:
    "warning C4127: conditional expression is constant".
    
    Removed the variable name from two catch blocks to avoid:
    "warning C4101: 'e' : unreferenced local variable".
  3. Merge pull request #114 from rcane/develop

    hintjens committed May 26, 2015
    Fixed some api inconsistencies.
  4. Moved some consts to improve consistency.

    rcane committed May 26, 2015
    To be more consistent in the api "const foo &f" was converted into
    "foo const& f". Although this can turn into a religous battle the latter
    form seems to be more prominent in the existing code. Also its the form
    this author prefers. ;-)
  5. Merge pull request #113 from rcane/develop

    hintjens committed May 26, 2015
    Removed code duplication in poller.
  6. poller::add() takes a const reference now.

    rcane committed May 26, 2015
    The add() method taking a zmq_pollitem_t got its parameter as a value.
    The other methods take zmq_pollitem_t as a const reference. In order to
    be consistent add() does that too now. Using a const reference is also
    more appropriate to avoid an unnecessary copy of the struct.
  7. Removed code duplication in poller.

    rcane committed May 26, 2015
    The three variants of add() and remove() in poller where used duplicated
    code. Now the versions takeing a socket or a raw_sokcket simply call the
    third version taking a zmq_pollitem_t.
    
    This fixes #15.
Commits on May 25, 2015
  1. Merge pull request #112 from rcane/develop

    xaqq committed May 25, 2015
    Improved the api dealing with file descriptors (see  #111).
  2. Improved the api dealing with file descriptors.

    rcane committed May 25, 2015
    Until now adding raw sockets to poller and reactor was done using a file
    descriptor as an int. This only works properly under POSIX. Under Windows
    a raw socket is represented as a SOCKET type. This type cannot simply be
    cast into int because under 32-bit it is actually an unsigned int and
    under 64-bit it is an unsigned __int64.
    
    The problem was solved by introducing a new typedef raw_socket_t which
    is of type SOCKET under Windows and an int under the other platforms.
    All methods taking an int as a file descriptor now take raw_socket_t
    hiding this platform detail away.
    
    The documention was changed accordingly to talk about 'standard socket'
    where 'file descriptor' was used before.
    
    This is a api-breaking change (at least under Windows).
    
    This fixes #111.
  3. Merge pull request #110 from rcane/develop

    xaqq committed May 25, 2015
    VC2013 compile fix (no support for constexpr).
Commits on May 24, 2015
  1. VC2013 compile fix (no support for constexpr).

    rcane committed May 24, 2015
    A new define ZMQPP_NO_CONSTEXPR was introduced in compatibility.h. It is
    set for all versions of VC++ including VC2013. VC2015 should have
    support for constexpr but needs to be tested when it is available.
    
    This fixes #99.
Commits on May 15, 2015
  1. Merge pull request #109 from chickenkiller/develop

    benjamg committed May 15, 2015
    add cstdlib header to ensure EXIT_FAILURE presence
  2. add cstdlib header to ensure EXIT_FAILURE presence

    chickenkiller committed May 15, 2015
    Using some cross-compiling toolchains, EXIT_FAILURE is not always
    properly defined without this inclusion.
    
    Add myself to AUTHORS.
    
    Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
Commits on May 12, 2015
  1. makefile

    benjamg committed May 12, 2015
  2. Merge branch 'develop' into datasift

    benjamg committed May 12, 2015
    Conflicts:
    	src/client/main.cpp
Commits on Mar 30, 2015
Commits on Feb 8, 2015
  1. Merge pull request #106 from xaqq/requirements

    hintjens committed Feb 8, 2015
    Update requirements.
  2. Update requirements.

    xaqq committed Feb 8, 2015
    It's been pointed out (#105) that C++0x wasn't enough to build
    the develop branch anymore.
    
    This commits update the requirement to a C++11 compatible compiler.
    It fixes #105.
Commits on Jan 18, 2015
  1. Merge pull request #104 from radupopescu/develop

    hintjens committed Jan 18, 2015
    Compilation fix for zmqpp-client on Mac OS X 10.10
  2. Compilation fix for zmqpp-client on Mac OS X 10.10

    Radu Popescu
    Radu Popescu committed Jan 18, 2015
    These changes were needed to compile zmqpp-client on a Mac running OS X 10.10.
    zmqpp was configured using the CMake scripts and compiled with Xcode 6.1.
Commits on Jan 15, 2015
  1. Merge pull request #103 from brysonda/develop

    hintjens committed Jan 15, 2015
    Add support for building and installing appropriately named libraries on OS X
Commits on Jan 12, 2015
  1. Merge pull request #101 from xaqq/zap_improv

    hintjens committed Jan 12, 2015
    Zap improv
Commits on Jan 11, 2015
  1. Prevent use of unitilized variable + rename to more explicit name

    xaqq committed Jan 11, 2015
    Changes:
    + Rename allow_any to curve_allow_any so that it's more explicit.
    + Initialize this member to false.
    + Remove debug output
  2. Remove support for ZMQ_IDENTITY_FD.

    xaqq committed Jan 11, 2015
    ZMQ_IDENTITY_FD has been removed for ZMQ.
    Since it was never part of any "real release" of ZMQ, this commit
    drop support for it.
    
    Add myself to author file.