19 Commits

Author SHA1 Message Date
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
ec9006381b Removing all dirty 'using namespace std' that were used as C++ library compatibility work-around 2015-03-21 14:08:37 +03:00
Pavel Kirienko
f4ba884b31 Formatting fix 2015-02-04 22:53:27 +03:00
Pavel Kirienko
d9d6e80aea Strict sign conversions 2014-08-28 02:51:29 +04:00
Pavel Kirienko
8240c7962b Extra warnings for the debug build: -Wfloat-equal -Wconversion. The code was fixed accordingly. No broken tests. 2014-08-28 01:33:27 +04:00
Pavel Kirienko
530242819d libuavcan core now uses UAVCAN_ASSERT() instead of assert() (autoreplace) 2014-07-12 17:17:09 +04:00
Pavel Kirienko
581ee43231 UAVCAN_IMPLEMENT_PLACEMENT_NEW 2014-05-05 19:28:28 +04:00
Pavel Kirienko
8c8732d051 Collateral fixes 2014-05-05 16:15:22 +04:00
Pavel Kirienko
7608e4ca08 Functions from <algorithm> reimplemented in libuavcan 2014-05-04 23:13:38 +04:00
Pavel Kirienko
f31d46ea6c Explicit void cast for unused return values 2014-04-19 17:45:03 +04:00
Pavel Kirienko
3eec1e18c3 Include order fix 2014-04-19 17:03:16 +04:00
Pavel Kirienko
febc3ed870 Virtual call screwup fix 2014-04-18 18:57:54 +04:00
Pavel Kirienko
4e7287358a Dynamic memory refactoring: Entire library now uses IPoolAllocator instead of IAllocator, which was removed completely. This change was needed to enable TX queue constraints, see the next commits. 2014-04-12 17:17:06 +04:00
Pavel Kirienko
d0b541e22d Added config macro UAVCAN_TOSTRING 2014-04-10 13:32:35 +04:00
Pavel Kirienko
2c9572d845 TransferBuffer optimized RAM usage 2014-04-09 11:59:45 +04:00
Pavel Kirienko
a8d12d2004 TransferBufferManager rewritten to move all the code into a non-generic subclass. STM32 test code size reduced to 176k (-O1) 2014-04-09 11:52:05 +04:00
Pavel Kirienko
a573f48372 Space optimized transfer_buffer.hpp - STM32 test 180k -O1 2014-04-08 21:13:37 +04:00
Pavel Kirienko
9e91cd1e7c C++ library usage fix: snprintf() may or may not be in std:: 2014-04-02 13:53:39 +04:00
Pavel Kirienko
cdd0ff3a28 Added prefix 'uc_' to all .cpp files, which allows to compile libuavcan with makefiles that flatten directory structure (e.g. ChibiOS build system) 2014-04-02 13:11:24 +04:00