Skip to content

Commit

Permalink
Merge branch 'master' into trace-to-logs-on-all-platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
falk-haleytek committed Oct 8, 2024
2 parents 61a1fb2 + 0b83e24 commit 6b0b194
Show file tree
Hide file tree
Showing 521 changed files with 21,358 additions and 23,167 deletions.
76 changes: 76 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Copyright (C) 2016 Olivier Goffart <[email protected]>
#
# You may use this file under the terms of the 3-clause BSD license.
# See the file LICENSE from this package for details.

# This is the clang-format configuration style to be used by Qt,
# based on the rules from https://wiki.qt.io/Qt_Coding_Style and
# https://wiki.qt.io/Coding_Conventions

---
# Webkit style was loosely based on the Qt style
BasedOnStyle: WebKit

Standard: c++17

# Column width is limited to 100 in accordance with Qt Coding Style.
# https://wiki.qt.io/Qt_Coding_Style
# Note that this may be changed at some point in the future.
ColumnLimit: 100
# How much weight do extra characters after the line length limit have.
# PenaltyExcessCharacter: 4

# We want a space between the type and the star for pointer types.
PointerAlignment: Left

# Align reference like PointerAlignment.
# ReferenceAlignment: Left

# We use template< without space.
SpaceAfterTemplateKeyword: false

# We want to break before the operators, but not before a '='.
BreakBeforeBinaryOperators: NonAssignment

# Braces are usually attached, but not after functions or class declarations.
BreakBeforeBraces: Attach

# When constructor initializers do not fit on one line, put them each on a new line.
# PackConstructorInitializers: CurrentLine

# Indent initializers by 4 spaces
ConstructorInitializerIndentWidth: 4

# Indent width for line continuations.
ContinuationIndentWidth: 8

# No spaces inside the braced list.
Cpp11BracedListStyle: true

# No indentation for namespaces.
NamespaceIndentation: None

# Allow indentation for preprocessing directives (if/ifdef/endif). https://reviews.llvm.org/rL312125
IndentPPDirectives: None

# Horizontally align arguments after an open bracket.
# The coding style does not specify the following, but this is what gives
# results closest to the existing code.
AlignAfterOpenBracket: true
AlwaysBreakTemplateDeclarations: true

# Ideally we should also allow less short function in a single line, but
# clang-format does not handle that.
AllowShortFunctionsOnASingleLine: Inline

# The coding style specifies some include order categories, but also tells to
# separate categories with an empty line. It does not specify the order within
# the categories. Since the SortInclude feature of clang-format does not
# re-order includes separated by empty lines, the feature is not used.
SortIncludes: false

# Break constructor initializers before the colon and after the commas.
BreakConstructorInitializers: AfterColon

# Do not format macro definition body.
SkipMacroDefinitionBody: true
166 changes: 3 additions & 163 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/CMakeFiles
/build*/*
/examples/hello_world/build
/.idea/
/.vscode/
/.settings
/.project
Expand All @@ -9,169 +10,8 @@
/daemon/CMakeFiles
/examples/CMakeFiles
/implementation/configuration/include/internal.hpp
/test/network_tests/application_tests/application_test.json
/test/network_tests/application_tests/application_test_daemon.json
/test/network_tests/application_tests/application_test_no_dispatch_threads.json
/test/network_tests/application_tests/application_test_no_dispatch_threads_daemon.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_client.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_client_limited.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_client_queue_limited.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_client_random.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_service.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_service_limited.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_service_queue_limited.json
/test/network_tests/big_payload_tests/big_payload_test_local_tcp_service_random.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_client.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_service.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_client_random.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_service_random.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_client_limited_general.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_service_limited_general.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_client_queue_limited_general.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_client_queue_limited_specific.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_service_queue_limited_general.json
/test/network_tests/big_payload_tests/big_payload_test_tcp_service_queue_limited_specific.json
/test/network_tests/big_payload_tests/big_payload_test_udp_client.json
/test/network_tests/big_payload_tests/big_payload_test_udp_service.json
/test/network_tests/magic_cookies_tests/magic_cookies_test_client.json
/test/network_tests/magic_cookies_tests/magic_cookies_test_service.json
/test/network_tests/debounce_frequency_tests/debounce_frequency_test_client.json
/test/network_tests/debounce_frequency_tests/debounce_frequency_test_service.json
/test/network_tests/payload_tests/external_local_payload_test_client_external.json
/test/network_tests/payload_tests/external_local_payload_test_client_local.json
/test/network_tests/payload_tests/external_local_payload_test_service.json
/test/network_tests/routing_tests/external_local_routing_test_client_external.json
/test/network_tests/routing_tests/external_local_routing_test_service.json
/test/network_tests/routing_tests/local_routing_test_starter.sh
/test/network_tests/client_id_tests/client_id_test_diff_client_ids_diff_ports_master.json
/test/network_tests/client_id_tests/client_id_test_diff_client_ids_diff_ports_slave.json
/test/network_tests/client_id_tests/client_id_test_diff_client_ids_same_ports_master.json
/test/network_tests/client_id_tests/client_id_test_diff_client_ids_same_ports_slave.json
/test/network_tests/client_id_tests/client_id_test_diff_client_ids_partial_same_ports_master.json
/test/network_tests/client_id_tests/client_id_test_diff_client_ids_partial_same_ports_slave.json
/test/network_tests/client_id_tests/client_id_test_same_client_ids_diff_ports_master.json
/test/network_tests/client_id_tests/client_id_test_same_client_ids_diff_ports_slave.json
/test/network_tests/client_id_tests/client_id_test_same_client_ids_same_ports_master.json
/test/network_tests/client_id_tests/client_id_test_same_client_ids_same_ports_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_partial_same_ports_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_partial_same_ports_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_diff_ports_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_diff_ports_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_same_ports_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_same_ports_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_one_event_two_eventgroups_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_one_event_two_eventgroups_udp_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_one_event_two_eventgroups_tcp_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_master_udp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_slave_udp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_master_udp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_slave_udp.json
/test/network_tests/subscribe_notify_one_tests/subscribe_notify_one_test_diff_client_ids_diff_ports_master.json
/test/network_tests/subscribe_notify_one_tests/subscribe_notify_one_test_diff_client_ids_diff_ports_slave.json
/test/network_tests/subscribe_notify_one_tests/subscribe_notify_one_test_diff_client_ids_diff_ports_master_tcp.json
/test/network_tests/subscribe_notify_one_tests/subscribe_notify_one_test_diff_client_ids_diff_ports_slave_tcp.json
/test/network_tests/subscribe_notify_one_tests/subscribe_notify_one_test_diff_client_ids_diff_ports_master_udp.json
/test/network_tests/subscribe_notify_one_tests/subscribe_notify_one_test_diff_client_ids_diff_ports_slave_udp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_same_service_id_master_udp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_same_service_id_slave_udp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_master_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_slave_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_master_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_slave_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_autoconfig_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_autoconfig_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_master_tcp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_master_udp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_same_service_id_master_udp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_same_service_id_slave_udp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_slave_tcp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_slave_udp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_partial_same_ports_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_partial_same_ports_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_master_tcp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_master_udp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_slave_tcp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_same_ports_slave_udp_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_one_event_two_eventgroups_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_one_event_two_eventgroups_tcp_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_one_event_two_eventgroups_udp_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_diff_ports_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_diff_ports_slave_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_same_ports_master_local_tcp.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_same_client_ids_same_ports_slave_local_tcp.json
/test/network_tests/cpu_load_tests/cpu_load_test_client_slave.json
/test/network_tests/cpu_load_tests/cpu_load_test_client_master.json
/test/network_tests/cpu_load_tests/cpu_load_test_service_slave.json
/test/network_tests/cpu_load_tests/cpu_load_test_service_master.json
/test/unit_tests/security_policy_manager_impl_tests/policy_manager_impl_unit_test_macro.hpp
/tools/CMakeFiles
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_master.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_same_service_id_master.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_same_service_id_slave.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_slave.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_partial_same_ports_master.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_partial_same_ports_slave.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_same_ports_master.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_same_ports_slave.json
/test/network_tests/initial_event_tests/initial_event_test_same_client_ids_diff_ports_master.json
/test/network_tests/initial_event_tests/initial_event_test_same_client_ids_diff_ports_slave.json
/test/network_tests/initial_event_tests/initial_event_test_same_client_ids_same_ports_master.json
/test/network_tests/initial_event_tests/initial_event_test_same_client_ids_same_ports_slave.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_master_tcp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_slave_tcp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_same_ports_master_tcp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_same_ports_slave_tcp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_master_udp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_diff_ports_slave_udp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_same_ports_master_udp.json
/test/network_tests/initial_event_tests/initial_event_test_diff_client_ids_same_ports_slave_udp.json
/test/network_tests/offer_tests/offer_test_external_master.json
/test/network_tests/offer_tests/offer_test_external_slave.json
/test/network_tests/offer_tests/offer_test_external_master_starter.sh
/test/network_tests/offer_tests/offer_test_big_sd_msg_master_starter.sh
/test/network_tests/offer_tests/offer_test_big_sd_msg_master.json
/test/network_tests/offer_tests/offer_test_big_sd_msg_slave.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_autoconfig_master.json
/test/network_tests/subscribe_notify_tests/subscribe_notify_test_diff_client_ids_diff_ports_autoconfig_slave.json
/test/network_tests/security_tests/security_test_config_client_external_allow.json
/test/network_tests/security_tests/security_test_config_client_external_deny.json
/test/network_tests/security_tests/security_test_config_service_external_allow.json
/test/network_tests/security_tests/security_test_config_service_external_deny.json
/test/network_tests/security_tests/security_test_local_config.json
/test/network_tests/pending_subscription_tests/pending_subscription_test_master.json
/test/network_tests/pending_subscription_tests/pending_subscription_test_master_starter.sh
/test/network_tests/malicious_data_tests/malicious_data_test_master.json
/test/network_tests/malicious_data_tests/malicious_data_test_master_starter.sh
/test/network_tests/e2e_tests/e2e_profile_04_test_client_external.json
/test/network_tests/e2e_tests/e2e_profile_04_test_service_external.json
/test/network_tests/e2e_tests/e2e_test_client_external.json
/test/network_tests/e2e_tests/e2e_test_service_external.json
/test/network_tests/event_tests/event_test_master.json
/test/network_tests/event_tests/event_test_slave_tcp.json
/test/network_tests/event_tests/event_test_slave_udp.json
/test/network_tests/npdu_tests/npdu_test_client_no_npdu.json
/test/network_tests/npdu_tests/npdu_test_client_npdu.json
/test/network_tests/npdu_tests/npdu_test_service_no_npdu.json
/test/network_tests/npdu_tests/npdu_test_service_npdu.json
/test/network_tests/someip_tp_tests/someip_tp_test_master.json
/test/network_tests/someip_tp_tests/someip_tp_test_master_starter.sh
/test/network_tests/second_address_tests/second_address_test_master_service_udp.json
/test/network_tests/second_address_tests/second_address_test_master_client.json
/test/network_tests/second_address_tests/second_address_test_slave_client.json
/test/network_tests/second_address_tests/second_address_test_slave_service_udp.json
/test/network_tests/second_address_tests/second_address_test_slave_starter.sh
/test/network_tests/debounce_tests/debounce_test_client.json
/test/network_tests/debounce_tests/debounce_test_service.json
/test/network_tests/debounce_filter_tests/debounce_filter_test_client.json
/test/network_tests/debounce_filter_tests/debounce_filter_test_service.json
/test/network_tests/suspend_resume_tests/suspend_resume_test_client.json
/test/network_tests/suspend_resume_tests/suspend_resume_test_service.json
/Testing
/logs
!build_qnx/*
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fail_fast: false
repos:
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: clang-format
args: [-i]
Loading

0 comments on commit 6b0b194

Please sign in to comment.