This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a change to branch feature/cap_req_model_lib
in repository https://gitbox.apache.org/repos/asf/celix.git


    from a8cb54f8 Remove equals/hashCode from celix_resource
     add 79535931 Revert to -O0 instead of -Og for DEBUG, because -Og optimizes 
out debug info.
     add 16b119bd Improve utils lib with string convert, file touch and file 
modified functions.
     add 3952f49b Refactor framework to support bundle zip updates based on 
modified stats.
     add e1a6dc65 Update coverage ci config to show test output on failures
     add 7f858a76 Add small sleep to ensure time diff can be measured in bundle 
archive tests
     add 325a20ce Merge branch 'master' into feature/refactor_bundle_cache
     add 3d8785ab Add initial setup for bundle archive test with error injection
     add f7416656 Link the code under test statically into the testing 
executable to make error injector work.
     add 6c94c9b5 Minor documentation correction.
     add 2d82cbfc Use Ubuntu 22.04 for build-apt.
     add c2932cd1 Revert "Use Ubuntu 22.04 for build-apt."
     add 04fae834 Use Debug for build-apt.
     add 0cf6420a Minor documentation improvement.
     add c6cbbe02 Merge branch 'master' into feature/refactor_bundle_cache
     add d0c6f2ca Extend error injections test for bundle archive creation
     add 3aa39be9 Add some extra error injection tests
     add b0eb4bc9 Add additional error injection to increase code coverage.
     add fb1ffd2c Fix memleak in bundle archive error handling
     add b17cc668 Merge remote-tracking branch 'origin/master' into 
feature/refactor_bundle_cache
     add 69d85117 Remove extra `bundle_update`.
     add 8ebff516 Simplify startCommand_execute implementation.
     add b44c58b3 Extract common Bundle Command Execution.
     add 639a7ad0 Non-existent bundle id is not an error.
     add f20b1b43 Minor typo fix.
     add 5233dabb Replace CELIX_EI_IMPL0 by CELIX_EI_IMPL.
     add f519ba8d Fix incorrect use of asprintf with va_list.
     add aab52ccf Apply double close of shared library fix from PR #480
     add 23747f31 Fix incorrect documentation of CELIX_FRAMEWORK_AUTO_START_0 
in framework.md
     add a0c23d0d Simplify getting a manifest entry in http admin by using 
celix_bundle_getManifestValue
     add e55ea9cf Avoid `celix_bundle_getEntry` for bundles without 
"X-Web-Resource" manifest attribute.
     add 3992e53e Avoid unnecessary `celix_bundle_getId`.
     add 4362479c Avoid unnecessary `celix_bundle_getId` and 
`httpAdmin_updateInfoSvc` in error.
     add 65aece56 Add synchronization to avoid hangs (#482) if possible.
     add b6646bfd Stick to Conan 1.59.0.
     add 38176b64 Fire and forget bundle lifecycle handler.
     add 3e6af3bd Fix http_admin_start return value.
     add cb2501b6 Merge remote-tracking branch 
'apache/feature/refactor_bundle_cache' into feature/refactor_bundle_cache
     add a6f91440 Merge remote-tracking branch 'apache/master' into 
feature/refactor_bundle_cache
     add 9b825ee2 Update bundle cache doxygen documentation for the updated 
framework config properties
     add cd28d5ed Reintroduce removed bundle revision function
     add fefacec9 Remove framework arg from module create and improve some 
doxygen doc
     add c2cf1e4c Minor code improvement for launcher.
     add 559d3d98 Improve doxygen of celix_bundle_context
     add 9a1cde32 Improve celix_bundle_context doxygen
     add 1a0e6d97 Merge remote-tracking branch 
'apache/feature/refactor_bundle_cache' into feature/refactor_bundle_cache
     add 6b85ef70 Merge branch 'feature/refactor_bundle_cache' of 
github.com:apache/celix into feature/refactor_bundle_cache
     add 35a1bc8a Improve doxygen and markdown documentation
     add d0065c2d Add usage of celix_framework_getConfigProperty to framework 
create
     add 481645ea Don't follow symbolic links when deleting directory 
recursively.
     add b28feeef Remove unused commented-out code
     add 684bef5a Improve doxygen
     add 90c22a5a Improve doxygen
     add 3705a7cf Merge remote-tracking branch 
'apache/feature/refactor_bundle_cache' into feature/refactor_bundle_cache
     add 3873c152 Add test for tmp bundle cache.
     add b5cebda7 Merge branch 'master' into feature/refactor_bundle_cache
     add 1425913d Add test to create directory with absolute path.
     add 8e2b7b83 Update API documentation for bundle cache.
     add 77e5ab55 Remove possible dead code in framework_logIfError
     add bee81690 Merge branch 'master' into feature/refactor_bundle_cache
     add b8e54de2 FIx incorrect doxygen entry
     add 1b86bf82 Rename celix_utils_freeStringIfNeeded
     add 0079f905 Improve argument handling for bundleCommand_execute
     add 09615f8a Align celix_utils_convertStringToVersion with other convert 
functions
     add bcff7cff Fix invalid main return codes in celix_launcher
     add 5e8ed191 Minor improvement of bundleCommand_execute.
     add 9e8ccec7 Fix corner case memory leak for 
celix_bundleCache_createArchive.
     add fe385f04 Minor improvement of celix_bundleCache_createArchive.
     add 350144f0 Add more test cases for error condition.
     add 113930cb Minor improvement of bundleRevision.
     add 01198509 Remove unused bundleStateProperties from bundle archive obj
     add 8176e26d Remove revision nr of usage multiple revision in bundle 
archive
     add bc91e8b4 Minor code improvement.
     add 381f7ad3 Fix corner case deadlock and simplify 
`celix_bundleArchive_getLastModifiedInternal`
     add ddcafa52 Minor improvement of `celix_bundleArchive_extractBundle`
     add b98fc0d4 Avoid memory allocation in `celix_utils_extractZipInternal` 
and improve `celix_framework_logCode`.
     add de7f5c76 Embed libzip error code into Celix error code.
     add 9880b032 Fix memory leak when trying to extract bad embedded data.
     add b4dbbd76 Test celix_utils_extractZipInternal thoroughly.
     add 5c77b0b1 Fix compilation error.
     add 8a6ec904 Reduce dynamic memory allocation in 
celix_utils_createDirectory.
     add 3882af52 Fix some small race conditions, mem leaks and commented out 
code
     add 5758ab46 Merge remote-tracking branch 'origin/master' into 
feature/refactor_bundle_cache
     add a4678148 Update for renamed CELIX_EI_IMPL call
     add c4701aac Remove bundleArchive_setLastModified usage for bundle 
uninstall
     add c25ca977 Make the framework independent of dfi.
     add e9734f22 Test celix_utils_createDirectory thoroughly.
     add 3bb5ea1c Test celix_utils_deleteDirectory thoroughly.
     add 27a5bbbe Merge remote-tracking branch 
'apache/feature/refactor_bundle_cache' into feature/refactor_bundle_cache
     add 8bad0fa8 Optimize celix_utils_deleteDirectory to eliminate recursion 
and dynamic memory allocation.
     add d41233b4 Improve celix convert utils for whitespace and incorrect 
trailing chars handling
     add 6853350c Refactor lb command to use celix_bundleContext_useBundles 
instead of the deprecated bundle.h api.
     add af8948ff Merge remote-tracking branch 
'apache/feature/refactor_bundle_cache' into feature/refactor_bundle_cache
     add 0d3e3d71 Optimize celix_utils_deleteDirectory to eliminate `stat` 
calls and test it thoroughly.
     add 7e2f4e8e Fix bug in bundles/shell/shell/src/lb_command.c
     add e2970733 Remove incorrect oxygen
     add 696df62b Remove usage of deprecated celix array list function
     add f9feb174 Add new getLocation function to prevent use-after-free 
scenarios
     add f0f53f90 gh-486: Remove [[nodiscard]] usage (c++17 only)
     add 0444e0ec Improve error handling of celix_framework_utils.c and add 
corresponding test cases.
     add 0f0ab319 Refactor lb command to use the array_list_options
     add a9d27267 Replace try/catch with unique_ptr with custom deleter
     add 64f2fa71 Merge remote-tracking branch 
'apache/feature/refactor_bundle_cache' into feature/refactor_bundle_cache
     add 0decde3d Optimize celix_framework_utils_extractBundleEmbedded and test 
it thoroughly.
     add 29a00955 Merge pull request #476 from 
apache/feature/refactor_bundle_cache
     new 50da45de Merge branch 'master' into feature/cap_req_model_lib
     new 9d5dfa83 Add malloc/strup error ei for rcm lib tests

The 2 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:
 .github/workflows/ubuntu.yml                       |   2 +-
 CMakeLists.txt                                     |   4 +-
 bundles/deployment_admin/src/deployment_admin.c    |   7 +-
 bundles/http_admin/gtest/CMakeLists.txt            |   1 +
 .../http_admin/gtest/src/http_websocket_tests.cc   |   2 +-
 bundles/http_admin/http_admin/CMakeLists.txt       |   2 -
 bundles/http_admin/http_admin/src/activator.c      |  41 +-
 bundles/http_admin/http_admin/src/http_admin.c     |  44 +-
 .../http_admin/http_admin/src/websocket_admin.c    |   7 -
 .../rsa_shm/gtest/CMakeLists.txt                   |   3 +
 .../topology_manager/tms_tst/CMakeLists.txt        |   2 +-
 bundles/shell/shell/CMakeLists.txt                 |   2 +-
 bundles/shell/shell/gtest/src/ShellTestSuite.cc    |  20 +-
 bundles/shell/shell/src/bundle_command.c           |  72 ++
 bundles/shell/shell/src/bundle_command.h           |  49 +
 bundles/shell/shell/src/install_command.c          |   2 +-
 bundles/shell/shell/src/lb_command.c               | 209 ++---
 bundles/shell/shell/src/start_command.c            |  46 +-
 bundles/shell/shell/src/std_commands.c             |   4 +-
 bundles/shell/shell/src/stop_command.c             |  46 +-
 bundles/shell/shell/src/uninstall_command.c        |  38 +-
 bundles/shell/shell/src/update_command.c           |  98 +-
 cmake/celix_project/CodeCoverage.cmake             |   2 +-
 documents/containers.md                            |  15 +-
 documents/framework.md                             |  73 +-
 examples/conan_test_package/test_framework.c       |   1 +
 libs/error_injector/CMakeLists.txt                 |   8 +-
 libs/error_injector/README.md                      |   7 +-
 libs/error_injector/api/celix_error_injector.h     |  16 +-
 .../{malloc => asprintf}/CMakeLists.txt            |  10 +-
 .../malloc_ei.h => asprintf/include/asprintf_ei.h} |  10 +-
 .../malloc_ei.h => asprintf/src/asprintf_ei.cc}    |  29 +-
 .../src/celix_bundle_context_ei.cc                 |   2 +-
 .../celix_properties/src/celix_properties_ei.cc    |   2 +-
 .../CMakeLists.txt                                 |  18 +-
 .../include/celix_utils_ei.h}                      |  24 +-
 .../celix_utils/src/celix_utils_ei.cc              |  95 ++
 .../{malloc => dlfcn}/CMakeLists.txt               |  13 +-
 .../malloc_ei.h => dlfcn/include/dlfcn_ei.h}       |  13 +-
 .../src/dlfcn_ei.cc}                               |  28 +-
 .../error_injector/fts}/CMakeLists.txt             |  17 +-
 .../include/malloc_ei.h => fts/include/fts_ei.h}   |  13 +-
 .../{malloc/src/malloc_ei.cc => fts/src/fts_ei.cc} |  36 +-
 libs/error_injector/malloc/src/malloc_ei.cc        |   6 +-
 .../error_injector/stat}/CMakeLists.txt            |  17 +-
 .../include/malloc_ei.h => stat/include/stat_ei.h} |  14 +-
 .../include/malloc_ei.h => stat/src/stat_ei.cc}    |  30 +-
 .../{malloc => stdio}/CMakeLists.txt               |  14 +-
 .../malloc_ei.h => stdio/include/stdio_ei.h}       |  15 +-
 libs/error_injector/stdio/src/stdio_ei.cc          |  52 ++
 .../{celix_properties => zip}/CMakeLists.txt       |  15 +-
 .../celix_properties_ei.h => zip/include/zip_ei.h} |  14 +-
 libs/error_injector/zip/src/zip_ei.cc              |  52 ++
 libs/framework/CMakeLists.txt                      |  33 +-
 libs/framework/gtest/CMakeLists.txt                |  29 +-
 libs/framework/gtest/framework1.properties.in      |   4 +-
 libs/framework/gtest/framework2.properties.in      |   4 +-
 .../gtest/install_and_start_bundles.properties.in  |   1 +
 libs/framework/gtest/src/BundleArchiveTestSuite.cc | 252 ++++++
 .../BundleArchiveWithErrorInjectionTestSuite.cc    | 142 +++
 .../CelixFrameworkUtilsErrorInjectionTestSuite.cc  | 113 +++
 .../gtest/src/CelixFrameworkUtilsTestSuite.cc      |  11 +
 libs/framework/gtest/src/CelixLauncherTestSuite.cc | 158 ++++
 .../gtest/src/CxxBundleContextTestSuite.cc         |   3 +
 .../gtest/src/bundle_context_bundles_tests.cpp     |  45 +-
 libs/framework/gtest/src/single_framework_test.cpp |  34 +-
 libs/framework/include/bundle.h                    |   3 +-
 libs/framework/include/bundle_archive.h            |  32 +-
 libs/framework/include/bundle_revision.h           |  34 +-
 libs/framework/include/celix/Bundle.h              |  94 +-
 libs/framework/include/celix/BundleContext.h       |  75 +-
 libs/framework/include/celix/Constants.h           |  13 +-
 libs/framework/include/celix/Exception.h           |   2 +-
 libs/framework/include/celix/Framework.h           |   6 +-
 libs/framework/include/celix/FrameworkUtils.h      |   4 +-
 libs/framework/include/celix_bundle.h              |  65 +-
 libs/framework/include/celix_bundle_context.h      | 164 ++--
 libs/framework/include/celix_constants.h           |  42 +-
 libs/framework/include/celix_framework.h           |  58 ++
 libs/framework/include/celix_framework_utils.h     |  11 +
 libs/framework/include/celix_launcher.h            |  21 +-
 libs/framework/include/celix_log.h                 |   6 +-
 libs/framework/include/manifest.h                  |   2 +
 libs/framework/include/module.h                    |   3 +-
 libs/framework/src/bundle.c                        | 323 +++----
 libs/framework/src/bundle_archive.c                | 984 ++++++++-------------
 libs/framework/src/bundle_archive_private.h        |  51 +-
 libs/framework/src/bundle_context.c                |  70 +-
 libs/framework/src/bundle_private.h                |  60 +-
 libs/framework/src/bundle_revision.c               | 151 ++--
 libs/framework/src/bundle_revision_private.h       |  41 +-
 libs/framework/src/celix_bundle_cache.c            | 351 ++++++--
 libs/framework/src/celix_bundle_cache.h            |  86 +-
 libs/framework/src/celix_errorcodes.c              |   2 +
 libs/framework/src/celix_framework_utils.c         | 277 +++---
 libs/framework/src/celix_framework_utils_private.h |  16 +
 libs/framework/src/celix_launcher.c                | 177 ++--
 libs/framework/src/celix_libloader.c               |  12 +-
 libs/framework/src/celix_libloader.h               |   2 +-
 libs/framework/src/celix_log.c                     |  12 +-
 .../celix_module_private.h}                        |  20 +-
 libs/framework/src/dm_dependency_manager_impl.c    |   2 +-
 libs/framework/src/framework.c                     | 680 ++++++--------
 .../src/framework_bundle_lifecycle_handler.c       |  86 +-
 libs/framework/src/framework_private.h             | 124 ++-
 libs/framework/src/manifest.c                      |  28 +-
 libs/framework/src/module.c                        | 215 ++++-
 libs/launcher/README.md                            |  33 +-
 libs/rcm/gtest/CMakeLists.txt                      |  15 +-
 ...ntCapabilityModelWithErrorInjectionTestSuite.cc |  85 ++
 libs/rcm/src/celix_capability.c                    |  24 +-
 libs/rcm/src/celix_requirement.c                   |  30 +-
 libs/rcm/src/celix_resource.c                      |  45 +-
 libs/utils/CMakeLists.txt                          |  74 +-
 libs/utils/gtest/CMakeLists.txt                    |  19 +-
 libs/utils/gtest/src/CelixUtilsTestSuite.cc        | 317 +++++++
 libs/utils/gtest/src/ConvertUtilsTestSuite.cc      | 232 +++++
 libs/utils/gtest/src/CxxUtilsTestSuite.cc          |   8 +-
 .../gtest/src/FileUtilsErrorInjectionTestSuite.cc  | 206 +++++
 libs/utils/gtest/src/FileUtilsTestSuite.cc         | 190 +++-
 libs/utils/include/celix/Filter.h                  |  20 +-
 libs/utils/include/celix/Properties.h              |  34 +-
 libs/utils/include/celix_convert_utils.h           |  82 ++
 libs/utils/include/celix_errno.h                   |   6 +
 libs/utils/include/celix_file_utils.h              |  18 +
 libs/utils/include/celix_threads.h                 |   6 +
 libs/utils/include/celix_utils.h                   |  56 ++
 libs/utils/private/test/utils_test.cpp             | 383 --------
 libs/utils/src/celix_convert_utils.c               | 133 +++
 libs/utils/src/celix_file_utils.c                  | 267 ++++--
 libs/utils/src/utils.c                             |  71 +-
 131 files changed, 5776 insertions(+), 3174 deletions(-)
 create mode 100644 bundles/shell/shell/src/bundle_command.c
 create mode 100644 bundles/shell/shell/src/bundle_command.h
 copy libs/error_injector/{malloc => asprintf}/CMakeLists.txt (71%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => 
asprintf/include/asprintf_ei.h} (82%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => 
asprintf/src/asprintf_ei.cc} (65%)
 copy libs/error_injector/{celix_properties => celix_utils}/CMakeLists.txt (57%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => 
celix_utils/include/celix_utils_ei.h} (60%)
 create mode 100644 libs/error_injector/celix_utils/src/celix_utils_ei.cc
 copy libs/error_injector/{malloc => dlfcn}/CMakeLists.txt (70%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => 
dlfcn/include/dlfcn_ei.h} (82%)
 copy libs/error_injector/{celix_properties/include/celix_properties_ei.h => 
dlfcn/src/dlfcn_ei.cc} (66%)
 copy {bundles/remote_services/thpool => 
libs/error_injector/fts}/CMakeLists.txt (71%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => fts/include/fts_ei.h} 
(82%)
 copy libs/error_injector/{malloc/src/malloc_ei.cc => fts/src/fts_ei.cc} (57%)
 copy {bundles/remote_services/thpool => 
libs/error_injector/stat}/CMakeLists.txt (71%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => 
stat/include/stat_ei.h} (82%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => stat/src/stat_ei.cc} 
(58%)
 copy libs/error_injector/{malloc => stdio}/CMakeLists.txt (69%)
 copy libs/error_injector/{malloc/include/malloc_ei.h => 
stdio/include/stdio_ei.h} (81%)
 create mode 100644 libs/error_injector/stdio/src/stdio_ei.cc
 copy libs/error_injector/{celix_properties => zip}/CMakeLists.txt (68%)
 copy libs/error_injector/{celix_properties/include/celix_properties_ei.h => 
zip/include/zip_ei.h} (80%)
 create mode 100644 libs/error_injector/zip/src/zip_ei.cc
 create mode 100644 libs/framework/gtest/src/BundleArchiveTestSuite.cc
 create mode 100644 
libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc
 create mode 100644 
libs/framework/gtest/src/CelixFrameworkUtilsErrorInjectionTestSuite.cc
 create mode 100644 libs/framework/gtest/src/CelixLauncherTestSuite.cc
 copy libs/framework/{include/celix_service_listener.h => 
src/celix_module_private.h} (72%)
 create mode 100644 
libs/rcm/gtest/src/RequirementCapabilityModelWithErrorInjectionTestSuite.cc
 create mode 100644 libs/utils/gtest/src/CelixUtilsTestSuite.cc
 create mode 100644 libs/utils/gtest/src/ConvertUtilsTestSuite.cc
 create mode 100644 libs/utils/gtest/src/FileUtilsErrorInjectionTestSuite.cc
 create mode 100644 libs/utils/include/celix_convert_utils.h
 delete mode 100644 libs/utils/private/test/utils_test.cpp
 create mode 100644 libs/utils/src/celix_convert_utils.c

Reply via email to