0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-05 10:43:19 +08:00

1929 Commits

Author SHA1 Message Date
Pieter Hintjens
9ac40c47d7 Fixed issue LIBZMQ-333
- reverted commit 941be8d2175332cb720f390f93d07a0870db8824.
 - fixed zmq_device implementation for latest socket_base class
 - added back zmq_device.3 man page
2012-03-16 16:39:11 -05:00
Pieter Hintjens
32c85e0ea3 Merge pull request #274 from Kobolog/master
An options to choose the behavior for unroutable messages in ZMQ_ROUTER sockets
2012-03-15 09:01:15 -07:00
Kobolog
cb70c5e75d fixed some typos 2012-03-15 15:15:44 +03:00
Kobolog
8095a129e8 man entry for the new option 2012-03-15 15:06:44 +03:00
Kobolog
df584a3be0 an option to fail on unroutable messages in ROUTER sockets 2012-03-15 14:57:38 +03:00
Ian Barber
62d27b7af3 Merge pull request #273 from BoresExpress/wm5
Add WinCE support.
2012-03-14 08:27:04 -07: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
Pieter Hintjens
f9674308e8 Merge pull request #272 from staticfloat/patch-1
Eliminate unnecessary line break
2012-03-12 15:22:00 -07:00
staticfloat
020f777e09 Eliminate unnecessary line break 2012-03-12 15:18:32 -07:00
Ian Barber
19d30969cf Merge pull request #271 from BoresExpress/bug1
Changed wrong file name in VC++ project.
2012-03-06 07:22:34 -08: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
Pieter Hintjens
4c59b1fb2f Merge pull request #270 from rgagnon24/master
Fix IPC transport domain socket stream file not being removed when connection is closed
2012-03-01 14:25:11 -08:00
Rob Gagnon
3aabbbaefa Fix IPC transport domain socket stream file not being removed when connection is closed 2012-03-01 21:49:46 +00:00
Pieter Hintjens
0fed3a3fca Merge pull request #269 from datasift/master
patch for LIBZMQ-328
2012-02-27 08:10:21 -08:00
Ben Gray
5820438b64 update lower bound flag when removing topics 2012-02-27 16:06:56 +00:00
Ian Barber
3f8322beff Merge pull request #268 from gimaker/compact-trie-table
Fixed a bug in the mtrie table compaction logic.
2012-02-27 03:00:49 -08:00
Staffan Gimåker
3485b3ef40 Fixed a bug in the mtrie table compaction logic.
Signed-off-by: Staffan Gimåker <staffan@spotify.com>
2012-02-27 11:51:30 +01:00
Ian Barber
7689d205e9 Merge pull request #267 from mkoppanen/windows-project-files
Add missing files to Windows project files
2012-02-21 00:01:09 -08:00
Mikko Koppanen
b05fb46966 Add missing files to Windows project files 2012-02-20 21:51:37 -06:00
Ian Barber
58f8d4a417 Merge pull request #266 from mkoppanen/improve-tests
Improve the test for last_endpoint, use the same ports as other tests
2012-02-20 08:40:43 -08:00
Pieter Hintjens
879ab39e92 Merge pull request #265 from mkoppanen/freebsd-solaris-fixes
tcp_listener::get_address improvements
2012-02-20 08:39:59 -08:00
Mikko Koppanen
5d7450d65e Improve the test for last_endpoint, use the same ports as other tests 2012-02-19 23:19:17 -06:00
Mikko Koppanen
1824574f9b Minor fixes to get_address code to fix build on solaris and freebsd. Also service doesnt need to be discovered here 2012-02-20 04:26:25 +00:00
Chuck Remes
78d24d3d01 Merge pull request #264 from ianbarber/master
Update docs for last endpoint and add test for IPC last endpoint retrieval
2012-02-19 12:30:37 -08:00
Ian Barber
5e1efc9ec3 Update documentation for last endpoint to mention inaddr_any and add a test for IPC last endpoint checking 2012-02-19 18:46:46 +00:00
Ian Barber
2533909f60 Merge pull request #263 from mkoppanen/tcp-get-address
More fixes based on CentOS 6.2 results
2012-02-18 15:11:58 -08:00
Mikko Koppanen
33a18f0f90 More fixes based on CentOS 6.2 results 2012-02-18 23:07:27 +00:00
Ian Barber
b19c5fced5 Merge pull request #262 from mkoppanen/tcp-get-address
Tcp get address
2012-02-18 14:44:29 -08:00
Mikko Koppanen
d00d4843be More fixes for ZMQ_LAST_ENDPOINT. Added a test 2012-02-18 20:44:41 +00:00
Mikko Koppanen
b0573486c7 Fixes for tcp_listener::get_address 2012-02-18 19:48:09 +00:00
Ian Barber
06140daf29 Merge pull request #261 from mkoppanen/windows-build
Windows build
2012-02-17 14:38:02 -08:00
Mikko Koppanen
1bf4067cd8 More fixes for win build 2012-02-17 22:07:52 +00:00
Ian Barber
e248549252 Merge pull request #260 from mkoppanen/solaris-build
Needs explicit cast on solaris
2012-02-17 14:07:04 -08:00
Mikko Koppanen
51b59b40dd Fix build on windows 2012-02-17 22:06:10 +00:00
Mikko Koppanen
9a4fd8a305 Needs explicit cast on solaris 2012-02-17 21:55:06 +00:00
Pieter Hintjens
dd35385da3 Merge pull request #259 from mkoppanen/solaris-build
Fix build on solaris
2012-02-17 13:50:27 -08:00
Mikko Koppanen
56aa49ff3d Fix build on solaris 2012-02-17 21:45:17 +00:00
Pieter Hintjens
cfe2a821f3 Merge pull request #258 from skaller/master
Remove thread safe socket code from C API and tests.
2012-02-17 09:12:26 -08:00
skaller
916f1a524d Remove build script references to test_ts_context. 2012-02-18 02:41:17 +11:00
skaller
e7da123b28 Remove thread safe test. 2012-02-18 02:34:59 +11:00
skaller
38e74c9e84 Remove thread safe socket stuff from C binding. 2012-02-18 02:34:18 +11:00
skaller
0fa6b8e793 Remove thread safe context init. 2012-02-18 02:32:15 +11:00
Pieter Hintjens
9e622d542a Merge pull request #256 from ianbarber/master
Removing old ECANTROUTE documentation
2012-02-17 07:03:39 -08:00
Ian Barber
9910439277 Merge pull request #257 from mkoppanen/master
Revert null checks in the API
2012-02-17 02:29:29 -08:00
Mikko Koppanen
da1920d944 Revert NULL checks in the API 2012-02-17 09:48:04 +00:00
Ian Barber
82bd5431ce Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
Pieter Hintjens
c9898d2419 Merge pull request #255 from jtzl/master
Adding more specific installation instructions
2012-02-16 20:27:49 -08:00
Jtzl Forshizl
132112afeb added more specific installation documentation 2012-02-16 19:50:28 -05:00
Ian Barber
244f3a3c11 Merge pull request #254 from pieterh/minor-cleanups
Minor cleanups
2012-02-16 13:59:53 -08:00
Pieter Hintjens
ccdb7a6305 Minor cleanups
* Fixed use of ssize_t in zmq_msg_t class
* Corrected error after merge, old reference to inner_fctname (broke build)
2012-02-16 15:55:18 -06:00
Chuck Remes
a457be315b Merge pull request #246 from pieterh/arguments
Return EFAULT if required arguments are null
2012-02-16 13:20:33 -08:00
Chuck Remes
9321dfb845 Merge pull request #248 from pieterh/scattered
Renamed scatter/gather methods, cleaned up source
2012-02-16 13:19:11 -08:00
Pieter Hintjens
5d9432b282 Merge pull request #253 from ianbarber/master
Remove inet_ntop
2012-02-16 13:13:11 -08:00
Ian Barber
2da76a3003 Updating to use getnameinfo rather than inet_ntop 2012-02-16 21:05:02 +00:00
Pieter Hintjens
4b62344023 Merge pull request #252 from gimaker/compact-trie-table
Compact the trie/mtrie node tables where possible, to reduce memory usag...
2012-02-16 10:49:23 -08:00
Pieter Hintjens
c9d124b27e Merge pull request #251 from gimaker/sub-sndhwn-assert
Drop subscription messages when reaching the SNDHWM rather than assertin...
2012-02-16 10:45:13 -08:00
Pieter Hintjens
bfbe556e00 Merge pull request #250 from gimaker/connect-assert
Resolve addresses in the calling thread on connect.
2012-02-16 10:35:48 -08:00
Pieter Hintjens
4697634c0b Resolved conflicts after merge 2012-02-16 12:31:57 -06:00
Pieter Hintjens
3ee99ae81f Renamed scatter/gather methods, cleaned up source 2012-02-16 12:30:37 -06:00
Pieter Hintjens
8a497e2ffc Resolved conflicts after merge 2012-02-16 12:27:39 -06:00
Pieter Hintjens
0efb49f12f Fixed up all references to zmq_msg_size 2012-02-16 12:26:00 -06:00
Pieter Hintjens
02b81d42ce Changed return type of zmq_msg_size to ssize_t to allow error return 2012-02-16 12:25:58 -06:00
Pieter Hintjens
dc09da4569 Return EFAULT if required arguments are null 2012-02-16 12:25:17 -06:00
Pieter Hintjens
07b49ffb9c Fixed up all references to zmq_msg_size 2012-02-16 12:04:25 -06:00
Mikko Koppanen
2f44faa7ce Merge pull request #247 from pieterh/sendrecv
Added zmq_msg_send/recv functions
2012-02-16 08:58:03 -08:00
Mikko Koppanen
2b646cbf63 Merge pull request #249 from pieterh/msgpeekpoke
Renamed zmq_getmsgopt to zmq_msg_get
2012-02-16 08:56:29 -08:00
Staffan Gimåker
2cd04c54df Compact the trie/mtrie node tables where possible, to reduce memory usage.
Signed-off-by: Staffan Gimåker <staffan@spotify.com>
2012-02-16 15:56:19 +01:00
Staffan Gimåker
e18f9da012 Drop subscription messages when reaching the SNDHWM rather than asserting.
This matches the behaviour of zmq_setsockopt(ZMQ_SUBSCRIBE, ...), which also
silently drops subscription messages if the SNDHWM is reached.

Signed-off-by: Staffan Gimåker <staffan@spotify.com>
2012-02-16 14:49:47 +01:00
Staffan Gimåker
b9fb48f47b Resolve addresses in the calling thread on connect.
This allows us to actually report an error to the caller on resolve
failure, rather than asserting later on in the io thread.

Signed-off-by: Staffan Gimåker <staffan@spotify.com>
2012-02-16 14:42:55 +01:00
Pieter Hintjens
d092f2615c Renamed peek/poke to get/set 2012-02-15 19:28:29 -06:00
Pieter Hintjens
dcc1725a90 Renamed zmq_getmsgopt to zmq_msg_peek
* Added zmq_msg_poke for orthogonality
* Added zmq_msg_more for simplicity
* Fixed up man pages and test program
2012-02-15 18:44:28 -06:00
Pieter Hintjens
b3d7b29280 Renamed scatter/gather methods, cleaned up source 2012-02-15 16:47:24 -06:00
Pieter Hintjens
fb4748f257 Added zmq_msg_send/recv functions 2012-02-15 15:37:35 -06:00
Pieter Hintjens
6b2ec366b1 Changed return type of zmq_msg_size to ssize_t to allow error return 2012-02-15 15:17:01 -06:00
Pieter Hintjens
d38951db87 Return EFAULT if required arguments are null 2012-02-15 13:03:40 -06:00
Chuck Remes
b2e2fa622d Merge pull request #244 from pieterh/master
Cleanups to man pages
2012-02-15 08:54:27 -08:00
Pieter Hintjens
0c4a19c408 Deprecated XREQ/XREP 2012-02-15 10:48:31 -06:00
Pieter Hintjens
5f6b95f4a2 Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
Pieter Hintjens
c85ecfc066 Cleaned up description of multi-part messages 2012-02-15 10:39:18 -06:00
Pieter Hintjens
636de46fe1 Removed section on devices, added new methods 2012-02-15 10:39:18 -06:00
Pieter Hintjens
086c059430 Ported numerous fixes from 2.1 man page 2012-02-15 10:39:18 -06:00
Chuck Remes
9bc0e10818 Merge pull request #243 from pieterh/master
Fixed error in documentation build
2012-02-15 07:33:03 -08:00
Pieter Hintjens
bd4f703264 Ignored generated files 2012-02-15 09:27:42 -06:00
Pieter Hintjens
2000d44109 Fixed syntax error in zmq_getsockopt man page 2012-02-15 09:26:39 -06:00
Pieter Hintjens
a50a8aa364 Revert "more checks for parameters of API functions"
This reverts commit e646ce43c155f9710aa4486abd2daf6d4a30ca5b.
2012-02-14 18:43:33 -06:00
Pieter Hintjens
afe8cd503f Revert "fix warn unused"
- anonymous contributor

This reverts commit 7b7d404269cc9bb28e1954ed38dbeb8f63079fd1.
2012-02-14 18:43:33 -06:00
Pieter Hintjens
b2e9347372 Merge pull request #238 from ianbarber/master
Wildcard support in TCP and IPC addresses
2012-02-14 16:39:32 -08:00
Ian Barber
cc10c00193 Updating docs with new sockopt 2012-02-14 23:14:33 +00:00
Ian Barber
b6c97230ed Merge branch 'master' of https://github.com/zeromq/libzmq 2012-02-14 23:10:15 +00:00
Ian Barber
b5d3373905 Moving to std::string in options 2012-02-14 23:10:06 +00:00
Pieter Hintjens
a908ccbf35 Merge pull request #241 from skaller/master
provide type safe sockets and contexts
2012-02-13 08:55:58 -08:00
Pieter Hintjens
48423c9e40 Merge pull request #242 from niXman/master
more checks for parameters of API functions
2012-02-13 08:35:59 -08:00
niXman
e646ce43c1 more checks for parameters of API functions 2012-02-12 20:10:52 +04:00
skaller
4807935605 Implement type safe sockets and contexts. 2012-02-12 10:15:51 +11:00
Ian Barber
770f84331f Allowing value 0, and moving code to get_address functions based on feedback 2012-02-11 15:09:03 +00:00
Ian Barber
91bf4944da Merge branch 'master' of https://github.com/zeromq/libzmq 2012-02-11 15:08:23 +00:00
Chuck Remes
256fa5d2b8 Merge pull request #240 from niXman/master
fix warn unused variables
2012-02-11 06:10:50 -08:00
niXman
7b7d404269 fix warn unused 2012-02-10 13:39:34 +04:00
Pieter Hintjens
40052c1251 Merge pull request #239 from skaller/master
Provide scatter/gather array I/O
2012-02-10 00:20:56 -08:00
Ian Barber
7fa14f3823 Merge branch 'master' of https://github.com/zeromq/libzmq 2012-02-08 22:06:50 +00:00