summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove xmlto install from CI buildssl-plumbingAlan Antonuk2012-05-291-1/+1
| | | | | xmlto adds 2 minutes to the build time and we run out of space trying to build it.
* Adding pthread shim for Win32 ENABLE_THREAD_SAFETYAlan Antonuk2012-05-294-1/+78
|
* Adding support for OpenSSL in multithreaded applicationsAlan Antonuk2012-05-294-6/+111
|
* Adding function to init OpenSSL onceAlan Antonuk2012-05-291-3/+32
|
* Adding amqp_set_initialize_ssl_library() API functionAlan Antonuk2012-05-295-0/+53
| | | | | Function sets whether or not rabbitmq-c will initialize the underlying SSL library
* Relaxing restriction on OpenSSL to support v0.9.8Alan Antonuk2012-05-292-2/+2
|
* Make socket function declarations match defintionsAlan Antonuk2012-05-291-2/+3
|
* Moving posix-specific inet includes to unix/socket.hAlan Antonuk2012-05-294-29/+7
|
* Move MSVC ssize_t defs outside AMQP_PUBLIC_* macro ifdefsAlan Antonuk2012-05-291-13/+16
|
* Clean up documentation in <amqp-ssl.h>Michael Steinert2012-05-281-11/+19
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add SSL/TLS examplesMichael Steinert2012-05-2712-2/+1097
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Cleanup CMake build a bitMichael Steinert2012-05-273-0/+189
| | | | | | | | | | | 1. Add checks for Unix/Linux-specific header files (similar to configure.ac) 2. Added a check for the `-std=c99` flag. It appears that some of this code uses C99 and compiling without this flag produces quite a few warnings. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Use `_stricmp` instead of `strcasecmp` for MSVCMichael Steinert2012-05-271-0/+6
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add checks for Unix-specific header filesMichael Steinert2012-05-274-5/+15
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Switch from stdbool.h to amqp_boolean_tMichael Steinert2012-05-274-6/+4
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Define `ssize_t` for MSVC buildsMichael Steinert2012-05-271-0/+16
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Changing return type on amqp_socket_writev to match fn ptr typeAlan Antonuk2012-05-274-4/+4
|
* Adding support for SSL to CMake build systemAlan Antonuk2012-05-274-0/+93
|
* Fix non-SSL build in the tools directoryMichael Steinert2012-05-272-1/+5
| | | | | | | Also reduce OpenSSL requirement to 1.0.0 (0.9.8 would probably be fine as well). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Update polarssl.m4Michael Steinert2012-05-271-6/+21
| | | | | | | | 1. Update license to match the rest of the project 2. Update library check (similar to previous change in popt.m4) Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add amqps:// support to the URL parserMichael Steinert2012-05-274-6/+106
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Reduce allocations in SSL writev implementationsMichael Steinert2012-05-274-29/+58
| | | | | | | | This change reduces memory allocations by retaining the writev buffer across invocations. Memory is only freed/allocated if the buffer too small. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Implement SSL/TLS over CyaSSL, GnuTLS, OpenSSL & PolarSSL backendsMichael Steinert2012-05-2710-19/+1108
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add plumbing for SSL/TLS supportMichael Steinert2012-05-279-85/+189
| | | | | | | | | | | | | | | This change abstracts out the networking functions so that the user can provide an SSL/TLS implementation. Callback functions replace `writev()`, `send()`, and `recv()` (there is also a callback for error reporting). The default interface remains unchanged. If the user wants to create a SSL/TLS connection they first negotiate the connection and then use the new function `amqp_set_sockfd_full()` to provide the networking implementation for their SSL/TLS library. The user may provide an optional pointer to data that is passed through to the networking functions. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Merge pull request #22 from glassresistor/masterAlan Antonuk2012-05-261-0/+2
|\ | | | | Fix for Smart OS
| * added fix for smartosMichael Clemmons2012-05-231-0/+2
| |
* | Merge pull request #21 from alanxz/travis-ciAlan Antonuk2012-05-242-0/+27
|\ \ | | | | | | Travis ci integration
| * | Adding travis-ci integrationtravis-ciAlan Antonuk2012-05-242-0/+27
|/ /
* | Merge pull request #20 from alanxz/cmake_build_improvementsAlan Antonuk2012-05-249-56/+236
|\ \ | | | | | | CMake build system improvements
| * | msinttypes.h is always required on MSVC for testscmake_build_improvementsAlan Antonuk2012-05-241-0/+5
| | |
| * | Adding tests/ directory to CMake buildAlan Antonuk2012-05-243-1/+17
| | |
| * | Adding CMake procedure to build/install tools manpagesAlan Antonuk2012-05-243-1/+149
| | |
| * | Adding the amqp-* tools to install targetAlan Antonuk2012-05-241-0/+5
| | |
| * | Added CMake options to disable building of tools and examplesAlan Antonuk2012-05-241-3/+12
| | |
| * | Adding more strict compile Warning flags to gcc buildAlan Antonuk2012-05-244-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | Added: -Wall -Wextra -pedantic -Wstrict-prototypes -Wcast-align -Wno-unused-function -fno-common -fvisibility=hidden The library compiles cleanly with the exception of the tools dir which has trouble with the initializer lists
| * | Set the default CMake build type to be in release modeAlan Antonuk2012-05-241-0/+4
| | |
| * | Add support for config/install of librabbitmq.pc fileAlan Antonuk2012-05-242-1/+14
| | |
| * | Making the CMakeLists.txt work with cmake v2.6Alan Antonuk2012-05-242-47/+18
|/ / | | | | | | | | | | | | | | Removing the ExternalProject code as it makes more sense to use the git submodule code. The CMakeLists.txt can now be made to work with cmake-v2.6 as a result
* | Merge pull request #16 from msteinert/autotoolsAlan Antonuk2012-05-2465-1139/+1420
|\ \ | |/ |/| Cleanup autoconf/automake build
| * Add preprocessor definitions for Win32 static buildMichael Steinert2012-05-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | 1. Define AMQP_BUILD for all Win32 builds. 2. Define AMQP_STATIC for all static Win32 builds. 3. Error out if both static & shared libraries are enabled for a Win32 build since they require different flags. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Add a workaround for AC_PROG_CC_C99 for older version of AutoconfMichael Steinert2012-05-241-2/+5
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Adding missing include for autotools in examples dirAlan Antonuk2012-05-241-1/+1
| | | | | | | | examples/utils.c requires the $(top_srcdir)/librabbitmq as an include
| * Setting minimum version for autoconf to 2.63Alan Antonuk2012-05-241-1/+1
| |
| * Fixing typo in librabbitmq/CMakeLists.txt: should be BUILD_SHARED_LIBSAlan Antonuk2012-05-231-1/+1
| |
| * Fix visibility definitions for GCCMichael Steinert2012-05-231-2/+2
| | | | | | | | | | | | | | 1. Functions don't need to be declared `extern` 2. Static variables need to be declared `extern` Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Cleaning up Public API decorators on Win32Alan Antonuk2012-05-234-159/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed duplicate #defines of AMQP_PUBLIC/AMQP_PRIVATE in amqp.h & amqp_private.h Split AMQP_PUBLIC into AMQP_PUBLIC_FUNCTION and AMQP_PUBLIC_VARIABLE Added AMQP_CALL to specify calling convention (__cdecl by default) Added -DAMQP_BUILD when building the library Added -DAMQP_STATIC when building the library statically (this is still incomplete on Win32, a installable amqp_config.h is required)
| * Fix check for PoptMichael Steinert2012-05-231-3/+3
| | | | | | | | | | | | | | | | AC_SEARCH_LIBS was adding `-lpopt` to the LIBS variable, resulting in librabbitmq.so being linked with Popt. Switching to AC_CHECK_LIB fixes the problem. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Include -Ilibrabbitmq/win32/msinttypes for all relevant targetsMichael Steinert2012-05-171-0/+4
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Explicitly name codegen files in EXTRA_DISTMichael Steinert2012-05-171-1/+9
| | | | | | | | | | | | | | Python bytecode and git cruft was being included in the auto-generated tarball. This change fixes that problem. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
| * Update "issues" URIMichael Steinert2012-05-171-1/+1
| | | | | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>