Luca Boccassi
fbb6bbdcb8
Problem: reading from /dev/urandom is clunky
...
Solution: if available use the getrandom function as it doesn't
require any synchronization, state or cleanup
2017-07-28 11:28:19 +01:00
Luca Boccassi
2626fdfa23
Problem: tweetnacl leaks file descriptor on fork+exec
...
Solution: open with O_CLOEXEC if available or set FD_CLOEXEC if not
2017-07-28 11:27:55 +01:00
Luca Boccassi
86f9f1df7a
Problem: CI doesn't build with debugging symbols
...
Solution: pass -g so that valgrind/asan can print useful backtraces
2017-05-01 22:57:05 +01:00
Luca Boccassi
463c2d75ae
Problem: CI builds and test runs not done in parallel
...
Solution: run make with -j5, as now the tests support it.
2017-05-01 22:57:05 +01:00
Luca Boccassi
48792f8006
Problem: CI runs libsodium tests
...
Solution: don't, libzmq's CI tests are not responsible for testing
libsodium stable releases. Save some time in the CI.
2017-05-01 22:57:05 +01:00
bbdb68
1d58a00992
Problem: no windows UWP support
...
* add define for windows/UWP
* prevent issue with COM references
* gettickcount not available on uwp
* add compiler definitions
* add convenitnece cmake file
* brute force uwp compilation
* fix compiler version
* cosmetics
2017-04-04 09:50:33 +01:00
evoskuil
6c1fb4d0b8
Problem: NuGet pacakge out of date.
2017-03-29 10:44:10 -07:00
evoskuil
72714ad297
Problem: no nuget package for 4.2.2
2017-03-24 01:47:22 -07:00
evoskuil
f2d7b2cad8
Problem: curve not enabled by default in Visual Studio.
2017-03-23 22:29:19 -07:00
evoskuil
91a01f447d
Problem: libsodium linked by default in Visual Studio projs.
2017-03-23 22:28:45 -07:00
evoskuil
dbb5e72638
Problem: Visual Studio projects intertwined and drifting.
2017-03-23 21:32:48 -07:00
chuggafan
7913e96271
I have added msys building, license stuff ( #2387 )
...
(msys building is buggy, please be aware, it fails to compile on my
machine) also I modified the buildall.bat/buildbase.bat to use correct
MSVC versions instead of "visual studio 2017"
2017-03-19 22:38:43 +00:00
mlodew
9091623243
Fixed lib and dll paths in visual studio build ( #2375 )
...
Fixed path to lib and dll files.
2017-03-19 16:50:33 +00:00
Luca Boccassi
3ab4796c5a
Problem: ZMQ background threads are unnamed
...
Solution: use pthread API to set the name. For now call every thread
"ZMQ b/g thread". Would be nice to number the I/O threads and name
explicitly the reaper thread, but in reality a bit of internal API
churn would be necessary, so perhaps it's not worth it.
This is useful when debugging a process with many threads.
2017-03-12 00:46:15 +00:00
boringuy
d6f4263ce3
cmake WITH_LIBSODIUM option is broken ( #2349 )
...
* cmake WITH_LIBSODIUM option is broken
- Fixed the variable name in platform.hpp.in
- Fixed #if check for randombytes_close() when libsodium is used
* Fixed typo from previous commit
* Reverted compile error fix for randombytes_close()
2017-02-22 22:28:05 +00:00
zstang
3b0dfd528f
#2341 fix
...
the root path name specified in this file cause the #2341 problem, the root path name is not need.
2017-02-21 17:35:36 +08:00
chuggafan
020ff65efa
Updated buildbase and buildall to work with visual studio 2017
2017-01-16 14:54:40 -05:00
Luca Boccassi
bbae5d0f9a
Problem: dpkg-query might fail in CI build and fail the build
...
Solution: rework the bash test to avoid build failures as intended
and make it an easier one-liner
2016-12-27 14:45:45 +01:00
Luca Boccassi
822def9b2b
Problem: Travis rebuilds libsodium every time
...
Solution: use packages on Ubuntu and brews on OSX. The packages and
the brews are always kept up to date, so it's no use to rebuild the
libsodium stable branch manually everytime.
2016-12-27 11:48:38 +01:00
Luca Boccassi
f287c7a2aa
Problem: eventfd leaks socket on fork+exec
...
Solution: if available, use eventfd with EFD_CLOEXEC flag to make
the process close the socket on fork+exec
2016-12-26 19:08:27 +01:00
Luca Boccassi
211898d243
Problem: epoll leaks socket on fork+exec
...
Solution: if available, use epoll_create1 with EPOLL_CLOEXEC flag to
make the process close the socket on fork+exec
2016-12-26 19:08:27 +01:00
Kos
43941052a9
add link libsodium.a
2016-12-22 14:25:00 +08:00
Kos
edad90f770
mingw32 fix
2016-12-22 09:35:49 +08:00
Anass Bouassaba
ad045512b9
Build support for VS2017, Windows SDK 10.0.14393.0, toolset v141
2016-12-09 09:21:11 +01:00
Dmitriy-GH
488cb5a022
MSVC 2015 project for compile libzmq.dll in WinXP compatible mode
2016-11-02 15:51:58 +05:00
Mário Kašuba
3996d4e20d
Merge branch 'master' of github.com:zeromq/libzmq
...
# Conflicts:
# builds/msvc/vs2012/libsodium.import.props
2016-10-10 11:02:32 +02:00
Bernd Langpap
96c306cc54
Problem: parameter %1 set hard to build target and prevents the skipping of pause
...
Solution: removed Pause
2016-07-04 12:13:44 +02:00
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
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
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
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
evoskuil
96a66bab3b
Problem: msvc imports missing Rule.Category declarations.
2016-05-25 13:52:49 -07:00
evoskuil
c7f167377c
Problem: unresolved dgram externals in msvc builds.
2016-05-18 12:25:51 -07:00
evoskuil
2b798e486a
Problem: name conflicts from windows.h, draft API declared in pch.
2016-05-13 20:41:26 -07: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
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
evoskuil
f25a13bc8a
Problem: configure.bat is incomplete and conflicts with MSVC UI.
2016-05-12 15:36:18 -07:00
evoskuil
bce1cf96d9
Problem: vc common props have platform specific conditions.
2016-05-12 03:36:39 -07:00