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
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
0f53a76b50
Changed API of DynamicNodeIDClient: start() accepts UniqueID instead of HardwareVersion
2015-09-25 00:02:58 +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
28e82797c2
Optimized padding, added more sizeof() outputs
2015-05-31 08:12:46 +03:00
Pavel Kirienko
9faf8470e6
Fixed Raft definitions
2015-05-26 20:22:21 +03:00
Pavel Kirienko
2231b00637
Raft active state extension removed
2015-05-26 20:04:59 +03:00
Pavel Kirienko
17c4b975ac
Test fix
2015-05-24 23:13:10 +03:00
Pavel Kirienko
3221179eef
Fixed test names
2015-05-11 14:05:47 +03:00
Pavel Kirienko
731d9f4574
Changed RaftCore API; giving up Leader status if the leader cannot write its log
2015-05-10 23:44:25 +03:00
Pavel Kirienko
f2c393e90d
Server test extension
2015-05-10 20:10:13 +03:00
Pavel Kirienko
a309c6d8da
Raft allocator adds its own allocation entry to the log
2015-05-10 20:03:17 +03:00
Pavel Kirienko
c49ee1c4d3
Top-level typedef for distributed::Server
2015-05-10 17:56:48 +03:00
Pavel Kirienko
12a81b5bef
Server event tracer extracted to the common level
2015-05-10 17:53:16 +03:00
Pavel Kirienko
7477de3bd9
NodeDiscoverer - implemented, integrated, not tested
2015-05-10 17:44:34 +03:00
Pavel Kirienko
1a763a824c
Better naming
2015-05-09 23:34:30 +03:00
Pavel Kirienko
68c36924e3
Better naming
2015-05-09 23:17:22 +03:00
Pavel Kirienko
ab0017f870
Top level header for distributed server
2015-05-09 23:06:58 +03:00
Pavel Kirienko
ea3886b048
Refactored tests of node ID allocation server
2015-05-09 16:55:52 +03:00