This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git
from 25463cf8 Merge pull request #679 from
apache/feature/509-remove-osgi-defines
add c28810e9 Rename current properties imp to properties_v1.c
add 1ff603ba Refactor celix properties to be based on
celix_string_hash_map.
add 6156c702 Add initial primitive type support for celix properties
entries
add 02b08a11 Improve celix properties iterator
add 2c5194ff Add unit test for celix types properties and fix some mem
issues
add 740bbbfb Add properties type support to C++ properties
add efa1017e Improve test coverage and fix issues in properties and
string/long hash map.
add ced32791 Refactor and improve properties and string hash map test
suite and impl
add 71daacf3 Remove old properties.c file
add efb74c19 Fix Properties implementation for C++11 and C++14.
add 4f86a3d3 Improve codecov and replace usage of
CELIX_PROPERTIES_FOR_EACH with _ITERATE
add c15bf710 Adjust short properties optimization values based on some
basic testing
add 1ce505d3 Merge remote-tracking branch 'origin/master' into
feature/type_support_for_properties
add fe434a03 Fix issue with setting properties with NULL values
add 17441f70 Merge remote-tracking branch 'origin/master' into
feature/type_support_for_properties
add 0c0bf148 Refactor properties and version after merge with master
add 78b94d58 Refactor cpputest version ei test to gtest
add 717869d6 Add missing output param in serviceReference_getPropertyKeys
add ce71cf07 Merge remote-tracking branch 'origin/master' into
feature/type_support_for_properties
add e0326790 Refactor and correction after merge with master
add 226a546a Remove cpputest include from gtest
add 09882913 Fix properties iterator usage in disc zeroconf
add 74c6b581 Merge remote-tracking branch 'origin/master' into
feature/type_support_for_properties
add c0218db9 Merge branch 'master' into feature/type_support_for_properties
add 1f5bf790 #509: Update changes for celix properties with type support
add 77f212ae #509: Remove deprecated macro (incl usage)
CELIX_PROPERTIES_FOR_EACH
add 1856cede Merge remote-tracking branch
'origin/feature/type_support_for_properties' into
feature/type_support_for_properties
add 2765f6a9 #509: Add CMakeUserPresets.json to gitignore
add 88e513dd #509: Replace props FOR_EACH to ITERATE macro in rsa shm &
zeroconf disc
add a652e9b2 Merge branch 'master' into feature/type_support_for_properties
add bd7aa8b2 Remove C++17 constructions from updated Properties.h
add 6d25c2bd Remove use realloc or calloc define in celix_hash_map.c
add 747cd8aa Add celix_status_t return to celix properties set functions
add 3541c67b Refactor celix hash map for alloc failure handling
add 94e6a3bd Fix some memleaks in properties.c
add 287d6f07 Extend error injection test for celix properties
add 770818d4 Add error injection for celix_properties_loadFromString
add 9979697b Add equals for celix string/long hashmap en celix properties
add 27e9e78d Link test_utils_cxx17tests into test_utils.
add bf880fcc Merge branch 'master' into feature/type_support_for_properties
add aa51299c Merge branch 'master' into feature/type_support_for_properties
add 833a5c8f Remove unused functions and fix typo.
add b5f25b52 #509: Fix celix string/long hashmap equals functions
add 97aa3cc7 Merge branch 'master' into feature/type_support_for_properties
add 737773b2 Minor typo fix and return value improvement.
add 71742e8e #509: Remove string_view usage from Version.h and remove
deprecated Properties cast
add 701b5c97 #509: Add the celix properties optimization cache sizes as
configurable build options.
add e8c40724 #509: Update properties handling in remote service zeroconf
discovery
add 24eab9cb Update discovery_zeroconf_announcer.c
add ef6f343f #509: Improve hashmap/properties equals and apply properties
equals in librcm
add 9930ecb5 #509: Add Properties equal operator
add f1beb5f9 #509: Fix memleak in celix_properties_setWithoutCopy
add cb0a8ba9 #509: Improve some error handling in celix properties.
add be9f0a9d Improve some header doc for string hash map / properties
add 9d0ad577 Add some error handling for version
add 4bb275c9 Refactor celix_properties_constants.h to
celix_utils_private_constants.h
add 3964e0b2 Refactor hash map long hash, load factor and hash function
usage based on benchmark output
add 229a90b2 Remove incorrect celix_steal_ptr usage.
add e981ee4f Minor documentation improvement.
add 468a1618 Merge branch 'feature/type_support_for_properties' of
github.com:apache/celix into feature/type_support_for_properties
add 10e16f65 Fix memleak in hash map by first resizing and then adding
entry
add 8248da53 Update hash map maxLoadFactor documentation.
add d1206d98 Refactor celix_properties fill/create entry
add 038808ee Add an extra byte for the terminating null byte to the value
buffer.
add 804d633e Detect error condition in string formatting.
add 74f95501 Detect error condition in string formatting and make
celix_properties_fillEntry shorter.
add 3ff70465 Fix initial hash table capacity in celix_properties.
add 17068903 Fix misplaced documentation and update it.
add 4d4e9f7e Refactor celix_properties_size return type to size_t
add 492c4579 Fix hash map iterator index tests and behaviour
add 03731d62 Refactor properties createEntry to use destroyEntry
add caedd795 Avoid unnecessary strlen call and check error condition in
celix_properties_storeEscapedString.
add 78d78799 Remove index field from hashmap and properties iterator
add 95460e98 Add ftell check and error injection test for properties
new e9642b94 Merge pull request #470 from
apache/feature/type_support_for_properties
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:
.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 ++++++
.../utils/include/celix/IOException.h | 26 +-
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 +
.../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, 5110 insertions(+), 2105 deletions(-)
delete mode 100644
libs/utils/error_injector/celix_hash_map/include/celix_hash_map_ei.h
delete mode 100644
libs/utils/error_injector/celix_hash_map/src/celix_hash_map_ei.cc
rename libs/utils/error_injector/{celix_hash_map =>
celix_string_hash_map}/CMakeLists.txt (58%)
copy
libs/utils/error_injector/{celix_long_hash_map/include/celix_long_hash_map_ei.h
=> celix_string_hash_map/include/celix_string_hash_map_ei.h} (69%)
create mode 100644
libs/utils/error_injector/celix_string_hash_map/src/celix_string_hash_map_ei.cc
rename libs/utils/{private/resources-test => gtest/resources}/properties.txt
(100%)
create mode 100644 libs/utils/gtest/src/CxxVersionTestSuite.cc
create mode 100644 libs/utils/gtest/src/HashMapErrorInjectionTestSuite.cc
create mode 100644 libs/utils/gtest/src/PropertiesTestSuite.cc
create mode 100644 libs/utils/gtest/src/VersionErrorInjectionTestSuite.cc
create mode 100644 libs/utils/gtest/src/VersionTestSuite.cc
copy
bundles/cxx_remote_services/rsa_spi/include/celix/rsa/RemoteServicesException.h
=> libs/utils/include/celix/IOException.h (57%)
create mode 100644 libs/utils/include/celix/Version.h
create mode 100644 libs/utils/include_internal/celix_hash_map_internal.h
create mode 100644 libs/utils/include_internal/celix_properties_internal.h
delete mode 100644 libs/utils/private/test/properties_test.cpp
delete mode 100644 libs/utils/private/test/version_ei_test.cc
delete mode 100644 libs/utils/private/test/version_test.cpp
create mode 100644 libs/utils/src/celix_hash_map_private.h
create mode 100644 libs/utils/src/celix_properties_private.h
copy bundles/remote_services/rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.h =>
libs/utils/src/celix_utils_private_constants.h.in (50%)