Skip to content

Commit 80716c6

Browse files
vsomeip 3.3.5.1 (#454)
Notes: v3.3.5.1 - Fix typo in application_impl.cpp - Update load_balancing_option_impl.cpp - Fix format specifier in memory_log_timer_cbk - Isolate boost - Remove redundant ostream manipulators - Fix for configuration option deserialize bug - Accept return codes within range 0x20 - 0x5E as valid v3.3.5 - Do NOT use iterators in asynchronous operations. - Add event identifier to "REGISTER EVENT" log message at routing manager stub. - Fix for crash in flush function, server_endpoint_impl class - added FD_CLOEXEC flag in all open operations - Use "make_unique" and "make_shared" to construct "unique_ptr" and "shared_ptr" - Removed redundant pairs of parentheses - Do not erase while iterating. - Changed invalid call of deserialize to serialize - Fixed the the problem in policy::deserialize counts down the given policy size, and after deserializing the policy it is 0. - Monitor session IDs in SD messages and log missing IDs - Fix timestamp format of log message - Prevent crash when logging with DLT - load_security_update_whitelist Unit and Benchmark Tests - Added protection when a message is destroyed - Pu/connect timeout refactor - Rework the addition of services when in suspended mode - Remove const qualifier from function return types - Adapt to boost 1.81.0
1 parent 0ba13d3 commit 80716c6

File tree

76 files changed

+580
-354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+580
-354
lines changed

Android.bp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ cc_defaults {
5555

5656
cc_defaults {
5757
name: "vsomeip_lib_defaults",
58-
58+
5959
cflags: [
6060
"-DVSOMEIP_BOOST_VERSION=107100",
6161
"-DVSOMEIP_INTERNAL_SUPPRESS_DEPRECATED",
@@ -80,14 +80,15 @@ cc_library_shared {
8080

8181
cflags: [
8282
"-DWITHOUT_SYSTEMD",
83-
"-DVSOMEIP_COMPAT_VERSION=\"3.3.0\"",
83+
"-DVSOMEIP_COMPAT_VERSION=\"3.3.5\"",
8484
"-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\"",
8585
"-DUSE_DLT",
8686
],
8787

8888
ldflags: [
8989
"-Wl,-wrap,socket",
90-
"-Wl,-wrap,accept"
90+
"-Wl,-wrap,accept",
91+
"-Wl,-wrap,open"
9192
],
9293

9394
rtti: true,

Android.mk

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ LOCAL_CFLAGS := \
100100
-frtti \
101101
-fexceptions \
102102
-DWITHOUT_SYSTEMD \
103-
-DVSOMEIP_VERSION=\"3.3.0\" \
103+
-DVSOMEIP_VERSION=\"3.3.5\" \
104104
-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\" \
105105
-Wno-unused-parameter \
106106
-Wno-non-virtual-dtor \
@@ -147,7 +147,7 @@ LOCAL_CFLAGS := \
147147
-frtti \
148148
-fexceptions \
149149
-DWITHOUT_SYSTEMD \
150-
-DVSOMEIP_VERSION=\"3.3.0\" \
150+
-DVSOMEIP_VERSION=\"3.3.5\" \
151151
-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\" \
152152
-Wno-unused-parameter \
153153
-Wno-non-virtual-dtor \
@@ -194,8 +194,8 @@ LOCAL_CFLAGS := \
194194
-frtti \
195195
-fexceptions \
196196
-DWITHOUT_SYSTEMD \
197-
-DVSOMEIP_VERSION=\"3.3.0\" \
198-
-DVSOMEIP_COMPAT_VERSION=\"3.3.0\" \
197+
-DVSOMEIP_VERSION=\"3.3.5\" \
198+
-DVSOMEIP_COMPAT_VERSION=\"3.3.5\" \
199199
-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\" \
200200
-Wno-unused-parameter \
201201
-Wno-non-virtual-dtor \
@@ -210,5 +210,7 @@ LOCAL_CFLAGS := \
210210
-Wno-header-guard \
211211
-Wno-overloaded-virtual \
212212
-Wl,-wrap,socket \
213+
-Wl,-wrap,accept \
214+
-Wl,-wrap,open \
213215

214-
include $(BUILD_SHARED_LIBRARY)
216+
include $(BUILD_SHARED_LIBRARY)

CHANGES

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
Changes
22
=======
33

4-
v3.3.0
4+
v3.3.5.1
5+
- Fix typo in application_impl.cpp
6+
- Update load_balancing_option_impl.cpp
7+
- Fix format specifier in memory_log_timer_cbk
8+
- Isolate boost
9+
- Remove redundant ostream manipulators
10+
- Fix for configuration option deserialize bug
11+
- Accept return codes within range 0x20 - 0x5E as valid
12+
13+
v3.3.5
14+
- Do NOT use iterators in asynchronous operations.
15+
- Add event identifier to "REGISTER EVENT" log message at routing manager stub.
16+
- Fix for crash in flush function, server_endpoint_impl class
17+
- added FD_CLOEXEC flag in all open operations
18+
- Use "make_unique" and "make_shared" to construct "unique_ptr" and "shared_ptr"
19+
- Removed redundant pairs of parentheses
520
- Do not erase while iterating.
621
- Changed invalid call of deserialize to serialize
722
- Fixed the the problem in policy::deserialize counts down the given policy size,
@@ -10,10 +25,13 @@ and after deserializing the policy it is 0.
1025
- Fix timestamp format of log message
1126
- Prevent crash when logging with DLT
1227
- load_security_update_whitelist Unit and Benchmark Tests
13-
- Added protection when a message is destroyed.
28+
- Added protection when a message is destroyed
29+
- Pu/connect timeout refactor
1430
- Rework the addition of services when in suspended mode
1531
- Remove const qualifier from function return types
1632
- Adapt to boost 1.81.0
33+
34+
v3.3.4
1735
- Removed VSOMEIP_DEPRECATED_UID_GID from some elements.
1836
- Add nullptr guards to receive_cbk.
1937
- Add nullptr check to receive_cbk.
@@ -28,10 +46,14 @@ and after deserializing the policy it is 0.
2846
- Reduce log level of some vsomeip messages.
2947
- Change dependency on LINK UP.
3048
- Change rejoining mechanism in UDP server endpoint.
49+
50+
v3.3.3
3151
- Fixed android build issues
3252
- Added more DLT log info on credentials error
3353
- Fixed ICON register issues.
3454
- Added an unlocked method to get the policy extension path
55+
56+
v3.3.2
3557
- Manage E2E Profile04 counters per instance
3658
- Fix handling of subscription objects during unsubscribe.
3759
- Remove subscription on connection resets.
@@ -48,6 +70,8 @@ and after deserializing the policy it is 0.
4870
- Handling with some udp errors in send_cbk process.
4971
- Avoid services becoming available when the daemon is suspended.
5072
- refactor: remove `set_bound_sec_client()` from `local_tcp_server_endpoint_impl`.
73+
74+
v3.3.1
5175
- Refactor `plugin_manager_impl::load_symbol()`
5276
- Use consistent naming for `security::is_client_allowed_to_access()`
5377
- Raise C++ standard used to C++17 on non-Windows platforms
@@ -65,6 +89,8 @@ and after deserializing the policy it is 0.
6589
- Make the sec client a member of the connection
6690
- Add support for TCP clients in the default security hooks
6791
- Fix security checks when using internal TCP sockets
92+
93+
v3.3.0
6894
- Introduced protocol classes
6995
- Extended interface to allow application specific configurations
7096
- Allow to switch off internal routing

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set (VSOMEIP_COMPAT_NAME vsomeip)
1111

1212
set (VSOMEIP_MAJOR_VERSION 3)
1313
set (VSOMEIP_MINOR_VERSION 3)
14-
set (VSOMEIP_PATCH_VERSION 0)
14+
set (VSOMEIP_PATCH_VERSION 5)
1515
set (VSOMEIP_HOTFIX_VERSION 0)
1616

1717
set (VSOMEIP_VERSION ${VSOMEIP_MAJOR_VERSION}.${VSOMEIP_MINOR_VERSION}.${VSOMEIP_PATCH_VERSION})
@@ -288,7 +288,7 @@ set_target_properties (${VSOMEIP_NAME} PROPERTIES VERSION ${VSOMEIP_VERSION} SOV
288288
if (MSVC)
289289
set_target_properties(${VSOMEIP_NAME} PROPERTIES COMPILE_DEFINITIONS "VSOMEIP_DLL_COMPILATION")
290290
else ()
291-
set_target_properties(${VSOMEIP_NAME} PROPERTIES LINK_FLAGS "-Wl,-wrap,socket -Wl,-wrap,accept")
291+
set_target_properties(${VSOMEIP_NAME} PROPERTIES LINK_FLAGS "-Wl,-wrap,socket -Wl,-wrap,accept -Wl,-wrap,open")
292292
endif ()
293293
target_include_directories(${VSOMEIP_NAME} INTERFACE
294294
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/interface>

implementation/configuration/include/internal_android.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ typedef enum {
119119
IS_SUBSCRIBING
120120
} subscription_state_e;
121121

122-
const std::uint32_t MESSAGE_SIZE_UNLIMITED = (std::numeric_limits<std::uint32_t>::max)();
122+
const std::uint32_t MESSAGE_SIZE_UNLIMITED = std::numeric_limits<std::uint32_t>::max();
123123

124-
const std::uint32_t QUEUE_SIZE_UNLIMITED = (std::numeric_limits<std::uint32_t>::max)();
124+
const std::uint32_t QUEUE_SIZE_UNLIMITED = std::numeric_limits<std::uint32_t>::max();
125125

126126
#define VSOMEIP_DEFAULT_NPDU_DEBOUNCING_NANO 2 * 1000 * 1000
127127
#define VSOMEIP_DEFAULT_NPDU_MAXIMUM_RETENTION_NANO 5 * 1000 * 1000
128128

129-
const std::uint32_t MAX_RECONNECTS_UNLIMITED = (std::numeric_limits<std::uint32_t>::max)();
129+
const std::uint32_t MAX_RECONNECTS_UNLIMITED = std::numeric_limits<std::uint32_t>::max();
130130

131131
const std::uint32_t ANY_UID = 0xFFFFFFFF;
132132
const std::uint32_t ANY_GID = 0xFFFFFFFF;

implementation/configuration/include/routing.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct routing_host_t {
3232
unicast_ = _other.unicast_;
3333
port_ = _other.port_;
3434

35-
return (*this);
35+
return *this;
3636
}
3737
};
3838

@@ -44,7 +44,7 @@ struct routing_guests_t {
4444
unicast_ = _other.unicast_;
4545
ports_ = _other.ports_;
4646

47-
return (*this);
47+
return *this;
4848
}
4949
};
5050

@@ -61,7 +61,7 @@ struct routing_t {
6161
host_ = _other.host_;
6262
guests_ = _other.guests_;
6363

64-
return (*this);
64+
return *this;
6565
}
6666
};
6767

0 commit comments

Comments
 (0)