This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git
from 08a1d273 Merge pull request #463 from
pnoltes/feature/separate_deprecated_headers
add d057ce8d Replace sprintf usage with snprintf or asprintf
add 32e30009 Refactor pubsubProtocol_encodeMetadata for improved handling
and remove of sprintf usage
add b43e1841 Add extra content size output argument for encoding metadata
in the pubsub protocols
add 824d63c8 Improve existing buffer handling for the pubsub protocol
encoding of headers and footers
add 2b720bd6 Replaces use of snprintf for asprint in deployment_admin.c
add c809a00d Add check to asprintf return
add 76aa019c Add __attribute__((format)) usage and add -Wformat=2 compile
flag
add 79517568 Improve and add some missing handling of snprintf return
values
add 32b60615 Add missing __attribute__((format(printf))) to celix log
utils.
add b37a1e29 Merge remote-tracking branch 'origin/master' into
feature/remove_sprintf_usage
add dc6f2c7f Add CMAKE_DL_LIBS libaries to celix_pswp_common_tests
add b74b76f3 Remove usage of dlerror in unit test
add 5dca4666 Configure explicit conversion for protocol test
add 2f75f7eb Configure malloc return null test behind a compile option
add 5929594d Merge remote-tracking branch 'origin/master' into
feature/remove_sprintf_usage
add e7724472 Add __attribute__((format)) to BundleContext.h
add 61940ed0 Replaced some usage of %lu for size_t to %zu
add 4441d020 Fix C++ wrong log methods usage concerning formatting
add cb38595a Update bundles/pubsub/pubsub_spi/include/pubsub_protocol.h
add 80da7703 Update
bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
new 2ccce27a Merge pull request #459 from
apache/feature/remove_sprintf_usage
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CMakeLists.txt | 8 +-
bundles/deployment_admin/src/deployment_admin.c | 28 +--
.../log_service_api/include/celix_log_service.h | 36 ++-
.../gtest/src/SyslogWriterTestSuite.cc | 2 +-
.../pubsub_admin_tcp/src/pubsub_tcp_handler.c | 14 +-
.../pubsub_admin_zmq/src/pubsub_zmq_topic_sender.c | 15 +-
.../pubsub_protocol_lib/gtest/CMakeLists.txt | 12 +-
.../gtest/src/PS_WP_common_tests.cc | 280 +++++++++++++++++++--
.../pubsub_protocol_lib/gtest/src/main.cc | 26 --
.../include/pubsub_wire_protocol_common.h | 22 +-
.../src/pubsub_wire_protocol_common.c | 198 +++++++--------
.../gtest/src/PS_WP_tests.cc | 39 ++-
.../src/pubsub_wire_protocol_impl.c | 8 +-
.../src/pubsub_wire_protocol_impl.h | 2 +-
.../gtest/src/PS_WP_v2_tests.cc | 60 +++++
.../src/pubsub_wire_v2_protocol_impl.c | 12 +-
.../src/pubsub_wire_v2_protocol_impl.h | 2 +-
.../pubsub/pubsub_spi/include/pubsub_protocol.h | 88 ++++---
.../include/endpoint_discovery_server.h | 2 +-
.../discovery_common/src/discovery_activator.c | 27 +-
.../src/endpoint_discovery_server.c | 15 +-
.../discovery_etcd/src/etcd_watcher.c | 2 +-
.../discovery_shm/src/discovery_shmWatcher.c | 2 +-
.../tms_tst/disc_mock/disc_mock_activator.c | 25 +-
.../src/DynamicConsumerBundleActivator.cc | 2 +-
libs/dfi/src/avrobin_serializer.c | 6 +-
libs/framework/include/celix/BundleActivator.h | 2 +-
libs/framework/include/celix/BundleContext.h | 24 +-
libs/framework/include/celix_bundle_context.h | 12 +-
libs/framework/include/celix_log.h | 30 ++-
libs/framework/src/bundle_context.c | 2 +-
libs/framework/src/celix_log.c | 2 +-
libs/framework/src/framework.c | 6 +-
libs/utils/include/celix_log_utils.h | 54 ++--
libs/utils/private/test/array_list_test.cpp | 4 +-
libs/utils/private/test/hash_map_test.cpp | 5 +-
libs/utils/src/version_range.c | 34 +--
37 files changed, 743 insertions(+), 365 deletions(-)
delete mode 100644
bundles/pubsub/pubsub_protocol/pubsub_protocol_lib/gtest/src/main.cc