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

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

commit 6c2b8395b0debdbdb08e34227f85582425368a8f
Merge: e6dc3ca4 8ca876da
Author: Pepijn Noltes <[email protected]>
AuthorDate: Tue Feb 27 22:36:40 2024 +0100

    Merge pull request #729 from 
apache/feature/87-add-additional-svc-tracker-bundle-context-funtions
    
    Feature/87 add additional svc tracker bundle context funtions

 CHANGES.md                                         |   5 +
 .../log_admin/gtest/src/LogAdminTestSuite.cc       |   6 +-
 .../gtest/src/rsa_client_server_tests.cc           |  27 +-
 bundles/shell/shell/gtest/src/ShellTestSuite.cc    |   9 +-
 bundles/shell/shell/src/query_command.c            |   2 +-
 .../src/simple_consumer_example.c                  |   7 +-
 .../track_tracker_example/src/activator.c          |  23 +-
 .../src/CelixBundleContextBundlesTestSuite.cc      |   4 +-
 .../src/CelixBundleContextServicesTestSuite.cc     | 342 ++++++++--
 .../gtest/src/CxxBundleContextTestSuite.cc         | 103 +++
 libs/framework/include/celix/Trackers.h            | 119 ++++
 libs/framework/include/celix_bundle.h              |  12 +-
 libs/framework/include/celix_bundle_context.h      | 739 +++++++++++++--------
 libs/framework/include/celix_bundle_context_type.h |  41 ++
 libs/framework/include/celix_types.h               |   4 +-
 .../framework/include_deprecated/service_tracker.h |  18 +-
 libs/framework/src/bundle.c                        |  36 +-
 libs/framework/src/bundle_context.c                | 470 ++++++++-----
 libs/framework/src/bundle_context_private.h        |  61 +-
 libs/framework/src/service_tracker.c               | 237 +++----
 libs/framework/src/service_tracker_private.h       |  57 +-
 libs/utils/include/celix_threads.h                 |  12 +-
 22 files changed, 1632 insertions(+), 702 deletions(-)

diff --cc CHANGES.md
index 1ca2af68,8dab49dc..3221802a
--- a/CHANGES.md
+++ b/CHANGES.md
@@@ -58,9 -58,13 +58,14 @@@ limitations under the License
  - linked_list.h is removed and no longer supported. Use celix_array_list.h 
instead.
  - ip_utils.h is removed and no longer supported.  
  - array_list.h is removed and no longer supported. Use celix_array_list.h 
instead.
 +- the celix_arrayList_add function no longer accepts a NULL value.
  - version.h and version_range.h are removed and no longer supported. Use 
celix_version.h and celix_version_range.h 
    instead.
+ - The signature of `celix_bundleContext_trackServices` has changed. The 
signature is now simpler to better support
+   the use-case of using a service tracker with the 
`celix_bundleContext_useTrackedService*` functions.
+   The `celix_bundleContext_trackServicesWithOptions` is still available for 
more advanced use-cases.
+ - Function `celix_bundle_destroyServiceTrackerList` is removed. The returned 
array list from 
+   `celix_bundle_listServiceTrackers` is now configured to destroy the service 
trackers info entries.
  
  ## New Features
  

Reply via email to