Pavel Kirienko
|
f155702008
|
Data type registrator went the same way - using plain statics instead of in-place allocation at first call. For code size critical applications, GCC flag -fno-threadsafe-statics should be used
|
2014-04-20 23:40:32 +04:00 |
|
Pavel Kirienko
|
7a02960401
|
Good old GDTR singleton re-implemented via static local again, because previous implementation could cause undefined behavior as GDTR could be initialized after static type registrators that use it
|
2014-04-20 23:14:02 +04:00 |
|
Pavel Kirienko
|
afc56cf87b
|
GDTR list integrity check (debug builds only)
|
2014-04-20 21:36:01 +04:00 |
|
Pavel Kirienko
|
5cd0aff0d3
|
GDTR list integrity check (debug builds only)
|
2014-04-20 21:33:51 +04:00 |
|
Pavel Kirienko
|
0fd24fd6b0
|
Braces in complex boolean condition to suppress false positive from the static analyzer
|
2014-04-19 22:55:57 +04:00 |
|
Pavel Kirienko
|
5fcfd7726b
|
Removed unused constant ErrOk
|
2014-04-19 22:29:40 +04:00 |
|
Pavel Kirienko
|
0440aa844d
|
DSDL signature in generated types is upper case
|
2014-04-19 22:15:26 +04:00 |
|
Pavel Kirienko
|
f8883e0bb2
|
Fixed memory leak in CanIOManager test
|
2014-04-19 19:13:52 +04:00 |
|
Pavel Kirienko
|
ddcedfd9d0
|
Fixed sizeof(ptr) in test (detected by clang static analyzer)
|
2014-04-19 19:05:34 +04:00 |
|
Pavel Kirienko
|
c1be9f1fef
|
Explicit virtual keyword
|
2014-04-19 18:51:36 +04:00 |
|
Pavel Kirienko
|
f31d46ea6c
|
Explicit void cast for unused return values
|
2014-04-19 17:45:03 +04:00 |
|
Pavel Kirienko
|
b2c021397d
|
Linked list test fix
|
2014-04-19 17:18:51 +04:00 |
|
Pavel Kirienko
|
4e39fc61d9
|
LinkedListRoot<>::remove() does not return anything, as it was not used anyway
|
2014-04-19 17:13:44 +04:00 |
|
Pavel Kirienko
|
3eec1e18c3
|
Include order fix
|
2014-04-19 17:03:16 +04:00 |
|
Pavel Kirienko
|
4112c949fc
|
strcmp() --> strncmp()
|
2014-04-19 16:50:43 +04:00 |
|
Pavel Kirienko
|
acff3d274c
|
Null pointer checks
|
2014-04-19 16:47:14 +04:00 |
|
Pavel Kirienko
|
efb2251ef8
|
strcmp() --> strncmp()
|
2014-04-19 16:42:39 +04:00 |
|
Pavel Kirienko
|
799846de02
|
Scope hiding fixes
|
2014-04-19 16:32:42 +04:00 |
|
Pavel Kirienko
|
c4c77ea321
|
Fixed typedef reuse
|
2014-04-19 15:52:17 +04:00 |
|
Pavel Kirienko
|
2eb15268f7
|
Stupid condition swap to eliminate a false positive from static analyzer
|
2014-04-19 15:30:30 +04:00 |
|
Pavel Kirienko
|
6aa9bd0c41
|
Removed enum constants from generated types
|
2014-04-19 15:26:39 +04:00 |
|
Pavel Kirienko
|
dfe3b4511e
|
Most enums were replaced with constants, according to MISRA
|
2014-04-19 15:16:10 +04:00 |
|
Pavel Kirienko
|
ace2cf9d0e
|
Error codes are constants, not enum. That fixes another MISRA violation.
|
2014-04-19 14:13:55 +04:00 |
|
Pavel Kirienko
|
519532da14
|
Fixed undefined behavior
|
2014-04-19 13:57:10 +04:00 |
|
Pavel Kirienko
|
dfc69b4b5f
|
Destructor fixes
|
2014-04-18 23:44:31 +04:00 |
|
Pavel Kirienko
|
707c3e3ed1
|
All literal suffixes are upper case (U, L, F)
|
2014-04-18 22:10:59 +04:00 |
|
Pavel Kirienko
|
b3769c9cb3
|
Removed forward declarations (not compatible with MISRA)
|
2014-04-18 21:14:17 +04:00 |
|
Pavel Kirienko
|
ed2ad4b4c9
|
Coding style fix in DSDL header template
|
2014-04-18 20:23:34 +04:00 |
|
Pavel Kirienko
|
c9ede31d56
|
U suffix for unsigned constants
|
2014-04-18 20:17:54 +04:00 |
|
Pavel Kirienko
|
fd71f55933
|
Control flow/braces fixes
|
2014-04-18 19:55:51 +04:00 |
|
Pavel Kirienko
|
1853f5c73c
|
Explicit constructors
|
2014-04-18 19:37:08 +04:00 |
|
Pavel Kirienko
|
febc3ed870
|
Virtual call screwup fix
|
2014-04-18 18:57:54 +04:00 |
|
Pavel Kirienko
|
bfe1447426
|
Fixes suggested by static analyzer
|
2014-04-18 18:46:47 +04:00 |
|
Pavel Kirienko
|
1bac8d6561
|
Fixed unused variables in generated code
|
2014-04-18 18:21:03 +04:00 |
|
Pavel Kirienko
|
fe2b49b1ab
|
#undef in generated headers moved into the global scope
|
2014-04-18 18:05:24 +04:00 |
|
Pavel Kirienko
|
9a04bc6dbc
|
SciTools Understand warning fixes
|
2014-04-18 16:32:20 +04:00 |
|
Pavel Kirienko
|
b7cf443418
|
Coverity annotation fixes
|
2014-04-18 15:56:22 +04:00 |
|
Pavel Kirienko
|
189760f662
|
Uncrustify config moved into tools/
|
2014-04-18 15:17:53 +04:00 |
|
Pavel Kirienko
|
b5f67403dd
|
Coverity scan code annotations and modeling file
|
2014-04-18 15:16:22 +04:00 |
|
Pavel Kirienko
|
03ff492bc4
|
More compliance fixes
|
2014-04-17 12:23:31 +04:00 |
|
Pavel Kirienko
|
cff3a24883
|
C++ compliance fixes
|
2014-04-17 12:05:02 +04:00 |
|
Pavel Kirienko
|
87e89fc042
|
Heavy optimizations for ROM/RAM usage in UAVCAN_TINY mode
|
2014-04-16 21:11:42 +04:00 |
|
Pavel Kirienko
|
4085613d00
|
Support for zero static buffers
|
2014-04-16 20:25:37 +04:00 |
|
Pavel Kirienko
|
b18daa070b
|
UAVCAN_TINY does not support GTSM, NCC, TSP - saves ~900 bytes
|
2014-04-16 17:27:46 +04:00 |
|
Pavel Kirienko
|
a298ad9ba2
|
Transport CRC will not use table in UAVCAN_TINY builds
|
2014-04-16 17:19:05 +04:00 |
|
Pavel Kirienko
|
f8b10ab003
|
Shorter error strings - saves ~200 bytes
|
2014-04-16 16:59:58 +04:00 |
|
Pavel Kirienko
|
c2b878965e
|
DataTypeSignatureCRC - methods moved to .cpp
|
2014-04-13 00:02:48 +04:00 |
|
Pavel Kirienko
|
627dc5f2d9
|
UAVCAN_TINY preprocessor option - STM32 test compiles into 41kB in release mode (-Os, LTO)
|
2014-04-12 23:28:32 +04:00 |
|
Pavel Kirienko
|
e476a957a8
|
NetworkCompatibilityChecker will not be executed at each Node<>::start(), there's special method for that - Node<>::checkNetworkCompatibility()
|
2014-04-12 22:10:26 +04:00 |
|
Pavel Kirienko
|
dd5908dad8
|
Renaming: NodeInitializer --> NetworkCompatibilityChecker
|
2014-04-12 21:40:30 +04:00 |
|