This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/celix.git
commit e9642b94a9487e74b174732a39812d7f4fa2a75e Merge: 25463cf8 95460e98 Author: Pepijn Noltes <[email protected]> AuthorDate: Tue Nov 21 08:13:47 2023 +0100 Merge pull request #470 from apache/feature/type_support_for_properties type support for properties .gitignore | 2 + CHANGES.md | 9 + .../subscriber/private/src/pubsub_subscriber.c | 6 +- .../gtest/PubSubInterceptorTestSuite.cc | 5 +- .../src/pubsub_websocket_admin.c | 10 +- .../pubsub_discovery/src/pubsub_discovery_impl.c | 6 +- .../src/pubsub_wire_protocol_common.c | 15 +- bundles/pubsub/pubsub_spi/src/pubsub_endpoint.c | 5 +- .../src/endpoint_descriptor_writer.c | 16 +- .../src/discovery_zeroconf_announcer.c | 18 +- .../src/remote_service_admin_dfi.c | 24 +- .../rsa_shm/src/rsa_shm_client.c | 6 +- .../rsa_shm/src/rsa_shm_impl.c | 21 +- .../topology_manager/src/topology_manager.c | 3 +- .../topology_manager/tms_tst/tms_tests.cpp | 9 +- bundles/shell/shell/src/query_command.c | 6 +- conanfile.py | 24 +- documents/framework.md | 2 +- libs/error_injector/stdio/CMakeLists.txt | 2 + libs/error_injector/stdio/include/stdio_ei.h | 4 + libs/error_injector/stdio/src/stdio_ei.cc | 17 +- libs/framework/gtest/CMakeLists.txt | 2 +- .../src/CelixBundleCacheErrorInjectionTestSuite.cc | 2 +- libs/framework/gtest/src/ManifestTestSuite.cc | 5 +- libs/framework/include/celix/Trackers.h | 2 +- libs/framework/include/celix/UseServiceBuilder.h | 4 +- .../include/celix/dm/DependencyManager_Impl.h | 7 +- .../include/celix/dm/ServiceDependency_Impl.h | 32 +- libs/framework/src/celix_launcher.c | 32 +- libs/framework/src/manifest.c | 5 +- libs/framework/src/service_reference.c | 33 +- libs/rcm/src/celix_capability.c | 63 +- libs/rcm/src/celix_requirement.c | 65 +- libs/utils/CMakeLists.txt | 34 +- libs/utils/benchmark/CMakeLists.txt | 14 +- libs/utils/benchmark/src/LongHashmapBenchmark.cc | 35 +- libs/utils/benchmark/src/StringHashmapBenchmark.cc | 47 +- libs/utils/error_injector/CMakeLists.txt | 2 +- .../celix_hash_map/include/celix_hash_map_ei.h | 34 - .../celix_hash_map/src/celix_hash_map_ei.cc | 29 - .../celix_long_hash_map/CMakeLists.txt | 5 + .../include/celix_long_hash_map_ei.h | 11 + .../src/celix_long_hash_map_ei.cc | 35 + .../celix_properties/src/celix_properties_ei.cc | 4 +- .../CMakeLists.txt | 18 +- .../include/celix_string_hash_map_ei.h} | 15 +- .../src/celix_string_hash_map_ei.cc | 58 ++ .../error_injector/celix_version/CMakeLists.txt | 1 + .../celix_version/include/celix_version_ei.h | 2 + .../celix_version/src/celix_version_ei.cc | 8 + libs/utils/gtest/CMakeLists.txt | 13 +- .../resources}/properties.txt | 0 libs/utils/gtest/src/CelixUtilsTestSuite.cc | 10 + .../src/ConvertUtilsErrorInjectionTestSuite.cc | 2 +- libs/utils/gtest/src/ConvertUtilsTestSuite.cc | 2 +- libs/utils/gtest/src/CxxPropertiesTestSuite.cc | 129 ++- libs/utils/gtest/src/CxxVersionTestSuite.cc | 87 ++ libs/utils/gtest/src/ErrTestSuite.cc | 3 +- .../gtest/src/HashMapErrorInjectionTestSuite.cc | 110 ++ libs/utils/gtest/src/HashMapTestSuite.cc | 373 ++++--- .../gtest/src/PropertiesErrorInjectionTestSuite.cc | 286 +++++- libs/utils/gtest/src/PropertiesTestSuite.cc | 723 +++++++++++++ .../gtest/src/VersionErrorInjectionTestSuite.cc | 58 ++ libs/utils/gtest/src/VersionRangeTestSuite.cc | 8 +- libs/utils/gtest/src/VersionTestSuite.cc | 321 ++++++ .../celix/IOException.h} | 38 +- libs/utils/include/celix/Properties.h | 413 ++++++-- libs/utils/include/celix/Version.h | 183 ++++ libs/utils/include/celix_long_hash_map.h | 141 ++- libs/utils/include/celix_properties.h | 504 +++++++++- libs/utils/include/celix_string_hash_map.h | 171 +++- libs/utils/include/celix_utils.h | 16 +- libs/utils/include/celix_version.h | 101 +- libs/utils/include_deprecated/properties.h | 7 +- .../include_internal/celix_hash_map_internal.h | 62 ++ .../include_internal/celix_properties_internal.h | 54 + libs/utils/private/test/properties_test.cpp | 270 ----- libs/utils/private/test/version_ei_test.cc | 56 -- libs/utils/private/test/version_test.cpp | 421 -------- libs/utils/src/celix_hash_map.c | 553 ++++++---- libs/utils/src/celix_hash_map_private.h | 65 ++ libs/utils/src/celix_properties_private.h | 49 + libs/utils/src/celix_utils_private_constants.h.in | 42 + libs/utils/src/properties.c | 1060 ++++++++++++++------ libs/utils/src/utils.c | 18 +- libs/utils/src/version.c | 64 +- 86 files changed, 5143 insertions(+), 2084 deletions(-)
