Dixon, Scott
4750a50099
Issue #100 remove auto_ptr and c++03 support.
...
Problem:
auto_ptr is deprecated.
Solution:
use unique_ptr which is only available in c++11 and newer.
Also fix how unit tests are run as part of the build to keep them from being
deleted when they fail.
Testing:
Unit tests on linux run.
2018-06-26 20:56:53 -07:00
Pavel Kirienko
38a241a90a
Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code.
2016-07-29 15:39:24 +03:00
Pavel Kirienko
a9fdf44fa9
Transfer buffering system detemplatized; compiles but tests are failing
2015-10-14 19:59:04 +03:00
Pavel Kirienko
34b32ce0c0
More transport test fixes, 4 to go
2015-10-14 09:48:19 +03:00
Pavel Kirienko
be84897ed6
First stab at global refactoring of memory management - the library builds, but unit tests are failing horribly
2015-10-14 08:29:50 +03:00
Pavel Kirienko
8a2e22046e
All unit tests compile, but crash. This is the most horrifying commit I've ever made.
2015-07-01 14:55:24 +03:00
Pavel Kirienko
00319909c1
PoolManager<> removed (was useless) ( #33 )
2015-06-15 15:27:33 +03:00
Pavel Kirienko
b09bfab117
Strict warnings in the unit tests. This commit needs to be carefully reviewed.
2014-08-28 04:54:59 +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
2957da8f34
Updated tests to match recent changes in dynamic memory configuration
2014-04-05 17:15:21 +04:00
Pavel Kirienko
74ecfe0cc8
Fixed type signedness through the entire codebase; driver interfaces do not use starndard types now
2014-03-29 22:40:15 +04:00
Pavel Kirienko
d1278b5ed3
Uncrustified tests
2014-03-25 22:49:31 +04:00
Pavel Kirienko
15cbf96378
Reorganized directory structure - directory 'internal' pulled up one level. No logical changes.
2014-03-14 15:01:20 +04:00
Pavel Kirienko
b86ea67563
Reorganized directory structure for tests and src
2014-03-10 19:25:28 +04:00
Pavel Kirienko
47a2b01a14
Style fix: All constants are CamelCase now
2014-02-21 18:45:23 +04:00
Pavel Kirienko
c10abf53e9
Style fix - DynamicTransferBuffer --> DynamicTransferBufferManagerEntry
2014-02-20 14:09:25 +04:00
Pavel Kirienko
7c4902deb5
StaticTransferBuffer extracted for standalone usage
2014-02-20 14:06:09 +04:00
Pavel Kirienko
4f49d61de6
Style fixes
2014-02-19 17:55:18 +04:00
Pavel Kirienko
195dca3696
Renaming: TransferBufferBase --> ITransferBuffer
2014-02-19 17:11:05 +04:00
Pavel Kirienko
697a55aebb
Refactoring: Frame Index field size increased, Trnasfer ID field size reduced. NodeID class added, Frame class rewritten with stricter runtime checks. All tests were updated accordingly.
2014-02-17 12:35:12 +04:00
Pavel Kirienko
0acf1b976b
Explicit specialization for empty TransferBuffer (for single frame transfers)
2014-02-11 21:44:43 +04:00
Pavel Kirienko
5be2801fa1
Dynamic buffer size limitation
2014-02-11 21:26:18 +04:00
Pavel Kirienko
78ff31f9ad
TransferBufferManager: using TransferBufferManagerKey instead of plain Node ID, this allows to distinguish transfers of different type from the same Node ID, which is necessary for message broadcasting/unicasting
2014-02-11 12:21:25 +04:00
Pavel Kirienko
6c76e8a25d
Transfer buffer: removed timestamps and cleanup()
2014-02-09 21:35:35 +04:00
Pavel Kirienko
261dd546cd
Implemented TransferBufferManager
2014-02-06 00:08:51 +04:00
Pavel Kirienko
c8c7a86f99
Proper destruction of DynamicTransferBuffer
2014-02-05 19:35:14 +04:00
Pavel Kirienko
50d399e5b3
Improved test for dynamic transfer buffer
2014-02-05 19:07:20 +04:00
Pavel Kirienko
06cb11b6ec
Transport buffers - dynamic and static
2014-02-05 01:23:02 +04:00