Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright & license header to use SPDX id | Alan Antonuk | 2021-07-27 | 1 | -102/+10 |
| | | | | | | | 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: update framing regenerator to use python 3 | Alan Antonuk | 2021-04-20 | 1 | -96/+94 |
| | | | | Signed-off-by: GitHub <noreply@github.com> | ||||
* | lib: Fix minor issues with codegen | Alan Antonuk | 2021-04-20 | 1 | -0/+1 |
| | | | | Signed-off-by: GitHub <noreply@github.com> | ||||
* | cmake: use GenerateExportHeader for AMQP_EXPORT | Alan Antonuk | 2021-04-06 | 1 | -14/+14 |
| | | | | | | | | | | Use cmake's GenerateExportHeader to define AMQP_EXPORT & AMQP_DEPRECATED over the one in amqp.h. This is likely to be more correct over time. Note this requires bumping the minimum required version from v3.10 to v3.12 to pick up support in CMake for C libraries. Signed-off-by: GitHub <noreply@github.com> | ||||
* | Remove vim mode lines.format | Alan Antonuk | 2017-12-04 | 1 | -1/+0 |
| | | | | They're hard to keep in sync with .clang-format or other tools. | ||||
* | Fix int truncation warnings on Win32 | Alan Antonuk | 2015-05-04 | 1 | -3/+5 |
| | |||||
* | Alloc an struct when decoding methods w/o fields | Alan Antonuk | 2014-12-29 | 1 | -6/+3 |
| | | | | | | | For consistency sake, allocate and return a struct when decoding methods that don't have fields. Fixes #225 | ||||
* | Enable auto_delete & internal for exchange.declaredeclare_xchg_parms | Alan Antonuk | 2014-10-19 | 1 | -1/+0 |
| | | | | | | | | Enable auto_delete and internal parameters of amqp_exchange_declare() in codegen. These were once not generated because RabbitMQ did not support these parameters. The broker now supports these and so should we. This fixes #218 | ||||
* | Document public API | Alan Antonuk | 2013-08-13 | 1 | -17/+99 |
| | |||||
* | Move amqp_os_socket* funcs to amqp_socket.h/c | Alan Antonuk | 2013-06-13 | 1 | -1/+0 |
| | | | | | Doing this for code clarity, as its easier to see what the issues are when you have all implementations in one file | ||||
* | Expose public error-code interface | Alan Antonuk | 2013-06-13 | 1 | -14/+14 |
| | | | | | | | | | | Publicly define the error codes returned from the various public API functions. The error codes are defined in the amqp_status_enum and are all negative in value to work with functions that return positive values. OS and SSL specific codes are no longer munged into the error code, as it is unlikely for that information to be useful to library users. | ||||
* | Updating license year | Alan Antonuk | 2013-04-08 | 1 | -0/+9 |
| | |||||
* | Adding vim modelines to help with source formatting | Alan Antonuk | 2013-04-05 | 1 | -0/+1 |
| | |||||
* | Build without amqp_framing.py codegen | Alan Antonuk | 2013-01-16 | 1 | -2/+2 |
| | | | | | | | | Changes to support building rabbitmq-c without having run the python code generator, or do a git submodule init/update. This is to facilitate creating links to downloadable source archives from github | ||||
* | Codegen.py should emit license in amqp_framing.h | Alan Antonuk | 2013-01-15 | 1 | -1/+33 |
| | |||||
* | Python 3.x support in codegen.py (via 2to3) | Alan Antonuk | 2012-10-04 | 1 | -1/+2 |
| | | | | | | Changes to librabbitmq/codegen.py to support Python3 Upstream changes to rabbitmq-codegen/amqp_codegen.py to support Python3 | ||||
* | Cleaning up Public API decorators on Win32 | Alan Antonuk | 2012-05-23 | 1 | -21/+21 |
| | | | | | | | | | | | | | | 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) | ||||
* | Set default visibility to hidden & enable a couple more warnings | Michael Steinert | 2012-05-17 | 1 | -34/+54 |
| | | | | | | | | | | | | | | 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> | ||||
* | Merge remote-tracking branch 'upstream/bug24770' | Alan Antonuk | 2012-04-12 | 1 | -52/+40 |
|\ | |||||
| * | Python uses different comments than C | Marek Majkowski | 2012-04-12 | 1 | -27/+27 |
| | | |||||
| * | Automated relicensing of source files MPL/GPL -> MIT | Marek Majkowski | 2012-04-12 | 1 | -59/+47 |
| | | |||||
* | | Merge remote-tracking branch 'upstream/bug24606' | Alan Antonuk | 2012-04-12 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Update copyright 2012 | Emile Joubert | 2012-02-02 | 1 | -2/+2 |
| | | |||||
* | | amqp_framing.h should include amqp.h | Alan Antonuk | 2012-03-06 | 1 | -0/+2 |
|/ | | | | amqp_framing.h uses typedefs that are defined in amqp.h | ||||
* | Remove trailing whitespace | David Wragg | 2011-07-05 | 1 | -1/+1 |
| | |||||
* | Include a license block in generated files | David Wragg | 2011-03-02 | 1 | -11/+49 |
| | | | | For consistency with broker codegen. | ||||
* | Python doesn't like C comments | David Wragg | 2011-03-01 | 1 | -35/+35 |
| | |||||
* | Update copyright notices | David Wragg | 2011-03-01 | 1 | -47/+35 |
| | | | | And generally bring debian/copyright up to date. | ||||
* | Extract common code from generated API functions | David Wragg | 2011-01-14 | 1 | -12/+4 |
| | |||||
* | Generate API functions corresponding to most synchronous methods | David Wragg | 2011-01-07 | 1 | -7/+112 |
| | | | | | | | | | | There's a lot of boilerplate code in amqp_api.c for API functions corresponding to synchronous AMQP methods. And some of the functions that should be there are missing (e.g. basic.qos, basic.cancel). Instead, we can generate these functions from the protocol definition, plus a little information to describe where the function arguments do not reflect all of the method fields. | ||||
* | Make the examples compile and work under Windows | David Wragg | 2010-10-21 | 1 | -1/+1 |
| | |||||
* | Convert generated code to use the new codec helper functions | David Wragg | 2010-10-21 | 1 | -151/+188 |
| | |||||
* | Don't produce empty structs in generated code | David Wragg | 2010-10-21 | 1 | -2/+5 |
| | | | | ISO C doesn't allow empty structs; they are a gcc extension. | ||||
* | merged default into bug22951 | Alexandru Scvortov | 2010-08-04 | 1 | -0/+1 |
|\ | |||||
| * | this branch is default with amqp_0_9_1 merged in; everything seems to work fine | Alexandru Scvortov | 2010-07-09 | 1 | -0/+1 |
| | | |||||
* | | A Windows port, using MinGW/MSYS | David Wragg | 2010-05-30 | 1 | -0/+1 |
| | | |||||
* | | Make error codes returned by librabbitmq functions opaque | David Wragg | 2010-05-30 | 1 | -8/+6 |
|/ | | | | | | | | | | | | | Windows doesn't generally use POSIX error codes, which poses a problem for librabbitmq's approach of using those error codes in its API. So make the librabbitmq error codes opaque: They are still be integers, but client code is not supposed to assume anything about them, except that they can be passed to a new amqp_error_string() function which returns the corresponding error message Internally, the error codes are either taken from a set of librabbitmq-specific values, or correspond to an OS-specific (POSIX or win32) error code, with a simple encoding to indicate which is which. | ||||
* | Only allocate and check if we would ask for more than zero bytes | Tony Garnock-Jones | 2010-04-20 | 1 | -3/+6 |
| | |||||
* | Check results of amqp_pool_alloc() and friends. | Tony Garnock-Jones | 2010-04-16 | 1 | -0/+2 |
| | |||||
* | Include stdint.h in generated C. HT @geoffgarside. | Tony Garnock-Jones | 2010-03-30 | 1 | -0/+1 |
| | |||||
* | Update licensing to dual MPL/GPL | Tony Garnock-Jones | 2010-02-21 | 1 | -30/+47 |
| | |||||
* | Add "autogenerated code" comment to codegen. | Tony Garnock-Jones | 2010-01-12 | 1 | -1/+4 |
| | |||||
* | Add amqp_constant_name() and amqp_constant_is_hard_error(). | Tony Garnock-Jones | 2010-01-09 | 1 | -0/+21 |
| | |||||
* | Add missing flagword_index increment | Tony Garnock-Jones | 2009-08-12 | 1 | -0/+1 |
| | |||||
* | Introduce more mid-level API | Tony Garnock-Jones | 2009-05-07 | 1 | -1/+2 |
| | |||||
* | Avoid stomping on flags during content properties encoding. | Tony Garnock-Jones | 2009-04-26 | 1 | -9/+14 |
| | |||||
* | Publication works! | Tony Garnock-Jones | 2009-04-26 | 1 | -26/+10 |
| | |||||
* | More work | Tony Garnock-Jones | 2009-04-25 | 1 | -0/+20 |
| | |||||
* | Codegen, codec | Tony Garnock-Jones | 2009-04-25 | 1 | -159/+250 |
| | |||||
* | Start work on codegen | Tony Garnock-Jones | 2009-04-25 | 1 | -0/+342 |