Commit Graph

427 Commits

Author SHA1 Message Date
Relintai 17a2780b28 Fix adding items to the argument map. 2022-04-28 22:59:05 +02:00
Relintai 131d4b49cc In String::substr_index the end_index now isn't inclusive. 2022-04-26 23:03:43 +02:00
Relintai cd548cc83d Also fix read_file_bin. 2022-04-26 22:41:33 +02:00
Relintai 269de98d22 Resize the string in Directory::read_file(). 2022-04-26 22:41:03 +02:00
Relintai ed9b23ad86 Added softmax to Math. 2022-03-10 19:20:29 +01:00
Relintai cc64dee592 Added a new helper method to image. 2022-03-10 15:33:07 +01:00
Relintai 11e474ae3b Added more helper methods to math. 2022-03-10 12:38:30 +01:00
Relintai 67b9aa6d0a Revert the previous commit, it's not going to work for what I want. 2022-02-15 19:02:40 +01:00
Relintai 3db6de263c Typedef the char in string to StringChar. 2022-02-15 18:58:02 +01:00
Relintai d3856fdfe5 Implement copy constructor and assignment operator to the vector. 2022-02-15 18:50:53 +01:00
Relintai 65b089386c Added binary file load, and save methods to Directory. 2022-02-15 18:09:30 +01:00
Relintai 0fbbfe2cdd Also added print_ methods to the logger, and the PRINT macros now call those. 2022-02-15 13:08:18 +01:00
Relintai 683359a2af Rename the old macros to RPRINT_XX, and made the new ones the default. 2022-02-15 13:05:28 +01:00
Relintai 406a3fb51a Codestyle. 2022-02-15 12:51:31 +01:00
Relintai 5b07e28030 Request the proper string variant. 2022-02-15 12:50:50 +01:00
Relintai a111150e7e Added variadic macros to be used with the new stream like logging api. 2022-02-15 12:49:21 +01:00
Relintai 94b9948199 Added a new logging api. 2022-02-15 12:30:17 +01:00
Relintai a68cbb96df Added a set of generic append helpers to String. 2022-02-15 12:05:51 +01:00
Relintai 58eb9f8252 Cleaned up the logger's api a bit. Now the normal log macros will also print fie, line and method information. 2022-02-15 11:57:44 +01:00
Relintai 75c5145370 After a lot of thinking, I reverted moving trantor to core. I realized I want to change so many things in it, that I might as well just not take compromises with the license. 2022-02-12 10:42:45 +01:00
Relintai c679ad05f4 Reset write_lock_requested bool to false after the write lock notification. 2022-02-10 17:39:58 +01:00
Relintai a3119b8b09 Added helper to get delta time to the node tree. 2022-02-10 17:01:57 +01:00
Relintai 26d161fd26 Added the ability to request a write lock on the tree. 2022-02-10 16:47:18 +01:00
Relintai 2266a66a79 Moved around some of the new classes in core. 2022-02-10 14:56:59 +01:00
Relintai b69dd8abe9 Small change. 2022-02-10 14:37:04 +01:00
Relintai 4f39060341 Added some notes. 2022-02-10 14:35:26 +01:00
Relintai 059cae3625 Small improvements. 2022-02-10 14:01:39 +01:00
Relintai 38a28ee9ce initial codestyle cleanup in the net folder. 2022-02-10 13:41:02 +01:00
Relintai 8992cf49b3 Removed the trantor namespace. 2022-02-10 12:07:47 +01:00
Relintai b9d441bf60 Re-enabled logging in socket. 2022-02-10 11:10:45 +01:00
Relintai 15f1f810be Same change to the rest of the taken files. 2022-02-10 11:09:09 +01:00
Relintai 1cdeb151bf Same copyright header change to stuff in the loops folder. 2022-02-10 11:01:52 +01:00
Relintai 6221c9ed03 Directly add license header to the files I took from trantor in the containers, and log folders. 2022-02-10 10:38:37 +01:00
Relintai 3534817831 Remove trantor NonCopyable inheritances from core. 2022-02-10 10:05:10 +01:00
Relintai b8e0579a2a Remove all TRANTOR_EXPORT defines from core. 2022-02-10 09:52:56 +01:00
Relintai e1a3ba0179 Move the rest of the net related things from trantor to core. 2022-02-10 09:42:13 +01:00
Relintai f1a528fbcf Also moved Wepoll. 2022-02-10 09:02:18 +01:00
Relintai 735fe772f6 Renamed cc files to cpp. 2022-02-10 08:50:18 +01:00
Relintai e78b34f274 Also move windows support. 2022-02-10 08:47:31 +01:00
Relintai fc6381a6e5 Also moved TimingWheel to core. 2022-02-10 08:39:37 +01:00
Relintai 556fa194ab Moved the task queues from trantor to core. 2022-02-10 08:31:28 +01:00
Relintai 26f428e330 Also move defines.h from trantor to core. 2022-02-10 08:17:27 +01:00
Relintai 9543341423 Move event loops from trantor to core. 2022-02-10 01:24:36 +01:00
Relintai 6a29af9963 Moved lock free queue to core. 2022-02-10 00:56:28 +01:00
Relintai aeaecd4b76 Moved trantor's logger to core. It's a bit messy right now, but It will get cleaned up later. 2022-02-10 00:50:19 +01:00
Relintai 94fd22eee9 Make Socket noncopyable, without inheritance. 2022-02-09 23:48:12 +01:00
Relintai 0e6ad2d135 Moved socket from trantor to core. 2022-02-09 23:21:11 +01:00
Relintai 7105acff50 Remove unneeded includes. 2022-02-09 21:34:06 +01:00
Relintai 9e5f58fdc1 Moved MsgBuffer from trantor to core. 2022-02-09 21:33:26 +01:00
Relintai a60b4681b6 Moved InetAddress from trantor to core. 2022-02-09 20:39:54 +01:00