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
648c471f63
More test fixes
2017-04-07 01:28:00 +03:00
Pavel Kirienko
b6ecfb33d4
Fixed failing unit test dynamic_node_id_server_NodeDiscoverer.Basic
2017-04-07 01:09:04 +03:00
Pavel Kirienko
e5a0746443
Syncing unit tests with spec changes
2017-04-06 18:34:17 +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
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
7125eeb5c2
Blah blah
2015-07-08 23:39:50 +03:00
Pavel Kirienko
10877089d8
Raft: Test event tracer logs timestamp
2015-07-04 11:50:46 +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
356f46d08a
Centralized server: Allocation table cache removed
2015-06-18 17:50:17 +03:00
Pavel Kirienko
28e82797c2
Optimized padding, added more sizeof() outputs
2015-05-31 08:12:46 +03:00
Pavel Kirienko
954ab2491a
Fruitless attempt to optimize memory use
2015-05-28 12:59:22 +03:00
Pavel Kirienko
5205d13f37
centralized::Storage fix
2015-05-27 16:28:31 +03:00
Pavel Kirienko
5930bf3ed4
CentralizedServer
2015-05-27 16:12:54 +03:00
Pavel Kirienko
bdc0a327b7
centralized::Storage - new test
2015-05-27 16:10:14 +03:00
Pavel Kirienko
638de08115
CentralizedServer - storage implementation and test
2015-05-27 14:52:41 +03:00
Pavel Kirienko
aafdf81f29
Removed unused event code
2015-05-26 20:25:29 +03:00
Pavel Kirienko
9faf8470e6
Fixed Raft definitions
2015-05-26 20:22:21 +03:00
Pavel Kirienko
a97762ae21
Dead code removal
2015-05-26 20:13:13 +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
cbbb3bd9be
All tests are passing
2015-05-16 15:12:10 +03:00
Pavel Kirienko
509ef85048
Properly defining poll interval of NodeDiscoverer
2015-05-14 00:02:43 +03:00
Pavel Kirienko
3db54cd6af
Improved NodeDiscoverer logic
2015-05-13 23:23:03 +03:00
Pavel Kirienko
2868fd5712
NodeDiscoverer test fix
2015-05-11 18:36:50 +03:00
Pavel Kirienko
8df1cfe1d9
NodeDiscoverer: another test
2015-05-11 18:26:42 +03:00
Pavel Kirienko
558171bf71
NodeDiscoverer: fixes and test
2015-05-11 17:50:36 +03:00
Pavel Kirienko
e10d262631
Improved event tracer stub
2015-05-11 14:35:58 +03:00
Pavel Kirienko
3221179eef
Fixed test names
2015-05-11 14:05:47 +03:00
Pavel Kirienko
d623eee54a
Raft logic fix: forcing active mode when allocation activity is detected
2015-05-11 13:26:53 +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
6e287dc1b2
Fixed naming of trace events
2015-05-10 19:33:16 +03:00
Pavel Kirienko
10b5661da4
Advanced tracing
2015-05-10 19:22:03 +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
aae4317beb
Improved allocation logic
2015-05-10 14:12:19 +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
Pavel Kirienko
18d5cb78aa
Refactored node ID allocation server; no changes to the logic
2015-05-09 16:03:22 +03:00