Commit Graph

700 Commits

Author SHA1 Message Date
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
f1a528fbcf Also moved Wepoll. 2022-02-10 09:02:18 +01:00
735fe772f6 Renamed cc files to cpp. 2022-02-10 08:50:18 +01:00
e78b34f274 Also move windows support. 2022-02-10 08:47:31 +01:00
2fc39f37dc Remove the ObjectPool from trantor. 2022-02-10 08:44:44 +01:00
fc6381a6e5 Also moved TimingWheel to core. 2022-02-10 08:39:37 +01:00
556fa194ab Moved the task queues from trantor to core. 2022-02-10 08:31:28 +01:00
26f428e330 Also move defines.h from trantor to core. 2022-02-10 08:17:27 +01:00
9543341423 Move event loops from trantor to core. 2022-02-10 01:24:36 +01:00
6a29af9963 Moved lock free queue to core. 2022-02-10 00:56:28 +01:00
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
94fd22eee9 Make Socket noncopyable, without inheritance. 2022-02-09 23:48:12 +01:00
0e6ad2d135 Moved socket from trantor to core. 2022-02-09 23:21:11 +01:00
1fbf6a22c1 Remove now unneeded file. 2022-02-09 21:41:34 +01:00
7105acff50 Remove unneeded includes. 2022-02-09 21:34:06 +01:00
9e5f58fdc1 Moved MsgBuffer from trantor to core. 2022-02-09 21:33:26 +01:00