summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adding missing include for autotools in examples dirautotoolsAlan 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>
* Update build instructions for `codegen` submoduleMichael Steinert2012-05-171-9/+11
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Bump version in configure.ac to match CMakeLists.txtMichael Steinert2012-05-171-2/+2
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Cleanup Win32 artifactsMichael Steinert2012-05-1716-18/+20
| | | | | | | 1. Standardize on `win32` vs `windows/win32` 2. Move `msinttypes` into platform directory Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Set default visibility to hidden & enable a couple more warningsMichael Steinert2012-05-1717-282/+401
| | | | | | | | | | | | | | Enable the following GCC options: 1. -Wstrict-prototypes 2. -Wcast-align 3. -fno-common 4. -fvisibility=hidden This commit also includes some general cleanup of header files (mostly for readability). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Fix compiler warnings (checked clang & gcc)Michael Steinert2012-05-1715-44/+47
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Move TestCInline.cmake into cmake directoryMichael Steinert2012-05-172-3/+2
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add new codegen directory to CMakeLists.txtMichael Steinert2012-05-171-0/+1
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add config.h header guardsMichael Steinert2012-05-1718-2/+54
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add a pkg-config fileMichael Steinert2012-05-173-1/+19
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Remove unnecessary filesMichael Steinert2012-05-176-430/+137
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Cleanup platform checks in configure.acMichael Steinert2012-05-171-40/+18
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Cleanup 64-bit optionMichael Steinert2012-05-171-5/+8
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Cleanup python checkMichael Steinert2012-05-171-38/+20
| | | | | | | Also remove old compiler flag settings (should have been in a previous commit). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Make configure options more sensibleMichael Steinert2012-05-172-42/+99
| | | | | | | | | | | | | | `--disable-tools` will disable the AMQP tools. `--disable-docs` will disable the AMQP tools documentation. The `XMLTO` environment variable can be used to override the location of the `xmlto` command at configure time. The `POPT_CFLAGS` & `POPT_LIBS` environment variables can be used to influence Libpopt configuration. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* General cleanup in configure.acMichael Steinert2012-05-171-33/+22
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add -Wall, -Wextra & -pedantic by defaultMichael Steinert2012-05-174-1/+126
| | | | | | | This change also adds a couple small autoconf macros to make it easier to deal with compiler options. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add proper libtool versioningMichael Steinert2012-05-172-5/+27
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add a .gitignore fileMichael Steinert2012-05-173-0/+51
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Enable silent build rulesMichael Steinert2012-05-172-6/+7
| | | | | | | | | This change makes it much easier to spot warnings in compiler output. To see the full build commands, build with: $ make V=1 Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Store macros in m4 sub-directoryMichael Steinert2012-05-173-0/+3
| | | | | | | | This is a recommended practice for Automake. The correct macros will be distributed with the source tarball making it easier for users to regenerate configure/Makefile if they wish. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Convert to non-recursive AutomakeMichael Steinert2012-05-1713-182/+264
| | | | | | | | This change should speed up parallel builds considerably. It also simplifies the structure of the build system making it possible to properly track dependencies. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add rabbitmq-codegen as a submoduleMichael Steinert2012-05-172-0/+3
| | | | | | | | | The following commands can be used to update the submodule: $ git submodule init $ git sumodule update Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Merge pull request #19 from alanxz/build_static_libraryAlan Antonuk2012-05-172-1/+7
|\ | | | | Build static library
| * Adding option to build rabbitmq-c staticallybuild_static_libraryAlan Antonuk2012-05-172-1/+7
|/ | | | | | | | | Adding option to the CMake build to build rabbitmq-c library as a static library. It is disabled on the WIN32 platform as the amqp.h header has __declspec(dllimport) statements that need to be different when using a static library.
* Updating README to point to current location of rabbitmq-c sourcesAlan Antonuk2012-05-101-2/+2
|
* Doc: CMake build is the preferred method of building on Win32Alan Antonuk2012-05-101-3/+4
|
* Fix: double free() if amqp_tune_connection fails in amqp_new_connectionAlan Antonuk2012-05-101-1/+5
| | | | See: https://github.com/rabbitmq/rabbitmq-c/issues/6
* Intializing unintiailzed member in amqp_basic_publishAlan Antonuk2012-05-101-0/+1
| | | | See: https://github.com/rabbitmq/rabbitmq-c/issues/9
* Bumping VERSION to 0.2 due to license change0.2Alan Antonuk2012-04-231-1/+1
|
* Merge remote-tracking branch 'upstream/bug24770'Alan Antonuk2012-04-1249-1917/+881
|\
| * Okay, gnu toolchain requires COPYINGMarek Majkowski2012-04-121-0/+1
| |
| * Python uses different comments than CMarek Majkowski2012-04-121-27/+27
| |
| * Add MIT license and update debian scripts to use itMarek Majkowski2012-04-126-17/+36
| |
| * Drop COPYING and old LICENSESMarek Majkowski2012-04-123-810/+0
| |
| * Automated relicensing of source files MPL/GPL -> MITMarek Majkowski2012-04-1240-1097/+851
| |
| * Merge bug24606Simon MacMullen2012-02-030-0/+0
| |\
* | \ Merge remote-tracking branch 'upstream/bug24606'Alan Antonuk2012-04-1241-42/+42
|\ \ \ | |/ /
| * | Update copyright 2012Emile Joubert2012-02-0241-42/+42
| |/
* | Merge pull request #13 from alanxz/fix_size_t_in_amqp_hfix_size_t_in_amqp_hAlan Antonuk2012-03-081-0/+1
|\ \ | | | | | | Fix size t in amqp h
| * | Fix: adding stddef.h include that typedefs size_tAlan Antonuk2012-03-081-0/+1
|/ /
* | Merge pull request #10 from alanxz/public_header_includes_fixAlan Antonuk2012-03-062-0/+6
|\ \ | | | | | | Public header includes fix