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 2022/06/28 13:34:56 UTC

[celix] branch master updated (24bc9dad -> e7b23bf2)

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 24bc9dad Merge pull request #420 from apache/hotfix/dm_cmp_coverity_issues
     add 965f7c6e Adds dm component document and examples.
     add 9875606d Merge branch 'feature/additional_component_states' into pnoltes/feature/update_component_and_pattern_documentation
     add a1aa7a11 Update dm component document and examples.
     add b74930c8 Updates dm component document and examples.
     add 13bf1c15 Updates extender pattern documentation
     add 3ddbae03 Adds whiteboard pattern documentation
     add 46d8836b Updates patterns documentation.
     add 51ec14e1 Updates some sentences for patterns documentation
     add 031e7e34 Adds patterns link to documentation and removes old getting started guide
     add 551514f7 Updates patterns.md and refactor celix shell documentation
     new e7b23bf2 Merge pull request #421 from apache/feature/update_component_and_pattern_documentation

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/README.md                          |   2 +-
 bundles/shell/README.md                            |  92 +++
 bundles/shell/diagrams/celix_cxx_shell.png         | Bin 0 -> 36092 bytes
 bundles/shell/diagrams/celix_cxx_shell.puml        |  50 ++
 bundles/shell/diagrams/celix_shell.png             | Bin 0 -> 27034 bytes
 bundles/shell/diagrams/celix_shell.puml            |  44 ++
 bundles/shell/shell/README.md                      |  55 --
 documents/README.md                                |   3 +-
 documents/bundles.md                               |  12 +-
 documents/components.md                            | 767 +++++++++++++++++----
 documents/diagrams/extender_pattern.png            | Bin 0 -> 17297 bytes
 ...undles_lifecycle.puml => extender_pattern.puml} |  25 +-
 documents/diagrams/sod_pattern.png                 | Bin 0 -> 9674 bytes
 .../diagrams/sod_pattern.puml                      |  19 +-
 documents/diagrams/sod_pattern_log_service.png     | Bin 0 -> 17098 bytes
 .../diagrams/sod_pattern_log_service.puml          |  39 +-
 .../diagrams/sod_pattern_publisher_service.png     | Bin 0 -> 23713 bytes
 .../diagrams/sod_pattern_publisher_service.puml    |  45 ++
 documents/diagrams/whiteboard_pattern.png          | Bin 0 -> 12021 bytes
 .../diagrams/whiteboard_pattern.puml               |  26 +-
 .../diagrams/whiteboard_pattern_http_admin.png     | Bin 0 -> 15058 bytes
 .../diagrams/whiteboard_pattern_http_admin.puml    |  35 +-
 documents/diagrams/whiteboard_pattern_log_sink.png | Bin 0 -> 9403 bytes
 .../diagrams/whiteboard_pattern_log_sink.puml      |  28 +-
 documents/diagrams/whiteboard_pattern_shell.png    | Bin 0 -> 18768 bytes
 ...vice_seq.puml => whiteboard_pattern_shell.puml} |  30 +-
 .../getting_started/creating_a_simple_bundle.md    | 292 --------
 documents/getting_started/using_services_with_c.md | 604 ----------------
 .../getting_started/using_services_with_cxx.md     | 578 ----------------
 documents/patterns.md                              | 129 +++-
 documents/services.md                              |  22 +-
 documents/subprojects.md                           |  40 ++
 documents/subprojects/README.md                    |  44 --
 .../dm_example/phase1/src/phase1_activator.c       |  10 +-
 .../dm_example/phase2a/src/phase2a_activator.c     |  10 +-
 .../dm_example/phase2b/src/phase2b_activator.c     |   6 +-
 .../dm_example/phase3/src/phase3_activator.c       |  16 +-
 .../readme_c_examples/CMakeLists.txt               |  35 +
 .../component_with_provided_service_activator.c    |  90 +++
 .../component_with_service_dependency_activator.c  | 123 ++++
 .../src/simple_component_activator.c               |  92 +++
 .../readme_cxx_examples/CMakeLists.txt             |  22 +-
 .../src/ComponentWithProvidedServiceActivator.cc   |  70 ++
 .../src/ComponentWithServiceDependencyActivator.cc |  75 ++
 .../src/SimpleComponentActivator.cc                |  57 ++
 .../gtest/src/DependencyManagerTestSuite.cc        |  74 ++
 libs/framework/include/celix/dm/Component.h        |  25 +-
 libs/framework/include/celix/dm/Component_Impl.h   |  43 +-
 libs/framework/include/celix/dm/ProvidedService.h  |   6 +-
 .../include/celix/dm/ProvidedService_Impl.h        |  12 +-
 libs/framework/include/celix_bundle_activator.h    |  35 +-
 libs/framework/include/celix_dependency_manager.h  |  12 +-
 libs/framework/include/celix_dm_component.h        |  55 +-
 libs/framework/src/dm_component_impl.c             |  24 +-
 libs/utils/CMakeLists.txt                          | 112 +--
 55 files changed, 2023 insertions(+), 1962 deletions(-)
 create mode 100644 bundles/shell/README.md
 create mode 100644 bundles/shell/diagrams/celix_cxx_shell.png
 create mode 100644 bundles/shell/diagrams/celix_cxx_shell.puml
 create mode 100644 bundles/shell/diagrams/celix_shell.png
 create mode 100644 bundles/shell/diagrams/celix_shell.puml
 delete mode 100644 bundles/shell/shell/README.md
 create mode 100644 documents/diagrams/extender_pattern.png
 copy documents/diagrams/{bundles_lifecycle.puml => extender_pattern.puml} (61%)
 create mode 100644 documents/diagrams/sod_pattern.png
 copy bundles/device_access/example/consuming_driver/README.md => documents/diagrams/sod_pattern.puml (70%)
 create mode 100644 documents/diagrams/sod_pattern_log_service.png
 rename bundles/shell/shell_tui/README.md => documents/diagrams/sod_pattern_log_service.puml (57%)
 create mode 100644 documents/diagrams/sod_pattern_publisher_service.png
 create mode 100644 documents/diagrams/sod_pattern_publisher_service.puml
 create mode 100644 documents/diagrams/whiteboard_pattern.png
 rename bundles/shell/remote_shell/README.md => documents/diagrams/whiteboard_pattern.puml (64%)
 create mode 100644 documents/diagrams/whiteboard_pattern_http_admin.png
 rename bundles/shell/shell_wui/README.md => documents/diagrams/whiteboard_pattern_http_admin.puml (61%)
 create mode 100644 documents/diagrams/whiteboard_pattern_log_sink.png
 copy libs/utils/README.md => documents/diagrams/whiteboard_pattern_log_sink.puml (73%)
 create mode 100644 documents/diagrams/whiteboard_pattern_shell.png
 copy documents/diagrams/{services_unregister_service_seq.puml => whiteboard_pattern_shell.puml} (56%)
 delete mode 100644 documents/getting_started/creating_a_simple_bundle.md
 delete mode 100644 documents/getting_started/using_services_with_c.md
 delete mode 100644 documents/getting_started/using_services_with_cxx.md
 create mode 100644 documents/subprojects.md
 delete mode 100644 documents/subprojects/README.md
 create mode 100644 examples/celix-examples/readme_c_examples/src/component_with_provided_service_activator.c
 create mode 100644 examples/celix-examples/readme_c_examples/src/component_with_service_dependency_activator.c
 create mode 100644 examples/celix-examples/readme_c_examples/src/simple_component_activator.c
 create mode 100644 examples/celix-examples/readme_cxx_examples/src/ComponentWithProvidedServiceActivator.cc
 create mode 100644 examples/celix-examples/readme_cxx_examples/src/ComponentWithServiceDependencyActivator.cc
 create mode 100644 examples/celix-examples/readme_cxx_examples/src/SimpleComponentActivator.cc


[celix] 01/01: Merge pull request #421 from apache/feature/update_component_and_pattern_documentation

Posted by pn...@apache.org.
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 e7b23bf2b3ad0ee782dcd834943999c8884dec3c
Merge: 24bc9dad 551514f7
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Tue Jun 28 15:34:50 2022 +0200

    Merge pull request #421 from apache/feature/update_component_and_pattern_documentation
    
    Feature/update component and pattern documentation

 bundles/logging/README.md                          |   2 +-
 bundles/shell/README.md                            |  92 +++
 bundles/shell/diagrams/celix_cxx_shell.png         | Bin 0 -> 36092 bytes
 bundles/shell/diagrams/celix_cxx_shell.puml        |  50 ++
 bundles/shell/diagrams/celix_shell.png             | Bin 0 -> 27034 bytes
 bundles/shell/diagrams/celix_shell.puml            |  44 ++
 bundles/shell/shell/README.md                      |  55 --
 documents/README.md                                |   3 +-
 documents/bundles.md                               |  12 +-
 documents/components.md                            | 767 +++++++++++++++++----
 documents/diagrams/extender_pattern.png            | Bin 0 -> 17297 bytes
 .../diagrams/extender_pattern.puml                 |  32 +-
 documents/diagrams/sod_pattern.png                 | Bin 0 -> 9674 bytes
 .../diagrams/sod_pattern.puml                      |  30 +-
 documents/diagrams/sod_pattern_log_service.png     | Bin 0 -> 17098 bytes
 .../diagrams/sod_pattern_log_service.puml          |  37 +-
 .../diagrams/sod_pattern_publisher_service.png     | Bin 0 -> 23713 bytes
 .../diagrams/sod_pattern_publisher_service.puml    |  45 ++
 documents/diagrams/whiteboard_pattern.png          | Bin 0 -> 12021 bytes
 .../diagrams/whiteboard_pattern.puml               |  31 +-
 .../diagrams/whiteboard_pattern_http_admin.png     | Bin 0 -> 15058 bytes
 .../diagrams/whiteboard_pattern_http_admin.puml    |  37 +-
 documents/diagrams/whiteboard_pattern_log_sink.png | Bin 0 -> 9403 bytes
 .../diagrams/whiteboard_pattern_log_sink.puml      |  27 +-
 documents/diagrams/whiteboard_pattern_shell.png    | Bin 0 -> 18768 bytes
 .../diagrams/whiteboard_pattern_shell.puml         |  35 +-
 .../getting_started/creating_a_simple_bundle.md    | 292 --------
 documents/getting_started/using_services_with_c.md | 604 ----------------
 .../getting_started/using_services_with_cxx.md     | 578 ----------------
 documents/patterns.md                              | 129 +++-
 documents/services.md                              |  22 +-
 documents/subprojects.md                           |  40 ++
 documents/subprojects/README.md                    |  44 --
 .../dm_example/phase1/src/phase1_activator.c       |  10 +-
 .../dm_example/phase2a/src/phase2a_activator.c     |  10 +-
 .../dm_example/phase2b/src/phase2b_activator.c     |   6 +-
 .../dm_example/phase3/src/phase3_activator.c       |  16 +-
 .../readme_c_examples/CMakeLists.txt               |  35 +
 .../component_with_provided_service_activator.c    |  90 +++
 .../component_with_service_dependency_activator.c  | 123 ++++
 .../src/simple_component_activator.c               |  92 +++
 .../readme_cxx_examples/CMakeLists.txt             |  22 +-
 .../src/ComponentWithProvidedServiceActivator.cc   |  70 ++
 .../src/ComponentWithServiceDependencyActivator.cc |  75 ++
 .../src/SimpleComponentActivator.cc                |  57 ++
 .../gtest/src/DependencyManagerTestSuite.cc        |  74 ++
 libs/framework/include/celix/dm/Component.h        |  25 +-
 libs/framework/include/celix/dm/Component_Impl.h   |  43 +-
 libs/framework/include/celix/dm/ProvidedService.h  |   6 +-
 .../include/celix/dm/ProvidedService_Impl.h        |  12 +-
 libs/framework/include/celix_bundle_activator.h    |  35 +-
 libs/framework/include/celix_dependency_manager.h  |  12 +-
 libs/framework/include/celix_dm_component.h        |  55 +-
 libs/framework/src/dm_component_impl.c             |  24 +-
 libs/utils/CMakeLists.txt                          | 112 +--
 55 files changed, 2029 insertions(+), 1983 deletions(-)