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
c9ec822244
-Wold-style-cast; linked list items made noncopyable
2016-07-29 16:46:57 +03:00
Pavel Kirienko
32d8851dde
-Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo
2016-07-29 16:02:31 +03: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
Ilia
292b06c2d8
pull request corrections
2015-12-20 22:53:19 +00:00
Ilia
8a5719248f
HW acceptance filters unit test corrected.
...
specificator changed for cfg.MK-ID print
2015-12-19 16:43:29 +00:00
Pavel Kirienko
660e84e17f
Allocator interface: getNumBlocks() --> getBlockCapacity()
2015-10-16 14:31:42 +03:00
Pavel Kirienko
899aae44f7
OTR deinterfaced
2015-10-14 20:15:19 +03:00
Pavel Kirienko
a9fdf44fa9
Transfer buffering system detemplatized; compiles but tests are failing
2015-10-14 19:59:04 +03:00
Pavel Kirienko
1149fc316e
OTR test fix
2015-10-14 09:54:27 +03:00
Pavel Kirienko
34b32ce0c0
More transport test fixes, 4 to go
2015-10-14 09:48:19 +03:00
Pavel Kirienko
706198fa38
Transport test fixes, 10 to go
2015-10-14 09:06:15 +03:00
Pavel Kirienko
dc5fdbb1cc
Unit tests no longer segfault, 26 are failing
2015-10-14 08:38:33 +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
ec7c997ed3
Acceptance filter test fix
2015-08-17 15:06:51 +03:00
ilia-sheremet
9e246617d1
Acceptance filter update for new transport layer corrections_2
2015-07-29 19:04:30 +01:00
ilia-sheremet
b204cb36d8
Acceptance filter update for new transport layer corrections
2015-07-25 20:25:06 +01:00
ilia-sheremet
5fa5a4f365
Acceptance filter update for new transport layer
2015-07-24 21:04:56 +01:00
Pavel Kirienko
035f107ab5
RX logic revisited
2015-07-20 18:07:29 +03:00
Pavel Kirienko
29aff593aa
Revert "TransferID::subtracted()"
...
This reverts commit c36fdb2156 .
2015-07-20 12:40:27 +03:00
Pavel Kirienko
c36fdb2156
TransferID::subtracted()
2015-07-20 12:32:13 +03:00
Pavel Kirienko
29c295bf11
TransferReceiver timing fix
2015-07-15 21:22:28 +03:00
Pavel Kirienko
8d923fee4c
Modified CAN driver API: Passing the next pending TX frames into the select() call to facilitate proper prioritization in the driver
2015-07-05 18:46:21 +03:00
Pavel Kirienko
f501153c6b
Abort flag check in TransferSender test
2015-07-03 10:48:38 +03:00
Pavel Kirienko
71b62ede9c
CanIOFlagAbortOnError - automatically enforced by TransferSender if the node is in passive mode
2015-07-03 10:41:39 +03:00
Pavel Kirienko
d461d16bfd
TransferListener tests fixed, 4 to go
2015-07-03 08:43:39 +03:00
Pavel Kirienko
2b9b367c67
CAN acceptance filter configurator temporarily disabled, 5 to go
2015-07-03 08:36:22 +03:00
Pavel Kirienko
60ce395297
TransferSender test fixed, 6 to go
2015-07-03 08:30:55 +03:00
Pavel Kirienko
15621947e9
TransferID test fixed, 7 to go
2015-07-03 08:24:10 +03:00
Pavel Kirienko
445f3c4003
Frame tests fixed, 8 to go
2015-07-03 08:15:53 +03:00
Pavel Kirienko
2d6fc2a5bd
UTC timestamping support in CAN driver mock; this enables stricter timestamping checks in other tests
2015-07-03 07:41:18 +03:00
Pavel Kirienko
8debad440e
Dispatcher tests fixed, 13 to go
2015-07-03 07:29:32 +03:00
Pavel Kirienko
591cfcb98a
Test output cleanup
2015-07-03 06:58:51 +03:00
Pavel Kirienko
c56458c73d
TransferReceiver tests fixed, 17 to go
2015-07-03 02:41:27 +03:00
Pavel Kirienko
8d00058307
Unittest fix
2015-07-02 22:07:11 +03:00
Pavel Kirienko
4bc7620178
Tests are crashing no more! 25 to go...
2015-07-02 02:52:32 +03:00
Pavel Kirienko
d1bd175a29
Incoming transfer tests fixed
2015-07-02 02:01:09 +03:00
Pavel Kirienko
b49392569e
Three tests fixed, ~21 to go
2015-07-02 01:54:08 +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
ilia-sheremet
573b268457
CAN HW filters are added using map container
2015-06-26 14:35:53 +02:00
ilia-sheremet
bad7123b7d
getIface() constants added
2015-06-13 20:15:45 +02:00
Pavel Kirienko
32adb8fabd
IRxFrameListener test
2015-06-08 12:18:50 +03:00
Pavel Kirienko
28e82797c2
Optimized padding, added more sizeof() outputs
2015-05-31 08:12:46 +03:00
Pavel Kirienko
74298b1860
spinOnce(), fixes #31
2015-05-27 11:53:12 +03:00
Pavel Kirienko
bc00899e70
Testing tooling fix
2015-05-13 17:50:45 +03:00
Pavel Kirienko
65ec6fce2e
Unit tests now check frame priorities
2015-04-30 15:16:21 +03:00
Pavel Kirienko
b8c5613522
Passing all tests now
2015-04-30 10:55:52 +03:00
Pavel Kirienko
2843c0a35e
Basic support for frame prioritization; tests are failing
2015-04-30 08:26:25 +03:00
Pavel Kirienko
eafcfa1733
Support for different DTID limits depending on data type kind; tests are failing now!
2015-04-29 03:08:07 +03:00
Pavel Kirienko
c159f9f7df
First step in changing the CAN frame format - introduced various transfer lengths per transfer type
2015-04-28 11:27:01 +03:00