summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Comment magical memcpysbug24349David Wragg2011-08-181-2/+6
|
* Don't rely on unaligned accesses or little-endiannessDavid Wragg2011-08-172-7/+29
| | | | | | | | | | This uses memcpy to avoid the unaligned accesses. gcc on x86 seems to do a reasonable job of optimizing them away. gcc on ARM leaves some memcpy calls in the generated code. It might be better in terms of the code generated to use an approach based on packaged structs (that's wwhat the Linux kernel does). But that would depend on compiler-specific syntax.
* die_errno should use the err parameter, not errnoDavid Wragg2011-07-051-1/+1
|
* Don't emit trailing spaces in test_tables.cDavid Wragg2011-07-051-14/+14
|
* Remove trailing whitespaceDavid Wragg2011-07-0521-62/+62
|
* Merge bug24048 into defaultDavid Wragg2011-04-181-0/+1
|\ | | | | | | Add missing header to fix build on OpenBSD
| * Add missing header (fixes build on OpenBSD).bug24048Piotr Sikora2011-04-111-0/+1
|/
* merge bug23872 into default (update copyright to "VMware, Inc")Alexandru Scvortov2011-03-0244-763/+338
|\
| * Include a license block in generated filesbug23872David Wragg2011-03-021-11/+49
| | | | | | | | For consistency with broker codegen.
| * Fix remaining mentions of the defunct tonyg@rabbitmq.com addressDavid Wragg2011-03-022-2/+3
| |
| * Python doesn't like C commentsDavid Wragg2011-03-011-35/+35
| |
| * Update copyright noticesDavid Wragg2011-03-0142-778/+314
|/ | | | And generally bring debian/copyright up to date.
* Credit recent contributorsDavid Wragg2011-02-071-0/+4
|
* config.h defines _GNU_SOURCE and is therefore all we need to includeDaniel Schauenberg2011-02-034-22/+6
|
* match overall style of header guardsDaniel Schauenberg2011-02-021-2/+2
|
* move strdup to separate file and add guardsDaniel Schauenberg2011-02-024-20/+24
|
* merge bug23645 into default (C client is lacking some methods in its API)Alexandru Scvortov2011-01-140-0/+0
|\
* | Extract common code from generated API functionsbug23645David Wragg2011-01-144-33/+52
| |
* | Remove some redundant function declarationsDavid Wragg2011-01-141-12/+0
| | | | | | | | These are now generated in amqp_framing.h.
* | Add an amqp_basic_reject API functionDavid Wragg2011-01-142-0/+16
| |
* | Generate API functions corresponding to most synchronous methodsDavid Wragg2011-01-073-301/+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.
* More fixes for VPATH-based buildsTony Garnock-Jones2010-12-172-2/+10
| | | | Reported by Tony Garnock-Jones.
* Fix VPATH builds. Path to spec file was incorrect.Tony Garnock-Jones2010-12-111-1/+1
|
* Support for 64-bit Windows buildsDavid Wragg2010-11-302-7/+29
|
* Comment typo fixesDavid Wragg2010-11-241-3/+4
|
* merge bug23472 into default (ac_abs_confdir only available in recent ↵Alexandru Scvortov2010-11-243-7/+9
|\ | | | | | | versions of autoconf)
| * Don't use ac_abs_confdir in autoconf.acbug23472David Wragg2010-11-043-7/+9
| | | | | | | | | | | | | | | | It's only available in recent versions of autoconf, and is not documented. Instead use things like srcdir and top_srcdir, which are documented long-standing features of autoconf.
* | merge bug23423 into defaultAlexandru Scvortov2010-11-1737-1468/+2507
|\ \ | |/ |/|
| * READE.windows improvementsbug23423David Wragg2010-11-141-9/+18
| |
| * Correct the Windows SDK path for VS2005David Wragg2010-11-141-4/+4
| |
| * Add newlines on error messages in examplesDavid Wragg2010-10-281-4/+4
| |
| * Fix a bug in the asprintf implementationDavid Wragg2010-10-281-3/+6
| | | | | | | | *strp[len] does not mean (*strp)[len]
| * Fix a compiler warning when building under mingwDavid Wragg2010-10-282-2/+2
| |
| * Update build instructions for building with the MS compilerDavid Wragg2010-10-282-46/+129
| |
| * Construct the command line to conform to Windows escaping conventionsDavid Wragg2010-10-271-8/+28
| | | | | | | | | | | | Those conventions are crazier than I thought. I leaned about this from <http://blogs.msdn.com/b/oldnewthing/archive/2010/09/17/10063629.aspx>.
| * Add compability macros for AMQP_EMPTY_*David Wragg2010-10-271-0/+6
| | | | | | | | | | No reason to break code written against earlier version of the library when we can easily avoid it.
| * Clean up a fairly odd bit of codeDavid Wragg2010-10-211-14/+5
| |
| * Fix compiler warningsDavid Wragg2010-10-211-4/+3
| |
| * Make the examples compile and work under WindowsDavid Wragg2010-10-2116-143/+201
| |
| * Eliminate the AMQP_EMPTY_* macros from amqp.hDavid Wragg2010-10-2111-25/+26
| | | | | | | | Hooray, amqp.h is now ISO C90 clean.
| * Use the msinttypes header when building with the Microsoft compilerDavid Wragg2010-10-216-4/+577
| |
| * Make test_tables.c ISO C90 cleanDavid Wragg2010-10-214-141/+204
| | | | | | | | | | | | | | (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 C90David Wragg2010-10-2110-10/+64
| | | | | | | | | | | | | | | | 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.
| * Specify which functions are to be exported from the librabbitmq DLLDavid Wragg2010-10-212-143/+173
| |
| * Microsoft C runtime doesn't have snprintfDavid Wragg2010-10-211-6/+4
| | | | | | | | | | Or rather, it seems to call it _snprintf. But we can easily live without it for its uses in librabbitmq.
| * Microsoft link.exe doesn't understand the -l syntaxDavid Wragg2010-10-211-1/+4
| | | | | | | | | | So we need to specify the winsock2 library name explicitly. It gets found by searching along the path in the LIB environment variable.
| * Prevent windows.h name collisions with winsock2.hDavid Wragg2010-10-211-0/+3
| | | | | | | | | | By default, windows.h pulls in the winsock1 definitions, which then collide with those from winsock2.h. Use an MSDN-suggested workaround.
| * Eliminate AMQP_SIMPLE_RPC and friendsDavid Wragg2010-10-212-89/+180
| | | | | | | | They contained C99-style initializers
| * Eliminate C99-style initializers in librabbitmq .c filesDavid Wragg2010-10-212-36/+41
| |
| * Eliminate the AMQP_CHECK_RESULT macroDavid Wragg2010-10-213-32/+37
| |