summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-13Merge branch 'doc-updates' of git.lucina.net:libxsMartin Sustrik
2012-03-13Add NEWS for 1.0.0 releaseMartin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-03-13Add zmq(7) manual page for libzmq compatibility libraryMartin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-03-13Type of XS_MAXMSGSIZE changed to uint64_tMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-13'timeout' parameter in xs_poll changed to intMartin Sustrik
Originally, the parameter was of type long which is incompatible with POSIX poll() function. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-13MSVC build fixed; xs_utils.h includes removedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-13Merge branch 'for-sustrik' of git.lucina.net:libxsMartin Sustrik
2012-03-13xs_utils cleanup 2/2 (remove xs_utils.h)Martin Lucina
Moved xs_stopwatch_* functions from xs_utils.cpp/xs_utils.h, and removed those files. This leaves us with a single header file for libxs. Signed-off-by: Martin Lucina <martin@lucina.net>
2012-03-13xs_utils cleanup 1/2 (minimize exported api)Martin Lucina
Reduced xs_utils to the minimum functions required (xs_stopwatch_*) xs_sleep, xs_thread_* are internal to unit tests and have been moved to testutil.hpp, useless use of xs_sleep in perf/ has been removed. Signed-off-by: Martin Lucina <martin@lucina.net>
2012-03-13xszmq project removed from MSVC buildMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-13Merge branch 'for-sustrik' of git.lucina.net:libxsMartin Sustrik
2012-03-13Drop libxszmq, keep only libzmq compatibility library (--enable-libzmq)Martin Lucina
This simplifies the options for new users; either use libxs APIs or build with --enable-libzmq and get libzmq 2.1 emulation. Signed-off-by: Martin Lucina <martin@lucina.net>
2012-03-13io_threads argument removed from xs_init()Martin Sustrik
The argument was changed to a context option (XS_IO_THREADS). 0MQ compatibility mode sets the option and ensures that there's at least one I/O thread present. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-13Check for AI_V4MAPPED and don't use it on FreeBSDGabriele Svelto
Check if the constant is defined before using it. While the constant may be defined on FreeBSD, there's no support for the functionality and specifying the flag may cause errors. Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
2012-03-08Removal of pipe from dist_t fixedMartin Sustrik
Removing the pipe may have caused problems with matching, active and eligible pipes. Some pipes may have moved from one category to another without any reason. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-06Rob Gagnon added to the AUTHORS fileMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-06Fix IPC transport domain socket stream file not being removed when ↵Rob Gagnon
connection is closed
2012-03-06WSAEACCES correctly convrted into EACCESMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
2012-02-28update lower bound flag when removing topicsBen Gray
2012-02-28Fixed a bug in the mtrie table compaction logic.Staffan Gimåker
Signed-off-by: Staffan Gimåker <staffan@spotify.com>
2012-02-26Gabriele Svelto added to the AUTHORS fileMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-26Added a configuration summary print-out to the configure scriptGabriele Svelto
Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
2012-02-26In case of duplicate identity XREP socket asserts.Martin Sustrik
This is a fail-fast mechanism to prevent undefined behaviour later on. In the future, the new connection should be closed in this case. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-25Leftover piece of experimental code removedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-25Merge branch 'for-sustrik' of git.lucina.net:libxsMartin Sustrik
2012-02-25Rename configure.in to configure.acMartin Lucina
Follows autotools best practice, configure.in is the old name. Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-25Add crossroads-dev list address to configure.in for bug reportsMartin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-25Set ABI version to 1.0.0Martin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-24Ignore SDF files.Gonzalo Diethelm
Corrected typo in documentation.
2012-02-23zmq_ultils.h created by libzmq project in MSVC solutionMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
2012-02-22libzmq & libxszmq projects added to MSVC buildMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
2012-02-22xszmq is compiled under MSVCMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
2012-02-22xszmq.c renamed to xszmq.cppMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-22Merge branch 'xszmq-for-sustrik' of git.lucina.net:libxsMartin Sustrik
2012-02-22Add zmq_version() to libxszmqMartin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-22Ensure libzmq.pc is installed if requiredMartin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-22Added optional drop-in libzmq libraryMartin Lucina
Enabled using --enable-libzmq-compat, this installs a drop-in libzmq library and headers. Not enabled by default since it will overwrite any existing libzmq install. Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-22Added libxszmq compatibility libraryMartin Lucina
Signed-off-by: Martin Lucina <martin@lucina.net>
2012-02-21Version bumped to 1.0.0Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-17Compact the trie/mtrie node tables where possible, to reduce memory usage.Staffan Gimåker
Signed-off-by: Staffan Gimåker <staffan@spotify.com>
2012-02-17Drop subscription messages when reaching the SNDHWM rather than asserting.Staffan Gimåker
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-16Use full name of the project in xs(7)Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16Fix FD/handle conversion bugMartin Sustrik
On systems where int size != pointer size the coversion resulted in compile-time error. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16Full name of the project used in license headersMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16Some additional parameter checking for ZMQ_(UN)SUBSCRIBEMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16emptyctx added to .gitingoreMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16MSVC build fixedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
2012-02-16polltimeo test addedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16Avoid too long timeouts in xs_pollMartin Sustrik
The timeout should be int. For historical reasons, however, it is defined as long. To fix the problem the value is checked in the runtime to assure it is not larger than INT_MAX. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-02-16ZMQ_REENTRANT functionality removedMartin Sustrik
It doesn't play well with multipart messages. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>