You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pe...@apache.org on 2023/08/18 12:50:32 UTC

[celix] branch master updated (db99d918 -> 9647e660)

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

pengzheng pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git


    from db99d918 Merge pull request #617 from apache/hotfix/avoid-config-conflict
     add 23a32b21 Fix memory leak in manifest_destroy.
     add 660994dd Fix broken manifest_clone.
     add 51ab4a06 Use celix_err for logging.
     add 3cea0d4c Log manifest's ERR message.
     add 7fc570f5 Add more tests for manifest_create and manifest_clone.
     add 6dfef569 Fix crash caused by wrong error injector signature specification.
     add 78b31d5f Adapt Felix's manifest parsing to Celix.
     add 844f3254 Remove dead code.
     add 7f904d88 Add more test for manifest.c
     add b17c9e40 Exclude unimplemented function from coverage.
     add 779e73a4 API documentation revised and local variables renamed based on code review comments.
     new 9647e660 Merge pull request #616 from apache/feature/527-manifest-improvement

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:
 bundles/logging/log_helper/src/celix_log_helper.c  |  13 +-
 libs/error_injector/CMakeLists.txt                 |   1 +
 libs/error_injector/stdio/CMakeLists.txt           |   3 +
 libs/error_injector/stdio/include/stdio_ei.h       |   6 +
 libs/error_injector/stdio/src/stdio_ei.cc          |  48 ++-
 .../{stdlib => string}/CMakeLists.txt              |  12 +-
 .../eventfd_ei.h => string/include/string_ei.h}    |  14 +-
 .../eventfd_ei.h => string/src/string_ei.cc}       |  26 +-
 libs/framework/CMakeLists.txt                      |   2 +-
 libs/framework/gtest/CMakeLists.txt                |   5 +
 .../gtest/src/CxxBundleContextTestSuite.cc         |   7 +
 .../gtest/src/ManifestErrorInjectionTestSuite.cc   | 176 ++++++++
 libs/framework/gtest/src/ManifestTestSuite.cc      | 307 ++++++++++++++
 libs/framework/include/celix/BundleContext.h       |   8 +
 libs/framework/include/celix_bundle_context.h      |   7 +
 libs/framework/include/celix_log.h                 |   2 +
 libs/framework/include_deprecated/manifest.h       |   8 +
 libs/framework/src/attribute.c                     |  65 ---
 libs/framework/src/attribute.h                     |  40 --
 libs/framework/src/attribute_private.h             |  38 --
 libs/framework/src/bundle_archive.c                |   2 +
 libs/framework/src/bundle_context.c                |   4 +
 libs/framework/src/capability.c                    |   1 -
 libs/framework/src/celix_log.c                     |  13 +-
 libs/framework/src/manifest.c                      | 454 +++++++++++----------
 libs/framework/src/manifest_parser.c               |   1 -
 libs/framework/src/requirement.c                   |   8 +-
 libs/utils/error_injector/CMakeLists.txt           |   3 +-
 .../utils/error_injector/hash_map}/CMakeLists.txt  |  19 +-
 .../error_injector/hash_map/include/hmap_ei.h}     |  15 +-
 .../utils/error_injector/hash_map/src/hmap_ei.cc   |  38 +-
 libs/utils/gtest/CMakeLists.txt                    |  15 +-
 .../gtest/src/CelixUtilsAutoCleanupTestSuite.cc    |   7 +-
 libs/utils/gtest/src/ErrErrorInjectionTestSuite.cc |   2 -
 libs/utils/gtest/src/ErrTestSuite.cc               |  41 +-
 .../gtest/src/PropertiesErrorInjectionTestSuite.cc |  38 +-
 libs/utils/include/celix_err.h                     |  12 +
 .../include/celix_stdio_cleanup.h}                 |  17 +-
 libs/utils/src/celix_err.c                         |  37 +-
 39 files changed, 1008 insertions(+), 507 deletions(-)
 copy libs/error_injector/{stdlib => string}/CMakeLists.txt (73%)
 copy libs/error_injector/{eventfd/include/eventfd_ei.h => string/include/string_ei.h} (81%)
 copy libs/error_injector/{eventfd/include/eventfd_ei.h => string/src/string_ei.cc} (69%)
 create mode 100644 libs/framework/gtest/src/ManifestErrorInjectionTestSuite.cc
 create mode 100644 libs/framework/gtest/src/ManifestTestSuite.cc
 delete mode 100644 libs/framework/src/attribute.c
 delete mode 100644 libs/framework/src/attribute.h
 delete mode 100644 libs/framework/src/attribute_private.h
 copy {examples/celix-examples/hello_world_c => libs/utils/error_injector/hash_map}/CMakeLists.txt (70%)
 copy libs/{error_injector/socket/include/socket_ei.h => utils/error_injector/hash_map/include/hmap_ei.h} (80%)
 copy bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcTestService.h => libs/utils/error_injector/hash_map/src/hmap_ei.cc (53%)
 copy examples/celix-examples/dm_example_cxx/phase1/src/Phase1Cmp.h => libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc (54%)
 copy libs/{error_injector/sys_shm/include/sys_shm_ei.h => utils/include/celix_stdio_cleanup.h} (75%)


[celix] 01/01: Merge pull request #616 from apache/feature/527-manifest-improvement

Posted by pe...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 9647e66097553ba0279e9c3c7a4b6ebbd7f25c7a
Merge: db99d918 779e73a4
Author: PengZheng <ho...@gmail.com>
AuthorDate: Fri Aug 18 20:50:27 2023 +0800

    Merge pull request #616 from apache/feature/527-manifest-improvement
    
    Feature/527 manifest improvement

 bundles/logging/log_helper/src/celix_log_helper.c  |  13 +-
 libs/error_injector/CMakeLists.txt                 |   1 +
 libs/error_injector/stdio/CMakeLists.txt           |   3 +
 libs/error_injector/stdio/include/stdio_ei.h       |   6 +
 libs/error_injector/stdio/src/stdio_ei.cc          |  48 ++-
 .../string}/CMakeLists.txt                         |  17 +-
 .../string/include/string_ei.h}                    |  31 +-
 .../string/src/string_ei.cc}                       |  31 +-
 libs/framework/CMakeLists.txt                      |   2 +-
 libs/framework/gtest/CMakeLists.txt                |   5 +
 .../gtest/src/CxxBundleContextTestSuite.cc         |   7 +
 .../gtest/src/ManifestErrorInjectionTestSuite.cc   | 176 ++++++++
 libs/framework/gtest/src/ManifestTestSuite.cc      | 307 ++++++++++++++
 libs/framework/include/celix/BundleContext.h       |   8 +
 libs/framework/include/celix_bundle_context.h      |   7 +
 libs/framework/include/celix_log.h                 |   2 +
 libs/framework/include_deprecated/manifest.h       |   8 +
 libs/framework/src/attribute.c                     |  65 ---
 libs/framework/src/bundle_archive.c                |   2 +
 libs/framework/src/bundle_context.c                |   4 +
 libs/framework/src/capability.c                    |   1 -
 libs/framework/src/celix_log.c                     |  13 +-
 libs/framework/src/manifest.c                      | 454 +++++++++++----------
 libs/framework/src/manifest_parser.c               |   1 -
 libs/framework/src/requirement.c                   |   8 +-
 libs/utils/error_injector/CMakeLists.txt           |   3 +-
 .../error_injector/{ => hash_map}/CMakeLists.txt   |  17 +-
 .../error_injector/hash_map/include/hmap_ei.h}     |  29 +-
 .../error_injector/hash_map/src/hmap_ei.cc}        |  32 +-
 libs/utils/gtest/CMakeLists.txt                    |  15 +-
 .../gtest/src/CelixUtilsAutoCleanupTestSuite.cc    |   7 +-
 libs/utils/gtest/src/ErrErrorInjectionTestSuite.cc |   2 -
 libs/utils/gtest/src/ErrTestSuite.cc               |  41 +-
 .../src/PropertiesErrorInjectionTestSuite.cc}      |  32 +-
 libs/utils/include/celix_err.h                     |  12 +
 .../include/celix_stdio_cleanup.h}                 |  28 +-
 libs/utils/src/celix_err.c                         |  37 +-
 37 files changed, 1027 insertions(+), 448 deletions(-)