This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch feature/bundle_hide_symbols in repository https://gitbox.apache.org/repos/asf/celix.git
commit 272c1e9c09f4299068a8567d447e0d9ceb8daa9b Merge: d2240029 d07ee87f Author: Pepijn Noltes <pepijnnol...@gmail.com> AuthorDate: Sat Apr 29 14:09:10 2023 +0200 Merge branch 'master' into feature/bundle_linker_script .asf.yaml | 12 + CMakeLists.txt | 3 + bundles/deployment_admin/CMakeLists.txt | 1 + bundles/http_admin/http_admin/src/activator.c | 3 +- bundles/http_admin/http_admin/src/http_admin.c | 1 - .../http_admin/http_admin/src/websocket_admin.c | 4 - .../http_admin/http_admin/src/websocket_admin.h | 2 +- bundles/logging/log_helper/CMakeLists.txt | 1 + bundles/logging/log_service_v2/CMakeLists.txt | 1 + .../src/deprecated_log_writer_stdout_activator.c | 2 +- .../examples/pubsub/publisher/CMakeLists.txt | 1 + .../private/include/pubsub_publisher_private.h | 7 +- .../publisher/private/src/ps_pub_activator.c | 6 +- .../publisher/private/src/pubsub_publisher.c | 3 +- .../pubsub/pubsub_websocket/CMakeLists.txt | 1 + .../examples/pubsub/subscriber/CMakeLists.txt | 1 + .../subscriber/private/src/ps_sub_activator.c | 16 +- .../pubsub/integration/gtest/loopback_activator.c | 2 +- .../integration/gtest/serializer_activator.cc | 2 +- bundles/pubsub/integration/gtest/sut_activator.c | 2 +- .../integration/gtest/sut_endpoint_activator.c | 2 +- bundles/pubsub/integration/gtest/tst_activator.c | 2 +- .../integration/gtest/tst_endpoint_activator.c | 2 +- bundles/pubsub/pubsub_admin_tcp/CMakeLists.txt | 1 + .../pubsub/pubsub_admin_tcp/src/psa_activator.c | 2 +- .../pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c | 1 + .../pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.h | 1 - bundles/pubsub/pubsub_admin_udp_mc/CMakeLists.txt | 1 + .../pubsub/pubsub_admin_websocket/CMakeLists.txt | 1 + bundles/pubsub/pubsub_admin_zmq/CMakeLists.txt | 1 + .../pubsub/pubsub_admin_zmq/src/psa_activator.c | 2 +- bundles/pubsub/pubsub_discovery/CMakeLists.txt | 1 + .../pubsub_protocol_wire_v1/CMakeLists.txt | 1 + .../pubsub_serializer_avrobin/CMakeLists.txt | 1 + .../PubSubAvrobinSerializationProviderTestSuite.cc | 4 +- .../pubsub/pubsub_serializer_json/CMakeLists.txt | 1 + .../src/ps_json_serializer_activator.c | 2 +- .../src/pubsub_serializer_impl.c | 3 +- bundles/pubsub/pubsub_spi/CMakeLists.txt | 1 + bundles/pubsub/pubsub_spi/src/pubsub_endpoint.c | 7 +- .../pubsub_topology_manager/src/pstm_activator.c | 5 +- .../src/pubsub_topology_manager.h | 2 - bundles/pubsub/pubsub_utils/CMakeLists.txt | 1 + .../gtest/src/PubSubMatchingTestSuite.cpp | 3 +- .../src/PubSubSerializationProviderTestSuite.cc | 3 +- .../pubsub/pubsub_utils/include/pubsub_matching.h | 1 - bundles/pubsub/pubsub_utils/include/pubsub_utils.h | 1 - .../src/pubsub_serialization_provider.c | 1 + bundles/pubsub/pubsub_utils/src/pubsub_utils.c | 1 + .../discovery_common/CMakeLists.txt | 1 + .../src/DiscoveryZeroconfActivatorTestSuite.cc | 3 - .../src/DiscoveryZeroconfAnnouncerTestSuite.cc | 6 +- .../src/DiscoveryZeroconfIntegrationTestSuite.cc | 6 +- .../remote_service_admin_dfi/CMakeLists.txt | 1 + .../remote_service_admin_dfi/gtest/CMakeLists.txt | 2 + .../gtest/src/tst_activator.c | 9 +- .../src/remote_service_admin_activator.c | 2 +- .../rsa_shm/CMakeLists.txt | 2 +- .../rsa_shm/gtest/CMakeLists.txt | 1 + bundles/remote_services/rsa_common/CMakeLists.txt | 1 + .../rsa_dfi_utils/gtest/src/DfiUtilsTestSuite.cc | 4 +- .../remote_services/rsa_dfi_utils/src/dfi_utils.c | 99 ++-- .../remote_services/rsa_rpc_json/CMakeLists.txt | 1 + .../gtest/src/RsaJsonRpcActivatorTestSuite.cc | 6 +- .../rsa_rpc_json/gtest/src/RsaJsonRpcTestSuite.cc | 16 +- .../rsa_rpc_json/src/rsa_json_rpc_activator.c | 2 +- .../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.h | 1 - .../rsa_rpc_json/src/rsa_json_rpc_impl.c | 7 +- .../rsa_rpc_json/src/rsa_json_rpc_impl.h | 1 - .../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.h | 1 - .../rsa_rpc_json/src/rsa_request_sender_tracker.c | 3 +- bundles/remote_services/rsa_spi/CMakeLists.txt | 1 - .../topology_manager/CMakeLists.txt | 1 + .../topology_manager/tms_tst/CMakeLists.txt | 1 + .../topology_manager/tms_tst/bundle/CMakeLists.txt | 1 + bundles/shell/remote_shell/CMakeLists.txt | 1 + bundles/shell/remote_shell/src/activator.c | 8 +- bundles/shell/shell/src/c_shell_activator.c | 14 +- bundles/shell/shell/src/help_command.c | 7 +- bundles/shell/shell/src/install_command.c | 6 +- bundles/shell/shell/src/query_command.c | 13 +- bundles/shell/shell_bonjour/CMakeLists.txt | 1 + cmake/celix_project/CelixProject.cmake | 21 +- cmake/cmake_celix/BundlePackaging.cmake | 2 +- libs/dependency_manager/CMakeLists.txt | 2 + libs/dependency_manager_cxx/CMakeLists.txt | 1 + libs/dfi/CMakeLists.txt | 19 +- libs/dfi/include/avrobin_serializer.h | 9 +- libs/dfi/include/dfi_log_util.h | 4 +- libs/dfi/include/dyn_common.h | 11 +- libs/dfi/include/dyn_function.h | 27 +- libs/dfi/include/dyn_interface.h | 24 +- libs/dfi/include/dyn_message.h | 22 +- libs/dfi/include/dyn_type.h | 62 +-- libs/dfi/include/json_rpc.h | 7 +- libs/dfi/include/json_serializer.h | 9 +- libs/error_injector/CMakeLists.txt | 1 + libs/error_injector/api/celix_error_injector.h | 48 -- .../src/celix_bundle_context_ei.cc | 4 +- .../celix_threads/src/celix_threads_ei.cc | 4 +- libs/error_injector/eventfd/include/eventfd_ei.h | 1 - libs/error_injector/eventfd/src/eventfd_ei.cc | 5 +- .../error_injector/ifaddrs}/CMakeLists.txt | 26 +- libs/error_injector/ifaddrs/include/ifaddrs_ei.h | 35 ++ libs/error_injector/ifaddrs/src/ifaddrs_ei.cc | 33 ++ .../mdnsresponder/src/mdnsresponder_ei.cc | 10 +- libs/etcdlib/CMakeLists.txt | 40 +- libs/etcdlib/api/etcd.h | 25 +- libs/etcdlib/api/etcdlib.h | 23 +- libs/framework/CMakeLists.txt | 29 +- libs/framework/gtest/CMakeLists.txt | 11 +- .../BundleArchiveWithErrorInjectionTestSuite.cc | 31 +- ...s.cpp => CelixBundleContextBundlesTestSuite.cc} | 88 ++-- ....cpp => CelixBundleContextServicesTestSuite.cc} | 106 ++-- ...amework_test.cpp => CelixFrameworkTestSuite.cc} | 37 ++ .../gtest/src/CelixFrameworkUtilsTestSuite.cc | 12 +- .../gtest/src/MultipleFrameworkTestSuite.cc | 56 +++ .../gtest/src/multiple_frameworks_test.cpp | 103 ---- libs/framework/include/bundle.h | 116 ----- libs/framework/include/celix_bundle.h | 39 +- libs/framework/include/celix_bundle_activator.h | 15 +- libs/framework/include/celix_bundle_context.h | 154 +++--- libs/framework/include/celix_bundle_event.h | 1 - libs/framework/include/celix_bundle_state.h | 4 +- libs/framework/include/celix_dependency_manager.h | 34 +- libs/framework/include/celix_dm_component.h | 49 +- libs/framework/include/celix_dm_info.h | 3 +- .../include/celix_dm_service_dependency.h | 31 +- libs/framework/include/celix_framework.h | 66 +-- libs/framework/include/celix_framework_factory.h | 5 +- libs/framework/include/celix_framework_utils.h | 10 +- libs/framework/include/celix_launcher.h | 17 +- libs/framework/include/celix_log.h | 18 +- libs/framework/include/celix_service_event.h | 4 +- libs/framework/include/celix_types.h | 9 + libs/framework/include/module.h | 102 ---- .../{include => include_deprecated}/archive.h | 3 +- libs/framework/include_deprecated/bundle.h | 117 +++++ .../bundle_activator.h | 15 +- .../bundle_archive.h | 42 +- .../bundle_context.h | 53 +- .../{include => include_deprecated}/bundle_event.h | 0 .../bundle_listener.h | 0 .../bundle_revision.h | 11 +- .../{include => include_deprecated}/bundle_state.h | 0 .../{include => include_deprecated}/capability.h | 11 +- .../{include => include_deprecated}/dm_activator.h | 7 +- .../{include => include_deprecated}/dm_component.h | 43 +- .../dm_dependency_manager.h | 15 +- .../dm_service_dependency.h | 28 +- .../{include => include_deprecated}/framework.h | 17 +- .../framework_event.h | 0 .../framework_exports.h | 0 .../framework_listener.h | 0 .../listener_hook_service.h | 0 .../{include => include_deprecated}/manifest.h | 22 +- libs/framework/include_deprecated/module.h | 102 ++++ .../{include => include_deprecated}/requirement.h | 12 +- .../service_event.h | 0 .../service_factory.h | 0 .../service_listener.h | 1 - .../service_reference.h | 26 +- .../service_registration.h | 17 +- .../service_registry.h | 51 +- .../service_tracker.h | 35 +- .../service_tracker_customizer.h | 15 +- .../{include => include_deprecated}/wire.h | 13 +- libs/framework/src/bundle_archive.c | 6 +- libs/framework/src/bundle_archive_private.h | 4 +- libs/framework/src/bundle_context.c | 12 +- libs/framework/src/bundle_private.h | 8 +- libs/framework/src/bundle_revision.c | 4 +- libs/framework/src/bundle_revision_private.h | 4 +- libs/framework/src/celix_bundle_cache.c | 2 +- libs/framework/src/celix_framework_utils_private.h | 18 +- libs/framework/src/framework.c | 14 +- libs/framework/src/framework_private.h | 32 +- libs/framework/src/service_reference.c | 4 +- libs/utils/CMakeLists.txt | 39 +- libs/utils/gtest/CMakeLists.txt | 4 +- libs/utils/gtest/src/ConvertUtilsTestSuite.cc | 16 + libs/utils/gtest/src/CxxFilterTestSuite.cc | 56 ++- libs/utils/gtest/src/FilterTestSuite.cc | 433 ++++++++++++++++ .../gtest/src/IpUtilsErrorInjectionTestSuite.cc | 47 ++ libs/utils/gtest/src/VersionRangeTestSuite.cc | 12 +- libs/utils/include/celix_array_list.h | 44 +- libs/utils/include/celix_convert_utils.h | 9 +- libs/utils/include/celix_errno.h | 4 +- libs/utils/include/celix_file_utils.h | 18 +- libs/utils/include/celix_filter.h | 24 +- libs/utils/include/celix_log_utils.h | 17 +- libs/utils/include/celix_long_hash_map.h | 39 +- libs/utils/include/celix_properties.h | 53 +- libs/utils/include/celix_string_hash_map.h | 39 +- libs/utils/include/celix_threads.h | 68 ++- libs/utils/include/celix_utils.h | 34 +- libs/utils/include/celix_version.h | 32 +- libs/utils/include/celix_version_range.h | 23 +- libs/utils/include_deprecated/array_list.h | 52 +- .../{include => include_deprecated}/celixbool.h | 0 libs/utils/include_deprecated/filter.h | 14 +- libs/utils/include_deprecated/hash_map.h | 100 ++-- libs/utils/include_deprecated/ip_utils.h | 12 +- libs/utils/include_deprecated/linked_list.h | 48 +- .../include_deprecated/linked_list_iterator.h | 24 +- libs/utils/include_deprecated/properties.h | 24 +- libs/utils/include_deprecated/utils.h | 18 +- libs/utils/include_deprecated/version.h | 28 +- libs/utils/include_deprecated/version_range.h | 23 +- libs/utils/private/test/filter_test.cpp | 546 --------------------- libs/utils/private/test/ip_utils_test.cpp | 6 +- libs/utils/private/test/version_test.cpp | 7 + libs/utils/src/array_list_private.h | 3 +- libs/utils/src/celix_convert_utils.c | 6 +- libs/utils/src/filter.c | 134 ++++- libs/utils/src/hash_map.c | 2 +- libs/utils/src/hash_map_private.h | 15 +- libs/utils/src/ip_utils.c | 17 +- libs/utils/src/linked_list.c | 2 +- libs/utils/src/properties.c | 2 +- libs/utils/src/version.c | 2 + libs/utils/src/version_range.c | 2 + 222 files changed, 2588 insertions(+), 2254 deletions(-)