You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2020/03/29 18:35:11 UTC

[celix] branch feature/dfi_to_gtest updated (fad4206 -> b53adbc)

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

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


    from fad4206  Adds missing cplusplus check in the dfi headers and moves some test function to a c file, to ensure a C compiler is used.
     add 9621e29  Changes auto start bundle handling to first installing and then starting a bundle. In some cases this is preferred.
     add 91537f5  Merge pull request #169 from apache/feature/first_install_then_start_bundles
     add aad0ecd  Refactors some celix framework test from cpputest to gtest.
     add f4671e0  Refactors the handling of service listeners. This is moved to the service registry and the service listener is now retroactively creating events.
     add 3cf342d  Removes commented out code.
     add 0beb54a  Merge pull request #165 from apache/feature/framework_racecondition
     add 5482121  Add new cmake command for explicitly installing docker containers
     add f33a4ef  Rename function, output type not necessary in name
     add 0cd2df7  Typo
     add 751bc31  Merge pull request #170 from Oipo/feature/separate_install_docker_command
     add 4ed8ed2  Adds missing var initialization
     add 515f926  Move destruction of serviceRegistry to before destruction of bundles, preventing a use after free situation when dangling service registrations exist
     add 93d3daf  Merge pull request #173 from Oipo/develop
     add 19000a7  Fixed endianness of metadata size. (#175)
     add e5a7dd8  Performance opts and memory leak fixes (#176)
     add e0ca87a  Memory leak fixes (#177)
     add 92e954a  Merge branch 'develop' into feature/dfi_to_gtest
     add 167ce62  Adds undefined behavior sanitizer options to celix project
     add 88bae51  Fixed some memory leaks and refactor the avrobin parsing for sequences
     add b53adbc  Fixed one more mem leak

No new revisions were added by this update.

Summary of changes:
 .../example/refining_driver/CMakeLists.txt         |   2 +
 .../example/refining_driver/src/refining_driver.c  |   4 +-
 bundles/http_admin/http_admin/src/http_admin.c     |  19 +-
 .../src/pubsub_websocket_topic_receiver.c          |   2 +-
 .../src/pubsub_websocket_topic_sender.c            |  10 +-
 .../pubsub_admin_zmq/src/pubsub_zmq_topic_sender.c |   6 +-
 .../gtest/src/PS_WP_tests.cc                       |  33 +-
 .../src/pubsub_wire_protocol_impl.c                |  26 +-
 .../src/pubsub_wire_protocol_impl.h                |   2 +-
 bundles/pubsub/test/test/test_runner.cc            |  18 +-
 .../topology_manager/CMakeLists.txt                |   1 -
 .../topology_manager/src/activator.c               |  72 ++--
 .../topology_manager/src/topology_manager.c        | 168 ++++-----
 .../topology_manager/src/topology_manager.h        |   4 +-
 cmake/celix_project/CelixProject.cmake             |   7 +-
 cmake/cmake_celix/ContainerPackaging.cmake         |   4 +-
 cmake/cmake_celix/DockerPackaging.cmake            |  71 +++-
 examples/celix-examples/dm_example/CMakeLists.txt  |   4 +
 libs/dfi/gtest/src/dyn_avpr_function_tests.cpp     |  70 ++--
 libs/dfi/gtest/src/dyn_function_tests.cpp          | 238 ++++++++-----
 libs/dfi/include/dyn_type.h                        |  22 +-
 libs/dfi/src/avrobin_serializer.c                  | 155 ++++-----
 libs/dfi/src/dyn_function.c                        |   8 +-
 libs/dfi/src/dyn_type.c                            |  52 ++-
 libs/dfi/src/json_rpc.c                            |   8 +-
 libs/framework/CMakeLists.txt                      |   6 +-
 libs/framework/{test => gtest}/CMakeLists.txt      |  18 +-
 .../framework/{test => gtest}/config.properties.in |   0
 .../{test => gtest}/framework1.properties.in       |   0
 .../{test => gtest}/framework2.properties.in       |   0
 .../src}/bundle_context_bundles_tests.cpp          | 224 ++++++------
 .../src}/bundle_context_services_test.cpp          | 353 +++++++++----------
 libs/framework/{test => gtest/src}/dm_tests.cpp    |  38 ++-
 .../src}/multiple_frameworks_test.cpp              |  25 +-
 libs/framework/{test => gtest/src}/nop_activator.c |   0
 .../framework/gtest/src/run_tests.cpp              |  17 +-
 .../{test => gtest/src}/single_framework_test.cpp  |  41 +--
 .../{test => gtest}/subdir/CMakeLists.txt          |   0
 libs/framework/{test => gtest}/subdir/src/foo.c    |   0
 libs/framework/include/bundle_context.h            |   2 +-
 libs/framework/include/celix_bundle_context.h      |   6 +-
 libs/framework/include/celix_constants.h           |   1 +
 libs/framework/include/service_reference.h         |   3 +
 libs/framework/include/service_registry.h          |  15 +-
 libs/framework/include/service_tracker.h           |   5 +-
 libs/framework/private/mock/bundle_context_mock.c  |  11 +-
 .../private/mock/service_reference_mock.c          |   6 +
 .../framework/private/mock/service_registry_mock.c |  22 +-
 .../private/test/service_registration_test.cpp     |  24 --
 .../private/test/service_registry_test.cpp         | 162 ++++-----
 libs/framework/src/bundle.c                        |   8 +-
 libs/framework/src/bundle_context.c                |  13 +-
 libs/framework/src/framework.c                     | 333 ++----------------
 libs/framework/src/framework_private.h             |   3 -
 libs/framework/src/registry_callback_private.h     |   1 -
 libs/framework/src/service_reference.c             |  12 +
 libs/framework/src/service_registration.c          |   9 -
 libs/framework/src/service_registration_private.h  |   8 +-
 libs/framework/src/service_registry.c              | 375 +++++++++++++++++----
 libs/framework/src/service_registry_private.h      |  38 ++-
 libs/framework/src/service_tracker.c               | 169 ++++------
 libs/framework/test/run_tests.cpp                  |  26 --
 libs/utils/private/test/version_range_test.cpp     |  11 +-
 63 files changed, 1498 insertions(+), 1493 deletions(-)
 rename libs/framework/{test => gtest}/CMakeLists.txt (84%)
 rename libs/framework/{test => gtest}/config.properties.in (100%)
 rename libs/framework/{test => gtest}/framework1.properties.in (100%)
 rename libs/framework/{test => gtest}/framework2.properties.in (100%)
 rename libs/framework/{test => gtest/src}/bundle_context_bundles_tests.cpp (67%)
 rename libs/framework/{test => gtest/src}/bundle_context_services_test.cpp (71%)
 rename libs/framework/{test => gtest/src}/dm_tests.cpp (67%)
 rename libs/framework/{test => gtest/src}/multiple_frameworks_test.cpp (84%)
 rename libs/framework/{test => gtest/src}/nop_activator.c (100%)
 copy bundles/pubsub/test/test/msg.h => libs/framework/gtest/src/run_tests.cpp (84%)
 rename libs/framework/{test => gtest/src}/single_framework_test.cpp (77%)
 rename libs/framework/{test => gtest}/subdir/CMakeLists.txt (100%)
 rename libs/framework/{test => gtest}/subdir/src/foo.c (100%)
 delete mode 100644 libs/framework/test/run_tests.cpp