Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright & license header to use SPDX id | Alan Antonuk | 2021-07-27 | 7 | -171/+15 |
| | | | | | | | This makes license detection machine-readable, and makes source files more concise and easier to read and understand. Signed-off-by: GitHub <noreply@github.com> | ||||
* | lib: remove use of msinttypes | Alan Antonuk | 2021-05-20 | 2 | -311/+0 |
| | | | | | | | | | msinttypes was a workaround for MSVC not supplying a working stdint.h and inttypes.h. MSVC 2013 and newer supply these headers. Older versions of MSVC are not supported by Microsoft, so it seems reasonable to drop these at this point. Signed-off-by: GitHub <noreply@github.com> | ||||
* | ssl: remove obsolete amqp_hostcheck | Alan Antonuk | 2021-04-07 | 2 | -76/+0 |
| | | | | | | This is dead code, obsoleted by #673 (setting minimum OpenSSL v1.1.1). Signed-off-by: GitHub <noreply@github.com> | ||||
* | Move official includes to rabbitmq-c/ directory | Alan Antonuk | 2021-04-05 | 4 | -5/+5 |
| | | | | | | | | | | | | | | | Move official rabbitmq-c includes under the rabbitmq-c, thus new programs should use the following include paths: amqp.h -> rabbitmq-c/amqp.h amqp_tcp_socket.h -> rabbitmq-c/tcp_socket.h amqp_ssl_socket .h-> rabbitmq-c/ssl_socket.h amqp_framing.h -> rabbitmq-c/framing.h Existing include files are left with a warning message and including their new equivalents, so existing programs should compile without modification. Signed-off-by: GitHub <noreply@github.com> | ||||
* | Move public header files to include directory | Alan Antonuk | 2021-04-05 | 1 | -1/+4 |
| | | | | Signed-off-by: GitHub <noreply@github.com> | ||||
* | Add option to run system tests (disabled by default). | Simon Lepasteur | 2020-03-12 | 1 | -3/+5 |
| | | | | | | | | | System tests require a RabbitMQ or other AMQP server to be running on `localhost` at TCP port number 5672 and therefore fails if no such server is running on the build machine. This is surprising for everyone running the standard `make test` to ensure the library is built correctly. | ||||
* | Format code with clang-format | Alan Antonuk | 2017-12-05 | 8 | -505/+442 |
| | |||||
* | Remove vim mode lines.format | Alan Antonuk | 2017-12-04 | 8 | -8/+0 |
| | | | | They're hard to keep in sync with .clang-format or other tools. | ||||
* | test: Bump timeout in tests to 5spr443 | Alan Antonuk | 2017-11-06 | 1 | -2/+2 |
| | | | | 500ms is too short, and regularly times out when running on travis. | ||||
* | ci: Add coverage build to travis | sigiesec | 2017-10-30 | 1 | -1/+5 |
| | | | | | This builds rabbitmq-c with coverage enabled, and runs the tests, uploading the results to coveralls.io. | ||||
* | test: add tests for basic.get, basic.consume & basic.publish | sigiesec | 2017-10-30 | 2 | -0/+211 |
| | | | | Add integration tests that run against a locally running broker. | ||||
* | Fix: small warning fixes. | Alan Antonuk | 2016-04-09 | 1 | -0/+3 |
| | |||||
* | Test: correct overflow in constant. | Alan Antonuk | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | Test: use correct printf for unsigned. | Alan Antonuk | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | Lib: amqp_parse_url should initialize output | Alan Antonuk | 2015-10-24 | 1 | -1/+0 |
| | | | | | | | amqp_parse_url() calls amqp_default_connection_info() to initialize the output parameter to sensible defaults that mirror what the Java and .NET do. Fixes #319 | ||||
* | tests: fix memory leak in test_table.c | Alan Antonuk | 2015-06-07 | 1 | -1/+2 |
| | |||||
* | Win32: fixup a few MSVC warnings in test & examples | Alan Antonuk | 2015-06-02 | 2 | -4/+11 |
| | |||||
* | win32: Enable static builds on Win32. | Alan Antonuk | 2015-06-01 | 1 | -0/+1 |
| | |||||
* | Add test for amqp_merge_capabilities function.auth_failure | Alan Antonuk | 2015-05-06 | 2 | -0/+208 |
| | |||||
* | Correct configure_file in tests directory. | Alan Antonuk | 2015-05-02 | 1 | -1/+1 |
| | | | | COPY_ONLY should be COPYONLY. (Yay developer warnings). | ||||
* | Unit test for verify sasl mechanisms | Bhasker Allam | 2015-04-05 | 2 | -0/+76 |
| | |||||
* | Make tests only link against static rabbitmq | Alan Antonuk | 2015-04-05 | 1 | -3/+3 |
| | | | | | This gets around issues with symbol visibility issues while testing functions that are not declared to be visibile outside the library. | ||||
* | Add test for amqp_error_string2() for new values. | Alan Antonuk | 2015-01-06 | 2 | -0/+60 |
| | | | | | Add a tests that ensures that we add error message strings as we add new amqp_status_enum values. | ||||
* | CMake: Add -DHAVE_CONFIG_H to tests/*.c | Alan Antonuk | 2014-04-13 | 1 | -0/+2 |
| | | | | | test_hostcheck includes a file which includes amqp_private.h which needs config.h. | ||||
* | [openssl] Support wildcard hostname verification | Michael Steinert | 2014-03-04 | 2 | -0/+83 |
| | | | | Most of this code comes from version Curl 7.35. | ||||
* | Correct usage of amqp_error_string in test code | Alan Antonuk | 2013-06-14 | 2 | -3/+3 |
| | |||||
* | Fix code formatting to match the rest of the lib | Alan Antonuk | 2013-04-17 | 1 | -30/+30 |
| | |||||
* | Add amqps:// support to the URL parser | Michael Steinert | 2013-04-09 | 1 | -15/+96 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Updating license year | Alan Antonuk | 2013-04-08 | 2 | -0/+6 |
| | |||||
* | Formatted source code with astyle utilty | Alan Antonuk | 2013-04-08 | 2 | -131/+143 |
| | |||||
* | Adding vim modelines to help with source formatting | Alan Antonuk | 2013-04-05 | 3 | -0/+3 |
| | |||||
* | CMake: build both static and shared libs in one build | Alan Antonuk | 2012-11-14 | 1 | -2/+2 |
| | |||||
* | Make inttypes.h available when compiling for msvc | Alan Antonuk | 2012-10-02 | 2 | -0/+312 |
| | | | | | | Test programs require inttypes.h which MSVC doesn't supply at any version (stdint.h is supplied at 1600+). Make it available in these situations | ||||
* | Removed redundant msinttypes inclusion in tests | Andrew Kravchuk | 2012-07-23 | 1 | -5/+0 |
| | |||||
* | msinttypes.h is always required on MSVC for tests | Alan Antonuk | 2012-05-24 | 1 | -0/+5 |
| | |||||
* | Adding tests/ directory to CMake build | Alan Antonuk | 2012-05-24 | 2 | -1/+11 |
| | |||||
* | Set default visibility to hidden & enable a couple more warnings | Michael Steinert | 2012-05-17 | 1 | -4/+3 |
| | | | | | | | | | | | | | | 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 Steinert | 2012-05-17 | 2 | -27/+21 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Convert to non-recursive Automake | Michael Steinert | 2012-05-17 | 2 | -19/+1 |
| | | | | | | | | 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> | ||||
* | Automated relicensing of source files MPL/GPL -> MIT | Marek Majkowski | 2012-04-12 | 2 | -52/+40 |
| | |||||
* | Update copyright 2012 | Emile Joubert | 2012-02-02 | 2 | -2/+2 |
| | |||||
* | Add support for parsing amqp URLs to librabbitmq | David Wragg | 2011-09-21 | 2 | -1/+175 |
| | |||||
* | Automatically run test_tables in 'make check' | David Wragg | 2011-09-21 | 2 | -122/+236 |
| | | | | | | This involves making test_tables self-contained. Previously, it would write to stdout, and that output had to be manually compared with test_tables.expected. Now the comparison is automated. | ||||
* | Remove the redundant float and double encoding tests | David Wragg | 2011-09-21 | 1 | -26/+0 |
| | | | | test_table_codec already tests these. | ||||
* | Don't emit trailing spaces in test_tables.c | David Wragg | 2011-07-05 | 1 | -14/+14 |
| | |||||
* | Remove trailing whitespace | David Wragg | 2011-07-05 | 1 | -9/+9 |
| | |||||
* | Update copyright notices | David Wragg | 2011-03-01 | 1 | -19/+7 |
| | | | | And generally bring debian/copyright up to date. | ||||
* | Use the msinttypes header when building with the Microsoft compiler | David Wragg | 2010-10-21 | 1 | -0/+4 |
| | |||||
* | Make test_tables.c ISO C90 clean | David Wragg | 2010-10-21 | 2 | -92/+195 |
| | | | | | | | (As long as you have a stdint.h and inttypes.h available.) And kill the unclean macros in amqp.h that were only used from test_tables.c. | ||||
* | Pass "-ansi -pedantic" to gcc, so it tells us when we stray from C90 | David Wragg | 2010-10-21 | 1 | -0/+8 |
| | | | | | | | | And fix up the resulting warnings We don't use "-ansi -pedantic" in the tools dir, because that code relies on libpopt, and so is unlikely ever to work with the Microsoft compiler anyway. |