This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a change to branch feature/bundle_linker_script in repository https://gitbox.apache.org/repos/asf/celix.git
from d2240029 Add linker script for add_celix_bundle so minimize bundle lib size new 5ab7fcf6 Add celix_bundle_hide_symbols cmake function add 91fb6762 Move non celix prefix framework headers to include_deprecated dir add 1984a9eb Explicitly use deprecated framework headers when needed. add b1550ba1 Add deprecated framework header usage to cxx11/cxx14 framework tests add 49761c05 Replace celix_api.h with more explicitly includes add 34dbb948 Merge branch 'master' into feature/deprecated_framework_header_without_celix_prefix add 80d08202 Merge remote-tracking branch 'origin/master' into feature/deprecated_framework_header_without_celix_prefix add f8d76669 Replace arrayList_get with celix_arrayList_get. add b0526a39 Improve error handling dfi add 3f24afb1 Fix wrong var names in 2 CelixProject cmake functions add b525f3ee Remove CELIX_EI_IMPL_NEGATIVE and CELIX_EI_IMPL_POSITIVE add 5443d7eb Merge pull request #521 from xuzhenbao/err_injector_improve add 71c6a914 Refactor filter match so that filter attributes use compare with long, double or version if needed. add 3493d6a1 Refactor cpputest filter tests to gtest add f0e9b3d9 Add additional filter tests add 9635b7ac Merge remote-tracking branch 'origin/master' into feature/parse_filter_attribute_types add 0c72d2d3 Remove static utils convert function from filter.c add c3d3b0dc Merge branch 'master' into feature/parse_filter_attribute_types add 4ddf446b Add missing return value check and prevent int overflow in filter.c add 3b838037 Add test inf, -inf and nan test for convert str to double add 94d06c4b Merge pull request #505 from apache/feature/parse_filter_attribute_types add 6ed005ab Merge branch 'master' into feature/deprecated_framework_header_without_celix_prefix add 54372224 Merge pull request #517 from apache/feature/deprecated_framework_header_without_celix_prefix add 1db7b538 Update useBundle/useBundles call to work on installed bundles add 359fccf5 Refactor some framework gtest naming/file extensions. add 698ba086 Merge pull request #523 from apache/feature/fix_lb_command new 577d9a96 Merge remote-tracking branch 'origin/master' into feature/bundle_linker_script add c3bcde55 Add symbols export configuration for celix_utils add 35ecfceb Add export header for etcdlib add 860f7a87 Add export header for dfi add ad63f68c Fix wrong usage of EXPORT marco on structs add 5d24e831 Remove VISIBILITY_INLINES_HIDDEN from c libs visibility config add 6a0baac7 Update framework headers to include "celix_framework_export.h" add 0e45c169 Refactor framework and utils object library for export headers add dcaa4703 Apply export header macros for framework, utils and dfi add 01cdb31d Add export macro for private functions used in unit tests add 92230e48 Remove resolved TODO comment add dba2213a Fix install include for dfi, utils and framework lib add eed9d3e4 Merge branch 'master' into feature/export_headers add ab09c3f7 Apply clang-format on lib dfi headers add 038746be Add missing GenerateExportHeader cmake include for etcdlib add 770fb8b5 Revert "Apply clang-format on lib dfi headers" add 31dfb721 Share export header between shared and static etcd libraries. add f14fa731 Make sure object library is built using the same setting as the corresponding shared library. add 12695f2c Revert erroneous commit. add be3d4322 Fix Coverity 218468 Resource leak. add a027f6df Fix Coverity 211184 Dereference after null check. add 717704d7 Fix Coverity 200291 Unchecked return value. add 479ccf06 Fix Coverity 200287 Untrusted loop bound. add 777bb1c2 Fix Coverity 185518 Argument cannot be negative. add d571d545 Merge pull request #525 from apache/hotfix/utils_coverity_fix add 185c5850 Merge branch 'master' into feature/export_headers add 335935c3 Merge pull request #524 from apache/feature/export_headers add db3768c0 Fixed typo in bundle packaging checking path add 308ebf3d Merge pull request #530 from WebmasterTD/FixBundlePackaging add c4405041 Update GH notifications format for better mailing list archive readability add d07ee87f Merge pull request #528 from apache/change-gh-notifications new b7bd54da Merge remote-tracking branch 'origin/master' into feature/bundle_linker_script new 6b7a80e0 Default hide symbols for bundle (activator) libs The 4 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: .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 | 2 + bundles/logging/log_service_v2/CMakeLists.txt | 1 + .../src/deprecated_log_writer_stdout_activator.c | 2 +- .../log_service_v2/src/log_service_activator.c | 10 +- .../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/src/activator.c | 12 +- .../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 | 27 +- cmake/cmake_celix/BundlePackaging.cmake | 16 +- cmake/cmake_celix/Generic.cmake | 57 +++ .../make_only_activator_symbols_global.list | 12 +- .../make_only_activator_symbols_global.map | 18 + documents/bundles.md | 47 +- documents/cmake_commands/README.md | 27 + .../readme_c_examples/CMakeLists.txt | 7 + .../readme_c_examples/src/my_bundle_activator.c | 17 +- 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 +- .../{eventfd => ifaddrs}/CMakeLists.txt | 12 +- .../asprintf_ei.h => ifaddrs/include/ifaddrs_ei.h} | 10 +- .../asprintf_ei.h => ifaddrs/src/ifaddrs_ei.cc} | 22 +- .../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/BundleActivator.h | 8 +- libs/framework/include/celix_bundle.h | 39 +- libs/framework/include/celix_bundle_activator.h | 19 +- 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 + 232 files changed, 2738 insertions(+), 2294 deletions(-) copy libs/framework/include/bundle_state.h => cmake/cmake_celix/templates/make_only_activator_symbols_global.list (87%) copy libs/error_injector/{eventfd => ifaddrs}/CMakeLists.txt (72%) copy libs/error_injector/{asprintf/include/asprintf_ei.h => ifaddrs/include/ifaddrs_ei.h} (87%) copy libs/error_injector/{asprintf/include/asprintf_ei.h => ifaddrs/src/ifaddrs_ei.cc} (74%) rename libs/framework/gtest/src/{bundle_context_bundles_tests.cpp => CelixBundleContextBundlesTestSuite.cc} (88%) rename libs/framework/gtest/src/{bundle_context_services_test.cpp => CelixBundleContextServicesTestSuite.cc} (93%) rename libs/framework/gtest/src/{single_framework_test.cpp => CelixFrameworkTestSuite.cc} (86%) create mode 100644 libs/framework/gtest/src/MultipleFrameworkTestSuite.cc delete mode 100644 libs/framework/gtest/src/multiple_frameworks_test.cpp delete mode 100644 libs/framework/include/bundle.h delete mode 100644 libs/framework/include/module.h rename libs/framework/{include => include_deprecated}/archive.h (91%) create mode 100644 libs/framework/include_deprecated/bundle.h rename libs/framework/{include => include_deprecated}/bundle_activator.h (90%) rename libs/framework/{include => include_deprecated}/bundle_archive.h (55%) rename libs/framework/{include => include_deprecated}/bundle_context.h (77%) rename libs/framework/{include => include_deprecated}/bundle_event.h (100%) rename libs/framework/{include => include_deprecated}/bundle_listener.h (100%) rename libs/framework/{include => include_deprecated}/bundle_revision.h (81%) rename libs/framework/{include => include_deprecated}/bundle_state.h (100%) rename libs/framework/{include => include_deprecated}/capability.h (71%) rename libs/framework/{include => include_deprecated}/dm_activator.h (83%) rename libs/framework/{include => include_deprecated}/dm_component.h (59%) rename libs/framework/{include => include_deprecated}/dm_dependency_manager.h (63%) rename libs/framework/{include => include_deprecated}/dm_service_dependency.h (74%) rename libs/framework/{include => include_deprecated}/framework.h (56%) rename libs/framework/{include => include_deprecated}/framework_event.h (100%) rename libs/framework/{include => include_deprecated}/framework_exports.h (100%) rename libs/framework/{include => include_deprecated}/framework_listener.h (100%) rename libs/framework/{include => include_deprecated}/listener_hook_service.h (100%) rename libs/framework/{include => include_deprecated}/manifest.h (56%) create mode 100644 libs/framework/include_deprecated/module.h rename libs/framework/{include => include_deprecated}/requirement.h (61%) rename libs/framework/{include => include_deprecated}/service_event.h (100%) rename libs/framework/{include => include_deprecated}/service_factory.h (100%) rename libs/framework/{include => include_deprecated}/service_listener.h (97%) rename libs/framework/{include => include_deprecated}/service_reference.h (68%) rename libs/framework/{include => include_deprecated}/service_registration.h (78%) rename libs/framework/{include => include_deprecated}/service_registry.h (69%) rename libs/framework/{include => include_deprecated}/service_tracker.h (72%) rename libs/framework/{include => include_deprecated}/service_tracker_customizer.h (86%) rename libs/framework/{include => include_deprecated}/wire.h (83%) create mode 100644 libs/utils/gtest/src/FilterTestSuite.cc create mode 100644 libs/utils/gtest/src/IpUtilsErrorInjectionTestSuite.cc rename libs/utils/{include => include_deprecated}/celixbool.h (100%) delete mode 100644 libs/utils/private/test/filter_test.cpp