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

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

commit b38d0805ae709de50f0349dff22f71585c9354cd
Merge: 65750a55 dd3d35a3
Author: Pepijn Noltes <[email protected]>
AuthorDate: Sat May 6 10:27:22 2023 +0200

    Merge remote-tracking branch 'origin/master' into feature/coding_conventions

 .asf.yaml                                          |  12 +
 .github/workflows/macos.yml                        |   2 +-
 CMakeLists.txt                                     |   3 +
 bundles/logging/log_helper/CMakeLists.txt          |   1 +
 .../log_service_v2/src/log_service_activator.c     |  10 +-
 bundles/pubsub/pubsub_spi/CMakeLists.txt           |   2 +-
 .../discovery_zeroconf/gtest/CMakeLists.txt        |  48 +-
 .../rsa_shm/CMakeLists.txt                         |  41 +-
 .../rsa_shm/gtest/CMakeLists.txt                   |  84 +-
 .../rsa_shm/gtest/resources/client.properties.in   |  25 -
 ...org.apache.celix.test.api.Calculator.descriptor |   9 +
 .../rsa_shm/gtest/resources/server.properties.in   |  25 -
 .../gtest/src/RsaShmActivatorUnitTestSuite.cc      | 103 +++
 .../gtest/src/RsaShmClientServerTestSuite.cc       |  62 --
 .../gtest/src/RsaShmClientServerUnitTestSuite.cc   | 738 ++++++++++++++++
 .../src/RsaShmExportRegistrationUnitTestSuite.cc   | 474 ++++++++++
 .../rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc   | 825 ++++++++++++++++++
 .../src/RsaShmImportRegistrationUnitTestSuite.cc   | 287 +++++++
 ...rTestSuite.cc => RsaShmIntegrationTestSuite.cc} |  12 +-
 .../rsa_shm/gtest/src/RsaShmTestService.h          |  42 +-
 .../rsa_shm/gtest/src/RsaShmTestSuite.cc           | 162 ----
 .../rsa_shm/gtest/src/thpool_ei.cc                 |  27 +-
 .../rsa_shm/gtest/src/thpool_ei.h                  |  16 +-
 .../rsa_shm/src/rsa_shm_activator.c                |  40 +-
 .../rsa_shm/src/rsa_shm_client.c                   | 127 +--
 .../rsa_shm/src/rsa_shm_client.h                   |   8 +-
 .../rsa_shm/src/rsa_shm_export_registration.c      |  52 +-
 .../rsa_shm/src/rsa_shm_export_registration.h      |  12 +-
 .../rsa_shm/src/rsa_shm_impl.c                     | 307 ++++---
 .../rsa_shm/src/rsa_shm_impl.h                     |  12 +-
 .../rsa_shm/src/rsa_shm_import_registration.c      |  35 +-
 .../rsa_shm/src/rsa_shm_import_registration.h      |  11 +-
 .../rsa_shm/src/rsa_shm_msg.h                      |   1 +
 .../rsa_shm/src/rsa_shm_server.c                   |  75 +-
 .../rsa_shm/src/rsa_shm_server.h                   |   4 +-
 .../shm_pool/gtest/CMakeLists.txt                  |  23 +-
 .../shm_pool/gtest/src/ShmCacheTestSuite.cc        | 105 ++-
 .../shm_pool/gtest/src/ShmPoolTestSuite.cc         |  64 +-
 .../shm_pool/src/shm_cache.c                       |  24 +-
 .../shm_pool/src/shm_pool.c                        |  14 +-
 .../remote_services/rsa_rpc_json/CMakeLists.txt    |  41 +-
 .../rsa_rpc_json/gtest/CMakeLists.txt              |  64 +-
 .../org.apache.celix.test.api.rpc_json.descriptor  |   9 +
 .../gtest/src/RsaJsonRpcActivatorUnitTestSuite.cc  | 112 +++
 ...tSuite.cc => RsaJsonRpcIntegrationTestSuite.cc} |  29 +-
 .../rsa_rpc_json/gtest/src/RsaJsonRpcTestService.h |  35 +-
 .../rsa_rpc_json/gtest/src/RsaJsonRpcTestSuite.cc  | 295 -------
 .../gtest/src/RsaJsonRpcUnitTestSuite.cc           | 950 +++++++++++++++++++++
 .../src/RsaRequestSenderTrackerUnitTestSuite.cc    | 147 ++++
 .../rsa_rpc_json/src/rsa_json_rpc_activator.c      |  16 +-
 .../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.c  |  37 +-
 .../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.h  |   9 +-
 .../rsa_rpc_json/src/rsa_json_rpc_impl.c           |  46 +-
 .../rsa_rpc_json/src/rsa_json_rpc_impl.h           |   6 +-
 .../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.c     |  51 +-
 .../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.h     |  10 +-
 .../rsa_rpc_json/src/rsa_request_sender_tracker.c  |  32 +-
 .../rsa_rpc_json/src/rsa_request_sender_tracker.h  |   9 +-
 bundles/remote_services/rsa_spi/CMakeLists.txt     |   5 +
 .../topology_manager/src/activator.c               |  12 +-
 bundles/shell/shell/src/lb_command.c               |  12 +-
 cmake/celix_project/CelixProject.cmake             |   6 +-
 cmake/cmake_celix/BundlePackaging.cmake            |  14 +-
 cmake/cmake_celix/Generic.cmake                    |  57 ++
 cmake/cmake_celix/templates/embed_bundle_linux.s   |   1 +
 documents/bundles.md                               |  49 +-
 documents/cmake_commands/README.md                 |  27 +
 .../readme_c_examples/CMakeLists.txt               |   7 +
 .../readme_c_examples/src/my_bundle_activator.c    |  17 +-
 libs/dfi/CMakeLists.txt                            |  19 +-
 libs/dfi/include/avrobin_serializer.h              |   9 +-
 libs/dfi/include/dfi_log_util.h                    |   4 +-
 libs/dfi/include/dyn_common.h                      |  11 +-
 libs/dfi/include/dyn_function.h                    |  27 +-
 libs/dfi/include/dyn_interface.h                   |  24 +-
 libs/dfi/include/dyn_message.h                     |  22 +-
 libs/dfi/include/dyn_type.h                        |  62 +-
 libs/dfi/include/json_rpc.h                        |   7 +-
 libs/dfi/include/json_serializer.h                 |   9 +-
 libs/error_injector/CMakeLists.txt                 |   9 +
 libs/error_injector/api/celix_error_injector.h     |  12 +
 libs/error_injector/asprintf/CMakeLists.txt        |   4 +-
 libs/error_injector/asprintf/include/asprintf_ei.h |   2 +
 libs/error_injector/asprintf/src/asprintf_ei.cc    |  11 +-
 .../error_injector/celix_array_list/CMakeLists.txt |  35 +
 .../include/celix_array_list_ei.h}                 |  31 +-
 .../celix_array_list/src/celix_array_list_ei.cc    | 101 +++
 .../{stdio => celix_bundle}/CMakeLists.txt         |  18 +-
 .../include/celix_bundle_ei.h}                     |  15 +-
 .../celix_bundle/src/celix_bundle_ei.cc}           |  46 +-
 .../error_injector/celix_bundle_ctx/CMakeLists.txt |  11 +-
 .../include/celix_bundle_context_ei.h              |   6 +
 .../src/celix_bundle_context_ei.cc                 |  43 +
 .../{asprintf => celix_log_helper}/CMakeLists.txt  |  10 +-
 .../include/celix_log_helper_ei.h}                 |  14 +-
 .../celix_log_helper/src/celix_log_helper_ei.cc}   |  22 +-
 libs/error_injector/celix_threads/CMakeLists.txt   |   6 +-
 .../celix_threads/include/celix_threads_ei.h       |   3 +
 .../celix_threads/src/celix_threads_ei.cc          |  23 +-
 libs/error_injector/celix_utils/CMakeLists.txt     |   2 +
 .../celix_utils/include/celix_utils_ei.h           |   4 +
 .../celix_utils/src/celix_utils_ei.cc              |  14 +
 .../{asprintf => celix_version}/CMakeLists.txt     |  12 +-
 .../include/celix_version_ei.h}                    |  14 +-
 .../src/celix_version_ei.cc}                       |  21 +-
 .../{asprintf => dfi}/CMakeLists.txt               |  14 +-
 .../celix_threads_ei.h => dfi/include/dfi_ei.h}    |  17 +-
 libs/error_injector/dfi/src/dfi_ei.cc              |  45 +
 .../error_injector/ifaddrs}/CMakeLists.txt         |  16 +-
 .../asprintf_ei.h => ifaddrs/include/ifaddrs_ei.h} |  10 +-
 .../asprintf_ei.h => ifaddrs/src/ifaddrs_ei.cc}    |  22 +-
 .../{celix_threads => pthread}/CMakeLists.txt      |  19 +-
 .../include/pthread_ei.h}                          |  27 +-
 libs/error_injector/pthread/src/pthread_ei.cc      |  79 ++
 .../error_injector/socket}/CMakeLists.txt          |  16 +-
 .../include/socket_ei.h}                           |  14 +-
 .../socket/src/socket_ei.cc}                       |  44 +-
 libs/error_injector/stdio/CMakeLists.txt           |   1 +
 libs/error_injector/stdio/include/stdio_ei.h       |   2 +
 libs/error_injector/stdio/src/stdio_ei.cc          |  10 +
 .../error_injector/sys_shm}/CMakeLists.txt         |  14 +-
 .../include/sys_shm_ei.h}                          |  13 +-
 .../src/sys_shm_ei.cc}                             |  28 +-
 libs/etcdlib/CMakeLists.txt                        |  40 +-
 libs/etcdlib/api/etcd.h                            |  25 +-
 libs/etcdlib/api/etcdlib.h                         |  23 +-
 libs/framework/CMakeLists.txt                      |  58 +-
 libs/framework/gtest/CMakeLists.txt                |  33 +-
 .../BundleArchiveWithErrorInjectionTestSuite.cc    |  28 +-
 ...s.cpp => CelixBundleContextBundlesTestSuite.cc} |  93 +-
 .../CelixBundleContextBundlesWithErrorTestSuite.cc |  94 ++
 ....cpp => CelixBundleContextServicesTestSuite.cc} | 106 +--
 ...amework_test.cpp => CelixFrameworkTestSuite.cc} |  37 +
 .../gtest/src/CelixFrameworkUtilsTestSuite.cc      |  12 +-
 .../gtest/src/MultipleFrameworkTestSuite.cc        |  56 ++
 .../gtest/src/multiple_frameworks_test.cpp         | 103 ---
 libs/framework/include/celix/BundleActivator.h     |   8 +-
 libs/framework/include/celix_bundle.h              |  39 +-
 libs/framework/include/celix_bundle_activator.h    |  19 +-
 libs/framework/include/celix_bundle_context.h      | 154 ++--
 libs/framework/include/celix_bundle_event.h        |   1 -
 libs/framework/include/celix_bundle_state.h        |   4 +-
 libs/framework/include/celix_dependency_manager.h  |  34 +-
 libs/framework/include/celix_dm_component.h        |  49 +-
 libs/framework/include/celix_dm_info.h             |   3 +-
 .../include/celix_dm_service_dependency.h          |  31 +-
 libs/framework/include/celix_framework.h           |  66 +-
 libs/framework/include/celix_framework_factory.h   |   5 +-
 libs/framework/include/celix_framework_utils.h     |  10 +-
 libs/framework/include/celix_launcher.h            |  17 +-
 libs/framework/include/celix_log.h                 |  17 +-
 libs/framework/include/celix_service_event.h       |   4 +-
 libs/framework/include/celix_types.h               |   9 +
 libs/framework/include_deprecated/archive.h        |   3 +-
 libs/framework/include_deprecated/bundle.h         |  67 +-
 .../include_deprecated/bundle_activator.h          |  15 +-
 libs/framework/include_deprecated/bundle_archive.h |  42 +-
 libs/framework/include_deprecated/bundle_context.h |  53 +-
 .../framework/include_deprecated/bundle_revision.h |  11 +-
 libs/framework/include_deprecated/capability.h     |  11 +-
 libs/framework/include_deprecated/dm_activator.h   |   7 +-
 libs/framework/include_deprecated/dm_component.h   |  43 +-
 .../include_deprecated/dm_dependency_manager.h     |  15 +-
 .../include_deprecated/dm_service_dependency.h     |  28 +-
 libs/framework/include_deprecated/framework.h      |  17 +-
 libs/framework/include_deprecated/manifest.h       |  22 +-
 libs/framework/include_deprecated/module.h         |  54 +-
 libs/framework/include_deprecated/requirement.h    |  12 +-
 .../include_deprecated/service_listener.h          |   1 -
 .../include_deprecated/service_reference.h         |  26 +-
 .../include_deprecated/service_registration.h      |  17 +-
 .../include_deprecated/service_registry.h          |  51 +-
 .../framework/include_deprecated/service_tracker.h |  35 +-
 .../service_tracker_customizer.h                   |  15 +-
 libs/framework/include_deprecated/wire.h           |  13 +-
 libs/framework/src/bundle_archive.c                |   6 +-
 libs/framework/src/bundle_archive_private.h        |   3 +-
 libs/framework/src/bundle_context.c                |  12 +-
 libs/framework/src/bundle_private.h                |   3 +-
 libs/framework/src/bundle_revision.c               |   4 +-
 libs/framework/src/bundle_revision_private.h       |   2 +-
 libs/framework/src/celix_bundle_cache.c            |   2 +-
 libs/framework/src/celix_framework_utils_private.h |   5 +-
 libs/framework/src/celix_libloader.c               |   4 +-
 libs/framework/src/framework.c                     |  59 +-
 libs/framework/src/framework_private.h             |  32 +-
 libs/framework/src/manifest_parser.c               |   9 -
 libs/framework/src/module.c                        |  56 +-
 libs/framework/src/service_reference.c             |   4 +-
 libs/utils/CMakeLists.txt                          |  81 +-
 libs/utils/gtest/CMakeLists.txt                    |  10 +-
 .../gtest/src/ArrayListErrorInjectionTestSuite.cc  |  51 ++
 libs/utils/gtest/src/ArrayListTestSuite.cc         |  27 +
 .../gtest/src/IpUtilsErrorInjectionTestSuite.cc    |  47 +
 libs/utils/gtest/src/VersionRangeTestSuite.cc      |  12 +-
 libs/utils/include/celix_array_list.h              |  80 +-
 libs/utils/include/celix_convert_utils.h           |   9 +-
 libs/utils/include/celix_errno.h                   |  10 +-
 libs/utils/include/celix_file_utils.h              |  18 +-
 libs/utils/include/celix_filter.h                  |  17 +-
 libs/utils/include/celix_log_utils.h               |  17 +-
 libs/utils/include/celix_long_hash_map.h           |  39 +-
 libs/utils/include/celix_properties.h              |  53 +-
 libs/utils/include/celix_string_hash_map.h         |  39 +-
 libs/utils/include/celix_threads.h                 |  68 +-
 libs/utils/include/celix_utils.h                   |  34 +-
 libs/utils/include/celix_version.h                 |  32 +-
 libs/utils/include/celix_version_range.h           |  23 +-
 libs/utils/include_deprecated/array_list.h         |  52 +-
 libs/utils/include_deprecated/filter.h             |  14 +-
 libs/utils/include_deprecated/hash_map.h           | 100 +--
 libs/utils/include_deprecated/ip_utils.h           |  12 +-
 libs/utils/include_deprecated/linked_list.h        |  48 +-
 .../include_deprecated/linked_list_iterator.h      |  24 +-
 libs/utils/include_deprecated/properties.h         |  24 +-
 libs/utils/include_deprecated/utils.h              |  18 +-
 libs/utils/include_deprecated/version.h            |  28 +-
 libs/utils/include_deprecated/version_range.h      |  23 +-
 libs/utils/private/test/ip_utils_test.cpp          |   6 +-
 libs/utils/private/test/version_test.cpp           |   7 +
 libs/utils/src/array_list.c                        |  79 +-
 libs/utils/src/array_list_private.h                |   2 -
 libs/utils/src/celix_convert_utils.c               |   6 +-
 libs/utils/src/hash_map.c                          |   2 +-
 libs/utils/src/hash_map_private.h                  |   7 +-
 libs/utils/src/ip_utils.c                          |  17 +-
 libs/utils/src/linked_list.c                       |   2 +-
 libs/utils/src/properties.c                        |   2 +-
 libs/utils/src/version.c                           |   2 +
 libs/utils/src/version_range.c                     |   2 +
 230 files changed, 7311 insertions(+), 2873 deletions(-)

Reply via email to