# Generated by Makefile. Do not edit.

commit 097bf26e8dacf73abc2a6cdd6f9e4dce824b8208
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Nov 4 10:20:02 2016 +0000

    Finalize NEWS for 4.2.0

 NEWS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 785d9b5494b95aec23d654279eef4d7f71eb1b02
Merge: 7000e84 9e52806
Author: Lukas Geiger <lgeiger@users.noreply.github.com>
Date:   Fri Nov 4 10:58:54 2016 +0100

    Merge pull request #2189 from bluca/changelog
    
    Problem: NEWS out of date

commit 9e528067249dfe417d894d21aff0815945b1de9c
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Wed Nov 2 17:34:16 2016 +0000

    Problem: no NEWS for 4.2.0
    
    Solution: add an overview of the new socket options, new APIs,
    DRAFT mechanism (and DRAFT APIs). And a dedication.

 NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 105 insertions(+)

commit 932cc8295b44f427ff0683be096d50c376006c77
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Wed Nov 2 17:33:24 2016 +0000

    Problem: NEWS does not include previouos stable releases
    
    Solution: add release notes from 4.0.x and 4.1.x releases to
    capture all important solved bugs.

 NEWS | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 177 insertions(+), 1 deletion(-)

commit 7000e84aed1c2a57e31c2860df7c07f9d9863f44
Merge: 819bf78 488cb5a
Author: Doron Somech <somdoron@gmail.com>
Date:   Wed Nov 2 14:07:48 2016 +0200

    Merge pull request #2187 from Dmitriy-GH/master
    
     Add WinXP compatibility

commit 488cb5a02259673323ff650ed2bd4a29f9cd539d
Author: Dmitriy-GH <dimatart@mail.ru>
Date:   Wed Nov 2 15:51:58 2016 +0500

    MSVC 2015 project for compile libzmq.dll in WinXP compatible mode

 builds/msvc/vs2015_xp/libzmq.vcxproj               | 255 +++++++++++++++++++++
 builds/msvc/vs2015_xp/platform.hpp                 |  15 ++
 .../msvc/vs2015_xp/test_zmq/test_multithread.cpp   | 229 ++++++++++++++++++
 builds/msvc/vs2015_xp/test_zmq/test_zmq.vcxproj    | 155 +++++++++++++
 4 files changed, 654 insertions(+)

commit e7b12b3c2ad3f34ace9e013d27c56293b5efc327
Author: Dmitriy-GH <dimatart@mail.ru>
Date:   Wed Nov 2 15:44:27 2016 +0500

    Add WinXP compatibility
    
    #define ZMQ_HAVE_WINDOWS_TARGET_XP  disable uncompatible WinAPI
    
    1. Disable call if_indextoname()
    2. Emulate windows Condition Variable API in class condition_variable_t with std::condition_variable
    
    This code can be compiled in MSVC 2015 with option "Platform toolset: Visual Studio 2015 - Windows XP (v140_xp)"

 src/condition_variable.hpp | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 src/tcp_address.cpp        |  2 ++
 2 files changed, 55 insertions(+)

commit 819bf785b74f684d1292bc614d4b54b636634d2f
Merge: 8cf4832 b5b5f75
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Nov 2 07:03:51 2016 +0100

    Merge pull request #2186 from bluca/de-draft
    
    Problem: socket option marked as draft for 4.2

commit b5b5f75242a5ca8694a216a65c13238b0e965688
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Nov 1 18:49:42 2016 +0000

    Problem: socket option marked as draft for 4.2
    
    Solution: move comment further below to declare new socket
    options as stable for the 4.2.0 release.

 include/zmq.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8cf4832e01cf9f3161157373e9c66e7be18ae0bb
Merge: cc70c82 6da8385
Author: Doron Somech <somdoron@gmail.com>
Date:   Tue Nov 1 16:48:56 2016 +0200

    Merge pull request #2184 from bluca/rc
    
    Problems: need to bump NEWS and libtool version

commit 6da8385b2a7b5306cbfe66078d5567f5e8f728e1
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Nov 1 13:18:21 2016 +0000

    Problem: new public symbols added
    
    Solution: bump ABI version fromo 5:0:0 to 6:0:1 since 4.2 is backward
    compatible with 4.1, but new symbols are there

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e0d6f4ea113a6865a099fba2df3952bfff3bd7ef
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Nov 1 13:18:02 2016 +0000

    Problem: no NEWS entry for 4.2.0
    
    Solution: add one, empty for now, fill in after RC release

 NEWS | 6 ++++++
 1 file changed, 6 insertions(+)

commit cc70c829cf7c2a4a8925687b500dd77155526a0a
Merge: 50a6c11 6f597d0
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Nov 1 11:47:30 2016 +0000

    Merge pull request #2183 from a4z/opmg_cmake
    
    Problem: CMake build rejects to build with openpgm enabled

commit 6f597d0bd3ca742e8f689da0b1a89ca0e573481e
Author: Harald <harald.achitz@getinge.com>
Date:   Tue Nov 1 12:31:40 2016 +0100

    Problem: CMake build rejects to build with openpgm enabled
    
    Solution: add optional lookup for openpgm via pkg-config

 CMakeLists.txt       | 24 ++++++++++++++++++++++--
 tests/CMakeLists.txt |  3 ++-
 2 files changed, 24 insertions(+), 3 deletions(-)

commit 50a6c117f173f296839817b6fa28e959ac805e3e
Merge: fb59cd1 28fbee7
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Oct 31 20:31:15 2016 +0100

    Merge pull request #2182 from pmienk/master
    
    Suppress warning on uninitialized variable use by initializing variable.

commit 28fbee74c8acc4caf664dcbad3d0e4e6c465d917
Author: Phillip Mienk <mienkphi@gmail.com>
Date:   Mon Oct 31 12:25:30 2016 -0700

    Suppress warning on uninitialized variable use by initializing variable.

 src/tcp_address.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fb59cd1aad5e1bcd9d1cb4b0932119b4265e8dce
Merge: 2ece58a 60b63ed
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Oct 31 19:50:11 2016 +0100

    Merge pull request #2181 from jolting/patch-2
    
    Remove an unnecessary while (true)

commit 60b63ed5187a6242cf4c780aca7636162e62074e
Author: Hunter Laux <hunterlaux@gmail.com>
Date:   Mon Oct 31 11:46:57 2016 -0700

    Remove an unnecessary while (true)
    
    This block of code will either return -1 or fall through.
    The while (true) does nothing.
    The braces limit the scope of int rc.

 src/zmq.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 2ece58acfd19db8ccd46a480bd0f6e79f24fa16b
Merge: 16f5847 b7f2c7e
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sat Oct 29 23:51:28 2016 +0100

    Merge pull request #2180 from cxreg/xpub-metadata-corruption
    
    Increment metadata refcount while it's in pending_metadata

commit b7f2c7e7ea7428c89ce56b08edbe0d5aa599c713
Author: Dave Olszewski <daveo@nodesource.com>
Date:   Sat Oct 29 12:21:35 2016 -0700

    Increment metadata refcount while it's in pending_metadata

 src/xpub.cpp | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit 16f584745d8afbddb2ba325acdfa6a92d1a853dd
Merge: ac14981 2484d1c
Author: Doron Somech <somdoron@gmail.com>
Date:   Sat Oct 29 12:32:09 2016 +0300

    Merge pull request #2179 from bluca/alignment_windoz
    
    Problem: MS VC++ build broken

commit 2484d1c8591300736dd9d9f40b00f0c69eb1b335
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Oct 28 16:31:48 2016 +0100

    Problem: MS VC++ build broken
    
    Solution: try to detect architecture if building with VC++ and
    hardcode pointer size accordingly.
    Expressions are not allowed inside declspec intrinsics, which
    includes other intrinsics.

 include/zmq.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit ac149816511bb2ea66292a3203b21015ca625ebe
Merge: 0d032c9 df367a6
Author: Doron Somech <somdoron@gmail.com>
Date:   Fri Oct 28 18:00:06 2016 +0300

    Merge pull request #2177 from bluca/alignment
    
    Problem: pointer union for zmq_msg_t is a hack

commit df367a6682bd8334a2d821fc0fd9c69d3acebfd4
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Thu Aug 25 23:33:00 2016 +0100

    Problem: pointer union for zmq_msg_t is a hack
    
    Solution: use compiler's alignment attributes instead which is
    clearer and less of a hack.
    Pointer alignment violations causing crashes on architectures
    such as sparc64 and aarch64.
    This also avoid triggering ABI checkers as the change is compatible
    even though applications that suffer from the bug should rebuild to
    take advantage of the fix.

 include/zmq.h | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

commit 0d032c99a6e912cfc2f47fb8e9fb9df041b8bbfb
Merge: 2e92643 0dfb32a
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Oct 28 11:29:58 2016 +0100

    Merge pull request #2176 from robertcastle/master
    
    clock_gettime is now defined in macOS 10.12 SDK

commit 0dfb32a2595e96bd5850987c7cab9a7936e672e8
Author: Robert Castle <robert@egomotion.co.uk>
Date:   Fri Oct 28 11:04:21 2016 +0100

    Problem: clock_gettime is now defined in macOS 10.12 SDK
    
    Solution: Rename the custom implementation of clock_gettime for macOS to
    alt_clock_gettime and wrap all usage in preprocessor macros to only enable the
    alternative version when using macOS <= 10.11.
    
    This issue occurs when targeting macOS 10.11 or earlier but using the 10.12
    or newer SDK.

 src/clock.cpp              | 7 ++++++-
 src/clock.hpp              | 2 +-
 src/condition_variable.hpp | 5 +++++
 3 files changed, 12 insertions(+), 2 deletions(-)

commit 2e9264354c54936b5025bebf7a9aa8f2e624efe7
Merge: 1e69309 8345fe9
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Oct 27 18:34:05 2016 +0200

    Merge pull request #2173 from bluca/without_docs
    
    Problem: build API incompatible with 4.1

commit 8345fe9e9504675cb341d2106c18b917ffd2aa28
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Thu Oct 27 14:13:44 2016 +0100

    Problem: build API incompatible with 4.1
    
    Solution: keep the new --without-docs option, but also keep the old
    --without-documentation with an added deprecation warning.
    We can then remove it in the next major release, to leave enough time
    for users and maintainers to change it without disruptions.

 acinclude.m4 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 1e69309e21c2544c85bfb9ddbfff688411c977de
Merge: 669ff41 25bf30b
Author: Doron Somech <somdoron@gmail.com>
Date:   Mon Oct 24 00:52:03 2016 +0300

    Merge pull request #2171 from bluca/connect_reuse_addr
    
    Problem: 2 connects with same sourceip:port to different destip:port fail

commit 25bf30bebe2580bfa36fe9970cb2fae834896a7b
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sun Oct 23 21:30:51 2016 +0100

    Problem: 2 connects with same sourceip:port to different destip:port fail
    
    Solution: during a connect with a TCP endpoint if a source address is
    passed set the SO_REUSEADDR flag on the socket before the bind system
    call.
    Add unit test to cover this case for both IPv4 and IPv6.

 src/tcp_connecter.cpp     |  12 ++++
 tests/test_reqrep_tcp.cpp | 152 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 164 insertions(+)

commit 669ff41d52023d6512ef51484858cc6589f28afd
Merge: 1a02b1b 92b1b2b
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sun Oct 23 20:15:26 2016 +0100

    Merge pull request #2170 from vielmetti/patch-1
    
    Update INSTALL to note issues with 'make -j check'

commit 92b1b2b18184b63bdd1586df5b46c586d54f200f
Author: Edward Vielmetti <edward.vielmetti@gmail.com>
Date:   Sun Oct 23 15:12:45 2016 -0400

    Update INSTALL to note issues with 'make -j check'
    
    Some of the tests cannot be run in parallel; until the Makefile is fixed, note this in INSTALL.

 INSTALL | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 1a02b1b3f2fde6288579cbb0ff9a0b1f195e1812
Merge: d8f55dd bb7421d
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Oct 21 22:23:24 2016 +0100

    Merge pull request #2168 from outotec/fix-build-2
    
    Problem: Does not build in Visual Studio 2013 / Win32

commit bb7421dda2d50a38792536bfadc3eba9a075ddeb
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Fri Oct 21 21:12:54 2016 +0300

    Problem: Does not build in Visual Studio 2013 / Win32
    
    Solution: #include <netioapi.h> and change some IP_ADAPTER_UNICAST_ADDRESS data types

 src/tcp_address.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit d8f55dde571a162aa81be3532897542cd8c35cb4
Merge: 6ce2fb2 57c765e
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Oct 18 08:48:35 2016 +0100

    Merge pull request #2164 from reunanen/add-EHOSTUNREACH-to-errno_to_string
    
    Add EHOSTUNREACH to errno_to_string

commit 57c765ef5a397d61dd5739ac727b9b2c8bb6ed7e
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Tue Oct 18 06:46:50 2016 +0300

    Add EHOSTUNREACH to errno_to_string

 src/err.cpp | 2 ++
 1 file changed, 2 insertions(+)

commit 6ce2fb2b068adf6df33e7a30a41025a8e5305e90
Merge: b031325 c5b528f
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Oct 14 13:55:13 2016 +0100

    Merge pull request #2162 from hnwyllmm/master
    
    performance enhancement

commit c5b528fdcd95dbfb914dc0c05bf7546e1d5cdc34
Author: Laughing <hnwyllmm@126.com>
Date:   Fri Oct 14 20:33:27 2016 +0800

    performance enhancement
    
    use clock_gettime if there is no instruction to get cpu tick. It will take about 10% performance enhancement in AIX 7.1.

 src/clock.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit b031325996597759dce1130c63449422dacf8f9e
Author: Jens Auer <jens-auer@users.noreply.github.com>
Date:   Wed Oct 12 11:34:22 2016 +0200

    Fixed problems from previous PR for #2158 (#2160)
    
    * - Fixed windows build errors
    - Extended monitor lock scope to prevent race-condition between
      process_stop and monitor
    
    * - Fixed windows build errors
    - Extended monitor lock scope to prevent race-condition between
      process_stop and monitor

 src/socket_base.cpp | 25 ++++++++++++-------------
 src/socket_base.hpp |  2 +-
 2 files changed, 13 insertions(+), 14 deletions(-)

commit 398f256a5ca6666d5a2e64422f163cfbf37f0f88
Merge: 23be1dc d1c7280
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Oct 11 16:07:29 2016 +0100

    Merge pull request #2159 from jens-auer/2158
    
    #2158: Add mutex for monitor socket

commit d1c7280d05834d9e165757973d5d79eb18dca517
Author: Jens Auer <jens.auer@cgi.com>
Date:   Tue Oct 11 13:28:45 2016 +0000

    Add mutex for monitor socket

 src/socket_base.cpp | 69 ++++++++++++++++++++++++++++++++---------------------
 src/socket_base.hpp | 15 ++++++++----
 2 files changed, 53 insertions(+), 31 deletions(-)

commit 23be1dc0ec239ccdfca44d6e07a43682be8bba96
Merge: f696290 134f08b
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Oct 11 05:56:26 2016 +0200

    Merge pull request #2157 from athampy/master
    
    Fixed issue #2155

commit 134f08b3cad584eca45bad1c26c7a3e6a06b2fb5
Author: Akhil Thampy <akhilthampy@yahoo.com>
Date:   Mon Oct 10 17:50:50 2016 -0500

    Fixed issue #2155

 src/mtrie.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit f6962903a721222e55e6073d2f3332cbc9daf241
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Mon Oct 10 17:29:53 2016 +0200

    Implemented network interface name resolution on Windows platform
    Added fallback mechanism for specific socket binding on Windows platform with IPv6 enabled

 src/tcp_address.cpp | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/tcp_address.hpp |   5 ++
 2 files changed, 153 insertions(+), 6 deletions(-)

commit 3996d4e20d7a2e87825a5d957feafd6b763f4b9b
Merge: 8671495 c30da71
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Mon Oct 10 11:02:32 2016 +0200

    Merge branch 'master' of github.com:zeromq/libzmq
    
    # Conflicts:
    #	builds/msvc/vs2012/libsodium.import.props

commit c30da71735a3607df387062d6d7e8a7bc1b7a1a8
Merge: 9780945 36af3ed
Author: Doron Somech <somdoron@gmail.com>
Date:   Sun Oct 9 09:01:24 2016 +0300

    Merge pull request #2156 from yasirs/patch-WSL
    
    Patch for compatibility with Windows subsystem for linux

commit 36af3edee2915ee7a90d3a2293b11abaf5bac772
Author: yasirs <yasir.suhail@gmail.com>
Date:   Sun Oct 9 00:48:35 2016 -0400

    Update tcp_address.cpp

 src/tcp_address.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9780945d7c30e17eed2d10d93b342da76c330c94
Merge: 7f8c17b a151ac5
Author: Doron Somech <somdoron@gmail.com>
Date:   Fri Oct 7 17:40:37 2016 +0300

    Merge pull request #2152 from t-b/fix_socket_docu
    
    Problem: Invalid markup in zmq_socket.txt

commit a151ac5936b411c71fb40e978f450161284a0812
Author: Thomas Braun <thomas.braun@byte-physics.de>
Date:   Fri Oct 7 16:37:30 2016 +0200

    Problem: Invalid markup in zmq_socket.txt
    
    Solution: Fix it.

 doc/zmq_socket.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 7f8c17b1241cfd0dfbe56a11a7d16939aa4cc49f
Merge: 075dd6a c592897
Author: Doron Somech <somdoron@gmail.com>
Date:   Tue Oct 4 17:59:30 2016 +0300

    Merge pull request #2150 from bluca/request
    
    Problem: a request

commit c592897f600e58cbdb8457852453c6f324f3e663
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Oct 4 15:45:45 2016 +0100

    Problem: a request
    
    Solution: honor it

 src/zmq.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

commit 075dd6a0037aef3619764d9c55601cef1bd82b09
Merge: 88e4cff eb0e0dd
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Mon Oct 3 22:21:38 2016 +0100

    Merge pull request #2148 from WGH-/doc-router-mandatory-block
    
    doc/zmq_socket.txt: clarify that ROUTER can be blocking

commit eb0e0dda4e8103ea38080406436285adb9be2fe9
Author: WGH <wgh@torlan.ru>
Date:   Mon Oct 3 23:39:34 2016 +0300

    doc/zmq_socket.txt: clarify that ROUTER can be blocking

 doc/zmq_socket.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 88e4cff948f8064d9e89c5d0a2b8f62d8b410fb0
Merge: 6c16693 ffdb44a
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sat Oct 1 11:44:08 2016 +0100

    Merge pull request #2147 from goodfella/fix-zmq-poller-poll-return
    
    Fix zmq poller poll return

commit ffdb44ad2c2463e7de0edf09e4fb2a938ed2c717
Author: Nick Guiffrida <goodfella005@gmail.com>
Date:   Fri Sep 30 21:50:31 2016 -0700

    Fix zmq_poll return code assert in tests/test_radio_dish.cpp

 tests/test_radio_dish.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1a2d58e4e73f903c675d9c470b8ad4ed22a9c6fd
Author: Nick Guiffrida <goodfella005@gmail.com>
Date:   Fri Sep 30 21:30:04 2016 -0700

    Add #ifndef ZMQ_HAVE_WINDOWS guard around unistd.h include

 src/stream_engine.cpp | 4 ++++
 1 file changed, 4 insertions(+)

commit f3de534897ce77ed85c00ec1c5bfb178357693f7
Author: Nick Guiffrida <goodfella005@gmail.com>
Date:   Fri Sep 30 21:10:25 2016 -0700

    Do not assign rc to zmq_poller_destroy in zmq_poller_poll
    
    * Doing so was zmq_poller_poll to always return 0.

 src/zmq.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f46e45c26318fa6d8a1103f2e471ed6c19f5fba8
Author: Nick Guiffrida <goodfella005@gmail.com>
Date:   Fri Sep 30 21:08:30 2016 -0700

    Include unitstd.h in src/stream_engine.cpp for close system call

 src/stream_engine.cpp | 1 +
 1 file changed, 1 insertion(+)

commit 6c1669371a484b22b2c59361de769b4680ac0a83
Merge: ae0676e fb5a04e
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Thu Sep 29 15:36:55 2016 +0100

    Merge pull request #2145 from minrk/zmq-poll-repeat
    
    allow duplicate entries in zmq_poller_poll

commit fb5a04e21dd9949b6a8eaa736c1a625787af1ca1
Author: Min RK <benjaminrk@gmail.com>
Date:   Thu Sep 29 16:15:15 2016 +0200

    allow duplicate entries in zmq_poller_poll
    
    This should restore full compatibility with earlier zmq_poll behavior.
    
    It complicates things a little bit, as collisions must be detected, and when collisions are found:
    
    - event masks must be merged
    - pollitems, events arrays are no longer co-ordered
    
    Reverts the recent zmq_proxy patch to workaround the lack of repeat-item support in zmq_poll that is now fixed.

 src/proxy.cpp | 11 +---------
 src/zmq.cpp   | 66 +++++++++++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 54 insertions(+), 23 deletions(-)

commit ae0676e80d8519bf148ae3ac898c96c81ac2f035
Merge: 872f1e5 310dafb
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Thu Sep 29 15:07:18 2016 +0100

    Merge pull request #2144 from minrk/fix-poller
    
    Resolve issues with zmq_poll and zmq_poller working together

commit 310dafbc754b53a2b97fc74b94970b04ca8b68c7
Author: Min RK <benjaminrk@gmail.com>
Date:   Thu Sep 29 15:44:31 2016 +0200

    zmq_poll returns 0 on timeout
    
    not -1, ETIMEDOUT like zmq_poller

 src/zmq.cpp | 3 +++
 1 file changed, 3 insertions(+)

commit 718608ce94a72ca8aed7769e4e98c0fce24b7eda
Author: Min RK <benjaminrk@gmail.com>
Date:   Thu Sep 29 15:08:10 2016 +0200

    socket_poller::wait returns only triggered events
    
    Return value is the number of events found. This also propagates to the return value of zmq_poller_wait_all.
    
    zmq_poller_wait was only returning events on the first-registered socket.

 src/socket_poller.cpp | 71 +++++++++++++++++++++++++++++----------------------
 src/zmq.cpp           | 21 +++++++++++----
 2 files changed, 57 insertions(+), 35 deletions(-)

commit 872f1e5a9d936690ba6cdc75652865155ab3cf90
Merge: b0df7f1 c636147
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Sep 29 13:30:15 2016 +0200

    Merge pull request #2143 from minrk/avoid-duplicate-poller-proxy
    
    avoid passing duplicate entries to zmq_poll

commit c636147c988a9c489b8463e86019f45651dd84af
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Sep 28 16:57:05 2016 +0200

    avoid duplicate entries in zmq_poll
    
    zmq_poller doesn't allow a socket to appear twice

 src/proxy.cpp | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit b0df7f1f177f57ba72ca980d068842bd6e6079c5
Merge: 55930f5 53fb120
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Wed Sep 28 15:27:55 2016 +0100

    Merge pull request #2141 from minrk/heap-alloc-poll-events
    
    heap-allocate events in zmq_poller_poll

commit 53fb12068729482ac4cd127bb6f0fe9ab656b5c9
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Sep 28 15:17:57 2016 +0200

    heap-allocate events in zmq_poller_poll
    
    variable-size array allocation is not allowed by some compilers

 src/zmq.cpp | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit 55930f5e428bb8a169e557ff3bb39435bf73905f
Merge: c0b1114 bdcaa93
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Wed Sep 28 13:00:20 2016 +0100

    Merge pull request #2140 from minrk/zmq_poll_poller
    
    Support all sockets in zmq_poll

commit c0b1114944ef7c5040bf1e724e4dce86007bfe08
Merge: 91e121c 978c5c3
Author: Doron Somech <somdoron@gmail.com>
Date:   Wed Sep 28 14:54:25 2016 +0300

    Merge pull request #2138 from minrk/darwin-clock
    
    only define clock macros on darwin if not already defined

commit 91e121c9d36e87811e1c03ac8eb4347b2ef0aace
Merge: c751899 e50a987
Author: Doron Somech <somdoron@gmail.com>
Date:   Wed Sep 28 14:54:02 2016 +0300

    Merge pull request #2139 from minrk/update-poll-based-on-poll
    
    update socket_poller when ZMQ_POLL_BASED_ON_SELECT

commit bdcaa935b95f6373444d1a38ca3094034a9be981
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Sep 28 13:39:38 2016 +0200

    zmq_poll calls zmq_poller if available
    
    enables zmq_poll on threadsafe sockets only supported in zmq_poller (radio, dish, etc.)

 src/zmq.cpp               | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/test_radio_dish.cpp |  9 +++++++++
 2 files changed, 60 insertions(+)

commit e50a987650b217ef6d808659beaa4cf9d68f6dc3
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Sep 28 13:49:49 2016 +0200

    update socket_poller when ZMQ_POLL_BASED_ON_SELECT
    
    previous patch updated only the branch for ZMQ_POLL_BASED_ON_POLL, causing failed builds on Windows.

 src/socket_poller.cpp | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

commit 978c5c3499af2520efa9fa5eb3a9e8e7241bfb4a
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Sep 28 13:51:42 2016 +0200

    only define clock macros on darwin if not already defined
    
    clang from Xcode 8 has these already defined, causing duplicate macro warnings

 src/clock.hpp | 4 ++++
 1 file changed, 4 insertions(+)

commit c7518993139372e5ca456321671d4f3f70a8c586
Merge: 2768df8 2204cb4
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Sep 28 05:49:56 2016 +0200

    Merge pull request #2136 from bluca/copyright
    
    Problem: Brocade has copyright but not in AUTHORS and RELICENSE

commit 2768df845c948d239971dac5ef08bab8b0066dc3
Merge: 34a1292 06d810b
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Sep 28 05:17:25 2016 +0200

    Merge pull request #2135 from bluca/unbreak-pkg-config
    
    Problem: pkg-config Requires.private is broken

commit 2204cb48dd4f0bf7aa9ad5b78174b48f2d88fd49
Author: Luca Boccassi <lboccass@brocade.com>
Date:   Mon May 16 18:31:40 2016 +0100

    RELICENSE: Brocade Communications Systems Inc. MPLv2 grant

 RELICENSE/brocade_communications_systems.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 00239414b369acb094e7f4a4f9ac9770fc940c70
Author: Luca Boccassi <lboccass@brocade.com>
Date:   Mon May 16 18:04:07 2016 +0100

    Problem: Brocade has copyright but not in AUTHORS
    
    Solution: add it. Some of the work that I do happens during working
    hours and hence the copyright belongs to my employer, Brocade
    Communications Systems Inc. Note this in the AUTHORS file.

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit 06d810b4c9e4cc04ad8c69e0bd04ca0c9a045de4
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Sep 27 23:08:40 2016 +0100

    Problem: pkg-config Requires.private is broken
    
    Solution: use only Libs.private to avoid breaking application builds.
    Even though Requires.private are supposed to be parsed only if
    pkg-config is called with --static, the --cflags parameter is enough
    to trigger the parsing, causing build failures for applications that
    do not (and should not) depend on libzmq's dependencies.

 CMakeLists.txt         |  3 +--
 configure.ac           | 16 +++++-----------
 src/libzmq.pc.cmake.in |  1 -
 src/libzmq.pc.in       |  1 -
 4 files changed, 6 insertions(+), 15 deletions(-)

commit 34a1292e96cc0126e5cb7bdc0f571aec2368271a
Merge: 131a262 6d94116
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Sep 27 22:39:55 2016 +0200

    Merge pull request #2134 from bluca/pkg-config-static
    
    Problem: pkgconfig file does not support static link

commit 6d9411607dc889ec74ad3b1ce274123397d11c0a
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Sep 27 18:39:07 2016 +0100

    Problem: pkgconfig file does not support static link
    
    Solution: add dependencies, if necessary, to the .private Libs and
    Requires field of the pkgconfig file at build time.
    This way pkg-config --static --libs libzmq will correctly print
    dependencies if they were used to build the static libzmq.a library.

 CMakeLists.txt         |  5 +++++
 configure.ac           | 19 +++++++++++++++++--
 src/libzmq.pc.cmake.in |  3 ++-
 src/libzmq.pc.in       |  3 ++-
 4 files changed, 26 insertions(+), 4 deletions(-)

commit 131a2627b90708861bd073c517b10a2f8d73bf5d
Merge: 06aeb47 ec75073
Author: Doron Somech <somdoron@gmail.com>
Date:   Tue Sep 27 16:00:37 2016 +0300

    Merge pull request #2131 from minrk/poller-static-2
    
    pass through poller events

commit ec750732d40fa3a0f9fef032c86788ac91361be8
Author: Min RK <benjaminrk@gmail.com>
Date:   Tue Sep 27 14:59:07 2016 +0200

    pass through poller events
    
    instead of allocating a new, identical array and copying the data.
    
    This is only safe while zmq_poller_event_t and zmq::socket_poller_t::event_t are the same struct,
    which they presumably will remain.

 src/zmq.cpp | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

commit 06aeb47d73de5ee07de861e9f8dc3053154b5146
Merge: 187b4bf de7fc1f
Author: Doron Somech <somdoron@gmail.com>
Date:   Tue Sep 27 15:39:33 2016 +0300

    Merge pull request #2130 from minrk/poller-static-alloc
    
    add n_events argument to zmq_poller_wait_all

commit de7fc1fcf850ab44eb33b6a285f2a455dde67e73
Author: Min RK <benjaminrk@gmail.com>
Date:   Tue Sep 27 14:08:02 2016 +0200

    add n_events argument to zmq_poller_wait_all
    
    avoids unnecessary heap allocations, races on the number of items

 include/zmq.h         |  2 +-
 src/socket_poller.cpp |  4 ++--
 src/socket_poller.hpp |  2 +-
 src/zmq.cpp           | 29 ++++++++++-------------------
 src/zmq_draft.h       |  2 +-
 5 files changed, 15 insertions(+), 24 deletions(-)

commit 187b4bff48b23731d666dbc220ff7ea676772fd3
Merge: 555a087 2bc9796
Author: Doron Somech <somdoron@gmail.com>
Date:   Tue Sep 27 14:45:03 2016 +0300

    Merge pull request #2128 from minrk/multi-event-poller
    
    Problem: zmq_poller only signals one event

commit 2bc979665185ad6162677d246205853aa540fbc6
Author: Min RK <benjaminrk@gmail.com>
Date:   Fri Sep 16 16:58:03 2016 +0200

    Problem: zmq_poller only signals one event
    
    Solution: zmq_poller_wait_all signals all events
    
    allows signaling multiple events with one call to zmq_poller_wait_all
    rather than emitting only one event.
    
    this prepares for zmq_poll being based on zmq_poller,
    which requires events for all sockets rather than just one.

 include/zmq.h         |  1 +
 src/socket_poller.cpp | 37 +++++++++++++++++++++----------------
 src/socket_poller.hpp |  2 ++
 src/zmq.cpp           | 45 ++++++++++++++++++++++++++++++++++++++-------
 src/zmq_draft.h       |  1 +
 5 files changed, 63 insertions(+), 23 deletions(-)

commit 555a0877632cc71513e3d0d430d1d6d96eaea2d8
Author: Laughing <hnwyllmm@126.com>
Date:   Tue Sep 27 15:44:54 2016 +0800

    	fix bugs of the pollset (#2127)
    
    * fix bugs of the pollset
    
    1. extend 'fd_table' when fd_ is greater or equal than the size of 'fd_table';
    2. delete specific fd from pollset before reset pollin or pollout according the description of AIX document
    
    * fix bugs of the pollset
    
    edit error. remove extra spaces and paste fault
    
    * fix bugs of pollset
    
    remove character '-' at the end line.

 src/pollset.cpp | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

commit 113d3ffc0b55ea3adba30db7f6bd67e35289e257
Merge: 2e55bc5 7e07ff3
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Sep 25 19:23:36 2016 +0200

    Merge pull request #2126 from paddor/master
    
    fix markup syntax on zmq_tipc(7) page

commit 7e07ff3e5b7bebdb0aa8a3292f5d9f76e2388899
Author: Patrik Wenger <paddor@gmail.com>
Date:   Sun Sep 25 19:19:13 2016 +0200

    fix markup syntax on zmq_tipc(7) page

 doc/zmq_tipc.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2e55bc5838c72403ca1afa6dbcce3f18ce19f213
Merge: 22dac19 06614a3
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sun Sep 25 11:07:26 2016 +0100

    Merge pull request #2125 from GreatFruitOmsk/master
    
    Fix fd_entry may reference invalid object.

commit 06614a394d68d2f5696b2d7000cc515a406fd33d
Author: Ilya Kulakov <kulakov.ilya@gmail.com>
Date:   Sat Sep 24 21:17:32 2016 -0700

    Fix fd_entry may reference invalid object.
    
    fd_entries (std::vector) can reallocate underlying storage
    which will render reference invalid.

 src/select.cpp | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

commit 22dac19429f685d8185f0c102752bdf54fce14d1
Merge: 5524493 ab5c8c8
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Sep 24 20:56:19 2016 +0200

    Merge pull request #2123 from bluca/dealer_router_async
    
    Problem: zmq_ctx_term asserts with connect-before-bind and sockets with identity over inproc transport

commit ab5c8c8deaf22e813f32c488ed4cdb0d9e7e21c0
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sat Sep 24 18:57:59 2016 +0100

    Problem: zmq_ctx_term segfaults with too many pending inproc connects
    
    Solution: add a zmq_assert to check if the ephemeral sockets created
    to drain the queue of pending inproc connecting sockets was allocated
    successfully.

 src/ctx.cpp | 2 ++
 1 file changed, 2 insertions(+)

commit fab846a5e5e370ddc881b35853092f4dacf773a9
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sat Sep 24 18:07:23 2016 +0100

    Problem: zmq_ctx_term asserts with connect-before-bind and sockets with identity over inproc transport
    
    Solution: check if the connecting inproc socket has been closed
    before trying to send the identity.
    Otherwise the pipe will be in waiting_for_delimiter state causing
    writes to fail and the connect to assert when the context is being
    torn down and the pending inproc connects are resolved.
    Add test case that covers this behaviour.

 src/ctx.cpp                   |  8 +++++++-
 tests/test_inproc_connect.cpp | 25 +++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)

commit 25402335fd12588e45357627f63233ad05e8428a
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Sat Sep 24 18:06:08 2016 +0100

    Problem: no bind-after-connect TCP test
    
    Solution: add one to increase coverage

 .gitignore                            |  1 +
 Makefile.am                           |  4 ++
 tests/CMakeLists.txt                  |  1 +
 tests/test_bind_after_connect_tcp.cpp | 97 +++++++++++++++++++++++++++++++++++
 4 files changed, 103 insertions(+)

commit 55244935c2138efa42bdbbec920c08ebf11bec2e
Merge: e30ab69 2e3888d
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Sep 23 13:53:55 2016 +0100

    Merge pull request #2122 from gena-moscow/master
    
    Problem: Pub socket crashes on client disconnect.

commit 2e3888dd45f878b18883b00cd08677392b5d02e0
Author: Gennady Makovetski <makovetski@gmail.com>
Date:   Fri Sep 23 15:26:36 2016 +0300

    Problem: Pub socket crashes on client disconnect.  family_entry.fd_entries [i] is modified in zmq::select_t::rm_fd()
    Solution: do not copy family_entry.fd_entries [i]

 src/select.cpp | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

commit e30ab697385de918d8c17ecb4d1c359fd76ded1f
Merge: bacba21 18e0451
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Sep 21 21:50:20 2016 +0200

    Merge pull request #2121 from paddor/master
    
    Problem: documentation markup unrecognized

commit 18e0451092d30258988e31d5eccf46ffd38c28b0
Author: Patrik Wenger <paddor@gmail.com>
Date:   Wed Sep 21 21:39:01 2016 +0200

    Problem: documentation markup unrecognized
    
    The effect can be seen on http://api.zeromq.org/4-2:zmq-getsockopt at
    options ZMQ_USE_FD and ZMQ_RATE.
    
    Solution: fix length of squiggly line under option title

 doc/zmq_getsockopt.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bacba21ef2fa8dd3c1fb5c067b31edc1c7feebba
Merge: 861fcaf bdf887f
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Wed Sep 21 07:57:36 2016 +0100

    Merge pull request #2120 from hnwyllmm/pollset
    
    Pollset-change the position of `pollset`

commit bdf887fd74a2c615c245f0952f5590ae8585e32e
Author: hnwyllmm@126.com <hnwyllmm@126.com>
Date:   Wed Sep 21 11:41:35 2016 +0800

    move macro define `ZMQ_USE_POLLSET` to the position between `ZMQ_USE_DEVPOLL` and `ZMQ_USE_POLL`

 src/poller.hpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 55442699efbaa8522eeac650438e7a09bb00395a
Author: hnwyllmm@126.com <hnwyllmm@126.com>
Date:   Wed Sep 21 11:28:32 2016 +0800

    replace tabs with space

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit eee7880752c7e92de7bb1d7a994f07330f58bc8f
Author: hnwyllmm@126.com <hnwyllmm@126.com>
Date:   Wed Sep 21 11:24:26 2016 +0800

    move the `pollset` to the position between `devpoll` and `poll`

 .gitignore                                       |  176 ++
 .hgeol                                           |    2 +
 .mailmap                                         |   81 +
 .travis.yml                                      |   69 +
 AUTHORS                                          |  147 ++
 CMakeLists.txt                                   |  973 +++++++++
 COPYING                                          |  674 +++++++
 COPYING.LESSER                                   |  181 ++
 Dockerfile                                       |   11 +
 Doxygen.cfg                                      | 2320 ++++++++++++++++++++++
 FindSodium.cmake                                 |   40 +
 INSTALL                                          |  251 +++
 Makefile.am                                      |  823 ++++++++
 NEWS                                             |  978 +++++++++
 README.cygwin.md                                 |   15 +
 README.doxygen.md                                |   48 +
 README.md                                        |   58 +
 RELICENSE/README.md                              |   23 +
 RELICENSE/imatix.md                              |   23 +
 RELICENSE/naos_ltd.md                            |   19 +
 acinclude.m4                                     |  976 +++++++++
 appveyor.yml                                     |   85 +
 autogen.sh                                       |   49 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/Makefile.am                               |   31 +
 builds/README                                    |    4 +
 builds/android/Dockerfile                        |   22 +
 builds/android/README.md                         |   78 +
 builds/android/android_build_helper.sh           |  316 +++
 builds/android/build.sh                          |   70 +
 builds/android/ci_build.sh                       |   30 +
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  163 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++
 builds/cmake/ci_build.sh                         |   31 +
 builds/cmake/platform.hpp.in                     |   92 +
 builds/coverage/ci_build.sh                      |   29 +
 builds/cygwin/Makefile.cygwin                    |   48 +
 builds/gyp/.gitignore                            |    5 +
 builds/gyp/build.bat                             |    4 +
 builds/gyp/platform.hpp                          |   78 +
 builds/gyp/project-tests.gsl                     |   19 +
 builds/gyp/project-tests.gypi                    |  873 ++++++++
 builds/gyp/project-tests.xml                     |   81 +
 builds/gyp/project.gyp                           |  288 +++
 builds/mingw32/Makefile.mingw32                  |   49 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/.gitignore                           |  256 +++
 builds/msvc/Makefile.am                          |   94 +
 builds/msvc/build/build.bat                      |   33 +
 builds/msvc/build/buildall.bat                   |   14 +
 builds/msvc/build/buildbase.bat                  |   64 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   14 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   26 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 +
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  277 +++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2015/inproc_lat/inproc_lat.props   |   49 +
 builds/msvc/vs2015/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2015/inproc_thr/inproc_thr.props   |   49 +
 builds/msvc/vs2015/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2015/libzmq.import.props           |   64 +
 builds/msvc/vs2015/libzmq.import.xml             |   49 +
 builds/msvc/vs2015/libzmq.sln                    |  208 ++
 builds/msvc/vs2015/libzmq/libzmq.props           |   76 +
 builds/msvc/vs2015/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2015/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2015/libzmq/libzmq.xml             |   40 +
 builds/msvc/vs2015/local_lat/local_lat.props     |   49 +
 builds/msvc/vs2015/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2015/local_thr/local_thr.props     |   49 +
 builds/msvc/vs2015/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2015/remote_lat/remote_lat.props   |   49 +
 builds/msvc/vs2015/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2015/remote_thr/remote_thr.props   |   49 +
 builds/msvc/vs2015/remote_thr/remote_thr.vcxproj |   79 +
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/openwrt/Makefile                          |   70 +
 builds/valgrind/ci_build.sh                      |   27 +
 builds/valgrind/valgrind.supp                    |   22 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 +
 builds/zos/platform.hpp                          |  300 +++
 builds/zos/runtests                              |  188 ++
 builds/zos/test_fork.cpp                         |   95 +
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   42 +
 ci_deploy.sh                                     |   20 +
 configure.ac                                     |  667 +++++++
 doc/Makefile.am                                  |   63 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  270 +++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  103 +
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  101 +
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   97 +
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  141 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 +
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  860 ++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   88 +
 doc/zmq_ipc.txt                                  |  106 +
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 +
 doc/zmq_msg_gets.txt                             |   75 +
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 +
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_routing_id.txt                       |   61 +
 doc/zmq_msg_send.txt                             |  127 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_set_routing_id.txt                   |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  164 ++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 +
 doc/zmq_proxy_steerable.txt                      |   98 +
 doc/zmq_recv.txt                                 |   91 +
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  104 +
 doc/zmq_send_const.txt                           |  103 +
 doc/zmq_sendmsg.txt                              |  121 ++
 doc/zmq_setsockopt.txt                           | 1211 +++++++++++
 doc/zmq_socket.txt                               |  608 ++++++
 doc/zmq_socket_monitor.txt                       |  239 +++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  118 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   83 +
 doc/zmq_udp.txt                                  |   99 +
 doc/zmq_unbind.txt                               |   90 +
 doc/zmq_version.txt                              |   54 +
 doc/zmq_vmci.txt                                 |   97 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  617 ++++++
 include/zmq_utils.h                              |   48 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 m4/ax_check_compile_flag.m4                      |   74 +
 m4/ax_code_coverage.m4                           |  281 +++
 m4/ax_cxx_compile_stdcxx.m4                      |  562 ++++++
 m4/ax_cxx_compile_stdcxx_11.m4                   |   40 +
 m4/ax_valgrind_check.m4                          |  233 +++
 packaging/README                                 |    4 +
 packaging/debian/changelog                       |    5 +
 packaging/debian/compat                          |    1 +
 packaging/debian/control                         |   61 +
 packaging/debian/copyright                       |   93 +
 packaging/debian/libzmq3-dev.install             |    4 +
 packaging/debian/libzmq3-dev.manpages            |    2 +
 packaging/debian/libzmq5.docs                    |    2 +
 packaging/debian/libzmq5.install                 |    1 +
 packaging/debian/rules                           |   58 +
 packaging/debian/source/format                   |    1 +
 packaging/debian/zeromq.dsc.obs                  |   15 +
 packaging/nuget/package.bat                      |   14 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  264 +++
 packaging/nuget/package.nuspec                   |   98 +
 packaging/nuget/package.targets                  |  129 ++
 packaging/nuget/package.xml                      |   22 +
 packaging/obs/_service                           |   84 +
 packaging/redhat/zeromq.spec                     |  200 ++
 perf/inproc_lat.cpp                              |  240 +++
 perf/inproc_thr.cpp                              |  250 +++
 perf/local_lat.cpp                               |  116 ++
 perf/local_thr.cpp                               |  140 ++
 perf/remote_lat.cpp                              |  129 ++
 perf/remote_thr.cpp                              |  107 +
 src/address.cpp                                  |  134 ++
 src/address.hpp                                  |   77 +
 src/array.hpp                                    |  167 ++
 src/atomic_counter.hpp                           |  229 +++
 src/atomic_ptr.hpp                               |  227 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  116 ++
 src/client.hpp                                   |   81 +
 src/clock.cpp                                    |  239 +++
 src/clock.hpp                                    |   79 +
 src/command.hpp                                  |  171 ++
 src/condition_variable.hpp                       |  208 ++
 src/config.hpp                                   |   98 +
 src/ctx.cpp                                      |  613 ++++++
 src/ctx.hpp                                      |  242 +++
 src/curve_client.cpp                             |  453 +++++
 src/curve_client.hpp                             |  125 ++
 src/curve_server.cpp                             |  722 +++++++
 src/curve_server.hpp                             |  136 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  143 ++
 src/dealer.hpp                                   |   89 +
 src/decoder.hpp                                  |  198 ++
 src/decoder_allocators.cpp                       |  144 ++
 src/decoder_allocators.hpp                       |  155 ++
 src/devpoll.cpp                                  |  205 ++
 src/devpoll.hpp                                  |  119 ++
 src/dgram.cpp                                    |  177 ++
 src/dgram.hpp                                    |   81 +
 src/dish.cpp                                     |  360 ++++
 src/dish.hpp                                     |  125 ++
 src/dist.cpp                                     |  235 +++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  189 ++
 src/epoll.cpp                                    |  195 ++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  445 +++++
 src/err.hpp                                      |  173 ++
 src/fd.hpp                                       |   52 +
 src/fq.cpp                                       |  163 ++
 src/fq.hpp                                       |   92 +
 src/gather.cpp                                   |   94 +
 src/gather.hpp                                   |   75 +
 src/gssapi_client.cpp                            |  226 +++
 src/gssapi_client.hpp                            |   93 +
 src/gssapi_mechanism_base.cpp                    |  347 ++++
 src/gssapi_mechanism_base.hpp                    |  130 ++
 src/gssapi_server.cpp                            |  373 ++++
 src/gssapi_server.hpp                            |   96 +
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  117 ++
 src/io_object.hpp                                |   89 +
 src/io_thread.cpp                                |  114 ++
 src/io_thread.hpp                                |   99 +
 src/ip.cpp                                       |  175 ++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  106 +
 src/ipc_address.hpp                              |   74 +
 src/ipc_connecter.cpp                            |  278 +++
 src/ipc_connecter.hpp                            |  135 ++
 src/ipc_listener.cpp                             |  424 ++++
 src/ipc_listener.hpp                             |  123 ++
 src/kqueue.cpp                                   |  227 +++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  171 ++
 src/lb.hpp                                       |   88 +
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/macros.hpp                                   |   12 +
 src/mailbox.cpp                                  |  101 +
 src/mailbox.hpp                                  |   90 +
 src/mailbox_safe.cpp                             |  117 ++
 src/mailbox_safe.hpp                             |   94 +
 src/mechanism.cpp                                |  212 ++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   56 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  578 ++++++
 src/msg.hpp                                      |  251 +++
 src/mtrie.cpp                                    |  436 ++++
 src/mtrie.hpp                                    |  102 +
 src/mutex.hpp                                    |  213 ++
 src/norm_engine.cpp                              |  728 +++++++
 src/norm_engine.hpp                              |  188 ++
 src/null_mechanism.cpp                           |  355 ++++
 src/null_mechanism.hpp                           |   84 +
 src/object.cpp                                   |  438 ++++
 src/object.hpp                                   |  152 ++
 src/options.cpp                                  | 1042 ++++++++++
 src/options.hpp                                  |  240 +++
 src/own.cpp                                      |  216 ++
 src/own.hpp                                      |  154 ++
 src/pair.cpp                                     |  142 ++
 src/pair.hpp                                     |   78 +
 src/pgm_receiver.cpp                             |  301 +++
 src/pgm_receiver.hpp                             |  146 ++
 src/pgm_sender.cpp                               |  250 +++
 src/pgm_sender.hpp                               |  123 ++
 src/pgm_socket.cpp                               |  712 +++++++
 src/pgm_socket.hpp                               |  128 ++
 src/pipe.cpp                                     |  535 +++++
 src/pipe.hpp                                     |  249 +++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 +
 src/plain_server.cpp                             |  437 ++++
 src/plain_server.hpp                             |   93 +
 src/poll.cpp                                     |  193 ++
 src/poll.hpp                                     |  121 ++
 src/poller.hpp                                   |   64 +
 src/poller_base.cpp                              |  110 +
 src/poller_base.hpp                              |   95 +
 src/pollset.cpp                                  |  252 +++
 src/pollset.hpp                                  |  121 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |  119 ++
 src/proxy.cpp                                    |  205 ++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   67 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   78 +
 src/pull.hpp                                     |   75 +
 src/push.cpp                                     |   77 +
 src/push.hpp                                     |   73 +
 src/radio.cpp                                    |  250 +++
 src/radio.hpp                                    |  112 ++
 src/random.cpp                                   |   59 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   74 +
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   51 +
 src/raw_encoder.hpp                              |   64 +
 src/reaper.cpp                                   |  142 ++
 src/reaper.hpp                                   |   94 +
 src/rep.cpp                                      |  134 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  321 +++
 src/req.hpp                                      |  121 ++
 src/router.cpp                                   |  508 +++++
 src/router.hpp                                   |  146 ++
 src/scatter.cpp                                  |   83 +
 src/scatter.hpp                                  |   73 +
 src/select.cpp                                   |  487 +++++
 src/select.hpp                                   |  170 ++
 src/server.cpp                                   |  184 ++
 src/server.hpp                                   |   96 +
 src/session_base.cpp                             |  690 +++++++
 src/session_base.hpp                             |  172 ++
 src/signaler.cpp                                 |  646 ++++++
 src/signaler.hpp                                 |   91 +
 src/socket_base.cpp                              | 1713 ++++++++++++++++
 src/socket_base.hpp                              |  291 +++
 src/socket_poller.cpp                            |  675 +++++++
 src/socket_poller.hpp                            |  128 ++
 src/socks.cpp                                    |  286 +++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  476 +++++
 src/socks_connecter.hpp                          |  163 ++
 src/stdint.hpp                                   |   74 +
 src/stream.cpp                                   |  321 +++
 src/stream.hpp                                   |  107 +
 src/stream_engine.cpp                            | 1082 ++++++++++
 src/stream_engine.hpp                            |  234 +++
 src/sub.cpp                                      |   94 +
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  291 +++
 src/tcp.hpp                                      |   66 +
 src/tcp_address.cpp                              |  734 +++++++
 src/tcp_address.hpp                              |  112 ++
 src/tcp_connecter.cpp                            |  404 ++++
 src/tcp_connecter.hpp                            |  134 ++
 src/tcp_listener.cpp                             |  338 ++++
 src/tcp_listener.hpp                             |   98 +
 src/thread.cpp                                   |  156 ++
 src/thread.hpp                                   |   89 +
 src/timers.cpp                                   |  170 ++
 src/timers.hpp                                   |  108 +
 src/tipc_address.cpp                             |  122 ++
 src/tipc_address.hpp                             |   75 +
 src/tipc_connecter.cpp                           |  266 +++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 ++
 src/tipc_listener.hpp                            |  107 +
 src/trie.cpp                                     |  340 ++++
 src/trie.hpp                                     |   86 +
 src/tweetnacl.c                                  |  948 +++++++++
 src/tweetnacl.h                                  |   72 +
 src/udp_address.cpp                              |  172 ++
 src/udp_address.hpp                              |   78 +
 src/udp_engine.cpp                               |  385 ++++
 src/udp_engine.hpp                               |   72 +
 src/v1_decoder.cpp                               |  153 ++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   76 +
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  161 ++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   78 +
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 +
 src/vmci.cpp                                     |   87 +
 src/vmci.hpp                                     |   61 +
 src/vmci_address.cpp                             |  168 ++
 src/vmci_address.hpp                             |   71 +
 src/vmci_connecter.cpp                           |  305 +++
 src/vmci_connecter.hpp                           |  136 ++
 src/vmci_listener.cpp                            |  260 +++
 src/vmci_listener.hpp                            |  102 +
 src/windows.hpp                                  |   90 +
 src/wire.hpp                                     |  108 +
 src/xpub.cpp                                     |  318 +++
 src/xpub.hpp                                     |  127 ++
 src/xsub.cpp                                     |  251 +++
 src/xsub.hpp                                     |  103 +
 src/ypipe.hpp                                    |  218 ++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  225 +++
 src/zmq.cpp                                      | 1389 +++++++++++++
 src/zmq_draft.h                                  |  113 ++
 src/zmq_utils.cpp                                |  290 +++
 tests/CMakeLists.txt                             |  179 ++
 tests/README.md                                  |   26 +
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_ancillaries.cpp                       |   51 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_base85.cpp                            |   92 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   77 +
 tests/test_client_server.cpp                     |  106 +
 tests/test_conflate.cpp                          |   82 +
 tests/test_connect_delay_tipc.cpp                |  238 +++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  191 ++
 tests/test_ctx_destroy.cpp                       |  110 +
 tests/test_ctx_options.cpp                       |   80 +
 tests/test_dgram.cpp                             |   99 +
 tests/test_diffserv.cpp                          |   80 +
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  166 ++
 tests/test_fork.cpp                              |   95 +
 tests/test_getsockopt_memset.cpp                 |   64 +
 tests/test_heartbeats.cpp                        |  326 +++
 tests/test_hwm.cpp                               |  309 +++
 tests/test_hwm_pubsub.cpp                        |  248 +++
 tests/test_immediate.cpp                         |  240 +++
 tests/test_inproc_connect.cpp                    |  511 +++++
 tests/test_invalid_rep.cpp                       |   98 +
 tests/test_iov.cpp                               |  157 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 +
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 +
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  143 ++
 tests/test_msg_ffn.cpp                           |  140 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 +
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   62 +
 tests/test_pair_vmci.cpp                         |   68 +
 tests/test_poller.cpp                            |  173 ++
 tests/test_probe_router.cpp                      |   82 +
 tests/test_proxy.cpp                             |  282 +++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_radio_dish.cpp                        |  178 ++
 tests/test_req_correlate.cpp                     |  136 ++
 tests/test_req_relaxed.cpp                       |  198 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  146 ++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |  273 +++
 tests/test_reqrep_tipc.cpp                       |   61 +
 tests/test_reqrep_vmci.cpp                       |   68 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 +
 tests/test_router_mandatory_hwm.cpp              |  125 ++
 tests/test_router_mandatory_tipc.cpp             |   70 +
 tests/test_scatter_gather.cpp                    |   84 +
 tests/test_security_curve.cpp                    |  294 +++
 tests/test_security_null.cpp                     |  191 ++
 tests/test_security_plain.cpp                    |  199 ++
 tests/test_setsockopt.cpp                        |  118 ++
 tests/test_shutdown_stress.cpp                   |   90 +
 tests/test_shutdown_stress_tipc.cpp              |   95 +
 tests/test_sockopt_hwm.cpp                       |  174 ++
 tests/test_sodium.cpp                            |   99 +
 tests/test_spec_dealer.cpp                       |  259 +++
 tests/test_spec_pushpull.cpp                     |  297 +++
 tests/test_spec_rep.cpp                          |  165 ++
 tests/test_spec_req.cpp                          |  259 +++
 tests/test_spec_router.cpp                       |  213 ++
 tests/test_srcfd.cpp                             |  122 ++
 tests/test_stream.cpp                            |  333 ++++
 tests/test_stream_disconnect.cpp                 |  281 +++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_exceeds_buffer.cpp             |  119 ++
 tests/test_stream_timeout.cpp                    |  226 +++
 tests/test_sub_forward.cpp                       |  101 +
 tests/test_sub_forward_tipc.cpp                  |  102 +
 tests/test_system.cpp                            |  103 +
 tests/test_term_endpoint.cpp                     |  215 ++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_thread_safe.cpp                       |   86 +
 tests/test_timeo.cpp                             |   85 +
 tests/test_timers.cpp                            |  130 ++
 tests/test_udp.cpp                               |  133 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |  294 +++
 tests/test_use_fd_ipc.cpp                        |  223 +++
 tests/test_use_fd_tcp.cpp                        |  225 +++
 tests/test_xpub_manual.cpp                       |  475 +++++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 +
 tests/testutil.hpp                               |  382 ++++
 tools/curve_keygen.cpp                           |   58 +
 version.sh                                       |   21 +
 585 files changed, 95251 insertions(+)

commit 861fcaf745d5302da1fba0491c04d0e942db12c6
Merge: 4039858 c964b7c
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Tue Sep 20 13:16:57 2016 +0100

    Merge pull request #2113 from hnwyllmm/pollset
    
    remove pollset.hpp/.cpp to src directory

commit c964b7cfafcf6601e1180fc9f03b310898de5066
Author: hnwyllmm@126.com <hnwyllmm@126.com>
Date:   Tue Sep 20 17:05:14 2016 +0800

    remove pollset.hpp/.cpp to src directory

 pollset.cpp     | 252 --------------------------------------------------------
 pollset.hpp     | 121 ---------------------------
 src/pollset.cpp | 252 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/pollset.hpp | 121 +++++++++++++++++++++++++++
 4 files changed, 373 insertions(+), 373 deletions(-)

commit 4039858754a713b4faa6b0d347cb6e81216f99e0
Merge: 50e277b 3a59711
Author: Doron Somech <somdoron@gmail.com>
Date:   Tue Sep 20 09:40:35 2016 +0200

    Merge pull request #2112 from hnwyllmm/pollset
    
    Pollset

commit 3a5971171fc30ceb4fba4f0302268fbcd8456e06
Author: Laughing <hnwyllmm@126.com>
Date:   Tue Sep 20 10:52:12 2016 +0800

    add pollset poller in AIX
    
    add a new poller named pollset which will get benefit of performance in AIX platform.

 .gitignore                                       |  176 ++
 .hgeol                                           |    2 +
 .mailmap                                         |   81 +
 .travis.yml                                      |   69 +
 AUTHORS                                          |  147 ++
 CMakeLists.txt                                   |  973 +++++++++
 COPYING                                          |  674 +++++++
 COPYING.LESSER                                   |  181 ++
 Dockerfile                                       |   11 +
 Doxygen.cfg                                      | 2320 ++++++++++++++++++++++
 FindSodium.cmake                                 |   40 +
 INSTALL                                          |  251 +++
 Makefile.am                                      |  823 ++++++++
 NEWS                                             |  978 +++++++++
 README.cygwin.md                                 |   15 +
 README.doxygen.md                                |   48 +
 README.md                                        |   58 +
 RELICENSE/README.md                              |   23 +
 RELICENSE/imatix.md                              |   23 +
 RELICENSE/naos_ltd.md                            |   19 +
 acinclude.m4                                     |  976 +++++++++
 appveyor.yml                                     |   85 +
 autogen.sh                                       |   49 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/Makefile.am                               |   31 +
 builds/README                                    |    4 +
 builds/android/Dockerfile                        |   22 +
 builds/android/README.md                         |   78 +
 builds/android/android_build_helper.sh           |  316 +++
 builds/android/build.sh                          |   70 +
 builds/android/ci_build.sh                       |   30 +
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  163 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++
 builds/cmake/ci_build.sh                         |   31 +
 builds/cmake/platform.hpp.in                     |   92 +
 builds/coverage/ci_build.sh                      |   29 +
 builds/cygwin/Makefile.cygwin                    |   48 +
 builds/gyp/.gitignore                            |    5 +
 builds/gyp/build.bat                             |    4 +
 builds/gyp/platform.hpp                          |   78 +
 builds/gyp/project-tests.gsl                     |   19 +
 builds/gyp/project-tests.gypi                    |  873 ++++++++
 builds/gyp/project-tests.xml                     |   81 +
 builds/gyp/project.gyp                           |  288 +++
 builds/mingw32/Makefile.mingw32                  |   49 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/.gitignore                           |  256 +++
 builds/msvc/Makefile.am                          |   94 +
 builds/msvc/build/build.bat                      |   33 +
 builds/msvc/build/buildall.bat                   |   14 +
 builds/msvc/build/buildbase.bat                  |   64 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   14 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   26 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 +
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  277 +++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2015/inproc_lat/inproc_lat.props   |   49 +
 builds/msvc/vs2015/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2015/inproc_thr/inproc_thr.props   |   49 +
 builds/msvc/vs2015/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2015/libzmq.import.props           |   64 +
 builds/msvc/vs2015/libzmq.import.xml             |   49 +
 builds/msvc/vs2015/libzmq.sln                    |  208 ++
 builds/msvc/vs2015/libzmq/libzmq.props           |   76 +
 builds/msvc/vs2015/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2015/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2015/libzmq/libzmq.xml             |   40 +
 builds/msvc/vs2015/local_lat/local_lat.props     |   49 +
 builds/msvc/vs2015/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2015/local_thr/local_thr.props     |   49 +
 builds/msvc/vs2015/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2015/remote_lat/remote_lat.props   |   49 +
 builds/msvc/vs2015/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2015/remote_thr/remote_thr.props   |   49 +
 builds/msvc/vs2015/remote_thr/remote_thr.vcxproj |   79 +
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/openwrt/Makefile                          |   70 +
 builds/valgrind/ci_build.sh                      |   27 +
 builds/valgrind/valgrind.supp                    |   22 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 +
 builds/zos/platform.hpp                          |  300 +++
 builds/zos/runtests                              |  188 ++
 builds/zos/test_fork.cpp                         |   95 +
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   42 +
 ci_deploy.sh                                     |   20 +
 configure.ac                                     |  667 +++++++
 doc/Makefile.am                                  |   63 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  270 +++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  103 +
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  101 +
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   97 +
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  141 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 +
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  860 ++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   88 +
 doc/zmq_ipc.txt                                  |  106 +
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 +
 doc/zmq_msg_gets.txt                             |   75 +
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 +
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_routing_id.txt                       |   61 +
 doc/zmq_msg_send.txt                             |  127 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_set_routing_id.txt                   |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  164 ++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 +
 doc/zmq_proxy_steerable.txt                      |   98 +
 doc/zmq_recv.txt                                 |   91 +
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  104 +
 doc/zmq_send_const.txt                           |  103 +
 doc/zmq_sendmsg.txt                              |  121 ++
 doc/zmq_setsockopt.txt                           | 1211 +++++++++++
 doc/zmq_socket.txt                               |  608 ++++++
 doc/zmq_socket_monitor.txt                       |  239 +++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  118 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   83 +
 doc/zmq_udp.txt                                  |   99 +
 doc/zmq_unbind.txt                               |   90 +
 doc/zmq_version.txt                              |   54 +
 doc/zmq_vmci.txt                                 |   97 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  617 ++++++
 include/zmq_utils.h                              |   48 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 m4/ax_check_compile_flag.m4                      |   74 +
 m4/ax_code_coverage.m4                           |  281 +++
 m4/ax_cxx_compile_stdcxx.m4                      |  562 ++++++
 m4/ax_cxx_compile_stdcxx_11.m4                   |   40 +
 m4/ax_valgrind_check.m4                          |  233 +++
 packaging/README                                 |    4 +
 packaging/debian/changelog                       |    5 +
 packaging/debian/compat                          |    1 +
 packaging/debian/control                         |   61 +
 packaging/debian/copyright                       |   93 +
 packaging/debian/libzmq3-dev.install             |    4 +
 packaging/debian/libzmq3-dev.manpages            |    2 +
 packaging/debian/libzmq5.docs                    |    2 +
 packaging/debian/libzmq5.install                 |    1 +
 packaging/debian/rules                           |   58 +
 packaging/debian/source/format                   |    1 +
 packaging/debian/zeromq.dsc.obs                  |   15 +
 packaging/nuget/package.bat                      |   14 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  264 +++
 packaging/nuget/package.nuspec                   |   98 +
 packaging/nuget/package.targets                  |  129 ++
 packaging/nuget/package.xml                      |   22 +
 packaging/obs/_service                           |   84 +
 packaging/redhat/zeromq.spec                     |  200 ++
 perf/inproc_lat.cpp                              |  240 +++
 perf/inproc_thr.cpp                              |  250 +++
 perf/local_lat.cpp                               |  116 ++
 perf/local_thr.cpp                               |  140 ++
 perf/remote_lat.cpp                              |  129 ++
 perf/remote_thr.cpp                              |  107 +
 pollset.cpp                                      |  252 +++
 pollset.hpp                                      |  121 ++
 src/address.cpp                                  |  134 ++
 src/address.hpp                                  |   77 +
 src/array.hpp                                    |  167 ++
 src/atomic_counter.hpp                           |  229 +++
 src/atomic_ptr.hpp                               |  227 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  116 ++
 src/client.hpp                                   |   81 +
 src/clock.cpp                                    |  239 +++
 src/clock.hpp                                    |   79 +
 src/command.hpp                                  |  171 ++
 src/condition_variable.hpp                       |  208 ++
 src/config.hpp                                   |   98 +
 src/ctx.cpp                                      |  613 ++++++
 src/ctx.hpp                                      |  242 +++
 src/curve_client.cpp                             |  453 +++++
 src/curve_client.hpp                             |  125 ++
 src/curve_server.cpp                             |  722 +++++++
 src/curve_server.hpp                             |  136 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  143 ++
 src/dealer.hpp                                   |   89 +
 src/decoder.hpp                                  |  198 ++
 src/decoder_allocators.cpp                       |  144 ++
 src/decoder_allocators.hpp                       |  155 ++
 src/devpoll.cpp                                  |  205 ++
 src/devpoll.hpp                                  |  119 ++
 src/dgram.cpp                                    |  177 ++
 src/dgram.hpp                                    |   81 +
 src/dish.cpp                                     |  360 ++++
 src/dish.hpp                                     |  125 ++
 src/dist.cpp                                     |  235 +++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  189 ++
 src/epoll.cpp                                    |  195 ++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  445 +++++
 src/err.hpp                                      |  173 ++
 src/fd.hpp                                       |   52 +
 src/fq.cpp                                       |  163 ++
 src/fq.hpp                                       |   92 +
 src/gather.cpp                                   |   94 +
 src/gather.hpp                                   |   75 +
 src/gssapi_client.cpp                            |  226 +++
 src/gssapi_client.hpp                            |   93 +
 src/gssapi_mechanism_base.cpp                    |  347 ++++
 src/gssapi_mechanism_base.hpp                    |  130 ++
 src/gssapi_server.cpp                            |  373 ++++
 src/gssapi_server.hpp                            |   96 +
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  117 ++
 src/io_object.hpp                                |   89 +
 src/io_thread.cpp                                |  114 ++
 src/io_thread.hpp                                |   99 +
 src/ip.cpp                                       |  175 ++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  106 +
 src/ipc_address.hpp                              |   74 +
 src/ipc_connecter.cpp                            |  278 +++
 src/ipc_connecter.hpp                            |  135 ++
 src/ipc_listener.cpp                             |  424 ++++
 src/ipc_listener.hpp                             |  123 ++
 src/kqueue.cpp                                   |  227 +++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  171 ++
 src/lb.hpp                                       |   88 +
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/macros.hpp                                   |   12 +
 src/mailbox.cpp                                  |  101 +
 src/mailbox.hpp                                  |   90 +
 src/mailbox_safe.cpp                             |  117 ++
 src/mailbox_safe.hpp                             |   94 +
 src/mechanism.cpp                                |  212 ++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   56 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  578 ++++++
 src/msg.hpp                                      |  251 +++
 src/mtrie.cpp                                    |  436 ++++
 src/mtrie.hpp                                    |  102 +
 src/mutex.hpp                                    |  213 ++
 src/norm_engine.cpp                              |  728 +++++++
 src/norm_engine.hpp                              |  188 ++
 src/null_mechanism.cpp                           |  355 ++++
 src/null_mechanism.hpp                           |   84 +
 src/object.cpp                                   |  438 ++++
 src/object.hpp                                   |  152 ++
 src/options.cpp                                  | 1042 ++++++++++
 src/options.hpp                                  |  240 +++
 src/own.cpp                                      |  216 ++
 src/own.hpp                                      |  154 ++
 src/pair.cpp                                     |  142 ++
 src/pair.hpp                                     |   78 +
 src/pgm_receiver.cpp                             |  301 +++
 src/pgm_receiver.hpp                             |  146 ++
 src/pgm_sender.cpp                               |  250 +++
 src/pgm_sender.hpp                               |  123 ++
 src/pgm_socket.cpp                               |  712 +++++++
 src/pgm_socket.hpp                               |  128 ++
 src/pipe.cpp                                     |  535 +++++
 src/pipe.hpp                                     |  249 +++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 +
 src/plain_server.cpp                             |  437 ++++
 src/plain_server.hpp                             |   93 +
 src/poll.cpp                                     |  193 ++
 src/poll.hpp                                     |  121 ++
 src/poller.hpp                                   |   64 +
 src/poller_base.cpp                              |  110 +
 src/poller_base.hpp                              |   95 +
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |  119 ++
 src/proxy.cpp                                    |  205 ++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   67 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   78 +
 src/pull.hpp                                     |   75 +
 src/push.cpp                                     |   77 +
 src/push.hpp                                     |   73 +
 src/radio.cpp                                    |  250 +++
 src/radio.hpp                                    |  112 ++
 src/random.cpp                                   |   59 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   74 +
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   51 +
 src/raw_encoder.hpp                              |   64 +
 src/reaper.cpp                                   |  142 ++
 src/reaper.hpp                                   |   94 +
 src/rep.cpp                                      |  134 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  321 +++
 src/req.hpp                                      |  121 ++
 src/router.cpp                                   |  508 +++++
 src/router.hpp                                   |  146 ++
 src/scatter.cpp                                  |   83 +
 src/scatter.hpp                                  |   73 +
 src/select.cpp                                   |  487 +++++
 src/select.hpp                                   |  170 ++
 src/server.cpp                                   |  184 ++
 src/server.hpp                                   |   96 +
 src/session_base.cpp                             |  690 +++++++
 src/session_base.hpp                             |  172 ++
 src/signaler.cpp                                 |  646 ++++++
 src/signaler.hpp                                 |   91 +
 src/socket_base.cpp                              | 1713 ++++++++++++++++
 src/socket_base.hpp                              |  291 +++
 src/socket_poller.cpp                            |  675 +++++++
 src/socket_poller.hpp                            |  128 ++
 src/socks.cpp                                    |  286 +++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  476 +++++
 src/socks_connecter.hpp                          |  163 ++
 src/stdint.hpp                                   |   74 +
 src/stream.cpp                                   |  321 +++
 src/stream.hpp                                   |  107 +
 src/stream_engine.cpp                            | 1082 ++++++++++
 src/stream_engine.hpp                            |  234 +++
 src/sub.cpp                                      |   94 +
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  291 +++
 src/tcp.hpp                                      |   66 +
 src/tcp_address.cpp                              |  734 +++++++
 src/tcp_address.hpp                              |  112 ++
 src/tcp_connecter.cpp                            |  404 ++++
 src/tcp_connecter.hpp                            |  134 ++
 src/tcp_listener.cpp                             |  338 ++++
 src/tcp_listener.hpp                             |   98 +
 src/thread.cpp                                   |  156 ++
 src/thread.hpp                                   |   89 +
 src/timers.cpp                                   |  170 ++
 src/timers.hpp                                   |  108 +
 src/tipc_address.cpp                             |  122 ++
 src/tipc_address.hpp                             |   75 +
 src/tipc_connecter.cpp                           |  266 +++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 ++
 src/tipc_listener.hpp                            |  107 +
 src/trie.cpp                                     |  340 ++++
 src/trie.hpp                                     |   86 +
 src/tweetnacl.c                                  |  948 +++++++++
 src/tweetnacl.h                                  |   72 +
 src/udp_address.cpp                              |  172 ++
 src/udp_address.hpp                              |   78 +
 src/udp_engine.cpp                               |  385 ++++
 src/udp_engine.hpp                               |   72 +
 src/v1_decoder.cpp                               |  153 ++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   76 +
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  161 ++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   78 +
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 +
 src/vmci.cpp                                     |   87 +
 src/vmci.hpp                                     |   61 +
 src/vmci_address.cpp                             |  168 ++
 src/vmci_address.hpp                             |   71 +
 src/vmci_connecter.cpp                           |  305 +++
 src/vmci_connecter.hpp                           |  136 ++
 src/vmci_listener.cpp                            |  260 +++
 src/vmci_listener.hpp                            |  102 +
 src/windows.hpp                                  |   90 +
 src/wire.hpp                                     |  108 +
 src/xpub.cpp                                     |  318 +++
 src/xpub.hpp                                     |  127 ++
 src/xsub.cpp                                     |  251 +++
 src/xsub.hpp                                     |  103 +
 src/ypipe.hpp                                    |  218 ++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  225 +++
 src/zmq.cpp                                      | 1389 +++++++++++++
 src/zmq_draft.h                                  |  113 ++
 src/zmq_utils.cpp                                |  290 +++
 tests/CMakeLists.txt                             |  179 ++
 tests/README.md                                  |   26 +
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_ancillaries.cpp                       |   51 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_base85.cpp                            |   92 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   77 +
 tests/test_client_server.cpp                     |  106 +
 tests/test_conflate.cpp                          |   82 +
 tests/test_connect_delay_tipc.cpp                |  238 +++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  191 ++
 tests/test_ctx_destroy.cpp                       |  110 +
 tests/test_ctx_options.cpp                       |   80 +
 tests/test_dgram.cpp                             |   99 +
 tests/test_diffserv.cpp                          |   80 +
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  166 ++
 tests/test_fork.cpp                              |   95 +
 tests/test_getsockopt_memset.cpp                 |   64 +
 tests/test_heartbeats.cpp                        |  326 +++
 tests/test_hwm.cpp                               |  309 +++
 tests/test_hwm_pubsub.cpp                        |  248 +++
 tests/test_immediate.cpp                         |  240 +++
 tests/test_inproc_connect.cpp                    |  511 +++++
 tests/test_invalid_rep.cpp                       |   98 +
 tests/test_iov.cpp                               |  157 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 +
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 +
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  143 ++
 tests/test_msg_ffn.cpp                           |  140 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 +
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   62 +
 tests/test_pair_vmci.cpp                         |   68 +
 tests/test_poller.cpp                            |  173 ++
 tests/test_probe_router.cpp                      |   82 +
 tests/test_proxy.cpp                             |  282 +++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_radio_dish.cpp                        |  178 ++
 tests/test_req_correlate.cpp                     |  136 ++
 tests/test_req_relaxed.cpp                       |  198 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  146 ++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |  273 +++
 tests/test_reqrep_tipc.cpp                       |   61 +
 tests/test_reqrep_vmci.cpp                       |   68 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 +
 tests/test_router_mandatory_hwm.cpp              |  125 ++
 tests/test_router_mandatory_tipc.cpp             |   70 +
 tests/test_scatter_gather.cpp                    |   84 +
 tests/test_security_curve.cpp                    |  294 +++
 tests/test_security_null.cpp                     |  191 ++
 tests/test_security_plain.cpp                    |  199 ++
 tests/test_setsockopt.cpp                        |  118 ++
 tests/test_shutdown_stress.cpp                   |   90 +
 tests/test_shutdown_stress_tipc.cpp              |   95 +
 tests/test_sockopt_hwm.cpp                       |  174 ++
 tests/test_sodium.cpp                            |   99 +
 tests/test_spec_dealer.cpp                       |  259 +++
 tests/test_spec_pushpull.cpp                     |  297 +++
 tests/test_spec_rep.cpp                          |  165 ++
 tests/test_spec_req.cpp                          |  259 +++
 tests/test_spec_router.cpp                       |  213 ++
 tests/test_srcfd.cpp                             |  122 ++
 tests/test_stream.cpp                            |  333 ++++
 tests/test_stream_disconnect.cpp                 |  281 +++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_exceeds_buffer.cpp             |  119 ++
 tests/test_stream_timeout.cpp                    |  226 +++
 tests/test_sub_forward.cpp                       |  101 +
 tests/test_sub_forward_tipc.cpp                  |  102 +
 tests/test_system.cpp                            |  103 +
 tests/test_term_endpoint.cpp                     |  215 ++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_thread_safe.cpp                       |   86 +
 tests/test_timeo.cpp                             |   85 +
 tests/test_timers.cpp                            |  130 ++
 tests/test_udp.cpp                               |  133 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |  294 +++
 tests/test_use_fd_ipc.cpp                        |  223 +++
 tests/test_use_fd_tcp.cpp                        |  225 +++
 tests/test_xpub_manual.cpp                       |  475 +++++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 +
 tests/testutil.hpp                               |  382 ++++
 tools/curve_keygen.cpp                           |   58 +
 version.sh                                       |   21 +
 585 files changed, 95251 insertions(+)

commit 50e277bd8f8d00177f6325faf6e68e2dda11f1f3
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Sep 17 21:34:46 2016 +0200

    Merge pull request #2111 from bluca/ipv6_multi_endpoint
    
    Problem: zmq_connect with IPv6 "source:port;dest:port" format is broken

 .gitignore                                       |  176 ++
 .hgeol                                           |    2 +
 .mailmap                                         |   81 +
 .travis.yml                                      |   69 +
 AUTHORS                                          |  147 ++
 CMakeLists.txt                                   |  962 +++++++++
 COPYING                                          |  674 +++++++
 COPYING.LESSER                                   |  181 ++
 Dockerfile                                       |   11 +
 Doxygen.cfg                                      | 2320 ++++++++++++++++++++++
 FindSodium.cmake                                 |   40 +
 INSTALL                                          |  251 +++
 Makefile.am                                      |  821 ++++++++
 NEWS                                             |  978 +++++++++
 README.cygwin.md                                 |   15 +
 README.doxygen.md                                |   48 +
 README.md                                        |   58 +
 RELICENSE/README.md                              |   23 +
 RELICENSE/imatix.md                              |   23 +
 RELICENSE/naos_ltd.md                            |   19 +
 acinclude.m4                                     |  953 +++++++++
 appveyor.yml                                     |   85 +
 autogen.sh                                       |   49 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/Makefile.am                               |   31 +
 builds/README                                    |    4 +
 builds/android/Dockerfile                        |   22 +
 builds/android/README.md                         |   78 +
 builds/android/android_build_helper.sh           |  316 +++
 builds/android/build.sh                          |   70 +
 builds/android/ci_build.sh                       |   30 +
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  163 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++
 builds/cmake/ci_build.sh                         |   31 +
 builds/cmake/platform.hpp.in                     |   92 +
 builds/coverage/ci_build.sh                      |   29 +
 builds/cygwin/Makefile.cygwin                    |   48 +
 builds/gyp/.gitignore                            |    5 +
 builds/gyp/build.bat                             |    4 +
 builds/gyp/platform.hpp                          |   78 +
 builds/gyp/project-tests.gsl                     |   19 +
 builds/gyp/project-tests.gypi                    |  873 ++++++++
 builds/gyp/project-tests.xml                     |   81 +
 builds/gyp/project.gyp                           |  288 +++
 builds/mingw32/Makefile.mingw32                  |   49 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/.gitignore                           |  256 +++
 builds/msvc/Makefile.am                          |   94 +
 builds/msvc/build/build.bat                      |   33 +
 builds/msvc/build/buildall.bat                   |   14 +
 builds/msvc/build/buildbase.bat                  |   64 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   14 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   26 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 +
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  277 +++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 +
 builds/msvc/vs2015/inproc_lat/inproc_lat.props   |   49 +
 builds/msvc/vs2015/inproc_lat/inproc_lat.vcxproj |   79 +
 builds/msvc/vs2015/inproc_thr/inproc_thr.props   |   49 +
 builds/msvc/vs2015/inproc_thr/inproc_thr.vcxproj |   79 +
 builds/msvc/vs2015/libzmq.import.props           |   64 +
 builds/msvc/vs2015/libzmq.import.xml             |   49 +
 builds/msvc/vs2015/libzmq.sln                    |  208 ++
 builds/msvc/vs2015/libzmq/libzmq.props           |   76 +
 builds/msvc/vs2015/libzmq/libzmq.vcxproj         |  283 +++
 builds/msvc/vs2015/libzmq/libzmq.vcxproj.filters |  627 ++++++
 builds/msvc/vs2015/libzmq/libzmq.xml             |   40 +
 builds/msvc/vs2015/local_lat/local_lat.props     |   49 +
 builds/msvc/vs2015/local_lat/local_lat.vcxproj   |   79 +
 builds/msvc/vs2015/local_thr/local_thr.props     |   49 +
 builds/msvc/vs2015/local_thr/local_thr.vcxproj   |   79 +
 builds/msvc/vs2015/remote_lat/remote_lat.props   |   49 +
 builds/msvc/vs2015/remote_lat/remote_lat.vcxproj |   79 +
 builds/msvc/vs2015/remote_thr/remote_thr.props   |   49 +
 builds/msvc/vs2015/remote_thr/remote_thr.vcxproj |   79 +
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/openwrt/Makefile                          |   70 +
 builds/valgrind/ci_build.sh                      |   27 +
 builds/valgrind/valgrind.supp                    |   22 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 +
 builds/zos/platform.hpp                          |  300 +++
 builds/zos/runtests                              |  188 ++
 builds/zos/test_fork.cpp                         |   95 +
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   42 +
 ci_deploy.sh                                     |   20 +
 configure.ac                                     |  667 +++++++
 doc/Makefile.am                                  |   63 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  270 +++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  103 +
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  101 +
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   97 +
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  141 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 +
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  860 ++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   88 +
 doc/zmq_ipc.txt                                  |  106 +
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 +
 doc/zmq_msg_gets.txt                             |   75 +
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 +
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_routing_id.txt                       |   61 +
 doc/zmq_msg_send.txt                             |  127 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_set_routing_id.txt                   |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  164 ++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 +
 doc/zmq_proxy_steerable.txt                      |   98 +
 doc/zmq_recv.txt                                 |   91 +
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  104 +
 doc/zmq_send_const.txt                           |  103 +
 doc/zmq_sendmsg.txt                              |  121 ++
 doc/zmq_setsockopt.txt                           | 1211 +++++++++++
 doc/zmq_socket.txt                               |  608 ++++++
 doc/zmq_socket_monitor.txt                       |  239 +++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  118 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   83 +
 doc/zmq_udp.txt                                  |   99 +
 doc/zmq_unbind.txt                               |   90 +
 doc/zmq_version.txt                              |   54 +
 doc/zmq_vmci.txt                                 |   97 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  617 ++++++
 include/zmq_utils.h                              |   48 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 m4/ax_check_compile_flag.m4                      |   74 +
 m4/ax_code_coverage.m4                           |  281 +++
 m4/ax_cxx_compile_stdcxx.m4                      |  562 ++++++
 m4/ax_cxx_compile_stdcxx_11.m4                   |   40 +
 m4/ax_valgrind_check.m4                          |  233 +++
 packaging/README                                 |    4 +
 packaging/debian/changelog                       |    5 +
 packaging/debian/compat                          |    1 +
 packaging/debian/control                         |   61 +
 packaging/debian/copyright                       |   93 +
 packaging/debian/libzmq3-dev.install             |    4 +
 packaging/debian/libzmq3-dev.manpages            |    2 +
 packaging/debian/libzmq5.docs                    |    2 +
 packaging/debian/libzmq5.install                 |    1 +
 packaging/debian/rules                           |   58 +
 packaging/debian/source/format                   |    1 +
 packaging/debian/zeromq.dsc.obs                  |   15 +
 packaging/nuget/package.bat                      |   14 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  264 +++
 packaging/nuget/package.nuspec                   |   98 +
 packaging/nuget/package.targets                  |  129 ++
 packaging/nuget/package.xml                      |   22 +
 packaging/obs/_service                           |   84 +
 packaging/redhat/zeromq.spec                     |  200 ++
 perf/inproc_lat.cpp                              |  240 +++
 perf/inproc_thr.cpp                              |  250 +++
 perf/local_lat.cpp                               |  116 ++
 perf/local_thr.cpp                               |  140 ++
 perf/remote_lat.cpp                              |  129 ++
 perf/remote_thr.cpp                              |  107 +
 src/address.cpp                                  |  134 ++
 src/address.hpp                                  |   77 +
 src/array.hpp                                    |  167 ++
 src/atomic_counter.hpp                           |  229 +++
 src/atomic_ptr.hpp                               |  227 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  116 ++
 src/client.hpp                                   |   81 +
 src/clock.cpp                                    |  239 +++
 src/clock.hpp                                    |   79 +
 src/command.hpp                                  |  171 ++
 src/condition_variable.hpp                       |  208 ++
 src/config.hpp                                   |   98 +
 src/ctx.cpp                                      |  613 ++++++
 src/ctx.hpp                                      |  242 +++
 src/curve_client.cpp                             |  453 +++++
 src/curve_client.hpp                             |  125 ++
 src/curve_server.cpp                             |  722 +++++++
 src/curve_server.hpp                             |  136 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  143 ++
 src/dealer.hpp                                   |   89 +
 src/decoder.hpp                                  |  198 ++
 src/decoder_allocators.cpp                       |  144 ++
 src/decoder_allocators.hpp                       |  155 ++
 src/devpoll.cpp                                  |  205 ++
 src/devpoll.hpp                                  |  119 ++
 src/dgram.cpp                                    |  177 ++
 src/dgram.hpp                                    |   81 +
 src/dish.cpp                                     |  360 ++++
 src/dish.hpp                                     |  125 ++
 src/dist.cpp                                     |  235 +++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  189 ++
 src/epoll.cpp                                    |  195 ++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  445 +++++
 src/err.hpp                                      |  173 ++
 src/fd.hpp                                       |   52 +
 src/fq.cpp                                       |  163 ++
 src/fq.hpp                                       |   92 +
 src/gather.cpp                                   |   94 +
 src/gather.hpp                                   |   75 +
 src/gssapi_client.cpp                            |  226 +++
 src/gssapi_client.hpp                            |   93 +
 src/gssapi_mechanism_base.cpp                    |  347 ++++
 src/gssapi_mechanism_base.hpp                    |  130 ++
 src/gssapi_server.cpp                            |  373 ++++
 src/gssapi_server.hpp                            |   96 +
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  117 ++
 src/io_object.hpp                                |   89 +
 src/io_thread.cpp                                |  114 ++
 src/io_thread.hpp                                |   99 +
 src/ip.cpp                                       |  175 ++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  106 +
 src/ipc_address.hpp                              |   74 +
 src/ipc_connecter.cpp                            |  278 +++
 src/ipc_connecter.hpp                            |  135 ++
 src/ipc_listener.cpp                             |  424 ++++
 src/ipc_listener.hpp                             |  123 ++
 src/kqueue.cpp                                   |  227 +++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  171 ++
 src/lb.hpp                                       |   88 +
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/macros.hpp                                   |   12 +
 src/mailbox.cpp                                  |  101 +
 src/mailbox.hpp                                  |   90 +
 src/mailbox_safe.cpp                             |  117 ++
 src/mailbox_safe.hpp                             |   94 +
 src/mechanism.cpp                                |  212 ++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   56 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  578 ++++++
 src/msg.hpp                                      |  251 +++
 src/mtrie.cpp                                    |  436 ++++
 src/mtrie.hpp                                    |  102 +
 src/mutex.hpp                                    |  213 ++
 src/norm_engine.cpp                              |  728 +++++++
 src/norm_engine.hpp                              |  188 ++
 src/null_mechanism.cpp                           |  355 ++++
 src/null_mechanism.hpp                           |   84 +
 src/object.cpp                                   |  438 ++++
 src/object.hpp                                   |  152 ++
 src/options.cpp                                  | 1042 ++++++++++
 src/options.hpp                                  |  240 +++
 src/own.cpp                                      |  216 ++
 src/own.hpp                                      |  154 ++
 src/pair.cpp                                     |  142 ++
 src/pair.hpp                                     |   78 +
 src/pgm_receiver.cpp                             |  301 +++
 src/pgm_receiver.hpp                             |  146 ++
 src/pgm_sender.cpp                               |  250 +++
 src/pgm_sender.hpp                               |  123 ++
 src/pgm_socket.cpp                               |  712 +++++++
 src/pgm_socket.hpp                               |  128 ++
 src/pipe.cpp                                     |  535 +++++
 src/pipe.hpp                                     |  249 +++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 +
 src/plain_server.cpp                             |  437 ++++
 src/plain_server.hpp                             |   93 +
 src/poll.cpp                                     |  193 ++
 src/poll.hpp                                     |  121 ++
 src/poller.hpp                                   |   62 +
 src/poller_base.cpp                              |  110 +
 src/poller_base.hpp                              |   95 +
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |  119 ++
 src/proxy.cpp                                    |  205 ++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   67 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   78 +
 src/pull.hpp                                     |   75 +
 src/push.cpp                                     |   77 +
 src/push.hpp                                     |   73 +
 src/radio.cpp                                    |  250 +++
 src/radio.hpp                                    |  112 ++
 src/random.cpp                                   |   59 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   74 +
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   51 +
 src/raw_encoder.hpp                              |   64 +
 src/reaper.cpp                                   |  142 ++
 src/reaper.hpp                                   |   94 +
 src/rep.cpp                                      |  134 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  321 +++
 src/req.hpp                                      |  121 ++
 src/router.cpp                                   |  508 +++++
 src/router.hpp                                   |  146 ++
 src/scatter.cpp                                  |   83 +
 src/scatter.hpp                                  |   73 +
 src/select.cpp                                   |  487 +++++
 src/select.hpp                                   |  170 ++
 src/server.cpp                                   |  184 ++
 src/server.hpp                                   |   96 +
 src/session_base.cpp                             |  690 +++++++
 src/session_base.hpp                             |  172 ++
 src/signaler.cpp                                 |  646 ++++++
 src/signaler.hpp                                 |   91 +
 src/socket_base.cpp                              | 1713 ++++++++++++++++
 src/socket_base.hpp                              |  291 +++
 src/socket_poller.cpp                            |  675 +++++++
 src/socket_poller.hpp                            |  128 ++
 src/socks.cpp                                    |  286 +++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  476 +++++
 src/socks_connecter.hpp                          |  163 ++
 src/stdint.hpp                                   |   74 +
 src/stream.cpp                                   |  321 +++
 src/stream.hpp                                   |  107 +
 src/stream_engine.cpp                            | 1082 ++++++++++
 src/stream_engine.hpp                            |  234 +++
 src/sub.cpp                                      |   94 +
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  291 +++
 src/tcp.hpp                                      |   66 +
 src/tcp_address.cpp                              |  734 +++++++
 src/tcp_address.hpp                              |  112 ++
 src/tcp_connecter.cpp                            |  404 ++++
 src/tcp_connecter.hpp                            |  134 ++
 src/tcp_listener.cpp                             |  338 ++++
 src/tcp_listener.hpp                             |   98 +
 src/thread.cpp                                   |  156 ++
 src/thread.hpp                                   |   89 +
 src/timers.cpp                                   |  170 ++
 src/timers.hpp                                   |  108 +
 src/tipc_address.cpp                             |  122 ++
 src/tipc_address.hpp                             |   75 +
 src/tipc_connecter.cpp                           |  266 +++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 ++
 src/tipc_listener.hpp                            |  107 +
 src/trie.cpp                                     |  340 ++++
 src/trie.hpp                                     |   86 +
 src/tweetnacl.c                                  |  948 +++++++++
 src/tweetnacl.h                                  |   72 +
 src/udp_address.cpp                              |  172 ++
 src/udp_address.hpp                              |   78 +
 src/udp_engine.cpp                               |  385 ++++
 src/udp_engine.hpp                               |   72 +
 src/v1_decoder.cpp                               |  153 ++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   76 +
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  161 ++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   78 +
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 +
 src/vmci.cpp                                     |   87 +
 src/vmci.hpp                                     |   61 +
 src/vmci_address.cpp                             |  168 ++
 src/vmci_address.hpp                             |   71 +
 src/vmci_connecter.cpp                           |  305 +++
 src/vmci_connecter.hpp                           |  136 ++
 src/vmci_listener.cpp                            |  260 +++
 src/vmci_listener.hpp                            |  102 +
 src/windows.hpp                                  |   90 +
 src/wire.hpp                                     |  108 +
 src/xpub.cpp                                     |  318 +++
 src/xpub.hpp                                     |  127 ++
 src/xsub.cpp                                     |  251 +++
 src/xsub.hpp                                     |  103 +
 src/ypipe.hpp                                    |  218 ++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  225 +++
 src/zmq.cpp                                      | 1389 +++++++++++++
 src/zmq_draft.h                                  |  113 ++
 src/zmq_utils.cpp                                |  290 +++
 tests/CMakeLists.txt                             |  179 ++
 tests/README.md                                  |   26 +
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_ancillaries.cpp                       |   51 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_base85.cpp                            |   92 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   77 +
 tests/test_client_server.cpp                     |  106 +
 tests/test_conflate.cpp                          |   82 +
 tests/test_connect_delay_tipc.cpp                |  238 +++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  191 ++
 tests/test_ctx_destroy.cpp                       |  110 +
 tests/test_ctx_options.cpp                       |   80 +
 tests/test_dgram.cpp                             |   99 +
 tests/test_diffserv.cpp                          |   80 +
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  166 ++
 tests/test_fork.cpp                              |   95 +
 tests/test_getsockopt_memset.cpp                 |   64 +
 tests/test_heartbeats.cpp                        |  326 +++
 tests/test_hwm.cpp                               |  309 +++
 tests/test_hwm_pubsub.cpp                        |  248 +++
 tests/test_immediate.cpp                         |  240 +++
 tests/test_inproc_connect.cpp                    |  511 +++++
 tests/test_invalid_rep.cpp                       |   98 +
 tests/test_iov.cpp                               |  157 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 +
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 +
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  143 ++
 tests/test_msg_ffn.cpp                           |  140 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 +
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   62 +
 tests/test_pair_vmci.cpp                         |   68 +
 tests/test_poller.cpp                            |  173 ++
 tests/test_probe_router.cpp                      |   82 +
 tests/test_proxy.cpp                             |  282 +++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_radio_dish.cpp                        |  178 ++
 tests/test_req_correlate.cpp                     |  136 ++
 tests/test_req_relaxed.cpp                       |  198 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  146 ++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |  273 +++
 tests/test_reqrep_tipc.cpp                       |   61 +
 tests/test_reqrep_vmci.cpp                       |   68 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 +
 tests/test_router_mandatory_hwm.cpp              |  125 ++
 tests/test_router_mandatory_tipc.cpp             |   70 +
 tests/test_scatter_gather.cpp                    |   84 +
 tests/test_security_curve.cpp                    |  294 +++
 tests/test_security_null.cpp                     |  191 ++
 tests/test_security_plain.cpp                    |  199 ++
 tests/test_setsockopt.cpp                        |  118 ++
 tests/test_shutdown_stress.cpp                   |   90 +
 tests/test_shutdown_stress_tipc.cpp              |   95 +
 tests/test_sockopt_hwm.cpp                       |  174 ++
 tests/test_sodium.cpp                            |   99 +
 tests/test_spec_dealer.cpp                       |  259 +++
 tests/test_spec_pushpull.cpp                     |  297 +++
 tests/test_spec_rep.cpp                          |  165 ++
 tests/test_spec_req.cpp                          |  259 +++
 tests/test_spec_router.cpp                       |  213 ++
 tests/test_srcfd.cpp                             |  122 ++
 tests/test_stream.cpp                            |  333 ++++
 tests/test_stream_disconnect.cpp                 |  281 +++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_exceeds_buffer.cpp             |  119 ++
 tests/test_stream_timeout.cpp                    |  226 +++
 tests/test_sub_forward.cpp                       |  101 +
 tests/test_sub_forward_tipc.cpp                  |  102 +
 tests/test_system.cpp                            |  103 +
 tests/test_term_endpoint.cpp                     |  215 ++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_thread_safe.cpp                       |   86 +
 tests/test_timeo.cpp                             |   85 +
 tests/test_timers.cpp                            |  130 ++
 tests/test_udp.cpp                               |  133 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |  294 +++
 tests/test_use_fd_ipc.cpp                        |  223 +++
 tests/test_use_fd_tcp.cpp                        |  225 +++
 tests/test_xpub_manual.cpp                       |  475 +++++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 +
 tests/testutil.hpp                               |  382 ++++
 tools/curve_keygen.cpp                           |   58 +
 version.sh                                       |   21 +
 583 files changed, 94840 insertions(+)

commit 86714959da8a9642ab686ad019856e76ad0e1d31
Merge: 4444361 18c5170
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Fri Nov 13 03:53:37 2015 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 18c517020bd14ac9af7f2a5e07e3e9ada54c5737
Merge: c41fe88 908d6b6
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Nov 12 23:17:14 2015 +0100

    Merge pull request #1638 from jens-auer/tcp_buffer_options
    
    Tcp buffer options to set RECV/SEND buffer

commit 908d6b67401509de724c509f1c4b09187596e177
Author: Jens Auer <jens-auer@users.noreply.github.com>
Date:   Sun Nov 8 21:48:36 2015 +0100

    Update options.cpp
    
    Fixed ZMQ_TCP_RECV_BUFFER set case.

 src/options.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d2516a9c42d1e718ddf360cbd0ebb127ab17e226
Merge: cdeec4c ea26e68
Author: Jens Auer <jens.auer@betaversion.net>
Date:   Sun Nov 8 19:01:04 2015 +0100

    Merge branch 'tcp_buffer_options' of github.com:jens-auer/libzmq into tcp_buffer_options

commit cdeec4c115b3d2f62417ae57c2cd5f5dcdf348f4
Author: Jens Auer <jens.auer@cgi.com>
Date:   Thu Oct 8 22:06:33 2015 +0200

    New options to set send/recv buffer size for TCP sockets.

 doc/zmq_getsockopt.txt | 27 +++++++++++++++++++++++++++
 doc/zmq_setsockopt.txt | 27 +++++++++++++++++++++++++++
 include/zmq.h          |  2 ++
 src/options.cpp        | 29 +++++++++++++++++++++++++++++
 src/options.hpp        |  4 ++++
 src/stream_engine.cpp  | 24 ++++++++++++------------
 6 files changed, 101 insertions(+), 12 deletions(-)

commit c41fe88df63a6d331a7d86c06ba161c3e818f62f
Merge: c775c50 5f5fb5e
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Nov 5 17:22:17 2015 +0100

    Merge pull request #1636 from roalz/feature-add-msvc2015-build
    
    Added solution and project files to build with Microsoft VS2015

commit 5f5fb5e5ad42151ef2073a4d1cd9123c9229a6d1
Author: roalz <roal.zanazzi@gmail.com>
Date:   Thu Nov 5 16:08:33 2015 +0100

    Added solution and project files to build with Microsoft Visual Studio 2015

 builds/msvc/readme.txt                           |   5 +-
 builds/msvc/vs2015/libsodium.import.props        |  52 +++
 builds/msvc/vs2015/libsodium.import.xml          |  17 +
 builds/msvc/vs2015/libzmq.import.props           |  66 +++
 builds/msvc/vs2015/libzmq.import.xml             |  38 ++
 builds/msvc/vs2015/libzmq.sln                    | 208 +++++++++
 builds/msvc/vs2015/libzmq/libzmq.props           |  69 +++
 builds/msvc/vs2015/libzmq/libzmq.vcxproj         | 260 +++++++++++
 builds/msvc/vs2015/libzmq/libzmq.vcxproj.filters | 570 +++++++++++++++++++++++
 builds/msvc/vs2015/libzmq/libzmq.xml             |  25 +
 10 files changed, 1308 insertions(+), 2 deletions(-)

commit 4444361503c86e27de0bdd5d7f464ada3ca3081e
Merge: 9a8c822 c775c50
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Thu Nov 5 05:27:52 2015 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit c775c509daf3d5349a6fac7a649165e302083a73
Merge: 22179af b201043
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Nov 3 00:08:00 2015 +0100

    Merge pull request #1631 from swansontec/master
    
    Do not crash on unusual connection-failure cases

commit b2010432c726fb8e092c2c5aacca5adb560aa1dd
Author: William Swanson <swansontec@gmail.com>
Date:   Mon Nov 2 14:59:15 2015 -0800

    Do not crash on unusual connection-failure cases
    
    Only assert on errors we know are our fault,
    instead of trying to whitelist every possible network-related failure.
    This makes ZeroMQ more portable to other platforms
    where the possible errors are different.
    
    In particular, the previous code would often die under iOS.

 src/tcp_connecter.cpp | 26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

commit 9a8c822aa2973f17801c9e9ce30a15ab11becef9
Merge: c22f9f3 22179af
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Sun Nov 1 20:59:03 2015 +0100

    Merge branch 'master' of github.com:zeromq/libzmq
    
    # Conflicts:
    #	CMakeLists.txt

commit 22179afaba8603ef2fc1815ef5599453e32553cb
Merge: ac46e6d 54e2e2a
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Nov 1 13:16:55 2015 +0100

    Merge pull request #1629 from hintjens/master
    
    Problem: Windows 7 TCP slow start

commit 54e2e2a7ad12363e70bd13557322a2f7dd224841
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 1 12:57:32 2015 +0100

    Problem: Windows 7 TCP slow start
    
    See issue #1608.
    
    This is an old issue with Windows 7. The effect is that we see a latency
    ramp on the first 500 messages.
    
    * The ramp is unaffected by message size.
    * Sleeping up to 100msec between sends has no effect except to switch
        off ZeroMQ batching so making the ramp more visible.
    * After 500 messages, latency falls back down to ~10-40 usec.
    * Over inproc:// the ramp happens when we use the signaler class.
    * Client-server over inproc:// does not show the ramp.
    * Client-server over tcp:// shows a similar ramp.
    
    We know that the signaller is using TCP on Windows. We can 'prime' the
    connection by doing 500 dummy sends. This potentially causes new sockets
    to be delayed on creation, which is not a good solution.
    
    Note that the signaller sends zero-byte messages. This may also be
    confusing TCP.
    
    Solution: flood the receive buffer when creating a new FD pair; send a
    1M buffer and discard it.
    
    Fixes #1608

 src/signaler.cpp | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

commit ac46e6da966c7056704c7d9e7bbedbaeed38db1a
Merge: ab2c009 ba1515f
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Nov 1 10:47:33 2015 +0100

    Merge pull request #1628 from hintjens/master
    
    Fix for #1399

commit ba1515fe07a143719a894376adfbaeb8d86486b1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 1 08:56:50 2015 +0100

    Problem: asserts if EINVAL recieved on read/write
    
    This causes assertion failures after network reconnects.
    
    Solution: allow EINVAL as a possible condition after read/write.
    
    Fixes #829
    Fixes #1399
    
    Patch provided by Michele Dionisio @mdionisio, thanks :)

 src/tcp.cpp | 32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

commit f38c11c06399ab6493750725e70ec22df2268a96
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 30 10:19:46 2015 +0100

    Whitespace fixes

 src/signaler.cpp | 31 +++++++++++++------------------
 1 file changed, 13 insertions(+), 18 deletions(-)

commit ab2c009d0de8b8ad160b00b6c7e80537417d3ae7
Merge: 182688d 7c8e65e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 27 12:23:03 2015 +0100

    Merge pull request #1626 from ahmetkakici/master
    
    Added missing socket_poller.cpp file to msvc solutions.

commit 7c8e65e2cd4ce6cf0bbc55661cd34da179cf993b
Author: ahmet <ahmet.kakici@pro-line.com.tr>
Date:   Tue Oct 27 14:16:36 2015 +0200

    Added missing socket_poller.cpp file to msvc solutions.
    also fixes issue https://github.com/zeromq/libzmq/issues/1624

 builds/msvc/vs2008/libzmq/libzmq.vcproj          | 1 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         | 1 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters | 3 +++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         | 1 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters | 3 +++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         | 1 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters | 3 +++
 7 files changed, 13 insertions(+)

commit 182688d4311e46869a97690f2604e9afaca72b9a
Merge: 9b14322 a4baa36
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 26 23:02:05 2015 +0100

    Merge pull request #1625 from lytboris/master
    
    Acutally allow specifying interfaces as source address

commit a4baa36ba408e436ef97710f317414cd51f004be
Author: Boris Lytochkin <lytboris@yandex-team.ru>
Date:   Tue Oct 27 00:37:53 2015 +0300

    acutally allow specifying interfaces as source address

 src/tcp_address.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9b1432256d7dddbc6757f9a46fab2a12dc6fffb2
Merge: dc04c5b 64ffb3f
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Oct 26 09:28:35 2015 +0100

    Merge pull request #1623 from zeromq/sappo-patch-1
    
    Problem: libzmq appveyor build status is not visible

commit 64ffb3fc92d86df4dca9a9002d529d9daee8117e
Author: Kevin Sapper <sappo@users.noreply.github.com>
Date:   Mon Oct 26 08:59:22 2015 +0100

    Problem: libzmq appveyor build status is not visible
    
    Solution: Add a travis like badge to the README
    
    fixes #1622

 README.md | 1 +
 1 file changed, 1 insertion(+)

commit dc04c5bbd68b019ace870feb4c05d73e07fd6861
Merge: c557221 0a0b9fd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Oct 25 09:54:00 2015 +0100

    Merge pull request #1621 from madebr/cmake_winci_fixes
    
    Cmake winci fixes

commit 0a0b9fd760556d2bad852b1213f710f486d13196
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Sun Oct 25 03:43:24 2015 +0100

    tweetNaCL: fix winrandom
    
    problem: random byte generation on windows got stuck in an infinite loop
    solution: the failure test is incorrect. Change it

 tweetnacl/contrib/randombytes/winrandom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 571ee21eefacc493c8f2b99e2ccda920b6b9f547
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Sun Oct 25 01:12:31 2015 +0200

    appveyor: build all relevant combinations
    
    problem: not all configurations were built (and some were duplicated) in
    Windows CI
    solution: add all correct combinations to appveyor.yml

 appveyor.yml | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit 89338f43d56fed063e6fbd97128f152b6f88b11a
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Sun Oct 25 01:11:26 2015 +0200

    CMake: fix library name on linux
    
    problem: cmake added a prefix of lib to libzmq, resulting in
    liblibzmq.so
    solution: set an empty prefix

 CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit c5572211e7f3552f65dbc791061298dd1c92c3c8
Merge: 7fe0321 9930f1f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Oct 24 12:19:10 2015 +0200

    Merge pull request #1620 from madebr/ctest_missing_tests
    
    CTest: add all sources in tests folder to CTest

commit 9930f1fc20bb24ef657c84335cd82c7b7d40aae8
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Fri Oct 23 16:14:30 2015 +0200

    CTest: add missing tests + check for unknown tests

 tests/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit 2f632318600ceed454c023bda5887a75b01f9d12
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Sat Oct 24 00:16:01 2015 +0200

    cmake: libzmq can now be built with both sodium and TweetNaCL

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7fe032180ad52b68568ad55970be039f45c2d153
Merge: e182438 b2c87b9
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Oct 24 00:01:55 2015 +0200

    Merge pull request #1619 from madebr/winrandombytes
    
    TweetNaCL: add windows randombytes implementation

commit b2c87b9a70fc11d7406037e0ff9a236e53396438
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Fri Oct 23 16:13:53 2015 +0200

    TweetNaCL: add windows randombytes implementation

 CMakeLists.txt                              | 24 ++++++++++------
 appveyor.yml                                | 41 ++++++++++++++++++---------
 tweetnacl/contrib/randombytes/devurandom.h  | 25 -----------------
 tweetnacl/contrib/randombytes/randombytes.h | 18 +++++++++++-
 tweetnacl/contrib/randombytes/winrandom.c   | 43 +++++++++++++++++++++++++++++
 5 files changed, 104 insertions(+), 47 deletions(-)

commit e182438ad681375e1b71055781c7cf3451072633
Merge: 5d98e60 35d723c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 23 09:20:18 2015 +0200

    Merge pull request #1618 from madebr/cmake_sodium
    
    CMake: use libsodium + add Windows CI

commit 35d723ce5b9c17b60b750f6e8aba5e0bb06474e4
Author: Anonymous Maarten <anonymous.maarten@gmail.com>
Date:   Fri Oct 23 01:32:00 2015 +0200

    Add Windows Continuous Integration (appveyor)

 appveyor.yml | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

commit 55ca9c56549e52bea1a024f7d70b6c81c88edfce
Author: Anonymous Maarten <maarten@localhost.localdomain>
Date:   Fri Oct 23 00:33:27 2015 +0200

    CMake: use libsodium if available, else use tweet_nacl

 CMakeLists.txt       | 41 +++++++++++++++++++++++------------------
 FindSodium.cmake     | 40 ++++++++++++++++++++++++++++++++++++++++
 tests/CMakeLists.txt |  3 ++-
 3 files changed, 65 insertions(+), 19 deletions(-)

commit 5d98e602c90f38b56b02732775e86e05e3daa1e3
Merge: 0650b59 da2bc60
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Oct 22 11:21:16 2015 +0200

    Merge pull request #1617 from somdoron/removing_pollfd
    
    problem: zmq_pollfd is not needed anymore when zmq_poller in place.

commit da2bc60abed9d7d31f6402f5365a52b4c116f945
Author: somdoron <somdoron@gmail.com>
Date:   Thu Oct 22 11:12:04 2015 +0300

    Removing zmq_pollfd as it is replaced by zmq_poller

 Makefile.am                        |   4 -
 include/zmq.h                      |  18 --
 src/socket_poller.cpp              | 563 ++++++++++++++++++++++++++++++-------
 src/socket_poller.hpp              |  84 +++---
 src/zmq.cpp                        | 545 ++---------------------------------
 tests/CMakeLists.txt               |   1 -
 tests/test_poller.cpp              |  13 +-
 tests/test_thread_safe_polling.cpp | 164 -----------
 8 files changed, 551 insertions(+), 841 deletions(-)

commit 0650b59b10c4425efbeaae166bcd1fc5b3d04f88
Merge: a7ea57f 24fc0d4
Author: Richard Newton <richard_newton@waters.com>
Date:   Wed Oct 21 12:42:44 2015 +0100

    Merge pull request #1616 from somdoron/ZMQ_POLLER
    
    problem: ZMQ_POLLER doesn't support polling on out

commit 24fc0d4e892947195dde3b930aadb98f7389f1c2
Author: somdoron <somdoron@gmail.com>
Date:   Wed Oct 21 14:04:33 2015 +0300

    drop the socket postfix from poller methods

 include/zmq.h         |  8 ++++----
 src/socket_poller.cpp |  6 +++---
 src/socket_poller.hpp |  6 +++---
 src/zmq.cpp           | 12 ++++++------
 tests/test_poller.cpp |  8 ++++----
 5 files changed, 20 insertions(+), 20 deletions(-)

commit 5c71fe65380660182e36453124dfe9751144385f
Author: somdoron <somdoron@gmail.com>
Date:   Wed Oct 21 10:34:00 2015 +0300

    Fix socket_poller windows compiling issue

 src/socket_poller.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 024819b4911185ae057c137d33bc356e892e8dde
Author: somdoron <somdoron@gmail.com>
Date:   Wed Oct 21 10:17:33 2015 +0300

    add ZMQ_HAVE_POLLER define to check if ZMQ_POLLER exist

 include/zmq.h | 2 ++
 1 file changed, 2 insertions(+)

commit 476ba22e0a73613ecaee0fe3dfc3b8cff855e717
Author: somdoron <somdoron@gmail.com>
Date:   Wed Oct 21 10:14:36 2015 +0300

    ZMQ_Poller support more event types

 include/zmq.h         | 10 +++++---
 src/socket_poller.cpp | 63 ++++++++++++++++++++++++++++++++++++++++++++-------
 src/socket_poller.hpp | 10 +++++---
 src/zmq.cpp           | 38 +++++++++++++++++++++++++++----
 tests/test_poller.cpp | 18 +++++++++++----
 5 files changed, 116 insertions(+), 23 deletions(-)

commit 544d1e34999d21a736c90181700612c3f57c3248
Author: somdoron <somdoron@gmail.com>
Date:   Wed Oct 21 09:37:52 2015 +0300

    Change the error of zmq_poller from EAGAIN to ETIMEDOUT

 src/socket_poller.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c22f9f3633aa180684ef2d38153777c2752fcac0
Merge: 7604e1f a7ea57f
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Tue Oct 20 15:16:07 2015 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit a7ea57fb68d5ce3c653c98b88d159d6f89d3d862
Merge: 979e6bb 9114d39
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Oct 20 13:50:07 2015 +0200

    Merge pull request #1615 from jeroenooms/master
    
    enable static libraries on mingw

commit 9114d3957725acd34aa8b8d011585812f3369411
Author: Jeroen Ooms <jeroenooms@gmail.com>
Date:   Tue Oct 20 13:10:38 2015 +0200

    enable static libraries on mingw

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 979e6bb45c8ac5e9ff95c412ed4850fab89febf7
Merge: f1e6cb8 06e882f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 19 23:08:11 2015 +0200

    Merge pull request #1613 from maxkozlovsky/master
    
    honor buffer reference count in zmq::shared_message_memory_allocator:…

commit 06e882f8ea7628e45970a8d64687944f33709044
Author: Max Kozlovsky <max@portworx.com>
Date:   Mon Oct 19 13:29:26 2015 -0700

    honor buffer reference count in zmq::shared_message_memory_allocator::deallocate

 src/decoder_allocators.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit f1e6cb8ba9b636a62cb501e64793329244e860f4
Merge: 5002699 e387ce1
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Oct 18 21:13:31 2015 +0200

    Merge pull request #1611 from somdoron/zpoller-port
    
    problem: polling on multiple sockets is complicated

commit e387ce1571e9fbd1c7a4b9fa86385c4af741625a
Author: somdoron <somdoron@gmail.com>
Date:   Sun Oct 18 21:50:24 2015 +0300

    remove pollfd from sockets when destroying poller

 src/socket_poller.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 6501b8089fb7f2d45e03581361ac35a753dfdf7e
Author: somdoron <somdoron@gmail.com>
Date:   Sun Oct 18 21:07:23 2015 +0300

    port zpoller to libzmq as zmq_poller

 .gitignore            |   1 +
 CMakeLists.txt        |   1 +
 Makefile.am           |  10 ++-
 include/zmq.h         |  29 +++++++
 src/socket_poller.cpp | 224 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/socket_poller.hpp | 104 +++++++++++++++++++++++
 src/zmq.cpp           |  88 ++++++++++++++++++++
 tests/CMakeLists.txt  |   1 +
 tests/test_poller.cpp | 138 +++++++++++++++++++++++++++++++
 9 files changed, 594 insertions(+), 2 deletions(-)

commit 500269955df78b4e013224adfcef2ff63c1de5c9
Merge: a28398a 516b440
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Oct 9 15:56:27 2015 +0200

    Merge pull request #1604 from wcs1only/master
    
    Fixed for issue  #1315

commit 516b440e0d215cac59b771453ffeac0e5825b41d
Author: Charles Stanley <charles.stanley@highwinds.com>
Date:   Fri Oct 9 08:47:11 2015 -0400

    fixes #1315 socket monitor hangs if zmq_bind fails

 src/socket_base.cpp | 8 ++++----
 src/socket_base.hpp | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

commit a28398a4e8c0fa5814303b3082e4c2e1ac74b48a
Merge: ca52520 9a78582
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Oct 9 05:48:39 2015 +0200

    Merge pull request #1603 from jizhilong/fix/typo
    
    fix a typo in ypipe.hpp

commit 9a7858245c6c3caf5a6c67e05fd429a194777e9d
Author: Zhilong.JI <zlji@Ctrip.com>
Date:   Fri Oct 9 10:52:36 2015 +0800

    fix a typo in ypipe.hpp

 src/ypipe.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ea26e68b9d4c3625e80b959e9db02fcdff14a7b1
Author: Jens Auer <jens.auer@cgi.com>
Date:   Thu Oct 8 22:06:33 2015 +0200

    New options to set send/recv buffer size for TCP sockets.

 doc/zmq_getsockopt.txt | 27 +++++++++++++++++++++++++++
 doc/zmq_setsockopt.txt | 27 +++++++++++++++++++++++++++
 include/zmq.h          |  2 ++
 src/options.cpp        | 29 +++++++++++++++++++++++++++++
 src/options.hpp        |  4 ++++
 src/stream_engine.cpp  | 24 ++++++++++++------------
 6 files changed, 101 insertions(+), 12 deletions(-)

commit ca52520944937686b68906d55162c30b1130d716
Merge: 96014ee aefc5d1
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Oct 7 22:30:53 2015 +0200

    Merge pull request #1602 from scemama/master
    
    Fixes issue #1556

commit aefc5d120b9ab01b6a3bb0ecfc0a5d309e949fde
Author: Anthony Scemama <scemama@irsamc.ups-tlse.fr>
Date:   Wed Oct 7 22:10:23 2015 +0200

    Default behavior is --with-libsodium=yes

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 73a0eed75d65a2f44ee0a433bac547213e410fae
Author: Anthony Scemama <scemama@irsamc.ups-tlse.fr>
Date:   Wed Oct 7 21:45:49 2015 +0200

    Fixes issue #1556

 configure.ac | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

commit 96014ee7ed9f5e4417121cfa7f528f675591d3f8
Merge: cca67fd 8ec747e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Oct 5 20:57:51 2015 +0200

    Merge pull request #1600 from lsniks/master
    
    Issue 1588 : Rollback in case send fails for multipart msg

commit 8ec747e14af2f6b069c83942754346ed07f72eeb
Author: Nikhil Mishra <nikhil@cinarra.com>
Date:   Mon Oct 5 11:46:48 2015 -0700

    Issue 1588 : Rollback in case send fails for multipart msg

 src/lb.cpp | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit cca67fdd1b3030ce4daeccc653c71b0671e5ed36
Merge: 52ee724 596d6e5
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Sep 29 06:01:51 2015 +0200

    Merge pull request #1595 from pijyoi/signaler_failable
    
    create signaler::recv_failable()

commit 596d6e5b1c2d060b2b5b09d01f7ebd207041791d
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Tue Sep 29 09:14:02 2015 +0800

    create signaler::recv_failable()
    
    In real world usage, there have been reported signaler failures where the
    eventfd read() or socket recv() system call in signaler::recv() fails,
    despite having made a prior successful signaler::wait() call.
    
    this patch creates a signaler::recv_failable() method that allows
    unreadable eventfd / socket to return an error without asserting.

 src/mailbox.cpp  |  8 ++++++--
 src/signaler.cpp | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/signaler.hpp |  1 +
 3 files changed, 57 insertions(+), 5 deletions(-)

commit 52ee724144c15034ea3c75f45e00b817a898ca30
Merge: 79daac1 992ac3b
Author: Richard Newton <richard_newton@waters.com>
Date:   Sun Sep 27 13:34:48 2015 +0100

    Merge pull request #1593 from meox/master
    
    fix error with gcc 5.2

commit 992ac3baa86cb03b4284c35b5a72154e9303f08f
Author: meox <glmeocci@gmail.com>
Date:   Sun Sep 27 14:24:08 2015 +0200

    fix error with gcc 5.2

 src/zmq.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 79daac119a34c9c238c4beee93b7bfe1cd016188
Merge: a8605f5 e4c06be
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 25 12:26:33 2015 +0200

    Merge pull request #1592 from c-rack/fix-test
    
    Solution: full is if number of msg is greater than hwm, not greater than hwm - 1

commit e4c06bef18d7c47eaa3dd1641febb5fd882ec6e9
Author: Constantin Rack <constantin@rack.li>
Date:   Fri Sep 25 11:56:54 2015 +0200

    Problem: check_hwm() has different semantic of 'full'

 src/pipe.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a8605f576e8b92a53dd1bebde30860b42a27c24e
Merge: dd6bb9a f1358c1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 25 11:36:41 2015 +0200

    Merge pull request #1591 from c-rack/check-hwm
    
    Solution: use existing check_hwm() method

commit f1358c12437898895ef3cebb91407d18719fe89d
Author: Constantin Rack <constantin@rack.li>
Date:   Fri Sep 25 11:24:48 2015 +0200

    Problem: duplicate code for hwm check

 AUTHORS      | 1 +
 src/pipe.cpp | 2 +-
 src/pipe.hpp | 8 ++++----
 3 files changed, 6 insertions(+), 5 deletions(-)

commit dd6bb9ae0c1716567cb6b1a664bd8c0d183b837d
Merge: d89753c 05d0451
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Sep 19 15:51:47 2015 +0200

    Merge pull request #1586 from ricnewton/master
    
    Update cmake to support Visual Studio 2015

commit 05d0451e29efdcf2d8b018fbf4ce724df008db3d
Author: Richard Newton <richard_newton@waters.com>
Date:   Sat Sep 19 14:39:18 2015 +0100

    Update cmake to support Visual Studio 2015

 CMakeLists.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit d89753cbf004c0b7b09aed95a9920068e4042b49
Merge: ed1009b b12b8ca
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 18 20:28:50 2015 +0200

    Merge pull request #1585 from msb-at-yahoo/fix-send-doc-typo
    
    Fix typo on send documentation re: nullification

commit b12b8ca23b2c508c596f8b2425ec7d53c770b156
Author: maurice barnum <msb@yahoo-inc.com>
Date:   Fri Sep 18 11:22:12 2015 -0700

    Fix typo on send documentation re: nullification

 doc/zmq_msg_send.txt | 2 +-
 doc/zmq_sendmsg.txt  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ed1009b3a5a8fd6af00983ce1be3d99c3461bfda
Merge: 2452c59 e9e03f5
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Sep 18 16:57:19 2015 +0200

    Merge pull request #1584 from ymax/master
    
    fixed zmq assertion in signaler.cpp under ubuntu

commit e9e03f5ade3808f41ce5e53079bcecfd724b4610
Author: Maxim Yakhontov <ymaax@mail.ru>
Date:   Fri Sep 18 20:48:08 2015 +0600

    fixed zmq assertion in signaler.cpp under ubuntu

 src/signaler.cpp | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

commit 2452c598b7365d6e7d6b79bdf83f7b7be8c7cfbf
Merge: 0f51190 5dc8b51
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Sep 17 11:31:10 2015 +0200

    Merge pull request #1582 from pengweichu/master
    
    Fixed the bug which cause the application crashed when use TCP connec…
    Fixes #1581

commit 5dc8b51ceb88f14fff1f8b1fccae749c7c087506
Author: PP <pp@pp.com>
Date:   Thu Sep 17 16:59:25 2015 +0800

    Fixed the bug which cause the application crashed when use TCP connect to an invalid address(such as 192.168.1.255).

 src/tcp_connecter.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 0f51190c272ae0a07111db7de95ab062191c808f
Merge: ee7f2a2 3f4f3c1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Sep 14 14:24:37 2015 +0200

    Merge pull request #1580 from ricnewton/master
    
    Fix windows cmake build

commit 3f4f3c113737d2513e012825c79a34afd618d88d
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Sep 14 13:21:20 2015 +0100

    Fix windows cmake build

 CMakeLists.txt     | 2 +-
 tests/testutil.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ee7f2a278a961a54e768144b4d27ce068c54371f
Merge: 2c94bb4 1fbc67a
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Sep 14 07:59:12 2015 +0200

    Merge pull request #1579 from staticfloat/patch-2

commit 1fbc67a40a816e4e8a6f8d6bcf2f6e500dd09471
Author: Elliot Saba <staticfloat@gmail.com>
Date:   Sun Sep 13 20:46:14 2015 -0700

    Fix pointer indirection precedence issue in docs
    
    Without this change, a segmentation fault is likely to occur when using the proposed snippet of code, as `*address[size]` is equivalent to `*(address[size])`, not `(*address)[size]` as clearly intended.

 doc/zmq_socket_monitor.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2c94bb42c5a236c4fbd7ba13cd25f86a9ebd924b
Merge: fb57110 3f92550
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Sep 13 14:18:49 2015 +0200

    Merge pull request #1578 from hintjens/master
    
    Problem: drop tests on CLIENT/SERVER are misleading

commit 3f9255019be1c5f89500c95f21d0534a189283a0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 13 12:24:15 2015 +0200

    Problem: description of ZMQ_CLIENT/SERVER has inaccuracies
    
    - both are thread safe
    - they do not accept ZMQ_SNDMORE nor ZMQ_RCVMORE

 doc/zmq_getsockopt.txt |  4 ++--
 doc/zmq_socket.txt     | 15 +++++++++++++--
 2 files changed, 15 insertions(+), 4 deletions(-)

commit 50859e40b99096f19163c536c29f44e4bb0a01ba
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 13 12:17:53 2015 +0200

    Problem: drop tests on CLIENT/SERVER are misleading
    
    These sockets deal only with single part data (at present), so the
    drop tests are misleading / inappropriate.
    
    Solution: remove them.

 Makefile.am                     |   8 ---
 tests/test_client_drop_more.cpp | 114 ----------------------------------------
 tests/test_server_drop_more.cpp | 114 ----------------------------------------
 3 files changed, 236 deletions(-)

commit fb57110b9487884a3fa257528e2c60d5da971e91
Merge: d0ffb91 f3ee8c6
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Fri Sep 11 14:24:51 2015 -0700

    Merge pull request #1577 from hintjens/master
    
    Various cleanups for CLIENT-SERVER sockets

commit f3ee8c69dbb50322a931534a55940fef85ad71dd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 17:22:37 2015 -0400

    Problem: request-reply pattern is lousy
    
    REQ-REP barely work, and DEALER-ROUTER are misnamed. As we move to
    formalizing CLIENT-SERVER, we can deprecate request-reply.
    
    Solution: move this section to the end of the man page, and mark as
    "will be deprecated".

 doc/zmq_socket.txt | 218 +++++++++++++++++++++++++++--------------------------
 1 file changed, 110 insertions(+), 108 deletions(-)

commit e7da0ea07baa44b8c81edc1cab7cd35ca21219dd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 17:12:58 2015 -0400

    Problem: client/server pattern is not documented
    
    Solution: add man pages/sections for:
    
     * ZMQ_SERVER
     * ZMQ_CLIENT
     * ZMQ_THREADSAFE
     * zmq_msg_routing_id
     * zmq_msg_set_routing_id

 doc/Makefile.am                |  1 +
 doc/zmq_getsockopt.txt         | 11 +++++
 doc/zmq_msg_routing_id.txt     | 61 +++++++++++++++++++++++++++
 doc/zmq_msg_set_routing_id.txt | 46 +++++++++++++++++++++
 doc/zmq_socket.txt             | 94 +++++++++++++++++++++++++++++++++++++-----
 5 files changed, 202 insertions(+), 11 deletions(-)

commit 4db73fc18bef4096100de9b04eca961d3fb996ac
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 17:09:24 2015 -0400

    Problem: msg.cpp:set_routing_id accepts a zero routing ID
    
    Solution: check/reject a zero routing ID with EINVAL.

 src/msg.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 6b00f40f747fa3158f5d5d2eb7eef817c339a653
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 17:07:50 2015 -0400

    Problem: test_client/server_drop_more are invalid
    
    These tests connected CLIENT and SERVER to DEALER... this isn't
    allowed. I changed to CLIENT-to-SERVER in both cases. The result
    was aborts in client.cpp and server.cpp which cannot handle
    invalid multipart data.
    
    I removed the asserts in each of these in xsend.
    
    Solution: fix the test cases and remove the (unwanted?) asserts
    in client.cpp:xsend and server.cpp:xsend.

 src/client.cpp                  | 16 ++++++--------
 src/server.cpp                  |  2 --
 tests/test_client_drop_more.cpp | 48 ++++++++++++++++++++---------------------
 tests/test_server_drop_more.cpp | 28 +++++++++++-------------
 4 files changed, 43 insertions(+), 51 deletions(-)

commit c2dffb9908252d60815cf7e0c3883bab845438d6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 17:01:27 2015 -0400

    Problem: threadsafe test uses CLIENT-to-CLIENT
    
    Solution: fix to use CLIENT-to-SERVER and increase number of messages
    sent to 100K per thread, to better stress thread safety.

 tests/test_thread_safe.cpp | 136 ++++++++++-----------------------------------
 1 file changed, 30 insertions(+), 106 deletions(-)

commit d416ffcec5b20f8df4135b2f1186ab193250a4b8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 16:42:26 2015 -0400

    Problem: cannot build single test case in tests
    
    This is due to the mangled include of platform.h, which was to make
    CMake happy.
    
    Solution: in CMakeLists.txt, define USING_CMAKE and then look for
    platform.h in current directory if that is defined, else look in
    ../src/ as one would expect.

 CMakeLists.txt     |  7 ++++---
 tests/testutil.hpp | 29 ++++++++++++++++++++---------
 2 files changed, 24 insertions(+), 12 deletions(-)

commit 5e936fe955ef2e8a448b3f5bec10ff3aff1073b8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 14:30:27 2015 -0400

    Problem: routing ID cycles back to zero
    
    It should never be zero.
    
    Solution: if rid cycles back to zero, bump to 1.

 src/server.cpp | 54 +++++++++++++++++++++++++++++-------------------------
 1 file changed, 29 insertions(+), 25 deletions(-)

commit 60fdfd9a1b2a41b5aee89a50477a597ff838512a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 11 14:30:20 2015 -0400

    Problem: whitespace at end of lines, removed

 .gitignore                                       |  154 ++
 .hgeol                                           |    2 +
 .travis.yml                                      |   25 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  851 +++++++++++
 COPYING                                          |  674 +++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  711 ++++++++++
 NEWS                                             |  978 +++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   49 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/Makefile.am                               |   34 +
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  316 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   30 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 ++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   27 +
 configure.ac                                     |  576 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  125 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  772 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   87 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 +
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1134 +++++++++++++++
 doc/zmq_socket.txt                               |  454 ++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  521 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  103 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  230 +++
 src/atomic_ptr.hpp                               |  229 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |  101 ++
 src/ctx.cpp                                      |  584 ++++++++
 src/ctx.hpp                                      |  226 +++
 src/curve_client.cpp                             |  464 ++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  196 +++
 src/decoder_allocators.cpp                       |  142 ++
 src/decoder_allocators.hpp                       |  154 ++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 +++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  194 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 +++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 +++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 +++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  113 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  177 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 +
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  226 +++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/macros.hpp                                   |   12 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  199 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  523 +++++++
 src/msg.hpp                                      |  229 +++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  102 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 ++
 src/options.cpp                                  |  970 +++++++++++++
 src/options.hpp                                  |  223 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 ++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  305 ++++
 src/pgm_receiver.hpp                             |  152 ++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  538 +++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 +
 src/pull.hpp                                     |   75 +
 src/push.cpp                                     |   76 +
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   78 ++
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  138 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  482 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  635 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  578 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1621 +++++++++++++++++++++
 src/socket_base.hpp                              |  290 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 +
 src/stream.cpp                                   |  318 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1087 +++++++++++++++
 src/stream_engine.hpp                            |  235 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  282 ++++
 src/tcp.hpp                                      |   65 +
 src/tcp_address.cpp                              |  672 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  401 ++++++
 src/tcp_connecter.hpp                            |  135 ++
 src/tcp_listener.cpp                             |  335 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 +
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  157 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 +
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  167 +++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   77 +
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  281 ++++
 src/xpub.hpp                                     |  121 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1626 ++++++++++++++++++++++
 src/zmq_utils.cpp                                |  267 ++++
 tests/CMakeLists.txt                             |   93 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |   98 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  191 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_getsockopt_memset.cpp                 |   64 +
 tests/test_heartbeats.cpp                        |  325 +++++
 tests/test_hwm.cpp                               |  309 ++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  511 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  143 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  283 ++++
 tests/test_proxy_single_socket.cpp               |  114 ++
 tests/test_proxy_terminate.cpp                   |  124 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 ++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 ++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  116 ++
 tests/test_stream.cpp                            |  333 +++++
 tests/test_stream_disconnect.cpp                 |  281 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_exceeds_buffer.cpp             |   81 ++
 tests/test_stream_timeout.cpp                    |  226 +++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  162 +++
 tests/test_thread_safe_polling.cpp               |  164 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |   48 +
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  310 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 519 files changed, 79064 insertions(+)

commit d0ffb9132378d4ff9fb5d2f8da762c52fba00f28
Merge: 734a73c 25a50ca
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Sep 8 11:40:04 2015 +0200

    Merge pull request #1574 from pijyoi/master
    
    avoid dereferencing uint32_t on unaligned address

commit 25a50ca0d5d3ea076c63c23692e4cb9868bfb55d
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Tue Sep 8 17:26:31 2015 +0800

    avoid dereferencing uint32_t on unaligned address

 src/socket_base.cpp | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

commit 734a73c63d77450a587c5cfb1f48f019c8bbd719
Merge: 3e43258 bd923f0
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 6 19:00:56 2015 +0200

    Merge pull request #1571 from c-rack/fix-typos
    
    Solution: fix typos

commit bd923f0fbb7488f6b072ad3e856ff60f50d01cae
Author: Constantin Rack <constantin@rack.li>
Date:   Sun Sep 6 18:46:32 2015 +0200

    Problem: some comments contain typos

 src/curve_client.hpp       |  2 +-
 src/decoder.hpp            |  6 +++---
 src/decoder_allocators.hpp |  4 ++--
 src/dist.cpp               |  2 +-
 src/fq.hpp                 |  2 +-
 src/i_decoder.hpp          |  2 +-
 src/io_thread.hpp          |  4 ++--
 src/ipc_connecter.cpp      |  4 ++--
 src/ipc_connecter.hpp      |  4 ++--
 src/ipc_listener.hpp       |  4 ++--
 src/mechanism.hpp          |  2 +-
 src/mtrie.cpp              |  2 +-
 src/norm_engine.hpp        |  2 +-
 src/object.hpp             |  2 +-
 src/options.hpp            |  2 +-
 src/own.cpp                |  2 +-
 src/own.hpp                |  6 +++---
 src/pgm_receiver.cpp       |  2 +-
 src/pgm_sender.cpp         | 12 ++++++------
 src/pipe.cpp               |  4 ++--
 src/req.cpp                |  2 +-
 src/req.hpp                |  2 +-
 src/router.cpp             |  2 +-
 src/select.hpp             |  2 +-
 src/server.cpp             |  2 +-
 src/signaler.cpp           |  4 ++--
 src/signaler.hpp           |  2 +-
 src/socket_base.cpp        |  8 ++++----
 src/socket_base.hpp        |  4 ++--
 src/socks_connecter.cpp    |  2 +-
 src/socks_connecter.hpp    |  4 ++--
 src/stream.cpp             |  2 +-
 src/tcp_address.cpp        |  2 +-
 src/tcp_address.hpp        |  2 +-
 src/tcp_connecter.cpp      |  2 +-
 src/tcp_connecter.hpp      |  4 ++--
 src/tcp_listener.hpp       |  2 +-
 src/tipc_connecter.cpp     |  4 ++--
 src/tipc_connecter.hpp     |  4 ++--
 src/tipc_listener.cpp      |  2 +-
 src/tipc_listener.hpp      |  2 +-
 src/trie.cpp               |  2 +-
 src/v2_decoder.cpp         |  2 +-
 src/xpub.cpp               |  4 ++--
 src/xpub.hpp               |  2 +-
 src/zmq.cpp                |  8 ++++----
 46 files changed, 74 insertions(+), 74 deletions(-)

commit 3e43258769fba35262147bbd47f7cb228c6b50c3
Merge: 39a0d33 64ffda9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Sep 6 02:01:02 2015 +0200

    Merge pull request #1570 from djelenc/deque_bug
    
    Problem: Tests in Travis are failing randomly

commit 64ffda90d2e3ccc66d0bb9fa2d83d85be21813a2
Author: David Jelenc <david.jelenc@fri.uni-lj.si>
Date:   Sun Sep 6 01:04:27 2015 +0200

    Problem: Tests in Travis are failing randomly
    
    Tests were failing, because some deque calls were causing undefined
    behavior: calling front() or pop_front() on an empty deque. Such
    calls are now safeguarded.

 src/xpub.cpp               | 13 +++++++++----
 tests/test_xpub_manual.cpp |  2 +-
 2 files changed, 10 insertions(+), 5 deletions(-)

commit 39a0d3391276608194e42ea97d7ea7b3e033287d
Merge: 47e1216 8fd71d6
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Sep 5 16:30:36 2015 +0200

    Merge pull request #1569 from djelenc/xpub_manual_lost_subscriptions
    
    Fixed missing subscriptions on XPUB with manual subscriptions

commit 8fd71d631d740a558b56456e08b55574c19ef761
Author: David Jelenc <david.jelenc@fri.uni-lj.si>
Date:   Sat Sep 5 14:59:52 2015 +0200

    Fixed missing subscriptions on XPUB with manual subscriptions
    
    The patch fixes the issue #1568.

 src/xpub.cpp               |   8 +++-
 src/xpub.hpp               |   5 +-
 tests/test_xpub_manual.cpp | 117 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 128 insertions(+), 2 deletions(-)

commit 47e1216e1e0700595bab0ffb483dbada1b42027c
Merge: 9e8e81c dd35e1d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 5 12:14:27 2015 +0200

    Merge pull request #1567 from djelenc/xpub_manual_proxy_disconnect_unsubscribe
    
    Problem: lingering subscriptions on XPUB sockets (#1566)

commit dd35e1db0f2f28387144cde7c13ea28d55ec0ae9
Author: David Jelenc <david.jelenc@fri.uni-lj.si>
Date:   Sat Sep 5 12:07:50 2015 +0200

    Problem: lingering subscriptions on XPUB sockets (#1566)
    
    The patch fixes lingering subscriptions that occur upon disconnection
    on XPUB sockets with option XPUB_MANUAL when used in a XPUB-XSUB
    proxies.

 src/xpub.cpp               |  17 +++--
 tests/test_xpub_manual.cpp | 150 ++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 160 insertions(+), 7 deletions(-)

commit 9e8e81cf9a227511fe027b4970eca19041ca72c0
Merge: 23c5561 5dad00e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 3 12:41:55 2015 +0200

    Merge pull request #1564 from c-rack/issue-1558-2
    
    Solution: do not call poller->add_fd() with -1. Fixes #1558

commit 5dad00ebdcf692cf8275c4a7e0d2d194bd1ac280
Author: Constantin Rack <constantin@rack.li>
Date:   Thu Sep 3 12:31:55 2015 +0200

    Problem: do not call poller->add_fd() with -1. Fixes #1558

 src/reaper.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 23c55612e46e6da81145d06007666a4b13cf2a23
Merge: 13db11c 2159618
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 3 12:15:42 2015 +0200

    Merge pull request #1563 from zeromq/revert-1561-issue-1558
    
    Revert "Solution: check return code of make_fdpair() with zmq_assert"

commit 2159618b56d15b2333dee1ae87bc30dd5b1feff9
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Sep 3 10:56:26 2015 +0200

    Revert "Solution: check return code of make_fdpair() with zmq_assert"

 .gitignore                                       |  154 ++
 .hgeol                                           |    2 +
 .travis.yml                                      |   25 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  851 +++++++++++
 COPYING                                          |  674 +++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  711 ++++++++++
 NEWS                                             |  978 +++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   49 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/Makefile.am                               |   34 +
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  316 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   30 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 ++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   27 +
 configure.ac                                     |  580 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  125 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  772 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   87 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 +
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1134 +++++++++++++++
 doc/zmq_socket.txt                               |  454 ++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  521 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  103 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  230 +++
 src/atomic_ptr.hpp                               |  229 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |  101 ++
 src/ctx.cpp                                      |  584 ++++++++
 src/ctx.hpp                                      |  226 +++
 src/curve_client.cpp                             |  464 ++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  196 +++
 src/decoder_allocators.cpp                       |  142 ++
 src/decoder_allocators.hpp                       |  154 ++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 +++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  194 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 +++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 +++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 +++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  113 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  177 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 +
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  226 +++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/macros.hpp                                   |   12 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  198 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  523 +++++++
 src/msg.hpp                                      |  229 +++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  102 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 ++
 src/options.cpp                                  |  970 +++++++++++++
 src/options.hpp                                  |  223 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 ++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  305 ++++
 src/pgm_receiver.hpp                             |  152 ++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  538 +++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 +
 src/pull.hpp                                     |   75 +
 src/push.cpp                                     |   76 +
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   78 ++
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  138 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  481 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  635 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  578 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1621 +++++++++++++++++++++
 src/socket_base.hpp                              |  290 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 +
 src/stream.cpp                                   |  318 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1087 +++++++++++++++
 src/stream_engine.hpp                            |  235 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  282 ++++
 src/tcp.hpp                                      |   65 +
 src/tcp_address.cpp                              |  673 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  401 ++++++
 src/tcp_connecter.hpp                            |  135 ++
 src/tcp_listener.cpp                             |  335 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 +
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  157 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 +
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  167 +++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   77 +
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  281 ++++
 src/xpub.hpp                                     |  121 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1626 ++++++++++++++++++++++
 src/zmq_utils.cpp                                |  267 ++++
 tests/CMakeLists.txt                             |   93 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |  100 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  191 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_getsockopt_memset.cpp                 |   64 +
 tests/test_heartbeats.cpp                        |  325 +++++
 tests/test_hwm.cpp                               |  309 ++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  511 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  143 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  283 ++++
 tests/test_proxy_single_socket.cpp               |  114 ++
 tests/test_proxy_terminate.cpp                   |  124 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 ++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 ++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  116 ++
 tests/test_stream.cpp                            |  333 +++++
 tests/test_stream_disconnect.cpp                 |  281 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_exceeds_buffer.cpp             |   81 ++
 tests/test_stream_timeout.cpp                    |  226 +++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  162 +++
 tests/test_thread_safe_polling.cpp               |  164 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |   48 +
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  310 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 519 files changed, 79069 insertions(+)

commit 13db11c6aefd7a02e8b59643295387c70924b5b0
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Sep 3 10:19:42 2015 +0200

    Merge pull request #1562 from markuspf/fix-dragonfly-compile-2
    
    Make DragonFly a first class citizen in terms of compilation

 .gitignore                                       |  154 ++
 .hgeol                                           |    2 +
 .travis.yml                                      |   25 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  851 +++++++++++
 COPYING                                          |  674 +++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  711 ++++++++++
 NEWS                                             |  978 +++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   49 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/Makefile.am                               |   34 +
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  259 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  567 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  316 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   30 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 ++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   27 +
 configure.ac                                     |  580 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  125 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  772 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   87 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 +
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1134 +++++++++++++++
 doc/zmq_socket.txt                               |  454 ++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  521 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  103 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  230 +++
 src/atomic_ptr.hpp                               |  229 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |  101 ++
 src/ctx.cpp                                      |  584 ++++++++
 src/ctx.hpp                                      |  226 +++
 src/curve_client.cpp                             |  464 ++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  196 +++
 src/decoder_allocators.cpp                       |  142 ++
 src/decoder_allocators.hpp                       |  154 ++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 +++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  194 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 +++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 +++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 +++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  113 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  177 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 +
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  226 +++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/macros.hpp                                   |   12 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  198 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  523 +++++++
 src/msg.hpp                                      |  229 +++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  102 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 ++
 src/options.cpp                                  |  970 +++++++++++++
 src/options.hpp                                  |  223 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 ++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  305 ++++
 src/pgm_receiver.hpp                             |  152 ++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  538 +++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 +
 src/pull.hpp                                     |   75 +
 src/push.cpp                                     |   76 +
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   78 ++
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  138 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  481 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  635 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  580 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1621 +++++++++++++++++++++
 src/socket_base.hpp                              |  290 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 +
 src/stream.cpp                                   |  318 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1087 +++++++++++++++
 src/stream_engine.hpp                            |  235 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  282 ++++
 src/tcp.hpp                                      |   65 +
 src/tcp_address.cpp                              |  673 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  401 ++++++
 src/tcp_connecter.hpp                            |  135 ++
 src/tcp_listener.cpp                             |  335 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 +
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  157 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 +
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  167 +++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   77 +
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  281 ++++
 src/xpub.hpp                                     |  121 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1626 ++++++++++++++++++++++
 src/zmq_utils.cpp                                |  267 ++++
 tests/CMakeLists.txt                             |   93 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |  100 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  191 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_getsockopt_memset.cpp                 |   64 +
 tests/test_heartbeats.cpp                        |  325 +++++
 tests/test_hwm.cpp                               |  309 ++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  511 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  143 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  283 ++++
 tests/test_proxy_single_socket.cpp               |  114 ++
 tests/test_proxy_terminate.cpp                   |  124 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 ++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 ++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  116 ++
 tests/test_stream.cpp                            |  333 +++++
 tests/test_stream_disconnect.cpp                 |  281 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_exceeds_buffer.cpp             |   81 ++
 tests/test_stream_timeout.cpp                    |  226 +++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  162 +++
 tests/test_thread_safe_polling.cpp               |  164 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |   48 +
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  310 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 519 files changed, 79071 insertions(+)

commit 7604e1f7d55c22a41c09890b83fa6089c70aa7cb
Merge: 41d85f5 6764055
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Sun Aug 2 04:56:55 2015 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit 67640557de115c694f916792dc16507c84b8b130
Merge: 7b5bf4a 6d0cea5
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Aug 1 18:41:44 2015 +0200

    Merge pull request #1499 from jemc/docfix/setsockopt
    
    Documentation fixes for socket options.

commit 6d0cea54aa629fd94172daeda7d2aafcecd0cbdb
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Fri Jul 31 22:37:36 2015 -0700

    Fix alphabetical order of non-deprecated setsockopt docs.

 doc/zmq_setsockopt.txt | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

commit 94c579a6c0bdd9488140ba8d8f76e4ec48378720
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Fri Jul 31 22:36:57 2015 -0700

    Fix title of docs for `ZMQ_XPUB_WELCOME_MSG` socket option.

 doc/zmq_setsockopt.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 7b5bf4aefe021ec890048c17ff166273aedbfc28
Merge: 2d8b1a7 d9f3261
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Aug 1 00:35:41 2015 +0200

    Merge pull request #1498 from pijyoi/master
    
    ZMQ_TCP_KEEPALIVE_IDLE doc wrongly says it overrides TCP_KEEPCNT

commit d9f32611adcb2a3c2c46748b16056def10391192
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Aug 1 06:29:06 2015 +0800

    ZMQ_TCP_KEEPALIVE_IDLE doc wrongly says it overrides TCP_KEEPCNT

 doc/zmq_setsockopt.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2d8b1a78b31f3c77db08bb019b273156685e41c1
Merge: a656b39 89fa904
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Thu Jul 30 16:55:35 2015 -0700

    Merge pull request #1497 from bluca/fix-autogen-libtool-detection
    
    Check for libtoolize instead of libtool on Linux

commit 89fa904b2d753c981710fe6883ecc36ea879cedc
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date:   Fri Jul 31 00:45:50 2015 +0100

    Check for libtoolize instead of libtool on Linux
    
    autogen.sh has a check for the libtool binary as a mean to
    check if libtool is available. But distributions like Debian and
    Ubuntu are splitting the libtool package, and the libtool binary is now
    in a separate package. What autoconf actually need is not the libtool
    binary, but libtoolize and other macro files. So check for libtoolize
    instead. On the other hand, OSX only ships libtool, not libtoolize,
    and uses a pre-generated libtool script to build. So check for
    libtoolize first and then for libtool, and fail if neither can be
    found.

 autogen.sh | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit a656b399cc82ec3d35d2e3fe2f49bca791e229e9
Merge: 94b6fca cb0491c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 28 22:57:58 2015 +0200

    Merge pull request #1496 from brian-peloton/macro-to-disable-test-timeout
    
    Add a way to disable libzmq's internal test timeout.

commit 94b6fca4066707089c62ff8b28f820f90a5786c7
Merge: 5dee460 f86bded
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 28 22:57:46 2015 +0200

    Merge pull request #1495 from brian-peloton/fix-test-flakiness
    
    Increase sleep in test to fix flakiness under CPU load.

commit 5dee46052dab0b8db60369926ca5b2a68cb1cacc
Merge: 4152023 c4c5135
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 28 22:57:35 2015 +0200

    Merge pull request #1494 from brian-peloton/fix-partial-recv-in-test
    
    Retry recv if it only returns part of a message during tests.

commit 41520238543cd7bb66a8f5ec8af50ffef772d996
Merge: 6dfe8f2 e449d7b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 28 22:57:22 2015 +0200

    Merge pull request #1493 from brian-peloton/fix-other-test-flakiness
    
    Fix test flakiness.

commit 6dfe8f20e28249645d65cd299d9b1a3d0a7e93cc
Merge: 80adc13 9796980
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 28 22:57:11 2015 +0200

    Merge pull request #1492 from brian-peloton/fix-memory-leak
    
    Fix a documented memory leak.

commit 80adc135c7b61522b24ac01e33bc2d1a0db401da
Merge: 7b2e37d 62a0e45
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Jul 28 22:56:36 2015 +0200

    Merge pull request #1491 from brian-peloton/fix-eventfd-under-load
    
    Fix eventfd read handling under heavy load.

commit c4c5135db6e9531860f538edcd066a50602e88cd
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 28 13:35:49 2015 -0700

    Retry recv if it only returns part of a message during tests.
    
    Under linux 3.16.0-4-amd64, I was getting occasional test failures
    before fixing this.

 tests/test_heartbeats.cpp | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

commit 62a0e450895cb5809d182908255c3110e8036dc0
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 28 13:38:58 2015 -0700

    Fix eventfd read handling under heavy load.
    
    I had the assertion below fail occasionally when running the libzmq
    tests under heavy CPU load on linux 3.16.0-4-amd64.

 src/signaler.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit e449d7bfbdd29ede7ead251926fe2219e8ba5e7e
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 28 13:42:46 2015 -0700

    Fix test flakiness.
    
    I'm pretty sure this is an issue with the test being too picky and not a
    bug, but the behavior in this situation is not well documented.

 tests/test_monitor.cpp | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit 97969808f6d3c5d97850cea477229fde87aab4ad
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 28 13:43:30 2015 -0700

    Fix a documented memory leak.
    
    Despite the old comments, re-initing the msg_t leaks a refcount to
    metadata in some situations.
    
    v1_decoder looks like it isn't tested any more, but it seems like a good
    idea to fix it because it has the exact same piece of buggy code
    v2_decoder does.

 src/v1_decoder.cpp | 14 ++++++--------
 src/v2_decoder.cpp |  6 ++----
 2 files changed, 8 insertions(+), 12 deletions(-)

commit f86bded783324aabd6b4330cc125b3c583444417
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 28 13:42:24 2015 -0700

    Increase sleep in test to fix flakiness under CPU load.

 tests/test_thread_safe.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit cb0491ca1870eeea78ca7442a29e58233c8cf6ea
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 28 13:37:16 2015 -0700

    Add a way to disable libzmq's internal test timeout.
    
    It's nice to be able to disable libzmq's internal timeout when there's
    another timeout in the test runner being used which gives nicer error
    messages.

 tests/testutil.hpp | 2 ++
 1 file changed, 2 insertions(+)

commit 7b2e37dc90f47e98c5af59deb3a83581a0aae640
Merge: 0917ece 81aa6f4
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Sun Jul 26 21:46:44 2015 -0700

    Merge pull request #1490 from evoskuil/master
    
    Problem: VS builds missing files, have warnings.

commit 81aa6f45a443af2e0dee87b5d507cd7c0d5f42d3
Author: evoskuil <eric@voskuil.org>
Date:   Sun Jul 26 17:37:38 2015 -0700

    Style and explicitness.

 src/err.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 6f0efc092caf0dd6792a32560ad5455c9b96cfde
Author: evoskuil <eric@voskuil.org>
Date:   Sun Jul 26 17:37:28 2015 -0700

    Make lossy cast explicit.

 src/decoder_allocators.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 342c417f9dfd095701cb033d71e7041406a7f152
Author: evoskuil <eric@voskuil.org>
Date:   Sun Jul 26 17:37:18 2015 -0700

    Add decoder_allocators to VS builds.

 builds/msvc/vs2010/libzmq/libzmq.vcxproj         | 2 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters | 6 ++++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         | 2 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters | 6 ++++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         | 2 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters | 6 ++++++
 6 files changed, 24 insertions(+)

commit 0917eceb6d800b55241ff74ef0079e060ea87d40
Merge: 7701a8f 2182bc9
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Jul 25 11:53:56 2015 +0200

    Merge pull request #1489 from pijyoi/fix_1488
    
    fix #1488 Heap buffer overflow in decoder

commit 2182bc963d2e0fc12a94adfdf92c7b31d593074e
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Sat Jul 25 17:46:46 2015 +0800

    check for potential unsigned integer wraparound before adding

 src/msg.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 7701a8f93614fd8b9a05315de784803466df3855
Merge: 588e0d2 fd51b0e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jul 24 00:11:23 2015 +0200

    Merge pull request #1487 from pijyoi/stream_notify
    
    don't break STREAM socket ABI from 4.1.x to 4.2.0

commit fd51b0e508172ec8b99b0785c4d7ab13e9b5f220
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Fri Jul 24 05:39:47 2015 +0800

    update test that relied on connect notifications to be disabled

 tests/test_connect_rid.cpp | 3 +++
 1 file changed, 3 insertions(+)

commit 3e7d73736093b5e9608ef74890d5f1772b4631fe
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Fri Jul 24 05:20:31 2015 +0800

    change ZMQ_STREAM_NOTIFY to default to 1

 doc/zmq_setsockopt.txt | 2 +-
 src/options.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 518b939f316510998cb62271ffe3df219d23725f
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Fri Jul 24 05:12:11 2015 +0800

    make ZMQ_STREAM_NOTIFY also control disconnect notificatons

 doc/zmq_setsockopt.txt | 10 +++++-----
 src/stream_engine.cpp  |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 588e0d2d8604ab7e7b0ee29421213f4115e75be8
Merge: 305c075 ec5592d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jul 23 13:07:01 2015 +0200

    Merge pull request #1486 from jimenezrick/fix-1478
    
    Fix 1478: receive unsubscriptions in XPUB when verbose

commit ec5592db1f87cd18e61545be4a3a3174709736dc
Author: Ricardo Catalinas Jiménez <r@untroubled.be>
Date:   Tue Jul 21 23:35:50 2015 +0100

    Fix 1478: receive unsubscriptions in XPUB when verbose
    
    Fixes not receiving unsubscription messages in XPUB socket with
    ZMQ_XPUB_VERBOSE and using a XSUB-XPUB proxy in front.
    
    This adds two modifications:
    
    - It adds a new flag, ZMQ_XPUB_VERBOSE_UNSUBSCRIBE, to enable verbose
      unsubscription messages, necessary when using a XSUB/XPUB proxy.
    
    - It adds a boolean switch to zmq::mtrie_t::rm () to control if the
      callback is invoked every time or only in the last removal. Necessary
      when a pipe is terminated and the verbose mode for unsubscriptions is
      enabled.

 doc/zmq_setsockopt.txt | 24 ++++++++++++++++++++++--
 include/zmq.h          |  1 +
 src/mtrie.cpp          | 23 ++++++++++++++---------
 src/mtrie.hpp          |  9 +++++----
 src/xpub.cpp           | 21 ++++++++++++++-------
 src/xpub.hpp           |  6 +++++-
 6 files changed, 61 insertions(+), 23 deletions(-)

commit 305c07583d5f7c7d7279d78e995ce93e9f0979f8
Merge: a4509d8 91877a2
Author: KAPP Arnaud <xaqq@users.noreply.github.com>
Date:   Thu Jul 23 10:14:57 2015 +0200

    Merge pull request #1485 from ricnewton/master
    
    Fix windows build

commit 91877a22d7bad83ace3dc3246ef1693db92819df
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Jul 23 08:49:03 2015 +0100

    Fix windows build

 src/signaler.cpp | 1 +
 1 file changed, 1 insertion(+)

commit a4509d8f882fb1dbd454fa935c9276c2b43fdbf0
Merge: 93218a6 708353a
Author: Richard Newton <richard_newton@waters.com>
Date:   Thu Jul 23 08:26:15 2015 +0100

    Merge pull request #1484 from pijyoi/fixsmash
    
    fix #1447 Segfault or Abort after PR #1441

commit 93218a60aefc88f7ad5c24c1474e2c31dd9b922a
Merge: 5fead47 e2be0d2
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Jul 22 12:58:35 2015 -0700

    Merge pull request #1483 from ktf/master
    
    Fix compilation on mac.

commit e2be0d25bd9e826efa051fe8c90db8864f88ebbe
Author: Giulio Eulisse <giulio.eulisse@cern.ch>
Date:   Wed Jul 22 21:31:48 2015 +0200

    Fix compilation on mac.

 src/signaler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5fead473a4a40719c452e802a9c9d030cb01ece8
Merge: c05a475 773a06f
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Jul 22 11:39:39 2015 -0700

    Merge pull request #1482 from brian-peloton/master
    
    Fix memory leak when creating a socket fails.

commit 773a06fc23526934e386875744ddbbb2413c2051
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Wed Jul 22 11:18:48 2015 -0700

    Fix memory leak when creating a socket fails.
    
    Previously, AddressSanitizer flagged leaks when running
    tests/test_many_sockets.cpp.

 src/signaler.cpp    | 39 ++++++++++++++++++++++++---------------
 src/socket_base.cpp |  5 ++++-
 2 files changed, 28 insertions(+), 16 deletions(-)

commit 708353a1b9d97c0465d2ba684cf81121676d8633
Author: KIU Shueng Chuan <nixchuan@gmail.com>
Date:   Wed Jul 22 21:19:22 2015 +0800

    advance refcnt only if it was used

 src/decoder_allocators.hpp | 9 +++++++--
 src/raw_decoder.cpp        | 3 ++-
 src/v2_decoder.cpp         | 3 ++-
 3 files changed, 11 insertions(+), 4 deletions(-)

commit c05a475bf74ff98167d7f01848c9c3886552cdcb
Merge: 3f70aca 18791f2
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Tue Jul 21 20:45:31 2015 -0700

    Merge pull request #1481 from brian-peloton/master
    
    Fix several missing msg_t::close calls.

commit 18791f2bfbd925ad6689c624dc0e18fae919c7c8
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Tue Jul 21 19:42:20 2015 -0700

    Fix several missing msg_t::close calls.
    
    I traced memory leaks found using AddressSanitizer down to these.

 src/stream.cpp                   | 2 ++
 tests/test_client_server.cpp     | 5 +++++
 tests/test_srcfd.cpp             | 3 +++
 tests/test_stream_disconnect.cpp | 8 ++++++++
 4 files changed, 18 insertions(+)

commit 3f70aca749197867e0b5706902500ecfb45e639d
Merge: b71f720 a88524d
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Jul 21 08:04:54 2015 +0200

    Merge pull request #1480 from brian-peloton/master
    
    Fix test_proxy hanging occasionally by setting ZMQ_LINGER to 0.

commit a88524d388bd68574bca002484ebacb2a6ba33af
Author: Brian Silverman <brian@peloton-tech.com>
Date:   Mon Jul 20 19:41:03 2015 -0700

    Fix test_proxy hanging occasionally by setting ZMQ_LINGER to 0.

 tests/test_proxy.cpp | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)

commit b71f720cdcadf395deea6c0d4c461745014d2fca
Merge: 15e35c5 6b9b13b
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Mon Jul 20 16:39:53 2015 -0400

    Merge pull request #1479 from jens-auer/issue1477
    
    Fixed #1477  corruption in "zero-copy" raw_decoder for payloads large…

commit 6b9b13be6c298dd5064b133e2460e862ef4fd2d8
Author: Jens Auer <jens.auer@cgi.com>
Date:   Mon Jul 20 22:34:22 2015 +0200

    Fixed whitespace error.

 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 23797120ffff5de35fc1a0572b78ddfcbba17b8d
Author: Jens Auer <jens.auer@cgi.com>
Date:   Mon Jul 20 22:22:13 2015 +0200

    Fixed #1477  corruption in "zero-copy" raw_decoder for payloads larger than 8192 bytes #1477
    
    Fixed wrong message::init arguments.

 Makefile.am                          |  6 ++-
 src/raw_decoder.cpp                  |  1 +
 tests/test_stream_exceeds_buffer.cpp | 83 ++++++++++++++++++++++++++++++++++++
 3 files changed, 89 insertions(+), 1 deletion(-)

commit 15e35c52e78468003b1274b1f42b047710763072
Merge: 6653775 7030bc4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Jul 19 14:19:57 2015 +0200

    Merge pull request #1475 from jimenezrick/fix-doc-setsockopt
    
    Fix doc formatting issues in zmq_setsockopt page

commit 7030bc429ac98a164501a25d82279f4874015cc1
Author: Ricardo Catalinas Jiménez <r@untroubled.be>
Date:   Sun Jul 19 12:20:45 2015 +0100

    Fix doc formatting issues in zmq_setsockopt page

 doc/zmq_setsockopt.txt | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

commit 6653775a31889309c1ea317d1c9dea875a363b18
Merge: 311f4d0 4a59983
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jul 16 12:51:56 2015 +0200

    Merge pull request #1474 from leonarf/patch-1
    
    THREAD PRIORITY option documentation

commit 4a5998382c66a6359cfb729afe84025da4b86787
Author: leonarf <leonard.michelet@openwide.fr>
Date:   Thu Jul 16 08:59:19 2015 +0200

    THREAD PRIORITY option documentation
    
    Added documentation about context's options ZMQ_THREAD_SCHED_POLICY and ZMQ_THREAD_PRIORITY

 doc/zmq_ctx_set.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

commit 311f4d00e49c1cdd1c093966b4185c2568b5dbf7
Merge: 72a9488 7362f3a
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Jul 8 11:20:45 2015 +0200

    Merge pull request #1472 from reunanen/allow-explicitly-setting-buf-sizes-to-0
    
    Allow explicitly setting buf sizes to 0

commit 7362f3af0f35d97645cda6ddb33fa8f0d7276246
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Wed Jul 8 11:58:42 2015 +0300

    update documentation regarding the rcvbuf parameter

 doc/zmq_getsockopt.txt | 6 ++----
 doc/zmq_setsockopt.txt | 4 ++--
 2 files changed, 4 insertions(+), 6 deletions(-)

commit 8096990e451b8e76b28c6205748f55bc13d8448f
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Wed Jul 8 11:40:23 2015 +0300

    update documentation regarding the sndbuf and rcvbuf parameters

 doc/zmq_getsockopt.txt | 6 ++----
 doc/zmq_setsockopt.txt | 4 ++--
 2 files changed, 4 insertions(+), 6 deletions(-)

commit f7b933f570545def0d654b9408c92b82ac0e54f4
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Mon Jul 6 18:05:31 2015 +0300

    LIBZMQ-195 allow explicitly setting sndbuf and rcvbuf to 0 (see https://support.microsoft.com/en-us/kb/201213)

 src/options.cpp         | 4 ++--
 src/pgm_socket.cpp      | 4 ++--
 src/socks_connecter.cpp | 4 ++--
 src/tcp_connecter.cpp   | 4 ++--
 src/tcp_listener.cpp    | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

commit 72a94881def193d714ed0b21445361ea986a7153
Merge: adafdb8 8339271
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 7 21:51:36 2015 +0200

    Merge pull request #1471 from reunanen/retry-on-WSAENOBUFS
    
    on Windows, handle WSAENOBUFS like WSAEWOULDBLOCK

commit adafdb8f4fe9844d08f2ac92f84176d1352144da
Merge: db898de ccb13e1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jul 7 21:50:35 2015 +0200

    Merge pull request #1470 from reunanen/check-msg-type-in-rm_refs
    
    add message type sanity check in msg_t::rm_refs

commit ccb13e17325960c088f7ed25a73c91c5565db58c
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Tue Jul 7 19:05:53 2015 +0300

    add sanity check in msg_t::rm_refs in order to avoid invalid memory access with u.zclmsg.refcnt

 src/msg.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8339271a3ea7a919797d369aa36fd3fd7ee83ac9
Author: Juha Reunanen <juha.reunanen@tomaattinen.com>
Date:   Tue Jul 7 12:16:21 2015 +0300

    LIBZMQ-195 on Windows, handle WSAENOBUFS like WSAEWOULDBLOCK

 src/tcp.cpp | 5 +++++
 1 file changed, 5 insertions(+)

commit db898deb090669bb7780dd2faca08de60b7adc10
Merge: d60040d 29b4548
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 6 01:23:52 2015 +0200

    Merge pull request #1469 from tkoeppe/master
    
    [decoder.hpp] Fix misspelled inclusion

commit 29b45489fa7ee97b8c1e12eb0ff8e638c0ea5b09
Author: Thomas Köppe <tkoeppe@google.com>
Date:   Mon Jul 6 00:20:46 2015 +0100

    [decoder.hpp] Fix misspelled inclusion

 .gitignore                                       |  151 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  852 ++++++++++++
 COPYING                                          |  674 ++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  698 ++++++++++
 NEWS                                             |  978 ++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  575 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  746 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 ++
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1078 +++++++++++++++
 doc/zmq_socket.txt                               |  454 +++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  500 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  105 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  230 ++++
 src/atomic_ptr.hpp                               |  229 ++++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |   97 ++
 src/ctx.cpp                                      |  576 ++++++++
 src/ctx.hpp                                      |  226 ++++
 src/curve_client.cpp                             |  464 +++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  196 +++
 src/decoder_allocators.cpp                       |  142 ++
 src/decoder_allocators.hpp                       |  149 ++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 ++++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  192 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 ++++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 ++++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 ++++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  112 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  176 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 ++
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  225 ++++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  198 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  517 +++++++
 src/msg.hpp                                      |  229 ++++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  101 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 +++
 src/options.cpp                                  |  940 +++++++++++++
 src/options.hpp                                  |  213 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 +++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  306 +++++
 src/pgm_receiver.hpp                             |  152 +++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  547 ++++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 ++
 src/pull.hpp                                     |   75 ++
 src/push.cpp                                     |   75 ++
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   76 ++
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  137 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  479 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  633 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  568 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1571 ++++++++++++++++++++++
 src/socket_base.hpp                              |  288 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 ++
 src/stream.cpp                                   |  316 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1084 +++++++++++++++
 src/stream_engine.hpp                            |  235 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  254 ++++
 src/tcp.hpp                                      |   62 +
 src/tcp_address.cpp                              |  672 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  367 +++++
 src/tcp_connecter.hpp                            |  131 ++
 src/tcp_listener.cpp                             |  333 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 ++
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  159 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 ++
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  168 +++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   77 ++
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  263 ++++
 src/xpub.hpp                                     |  116 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1106 +++++++++++++++
 src/zmq_utils.cpp                                |  266 ++++
 tests/CMakeLists.txt                             |   91 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |   95 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  188 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_heartbeats.cpp                        |  315 +++++
 tests/test_hwm.cpp                               |  309 +++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  489 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  138 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  261 ++++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 +++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 +++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  113 ++
 tests/test_stream.cpp                            |  306 +++++
 tests/test_stream_disconnect.cpp                 |  273 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_timeout.cpp                    |  226 ++++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  155 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |   48 +
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  308 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 514 files changed, 77624 insertions(+)

commit d60040ddea8ae16e28af83ed385e5a1d8810b0b3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jul 6 01:12:58 2015 +0200

    Merge pull request #1468 from tkoeppe/master
    
    [decoder*] Style fixes for consistency

 .gitignore                                       |  151 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  852 ++++++++++++
 COPYING                                          |  674 ++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  698 ++++++++++
 NEWS                                             |  978 ++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  575 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  746 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 ++
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1078 +++++++++++++++
 doc/zmq_socket.txt                               |  454 +++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  500 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  105 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  230 ++++
 src/atomic_ptr.hpp                               |  229 ++++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |   97 ++
 src/ctx.cpp                                      |  576 ++++++++
 src/ctx.hpp                                      |  226 ++++
 src/curve_client.cpp                             |  464 +++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  196 +++
 src/decoder_allocators.cpp                       |  142 ++
 src/decoder_allocators.hpp                       |  149 ++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 ++++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  192 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 ++++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 ++++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 ++++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  112 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  176 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 ++
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  225 ++++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  198 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  517 +++++++
 src/msg.hpp                                      |  229 ++++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  101 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 +++
 src/options.cpp                                  |  940 +++++++++++++
 src/options.hpp                                  |  213 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 +++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  306 +++++
 src/pgm_receiver.hpp                             |  152 +++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  547 ++++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 ++
 src/pull.hpp                                     |   75 ++
 src/push.cpp                                     |   75 ++
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   76 ++
 src/raw_decoder.hpp                              |   74 +
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  137 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  479 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  633 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  568 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1571 ++++++++++++++++++++++
 src/socket_base.hpp                              |  288 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 ++
 src/stream.cpp                                   |  316 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1084 +++++++++++++++
 src/stream_engine.hpp                            |  235 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  254 ++++
 src/tcp.hpp                                      |   62 +
 src/tcp_address.cpp                              |  672 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  367 +++++
 src/tcp_connecter.hpp                            |  131 ++
 src/tcp_listener.cpp                             |  333 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 ++
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  159 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 ++
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  168 +++
 src/v2_decoder.hpp                               |   74 +
 src/v2_encoder.cpp                               |   77 ++
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  263 ++++
 src/xpub.hpp                                     |  116 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1106 +++++++++++++++
 src/zmq_utils.cpp                                |  266 ++++
 tests/CMakeLists.txt                             |   91 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |   95 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  188 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_heartbeats.cpp                        |  315 +++++
 tests/test_hwm.cpp                               |  309 +++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  489 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  138 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  261 ++++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 +++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 +++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  113 ++
 tests/test_stream.cpp                            |  306 +++++
 tests/test_stream_disconnect.cpp                 |  273 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_timeout.cpp                    |  226 ++++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  155 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_unbind_inproc.cpp                     |   43 +
 tests/test_unbind_wildcard.cpp                   |   48 +
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  308 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 514 files changed, 77624 insertions(+)

commit 6ab66ca51a1851c3c5dc7cf5f3a8fa6ab07d6d05
Merge: 2e5435e e9a5bc8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jun 26 20:31:46 2015 +0200

    Merge pull request #1451 from jbreams/heartbeat-defaults
    
    Fix units and default values for heartbeats options

commit e9a5bc8d1e6a78caf2117caea2bdc6ab8e8abee1
Author: Jonathan Reams <jbreams@mongodb.com>
Date:   Fri Jun 26 14:08:08 2015 -0400

    Fix units and default values for heartbeats options
    
    Set the ZMQ_HEARTBEAT_TIMEOUT to default to the value of
    ZMQ_HEARTBEAT_IVL if it's not explicitly set.
    Change the units of ZMQ_HEARTBEAT_TTL to milliseconds in the API
    and round down to the nearest decisecond so that all the options
    are using the same units.
    Make the maximum heartbeat TTL match the spec (6553 seconds)

 .gitignore                                       |  145 ++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  851 ++++++++++++
 COPYING                                          |  674 ++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  687 ++++++++++
 NEWS                                             |  978 ++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  575 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  746 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 ++
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1078 +++++++++++++++
 doc/zmq_socket.txt                               |  454 +++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  500 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  105 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  222 +++
 src/atomic_ptr.hpp                               |  221 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |   97 ++
 src/ctx.cpp                                      |  576 ++++++++
 src/ctx.hpp                                      |  226 ++++
 src/curve_client.cpp                             |  464 +++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  240 ++++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 ++++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  192 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 ++++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 ++++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 ++++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  112 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  176 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 ++
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  225 ++++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  198 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  517 +++++++
 src/msg.hpp                                      |  229 ++++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  101 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 +++
 src/options.cpp                                  |  940 +++++++++++++
 src/options.hpp                                  |  213 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 +++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  306 +++++
 src/pgm_receiver.hpp                             |  152 +++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  547 ++++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 ++
 src/pull.hpp                                     |   75 ++
 src/push.cpp                                     |   75 ++
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   73 +
 src/raw_decoder.hpp                              |   76 ++
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  137 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  479 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  633 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  568 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1571 ++++++++++++++++++++++
 src/socket_base.hpp                              |  288 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 ++
 src/stream.cpp                                   |  316 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1084 +++++++++++++++
 src/stream_engine.hpp                            |  235 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  254 ++++
 src/tcp.hpp                                      |   62 +
 src/tcp_address.cpp                              |  672 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  367 +++++
 src/tcp_connecter.hpp                            |  131 ++
 src/tcp_listener.cpp                             |  333 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 ++
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  159 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 ++
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  268 ++++
 src/v2_decoder.hpp                               |  135 ++
 src/v2_encoder.cpp                               |   77 ++
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  263 ++++
 src/xpub.hpp                                     |  116 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1106 +++++++++++++++
 src/zmq_utils.cpp                                |  266 ++++
 tests/CMakeLists.txt                             |   89 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |   95 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  188 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_heartbeats.cpp                        |  315 +++++
 tests/test_hwm.cpp                               |  309 +++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  489 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  138 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  261 ++++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 +++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 +++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  113 ++
 tests/test_stream.cpp                            |  306 +++++
 tests/test_stream_disconnect.cpp                 |  273 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_timeout.cpp                    |  226 ++++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  155 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  308 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 510 files changed, 77410 insertions(+)

commit 2e5435e38f91a33ed2f9b78c046a3e7b488a453f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Jun 24 21:13:32 2015 +0200

    Merge pull request #1449 from jbreams/heartbeats-docswindows
    
    Add documentation for ZMTP heartbeats/fix test

 .gitignore                                       |  145 ++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  139 ++
 CMakeLists.txt                                   |  851 ++++++++++++
 COPYING                                          |  674 ++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  687 ++++++++++
 NEWS                                             |  978 ++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   56 +
 acinclude.m4                                     |  962 +++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   26 +
 builds/cmake/Modules/TestZMQVersion.cmake        |    8 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 ++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 +++++++++++++
 builds/cmake/platform.hpp.in                     |   89 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   41 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 +
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   41 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 ++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 +
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 +++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 +
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 +++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 +
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 +++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 +
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  257 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  561 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   59 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 +++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   95 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  575 ++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 ++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 +
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   68 +
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  746 ++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 +
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 ++
 doc/zmq_msg_init.txt                             |   64 +
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 +
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 ++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           | 1076 +++++++++++++++
 doc/zmq_socket.txt                               |  454 +++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 +
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   90 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  500 +++++++
 include/zmq_utils.h                              |   30 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 ++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 ++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  241 ++++
 perf/inproc_thr.cpp                              |  251 ++++
 perf/local_lat.cpp                               |  117 ++
 perf/local_thr.cpp                               |  141 ++
 perf/remote_lat.cpp                              |  130 ++
 perf/remote_thr.cpp                              |  108 ++
 src/address.cpp                                  |  105 ++
 src/address.hpp                                  |   67 +
 src/array.hpp                                    |  163 +++
 src/atomic_counter.hpp                           |  222 +++
 src/atomic_ptr.hpp                               |  221 +++
 src/blob.hpp                                     |  139 ++
 src/client.cpp                                   |  112 ++
 src/client.hpp                                   |   81 ++
 src/clock.cpp                                    |  235 ++++
 src/clock.hpp                                    |   79 ++
 src/command.hpp                                  |  171 +++
 src/condition_variable.hpp                       |  203 +++
 src/config.hpp                                   |   97 ++
 src/ctx.cpp                                      |  576 ++++++++
 src/ctx.hpp                                      |  226 ++++
 src/curve_client.cpp                             |  464 +++++++
 src/curve_client.hpp                             |  129 ++
 src/curve_server.cpp                             |  734 ++++++++++
 src/curve_server.hpp                             |  138 ++
 src/dbuffer.hpp                                  |  144 ++
 src/dealer.cpp                                   |  141 ++
 src/dealer.hpp                                   |   89 ++
 src/decoder.hpp                                  |  240 ++++
 src/devpoll.cpp                                  |  204 +++
 src/devpoll.hpp                                  |  119 ++
 src/dist.cpp                                     |  232 ++++
 src/dist.hpp                                     |  120 ++
 src/encoder.hpp                                  |  185 +++
 src/epoll.cpp                                    |  192 +++
 src/epoll.hpp                                    |  115 ++
 src/err.cpp                                      |  386 ++++++
 src/err.hpp                                      |  168 +++
 src/fd.hpp                                       |   54 +
 src/fq.cpp                                       |  162 +++
 src/fq.hpp                                       |   92 ++
 src/gssapi_client.cpp                            |  230 ++++
 src/gssapi_client.hpp                            |   93 ++
 src/gssapi_mechanism_base.cpp                    |  351 +++++
 src/gssapi_mechanism_base.hpp                    |  132 ++
 src/gssapi_server.cpp                            |  377 ++++++
 src/gssapi_server.hpp                            |   96 ++
 src/i_decoder.hpp                                |   64 +
 src/i_encoder.hpp                                |   60 +
 src/i_engine.hpp                                 |   65 +
 src/i_mailbox.hpp                                |   60 +
 src/i_poll_events.hpp                            |   55 +
 src/io_object.cpp                                |  116 ++
 src/io_object.hpp                                |   89 ++
 src/io_thread.cpp                                |  112 ++
 src/io_thread.hpp                                |   99 ++
 src/ip.cpp                                       |  176 +++
 src/ip.hpp                                       |   57 +
 src/ipc_address.cpp                              |  105 ++
 src/ipc_address.hpp                              |   76 ++
 src/ipc_connecter.cpp                            |  275 ++++
 src/ipc_connecter.hpp                            |  137 ++
 src/ipc_listener.cpp                             |  315 +++++
 src/ipc_listener.hpp                             |  114 ++
 src/kqueue.cpp                                   |  225 ++++
 src/kqueue.hpp                                   |  127 ++
 src/lb.cpp                                       |  160 +++
 src/lb.hpp                                       |   88 ++
 src/libzmq.pc.cmake.in                           |   11 +
 src/libzmq.pc.in                                 |   11 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   42 +
 src/mailbox.cpp                                  |   96 ++
 src/mailbox.hpp                                  |   91 ++
 src/mailbox_safe.cpp                             |  111 ++
 src/mailbox_safe.hpp                             |   94 ++
 src/mechanism.cpp                                |  198 +++
 src/mechanism.hpp                                |  139 ++
 src/metadata.cpp                                 |   55 +
 src/metadata.hpp                                 |   70 +
 src/msg.cpp                                      |  517 +++++++
 src/msg.hpp                                      |  229 ++++
 src/mtrie.cpp                                    |  440 ++++++
 src/mtrie.hpp                                    |  101 ++
 src/mutex.hpp                                    |  187 +++
 src/norm_engine.cpp                              |  728 ++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  358 +++++
 src/null_mechanism.hpp                           |   84 ++
 src/object.cpp                                   |  437 ++++++
 src/object.hpp                                   |  152 +++
 src/options.cpp                                  |  937 +++++++++++++
 src/options.hpp                                  |  213 +++
 src/own.cpp                                      |  215 +++
 src/own.hpp                                      |  154 +++
 src/pair.cpp                                     |  141 ++
 src/pair.hpp                                     |   78 ++
 src/pgm_receiver.cpp                             |  306 +++++
 src/pgm_receiver.hpp                             |  152 +++
 src/pgm_sender.cpp                               |  254 ++++
 src/pgm_sender.hpp                               |  129 ++
 src/pgm_socket.cpp                               |  716 ++++++++++
 src/pgm_socket.hpp                               |  131 ++
 src/pipe.cpp                                     |  547 ++++++++
 src/pipe.hpp                                     |  249 ++++
 src/plain_client.cpp                             |  222 +++
 src/plain_client.hpp                             |   79 ++
 src/plain_server.cpp                             |  440 ++++++
 src/plain_server.hpp                             |   93 ++
 src/poll.cpp                                     |  190 +++
 src/poll.hpp                                     |  119 ++
 src/poller.hpp                                   |   61 +
 src/poller_base.cpp                              |  109 ++
 src/poller_base.hpp                              |   95 ++
 src/precompiled.cpp                              |   30 +
 src/precompiled.hpp                              |   56 +
 src/proxy.cpp                                    |  203 +++
 src/proxy.hpp                                    |   42 +
 src/pub.cpp                                      |   66 +
 src/pub.hpp                                      |   63 +
 src/pull.cpp                                     |   77 ++
 src/pull.hpp                                     |   75 ++
 src/push.cpp                                     |   75 ++
 src/push.hpp                                     |   73 +
 src/random.cpp                                   |   61 +
 src/random.hpp                                   |   46 +
 src/raw_decoder.cpp                              |   73 +
 src/raw_decoder.hpp                              |   76 ++
 src/raw_encoder.cpp                              |   50 +
 src/raw_encoder.hpp                              |   70 +
 src/reaper.cpp                                   |  137 ++
 src/reaper.hpp                                   |   94 ++
 src/rep.cpp                                      |  133 ++
 src/rep.hpp                                      |   73 +
 src/req.cpp                                      |  289 ++++
 src/req.hpp                                      |  120 ++
 src/router.cpp                                   |  479 +++++++
 src/router.hpp                                   |  140 ++
 src/select.cpp                                   |  234 ++++
 src/select.hpp                                   |  140 ++
 src/server.cpp                                   |  173 +++
 src/server.hpp                                   |   96 ++
 src/session_base.cpp                             |  633 +++++++++
 src/session_base.hpp                             |  172 +++
 src/signaler.cpp                                 |  568 ++++++++
 src/signaler.hpp                                 |   90 ++
 src/socket_base.cpp                              | 1571 ++++++++++++++++++++++
 src/socket_base.hpp                              |  288 ++++
 src/socks.cpp                                    |  286 ++++
 src/socks.hpp                                    |  135 ++
 src/socks_connecter.cpp                          |  478 +++++++
 src/socks_connecter.hpp                          |  164 +++
 src/stdint.hpp                                   |   76 ++
 src/stream.cpp                                   |  316 +++++
 src/stream.hpp                                   |  107 ++
 src/stream_engine.cpp                            | 1078 +++++++++++++++
 src/stream_engine.hpp                            |  234 ++++
 src/sub.cpp                                      |   90 ++
 src/sub.hpp                                      |   64 +
 src/tcp.cpp                                      |  254 ++++
 src/tcp.hpp                                      |   62 +
 src/tcp_address.cpp                              |  672 +++++++++
 src/tcp_address.hpp                              |  116 ++
 src/tcp_connecter.cpp                            |  367 +++++
 src/tcp_connecter.hpp                            |  131 ++
 src/tcp_listener.cpp                             |  333 +++++
 src/tcp_listener.hpp                             |   99 ++
 src/thread.cpp                                   |  144 ++
 src/thread.hpp                                   |   91 ++
 src/tipc_address.cpp                             |  117 ++
 src/tipc_address.hpp                             |   75 ++
 src/tipc_connecter.cpp                           |  266 ++++
 src/tipc_connecter.hpp                           |  137 ++
 src/tipc_listener.cpp                            |  188 +++
 src/tipc_listener.hpp                            |  107 ++
 src/trie.cpp                                     |  344 +++++
 src/trie.hpp                                     |   86 ++
 src/v1_decoder.cpp                               |  159 +++
 src/v1_decoder.hpp                               |   69 +
 src/v1_encoder.cpp                               |   75 ++
 src/v1_encoder.hpp                               |   59 +
 src/v2_decoder.cpp                               |  268 ++++
 src/v2_decoder.hpp                               |  135 ++
 src/v2_encoder.cpp                               |   77 ++
 src/v2_encoder.hpp                               |   59 +
 src/v2_protocol.hpp                              |   49 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   83 ++
 src/wire.hpp                                     |  108 ++
 src/xpub.cpp                                     |  263 ++++
 src/xpub.hpp                                     |  116 ++
 src/xsub.cpp                                     |  245 ++++
 src/xsub.hpp                                     |  103 ++
 src/ypipe.hpp                                    |  219 +++
 src/ypipe_base.hpp                               |   54 +
 src/ypipe_conflate.hpp                           |  137 ++
 src/yqueue.hpp                                   |  219 +++
 src/zmq.cpp                                      | 1106 +++++++++++++++
 src/zmq_utils.cpp                                |  266 ++++
 tests/CMakeLists.txt                             |   89 ++
 tests/test_abstract_ipc.cpp                      |   67 +
 tests/test_atomics.cpp                           |   48 +
 tests/test_bind_src_address.cpp                  |   57 +
 tests/test_capabilities.cpp                      |   71 +
 tests/test_client_drop_more.cpp                  |  116 ++
 tests/test_client_server.cpp                     |   95 ++
 tests/test_conflate.cpp                          |   82 ++
 tests/test_connect_delay_tipc.cpp                |  248 ++++
 tests/test_connect_resolve.cpp                   |   70 +
 tests/test_connect_rid.cpp                       |  188 +++
 tests/test_ctx_destroy.cpp                       |  100 ++
 tests/test_ctx_options.cpp                       |   80 ++
 tests/test_diffserv.cpp                          |   80 ++
 tests/test_disconnect_inproc.cpp                 |  136 ++
 tests/test_filter_ipc.cpp                        |  171 +++
 tests/test_fork.cpp                              |   91 ++
 tests/test_heartbeats.cpp                        |  329 +++++
 tests/test_hwm.cpp                               |  309 +++++
 tests/test_hwm_pubsub.cpp                        |  171 +++
 tests/test_immediate.cpp                         |  238 ++++
 tests/test_inproc_connect.cpp                    |  489 +++++++
 tests/test_invalid_rep.cpp                       |   98 ++
 tests/test_iov.cpp                               |  116 ++
 tests/test_ipc_wildcard.cpp                      |   65 +
 tests/test_issue_566.cpp                         |   95 ++
 tests/test_last_endpoint.cpp                     |   66 +
 tests/test_many_sockets.cpp                      |  100 ++
 tests/test_metadata.cpp                          |  130 ++
 tests/test_monitor.cpp                           |  138 ++
 tests/test_msg_ffn.cpp                           |  138 ++
 tests/test_msg_flags.cpp                         |  127 ++
 tests/test_pair_inproc.cpp                       |   81 ++
 tests/test_pair_ipc.cpp                          |   60 +
 tests/test_pair_tcp.cpp                          |   60 +
 tests/test_pair_tipc.cpp                         |   64 +
 tests/test_probe_router.cpp                      |   82 ++
 tests/test_proxy.cpp                             |  261 ++++
 tests/test_proxy_single_socket.cpp               |  113 ++
 tests/test_proxy_terminate.cpp                   |  123 ++
 tests/test_pub_invert_matching.cpp               |  136 ++
 tests/test_req_correlate.cpp                     |  187 +++
 tests/test_req_relaxed.cpp                       |  126 ++
 tests/test_reqrep_device.cpp                     |  145 ++
 tests/test_reqrep_device_tipc.cpp                |  153 +++
 tests/test_reqrep_inproc.cpp                     |   60 +
 tests/test_reqrep_ipc.cpp                        |   60 +
 tests/test_reqrep_tcp.cpp                        |   60 +
 tests/test_reqrep_tipc.cpp                       |   64 +
 tests/test_router_handover.cpp                   |  111 ++
 tests/test_router_mandatory.cpp                  |   91 ++
 tests/test_router_mandatory_hwm.cpp              |  126 ++
 tests/test_router_mandatory_tipc.cpp             |   72 +
 tests/test_security_curve.cpp                    |  295 ++++
 tests/test_security_null.cpp                     |  191 +++
 tests/test_security_plain.cpp                    |  199 +++
 tests/test_server_drop_more.cpp                  |  116 ++
 tests/test_shutdown_stress.cpp                   |   90 ++
 tests/test_shutdown_stress_tipc.cpp              |  103 ++
 tests/test_sockopt_hwm.cpp                       |  145 ++
 tests/test_spec_dealer.cpp                       |  264 ++++
 tests/test_spec_pushpull.cpp                     |  303 +++++
 tests/test_spec_rep.cpp                          |  165 +++
 tests/test_spec_req.cpp                          |  263 ++++
 tests/test_spec_router.cpp                       |  214 +++
 tests/test_srcfd.cpp                             |  113 ++
 tests/test_stream.cpp                            |  306 +++++
 tests/test_stream_disconnect.cpp                 |  273 ++++
 tests/test_stream_empty.cpp                      |   70 +
 tests/test_stream_timeout.cpp                    |  226 ++++
 tests/test_sub_forward.cpp                       |  101 ++
 tests/test_sub_forward_tipc.cpp                  |  111 ++
 tests/test_system.cpp                            |  100 ++
 tests/test_term_endpoint.cpp                     |  167 +++
 tests/test_term_endpoint_tipc.cpp                |  130 ++
 tests/test_thread_safe.cpp                       |  155 +++
 tests/test_timeo.cpp                             |   85 ++
 tests/test_xpub_manual.cpp                       |   92 ++
 tests/test_xpub_nodrop.cpp                       |  118 ++
 tests/test_xpub_welcome_msg.cpp                  |   81 ++
 tests/testutil.hpp                               |  308 +++++
 tools/curve_keygen.cpp                           |   58 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 ++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 510 files changed, 77412 insertions(+)

commit 41d85f52d2107f269fa5c40d18ce8178bb8151ef
Merge: 89bf2af 6b4d9bc
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Tue Mar 17 21:26:34 2015 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit 89bf2af12879b40b37f04b5be383fec4dd4e78d3
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Tue Mar 17 21:26:24 2015 +0100

    Add libsodium directory path hints for cmake

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6b4d9bca0c31fc8131749396fd996d17761c999f
Merge: 2d435eb edc0640
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Mar 15 14:14:20 2015 +0100

    Merge pull request #1370 from calid/unbind-enoent
    
    doc: add ENOENT to list of zmq_unbind error codes

commit edc0640206f72933425814e11db8ac20f0824aee
Author: Dylan Cali <calid1984@gmail.com>
Date:   Sun Mar 15 08:02:51 2015 -0500

    doc: add ENOENT to list of zmq_unbind error codes
    
    Resolves zeromq/libzmq#1353

 doc/zmq_unbind.txt | 2 ++
 1 file changed, 2 insertions(+)

commit 2d435eb692657d18faab7219a2c7f2bcf8ca6da3
Merge: 4820d49 023505a
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sun Mar 15 12:53:26 2015 +0100

    Merge pull request #1369 from calid/ctx-term-vs-destroy
    
    update zmq_ctx_term description for consistency

commit 023505acede414c879f63415775bfee98678342e
Author: Dylan Cali <calid1984@gmail.com>
Date:   Sun Mar 15 06:29:21 2015 -0500

    update zmq_ctx_term description for consistency
    
    zmq_term and zmq_ctx_destroy are just aliases for zmq_ctx_term. that
    being the case use 'terminate' in the description for all three so there
    isn't any confusion about behavior.
    
    also update the deprecates list in zmq_ctx_term to include
    zmq_ctx_destroy.

 doc/zmq_ctx_term.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 4820d493b039eeca8ac017590dcc4c5d635158c5
Merge: eb34533 4c92fef
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Mar 15 09:51:40 2015 +0100

    Merge pull request #1368 from calid/docfix-zmq-msg-init
    
    doc: zmq_msg_init does not set errno

commit 4c92fefe1bef9c19d35a9de54d27ef709b93b19c
Author: Dylan Cali <calid1984@gmail.com>
Date:   Sun Mar 15 02:12:02 2015 -0500

    doc: zmq_msg_init does not set errno
    
    In fact it always returns zero.

 doc/zmq_msg_init.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit eb3453372868a583bfff7e83e4dd197806e97ca3
Merge: 6b06bc3 1e27b36
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Mar 14 13:18:06 2015 +0100

    Merge pull request #1367 from evoskuil/master
    
    Problem: wrong default VC rt lib for release dynamic exe.

commit 1e27b364a45b1e9e9356db3404eeddd91f9ed87f
Author: evoskuil <eric@voskuil.org>
Date:   Sat Mar 14 05:10:40 2015 -0700

    Fix default VC rt lib for release dynamic exe.

 builds/msvc/properties/ReleaseDEXE.props | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6b06bc310f8f5c15c5d888c243474ce8b51ee2d1
Merge: ec4200a 032c5ed
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Mar 11 10:46:06 2015 +0100

    Merge pull request #1366 from xantares/patch-1
    
    fix CMP0053 warning with cmake 3.1

commit 032c5eda3d8e8bfd6eddf3da8d7297d4707961ea
Author: xantares <xantares09@hotmail.com>
Date:   Wed Mar 11 10:35:59 2015 +0100

    fix CMP0053 warning with cmake 3.1

 builds/cmake/Modules/FindAsciiDoc.cmake | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit ec4200a9d3701826dc8748988fefd1de70c227fb
Merge: 1a5ced9 0f24f67
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Mar 11 10:25:45 2015 +0100

    Merge pull request #1365 from xantares/master
    
    fix cmake build system

commit 0f24f675f54eaffd8235f4c3fc7a1566ca682d86
Author: xantares <xantares09@hotmail.com>
Date:   Wed Mar 11 09:15:40 2015 +0000

    set soversion without ZMQ_BUILD_FRAMEWORK

 CMakeLists.txt | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit 80044c9ed650e9f05396eea720f3550eb87329db
Author: xantares <xantares09@hotmail.com>
Date:   Wed Mar 11 09:10:23 2015 +0000

    mutualize win32 flags

 CMakeLists.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 7dfa7b7a5d2bbc5c1a935b5289321ad9bfe500cc
Author: xantares <xantares09@hotmail.com>
Date:   Wed Mar 11 09:03:21 2015 +0000

    do not mix DLL_EXPORT & ZMQ_STATIC definitions

 CMakeLists.txt | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

commit 1d2b34dbe43f0a2ae7875ca1f8954ec4463fb470
Author: xantares <xantares09@hotmail.com>
Date:   Wed Mar 11 08:51:59 2015 +0000

    install *.txt in share/zmq

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 866e752b04a6460e4849ed6be83605942b1bda6a
Author: xantares <xantares09@hotmail.com>
Date:   Wed Mar 11 08:50:39 2015 +0000

    do not install sources

 CMakeLists.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 1a5ced9f474edbb33c39a65fdb62c0a1e87e32ca
Merge: f053854 d47980a
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Feb 20 05:59:31 2015 +0100

    Merge pull request #1361 from rodgert/master
    
    Allow zmq_msg_gets checks to assert rather than segfault

commit d47980a6ed9e0903bb87f10560fd6472b57b0b8a
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Thu Feb 19 20:28:10 2015 -0600

    Allow zmq_msg_gets checks to assert rather than segfault

 tests/test_stream.cpp | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit f053854e515fcb59649e7886fd9be2f4b4953237
Merge: b7e5275 5ed6ac6
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 19 22:09:58 2015 +0100

    Merge pull request #1360 from hurtonm/master
    
    Adjust number of sent messages on hiccups

commit 5ed6ac60e258a6e67a2fdc3a75ddfdcc4db16596
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Feb 19 21:38:10 2015 +0100

    Adjust number of sent messages on hiccups
    
    Not adjusting the sent message count may lead to situation when SUB
    socket does not forward its subscriptions.

 src/pipe.cpp | 2 ++
 1 file changed, 2 insertions(+)

commit b7e52755e4a9abb4d9d99b9f0a65b4fa42c4227c
Merge: 1e6e5b1 700f7bf
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Feb 19 20:33:32 2015 +0100

    Merge pull request #1359 from rodgert/master
    
    resolve #1347 addresses issue of no metadata on identity frame

commit 700f7bfede5f7a1614d2e91ffbe03dc5478f8904
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Thu Feb 19 13:22:32 2015 -0600

    resolve #1347 addresses issue of no metadata on identity frame

 src/stream.cpp        | 6 ++++++
 tests/test_stream.cpp | 3 +++
 2 files changed, 9 insertions(+)

commit 1e6e5b1c0ad7f3896dc9c929e397f62eed3225e7
Merge: 8a52687 4b948b1
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 19 09:25:53 2015 +0100

    Merge pull request #1357 from rodgert/master
    
    Support limited metadata for STREAM sockets

commit 4b948b1f3b2fb62d961419d337f65f38749e1a5a
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Feb 18 21:24:57 2015 -0600

    Code cleanup

 src/stream_engine.cpp | 19 +++++++++----------
 src/stream_engine.hpp |  4 +++-
 2 files changed, 12 insertions(+), 11 deletions(-)

commit cf0804bb7cb78864543e68397d7d2f9790d26903
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Feb 18 21:10:50 2015 -0600

    Remove unused include

 src/stream_engine.cpp | 1 -
 1 file changed, 1 deletion(-)

commit 8daa74dc777d082bb6f66dbad8ceffd9605ad1ec
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Feb 18 13:05:05 2015 -0600

    Fix comment from prior commit

 tests/test_stream.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fefe0d42fa12cea005134e402d97dbe7c66a3d63
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Feb 18 12:30:05 2015 -0600

    Update gitignore to include recently added tests for server sockets

 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

commit 638ddeb4044564e70778c96396c54eb4a7db80cd
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Feb 18 12:28:58 2015 -0600

    resolve #1347 Support limited metadata for STREAM sockets

 src/stream.cpp        | 10 ++++++++--
 src/stream_engine.cpp | 19 +++++++++++++++++--
 src/stream_engine.hpp |  4 +++-
 tests/test_stream.cpp | 22 ++++++++++++++--------
 4 files changed, 42 insertions(+), 13 deletions(-)

commit 8a526874ab3f819374318691065b648af67a26e3
Merge: fe2ce47 39338e2
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Feb 18 09:07:58 2015 -0900

    Merge pull request #1356 from rodgert/master
    
    Fix autogen.sh warning about trailing whitespace

commit 39338e2fe41f84c42d993de8157115f596164f5e
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Feb 18 12:02:24 2015 -0600

    Fix autogen.sh warning about trailing whitespace

 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2ae7ae698a78f6c8a18ba68f199ea77f6733c8d5
Merge: eacbd0c fe2ce47
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Sun Feb 15 16:58:44 2015 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit fe2ce47a44c9142fc160a7ac8e449fc5753038cf
Merge: 759c3e3 bc53d71
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Feb 14 08:18:46 2015 +0100

    Merge pull request #1355 from evoskuil/master
    
    Fix error return for clock_gettime.

commit bc53d710ffe8ac4a99ef799d0f51dd88e7bed3bc
Author: evoskuil <eric@voskuil.org>
Date:   Fri Feb 13 23:10:39 2015 -0800

    Fix error return for clock_gettime.

 src/clock.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 759c3e314c307d9ec4432674e0133329a3be8fe6
Merge: 55886b8 a8f11b3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Feb 14 07:59:24 2015 +0100

    Merge pull request #1354 from evoskuil/master
    
    Problem: build break in OSX, VS2010, VS2012

commit a8f11b3c3d719c1c248f64933862c913111dded8
Author: evoskuil <eric@voskuil.org>
Date:   Fri Feb 13 22:50:28 2015 -0800

    Add clock_gettime implementation for OSX.

 src/clock.cpp              | 22 ++++++++++++++++++++++
 src/clock.hpp              | 10 ++++++++++
 src/condition_variable.hpp |  1 +
 src/mailbox_safe.cpp       |  1 +
 4 files changed, 34 insertions(+)

commit 6630f19686129b98fd7d8ea6c30d3696c509d995
Author: evoskuil <eric@voskuil.org>
Date:   Fri Feb 13 15:08:17 2015 -0800

    Apply VS2013 changes to VS2010 and VS2012.

 builds/msvc/vs2010/libzmq/libzmq.vcxproj         | 3 +++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters | 9 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         | 3 +++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters | 9 +++++++++
 4 files changed, 24 insertions(+)

commit 55886b8b4623024b30b37dacab6ec9c6e3640e02
Merge: cac4d7a deaa896
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 13 09:10:18 2015 +0100

    Merge pull request #1352 from somdoron/master
    
    thread safety bug - lock when sending

commit deaa89656f2d46f07c2df2f6eadbd9f258edf380
Author: somdoron <somdoron@gmail.com>
Date:   Fri Feb 13 09:30:29 2015 +0200

    thread safety bug - lock when sending

 src/mailbox_safe.cpp | 27 ++++++++-------------------
 src/mailbox_safe.hpp | 11 +++--------
 src/mutex.hpp        | 12 +++++++++++-
 3 files changed, 22 insertions(+), 28 deletions(-)

commit cac4d7aa10eb9ef03dd1cb50a6ba25c07ba461d7
Merge: 5d42fe1 a4de3df
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 12 20:35:29 2015 +0100

    Merge pull request #1350 from zeromq/revert-1345-bzimmerman_CMAKE
    
    Revert "Bzimmerman cmake"

commit a4de3df73e3ced85aa83b503676c2096697b1100
Author: Doron Somech <somdoron@gmail.com>
Date:   Thu Feb 12 21:29:09 2015 +0200

    Revert "Bzimmerman cmake"

 CMakeLists.txt                          | 291 ++++++++++++++++++++++----------
 builds/cmake/Modules/FindAsciiDoc.cmake |  17 +-
 tests/CMakeLists.txt                    |  12 +-
 3 files changed, 214 insertions(+), 106 deletions(-)

commit 5d42fe1bf7eef67b71043d20b5a7025e9181d112
Merge: 88c6e69 5a897f7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Feb 12 20:06:08 2015 +0100

    Merge pull request #1349 from somdoron/master
    
    problem: client and server sockets are not thread safe

commit 5a897f750913397c328167dd92172d7f52267162
Author: somdoron <somdoron@gmail.com>
Date:   Thu Feb 12 20:38:49 2015 +0200

    allocate reaper_signal only when needed

 src/socket_base.cpp | 21 ++++++++++++++++-----
 src/socket_base.hpp |  2 +-
 2 files changed, 17 insertions(+), 6 deletions(-)

commit bbdd8662bafa99584b78fe44e1a55b24b37cf740
Author: somdoron <somdoron@gmail.com>
Date:   Thu Feb 12 16:56:14 2015 +0200

    thread safety - supporting windows

 CMakeLists.txt                                   |  1 +
 builds/cmake/platform.hpp.in                     | 11 ++++++++++-
 builds/mingw32/platform.hpp                      |  9 +++++++++
 builds/msvc/platform.hpp                         |  8 ++++++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  3 +++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  9 +++++++++
 tests/CMakeLists.txt                             |  2 ++
 7 files changed, 42 insertions(+), 1 deletion(-)

commit 6749c9b3eba1ad2d35942b37390c2947b55c4ac0
Author: somdoron <somdoron@gmail.com>
Date:   Wed Feb 11 00:01:50 2015 +0200

    thread safety

 Makefile.am                |  12 ++-
 src/client.cpp             |   2 +-
 src/condition_variable.hpp | 149 +++++++++++++++++++++++++++++
 src/ctx.cpp                |   2 +-
 src/ctx.hpp                |   2 +-
 src/i_mailbox.hpp          |  50 ++++++++++
 src/mailbox.hpp            |   3 +-
 src/mailbox_safe.cpp       | 111 ++++++++++++++++++++++
 src/mailbox_safe.hpp       |  92 ++++++++++++++++++
 src/mutex.hpp              |  10 ++
 src/server.cpp             |   2 +-
 src/socket_base.cpp        | 228 ++++++++++++++++++++++++++++++++++++++-------
 src/socket_base.hpp        |  20 ++--
 tests/test_thread_safe.cpp | 145 ++++++++++++++++++++++++++++
 14 files changed, 782 insertions(+), 46 deletions(-)

commit 88c6e696abbf62a23d4c6cb2fdf2045f1e5ab3e1
Merge: 405a749 6bf1609
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Feb 11 23:02:08 2015 +0100

    Merge pull request #1348 from evoskuil/master
    
    Problem: VS projects missing client/server.

commit 6bf1609a10a65b5dba7c3ce4d6cd32c41b39f90a
Author: evoskuil <eric@voskuil.org>
Date:   Wed Feb 11 13:23:58 2015 -0800

    Update VS DLL and NuGet versioning to 4.2.0.

 builds/msvc/resource.rc         | Bin 4642 -> 4642 bytes
 packaging/nuget/package.config  |   2 +-
 packaging/nuget/package.nuspec  |  50 ++++++++++++++++++++--------------------
 packaging/nuget/package.targets |  40 ++++++++++++++++----------------
 4 files changed, 46 insertions(+), 46 deletions(-)

commit 91eead1d20f8ee24beccb66ab2fa9867d542a6ce
Author: evoskuil <eric@voskuil.org>
Date:   Wed Feb 11 13:17:13 2015 -0800

    Add client.cpp/hpp and server.cpp/hpp to VS projects.

 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  6 +++++-
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters | 12 ++++++++++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  6 +++++-
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters | 12 ++++++++++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  6 +++++-
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters | 12 ++++++++++++
 6 files changed, 51 insertions(+), 3 deletions(-)

commit 2fd2fca531d042e86c642f47cbddfe80a7dc4116
Author: evoskuil <eric@voskuil.org>
Date:   Wed Feb 11 13:10:55 2015 -0800

    Make implicit cast explicit.

 src/zmq.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 6724f414272b8022b6e227007b1771dbe3f3879f
Author: evoskuil <eric@voskuil.org>
Date:   Wed Feb 11 13:09:25 2015 -0800

    Fix forcing to bool.

 src/stream.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 405a74952562be00e4b6e37e80df55ff756fabf9
Merge: c9418db c743bd9
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 9 22:38:28 2015 +0100

    Merge pull request #1345 from QbaseLLC/bzimmerman_CMAKE
    
    Bzimmerman cmake

commit c743bd95b46a15890c5ab28f7fa1d78f9f753b7f
Author: Bryan Zimmerman <bzimmerman@4qbase.com>
Date:   Mon Feb 9 13:32:29 2015 -0500

    changed test tools to compile statically

 CMakeLists.txt | 33 ++++++++-------------------------
 1 file changed, 8 insertions(+), 25 deletions(-)

commit caf4276710767b07f91db0cfecb88a252d2e6b31
Author: Bryan Zimmerman <bzimmerman@4qbase.com>
Date:   Mon Feb 9 10:47:05 2015 -0500

    removed packaged export
    added version to builds
    other cleanup

 CMakeLists.txt       | 186 ++++++++-------------------------------------------
 tests/CMakeLists.txt |  12 ++--
 2 files changed, 35 insertions(+), 163 deletions(-)

commit fef20b1c8361340c025975b735b34357e9132350
Merge: 2bb72ad 49f58c0
Author: Bryan Zimmerman <bzimmerman@4qbase.com>
Date:   Mon Feb 9 08:46:00 2015 -0500

    Merge remote-tracking branch 'remotes/origin/HEAD' into bzimmerman_CMAKE

commit eacbd0c5df3d2a4070da4e44342039bcb3676233
Merge: 4b4adbb c9418db
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Sun Feb 8 16:56:32 2015 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit c9418db6844155fa907cb41deab7a50c47843fd9
Merge: e05c805 54b5621
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Feb 7 16:17:50 2015 +0100

    Merge pull request #1344 from febeling/cond-build-tools
    
    Problem: Cross compile for iOS isn't working for auxiliary tools

commit 54b56210ad5e2a8a8be5ba3accb2aeeac89aec0c
Author: Florian Ebeling <florian.ebeling@gmail.com>
Date:   Sat Feb 7 15:30:32 2015 +0100

    Problem: curve keygen build cannot be switched off

 Makefile.am  | 2 ++
 configure.ac | 8 ++++++++
 2 files changed, 10 insertions(+)

commit 2d59594a3a9b7b7f475851b41d2223a622790957
Author: Florian Ebeling <florian.ebeling@gmail.com>
Date:   Sat Feb 7 15:28:24 2015 +0100

    Problem: perf tools build cannot be switched off

 Makefile.am  | 2 ++
 configure.ac | 8 ++++++++
 2 files changed, 10 insertions(+)

commit 49f58c0021216ffc12845911d5714d30074bf0c9
Merge: 7020086 e05c805
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Fri Feb 6 11:27:46 2015 -0500

    Merge remote-tracking branch 'remotes/upstream/master'

commit 702008666ca9de4547e59375389b498c3568884f
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Fri Feb 6 11:27:11 2015 -0500

    Adding Bryan's changes.

 CMakeLists.txt                          | 60 +++++++++++++++++++++++++++------
 builds/cmake/Modules/FindAsciiDoc.cmake | 17 +++++-----
 2 files changed, 57 insertions(+), 20 deletions(-)

commit 2bb72add4957d667474d45f5ac4a43457ea51bb3
Author: Bryan Zimmerman <bzimmerman@4qbase.com>
Date:   Fri Feb 6 11:03:14 2015 -0500

    update to use new find_program syntax

 CMakeLists.txt                          |  7 +++----
 builds/cmake/Modules/FindAsciiDoc.cmake | 17 ++++++++---------
 2 files changed, 11 insertions(+), 13 deletions(-)

commit 552c13616e057ba45b313671fb0e097a291ca967
Author: Bryan Zimmerman <bzimmerman@4qbase.com>
Date:   Fri Feb 6 10:42:23 2015 -0500

    replace check_library and check_include with find_file and find_library

 CMakeLists.txt | 59 ++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 49 insertions(+), 10 deletions(-)

commit e05c8056885db3c6e1dab5ad7f8823f3f9a04b9f
Merge: 8e89d11 9daf6dd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Feb 6 15:22:12 2015 +0100

    Merge pull request #1342 from chickenkiller/master
    
    acinclude.m4: make kernel-specific flags cacheable

commit 9daf6dd7c4947ce74ca729de5c3cfe8cbc304702
Author: Lionel Orry <lionel.orry@gmail.com>
Date:   Fri Feb 6 15:11:07 2015 +0100

    acinclude.m4: make kernel-specific flags cacheable
    
    Specifically when cross-compiling, one can be willing to force these
    variable values using the environment of a config.cache file. This
    commit makes this possible.
    
    The affected variables are:
    
    * libzmq_cv_sock_cloexec
    * libzmq_cv_so_keepalive
    * libzmq_cv_tcp_keepcnt
    * libzmq_cv_tcp_keepidle
    * libzmq_cv_tcp_keepintvl
    * libzmq_cv_tcp_keepalive
    
    Signed-off-by: Lionel Orry <lionel.orry@gmail.com>

 acinclude.m4 | 84 ++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 48 insertions(+), 36 deletions(-)

commit ade54d72e7090f319a51a04aeb5f5e80a3ba8e6c
Merge: 05df707 8e89d11
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Thu Feb 5 10:52:05 2015 -0500

    Merge remote-tracking branch 'remotes/upstream/master'

commit 8e89d1162808e4432e4d65223599e1f9eee24dbd
Merge: 34cd718 1a0d134
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Feb 4 15:42:03 2015 -0900

    Merge pull request #1339 from evoskuil/master
    
    Add missing EOL at EOF.

commit 1a0d134666f16440d71035e36c5866aab87d89ea
Author: evoskuil <eric@voskuil.org>
Date:   Wed Feb 4 16:27:57 2015 -0800

    Add missing EOL at EOF.

 src/client.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 05df7072d6dd5dbb6263f64e48f2109728876ef4
Merge: d5e7922 34cd718
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Mon Feb 2 10:27:25 2015 -0500

    Merge remote-tracking branch 'remotes/upstream/master'

commit 34cd718e0f64c5ccad9545de7c19e2296876242f
Merge: edb3a13 ee96211
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Feb 2 14:52:45 2015 +0000

    Merge pull request #1337 from somdoron/JenkinsFix
    
    problem: jenkins build failed

commit ee962117efb347d023ae10e7865d0d4c0be8d503
Author: somdoron <somdoron@gmail.com>
Date:   Mon Feb 2 16:42:50 2015 +0200

    fix jenkins build

 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

commit edb3a13fd4a4d19d62e8537f4fb68cf05ea04f2b
Merge: a6362a4 79f162a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 2 15:23:18 2015 +0100

    Merge pull request #1336 from somdoron/ClientSocket
    
    problem: client socket is missing

commit 79f162aa7b6e8d917791e5ec51247613d848b0f1
Author: somdoron <somdoron@gmail.com>
Date:   Mon Feb 2 16:12:21 2015 +0200

    test the client socket can drop multi frame messages that being sent to it

 Makefile.am                     |   6 ++-
 tests/test_client_drop_more.cpp | 106 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+), 1 deletion(-)

commit 14a19cd5d4103d916ef2d10ed47804f491b137d7
Author: somdoron <somdoron@gmail.com>
Date:   Mon Feb 2 15:57:30 2015 +0200

    test the server socket can drop multi frame messages that being sent to it

 Makefile.am                     |   6 ++-
 tests/test_server_drop_more.cpp | 106 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+), 1 deletion(-)

commit 862cd41c6521b988153eb7caafd07a5cd3ae8ba7
Author: somdoron <somdoron@gmail.com>
Date:   Mon Feb 2 11:59:13 2015 +0200

    implement client socket type and drop messages when more flag is set on client and server

 Makefile.am                  |   8 ++--
 include/zmq.h                |   1 +
 src/client.cpp               | 102 +++++++++++++++++++++++++++++++++++++++++++
 src/client.hpp               |  71 ++++++++++++++++++++++++++++++
 src/mechanism.cpp            |  10 +++--
 src/server.cpp               |  40 ++++++++---------
 src/server.hpp               |   3 +-
 src/session_base.cpp         |   1 +
 src/socket_base.cpp          |   4 ++
 tests/test_client_server.cpp |  85 ++++++++++++++++++++++++++++++++++++
 tests/test_server.cpp        |  87 ------------------------------------
 11 files changed, 293 insertions(+), 119 deletions(-)

commit a6362a454fbd5d44eeb154b40ef516a65e0e8d13
Merge: 9826a7b 5632b57
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Feb 2 10:23:58 2015 +0100

    Merge pull request #1334 from somdoron/ServerSocket
    
    Problem: sockets are not thread safe

commit 5632b57b4a586dd60b68b7f0c40b0fdb76713f54
Author: somdoron <somdoron@gmail.com>
Date:   Mon Feb 2 01:17:37 2015 +0200

    adds server socket type and routing id to msg

 Makefile.am           |   8 ++-
 include/zmq.h         |   3 +
 src/mechanism.cpp     |   8 ++-
 src/msg.cpp           |  17 +++++
 src/msg.hpp           |  17 +++--
 src/pipe.cpp          |  10 +++
 src/pipe.hpp          |   7 +++
 src/server.cpp        | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/server.hpp        |  87 ++++++++++++++++++++++++++
 src/session_base.cpp  |   4 +-
 src/socket_base.cpp   |   4 ++
 src/zmq.cpp           |   9 +++
 tests/test_server.cpp |  87 ++++++++++++++++++++++++++
 13 files changed, 420 insertions(+), 10 deletions(-)

commit d5e7922d418d861767dad7b562751991f6ece894
Merge: e351cbd 9826a7b
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Fri Jan 30 08:39:44 2015 -0500

    Merge remote-tracking branch 'remotes/upstream/master'

commit 9826a7b19daedf63900a64e11e39a2ca6631b0c1
Merge: 9fc0d2f a7a512a
Author: taotetek <taotetek@users.noreply.github.com>
Date:   Fri Jan 30 12:12:16 2015 +0100

    Merge pull request #1333 from hintjens/master
    
    Problem: test cases are failing on slower PCs (eee PC)

commit a7a512ab3d88fc60e04ac7c16de1a78d147f610f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 30 11:57:31 2015 +0100

    Problem: test cases are failing on slower PCs (eee PC)
    
    Solution: raise timeouts from 100-150 msec to 250 msec

 tests/test_connect_delay_tipc.cpp | 2 +-
 tests/test_filter_ipc.cpp         | 4 ++--
 tests/test_immediate.cpp          | 2 +-
 tests/test_req_relaxed.cpp        | 2 +-
 tests/test_security_curve.cpp     | 2 +-
 tests/test_security_null.cpp      | 2 +-
 tests/test_security_plain.cpp     | 2 +-
 tests/test_spec_dealer.cpp        | 6 +++---
 tests/test_spec_pushpull.cpp      | 4 ++--
 tests/test_spec_rep.cpp           | 2 +-
 tests/test_spec_req.cpp           | 6 +++---
 tests/test_spec_router.cpp        | 2 +-
 tests/testutil.hpp                | 2 +-
 13 files changed, 19 insertions(+), 19 deletions(-)

commit e351cbdd8feb8ad97a6c397b629adc4c54430ad3
Merge: be8cdc2 9fc0d2f
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Thu Jan 29 10:16:56 2015 -0500

    Merge remote-tracking branch 'remotes/upstream/master'

commit 9fc0d2f1a3469c870a685f4b348516f7ce9a2ba2
Merge: 153e048 2894634
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Jan 29 07:45:56 2015 +0100

    Merge pull request #1331 from jemc/master
    
    Problem: qt-android build script out of date

commit 2894634829aa672aac3b94a0a01a40d5af8ccbf0
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Jan 28 17:30:35 2015 -0800

    Problem: qt-android build script out of date
    Solution: copy changes from latest zproject

 builds/qt-android/build.sh | 7 +++++++
 1 file changed, 7 insertions(+)

commit 153e0487de40186bc84276bb81770dca47d8464c
Merge: 8c8d23c 937d485
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Jan 28 14:55:13 2015 -0800

    Merge pull request #1330 from rodgert/master
    
    Use GCC/Clang compiler intrinsics for atomic operations

commit 937d485e748ab56b2e902f7363886c9aef368494
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Jan 28 16:38:14 2015 -0600

    Add cast to make Clang happy

 src/atomic_ptr.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit be8cdc2bf69214eadb7c9e234e4d093a0f68eb4f
Merge: 03a1b0e 8c8d23c
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Wed Jan 28 12:49:38 2015 -0500

    Merge branch 'master' of https://github.com/zeromq/libzmq

commit e6c45f537611b0c9e90c1ce593015c49255d32b0
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Jan 28 10:27:15 2015 -0600

    Support using compielr intrinsics for atomic operations
    
    Works with GCC and most likely clang

 acinclude.m4           | 24 ++++++++++++++++++++++--
 configure.ac           |  9 +++++++++
 src/atomic_counter.hpp |  9 ++++++++-
 src/atomic_ptr.hpp     |  9 +++++++++
 4 files changed, 48 insertions(+), 3 deletions(-)

commit 8c8d23c76181a9c402c3ece23bac2db4fd9a3762
Merge: 0303131 d8c15cf
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 27 19:41:45 2015 +0100

    Merge pull request #1328 from rodgert/master
    
    Code cleanup - removing unused local

commit d8c15cf43bf2e96e733237ab8beb443aefd1300f
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Tue Jan 27 12:40:35 2015 -0600

    Code cleanup - removing unused local

 src/stream_engine.cpp | 1 -
 1 file changed, 1 deletion(-)

commit 0303131390016fd48506f6bee10d1fa7c6a1b317
Merge: bccf0bc 1c72bf4
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 27 16:51:46 2015 +0100

    Merge pull request #1327 from rodgert/master
    
    Clean up of metadata_t

commit bccf0bc813bc65b3e57d52cc4876e5e5f6f9d60a
Merge: 96a27d1 d9fb1d3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Jan 27 16:39:02 2015 +0100

    Merge pull request #1326 from rodgert/master
    
    resolve #1325 Alignment issue with zmq_msg_t on SPARC CPU

commit 1c72bf4e550d99e54317ee43c71a1b763dc1dbdd
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Tue Jan 27 09:33:47 2015 -0600

    Clean up of metadata_t
    
    * There is no clear reason why the map should hold const std::strings
    * This class is never derived, there doesn't seem to be a compelling
      reason to ever do so, so no need to make virtual members
    * In general const member data is an anti-pattern, the *only* reason
      is to prevent assignability, and the accepted idiom for that is to
      to declare the assigment operator private. This change does so, and
      also prevents copy construction.

 src/metadata.cpp |  4 ----
 src/metadata.hpp | 14 +++++++-------
 2 files changed, 7 insertions(+), 11 deletions(-)

commit d9fb1d36ff2008966af538f722a1f4ab158dbf64
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Tue Jan 27 09:20:39 2015 -0600

    resolve #1325 Alignment issue with zmq_msg_t on SPARC CPU
    
    should be backported probably

 include/zmq.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 96a27d11c90c4514ab53dbbd2027f4874c71e58f
Merge: 148cec0 cf2238f
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 26 18:08:28 2015 +0100

    Merge pull request #1324 from jruffin/invert-matching
    
    Added socket option ZMQ_INVERT_MATCHING.

commit cf2238f80ec284fc54e155b7ed95a4136133097f
Author: Julien Ruffin <jur@ivu.de>
Date:   Mon Jan 26 15:59:19 2015 +0100

    Added socket option ZMQ_INVERT_MATCHING.
    
    ZMQ_INVERT_MATCHING reverses the PUB/SUB prefix matching. The subscription
    list becomes a rejection list. The PUB socket sends messages to all
    connected (X)SUB sockets that do not have any matching subscription.
    
    Whenever the option is used on a PUB/XPUB socket, any connecting SUB
    sockets must also set it or they will reject everything the publisher
    sends them. XSUB sockets are unaffected because they do not filter out
    incoming messages.

 doc/zmq_getsockopt.txt             |  23 +++++++
 doc/zmq_setsockopt.txt             |  23 +++++++
 include/zmq.h                      |   1 +
 src/dist.cpp                       |  16 +++++
 src/dist.hpp                       |   3 +
 src/options.cpp                    |  15 +++++
 src/options.hpp                    |   5 ++
 src/xpub.cpp                       |   7 ++-
 src/xsub.cpp                       |   4 +-
 tests/CMakeLists.txt               |   1 +
 tests/test_pub_invert_matching.cpp | 126 +++++++++++++++++++++++++++++++++++++
 11 files changed, 222 insertions(+), 2 deletions(-)

commit 148cec0a52e08904d7dd46cfe09006ca9c5fd757
Merge: 4ad2edf 415b49b
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Jan 26 10:38:46 2015 +0100

    Merge pull request #1323 from ricnewton/master
    
    Fix Windows build

commit 415b49ba0d7f4da49c446496c18c1102dd4db34b
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Jan 26 09:12:07 2015 +0000

    Fix Windows build

 tests/testutil.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4ad2edff38f17b57cf05d90983dcfa581eaee3e5
Merge: 0d9852a 6ced702
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Jan 23 18:03:10 2015 +0100

    Merge pull request #1322 from hintjens/master
    
    Problem: commit afb24b53 broke ZMQ_STREAM contract

commit 6ced7027a0861e22a20bfa0a872b55cade6323ec
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Jan 23 15:25:40 2015 +0100

    Problem: commit afb24b53 broke ZMQ_STREAM contract
    
    Symptom is that ZMQ_STREAM sockets in 4.1.0 and 4.1.1 generate zero
    sized messages on each new connection, unlike 4.0.x which did not do
    this.
    
    Person who made this commit also changed test cases so that contract
    breakage did not show. Same person was later banned for persistently
    poor form in CZMQ contributions.
    
    Solution: enable connect notifications on ZMQ_STREAM sockets using a
    new ZMQ_STREAM_NOTIFY setting. By default, socket does not deliver
    notifications, and behaves as in 4.0.x.
    
    Fixes #1316

 doc/zmq_setsockopt.txt           | 13 +++++++++++++
 include/zmq.h                    |  1 +
 src/options.cpp                  |  3 ++-
 src/options.hpp                  |  3 ++-
 src/router.cpp                   | 20 ++++++++++----------
 src/router.hpp                   |  2 +-
 src/session_base.cpp             |  5 +++--
 src/stream.cpp                   | 12 +++++++++++-
 src/stream_engine.cpp            | 22 ++++++++++++----------
 tests/test_connect_rid.cpp       | 10 ++--------
 tests/test_stream.cpp            |  8 ++++++++
 tests/test_stream_disconnect.cpp |  9 +++++++--
 tests/testutil.hpp               |  2 +-
 13 files changed, 73 insertions(+), 37 deletions(-)

commit 0d9852a2a575c6ee418a6a9e45a4271911beb3e0
Merge: fd560b4 94d9a4f
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Jan 22 10:49:56 2015 +0100

    Merge pull request #1321 from hintjens/master
    
    Problem: copyright statements are out of date

commit 94d9a4ffdf9da192a13f9781e97ded197e5dc140
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 22 10:32:06 2015 +0100

    Problem: copyright statements are out of date
    
    Solution: update for 2015
    
    Fixes #1320

 include/zmq.h                       | 2 +-
 include/zmq_utils.h                 | 2 +-
 src/address.cpp                     | 2 +-
 src/address.hpp                     | 2 +-
 src/array.hpp                       | 2 +-
 src/atomic_counter.hpp              | 2 +-
 src/atomic_ptr.hpp                  | 2 +-
 src/blob.hpp                        | 2 +-
 src/clock.cpp                       | 2 +-
 src/clock.hpp                       | 2 +-
 src/command.hpp                     | 2 +-
 src/config.hpp                      | 2 +-
 src/ctx.cpp                         | 2 +-
 src/ctx.hpp                         | 2 +-
 src/curve_client.cpp                | 2 +-
 src/curve_client.hpp                | 2 +-
 src/curve_server.cpp                | 2 +-
 src/curve_server.hpp                | 2 +-
 src/dbuffer.hpp                     | 2 +-
 src/dealer.cpp                      | 2 +-
 src/dealer.hpp                      | 2 +-
 src/decoder.hpp                     | 2 +-
 src/devpoll.cpp                     | 2 +-
 src/devpoll.hpp                     | 2 +-
 src/dist.cpp                        | 2 +-
 src/dist.hpp                        | 2 +-
 src/encoder.hpp                     | 2 +-
 src/epoll.cpp                       | 2 +-
 src/epoll.hpp                       | 2 +-
 src/err.cpp                         | 2 +-
 src/err.hpp                         | 2 +-
 src/fd.hpp                          | 2 +-
 src/fq.cpp                          | 2 +-
 src/fq.hpp                          | 2 +-
 src/gssapi_client.cpp               | 2 +-
 src/gssapi_client.hpp               | 2 +-
 src/gssapi_mechanism_base.cpp       | 2 +-
 src/gssapi_mechanism_base.hpp       | 2 +-
 src/gssapi_server.cpp               | 2 +-
 src/gssapi_server.hpp               | 2 +-
 src/i_decoder.hpp                   | 2 +-
 src/i_encoder.hpp                   | 2 +-
 src/i_engine.hpp                    | 2 +-
 src/i_poll_events.hpp               | 2 +-
 src/io_object.cpp                   | 2 +-
 src/io_object.hpp                   | 2 +-
 src/io_thread.cpp                   | 2 +-
 src/io_thread.hpp                   | 2 +-
 src/ip.cpp                          | 2 +-
 src/ip.hpp                          | 2 +-
 src/ipc_address.cpp                 | 2 +-
 src/ipc_address.hpp                 | 2 +-
 src/ipc_connecter.cpp               | 2 +-
 src/ipc_connecter.hpp               | 2 +-
 src/ipc_listener.cpp                | 2 +-
 src/ipc_listener.hpp                | 2 +-
 src/kqueue.cpp                      | 2 +-
 src/kqueue.hpp                      | 2 +-
 src/lb.cpp                          | 2 +-
 src/lb.hpp                          | 2 +-
 src/likely.hpp                      | 2 +-
 src/mailbox.cpp                     | 2 +-
 src/mailbox.hpp                     | 2 +-
 src/mechanism.cpp                   | 2 +-
 src/mechanism.hpp                   | 2 +-
 src/metadata.cpp                    | 2 +-
 src/metadata.hpp                    | 2 +-
 src/msg.cpp                         | 2 +-
 src/msg.hpp                         | 2 +-
 src/mtrie.cpp                       | 2 +-
 src/mtrie.hpp                       | 2 +-
 src/mutex.hpp                       | 2 +-
 src/null_mechanism.cpp              | 2 +-
 src/null_mechanism.hpp              | 2 +-
 src/object.cpp                      | 2 +-
 src/object.hpp                      | 2 +-
 src/options.cpp                     | 2 +-
 src/options.hpp                     | 2 +-
 src/own.cpp                         | 2 +-
 src/own.hpp                         | 2 +-
 src/pair.cpp                        | 2 +-
 src/pair.hpp                        | 2 +-
 src/pgm_receiver.cpp                | 2 +-
 src/pgm_receiver.hpp                | 2 +-
 src/pgm_sender.cpp                  | 2 +-
 src/pgm_sender.hpp                  | 2 +-
 src/pgm_socket.cpp                  | 2 +-
 src/pgm_socket.hpp                  | 2 +-
 src/pipe.cpp                        | 2 +-
 src/pipe.hpp                        | 2 +-
 src/plain_client.cpp                | 2 +-
 src/plain_client.hpp                | 2 +-
 src/plain_server.cpp                | 2 +-
 src/plain_server.hpp                | 2 +-
 src/poll.cpp                        | 2 +-
 src/poll.hpp                        | 2 +-
 src/poller.hpp                      | 2 +-
 src/poller_base.cpp                 | 2 +-
 src/poller_base.hpp                 | 2 +-
 src/precompiled.cpp                 | 2 +-
 src/precompiled.hpp                 | 2 +-
 src/proxy.cpp                       | 2 +-
 src/proxy.hpp                       | 2 +-
 src/pub.cpp                         | 2 +-
 src/pub.hpp                         | 2 +-
 src/pull.cpp                        | 2 +-
 src/pull.hpp                        | 2 +-
 src/push.cpp                        | 2 +-
 src/push.hpp                        | 2 +-
 src/random.cpp                      | 2 +-
 src/random.hpp                      | 2 +-
 src/raw_decoder.cpp                 | 2 +-
 src/raw_decoder.hpp                 | 2 +-
 src/raw_encoder.cpp                 | 2 +-
 src/raw_encoder.hpp                 | 2 +-
 src/reaper.cpp                      | 2 +-
 src/reaper.hpp                      | 2 +-
 src/rep.cpp                         | 2 +-
 src/rep.hpp                         | 2 +-
 src/req.cpp                         | 2 +-
 src/req.hpp                         | 2 +-
 src/router.cpp                      | 2 +-
 src/router.hpp                      | 2 +-
 src/select.cpp                      | 2 +-
 src/select.hpp                      | 2 +-
 src/session_base.cpp                | 2 +-
 src/session_base.hpp                | 2 +-
 src/signaler.cpp                    | 2 +-
 src/signaler.hpp                    | 2 +-
 src/socket_base.cpp                 | 2 +-
 src/socket_base.hpp                 | 2 +-
 src/socks.cpp                       | 2 +-
 src/socks.hpp                       | 2 +-
 src/socks_connecter.cpp             | 2 +-
 src/socks_connecter.hpp             | 2 +-
 src/stdint.hpp                      | 2 +-
 src/stream.cpp                      | 2 +-
 src/stream.hpp                      | 2 +-
 src/stream_engine.cpp               | 2 +-
 src/stream_engine.hpp               | 2 +-
 src/sub.cpp                         | 2 +-
 src/sub.hpp                         | 2 +-
 src/tcp.cpp                         | 2 +-
 src/tcp.hpp                         | 2 +-
 src/tcp_address.cpp                 | 2 +-
 src/tcp_address.hpp                 | 2 +-
 src/tcp_connecter.cpp               | 2 +-
 src/tcp_connecter.hpp               | 2 +-
 src/tcp_listener.cpp                | 2 +-
 src/tcp_listener.hpp                | 2 +-
 src/thread.cpp                      | 2 +-
 src/thread.hpp                      | 2 +-
 src/tipc_address.cpp                | 2 +-
 src/tipc_address.hpp                | 2 +-
 src/tipc_connecter.cpp              | 2 +-
 src/tipc_connecter.hpp              | 2 +-
 src/tipc_listener.cpp               | 2 +-
 src/tipc_listener.hpp               | 2 +-
 src/trie.cpp                        | 2 +-
 src/trie.hpp                        | 2 +-
 src/v1_decoder.cpp                  | 2 +-
 src/v1_decoder.hpp                  | 2 +-
 src/v1_encoder.cpp                  | 2 +-
 src/v1_encoder.hpp                  | 2 +-
 src/v2_decoder.cpp                  | 2 +-
 src/v2_decoder.hpp                  | 2 +-
 src/v2_encoder.cpp                  | 2 +-
 src/v2_encoder.hpp                  | 2 +-
 src/v2_protocol.hpp                 | 2 +-
 src/windows.hpp                     | 2 +-
 src/wire.hpp                        | 2 +-
 src/xpub.cpp                        | 2 +-
 src/xpub.hpp                        | 2 +-
 src/xsub.cpp                        | 2 +-
 src/xsub.hpp                        | 2 +-
 src/ypipe.hpp                       | 2 +-
 src/ypipe_base.hpp                  | 2 +-
 src/ypipe_conflate.hpp              | 2 +-
 src/yqueue.hpp                      | 2 +-
 src/zmq.cpp                         | 2 +-
 src/zmq_utils.cpp                   | 2 +-
 tests/test_abstract_ipc.cpp         | 2 +-
 tests/test_atomics.cpp              | 2 +-
 tests/test_bind_src_address.cpp     | 2 +-
 tests/test_capabilities.cpp         | 2 +-
 tests/test_conflate.cpp             | 2 +-
 tests/test_connect_delay_tipc.cpp   | 2 +-
 tests/test_connect_resolve.cpp      | 2 +-
 tests/test_connect_rid.cpp          | 2 +-
 tests/test_ctx_destroy.cpp          | 2 +-
 tests/test_ctx_options.cpp          | 2 +-
 tests/test_diffserv.cpp             | 2 +-
 tests/test_disconnect_inproc.cpp    | 2 +-
 tests/test_filter_ipc.cpp           | 2 +-
 tests/test_fork.cpp                 | 2 +-
 tests/test_hwm.cpp                  | 2 +-
 tests/test_hwm_pubsub.cpp           | 2 +-
 tests/test_immediate.cpp            | 2 +-
 tests/test_inproc_connect.cpp       | 2 +-
 tests/test_invalid_rep.cpp          | 2 +-
 tests/test_iov.cpp                  | 2 +-
 tests/test_ipc_wildcard.cpp         | 2 +-
 tests/test_issue_566.cpp            | 2 +-
 tests/test_last_endpoint.cpp        | 2 +-
 tests/test_many_sockets.cpp         | 2 +-
 tests/test_metadata.cpp             | 2 +-
 tests/test_monitor.cpp              | 2 +-
 tests/test_msg_flags.cpp            | 2 +-
 tests/test_pair_inproc.cpp          | 2 +-
 tests/test_pair_ipc.cpp             | 2 +-
 tests/test_pair_tcp.cpp             | 2 +-
 tests/test_probe_router.cpp         | 2 +-
 tests/test_proxy.cpp                | 2 +-
 tests/test_req_correlate.cpp        | 2 +-
 tests/test_req_relaxed.cpp          | 2 +-
 tests/test_reqrep_device.cpp        | 2 +-
 tests/test_reqrep_inproc.cpp        | 2 +-
 tests/test_reqrep_ipc.cpp           | 2 +-
 tests/test_reqrep_tcp.cpp           | 2 +-
 tests/test_router_handover.cpp      | 2 +-
 tests/test_router_mandatory.cpp     | 2 +-
 tests/test_router_mandatory_hwm.cpp | 2 +-
 tests/test_security_curve.cpp       | 2 +-
 tests/test_security_null.cpp        | 2 +-
 tests/test_security_plain.cpp       | 2 +-
 tests/test_shutdown_stress.cpp      | 2 +-
 tests/test_spec_dealer.cpp          | 2 +-
 tests/test_spec_pushpull.cpp        | 2 +-
 tests/test_spec_rep.cpp             | 2 +-
 tests/test_spec_req.cpp             | 2 +-
 tests/test_spec_router.cpp          | 2 +-
 tests/test_srcfd.cpp                | 2 +-
 tests/test_stream.cpp               | 2 +-
 tests/test_stream_empty.cpp         | 2 +-
 tests/test_stream_timeout.cpp       | 2 +-
 tests/test_sub_forward.cpp          | 2 +-
 tests/test_system.cpp               | 2 +-
 tests/test_term_endpoint.cpp        | 2 +-
 tests/test_timeo.cpp                | 2 +-
 tests/test_xpub_manual.cpp          | 2 +-
 tests/test_xpub_nodrop.cpp          | 2 +-
 tests/test_xpub_welcome_msg.cpp     | 2 +-
 tests/testutil.hpp                  | 2 +-
 243 files changed, 243 insertions(+), 243 deletions(-)

commit fd560b489c743580f0bbffa94544b12f2446b648
Merge: 3d44050 73bf0fb
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Jan 21 14:46:15 2015 -0800

    Merge pull request #1319 from rodgert/master
    
    Remove more test_id2fd cruft

commit 73bf0fb1a35019ae94ad1475872ab79a6d115c87
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Wed Jan 21 16:44:41 2015 -0600

    Remoe more test_id2fd cruft

 Makefile.am | 3 ---
 1 file changed, 3 deletions(-)

commit 3d440507ea95da69d89eeee79517866e13b7de86
Merge: be23e69 708298e
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Jan 20 21:20:09 2015 +0100

    Merge pull request #1317 from topher200/master
    
    documentation clarification on pipe::write failure

commit 708298eaf197ff9f47716cbae6eaec6d4904346f
Author: Topher Brown <chris.brown@farsounder.com>
Date:   Tue Jan 20 15:04:40 2015 -0500

    documentation clarification on pipe::write failure
    
    When pipe::write succeeds, it takes control of the message's data buffer.
    When it fails, it has not taken control. The caller should clean up the
    message appropriately (msg::close).

 src/pipe.hpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit be23e699c912d1c45f36f3cde49140a3c70c7424
Merge: 94b0ad3 866a046
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Mon Jan 19 18:10:11 2015 -0800

    Merge pull request #1314 from topher200/master
    
    Close messages that failed to send

commit 866a04656ebe0162013651c028316836bcf73af0
Author: Topher Brown <chris.brown@farsounder.com>
Date:   Tue Jan 13 17:36:09 2015 -0500

    Close messages that failed to send
    
    pipe_t.write only takes control of the underlying message memory when it
    succeeds. When it returns failure, we must close the message ourselves to
    clean up that memory.
    
    This patch is sponsored by FarSounder, Inc (farsounder.com)

 src/router.cpp | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

commit 03a1b0e2960999ad000dadab7d59ed8b1bdf037e
Merge: fa1f676 94b0ad3
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Mon Jan 19 15:19:56 2015 -0500

    Merge remote-tracking branch 'upstream/master'

commit 94b0ad3eaa7ed5979026c44c256f50f23837c22d
Merge: 53431a5 40d2f9a
Author: KAPP Arnaud <kapp.arno@gmail.com>
Date:   Sun Jan 18 03:48:29 2015 +0100

    Merge pull request #1312 from rodgert/master
    
    fix typo in zmq_msg_gets documentation

commit 40d2f9ad5da276a9e5c9235c19e20e7065009242
Author: Thomas Rodgers <rodgert@twrodgers.com>
Date:   Sat Jan 17 20:15:31 2015 -0600

    fix typo in zmq_msg_gets documentation

 doc/zmq_msg_gets.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 53431a558379abcc4461d2fc99b4880ad5bfd356
Merge: 0e404ec 4e89ae6
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Jan 16 22:54:17 2015 +0100

    Merge pull request #1310 from rodgert/master
    
    Fix typo in zmq_msg_gets documentation

commit 4e89ae616a536b464d48a422875c7d05e3ce1c3c
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Fri Jan 16 15:45:09 2015 -0600

    Fix typo in zmq_msg_gets documentation

 doc/zmq_msg_gets.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0e404ec844bd55361be9ac81020582c6586d8ea3
Merge: 2e76bbe cf2bd3b
Author: KAPP Arnaud <kapp.arno@gmail.com>
Date:   Fri Jan 16 22:43:04 2015 +0100

    Merge pull request #1309 from rodgert/master
    
    Add 'Peer-Address' property to connection metadata

commit cf2bd3b6ae6a987d76144f0c97f9974cbd17ccc0
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Fri Jan 16 15:37:22 2015 -0600

    Expand on 'Peer-Address' property documentation

 .gitignore                                       |  140 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  138 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  642 +++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  546 +++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 +++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  723 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   75 ++
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  986 ++++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  478 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  161 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  567 +++++++++
 src/ctx.hpp                                      |  216 ++++
 src/curve_client.cpp                             |  450 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  720 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   55 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 +++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  244 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  507 ++++++++
 src/pipe.hpp                                     |  223 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 +++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  465 ++++++++
 src/router.hpp                                   |  130 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  617 ++++++++++
 src/session_base.hpp                             |  162 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1333 ++++++++++++++++++++++
 src/socket_base.hpp                              |  268 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  947 +++++++++++++++
 src/stream_engine.hpp                            |  206 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 +++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  248 ++++
 src/xpub.hpp                                     |  106 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 +++
 src/yqueue.hpp                                   |  209 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  256 +++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_atomics.cpp                           |   38 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   70 ++
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  127 +++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  120 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  281 +++++
 tests/test_security_null.cpp                     |  177 +++
 tests/test_security_plain.cpp                    |  185 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 +++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_manual.cpp                       |   82 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/test_xpub_welcome_msg.cpp                  |   71 ++
 tests/testutil.hpp                               |  298 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 492 files changed, 70904 insertions(+)

commit 2e76bbe4f631fe4e0886ea105e402468a178f983
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Jan 16 18:27:40 2015 +0100

    Merge pull request #1308 from rodgert/master
    
    Try to clarify the intent of zmq_msg_gets() in documentation

 .gitignore                                       |  139 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  138 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  642 +++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  546 +++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 +++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  723 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   71 ++
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  986 ++++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  478 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  161 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  567 +++++++++
 src/ctx.hpp                                      |  216 ++++
 src/curve_client.cpp                             |  450 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  720 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   55 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 +++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  244 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  507 ++++++++
 src/pipe.hpp                                     |  223 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 +++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  465 ++++++++
 src/router.hpp                                   |  130 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  617 ++++++++++
 src/session_base.hpp                             |  162 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1333 ++++++++++++++++++++++
 src/socket_base.hpp                              |  268 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  950 +++++++++++++++
 src/stream_engine.hpp                            |  206 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 +++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  248 ++++
 src/xpub.hpp                                     |  106 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 +++
 src/yqueue.hpp                                   |  209 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  256 +++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_atomics.cpp                           |   38 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   70 ++
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  127 +++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  281 +++++
 tests/test_security_null.cpp                     |  177 +++
 tests/test_security_plain.cpp                    |  185 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 +++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_manual.cpp                       |   82 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/test_xpub_welcome_msg.cpp                  |   71 ++
 tests/testutil.hpp                               |  298 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 492 files changed, 70900 insertions(+)

commit c816e42266bfa49cd645769f49f282219b00242a
Merge: 95e7611 9019403
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Jan 10 23:58:57 2015 +0100

    Merge pull request #1298 from rodgert/master
    
    Increase size of zmq_msg_t to 64 bytes

commit 90194036bf824d78e13955ab931a70e929d356c1
Author: Thomas Rodgers <rodgert@twrodgers.com>
Date:   Sat Jan 10 16:44:55 2015 -0600

    Increase size of zmq_msg_t to 64 bytes
    
    Increasing it would have at least two benefits -
    
    * More messages would be 'VSM' messages, so it would reduce allocation
    overhead a bit.
    * Remove any chance of false sharing of things that are, by design,
    pushed by value onto a ypipe_t<msg_t> which is shared between two threads.
    
    The only downside I see is slightly increased memory consumption on memory
    constrained applications.
    
    - Full discussion of this rationale is part of issue #1295

 include/zmq.h | 2 +-
 src/msg.hpp   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 95e76114716eb16386821e2fdcf3c17319fd8ce5
Merge: 1ae98c7 a55005f
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Jan 10 00:44:45 2015 +0100

    Merge pull request #1297 from rodgert/master
    
    Remove ZMQ_IDENTITY_FD socket option

commit a55005feb15b358056a74544d6cddb1f6e9c58f6
Author: Thomas Rodgers <rodgert@twrodgers.com>
Date:   Fri Jan 9 17:32:05 2015 -0600

    Remove documentation for ZMQ_IDENTITY_FD

 doc/zmq_getsockopt.txt | 17 -----------------
 1 file changed, 17 deletions(-)

commit 7c0a6446255705dc60b640b188c495c6bdaaa14c
Author: Thomas Rodgers <rodgert@twrodgers.com>
Date:   Fri Jan 9 17:28:50 2015 -0600

    Remove of ZMQ_IDENTITY_FD socket option
    
    Revert "linking fd to pipe identity via socket option"
    
    This reverts commit fe3e8c5c70dc3fbcb0244c5f4c52dcd71b80f858.
    
    Conflicts:
    	include/zmq.h
    	src/pipe.hpp
    	src/session_base.cpp

 Makefile.am           |  1 -
 include/zmq.h         |  1 -
 src/i_engine.hpp      |  7 +----
 src/pipe.cpp          |  1 -
 src/pipe.hpp          |  3 --
 src/router.cpp        | 27 ----------------
 src/router.hpp        |  1 -
 src/session_base.cpp  |  4 +--
 src/socket_base.cpp   | 10 ------
 src/socket_base.hpp   |  5 +--
 src/stream_engine.hpp |  2 --
 tests/test_id2fd.cpp  | 87 ---------------------------------------------------
 12 files changed, 3 insertions(+), 146 deletions(-)

commit a450bdefec32ab46fee5899498e320bf968d6904
Author: Thomas Rodgers <rodgert@twrodgers.com>
Date:   Fri Jan 9 16:44:35 2015 -0600

    Revert "resolve #1292 ZMQ_IDENTITY_FD does not validate option_len"
    
    This reverts commit 45c68154460b5cc828cb7ac027e5407776bff2ca.

 src/router.cpp       | 26 ++++++++++----------------
 tests/test_id2fd.cpp | 34 +++++++++++++---------------------
 2 files changed, 23 insertions(+), 37 deletions(-)

commit 1ae98c74227462b9d8d52a15d90899d6e4f8e257
Merge: 4e9e719 45c6815
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Jan 8 16:39:18 2015 +0100

    Merge pull request #1293 from rodgert/master
    
    resolve #1292 ZMQ_IDENTITY_FD does not validate option_len

commit 45c68154460b5cc828cb7ac027e5407776bff2ca
Author: Thomas Rodgers <trodgers@drw.com>
Date:   Thu Jan 8 08:37:28 2015 -0600

    resolve #1292 ZMQ_IDENTITY_FD does not validate option_len

 src/router.cpp       | 26 ++++++++++++++++----------
 tests/test_id2fd.cpp | 34 +++++++++++++++++++++-------------
 2 files changed, 37 insertions(+), 23 deletions(-)

commit fa1f676ce53d386931fdc37d66fdad5d8787d61a
Merge: f78f4e3 4e9e719
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Mon Jan 5 12:56:35 2015 -0500

    Merge remote-tracking branch 'upstream/master'

commit 4e9e719ff341960c06d4aa9b900963060ac1a2a6
Merge: 25f1539 b1305bb
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 5 15:01:06 2015 +0100

    Merge pull request #1286 from ricnewton/master
    
    Remove int typedefs and use stdint.h for windows.

commit b1305bbec30f2d17f65a20530f2d1b2e96708454
Author: Richard Newton <richard_newton@waters.com>
Date:   Mon Jan 5 13:45:39 2015 +0000

    Remove int typedefs and use stdint.h for windows.

 include/zmq.h | 9 ---------
 1 file changed, 9 deletions(-)

commit 25f153980b20fec697d1e95d0a77727a9923fd69
Merge: c993ac8 5d084cd
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Jan 5 11:47:09 2015 +0100

    Merge pull request #1283 from DaiyuHurst/master
    
    Implement a definitive cygwin target for libzmq.

commit c993ac88ae8cc512bed05e3cc26e7d69cd694ad5
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Wed Dec 31 06:26:49 2014 -0800

    Merge pull request #1284 from hintjens/master
    
    Problem: incomplete definition of integer types

 .gitignore                                       |  139 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  138 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  633 ++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  542 +++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 +++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  986 ++++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  488 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  567 +++++++++
 src/ctx.hpp                                      |  216 ++++
 src/curve_client.cpp                             |  450 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  720 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  244 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  619 ++++++++++
 src/session_base.hpp                             |  162 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1343 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  950 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  248 ++++
 src/xpub.hpp                                     |  106 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  256 +++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_atomics.cpp                           |   38 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   70 ++
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  127 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  281 +++++
 tests/test_security_null.cpp                     |  177 +++
 tests/test_security_plain.cpp                    |  185 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_manual.cpp                       |   82 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/test_xpub_welcome_msg.cpp                  |   71 ++
 tests/testutil.hpp                               |  293 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 491 files changed, 70956 insertions(+)

commit 5d084cdfddf3a423353d2805e7aeab3f3f791207
Author: DaiyuHurst <daiyu.hurst@gmail.com>
Date:   Mon Dec 29 17:39:19 2014 -0500

    Implement a definitive cygwin target for libzmq.

 .gitignore                                       |  139 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  138 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  643 +++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.cygwin.md                                 |   15 +
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/cygwin/Makefile.cygwin                    |   47 +
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  546 +++++++++
 doc/Makefile.am                                  |   58 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  264 +++++
 doc/zmq_atomic_counter_dec.txt                   |   62 +
 doc/zmq_atomic_counter_destroy.txt               |   62 +
 doc/zmq_atomic_counter_inc.txt                   |   61 +
 doc/zmq_atomic_counter_new.txt                   |   62 +
 doc/zmq_atomic_counter_set.txt                   |   61 +
 doc/zmq_atomic_counter_value.txt                 |   60 +
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  986 ++++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  488 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  567 +++++++++
 src/ctx.hpp                                      |  216 ++++
 src/curve_client.cpp                             |  450 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  720 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  244 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  619 ++++++++++
 src/session_base.hpp                             |  162 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1343 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  950 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  248 ++++
 src/xpub.hpp                                     |  106 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  256 +++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_atomics.cpp                           |   38 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   70 ++
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  127 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  281 +++++
 tests/test_security_null.cpp                     |  177 +++
 tests/test_security_plain.cpp                    |  185 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_manual.cpp                       |   82 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/test_xpub_welcome_msg.cpp                  |   71 ++
 tests/testutil.hpp                               |  298 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 493 files changed, 71037 insertions(+)

commit 4b4adbbc1d4f9bbdcf1432a0d036b1513fe6eddc
Merge: 610d64d d2bacdf
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Fri Dec 26 19:21:37 2014 +0100

    Merge branch 'master' of github.com:zeromq/libzmq

commit d2bacdf5917313ef9cfd247fe41eab1d11a00b02
Merge: ae53b27 eacd4d9
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Tue Dec 23 09:30:46 2014 -0500

    Merge pull request #1282 from hintjens/master
    
    Fixed atomic API, which used 'bool'

commit eacd4d9cba87c8e6876839d81056131cca1a0c90
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Dec 23 15:21:22 2014 +0100

    Problem: test cases were sporadically failing
    
    Solution: increase settle time for bind/unbind tests

 tests/test_disconnect_inproc.cpp | 6 ++++--
 tests/testutil.hpp               | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

commit 04664f0ef79292239428bc7f1b7b1760a0f92f3c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Dec 23 15:20:10 2014 +0100

    Problem: 'bool' is not defined by default
    
    zmq_atomic_counter_dec returned a 'bool' value, yet this isn't
    defined by standard, so causes compile errors in upstream code.
    
    Solution: return an int that can be safely converted to bool if
    needed by bindings.

 doc/zmq_atomic_counter_dec.txt     | 17 +++++++++--------
 doc/zmq_atomic_counter_destroy.txt | 11 ++++++-----
 doc/zmq_atomic_counter_inc.txt     | 11 ++++++-----
 doc/zmq_atomic_counter_new.txt     | 11 ++++++-----
 doc/zmq_atomic_counter_set.txt     | 11 ++++++-----
 doc/zmq_atomic_counter_value.txt   | 11 ++++++-----
 include/zmq.h                      |  2 +-
 src/zmq_utils.cpp                  |  7 ++++---
 tests/test_atomics.cpp             | 10 +++++-----
 9 files changed, 49 insertions(+), 42 deletions(-)

commit ae53b27b70dfbdc360bf8528d26cb6febbbf10d1
Merge: 07229c7 2de940b
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Tue Dec 23 09:43:01 2014 +0100

    Merge pull request #1281 from hintjens/master
    
    Problem: need atomic reference counting in several projects

commit 2de940b4223f681c2960b099ebfa9b67398a3a41
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Dec 23 01:14:38 2014 +0100

    Problem: need atomic reference counting in several projects
    
    Solution: as libzmq already provides this across all platforms,
    expose an atomic counter API. I've not wrapped atomic pointers,
    though someone who needs this may want to do so.

 .gitignore                         |  3 ++
 Makefile.am                        |  6 +++-
 doc/Makefile.am                    |  6 +++-
 doc/zmq.txt                        | 21 +++++++++----
 doc/zmq_atomic_counter_dec.txt     | 61 ++++++++++++++++++++++++++++++++++++++
 doc/zmq_atomic_counter_destroy.txt | 61 ++++++++++++++++++++++++++++++++++++++
 doc/zmq_atomic_counter_inc.txt     | 60 +++++++++++++++++++++++++++++++++++++
 doc/zmq_atomic_counter_new.txt     | 61 ++++++++++++++++++++++++++++++++++++++
 doc/zmq_atomic_counter_set.txt     | 60 +++++++++++++++++++++++++++++++++++++
 doc/zmq_atomic_counter_value.txt   | 59 ++++++++++++++++++++++++++++++++++++
 include/zmq.h                      | 11 +++++++
 src/zmq_utils.cpp                  | 49 ++++++++++++++++++++++++++++++
 tests/test_atomics.cpp             | 38 ++++++++++++++++++++++++
 13 files changed, 489 insertions(+), 7 deletions(-)

commit 07229c72bab81fcb682b1ca89a6471f3ce8ee0bb
Merge: 187c743 17937ff
Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Date:   Fri Dec 19 16:45:07 2014 -0800

    Merge pull request #1280 from hintjens/master
    
    Problem: very hard to debug security mechanism mismatch

commit 17937ffcf0a16395302d27b355942e12eb9cf842
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Dec 19 22:17:14 2014 +0100

    Problem: very hard to debug security mechanism mismatch
    
    E.g. when server is not configured, and client tries PLAIN security,
    there is no hint of why this does not work.
    
    Solution: add debugging output for this case. Note that the various
    debugging outputs for security failures should probably be sent to
    an inproc monitor of some kind.

 src/stream_engine.cpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit f78f4e3f736384956b4d48ac3374d9eacdd0137f
Author: Telford Berkey <tberkey@4qbase.com>
Date:   Fri Dec 12 16:45:29 2014 -0500

    Changed library name to zmq.lib.

 .gitignore                                       |  136 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  138 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  629 ++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  542 +++++++++
 doc/Makefile.am                                  |   54 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  253 ++++
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   87 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |  103 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  986 ++++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  477 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  567 +++++++++
 src/ctx.hpp                                      |  216 ++++
 src/curve_client.cpp                             |  450 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  720 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  244 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  619 ++++++++++
 src/session_base.hpp                             |  162 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1343 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  938 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  248 ++++
 src/xpub.hpp                                     |  106 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  206 ++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   70 ++
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  125 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  281 +++++
 tests/test_security_null.cpp                     |  177 +++
 tests/test_security_plain.cpp                    |  185 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_manual.cpp                       |   82 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/test_xpub_welcome_msg.cpp                  |   71 ++
 tests/testutil.hpp                               |  293 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 484 files changed, 70453 insertions(+)

commit 187c743841ed9ebea9a9ab36a0dddf3929f8b191
Merge: ffb7cab f5f4d27
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 7 17:08:29 2014 +0100

    Merge pull request #1276 from hintjens/master
    
    Problem: zmq_epgm is duplicate of zmq_pgm

commit f5f4d27354e507172befae16b6962c028d827c2e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Dec 7 17:04:52 2014 +0100

    Problem: zmq_epgm is duplicate of zmq_pgm
    
    There is zero benefit to this, and some confusion due to the special
    case nature of this man page.
    
    Solution: delete the zmq_epgm man page.

 doc/Makefile.am  | 4 +---
 doc/zmq_epgm.txt | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

commit ffb7cab4b3d0a5a974af0d7e95cdb8abc5ba5114
Merge: 4494286 510eaba
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Dec 4 23:22:13 2014 +0100

    Merge pull request #1275 from pmienk/master
    
    Fix #1274

commit 510eabaec8f83e21fc780c7dd29fe97b6271f55d
Author: Phillip Mienk <mienkphi@gmail.com>
Date:   Thu Dec 4 14:09:14 2014 -0800

    Alter --with-libsodium default.

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4494286e92f1840c0d9b5a6c21281b3c96450a79
Merge: c57d557 5385a51
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Dec 4 13:30:59 2014 +0100

    Merge pull request #1272 from minrk/security-old-zmtp
    
    reject old ZMTP connections if auth enabled

commit 5385a51527c090e4430385af5d5636f0895a5f93
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Dec 3 14:51:57 2014 -0800

    craft vanilla socket security test messages
    
    use explicit ZMTP/1.0 anonymous greeting
    rather than HTTP request that just happened to work

 tests/test_security_curve.cpp | 10 ++++++++--
 tests/test_security_null.cpp  | 12 +++++++++---
 tests/test_security_plain.cpp | 10 ++++++++--
 3 files changed, 25 insertions(+), 7 deletions(-)

commit 5a8b46e37584f7a24916aeb04e9287cb8a7d6ff0
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Dec 3 13:58:49 2014 -0800

    allow vanilla socket security tests to run on Windows
    
    - add ws2tcpip.h
    - alias close->closesocket
    - increment port in sec_null test

 tests/test_security_curve.cpp | 2 ++
 tests/test_security_null.cpp  | 6 ++++--
 tests/test_security_plain.cpp | 2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)

commit efed3d010d8b0d0fc231e5f803204dc724edbdec
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Dec 3 13:46:28 2014 -0800

    add session->zap_enabled()
    
    checks mechanism != NULL, or NULL + non-empty zap_domain

 src/session_base.cpp  | 8 ++++++++
 src/session_base.hpp  | 1 +
 src/stream_engine.cpp | 6 +++---
 3 files changed, 12 insertions(+), 3 deletions(-)

commit 6cf120eaad3b92f9d9085e7e8acf9897004fd1f0
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Dec 3 12:39:28 2014 -0800

    reject old ZMTP connections if auth enabled
    
    auth mechanisms were only enabled when ZMTP handshake
    is latest version, meaning that connections from old sockets
    would skip authentication altogether

 src/stream_engine.cpp | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit c35c0ca1bb4b91cfee6dbe2a94bfab796f676254
Author: Min RK <benjaminrk@gmail.com>
Date:   Wed Dec 3 10:34:34 2014 -0800

    test unauthenticated messages from vanilla sockets
    
    fails on all auth mechanisms

 tests/test_security_curve.cpp | 27 +++++++++++++++++++++++++++
 tests/test_security_null.cpp  | 35 +++++++++++++++++++++++++++++++++++
 tests/test_security_plain.cpp | 27 +++++++++++++++++++++++++++
 3 files changed, 89 insertions(+)

commit c57d557460c6e5d396818b8f60dd53c68f7c8f4c
Merge: bcaae7d dd809de
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Thu Nov 27 05:20:31 2014 +0100

    Merge pull request #1269 from somdoron/manual_and_welcome
    
    Manual and welcome documentation

commit dd809de6ff7f2fa8bc52c5464db4f2cd6859c6e6
Author: Doron Somech <somdoron@gmail.com>
Date:   Wed Nov 26 22:49:15 2014 +0200

    add to authors

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit cdf4a1211d5ff7abbb7820fa65d3802a8a7bc0da
Author: Doron Somech <somdoron@gmail.com>
Date:   Wed Nov 26 22:47:42 2014 +0200

    documentation for welcome msg and xpub manual

 doc/zmq_setsockopt.txt | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit bcaae7de0196cd449d8ee2b85cceb5a11e6e19d4
Merge: 9bd3410 0ac0b04
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Nov 26 14:56:53 2014 +0100

    Merge pull request #1268 from somdoron/manual_and_welcome
    
    remove debug printf in test_xpub_welcome_msg

commit 0ac0b04755a3b3f99a8fddbf5aadd8dd4f071268
Author: Doron Somech <somdoron@gmail.com>
Date:   Wed Nov 26 15:53:50 2014 +0200

    remove debug printf in test_xpub_welcome_msg

 tests/test_xpub_welcome_msg.cpp | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

commit 9bd34100b120442508e7cb413bc0a047ebbb7c96
Merge: cefce68 768b62e
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Wed Nov 26 13:31:38 2014 +0100

    Merge pull request #1267 from somdoron/manual_and_welcome
    
    Manual and welcome

commit 768b62eb9d8434dcf30e865b56b5b8b3f946decd
Author: somdoron <somdoron@gmail.com>
Date:   Wed Nov 26 13:37:36 2014 +0200

    xpub welcome msg

 Makefile.am                     |  6 +++-
 include/zmq.h                   |  1 +
 src/xpub.cpp                    | 47 ++++++++++++++++++++-------
 src/xpub.hpp                    |  3 ++
 tests/test_xpub_welcome_msg.cpp | 72 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 116 insertions(+), 13 deletions(-)

commit 96e29f145508f1cf4a5848c2c0d0fb83a976da0c
Author: somdoron <somdoron@gmail.com>
Date:   Wed Nov 26 10:38:54 2014 +0200

    Add manual control over subscriptions to Pub

 Makefile.am                |  6 +++-
 include/zmq.h              |  1 +
 src/xpub.cpp               | 76 ++++++++++++++++++++++++++++--------------
 src/xpub.hpp               |  6 ++++
 tests/test_xpub_manual.cpp | 82 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 146 insertions(+), 25 deletions(-)

commit cefce68a97f037a8ddb2381884a94f6212936994
Merge: 1680a3c 905b168
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Nov 24 15:17:14 2014 +0100

    Merge pull request #1262 from hurtonm/master
    
    Fix issue #1257

commit 905b1683c7c36ed617f5b77815cf814bb4a48790
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Mon Nov 24 15:07:24 2014 +0100

    Fix issue #1257

 src/socket_base.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 1680a3cea1549aba496c3c9eef6fe6963baf5762
Merge: cb5eebd 32b2d30
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Nov 20 05:28:13 2014 +0200

    Merge pull request #1260 from abbradar/master
    
    Fix test_filter_ipc for cleared supplementary groups

commit 32b2d3034b04a54118bc95c3f83ea5af78f9de41
Author: Nikolay Amiantov <ab@fmap.me>
Date:   Thu Nov 20 05:08:45 2014 +0300

    Fix test_filter_ipc for cleared supplementary groups
    
    This should fix part of [https://github.com/zeromq/libzmq/issues/1129].

 tests/test_filter_ipc.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit cb5eebd8b758a7614dec97640b86deabf79b6cb5
Merge: f448af9 b6e61d7
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Nov 17 15:29:25 2014 +0100

    Merge pull request #1258 from hintjens/master
    
    Problem: linger values other than -1 or 0 are unsafe

commit b6e61d72b24d2c500706951dc516a5b4516f3554
Author: Pieter Hintjens <ph@imatix.com>
Date:   Mon Nov 17 11:56:59 2014 +0100

    Problem: linger values other than -1 or 0 are unsafe
    
    Solution: set defaults back to infinity, and add new context
    option, ZMQ_BLOCKY that the user can set to false to get a
    less surprising behavior on context termination. Eg.
    
        zmq_ctx_set (ctx, ZMQ_BLOCKY, false);

 doc/zmq_ctx_get.txt        | 10 ++++++++++
 doc/zmq_ctx_set.txt        | 15 +++++++++++++++
 include/zmq.h              |  1 +
 src/ctx.cpp                | 10 ++++++++++
 src/ctx.hpp                |  3 +++
 src/options.cpp            |  2 +-
 src/socket_base.cpp        |  1 +
 tests/test_ctx_options.cpp | 19 +++++++++++++++----
 8 files changed, 56 insertions(+), 5 deletions(-)

commit f448af948dead478f73b982f749ddbd98143f97f
Merge: fca34e5 6a227b2
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Mon Nov 10 18:13:20 2014 +0100

    Merge pull request #1255 from klaussfreire/master
    
    Fix busy-polling when reaching the rate limit

commit 6a227b2ee4ffd79ea1b12b3277c8b534ba62b12d
Author: Claudio Freire <klaussfreire@gmail.com>
Date:   Mon Nov 10 14:00:34 2014 -0300

    Re-enable pollout before cancelling tx timeout

 src/pgm_sender.cpp | 1 +
 1 file changed, 1 insertion(+)

commit 3de116336907323822266aed603a18633e315228
Author: Claudio Freire <klaussfreire@gmail.com>
Date:   Mon Nov 10 13:22:54 2014 -0300

    Fix busy-polling bug in pgm_sender causing it to consume CPU cycles

 src/pgm_sender.cpp | 4 ++++
 1 file changed, 4 insertions(+)

commit fca34e5e5a9083bba4ea96d6c155a370bf191680
Merge: ed4f342 35dd85a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Nov 9 20:00:47 2014 +0100

    Merge pull request #1253 from minrk/linger-timeout
    
    use more conservative 30 second default timeout for LINGER

commit 35dd85a1dbb9367744d4ba3e7ad56581d757fdc3
Author: Min RK <benjaminrk@gmail.com>
Date:   Sun Nov 9 10:05:04 2014 -0800

    use more conservative 30 second default timeout for LINGER
    
    Regression in #1248 can cause lost messages at exit.

 doc/zmq_setsockopt.txt | 2 +-
 src/options.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ed4f342633c0d70e49d11a88def128b7a7701b4d
Merge: 6dc9db1 479db21
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Nov 8 12:07:04 2014 +0100

    Merge pull request #1252 from c-rack/master
    
    Problem: return code of sodium_init() is not checked.

commit 479db2113643e459c11db392e0fefd6400657c9e
Author: Constantin Rack <constantin@rack.li>
Date:   Sat Nov 8 10:50:17 2014 +0100

    Problem: return code of sodium_init() is not checked.
    
    There are two todo comments in curve_client.cpp and curve_server.cpp that suggest
    checking the return code of sodium_init() call. sodium_init() returns -1 on error,
    0 on success and 1 if it has been called before and is already initalized:
    https://github.com/jedisct1/libsodium/blob/master/src/libsodium/sodium/core.c

 src/curve_client.cpp | 7 ++++---
 src/curve_server.cpp | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

commit 6dc9db1ede248aa23b18bda5ff1c9938fa60006c
Merge: 7b6e310 bc718b5
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Sat Nov 8 08:16:14 2014 +0100

    Merge pull request #1251 from johntconklin/master
    
    Use consistent spelling, fix typos.

commit bc718b530712a15a55499eb469612c3668669fb3
Author: J.T. Conklin <jtc@acorntoolworks.com>
Date:   Fri Nov 7 22:36:37 2014 -0800

    Merge remote-tracking branch 'upstream/master'

 .gitignore                                       |  136 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  137 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  621 ++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  542 +++++++++
 doc/Makefile.am                                  |   56 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  253 ++++
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   77 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |   88 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_epgm.txt                                 |    1 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  956 +++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  474 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  557 +++++++++
 src/ctx.hpp                                      |  213 ++++
 src/curve_client.cpp                             |  449 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  719 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  239 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  611 ++++++++++
 src/session_base.hpp                             |  161 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1342 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  920 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  197 ++++
 src/xpub.hpp                                     |   97 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  206 ++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   59 +
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  125 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  246 ++++
 tests/test_security_null.cpp                     |  134 +++
 tests/test_security_plain.cpp                    |  150 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/testutil.hpp                               |  293 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 483 files changed, 70004 insertions(+)

commit 7b6e310b47a17609661be9b61eee8828225e0c8d
Author: Constantin Rack <c-rack@users.noreply.github.com>
Date:   Fri Nov 7 23:52:00 2014 +0100

    Merge pull request #1248 from hintjens/master
    
    Problem: default LINGER value is insane

 .gitignore                                       |  136 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   10 +
 AUTHORS                                          |  137 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |  621 ++++++++++
 NEWS                                             |  978 ++++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  103 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/qt-android/android_build_helper.sh        |  307 +++++
 builds/qt-android/build.sh                       |   56 +
 builds/qt-android/ci_build.sh                    |   14 +
 builds/redhat/zeromq.spec.in                     |  201 ++++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 ci_build.sh                                      |   15 +
 configure.ac                                     |  542 +++++++++
 doc/Makefile.am                                  |   56 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  253 ++++
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   77 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |   88 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_epgm.txt                                 |    1 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |  105 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  135 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  956 +++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  117 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   88 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 include/zmq.h                                    |  474 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  557 +++++++++
 src/ctx.hpp                                      |  213 ++++
 src/curve_client.cpp                             |  449 ++++++++
 src/curve_client.hpp                             |  119 ++
 src/curve_server.cpp                             |  719 ++++++++++++
 src/curve_server.hpp                             |  128 +++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  860 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  239 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  224 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  611 ++++++++++
 src/session_base.hpp                             |  161 +++
 src/signaler.cpp                                 |  555 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1342 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  920 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  197 ++++
 src/xpub.hpp                                     |   97 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1088 ++++++++++++++++++
 src/zmq_utils.cpp                                |  206 ++++
 tests/CMakeLists.txt                             |   81 ++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   59 +
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  125 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  116 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  246 ++++
 tests/test_security_null.cpp                     |  134 +++
 tests/test_security_plain.cpp                    |  150 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  157 +++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/testutil.hpp                               |  293 +++++
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   44 +
 tweetnacl/contrib/randombytes/devurandom.h       |   25 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 483 files changed, 70004 insertions(+)

commit 610d64dd9e1cc69ee4572d8021157e1c578ea721
Merge: 053b14e cb9a0d2
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Sun Oct 5 14:17:11 2014 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit cb9a0d2af418005c440fb8aba2f640cfa6c106a4
Merge: 43028c7 dfd021b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Oct 2 21:31:47 2014 +0200

    Merge pull request #1200 from dmick/master
    
    Fix up spec build

commit dfd021b133eb683214413f57f0f181e8753f0bb6
Author: Dan Mick <dmick@redhat.com>
Date:   Wed Oct 1 20:50:04 2014 -0700

    builds/redhat/zeromq.spec: fix manpage lists
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 8fde2d646ccb91453d83e48d0f822f6137cdff77
Author: Dan Mick <dmick@redhat.com>
Date:   Wed Oct 1 20:49:38 2014 -0700

    src/Makefile.am: libzmq.vers must go in dist tarball
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 src/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 2a0fa6baf556cc6cb4228b62a81673ec90792fed
Author: Dan Mick <dmick@redhat.com>
Date:   Wed Oct 1 20:49:00 2014 -0700

    builds/redhat/zeromq.spec: missing '%'
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit de4a442263456213f49a46428b4b2fe8a7ea47d4
Author: Dan Mick <dmick@redhat.com>
Date:   Wed Oct 1 15:53:15 2014 -0700

    builds/msvc/Makefile.am: fix up project file/property file paths
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/msvc/Makefile.am | 102 ++++++++++++++++++++++++------------------------
 1 file changed, 52 insertions(+), 50 deletions(-)

commit 91cc9a2fd0f3f3ef803a3ca493768c61bb087d07
Author: Dan Mick <dmick@redhat.com>
Date:   Wed Oct 1 15:39:03 2014 -0700

    src/Makefile.am: i_properties.hpp removed some time ago
    
    Signed-off-by: Dan Mick <dmick@localhost.localdomain>

 src/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

commit d3c391c3d4c735bdf4295b03bef475d758b173d1
Author: Dan Mick <dmick@redhat.com>
Date:   Tue Sep 30 20:04:57 2014 -0700

    zeromq.spec.in: shared library version bump
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6e53253d11943cb3d8890f440769084e5182c4e2
Author: Dan Mick <dmick@redhat.com>
Date:   Tue Sep 30 20:02:18 2014 -0700

    zeromq.spec.in: Missing build dependencies in specfile: asciidoc, xmlto
    
    Signed-off-by: Dan Mick <dmick@redhat.com>

 builds/redhat/zeromq.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 43028c72295b23610d8df44485819f1e268d731f
Merge: ca0a216 7c5906d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 24 17:34:36 2014 +0200

    Merge pull request #1198 from toussa/master
    
    Problem : Build failed with MinGW on windows

commit 7c5906d138b13f2ab3524dd2ab9e4609b02c2352
Author: Michaël Paul <michael.paul@fivesgroup.com>
Date:   Wed Sep 24 15:46:43 2014 +0200

    Problem : Build failed with MinGW on windows

 src/signaler.cpp | 4 ++++
 1 file changed, 4 insertions(+)

commit 053b14e6c1e09578551ab174a3dc57842970673a
Merge: 7da4012 ca0a216
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Wed Sep 24 15:07:09 2014 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit ca0a216f5262a510d883fa2249bb5733069b130d
Merge: e40d4b2 cf4c03c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 24 11:55:46 2014 +0200

    Merge pull request #1196 from evoskuil/master
    
    Update NuGet package.

commit cf4c03cf01b4af0cdc10c1c346bb21b99a3ed7d5
Author: evoskuil <eric@voskuil.org>
Date:   Tue Sep 23 14:58:37 2014 -0700

    Update NuGet package.

 packaging/nuget/package.config  |  2 +-
 packaging/nuget/package.nuspec  | 50 ++++++++++++++++++++---------------------
 packaging/nuget/package.targets | 40 ++++++++++++++++-----------------
 3 files changed, 46 insertions(+), 46 deletions(-)

commit 7da40124b84ed60dbc6636fe5982ad9296557dab
Merge: 8fbf810 e40d4b2
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Sun Sep 21 10:41:25 2014 +0200

    Merge branch 'master' of github.com:zeromq/libzmq

commit e40d4b23762502c2de9bc2bc4817dfe2f33b8ed9
Merge: fe4396c 0900a48
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Sep 20 10:22:33 2014 +0200

    Merge pull request #1189 from steamraven/master
    
    Problem: curve messages can be replayed

commit 0900a489213d74feb86fc0b343308fe7884a2a3c
Author: Matthew Hawn <steamraven@yahoo.com>
Date:   Fri Sep 19 18:07:57 2014 -0600

    Problem: curve messages can be replayed
    
    Solution: ensure message short nonces are strictly increasing and validate them

 src/curve_client.cpp | 20 +++++++++++++++-----
 src/curve_client.hpp |  1 +
 src/curve_server.cpp | 17 +++++++++++++----
 src/curve_server.hpp |  1 +
 4 files changed, 30 insertions(+), 9 deletions(-)

commit fe4396c597929382214c7966e60f025114d4f32d
Merge: 8e9005d 77f14aa
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Sep 19 20:16:09 2014 +0200

    Merge pull request #1188 from hintjens/master
    
    Problem: stream_engine.cpp security can be downgraded

commit 77f14aad95cdf0d2a244ae9b4a025e5ba0adf01a
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 19 19:24:45 2014 +0200

    Problem: stream_engine.cpp security can be downgraded
    
    Solution: accept only the mechanism defined by the socket options.
    
    I've not tested this yet, so it's a speculative fix.

 src/stream_engine.cpp         | 12 ++++++++----
 tests/test_security_curve.cpp |  4 ++--
 2 files changed, 10 insertions(+), 6 deletions(-)

commit 8e9005d59197306d1033c70eeba3322474c3b097
Merge: 2bf89bd 57ade6d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Sep 18 10:09:49 2014 +0200

    Merge pull request #1186 from hintjens/master
    
    Problem: test_security_curve does't try wrong mechanisms

commit 57ade6d5bbc900bc11ce787018005104e7d2994b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 18 07:32:07 2014 +0200

    Problem: test_security_curve does't try wrong mechanisms
    
    Solution: check that it rejects attempts to connect to a CURVE server
    using NULL or PLAIN client.

 tests/test_security_curve.cpp | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

commit 8fbf810fd1db69de8a2708bcd3ced73450ef0d0f
Author: Mário Kašuba <mario.kasuba@it-academy.sk>
Date:   Thu Sep 18 03:39:25 2014 +0200

    Local changes of libsodium path

 builds/msvc/vs2012/libsodium.import.props | 31 ++++++++-----------------------
 1 file changed, 8 insertions(+), 23 deletions(-)

commit 2bf89bd0f866d6cf934b5bf47a776d67f37c359c
Merge: 19712d3 94943ba
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Sep 17 18:39:45 2014 +0200

    Merge pull request #1185 from banburybill/master
    
    Fix hang terminating PGM ZMQ_SUB (#822).

commit 94943bab3b23ca19e39e4cd65ef59ece93461c2c
Author: Jim Hague <jim.hague@acm.org>
Date:   Wed Sep 17 17:21:44 2014 +0100

    Fix hang terminating PGM ZMQ_SUB (#822).

 src/pgm_receiver.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 19712d3fbb49eca89f2b722a7dd5badcc0d7073e
Merge: 4b70793 5642366
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Sep 17 00:41:29 2014 +0200

    Merge pull request #1181 from whoshuu/patch-1
    
    Fix non-constant-expression narrowing

commit 5642366f10fa86cc6593f53953cf4d3f346aea8c
Author: Huu Nguyen <whoshuu@gmail.com>
Date:   Tue Sep 16 14:27:00 2014 -0700

    Fix non-constant-expression narrowing
    
    For OS X, the microseconds field is implemented as an int type. The implicit narrowing in the initializer list throws a compiler error for some compilers with C++11 support turned on. The specific error message is: "error: non-constant-expression cannot be narrowed from type 'long' to '__darwin_suseconds_t' (aka 'int') in initializer list [-Wc++11-narrowing]".
    
    Tested on Clang 5.1.0 and Mac OS X 10.9.4.

 src/select.cpp | 4 ++++
 1 file changed, 4 insertions(+)

commit 4b70793f1fecceb45e5acd473597b7932b5780ac
Merge: be9fecd 50e0915
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 12 17:25:47 2014 +0200

    Merge pull request #1179 from hurtonm/master
    
    Stop session's timer when pipe terminates

commit 50e0915f984a55ba32bad3907af6b8f9875651fc
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Fri Sep 12 16:39:11 2014 +0200

    Stop session's timer when pipe terminates

 src/session_base.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit be9fecdbc345165360973c482f2ddd18914a2149
Merge: c897af5 a8e900c
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Sep 12 07:22:51 2014 +0200

    Merge pull request #1178 from evoskuil/master
    
    Update nuget package.

commit a8e900c7b314e511e191a5e6828343563e4190cd
Author: evoskuil <eric@voskuil.org>
Date:   Thu Sep 11 17:31:48 2014 -0700

    Update nuget package

 .gitignore                      |  1 +
 packaging/nuget/package.config  |  2 +-
 packaging/nuget/package.nuspec  | 52 ++++++++++++++++++++---------------------
 packaging/nuget/package.targets | 40 +++++++++++++++----------------
 4 files changed, 48 insertions(+), 47 deletions(-)

commit c897af508dc4b19ef08035548416b59f1a9e71e1
Merge: 41a9968 5a497d7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 11 16:16:43 2014 +0200

    Merge pull request #1177 from hurtonm/master
    
    Code cleanup

commit 5a497d7d0cd4035187046b29ffef592378c4d2af
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Sep 11 16:00:48 2014 +0200

    Code cleanup

 src/session_base.cpp | 37 ++++++++++++++-----------------------
 src/session_base.hpp |  5 +----
 src/xpub.cpp         |  6 +++---
 3 files changed, 18 insertions(+), 30 deletions(-)

commit 41a9968c2e89fa5b36424de777a87e47f0e8bca6
Merge: cca297c 51c8c1d
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Sep 10 10:08:04 2014 +0200

    Merge pull request #1176 from hintjens/master
    
    Problem: undocumented limit on IPC paths in Linux is 107 chars

commit 51c8c1d67a1ca7f647835b15ff72773ba2029f3b
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Sep 10 09:38:04 2014 +0200

    Problem: undocumented limit on IPC paths in Linux is 107 chars
    
    Solution: document the limit of 113 chars including ipc://. We might
    fix this in libzmq by shortening an over-long IPC pathname into a
    unique string; so long as this is done consistently in bind and in
    connect, it will save applications from weird failures when they
    use external data to generate IPC pathnames.

 doc/zmq_ipc.txt | 4 ++++
 1 file changed, 4 insertions(+)

commit cca297c31376d712c4a4a752a4fe015ac03a2bcc
Merge: 2c1d5f5 8cd8585
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Sep 4 07:09:43 2014 +0200

    Merge pull request #1173 from evoskuil/master
    
    Fix configure warning.

commit 8cd85857fb88fb735116795247ce9bb344f56e21
Author: evoskuil <eric@voskuil.org>
Date:   Tue Sep 2 23:39:33 2014 -0700

    Fix potential redefinition of common DEBUG symbol, replace tabs.

 tests/test_router_mandatory_hwm.cpp | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

commit 2c1d5f5a96be57b12bce65ff8224e37a45688c84
Merge: 83c6bc2 d1881ac
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sun Aug 31 20:34:10 2014 +0200

    Merge pull request #1174 from jbreams/master
    
    Clean up after using randombytes from libsodium

commit d1881acbdcffbc43c5a38e357562f0f814783039
Author: Jonathan Reams <jbreams@gmail.com>
Date:   Sun Aug 31 13:30:44 2014 -0400

    Clean up after using randombytes from libsodium
    
    When Curve authentication is used, libsodium opens a file
    descriptor to /dev/urandom to generate random bytes. When
    the ZMQ context terminates, it should ensure that file gets
    closed.

 src/ctx.cpp                                | 14 ++++++++++++++
 tweetnacl/contrib/randombytes/devurandom.c | 10 ++++++++++
 tweetnacl/contrib/randombytes/devurandom.h |  1 +
 3 files changed, 25 insertions(+)

commit 992dca6ba76fdd88f6d2d002c91b79cf9f66b4f9
Author: anonymous <eric@voskuil.org>
Date:   Sat Aug 30 21:38:54 2014 -0700

    Fix configure warning.

 perf/Makefile.am  | 4 ++--
 tools/Makefile.am | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 83c6bc20db560f211bbab3dc63b48e26ec6ebead
Merge: 21e2012 d76536e
Author: Pieter Hintjens <ph@imatix.com>
Date:   Fri Aug 29 10:06:58 2014 +0200

    Merge pull request #1172 from evoskuil/master
    
    Fix clang build break from unused var.

commit d76536eb704486be1aee833036c57ee296b923ab
Author: evoskuil <eric@voskuil.org>
Date:   Thu Aug 28 18:25:35 2014 -0700

    Default Travis clang build fails on unused variable 'MAX_SENDS'.

 tests/test_hwm_pubsub.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2208907a884dcc83c92bf1bf2bfba266f701384c
Author: evoskuil <eric@voskuil.org>
Date:   Thu Aug 28 18:20:40 2014 -0700

    Hide VS turd.

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

commit 21e20127b6ef0b4cb16b89bc7bb62f9d314c82aa
Merge: 128bed4 f15146b
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Aug 27 13:58:56 2014 +0200

    Merge pull request #1171 from hintjens/master
    
    Problem: nodrop code is ugly

commit f15146b5d2cfabc166977e078a423db4d06c1be8
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 27 13:48:47 2014 +0200

    Problem: nodrop code is ugly
    
    It's bad practice to start by testing all exceptional conditions
    and then dropping through to the 'normal' condition. Apart from
    being inefficient, it's deceptive to the user. Conditional code
    should always try to show the natural expectation of the code,
    with exceptional cases coming last.
    
    Solution: clean up this code.

 src/xpub.cpp | 31 +++++++++++++------------------
 1 file changed, 13 insertions(+), 18 deletions(-)

commit 128bed472be34eed7880ab0bbb5b3252896f2df2
Merge: 81485c7 2584c3a
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Aug 27 13:25:27 2014 +0200

    Merge pull request #1170 from hintjens/master
    
    Fixed issues with xpub nodrop property

commit 2584c3a72450eb106efd1223e734f5bdcf98195d
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 27 12:06:49 2014 +0200

    Added test cases to .gitignore

 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

commit 35040aaf1833feed9628d6589200cb2b51c5b247
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 27 12:04:51 2014 +0200

    Problem: issues with nodrop property
    
    - not initialized before use
    - name is nasty (boolean variables should not have negative names)
    
    Solution: rename to 'lossy' and initialize to 'true'.

 src/xpub.cpp | 15 ++++++++-------
 src/xpub.hpp |  4 ++--
 2 files changed, 10 insertions(+), 9 deletions(-)

commit 81485c7688a19cb947f77aad7765a2de59f10eb5
Merge: 3811b0b 8926cb3
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Aug 26 11:14:09 2014 +0200

    Merge pull request #1168 from ricnewton/master
    
    Fix test broken when we changed FD_SETSIZE.

commit 8926cb3ddbb7f8f31c364b177c106745baff45bc
Author: Richard Newton <richard_newton@waters.com>
Date:   Tue Aug 26 08:36:51 2014 +0100

    Fix test broken when we changed FD_SETSIZE.

 tests/test_ctx_options.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3811b0b1ef15871c6ea4e28feddd8ed3da6bd60d
Merge: 72b8a19 1acc1b1
Author: Richard Newton <richard_newton@waters.com>
Date:   Tue Aug 26 08:29:47 2014 +0100

    Merge pull request #1166 from hintjens/master
    
    Problem: FD_SETSIZE 1024 is too restrictive under Windows

commit 1acc1b15820f8c437fae1a5d2f13a8ebbcecbd06
Author: Pieter Hintjens <ph@imatix.com>
Date:   Sat Aug 23 13:59:53 2014 +0200

    Problem: FD_SETSIZE 1024 is too restrictive under Windows
    
    Solution: increased to 4096 by default for all MSVC builds, for MinGW,
    and for CMake.
    
    Note: this is a speculative change, it needs confirmation before we
    can keep it. Particularly, there is some doubt that changing this in
    libzmq will affect upstream applications using libzmq.dll.

 CMakeLists.txt                          |  2 +-
 builds/mingw32/Makefile.mingw32         |  2 +-
 builds/msvc/vs2008/libzmq/libzmq.vcproj | 10 +++++-----
 builds/msvc/vs2010/libzmq/libzmq.props  |  2 +-
 builds/msvc/vs2012/libzmq/libzmq.props  |  2 +-
 builds/msvc/vs2013/libzmq/libzmq.props  |  2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

commit 72b8a19691bad5e91789ff39c61c2f3c3cd25e38
Merge: b817f3c f550d66
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Aug 14 10:10:10 2014 +0200

    Merge pull request #1163 from hurtonm/master
    
    Code cleanup

commit f550d66ae3c958a29188a5dcbcc1e3ba53e978f9
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Thu Aug 14 08:56:48 2014 +0200

    Code cleanup

 src/pipe.cpp | 18 +++++++++---------
 src/pipe.hpp |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

commit b817f3c61ea60fbca60954dcc2a186cabd86e426
Merge: fadb2a3 fbdc5aa
Author: Pieter Hintjens <ph@imatix.com>
Date:   Thu Aug 14 07:33:24 2014 +0200

    Merge pull request #1162 from xaqq/encode_decode
    
    Add const qualifier to source parameters for z85 encode/decode

commit fbdc5aa22d2c510dcc7f202ed5770f226cbb97f1
Author: Kapp Arnaud <kapp.arno@gmail.com>
Date:   Thu Aug 14 00:00:00 2014 +0200

    Add const qualifier to source parameters in zmq_z85_decode and zmq_z85_encode

 doc/zmq_z85_decode.txt | 4 ++--
 doc/zmq_z85_encode.txt | 2 +-
 include/zmq.h          | 4 ++--
 src/zmq_utils.cpp      | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

commit fadb2a38d9b1afae5f35cdb9c3f24712e14c5469
Merge: 25de6a0 a54d8d7
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 13 09:21:46 2014 +0200

    Merge pull request #1161 from hurtonm/master
    
    Reset metadata for outbound messages

commit a54d8d7b0c1f5fa423d91fb7420b4a6835200459
Author: Martin Hurton <hurtonm@gmail.com>
Date:   Wed Aug 13 08:51:13 2014 +0200

    Reset metadata for outbound messages

 .gitignore                                       |  130 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   15 +
 AUTHORS                                          |  137 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |   41 +
 NEWS                                             |  923 +++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  101 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/redhat/zeromq.spec.in                     |  170 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 configure.ac                                     |  575 +++++++++
 doc/Makefile.am                                  |   54 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  253 ++++
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   77 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |   88 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_epgm.txt                                 |    1 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |   95 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  128 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  948 +++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  112 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   65 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 foreign/openpgm/Makefile.am                      |    8 +
 foreign/openpgm/libpgm-5.2.122~dfsg.tar.gz       |  Bin 0 -> 951536 bytes
 include/zmq.h                                    |  473 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/Makefile.am                                 |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/Makefile.am                                  |  219 ++++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  543 +++++++++
 src/ctx.hpp                                      |  213 ++++
 src/curve_client.cpp                             |  439 +++++++
 src/curve_client.hpp                             |  118 ++
 src/curve_server.cpp                             |  710 ++++++++++++
 src/curve_server.hpp                             |  127 ++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  379 ++++++
 src/msg.hpp                                      |  177 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  854 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  239 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  220 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  616 ++++++++++
 src/session_base.hpp                             |  164 +++
 src/signaler.cpp                                 |  551 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1342 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  916 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  200 ++++
 src/xpub.hpp                                     |   97 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1085 +++++++++++++++++
 src/zmq_utils.cpp                                |  206 ++++
 tests/CMakeLists.txt                             |   81 ++
 tests/Makefile.am                                |  165 +++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   59 +
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  125 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  111 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  211 ++++
 tests/test_security_null.cpp                     |  134 +++
 tests/test_security_plain.cpp                    |  150 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  104 ++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/testutil.hpp                               |  293 +++++
 tools/Makefile.am                                |    9 +
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   34 +
 tweetnacl/contrib/randombytes/devurandom.h       |   24 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 485 files changed, 69194 insertions(+)

commit 25de6a03ac55a39d03dd83c35f4a46950a852266
Author: Pieter Hintjens <ph@imatix.com>
Date:   Wed Aug 13 06:12:29 2014 +0200

    Merge pull request #1159 from kreuzberger/master
    
    Bugfix wrong CMakeLists.txt after rename of file

 .gitignore                                       |  130 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   15 +
 AUTHORS                                          |  137 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |   41 +
 NEWS                                             |  923 +++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  101 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/redhat/zeromq.spec.in                     |  170 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 configure.ac                                     |  575 ++++++++++
 doc/Makefile.am                                  |   54 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  253 ++++
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   77 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |   88 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_epgm.txt                                 |    1 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |   95 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  128 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  948 +++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  112 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   65 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 foreign/openpgm/Makefile.am                      |    8 +
 foreign/openpgm/libpgm-5.2.122~dfsg.tar.gz       |  Bin 0 -> 951536 bytes
 include/zmq.h                                    |  473 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/Makefile.am                                 |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/Makefile.am                                  |  219 ++++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  543 +++++++++
 src/ctx.hpp                                      |  213 ++++
 src/curve_client.cpp                             |  439 +++++++
 src/curve_client.hpp                             |  118 ++
 src/curve_server.cpp                             |  710 ++++++++++++
 src/curve_server.hpp                             |  127 ++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  370 ++++++
 src/msg.hpp                                      |  176 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  854 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  239 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  220 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  616 ++++++++++
 src/session_base.hpp                             |  164 +++
 src/signaler.cpp                                 |  551 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1340 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  916 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  200 ++++
 src/xpub.hpp                                     |   97 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1085 ++++++++++++++++++
 src/zmq_utils.cpp                                |  206 ++++
 tests/CMakeLists.txt                             |   81 ++
 tests/Makefile.am                                |  165 +++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   59 +
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  125 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  111 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  211 ++++
 tests/test_security_null.cpp                     |  134 +++
 tests/test_security_plain.cpp                    |  150 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  104 ++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_nodrop.cpp                       |  106 ++
 tests/testutil.hpp                               |  293 +++++
 tools/Makefile.am                                |    9 +
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   34 +
 tweetnacl/contrib/randombytes/devurandom.h       |   24 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 485 files changed, 69182 insertions(+)

commit f20b70bef53cf41752388a3c0e12adcfad013b20
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Aug 12 12:36:56 2014 +0200

    Cleaned up test_xpub_nodrop
    
    Renamed test case to actually explain what it's testing, and cleaned up
    the code a little.

 tests/Makefile.am          |  2 +-
 tests/test_xpub_nodrop.cpp | 61 +++++++++++++++++++++-------------------------
 2 files changed, 29 insertions(+), 34 deletions(-)

commit a7fed989a690f3b817a68469f65ff6e8a7c16119
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Aug 12 12:30:43 2014 +0200

    Minor changes to Travis CI script

 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 785aebc6a83d51107e6f89e4e7ef28104c9b9c70
Author: Pieter Hintjens <ph@imatix.com>
Date:   Tue Aug 12 12:22:17 2014 +0200

    Reworking Travis script

 .gitignore                                       |  130 +++
 .hgeol                                           |    2 +
 .travis.yml                                      |   14 +
 AUTHORS                                          |  137 +++
 CMakeLists.txt                                   |  844 ++++++++++++++
 COPYING                                          |  674 +++++++++++
 COPYING.LESSER                                   |  181 +++
 Dockerfile                                       |   11 +
 INSTALL                                          |  246 ++++
 MAINTAINERS                                      |   56 +
 Makefile.am                                      |   41 +
 NEWS                                             |  923 +++++++++++++++
 README.md                                        |   38 +
 acinclude.m4                                     |  930 +++++++++++++++
 autogen.sh                                       |   45 +
 branding.bmp                                     |  Bin 0 -> 25818 bytes
 builds/cmake/Modules/FindAsciiDoc.cmake          |   24 +
 builds/cmake/Modules/TestZMQVersion.cmake        |   18 +
 builds/cmake/Modules/ZMQSourceRunChecks.cmake    |  129 +++
 builds/cmake/NSIS.template32.in                  |  952 +++++++++++++++
 builds/cmake/NSIS.template64.in                  |  960 ++++++++++++++++
 builds/cmake/platform.hpp.in                     |   90 ++
 builds/mingw32/Makefile.mingw32                  |   47 +
 builds/mingw32/platform.hpp                      |   32 +
 builds/msvc/Makefile.am                          |  101 ++
 builds/msvc/build/buildall.bat                   |   10 +
 builds/msvc/build/buildbase.bat                  |   69 ++
 builds/msvc/errno.cpp                            |   32 +
 builds/msvc/errno.hpp                            |   56 +
 builds/msvc/platform.hpp                         |   32 +
 builds/msvc/properties/Common.props              |   21 +
 builds/msvc/properties/DLL.props                 |   16 +
 builds/msvc/properties/Debug.props               |   29 +
 builds/msvc/properties/DebugDEXE.props           |   21 +
 builds/msvc/properties/DebugDLL.props            |   20 +
 builds/msvc/properties/DebugLEXE.props           |   20 +
 builds/msvc/properties/DebugLIB.props            |   21 +
 builds/msvc/properties/DebugLTCG.props           |   20 +
 builds/msvc/properties/DebugSEXE.props           |   21 +
 builds/msvc/properties/EXE.props                 |   17 +
 builds/msvc/properties/LIB.props                 |   16 +
 builds/msvc/properties/LTCG.props                |   13 +
 builds/msvc/properties/Link.props                |   21 +
 builds/msvc/properties/Messages.props            |   15 +
 builds/msvc/properties/Output.props              |   30 +
 builds/msvc/properties/Release.props             |   41 +
 builds/msvc/properties/ReleaseDEXE.props         |   20 +
 builds/msvc/properties/ReleaseDLL.props          |   19 +
 builds/msvc/properties/ReleaseLEXE.props         |   20 +
 builds/msvc/properties/ReleaseLIB.props          |   19 +
 builds/msvc/properties/ReleaseLTCG.props         |   19 +
 builds/msvc/properties/ReleaseSEXE.props         |   20 +
 builds/msvc/properties/Win32.props               |   20 +
 builds/msvc/properties/x64.props                 |   23 +
 builds/msvc/readme.txt                           |   14 +
 builds/msvc/resource.h                           |   14 +
 builds/msvc/resource.rc                          |  Bin 0 -> 4642 bytes
 builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj  |   52 +
 builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj  |   52 +
 builds/msvc/vs2008/libzmq.sln                    |   95 ++
 builds/msvc/vs2008/libzmq/libzmq.vcproj          |  263 +++++
 builds/msvc/vs2008/local_lat/local_lat.vcproj    |   52 +
 builds/msvc/vs2008/local_thr/local_thr.vcproj    |   52 +
 builds/msvc/vs2008/remote_lat/remote_lat.vcproj  |   52 +
 builds/msvc/vs2008/remote_thr/remote_thr.vcproj  |   52 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2010/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2010/libsodium.import.props        |   52 +
 builds/msvc/vs2010/libsodium.import.xml          |   17 +
 builds/msvc/vs2010/libzmq.import.props           |   66 ++
 builds/msvc/vs2010/libzmq.import.xml             |   38 +
 builds/msvc/vs2010/libzmq.sln                    |  206 ++++
 builds/msvc/vs2010/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2010/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2010/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2010/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2010/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2010/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2010/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2010/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2010/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2010/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2012/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2012/libsodium.import.props        |   52 +
 builds/msvc/vs2012/libsodium.import.xml          |   17 +
 builds/msvc/vs2012/libzmq.import.props           |   66 ++
 builds/msvc/vs2012/libzmq.import.xml             |   38 +
 builds/msvc/vs2012/libzmq.sln                    |  206 ++++
 builds/msvc/vs2012/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2012/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2012/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2012/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2012/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2012/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2012/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2012/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2012/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2012/remote_thr/remote_thr.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_lat/inproc_lat.props   |   48 +
 builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj |   79 ++
 builds/msvc/vs2013/inproc_thr/inproc_thr.props   |   48 +
 builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj |   79 ++
 builds/msvc/vs2013/libsodium.import.props        |   52 +
 builds/msvc/vs2013/libsodium.import.xml          |   17 +
 builds/msvc/vs2013/libzmq.import.props           |   66 ++
 builds/msvc/vs2013/libzmq.import.xml             |   38 +
 builds/msvc/vs2013/libzmq.sln                    |  208 ++++
 builds/msvc/vs2013/libzmq/libzmq.props           |   69 ++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj         |  250 ++++
 builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters |  540 +++++++++
 builds/msvc/vs2013/libzmq/libzmq.xml             |   25 +
 builds/msvc/vs2013/local_lat/local_lat.props     |   48 +
 builds/msvc/vs2013/local_lat/local_lat.vcxproj   |   79 ++
 builds/msvc/vs2013/local_thr/local_thr.props     |   48 +
 builds/msvc/vs2013/local_thr/local_thr.vcxproj   |   83 ++
 builds/msvc/vs2013/remote_lat/remote_lat.props   |   48 +
 builds/msvc/vs2013/remote_lat/remote_lat.vcxproj |   83 ++
 builds/msvc/vs2013/remote_thr/remote_thr.props   |   48 +
 builds/msvc/vs2013/remote_thr/remote_thr.vcxproj |   79 ++
 builds/nuget/libzmq.autopkg                      |   52 +
 builds/nuget/readme.nuget                        |   20 +
 builds/redhat/zeromq.spec.in                     |  170 +++
 builds/valgrind/valgrind.supp                    |   14 +
 builds/valgrind/vg                               |    1 +
 builds/zos/README.md                             |  463 ++++++++
 builds/zos/cxxall                                |   62 +
 builds/zos/makeclean                             |   36 +
 builds/zos/makelibzmq                            |   54 +
 builds/zos/maketests                             |  102 ++
 builds/zos/platform.hpp                          |  300 +++++
 builds/zos/runtests                              |  188 +++
 builds/zos/test_fork.cpp                         |   85 ++
 builds/zos/zc++                                  |   42 +
 configure.ac                                     |  575 ++++++++++
 doc/Makefile.am                                  |   54 +
 doc/asciidoc.conf                                |   56 +
 doc/zmq.txt                                      |  253 ++++
 doc/zmq_bind.txt                                 |  102 ++
 doc/zmq_close.txt                                |   52 +
 doc/zmq_connect.txt                              |  100 ++
 doc/zmq_ctx_destroy.txt                          |   67 ++
 doc/zmq_ctx_get.txt                              |   77 ++
 doc/zmq_ctx_new.txt                              |   50 +
 doc/zmq_ctx_set.txt                              |   88 ++
 doc/zmq_ctx_shutdown.txt                         |   52 +
 doc/zmq_ctx_term.txt                             |   67 ++
 doc/zmq_curve.txt                                |   92 ++
 doc/zmq_curve_keypair.txt                        |   56 +
 doc/zmq_disconnect.txt                           |   75 ++
 doc/zmq_epgm.txt                                 |    1 +
 doc/zmq_errno.txt                                |   50 +
 doc/zmq_getsockopt.txt                           |  740 ++++++++++++
 doc/zmq_gssapi.txt                               |   57 +
 doc/zmq_has.txt                                  |   43 +
 doc/zmq_init.txt                                 |   52 +
 doc/zmq_inproc.txt                               |   85 ++
 doc/zmq_ipc.txt                                  |   95 ++
 doc/zmq_msg_close.txt                            |   56 +
 doc/zmq_msg_copy.txt                             |   72 ++
 doc/zmq_msg_data.txt                             |   48 +
 doc/zmq_msg_get.txt                              |   83 ++
 doc/zmq_msg_gets.txt                             |   61 +
 doc/zmq_msg_init.txt                             |   65 ++
 doc/zmq_msg_init_data.txt                        |   89 ++
 doc/zmq_msg_init_size.txt                        |   58 +
 doc/zmq_msg_more.txt                             |   65 ++
 doc/zmq_msg_move.txt                             |   52 +
 doc/zmq_msg_recv.txt                             |  124 ++
 doc/zmq_msg_send.txt                             |  125 ++
 doc/zmq_msg_set.txt                              |   46 +
 doc/zmq_msg_size.txt                             |   48 +
 doc/zmq_null.txt                                 |   27 +
 doc/zmq_pgm.txt                                  |  163 +++
 doc/zmq_plain.txt                                |   37 +
 doc/zmq_poll.txt                                 |  128 +++
 doc/zmq_proxy.txt                                |   98 ++
 doc/zmq_proxy_steerable.txt                      |   98 ++
 doc/zmq_recv.txt                                 |   90 ++
 doc/zmq_recvmsg.txt                              |  121 ++
 doc/zmq_send.txt                                 |  102 ++
 doc/zmq_send_const.txt                           |  103 ++
 doc/zmq_sendmsg.txt                              |  119 ++
 doc/zmq_setsockopt.txt                           |  948 +++++++++++++++
 doc/zmq_socket.txt                               |  455 ++++++++
 doc/zmq_socket_monitor.txt                       |  239 ++++
 doc/zmq_strerror.txt                             |   56 +
 doc/zmq_tcp.txt                                  |  112 ++
 doc/zmq_term.txt                                 |   66 ++
 doc/zmq_tipc.txt                                 |   82 ++
 doc/zmq_unbind.txt                               |   65 ++
 doc/zmq_version.txt                              |   54 +
 doc/zmq_z85_decode.txt                           |   50 +
 doc/zmq_z85_encode.txt                           |   57 +
 foreign/openpgm/Makefile.am                      |    8 +
 foreign/openpgm/libpgm-5.2.122~dfsg.tar.gz       |  Bin 0 -> 951536 bytes
 include/zmq.h                                    |  473 ++++++++
 include/zmq_utils.h                              |   20 +
 installer.ico                                    |  Bin 0 -> 2842 bytes
 packaging/nuget/package.bat                      |   13 +
 packaging/nuget/package.config                   |    6 +
 packaging/nuget/package.gsl                      |  265 +++++
 packaging/nuget/package.nuspec                   |   99 ++
 packaging/nuget/package.targets                  |  130 +++
 packaging/nuget/package.xml                      |   22 +
 perf/Makefile.am                                 |   22 +
 perf/inproc_lat.cpp                              |  231 ++++
 perf/inproc_thr.cpp                              |  241 ++++
 perf/local_lat.cpp                               |  107 ++
 perf/local_thr.cpp                               |  131 +++
 perf/remote_lat.cpp                              |  120 ++
 perf/remote_thr.cpp                              |   98 ++
 src/Makefile.am                                  |  219 ++++
 src/address.cpp                                  |   95 ++
 src/address.hpp                                  |   57 +
 src/array.hpp                                    |  153 +++
 src/atomic_counter.hpp                           |  205 ++++
 src/atomic_ptr.hpp                               |  202 ++++
 src/blob.hpp                                     |  129 +++
 src/clock.cpp                                    |  200 ++++
 src/clock.hpp                                    |   59 +
 src/command.hpp                                  |  153 +++
 src/config.hpp                                   |   87 ++
 src/ctx.cpp                                      |  543 +++++++++
 src/ctx.hpp                                      |  213 ++++
 src/curve_client.cpp                             |  439 +++++++
 src/curve_client.hpp                             |  118 ++
 src/curve_server.cpp                             |  710 ++++++++++++
 src/curve_server.hpp                             |  127 ++
 src/dbuffer.hpp                                  |  134 +++
 src/dealer.cpp                                   |  131 +++
 src/dealer.hpp                                   |   79 ++
 src/decoder.hpp                                  |  173 +++
 src/devpoll.cpp                                  |  194 ++++
 src/devpoll.hpp                                  |  109 ++
 src/dist.cpp                                     |  206 ++++
 src/dist.hpp                                     |  107 ++
 src/encoder.hpp                                  |  175 +++
 src/epoll.cpp                                    |  182 +++
 src/epoll.hpp                                    |  105 ++
 src/err.cpp                                      |  376 ++++++
 src/err.hpp                                      |  158 +++
 src/fd.hpp                                       |   44 +
 src/fq.cpp                                       |  152 +++
 src/fq.hpp                                       |   82 ++
 src/gssapi_client.cpp                            |  220 ++++
 src/gssapi_client.hpp                            |   83 ++
 src/gssapi_mechanism_base.cpp                    |  337 ++++++
 src/gssapi_mechanism_base.hpp                    |  122 ++
 src/gssapi_server.cpp                            |  367 ++++++
 src/gssapi_server.hpp                            |   86 ++
 src/i_decoder.hpp                                |   51 +
 src/i_encoder.hpp                                |   50 +
 src/i_engine.hpp                                 |   60 +
 src/i_poll_events.hpp                            |   45 +
 src/io_object.cpp                                |  106 ++
 src/io_object.hpp                                |   79 ++
 src/io_thread.cpp                                |  102 ++
 src/io_thread.hpp                                |   89 ++
 src/ip.cpp                                       |  166 +++
 src/ip.hpp                                       |   47 +
 src/ipc_address.cpp                              |   95 ++
 src/ipc_address.hpp                              |   66 ++
 src/ipc_connecter.cpp                            |  265 +++++
 src/ipc_connecter.hpp                            |  127 ++
 src/ipc_listener.cpp                             |  305 +++++
 src/ipc_listener.hpp                             |  104 ++
 src/kqueue.cpp                                   |  215 ++++
 src/kqueue.hpp                                   |  117 ++
 src/lb.cpp                                       |  150 +++
 src/lb.hpp                                       |   78 ++
 src/libzmq.pc.cmake.in                           |   10 +
 src/libzmq.pc.in                                 |   10 +
 src/libzmq.vers                                  |    4 +
 src/likely.hpp                                   |   32 +
 src/mailbox.cpp                                  |   86 ++
 src/mailbox.hpp                                  |   80 ++
 src/mechanism.cpp                                |  184 +++
 src/mechanism.hpp                                |  129 +++
 src/metadata.cpp                                 |   49 +
 src/metadata.hpp                                 |   60 +
 src/msg.cpp                                      |  370 ++++++
 src/msg.hpp                                      |  176 +++
 src/mtrie.cpp                                    |  430 +++++++
 src/mtrie.hpp                                    |   91 ++
 src/mutex.hpp                                    |  157 +++
 src/norm_engine.cpp                              |  728 ++++++++++++
 src/norm_engine.hpp                              |  188 +++
 src/null_mechanism.cpp                           |  348 ++++++
 src/null_mechanism.hpp                           |   74 ++
 src/object.cpp                                   |  427 +++++++
 src/object.hpp                                   |  142 +++
 src/options.cpp                                  |  854 ++++++++++++++
 src/options.hpp                                  |  185 +++
 src/own.cpp                                      |  205 ++++
 src/own.hpp                                      |  144 +++
 src/pair.cpp                                     |  131 +++
 src/pair.hpp                                     |   68 ++
 src/pgm_receiver.cpp                             |  296 +++++
 src/pgm_receiver.hpp                             |  142 +++
 src/pgm_sender.cpp                               |  239 ++++
 src/pgm_sender.hpp                               |  119 ++
 src/pgm_socket.cpp                               |  706 ++++++++++++
 src/pgm_socket.hpp                               |  121 ++
 src/pipe.cpp                                     |  508 ++++++++
 src/pipe.hpp                                     |  226 ++++
 src/plain_client.cpp                             |  212 ++++
 src/plain_client.hpp                             |   69 ++
 src/plain_server.cpp                             |  430 +++++++
 src/plain_server.hpp                             |   83 ++
 src/poll.cpp                                     |  180 +++
 src/poll.hpp                                     |  109 ++
 src/poller.hpp                                   |   51 +
 src/poller_base.cpp                              |   99 ++
 src/poller_base.hpp                              |   85 ++
 src/precompiled.cpp                              |   20 +
 src/precompiled.hpp                              |   46 +
 src/proxy.cpp                                    |  176 +++
 src/proxy.hpp                                    |   32 +
 src/pub.cpp                                      |   43 +
 src/pub.hpp                                      |   52 +
 src/pull.cpp                                     |   67 ++
 src/pull.hpp                                     |   65 ++
 src/push.cpp                                     |   62 +
 src/push.hpp                                     |   63 +
 src/random.cpp                                   |   51 +
 src/random.hpp                                   |   36 +
 src/raw_decoder.cpp                              |   63 +
 src/raw_decoder.hpp                              |   66 ++
 src/raw_encoder.cpp                              |   40 +
 src/raw_encoder.hpp                              |   60 +
 src/reaper.cpp                                   |  127 ++
 src/reaper.hpp                                   |   84 ++
 src/rep.cpp                                      |  123 ++
 src/rep.hpp                                      |   63 +
 src/req.cpp                                      |  279 +++++
 src/req.hpp                                      |  110 ++
 src/router.cpp                                   |  492 ++++++++
 src/router.hpp                                   |  131 +++
 src/select.cpp                                   |  220 ++++
 src/select.hpp                                   |  130 +++
 src/session_base.cpp                             |  616 ++++++++++
 src/session_base.hpp                             |  164 +++
 src/signaler.cpp                                 |  551 +++++++++
 src/signaler.hpp                                 |   80 ++
 src/socket_base.cpp                              | 1340 ++++++++++++++++++++++
 src/socket_base.hpp                              |  271 +++++
 src/socks.cpp                                    |  273 +++++
 src/socks.hpp                                    |  125 ++
 src/socks_connecter.cpp                          |  468 ++++++++
 src/socks_connecter.hpp                          |  154 +++
 src/stdint.hpp                                   |   62 +
 src/stream.cpp                                   |  285 +++++
 src/stream.hpp                                   |   97 ++
 src/stream_engine.cpp                            |  916 +++++++++++++++
 src/stream_engine.hpp                            |  208 ++++
 src/sub.cpp                                      |   80 ++
 src/sub.hpp                                      |   54 +
 src/tcp.cpp                                      |  244 ++++
 src/tcp.hpp                                      |   52 +
 src/tcp_address.cpp                              |  662 +++++++++++
 src/tcp_address.hpp                              |  106 ++
 src/tcp_connecter.cpp                            |  357 ++++++
 src/tcp_connecter.hpp                            |  121 ++
 src/tcp_listener.cpp                             |  323 ++++++
 src/tcp_listener.hpp                             |   89 ++
 src/thread.cpp                                   |  134 +++
 src/thread.hpp                                   |   81 ++
 src/tipc_address.cpp                             |  107 ++
 src/tipc_address.hpp                             |   65 ++
 src/tipc_connecter.cpp                           |  256 +++++
 src/tipc_connecter.hpp                           |  127 ++
 src/tipc_listener.cpp                            |  178 +++
 src/tipc_listener.hpp                            |   97 ++
 src/trie.cpp                                     |  334 ++++++
 src/trie.hpp                                     |   76 ++
 src/v1_decoder.cpp                               |  148 +++
 src/v1_decoder.hpp                               |   57 +
 src/v1_encoder.cpp                               |   65 ++
 src/v1_encoder.hpp                               |   49 +
 src/v2_decoder.cpp                               |  142 +++
 src/v2_decoder.hpp                               |   57 +
 src/v2_encoder.cpp                               |   67 ++
 src/v2_encoder.hpp                               |   49 +
 src/v2_protocol.hpp                              |   39 +
 src/version.rc.in                                |   93 ++
 src/windows.hpp                                  |   73 ++
 src/wire.hpp                                     |   98 ++
 src/xpub.cpp                                     |  200 ++++
 src/xpub.hpp                                     |   97 ++
 src/xsub.cpp                                     |  233 ++++
 src/xsub.hpp                                     |   93 ++
 src/ypipe.hpp                                    |  209 ++++
 src/ypipe_base.hpp                               |   44 +
 src/ypipe_conflate.hpp                           |  127 ++
 src/yqueue.hpp                                   |  195 ++++
 src/zmq.cpp                                      | 1085 ++++++++++++++++++
 src/zmq_utils.cpp                                |  206 ++++
 tests/CMakeLists.txt                             |   81 ++
 tests/Makefile.am                                |  165 +++
 tests/test_abstract_ipc.cpp                      |   57 +
 tests/test_bind_src_address.cpp                  |   47 +
 tests/test_capabilities.cpp                      |   61 +
 tests/test_conflate.cpp                          |   72 ++
 tests/test_connect_delay_tipc.cpp                |  238 ++++
 tests/test_connect_resolve.cpp                   |   57 +
 tests/test_connect_rid.cpp                       |  184 +++
 tests/test_ctx_destroy.cpp                       |   90 ++
 tests/test_ctx_options.cpp                       |   59 +
 tests/test_diffserv.cpp                          |   70 ++
 tests/test_disconnect_inproc.cpp                 |  125 ++
 tests/test_filter_ipc.cpp                        |  161 +++
 tests/test_fork.cpp                              |   81 ++
 tests/test_hwm.cpp                               |  299 +++++
 tests/test_hwm_pubsub.cpp                        |  161 +++
 tests/test_id2fd.cpp                             |   87 ++
 tests/test_immediate.cpp                         |  228 ++++
 tests/test_inproc_connect.cpp                    |  479 ++++++++
 tests/test_invalid_rep.cpp                       |   88 ++
 tests/test_iov.cpp                               |  106 ++
 tests/test_ipc_wildcard.cpp                      |   55 +
 tests/test_issue_566.cpp                         |   85 ++
 tests/test_last_endpoint.cpp                     |   56 +
 tests/test_many_sockets.cpp                      |   90 ++
 tests/test_metadata.cpp                          |  118 ++
 tests/test_monitor.cpp                           |  128 +++
 tests/test_msg_flags.cpp                         |  117 ++
 tests/test_pair_inproc.cpp                       |   71 ++
 tests/test_pair_ipc.cpp                          |   50 +
 tests/test_pair_tcp.cpp                          |   50 +
 tests/test_pair_tipc.cpp                         |   54 +
 tests/test_probe_router.cpp                      |   72 ++
 tests/test_proxy.cpp                             |  251 ++++
 tests/test_req_correlate.cpp                     |  177 +++
 tests/test_req_relaxed.cpp                       |  116 ++
 tests/test_reqrep_device.cpp                     |  135 +++
 tests/test_reqrep_device_tipc.cpp                |  143 +++
 tests/test_reqrep_inproc.cpp                     |   50 +
 tests/test_reqrep_ipc.cpp                        |   50 +
 tests/test_reqrep_tcp.cpp                        |   50 +
 tests/test_reqrep_tipc.cpp                       |   54 +
 tests/test_router_handover.cpp                   |  101 ++
 tests/test_router_mandatory.cpp                  |   81 ++
 tests/test_router_mandatory_hwm.cpp              |  111 ++
 tests/test_router_mandatory_tipc.cpp             |   62 +
 tests/test_security_curve.cpp                    |  211 ++++
 tests/test_security_null.cpp                     |  134 +++
 tests/test_security_plain.cpp                    |  150 +++
 tests/test_shutdown_stress.cpp                   |   80 ++
 tests/test_shutdown_stress_tipc.cpp              |   93 ++
 tests/test_spec_dealer.cpp                       |  254 ++++
 tests/test_spec_pushpull.cpp                     |  293 +++++
 tests/test_spec_rep.cpp                          |  155 +++
 tests/test_spec_req.cpp                          |  253 ++++
 tests/test_spec_router.cpp                       |  204 ++++
 tests/test_srcfd.cpp                             |   99 ++
 tests/test_stream.cpp                            |  273 +++++
 tests/test_stream_disconnect.cpp                 |  258 +++++
 tests/test_stream_empty.cpp                      |   60 +
 tests/test_stream_timeout.cpp                    |  216 ++++
 tests/test_sub_forward.cpp                       |   91 ++
 tests/test_sub_forward_tipc.cpp                  |  101 ++
 tests/test_system.cpp                            |   89 ++
 tests/test_term_endpoint.cpp                     |  104 ++
 tests/test_term_endpoint_tipc.cpp                |  120 ++
 tests/test_timeo.cpp                             |   75 ++
 tests/test_xpub_nodrop.cpp                       |  111 ++
 tests/testutil.hpp                               |  293 +++++
 tools/Makefile.am                                |    9 +
 tools/curve_keygen.cpp                           |   55 +
 tweetnacl/contrib/randombytes/devurandom.c       |   34 +
 tweetnacl/contrib/randombytes/devurandom.h       |   24 +
 tweetnacl/contrib/randombytes/randombytes.h      |    5 +
 tweetnacl/src/tweetnacl.c                        |  818 +++++++++++++
 tweetnacl/src/tweetnacl.h                        |  273 +++++
 tweetnacl/src/tweetnacl_base.h                   |   41 +
 version.sh                                       |   21 +
 485 files changed, 69186 insertions(+)
