Commit graph

28 commits

Author SHA1 Message Date
7b5cf3b6f8 Add events, refactorings
Added event system to lessen the use of the main mutex and instead use
thread safe data structures (TSLQueue). Also can enable and check events
during execution (connect, disconnect, good mode, bad mode).

Fixes and refactorings.
2019-11-11 16:08:51 +09:00
00c1be07dc Replace c_impl, remove rust_binding, with cpp_impl 2019-11-11 13:08:36 +09:00
1eed614ded Add buildgen rust binding 2019-04-17 15:15:53 +09:00
2bd2e868b2 Change UDPConnection to set listen address
Add some documentation, fix NetworkTest with new change.
2019-03-06 19:53:15 +09:00
71fd812137 Minor fix to NetworkTest 2019-03-06 13:49:56 +09:00
4be79ace7c Fix received callback, minor change to NetworkTest 2019-03-06 13:39:54 +09:00
aab8cfe407 Fix threaded update 2019-03-05 12:56:05 +09:00
0ff6bd13a7 Change NetworkTest to exit after disconnect 2019-03-05 12:11:57 +09:00
f8950fa08e Fix endianness of addr, minor fixes 2019-03-04 19:05:07 +09:00
9134079b8d More fixes 2019-03-04 18:17:28 +09:00
aa094224bc Fix NetworkTest 2019-03-04 17:56:40 +09:00
ec9c3399bf Fixes to NetworkTest 2019-03-04 17:48:32 +09:00
d38c7ac105 Add NetworkTest executable
To be used to debug UDPConnection.
2019-03-04 15:20:22 +09:00
89afc58bc7 Add UDPC_strtoa 2019-03-04 15:05:21 +09:00
29e3940c14 Add push_..._realloc to Deque 2019-02-21 12:34:35 +09:00
40f4df0fba Update unit tests for HashMap, fixes 2019-02-18 12:24:34 +09:00
6476617b1b Minor fix to unit test for HashMap 2019-02-15 17:00:10 +09:00
d0ab9edb20 Minor fix to HashMap_itercall(), add to unit test 2019-02-15 14:43:16 +09:00
f1a13cde5c Fixes to Unit Test, attempt to improve hash use 2019-02-13 17:49:24 +09:00
1bab7694cf Add unit tests for HashMap, fix HashMap 2019-02-13 14:45:29 +09:00
f0e82c7488 Minor fix to test of internal atostr function
Also check ending of null terminated string of returned buffer.
2019-02-01 19:32:31 +09:00
f6dcf53a35 Add test for internal atostr function 2019-02-01 19:31:31 +09:00
48cf70ef49 More work on Deque, UDPConnection 2019-01-31 12:16:01 +09:00
c0046e5160 Add fn to Deque, remove at index
remove replaces data at index with data at end
2019-01-30 16:40:13 +09:00
bfc704d429 Minor fixes to UnitTest, Defines header 2019-01-29 14:50:12 +09:00
a27ffa8413 Change Deque_destroy to take a ptr, not ptr of ptr 2019-01-28 15:10:04 +09:00
62c1cad3da Change Deque init to return pointer 2019-01-27 18:30:35 +09:00
599ac8a23e Add unit tests, some fixes to Deque. 2019-01-27 15:09:38 +09:00