| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is the latest RabbitMQ release, there are no changes to framing,
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This does not change the license or copyright of rabbitmq-c. This tweaks the LICENSE file
so that github properly detects the license.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This does not change the license, rabbitmq-c is still licensed under the
the MIT license.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
Instead of defining OpenSSL dependency via Requires.private use Libs.private instead.
This removes the requirement of a .pc file for OpenSSL which not all distributions ship such as FreeBSD.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
|
|
|
|
|
|
| |
Also use find_package(... REQUIRED) pattern to be a bit more concise.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
C99 supports the inline keyword, this is now not useful.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
| |
It is believed that enough maintained platforms (Linux, MacOS, Win32)
have a compiler that supports a compiler that can compile in C99. This
also removes the need to maintain a number of workarounds, as well as
awkward coding patterns.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
While this wasn't causing any errors, it did have the potential to cause
a bug if the error codes ever were positive.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
Found using clang-tidy
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
This will be replaced with some sort of shell script.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This makes full library version on unix-like systems match the release
version. The SOVERSION remains as unchanged, for compatibility sake.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This unfortunately pulls in xmlto which is huge, thus we only enable it
for a subset of the build configurations.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
| |
Make sure that these tools continue to build, unfortunately this
requires installing additional packages on Linux/MacOS, which is
expected to slow down CI runs.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This is done to make the output when the build fails a bit easier to
read, specifically we'd like to see the compiler command used.
This theoretically will improve the build performance a bit by doing the
compilation in parallel, however the cost for installing ninja likely
more than offsets this.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
This codepath should not be hit, as XMLTO is required to be defined if
BUILD_TOOLS_DOCS is set (it should error-our earlier in CMake.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMake issues the following developer warning about FindXmlTo:
The package name passed to `find_package_handle_standard_args` (XMLTO) does
not match the name of the calling package (XmlTo). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
This corrects that by naming it FindXMLTO.cmake.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
The travis build has been turned off for a while.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
| |
This file was by for YouCompleteMe for those developing with this
extension. The replacement is to use the -DCMAKE_EXPORT_COMPILE_COMMANDS
flag to generate a compile_commands.json with cmake, then configure
YouCompleteMe to read that.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Then make BUILD_TOOLS_DOCS only usable when BUILD_TOOLS is ON and
explicitly specified.
This makes the project easier to add_submodule by not sometimes turning
on features based on the environment. And makes it explict when things
are enabled vs something that is triggered based on the environment.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
These have not been replaced with better alternatives.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
HAVE_CONFIG_H is never defined, thus this is never included.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the project easier to use as an add_subdirectory in a larger
project without needing to explicitly disable this feature.
As a minor side-effect: BUILD_EXAMPLES now requires
BUILD_SHARED_LIBS=ON. While there isn't a technical limitation, it makes
the CMake code easier to reason about, and is believed this will not
impact a lot of users. If this ends up being a problem, it can be
reconsidered.
|
| |
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
| |
Users using rabbitmq-c by using add_subdirectory on the project should
use the rabbitmq::rabbitmq or rabbitmq::rabbitmq-static targets to use
the rabbitmq-c library.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
| |
Use modern CMake idioms when defining rabbitmq and rabbitmq-static
library targets.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
Then also remove unused -DWITH_SSL define when compiling the library.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
| |
This sets an rpath that makes it a bit more intuitive to use when the
library is moved after installation. This matches the behavior on MacOS
platform, which is why this is not changed for MacOS platforms.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To help package managers cmake install commands now specify a COMPONENT.
Components include:
- rabbitmq-c-runtime: libraries necessary for running programs linked
against rabbitmq-c.
- rabbitmq-c-development: static libraries, headers necessary for
building programs against rabbitmq-c
- rabbitmq-c-tools: CLI tools for interacting with RabbitMQ broker
- rabbitmq-c-tool-docs: man pages for CLI tools.
This also updates the tool install directory to use GnuInstallDirs-
compatible location
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
| |
This is dead code, obsoleted by #673 (setting minimum OpenSSL v1.1.1).
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
| |
Add support for TLSv1.3, and set the default supported versions to be
TLSv1.2 and TLSv1.3. TLSv1.0 and TLSv1.1 both have security flaws that
make them unsuitable as a default. If these versions are required, they
can be explictly set by users to use these older versions.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
v1.1.0 and older is no longer supported by OpenSSL
(https://www.openssl.org/policies/releasestrat.html). While there is
the possibility that someone is paying for support for v1.0.2, this
library is not regularly tested against these versions.
As a side-effect older workarounds for hostname verification can be
removed.
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|