Commit Graph

715 Commits

Author SHA1 Message Date
17a2780b28 Fix adding items to the argument map. 2022-04-28 22:59:05 +02:00
131d4b49cc In String::substr_index the end_index now isn't inclusive. 2022-04-26 23:03:43 +02:00
cd548cc83d Also fix read_file_bin. 2022-04-26 22:41:33 +02:00
269de98d22 Resize the string in Directory::read_file(). 2022-04-26 22:41:03 +02:00
ed9b23ad86 Added softmax to Math. 2022-03-10 19:20:29 +01:00
cc64dee592 Added a new helper method to image. 2022-03-10 15:33:07 +01:00
11e474ae3b Added more helper methods to math. 2022-03-10 12:38:30 +01:00
67b9aa6d0a Revert the previous commit, it's not going to work for what I want. 2022-02-15 19:02:40 +01:00
3db6de263c Typedef the char in string to StringChar. 2022-02-15 18:58:02 +01:00
bedbae833a Add load and save image overload. 2022-02-15 18:55:08 +01:00
d3856fdfe5 Implement copy constructor and assignment operator to the vector. 2022-02-15 18:50:53 +01:00
17ed2f9a89 Ported the png driver form godot. 2022-02-15 18:11:41 +01:00
65b089386c Added binary file load, and save methods to Directory. 2022-02-15 18:09:30 +01:00
0fbbfe2cdd Also added print_ methods to the logger, and the PRINT macros now call those. 2022-02-15 13:08:18 +01:00
683359a2af Rename the old macros to RPRINT_XX, and made the new ones the default. 2022-02-15 13:05:28 +01:00
406a3fb51a Codestyle. 2022-02-15 12:51:31 +01:00
5b07e28030 Request the proper string variant. 2022-02-15 12:50:50 +01:00
a111150e7e Added variadic macros to be used with the new stream like logging api. 2022-02-15 12:49:21 +01:00
94b9948199 Added a new logging api. 2022-02-15 12:30:17 +01:00
a68cbb96df Added a set of generic append helpers to String. 2022-02-15 12:05:51 +01:00
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
71f8a12997 Added more docs. 2022-02-15 00:00:50 +01:00
4bd9975350 Added docs to the folder serve nodes. 2022-02-14 23:49:27 +01:00
d4a636c15d Renamed the render virtual to render_index. 2022-02-14 23:27:26 +01:00
001339fc60 Added the new virtuals to the rest of the webnodes that benefit from it. 2022-02-14 23:25:01 +01:00
642c39552f Same to paged articles. 2022-02-14 23:20:47 +01:00
809de8a01c Add the new virtuals to the static pages. 2022-02-14 23:14:33 +01:00
34e669c55b Added render and render_preview virtual methods to WebNode. This will make the reusability of nodes even better. 2022-02-14 23:07:10 +01:00
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
c679ad05f4 Reset write_lock_requested bool to false after the write lock notification. 2022-02-10 17:39:58 +01:00
a3119b8b09 Added helper to get delta time to the node tree. 2022-02-10 17:01:57 +01:00
e705cbca34 Added an update interval setting to the web server. Also update will get called if it's > 0. 2022-02-10 16:59:31 +01:00
26d161fd26 Added the ability to request a write lock on the tree. 2022-02-10 16:47:18 +01:00
a7b8d0621c Unref the active permission on reset. 2022-02-10 16:18:23 +01:00
02ca1abec9 implemented a new web permission system which utilizes the webnode hierarchy. 2022-02-10 16:17:31 +01:00
2266a66a79 Moved around some of the new classes in core. 2022-02-10 14:56:59 +01:00
b69dd8abe9 Small change. 2022-02-10 14:37:04 +01:00
4f39060341 Added some notes. 2022-02-10 14:35:26 +01:00
059cae3625 Small improvements. 2022-02-10 14:01:39 +01:00
38a28ee9ce initial codestyle cleanup in the net folder. 2022-02-10 13:41:02 +01:00
8992cf49b3 Removed the trantor namespace. 2022-02-10 12:07:47 +01:00
b9d441bf60 Re-enabled logging in socket. 2022-02-10 11:10:45 +01:00
15f1f810be Same change to the rest of the taken files. 2022-02-10 11:09:09 +01:00
1cdeb151bf Same copyright header change to stuff in the loops folder. 2022-02-10 11:01:52 +01:00
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
3534817831 Remove trantor NonCopyable inheritances from core. 2022-02-10 10:05:10 +01:00
b8e0579a2a Remove all TRANTOR_EXPORT defines from core. 2022-02-10 09:52:56 +01:00
482599541d Clean up the drogon web backend's SCsub. 2022-02-10 09:50:51 +01:00
6024258bf3 Also moved unit tests from trantor to the core. 2022-02-10 09:48:53 +01:00
e1a3ba0179 Move the rest of the net related things from trantor to core. 2022-02-10 09:42:13 +01:00