Commit Graph

144 Commits

Author SHA1 Message Date
Matt Arsenault
e464a91086 Fix using wrong name for windows.h check in cmake 2013-01-27 18:09:53 -05:00
MinRK
edd43e1ca4 deprecate zmq_ctx_destroy in favor of zmq_ctx_term
in order to avoid logical collisions with pre-existing notions of context destruction in bindings (czmq, pyzmq).
2013-01-17 15:48:18 -08:00
Adrian Muraru
fb0beb6f29 Fixed el5/el6 deps in RPM spec file 2013-01-12 16:21:56 +02:00
Matt Arsenault
59cafecd96 Fix MinGW32 build
Fix link errors when using -m32 with MinGW
2013-01-02 03:24:11 -05:00
Matt Arsenault
f3901b35d4 Comments about ICC build failure with 12.x were crazy
Fix warnings with ICC.
2013-01-02 03:24:10 -05:00
Matt Arsenault
0362c310a5 First pass at getting cmake build to work with non-Windows systems.
Make doc building option dependent on asciidoc being installed
Fix MSVC build requiring cygwin.
Don't use try_run to get the version
2013-01-02 03:24:10 -05:00
Ian Barber
1d11f196b1 Update SPEC file
Update the RPM spec file with Justin Cook's changes to fix the build for 3.2.2. (https://zeromq.jira.com/browse/LIBZMQ-473)
2012-11-26 16:12:25 +00:00
mjasperse
1e60d17a23 Update builds/msvc/libzmq/libzmq.vcproj
Without the LinkDLL statement, command-line compile using vcbuild attempts to compile EXE and complains about entrypoint
The LinkDLL statement forces the linker to produce desired output
2012-11-02 11:29:46 +11:00
Ivan Pechorin
4de27b6c10 Update MSVC2008 project after recent renames and additions
This patch updates MSVC2008 project after device was renamed to proxy and new files were added (tcp.cpp, v1_encoder.cpp and v1_decoder.cpp).
2012-09-26 16:04:00 +04:00
Ivan Pechorin
dcf683aacb Update MSVC2010 project after recent renames and additions
This patch updates MSVC2010 project after device was renamed to proxy and new files were added (v1_encoder.cpp and v1_decoder.cpp).
2012-09-26 15:25:16 +04:00
Jos Decoster
85c19f1269 added missing files to MSVC10 solution file: tcp.cpp, tcp.hpp 2012-06-19 17:05:15 +02:00
Jos Decoster
37e4a38eb5 Fix compile error with Visual C++ 2008
File decoder.cpp does not compile with Visual C++ 2008:

1>c:\tmp\libzmq\src\decoder.cpp(117) : warning C4003: not enough actual parameters for macro 'max'
1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2589: '(' : illegal token on right side of '::'
1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2059: syntax error : '::'
1>c:\tmp\libzmq\src\decoder.cpp(117) : error C2143: syntax error : missing ';' before '{'

This error is caused by the precense of a macro 'max' when including
'windows.h'. To solve this problem, the preprocessor macro /DNOMINMAX must
be specified.
2012-05-05 23:56:49 +02:00
Jos Decoster
68c1be8bf6 Fix for issue 355. Added missing source files dealer.cpp, device,cpp and router.cpp. Removed source files no longer present: xrep.cpp and xreq.cpp 2012-05-05 23:37:14 +02:00
Pieter Hintjens
2bcc300a0f Fixed issue #348 2012-03-26 16:31:12 -05:00
Pieter Hintjens
9ac40c47d7 Fixed issue LIBZMQ-333
- reverted commit 941be8d217.
 - fixed zmq_device implementation for latest socket_base class
 - added back zmq_device.3 man page
2012-03-16 16:39:11 -05:00
boris@boressoft.ru
318ba8836f Add WinCE support.
* Added two new files: errno.hpp and errno.cpp. They are required to use errno functionality on WM.
* zmq.cpp, msg.h: removed inclusion of errno.h because it is included in zmq.h that is also included by .cpp.
* windows.hpp: process.h is included only for desktop builds.
* thread.cpp: on CE CreateThread is used instead of __beginthreadex
* socket_base.cpp, clock.cpp: on CE include cmnintrin.h instead on intrin.h
* signaler.cpp: on Windows should use special macro around event name (for unicode builds)
* err.hpp: make it include errno.hpp (my file) instead on errno.h when building for CE
* err.cpp: use FormatMessage when building for CE (because CE does not have ANSI API functions)
* zmq.h: do not include errno.h whe building for CE
* libzmq.vcproj: add tro new files
2012-03-14 19:12:28 +04:00
boris@boressoft.ru
ce24bf04dd Changed wrong file name in VC++ project.
Name of the file in the project does not match actual file name:
adress.cpp VS. address.cpp
2012-03-06 18:21:55 +04:00
Mikko Koppanen
b05fb46966 Add missing files to Windows project files 2012-02-20 21:51:37 -06:00
Martin Sustrik
dcb1d558a5 Fix MSVC10 build distfiles
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-12-18 12:30:31 +01:00
Stuart Webster
3fb5c11b03 Added MSVC10 solution and project files for Windows
These include configurations for both Win32 and x64 platforms. All project
settings have been normalised in property sheets (the ".props" files under
builds/msvc/properties) to simplify maintenance. Build artefacts are all
generated in platform-specific subfolders of bin, lib and obj directories.

Also enables the use of precompiled headers with MSVC10.

This significantly reduces the time required to compile libzmq with Visual
Studio on Windows. It should have no impact on other platforms.

Signed-off-by: Stuart Webster <sw_webster@hotmail.com>
2011-12-15 14:03:43 +01:00
Martin Sustrik
50a9ee6e73 MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-04 10:02:49 +01:00
Martin Sustrik
25cc25e9ad MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-09-18 10:19:08 +02:00
Martin Sustrik
898ee99dc1 Windows build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-18 17:58:46 +02:00
Martin Sustrik
4a8dd1e404 MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-18 11:24:14 +02:00
Martin Sustrik
ed373450a2 MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-16 12:59:49 +02:00
Martin Sustrik
be48970977 MSVC build brought up-to-date
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-04 07:44:35 +02:00
Martin Sustrik
5650743d9e MSVC build brought up to date
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-22 08:35:01 +02:00
Martin Sustrik
cb2d715605 endmsg(3) and zmq_recvmsg(3) added to RPM spec file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-21 11:51:41 +02:00
Martin Sustrik
c687c7e61e Fix MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-03 14:11:33 +02:00
Martin Sustrik
543ad30e7d Packaging for MSVC build fixed
MSVC project files for inproc_lat and inproc_thr were not
packaged during make dist phase.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-28 10:22:27 +02:00
Martin Sustrik
770d0bc77c Fix MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-23 08:51:48 +02:00
Martin Sustrik
970798ff98 mtrie.cpp added to MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-13 07:54:58 +02:00
Martin Sustrik
933ace0919 MSVC build fixed to reflect zmq.cpp split
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-13 10:06:44 +02:00
Mikko Koppanen
e62686aca5 RPM packaging improvements
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2011-04-09 08:45:12 +02:00
Martin Sustrik
85c2a84036 inproc perf tests now work on Windows
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-02 09:50:35 +02:00
Martin Sustrik
54830ac0f6 MSVC build system updated to match 3.0 changes
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-02 09:03:57 +02:00
Martin Sustrik
d4e83d2601 C++ binding removed from the core
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-24 10:18:06 +01:00
Martin Sustrik
941be8d217 zmq_device removed
Devices are basically applications on top of 0MQ stack. They
should reside in separate libraties.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-23 17:44:16 +01:00
Martin Sustrik
18b9ebea32 The copyrights in file headers updated.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-02 16:30:40 +01:00
Mikko Koppanen
98ccff1a24 Fixes build on at least CentOS 5
Signed-off-by: Mikko Koppanen <mikko.koppanen@gmail.com>
2011-02-21 23:40:48 +01:00
Martin Sustrik
e94790006e reaper added to MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-09 22:33:57 +01:00
Mikko Koppanen
1e0302633e Added WithOpenPGM configuration into MSVC builds
Signed-off-by: Mikko Koppanen <mikko.koppanen@gmail.com>
2011-01-30 12:43:17 +01:00
Martin Sustrik
a249d15200 Fix MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-01-15 20:16:00 +01:00
Martin Sustrik
73bbcb552d MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-12-06 23:10:50 +01:00
Martin Sustrik
8a6ff4ccd2 xup and xsub files added to the MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-12-06 09:44:23 +01:00
Sebastian Otaegui
92618fd99a Small fix for the rhel6 spec
Signed-off-by: Sebastian Otaegui <feniix@gmail.com>
2010-11-25 14:04:53 +01:00
Martin Sustrik
bd0ecf4784 FD_SETSIZE defaults to 1024 in MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-16 14:15:29 +01:00
Martin Sustrik
9da84a5239 signaler renamed to mailbox
For historical reasons queue to transfer commands between
threads was called 'signaler'. Given that it was used to
pass commands rather than signals it was renamed to 'mailbox',
see Erlang mailboxes.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-05 17:39:51 +01:00
Martin Sustrik
b358df9fff Name of "GNU Lesser Public License" corrected.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 15:08:28 +02:00
Martin Sustrik
5ae878b891 Merge branch 'maint'
* maint:
  Add support for RHEL6 in the spec file
2010-10-13 08:01:13 +02:00
Sebastian Otaegui
2568947a71 Add support for RHEL6 in the spec file
Signed-off-by: Sebastian Otaegui <feniix@gmail.com>
2010-10-13 07:59:50 +02:00
Martin Sustrik
318cdd1f24 Merge branch 'maint'
* maint:
  Version macros added

Conflicts:
	builds/msvc/platform.hpp

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-09 08:03:58 +02:00
Martin Sustrik
ef8db789a1 Version macros added
Macro ZMQ_VERSION represents the current version of 0MQ
Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create
a representation of the specified version.
The versions can be compared using simple <, >, ==, etc.
operators.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-09 07:53:24 +02:00
Martin Sustrik
16c3884a61 MSVC build fixed 2010-09-27 11:18:21 +02:00
Martin Sustrik
01c463cc89 Version number incremented to 2.0.10 2010-09-04 19:08:55 +02:00
Martin Sustrik
99ddfa7d65 maint: will become 2.0.9 2010-09-01 18:22:03 +02:00
Martin Sustrik
6a0c323bb2 MSVC build fixed 2010-09-01 13:31:45 +02:00
Martin Sustrik
68d62cfb4e MSVC build fixed 2010-08-28 14:07:26 +02:00
Martin Sustrik
b608c19c5a MSVC build fixed 2010-08-25 15:39:21 +02:00
Martin Sustrik
b7e0fa972f 'master' will become 2.1.x release 2010-08-25 15:38:43 +02:00
Martin Lucina
c06a3cc510 Update version number to 2.0.8 2010-08-25 11:24:24 +02:00
Pieter Hintjens
78e9ee84bf Fixed MSVC project for PULL/PUSH 2010-08-05 18:49:49 +02:00
Martin Sustrik
ba91644fdb msg_store added to MSVC build 2010-06-26 20:11:40 +02:00
Martin Sustrik
cff7ba2315 Windows build fixed 2010-06-17 17:09:51 +02:00
Martin Sustrik
cf048bb1f8 platform.hpp for MSVC contains only very basic stuff 2010-06-04 16:29:36 +02:00
Martin Sustrik
927993863e MSVC build fixed 2010-06-04 15:47:22 +02:00
Martin Lucina
74f1a4a579 RPM packaging cleanups
- ditch -utils package
- add descriptions from Debian packaging
2010-05-28 00:55:04 +02:00
Mikko Koppanen
8bd3f743f5 Import redhat packaging 2010-05-28 00:50:54 +02:00
Martin Sustrik
64c58662b7 MSVC build fixed 2010-05-05 14:33:02 +02:00
Martin Sustrik
beb4da3c28 windows port fixed 2010-04-29 20:53:46 +02:00
Martin Sustrik
1ad6ade0ed MSVC build fixed 2010-04-26 16:58:49 +02:00
Martin Sustrik
370cde0922 win build fixed 2010-04-12 17:00:11 +02:00
Martin Sustrik
3496476939 MSVC perf build fixed 2010-04-12 10:05:24 +02:00
Martin Sustrik
dff79d778d version number bumped to 2.0.7 for MSVC build 2010-04-11 14:20:00 +02:00
Martin Sustrik
b0250cc89d Win32 build fixed 2010-04-07 10:41:11 +02:00
Martin Sustrik
ad75d02134 Add MSVC build files to distribution 2010-03-16 15:48:16 +01:00
Martin Sustrik
a9e0c3cd7e Removing leftover MSVC builds 2010-03-16 15:37:47 +01:00
unknown
22db38bf3d MSVC build: C++ perf tests removed; all executables go into bin directory 2010-03-12 20:20:25 +01:00
unknown
54df388ace Java binding removed from MSVC build 2010-03-12 18:05:38 +01:00
unknown
83f85ea51d ruby binding removed from msvc build 2010-02-27 13:49:53 +01:00
unknown
696ada8833 python binding removed from nsvc build 2010-02-27 13:36:52 +01:00
unknown
4a1a83887d Win32 build of Java binding fixed 2010-02-26 16:42:52 +01:00
unknown
b7f01f9071 chat example removed from win build; missing fd_signaler_t::poll on win added 2010-02-24 15:33:03 +01:00
unknown
71b4947f95 Win32 build fixed 2010-02-23 12:02:55 +01:00
unknown
41354bfa98 zmq_version fixed on Win32 platform 2010-02-17 20:16:19 +01:00
unknown
4172fdd697 Win32 build fixed 2010-02-03 14:55:46 +01:00
Martin Sustrik
4f6baf4dde Copyrights transferred from FastMQ to iMatix 2010-01-05 08:29:35 +01:00
unknown
c97967ed4b MSVC build fixed 2009-12-28 16:20:21 +01:00
unknown
3e64083667 win32 build fixed 2009-12-15 18:00:00 +01:00
unknown
0637e06387 zmq_streamer & zmq_queue are built under MSVC 2009-12-13 14:59:25 +01:00
unknown
8d58643655 MSVC build for chat example added 2009-12-10 10:33:07 +01:00
malosek
fa1641afc5 msvc build fixed 2009-11-27 14:30:48 +01:00
malosek
5aee5fd0cf Updated libzmq.vcproj file 2009-09-23 12:14:44 +02:00
malosek
cff6eb4376 msvc directory moved into builds dir 2009-09-17 10:29:02 +02:00