Bernd Langpap
73631bf1c9
modified build.bat to support non-pausing installation
2016-07-04 11:06:56 +02:00
Bernd Langpap
5de974a036
modified build.bat for msvc to support no-pausing script-based installation
...
Signed-off-by: Bernd Langpap <Bernd.Langpap@airbus.com>
2016-07-04 10:31:11 +02:00
Luca Boccassi
9561cc8c24
Merge pull request #2046 from pijyoi/reduce_msvc_warnings
...
Problem: MSVC warns about event monitoring functions converting SOCKET to int
2016-06-20 16:10:07 +01:00
KIU Shueng Chuan
603cd1db88
change event monitoring functions to use zmq::fd_t
2016-06-20 22:27:52 +08:00
Doron Somech
5eb6fc3b08
Merge pull request #2045 from sheremetyev/update-ignores
...
Add missing Git ignores.
2016-06-20 16:08:55 +03:00
Fedor Sheremetyev
219f2ffa46
Add missing Git ignores.
2016-06-20 13:58:23 +01:00
Doron Somech
a1f691e799
Merge pull request #2042 from sheremetyev/xpub-unsubscribe-manual
...
Send manual unsubscriptions on pipe termination in XPUB
2016-06-17 16:01:42 +03:00
Fedor Sheremetyev
baea406683
Store manual subscriptions in XPUB and send them out on pipe termination.
2016-06-17 11:40:17 +01:00
Fedor Sheremetyev
813c738137
Add test for consistent unsubscription in XPUB manual mode.
...
Expect custom messages on both explicit unsubscription and pipe termination.
2016-06-17 11:36:13 +01:00
Luca Boccassi
a343059aad
Merge pull request #2041 from packetstash/select-fix-rebased
...
Copy instead of reference to a vector that gets reallocated.
2016-06-16 22:48:36 +01:00
Douglas Cuthbertson
4019112a82
Copy instead of reference to a vector that gets reallocated.
2016-06-16 17:34:22 -04:00
Luca Boccassi
b3bfa420ea
Merge pull request #2036 from aburgm/abort-flush
...
Flush stderr buffer before calling zmq_abort in assert macros
2016-06-13 20:17:55 +02:00
Armin Burgmeier
07a374357e
Flush stderr buffer before calling zmq_abort in assert macros
...
On Windows, the written message does not seem to be guaranteed to be
written to stderr, in particular when stderr is redirected to a file. I
suppose this is because RaiseException terminates the process in a way
that does not give the CRT a chance to flush stdio buffers (or if it
does, there might be a problem when more than one CRT instance is linked
into the program and they overwrite each other's exception handler). Either
way, just make sure the assertion message ends up written to stderr to
ease diagnostics.
2016-06-13 09:26:45 -07:00
Luca Boccassi
95782450c7
Merge pull request #2035 from slishak/master
...
Problem: FD_SETSIZE not set to 16k for all build definitions
2016-06-13 11:55:31 +02:00
Sam Lishak
d49e43bbc8
Problem: FD_SETSIZE not set to 16k for all build definitions
...
Solution: Set FD_SETSIZE to 16k for all other build definitions.
2016-06-13 09:42:54 +01:00
Luca Boccassi
cb0eaf6bce
Merge pull request #2034 from michicc/poll_windows
...
Poll() implementation for Windows Vista+
2016-06-11 19:31:37 +02:00
Michael Lutz
7a6ff07a01
Problem: Windows performance is not optimal due to select().
...
Solution: Provide poll() for Windows as well. This is a build option that
defaults to off as the resulting binary will only run on Windows Vista or
newer.
This is not tested with alternative Winsock service providers like VMCI,
but the documentation for WSAPoll does not mention limitations.
On my local machine, throughput improves by ~10 % (20 simultaneous
remote_thr workes to one local_thr, 10 byte messages), while latency
improves by ~30 % (measured with remote/local_lat).
2016-06-11 19:17:18 +02:00
Michael Lutz
8d8d32f4d0
Problem: Theoretical overflow when polling more than INT_MAX handles.
...
Solution: Always use fd_t when accessing the pollset.
2016-06-11 18:50:40 +02:00
Constantin Rack
7292de8de5
Merge pull request #2031 from bluca/vector_data
...
Problem: std:vector.data breaks compat with C++98
2016-06-11 14:43:10 +02:00
Luca Boccassi
0dede9b50b
Problem: std:vector.data breaks compat with C++98
...
Solution: use buffer address instead
2016-06-09 23:54:29 +01:00
Luca Boccassi
4ea6df43bd
Merge pull request #2032 from jlblancoc/patch-1
...
Fix build error in MSVC11
2016-06-10 00:51:49 +02:00
Jose Luis Blanco-Claraco
38d7bec19e
Fix build error in MSVC11
...
(and probably other MSVC versions)
2016-06-10 00:42:43 +02:00
Joe Eli McIlvain
dc40c95c47
Merge pull request #2028 from bluca/update_ndk
...
Problem: Android CI NDK version and C++ ABI are outdated
2016-06-07 16:47:55 -07:00
Luca Boccassi
b4abaad269
Problem: Android CI uses outdated C++ ABI 4.8
...
Solution: switch to 4.9
2016-06-07 23:56:34 +01:00
Luca Boccassi
b872e7d9f7
Problem: Android CI NDK version out of date
...
Solution: update CI scripts to use newer r11c from r10e
2016-06-07 23:56:28 +01:00
Luca Boccassi
8be568916e
Problem: Android CI script hardcodes ABI version
...
Solution: use a variable for easier maintenance, in sync with zproject
2016-06-07 23:18:21 +01:00
Luca Boccassi
33ed569289
Merge pull request #2024 from wbx-github/master
...
allow to build sparc (v8,leon)
2016-06-04 14:33:39 +01:00
Waldemar Brodkorb
492a035706
allow to build sparc (v8,leon)
...
Only set sparcv9 optimization for sparc64 systems.
This allows to run for example application using zeromq
on sparc32 systems.
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2016-06-04 13:40:14 +02:00
Luca Boccassi
46912c4f2e
Merge pull request #2023 from jimenezrick/patch-1
...
Problem: update zmq_setsockopt doc with new flag name
2016-06-03 14:11:04 +01:00
Ricardo Catalinas Jiménez
c86e07dbc8
Problem: update zmq_setsockopt doc with new flag name
2016-06-03 13:57:30 +01:00
Doron Somech
2b6200c49e
Merge pull request #2018 from diorcety/mingw64
...
Fix compilation with mingw64 using autotools
2016-06-02 10:16:04 +03:00
Yann Diorcet
9835e18f64
Fix compilation with mingw64 using autotools
2016-06-01 15:07:16 +02:00
Constantin Rack
7b063a067c
Merge pull request #2014 from GreatFruitOmsk/vmci
...
VMCI family does not support non-blocking sockets.
2016-05-28 08:34:09 +02:00
Ilya Kulakov
73e360fc49
VMCI family does not support non-blocking sockets.
...
It may even cause BSOD on Windows.
2016-05-27 19:46:03 -04:00
Doron Somech
184840cf37
Merge pull request #2013 from aseering/master
...
Windows Subsystem for Linux compatibility fix
2016-05-27 10:36:14 +03:00
Adam Seering
b1e2b87f0f
On systems where getifaddrs() exists but isn't implemented, behave as if 'resolve_nic_name()' were entirely unsupported
2016-05-27 00:02:37 -04:00
Luca Boccassi
9a5036409d
Merge pull request #2011 from evoskuil/master
...
Problem: msvc imports missing Rule.Category declarations.
2016-05-25 21:59:25 +01:00
evoskuil
96a66bab3b
Problem: msvc imports missing Rule.Category declarations.
2016-05-25 13:52:49 -07:00
Luca Boccassi
570805119d
Merge pull request #2008 from hitstergtd/x-fix-windowshpp-style
...
Problem: style broken in src/windows.hpp
2016-05-23 14:12:41 +01:00
hitstergtd
40a2ed9e87
Problem: style broken in src/windows.hpp
...
Solution:
Wrap to lte 80 chars and fix it.
2016-05-20 15:37:09 +01:00
Luca Boccassi
4cd630fed2
Merge pull request #2004 from evoskuil/master
...
Problem: no unit tests for base85 or public curve functions.
2016-05-19 11:57:53 +01:00
evoskuil
c050d95fcd
Problem: no unit tests for base85 or public curve functions.
2016-05-19 03:46:15 -07:00
Doron Somech
5cae5bb5fe
Merge pull request #2003 from evoskuil/master
...
Problem: no function to derive public key from curve secret.
2016-05-19 10:15:52 +03:00
evoskuil
460bc7525b
Problem: no function to derive curve public key from secret key.
2016-05-18 23:51:18 -07:00
Constantin Rack
34164ec6f5
Merge pull request #2001 from evoskuil/master
...
Problem: unresolved dgram externals in msvc builds.
2016-05-18 21:55:31 +02:00
evoskuil
c7f167377c
Problem: unresolved dgram externals in msvc builds.
2016-05-18 12:25:51 -07:00
evoskuil
6a99bb041d
Problem: implicit integer narrowing cast warnings.
2016-05-18 12:02:30 -07:00
Luca Boccassi
d018029652
Merge pull request #2000 from Chris-P-Bacon/patch-1
...
Typo in define for libsodium
2016-05-18 14:19:47 +01:00
Chris-P-Bacon
874c346c20
Typo in define for libsodium
...
Since ZMQ_USE_SODIUM is nowhere defined i guess it's meant to be ZMQ_USE_LIBSODIUM?
2016-05-18 14:52:30 +02:00
Luca Boccassi
99373ff0b4
Merge pull request #1998 from hitstergtd/x-style-testsrcfd
...
Problem: Wrapping issue in test for SRCFD [style]
2016-05-16 22:22:58 +01:00
hitstergtd
fed17746c6
Problem: Wrapping issue in test for SRCFD [style]
...
Solution:
Wrap it.
2016-05-16 20:47:47 +01:00
Luca Boccassi
5f0ac2aebe
Merge pull request #1997 from Bitiquinho/master
...
Problem: my name is not in the AUTHORS file
2016-05-16 15:03:26 +01:00
Bitiquinho
c1af4fd24b
Add myself to the AUTHORS file
2016-05-16 10:46:45 -03:00
Luca Boccassi
d65d15fb63
Merge pull request #1996 from somdoron/udp_raw_sockets
...
problem: no way to send raw udp messages with zeromq
2016-05-16 14:16:09 +01:00
somdoron
bbfed6b8d0
problem: memory issues, access uninitiailized memory and leak
2016-05-16 15:51:08 +03:00
Luca Boccassi
c7effea912
Merge pull request #1995 from somdoron/udp_raw_sockets
...
problem: udp doesn't enforce correct usage of bind/connect
2016-05-16 11:49:19 +01:00
somdoron
c4d0146f2c
problem: udp doesn't enforce correct usage of bind/connect
...
solution: enforce that dish and gram can only bind and radio can only
connect
2016-05-16 13:34:38 +03:00
Luca Boccassi
443176d5ef
Merge pull request #1994 from somdoron/udp_raw_sockets
...
problem: no way to send raw udp messages with zeromq.
2016-05-16 11:07:58 +01:00
Doron Somech
0db70e247c
problem: compilation error on windows
2016-05-16 12:48:47 +03:00
somdoron
d58eb54581
problem: test_dgram is missing in .gitignore
2016-05-16 12:19:38 +03:00
somdoron
55f0a5503e
problem: dgram is not enforcing two-part message
2016-05-16 12:18:36 +03:00
somdoron
ded0e5a6d9
problem: udp_engine didn't work with dgram socket type
2016-05-16 12:18:36 +03:00
somdoron
6db8f1e74b
problem: test is using connect with dgram, dgram only support bind
2016-05-16 12:18:30 +03:00
somdoron
eb80fa31ea
problem: dgram more out logic was incorrect
2016-05-16 12:07:07 +03:00
somdoron
47c0b6ec25
problem: dgram doesn't need to prefetch messages
2016-05-16 10:31:38 +03:00
somdoron
d791932635
problem: terminating conn doesn't make sense in disconnected protocol
2016-05-16 10:28:42 +03:00
Bitiquinho
8cd64b76e4
Adapt to new draft header. Rebase dgram socket on pair socket
2016-05-15 16:16:09 -03:00
Bitiquinho
23b3403fa5
Remove printf and add asserts on test
2016-05-15 15:37:33 -03:00
Bitiquinho
977e700893
Fix Copyright range
2016-05-15 15:37:33 -03:00
Bitiquinho
a7399fab51
Fix Makefile.am
2016-05-15 15:37:33 -03:00
Bitiquinho
da14bb4bc2
Added ZMQ_DGRAM tests to build (Makefile.am and CMakeLists.txt)
2016-05-15 15:37:33 -03:00
Bitiquinho
94c53e541d
Added test for ZMQ_DGRAM socket type (unicast and multicast)
2016-05-15 15:37:33 -03:00
Bitiquinho
cea473de59
Added ZMQ_DGRAM socket option to precmpiled.hpp
2016-05-15 15:37:33 -03:00
Bitiquinho
3e54ecd49c
Added dgram.cpp to CMakeLists.txt sources
2016-05-15 15:35:35 -03:00
Bitiquinho
365c8eda72
Add dgram_t class (based on stream socket and udp engine)
2016-05-15 15:35:35 -03:00
Luca Boccassi
72f19648d1
Merge pull request #1992 from evoskuil/master
...
Problem: name confl from windows.h, draft API decl in pch.
2016-05-14 11:49:08 +01:00
evoskuil
8474dc3c53
Problem: precompiled.cpp/hpp required but excluded from non-msvc builds.
2016-05-14 03:29:11 -07:00
Constantin Rack
bd66cfe6f8
Merge pull request #1991 from hitstergtd/x-testcov-zmq-2
...
Problem: zmq_poller_destroy can segfault
2016-05-14 08:17:41 +02:00
evoskuil
5939debe41
Problem: incorrect file extension (.hpp) for zmq_draft.h in Makefile.am.
2016-05-13 20:55:17 -07:00
evoskuil
2b798e486a
Problem: name conflicts from windows.h, draft API declared in pch.
2016-05-13 20:41:26 -07:00
evoskuil
bda9374864
Problem: inadvertently deployed nuget package without tweetnacl enabled.
2016-05-13 04:08:40 -07:00
evoskuil
a3aa10c06b
Problem: nuget packaging script doesn't pause at the end.
2016-05-13 04:07:21 -07:00
Luca Boccassi
94774f6915
Merge pull request #1988 from evoskuil/master
...
Problem: msvc builds are misconfigured.
2016-05-13 11:48:19 +01:00
evoskuil
5e0fb27cc6
Problem: tab characters are poor for source readability.
2016-05-13 03:25:30 -07:00
evoskuil
af524aed6b
Problem: msvc dist has redundancies and missing elements.
2016-05-13 03:22:01 -07:00
evoskuil
9e26bb1885
Problem: typo in platform.hpp comment.
2016-05-13 02:30:37 -07:00
evoskuil
1c9d02d700
Problem: mo current nuget package.
2016-05-13 02:24:45 -07:00
evoskuil
7684ce4fcd
Problem: incorrect white spacing for standard vcxproj file.
2016-05-13 01:48:08 -07:00
evoskuil
9622a830d0
Problem: inapplicable, redundant and invalid references in msvc pch.
2016-05-13 01:40:14 -07:00
evoskuil
4b041ef67d
Problem: nuget package using wrong symbol and configured for libsodium.
2016-05-13 01:05:42 -07:00
evoskuil
2113feec39
Problem: msvc precompiled header config is a mess, tweetnacl is missing.
2016-05-13 01:04:22 -07:00
evoskuil
0db07394d0
Problem: msvc configuration options are invalid and/or inconsistent.
2016-05-13 01:00:58 -07:00
evoskuil
01ab149b96
Problem: copy of libsodium import props is unnecessary.
2016-05-13 00:56:09 -07:00
evoskuil
7425fcca80
Problem: incorrect include guard symbol.
2016-05-13 00:47:03 -07:00
evoskuil
40d7a4c896
Problem: redundant copies of msvc .props and .xml files.
2016-05-13 00:46:06 -07:00
Joe Eli McIlvain
71ba7df781
Merge pull request #1987 from hitstergtd/x-reduce-cliserv-sends
...
Problem: test send count too high for AppVeyor CI environment
2016-05-12 20:15:08 -07:00
hitstergtd
e82e4ea13e
Problem: test send count too high for AppVeyor
...
Solution:
Reduce send count so that the test does not timeout on AppVeyor CI
environment and older Windows boxes.
2016-05-13 04:04:08 +01:00
evoskuil
f25a13bc8a
Problem: configure.bat is incomplete and conflicts with MSVC UI.
2016-05-12 15:36:18 -07:00
Constantin Rack
9e872d0269
Merge pull request #1984 from hitstergtd/x-testcov-zmq-ctx
2016-05-12 19:21:31 +02:00
hitstergtd
477cc1cb12
Problem: zmq_poller_destroy parameter checking
...
Solution:
- Add checks for **poller_p_ to ensure that we do not segfault when either it
or the value within it are NULL
- Add tests for the above and increase error state coverage
2016-05-12 18:09:59 +01:00