This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/coding_conventions
in repository https://gitbox.apache.org/repos/asf/celix.git
from ef45f41c Applied some of the review comments for PR #544
add 8d2a27d8 Add initial implementation for celix_err
add cd2d042d Refactor celix_err to use a fixed err msg buffer
add cef5bb88 Add tss abstraction to celix threads
add 98c5ce42 Update celix err to support __thread instead of tss usage
add 40b85559 Refactor threads cpputest to gtest and add a tss test
add d1ce85a4 Add celix tss to the threads_ei lib
add d690d063 Add __thread base alternative impl for celix_err
add b3271ef6 Add celix_err test suite with error injection
add 47659d6d Add init to celix thread in ThreadsTestSuite.cc
add 958540d6 Add missing signal header include to ThreadsTestSuite
add 6e513439 Refactor celix_errocodes and move it to utils
add 796b628a Remove __thread option in celix_err
add 9089a8f7 Rename celix_errorcodes.c to celix_errno.c
add 0c5c67ab Merge remote-tracking branch 'origin/master' into
feature/celix_err
add 45e530b0 Add newline to end of CelixErrnoTestSuite.cc
add 787ad0fd Merge branch 'master' into feature/celix_err
add 9000ce49 Add celix_err_buffer_size option to conanfile
add 8dab662c Add celix_err_printErrors function
add 4d58528a Add missing free calls in ErrTestSuite.cc
add 7b3bd7e1 Merge remote-tracking branch 'origin/master' into
feature/celix_err
add f25eba73 Add validate for conan celix_err_buffer_size option
add 4281d765 Merge pull request #536 from apache/feature/celix_err
add 1f7ce875 Fix Coverity 314120 Value not atomically updated.
add d538438d Fix Coverity 313622 Dereference after null check.
add 2f9a8ab0 Fix potential deadlock.
add 63a008d8 Merge pull request #546 from apache/hotfix/coverity_fix
add 90ffe525 Fix issue that a NULL bundle handle still got an activator.
add 052172ad Merge pull request #548 from
apache/hotfix/do-not-use-dlsym-with-bundle-handle-null
add 36872594 Add celix_utils_trimInPlace, and replace all uses of
utils_stringTrim.
add 8c403f84 Recover proper use of celix_utils_trimInPlace.
add 0be6a842 Recover proper use of celix_utils_trimInPlace.
add d04b2c19 Fix two typos.
add b1ebd8a5 Merge pull request #545 from
apache/feature/trim_string_in_place
add 626e23c9 Add verbosity control to log control service.
add a13c92b3 Add celix::log_admin detail subcommand to switch selected
loggers between detailed and brief mode.
add 45270862 Add conan_test_package for rsa_discovery_zeroconf
add 56a10dd5 Resolve rsa_dfi Compile error
add fc18c65d Merge pull request #549 from
xuzhenbao/add_conan_test_package_for_DZF
add fec755e5 Merge branch 'master' into feature/490-add-verbose-log-ctrl
add b2be044a Document since which version of the log control service the
newly added methods are available.
add 9551608b Merge pull request #550 from
apache/feature/490-add-verbose-log-ctrl
add 6268ea70 #551: Add 1st part of the requirement-capability-model lib
add 3409fb5f Apply suggestions from code review
add de6ec076 Improve ownership handling of cap/req for librcm
add 431d2dbf Merge pull request #547 from
apache/feature/551-add-1st-part-req-cap-model-lib
add 04f60cdd Remove fw_refreshBundle used during uninstall
add 2a9aaa6a Add callback data with ctx usage to
celix_dependencyManager_createInfos
add c907d6a6 Ensure that dm info only gets retrieved for activate bundles
add 29cb4a3b Merge pull request #553 from
apache/hotfix/remove-refresh-bundle-after-uninstall
add f5fe0f4f Implement the OSGi semantics of bundle uninstallation.
add b1ab9caf Add test for bundle uninstall.
add 636b11ab Merge pull request #554 from
apache/feature/correct_uninstall_semantics
add 77722f5a Revert "[RFC]the OSGi semantics of bundle uninstall."
add eaa79e00 Merge pull request #555 from
apache/revert-554-feature/correct_uninstall_semantics
add 49ef5c22 Merge remote-tracking branch 'origin/master' into
feature/coding_conventions
add 8ed95f2c Update dev guidelines and clang-format
No new revisions were added by this update.
Summary of changes:
.clang-format | 20 +-
.../admin/src/RemoteServiceAdmin.cc | 1 +
bundles/logging/README.md | 5 +-
bundles/logging/log_admin/CMakeLists.txt | 2 +-
.../log_admin/gtest/src/LogAdminTestSuite.cc | 127 +++++
bundles/logging/log_admin/src/celix_log_admin.c | 118 ++++-
.../log_helper/gtest/src/LogHelperTestSuite.cc | 2 +-
bundles/logging/log_helper/src/celix_log_helper.c | 4 +-
.../log_service_api/include/celix_log_control.h | 29 +-
.../pubsub_admin_tcp/src/pubsub_tcp_common.c | 3 +-
.../src/endpoint_discovery_poller.c | 3 +-
.../src/endpoint_discovery_server.c | 4 +-
.../remote_service_admin_dfi/CMakeLists.txt | 1 +
.../src/remote_service_admin_dfi.c | 5 +-
.../rsa_shm/src/rsa_shm_export_registration.c | 7 +-
.../rsa_shm/src/rsa_shm_impl.c | 40 +-
.../rsa_shm/src/rsa_shm_import_registration.c | 7 +-
bundles/shell/remote_shell/src/remote_shell.c | 6 +-
bundles/shell/shell/src/c_shell_activator.c | 22 +-
bundles/shell/shell_tui/src/shell_tui.c | 5 +-
conanfile.py | 11 +
documents/development/README.md | 14 +-
examples/conan_test_package/CMakeLists.txt | 12 +
examples/conan_test_package/conanfile.py | 3 +
libs/CMakeLists.txt | 1 +
libs/error_injector/celix_threads/CMakeLists.txt | 7 +-
.../celix_threads/include/celix_threads_ei.h | 6 +
.../celix_threads/src/celix_threads_ei.cc | 30 ++
libs/framework/CMakeLists.txt | 2 +-
libs/framework/include/celix_constants.h | 2 +-
libs/framework/src/bundle_archive.c | 21 +-
libs/framework/src/celix_libloader.c | 44 ++
libs/framework/src/celix_libloader.h | 40 +-
libs/framework/src/dm_dependency_manager_impl.c | 31 +-
libs/framework/src/framework.c | 89 +---
libs/framework/src/manifest_parser.c | 3 +-
libs/framework/src/module.c | 2 +-
libs/framework/src/service_tracker.c | 16 +-
libs/framework/src/service_tracker_private.h | 2 +-
.../rcm}/CMakeLists.txt | 24 +-
libs/rcm/README.md | 51 ++
libs/rcm/diagrams/logical-req-cap-model.png | Bin 0 -> 4927 bytes
.../rcm/diagrams/logical-req-cap-model.puml | 18 +-
libs/rcm/gtest/CMakeLists.txt | 38 ++
.../src/RequirementCapabilityModelTestSuite.cc | 261 ++++++++++
...ntCapabilityModelWithErrorInjectionTestSuite.cc | 134 +++++
libs/rcm/include/celix_capability.h | 161 ++++++
.../include/celix_rcm_types.h} | 21 +-
libs/rcm/include/celix_requirement.h | 173 +++++++
libs/rcm/include/celix_resource.h | 114 +++++
libs/rcm/src/celix_capability.c | 172 +++++++
libs/rcm/src/celix_requirement.c | 185 +++++++
libs/rcm/src/celix_resource.c | 159 ++++++
libs/utils/CMakeLists.txt | 12 +-
libs/utils/gtest/CMakeLists.txt | 6 +-
libs/utils/gtest/src/CelixErrnoTestSuite.cc | 95 ++++
libs/utils/gtest/src/CelixUtilsTestSuite.cc | 2 +-
libs/utils/gtest/src/ErrErrorInjectionTestSuite.cc | 76 +++
libs/utils/gtest/src/ErrTestSuite.cc | 104 ++++
libs/utils/gtest/src/ThreadsTestSuite.cc | 440 +++++++++++++++++
libs/utils/include/celix/Filter.h | 3 +-
libs/utils/include/celix_err.h | 89 ++++
libs/utils/include/celix_errno.h | 27 +-
libs/utils/include/celix_threads.h | 61 ++-
libs/utils/include/celix_utils.h | 10 +-
libs/utils/private/test/celix_threads_test.cpp | 537 ---------------------
libs/utils/src/celix_convert_utils.c | 4 +-
libs/utils/src/celix_err.c | 167 +++++++
.../utils/src/celix_err_constants.h.in | 17 +-
.../celix_errorcodes.c => utils/src/celix_errno.c} | 49 +-
libs/utils/src/celix_threads.c | 18 +-
libs/utils/src/properties.c | 5 +-
libs/utils/src/utils.c | 3 +
73 files changed, 3174 insertions(+), 809 deletions(-)
copy {bundles/pubsub/pubsub_protocol/pubsub_protocol_lib =>
libs/rcm}/CMakeLists.txt (54%)
create mode 100644 libs/rcm/README.md
create mode 100644 libs/rcm/diagrams/logical-req-cap-model.png
copy misc/experimental/README.md =>
libs/rcm/diagrams/logical-req-cap-model.puml (78%)
create mode 100644 libs/rcm/gtest/CMakeLists.txt
create mode 100644 libs/rcm/gtest/src/RequirementCapabilityModelTestSuite.cc
create mode 100644
libs/rcm/gtest/src/RequirementCapabilityModelWithErrorInjectionTestSuite.cc
create mode 100644 libs/rcm/include/celix_capability.h
copy libs/{framework/src/dm_dependency.h => rcm/include/celix_rcm_types.h}
(65%)
create mode 100644 libs/rcm/include/celix_requirement.h
create mode 100644 libs/rcm/include/celix_resource.h
create mode 100644 libs/rcm/src/celix_capability.c
create mode 100644 libs/rcm/src/celix_requirement.c
create mode 100644 libs/rcm/src/celix_resource.c
create mode 100644 libs/utils/gtest/src/CelixErrnoTestSuite.cc
create mode 100644 libs/utils/gtest/src/ErrErrorInjectionTestSuite.cc
create mode 100644 libs/utils/gtest/src/ErrTestSuite.cc
create mode 100644 libs/utils/gtest/src/ThreadsTestSuite.cc
create mode 100644 libs/utils/include/celix_err.h
delete mode 100644 libs/utils/private/test/celix_threads_test.cpp
create mode 100644 libs/utils/src/celix_err.c
copy bundles/pubsub/integration/gtest/msg.h =>
libs/utils/src/celix_err_constants.h.in (78%)
rename libs/{framework/src/celix_errorcodes.c => utils/src/celix_errno.c} (54%)