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 cfb684e4 Merge pull request #445 from apache/bugfix/fix_gcc12_errors
new 59e8cef5 Refactors bundle cache for celix_ api and celix_file_utils
usage.
new af2a7980 Adds first part of a celix_bundleCache_extractBundle function
to extract bundles.
new 8d75209d Updates getting section data from exe in dylib on macos.
new 3fa0005a Refactors how bundle are embedded in an executable.
new bd778106 Fixes a mem leak in the bundle cache tests.
new 7b6809d5 Splits embedded_bundle.s into a linux an osx version
new dd926015 Replaces minizip bundle extractin with libzip.
new 004883f4 Fixes a wrong function signature
new c2fd5646 Adds utils functions for embedded bundles.
new f6c124b3 Merge remote-tracking branch 'origin/master' into
feature/embedded_bundles
new 0a4d4051 Adds utils for embedded bundles and refactors bundle state.
new 8576305a Adds support for bundle set definitions and adds bundle
symbolic name to an imported bundle target.
new 992b7e08 Adds support for EMBEDDED_BUNDLES ARG to celix_add_container.
new 07d8bbba Adds PRIVATE arg to embedding example executable.
new aa6070ee Merge remote-tracking branch
'origin/feature/list_all_bundles' into feature/embedded_bundles
new 34d1d70f Adds supports for INSTALL_EMBEDDED_BUNDLES argument for
add_celix_container.
new 07aace90 Fixes some issues with embdded bundles in linux
new e19001da Remove unnecessary if APPLE from cmake file
new e5808d92 Fixes a mem leak in celix_launcher
new c3c1c212 Refactors some cmake configuration.
new be37824c Updates documentation and remove unused cmake files.
new bb2d746c Adds missing bundle state to string test
new 7acc7216 Updates cmake command documentation
new 11be3df4 Merge branch 'master' into feature/embedded_bundles
new 454d6358 Adds ASM Language check to the
celix_container_embedded_bundles cmake function
new 15672ec4 Updates how the linking of a zip file is done for a unit test
so that it also works for ninja-build.
new 4689500b Merge remote-tracking branch 'origin/master' into
feature/embedded_bundles
new 94769012 Fixes some mem leaks and embedded bundle cmake config after
merge with master
new ac3d718f Add static const for the embedded and file scheme used when
extracting bundles.
new 435b9a68 Merge remote-tracking branch 'origin/master' into
feature/embedded_bundles
new c1412ae8 Fix cmake celix_container_bundles function to be able to
handle bundle with no sources.
new 8e9cebe7 Merge pull request #388 from pnoltes/feature/embedded_bundles
The 2918 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:
CMakeLists.txt | 2 +-
LICENSE | 22 -
MiniZip64_info.txt | 74 -
bundles/cxx_remote_services/admin/CMakeLists.txt | 2 +-
.../discovery_configured/CMakeLists.txt | 2 +-
bundles/shell/shell/CMakeLists.txt | 2 +-
bundles/shell/shell/gtest/CMakeLists.txt | 10 +-
bundles/shell/shell/gtest/src/ShellTestSuite.cc | 9 +-
bundles/shell/shell/src/lb_command.c | 12 +-
cmake/cmake_celix/BundlePackaging.cmake | 276 ++-
cmake/cmake_celix/Config.cmake.in | 4 -
cmake/cmake_celix/ContainerPackaging.cmake | 298 ++-
cmake/cmake_celix/DockerPackaging.cmake | 1 +
cmake/cmake_celix/Generic.cmake | 208 +-
cmake/cmake_celix/OCIPacking.cmake | 156 --
cmake/cmake_celix/RunConfig.in.cmake | 41 -
cmake/cmake_celix/Runtimes.cmake | 4 +-
cmake/cmake_celix/runtime_common.sh.in | 15 +
cmake/cmake_celix/runtime_start.sh.in | 15 +
cmake/cmake_celix/runtime_stop.sh.in | 15 +
.../Manifest.in} | 0
cmake/cmake_celix/{ => templates}/NOTE | 7 +-
.../cmake_celix/templates/embed_bundle_apple.s | 15 +-
.../cmake_celix/templates/embed_bundle_linux.s | 19 +-
cmake/cmake_celix/vcxproj.user.in | 10 -
documents/cmake_commands/README.md | 559 ++---
examples/celix-examples/dm_example/CMakeLists.txt | 45 +-
.../celix-examples/dm_example_cxx/CMakeLists.txt | 27 +-
examples/celix-examples/embedding/CMakeLists.txt | 12 +-
libs/framework/CMakeLists.txt | 9 +-
libs/framework/gtest/CMakeLists.txt | 14 +
.../gtest/src/CelixFrameworkUtilsTestSuite.cc | 157 ++
.../gtest/src/bundle_context_bundles_tests.cpp | 73 +-
libs/framework/include/bundle.h | 14 +-
libs/framework/include/bundle_archive.h | 11 +-
libs/framework/include/bundle_listener.h | 2 +-
libs/framework/include/bundle_revision.h | 21 -
libs/framework/include/bundle_state.h | 31 +-
libs/framework/include/celix/Bundle.h | 12 +-
libs/framework/include/celix/FrameworkUtils.h | 95 +
libs/framework/include/celix_api.h | 5 +-
libs/framework/include/celix_bundle.h | 2 +-
.../{bundle_state.h => celix_bundle_state.h} | 40 +-
libs/framework/include/celix_constants.h | 4 +-
libs/framework/include/celix_framework_utils.h | 88 +
libs/framework/src/bundle.c | 80 +-
libs/framework/src/bundle_archive.c | 127 +-
.../framework/src/bundle_archive_private.h | 26 +-
libs/framework/src/bundle_cache.c | 250 ---
libs/framework/src/bundle_cache_private.h | 40 -
libs/framework/src/bundle_private.h | 8 +
libs/framework/src/bundle_revision.c | 16 +-
libs/framework/src/bundle_revision_private.h | 21 +
libs/framework/src/celix_bundle_cache.c | 194 ++
.../src/{bundle_cache.h => celix_bundle_cache.h} | 77 +-
libs/framework/src/celix_bundle_state.c | 18 +-
libs/framework/src/celix_framework_utils.c | 287 +++
libs/framework/src/celix_framework_utils_private.h | 66 +
libs/framework/src/celix_launcher.c | 36 +-
libs/framework/src/framework.c | 179 +-
libs/framework/src/framework_private.h | 10 +-
libs/framework/src/ioapi.c | 235 ---
libs/framework/src/ioapi.h | 200 --
libs/framework/src/iowin32.c | 389 ----
libs/framework/src/iowin32.h | 28 -
libs/framework/src/miniunz.c | 382 ----
libs/framework/src/unzip.c | 2128 --------------------
libs/framework/src/unzip.h | 437 ----
libs/utils/gtest/CMakeLists.txt | 3 +-
libs/utils/gtest/src/FileUtilsTestSuite.cc | 7 +-
.../utils/gtest/src/embed_zip_linux.s.in | 17 +-
libs/utils/include/celix_file_utils.h | 4 +-
libs/utils/include/celix_utils.h | 27 +-
libs/utils/private/test/utils_test.cpp | 4 +
libs/utils/src/celix_file_utils.c | 4 +-
libs/utils/src/utils.c | 34 +-
rat-excludes.txt | 14 -
77 files changed, 2390 insertions(+), 5398 deletions(-)
delete mode 100644 MiniZip64_info.txt
delete mode 100644 cmake/cmake_celix/Config.cmake.in
delete mode 100644 cmake/cmake_celix/OCIPacking.cmake
delete mode 100644 cmake/cmake_celix/RunConfig.in.cmake
rename cmake/cmake_celix/{Manifest.template.in => templates/Manifest.in} (100%)
rename cmake/cmake_celix/{ => templates}/NOTE (84%)
copy bundles/remote_services/discovery_common/include/discovery_type.h =>
cmake/cmake_celix/templates/embed_bundle_apple.s (75%)
copy bundles/pubsub/pubsub_api/include/pubsub/api.h =>
cmake/cmake_celix/templates/embed_bundle_linux.s (72%)
delete mode 100644 cmake/cmake_celix/vcxproj.user.in
create mode 100644 libs/framework/gtest/src/CelixFrameworkUtilsTestSuite.cc
create mode 100644 libs/framework/include/celix/FrameworkUtils.h
copy libs/framework/include/{bundle_state.h => celix_bundle_state.h} (51%)
create mode 100644 libs/framework/include/celix_framework_utils.h
copy bundles/pubsub/pubsub_admin_websocket/src/pubsub_websocket_common.h =>
libs/framework/src/bundle_archive_private.h (55%)
delete mode 100644 libs/framework/src/bundle_cache.c
delete mode 100644 libs/framework/src/bundle_cache_private.h
create mode 100644 libs/framework/src/celix_bundle_cache.c
rename libs/framework/src/{bundle_cache.h => celix_bundle_cache.h} (56%)
create mode 100644 libs/framework/src/celix_framework_utils.c
create mode 100644 libs/framework/src/celix_framework_utils_private.h
delete mode 100644 libs/framework/src/ioapi.c
delete mode 100644 libs/framework/src/ioapi.h
delete mode 100644 libs/framework/src/iowin32.c
delete mode 100644 libs/framework/src/iowin32.h
delete mode 100644 libs/framework/src/miniunz.c
delete mode 100644 libs/framework/src/unzip.c
delete mode 100644 libs/framework/src/unzip.h
copy bundles/remote_services/discovery_common/include/discovery_type.h =>
libs/utils/gtest/src/embed_zip_linux.s.in (80%)