Commit Graph

686 Commits

Author SHA1 Message Date
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 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
Relintai 26d161fd26 Added the ability to request a write lock on the tree. 2022-02-10 16:47:18 +01:00
Relintai a7b8d0621c Unref the active permission on reset. 2022-02-10 16:18:23 +01:00
Relintai 02ca1abec9 implemented a new web permission system which utilizes the webnode hierarchy. 2022-02-10 16:17:31 +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 482599541d Clean up the drogon web backend's SCsub. 2022-02-10 09:50:51 +01:00
Relintai 6024258bf3 Also moved unit tests from trantor to the core. 2022-02-10 09:48:53 +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 2fc39f37dc Remove the ObjectPool from trantor. 2022-02-10 08:44:44 +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 1fbf6a22c1 Remove now unneeded file. 2022-02-09 21:41:34 +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
Relintai 9f39b21574 Moved Date from trantor to core/math. Also moved the methods from and Funcs.h to core. 2022-02-09 19:58:44 +01:00
Relintai 4fd6ce10ea Added an rwlock to the NodeTree. Not yet usable. Committing, as I just noticed what to do with trantor, and will mess with that instead. 2022-02-09 19:04:11 +01:00
Relintai 7e42d26afa Remove comment. 2022-02-06 16:07:20 +01:00
Relintai ec61d444e4 Now Paginator has a renderer field. This should make pagination implementations easily replacable from user code. 2022-02-06 16:07:01 +01:00
Relintai 034931d390 Use the new helper in Paginator. Also add enabled classes. 2022-02-06 15:50:19 +01:00
Relintai c7fa9caac4 Added a new clsse helper method to HTMLBuilder. 2022-02-06 15:49:23 +01:00
Relintai 7cb505ee09 Use the class variables instead of hardcoded values. 2022-02-06 15:26:19 +01:00
Relintai 3fbd86e025 Added a new Paginator class. 2022-02-06 15:18:10 +01:00
Relintai 02563831fc Added the rest of the standard rel attributes to HTMLBuilder. 2022-02-06 14:41:23 +01:00
Relintai 3a834204d8 Implemented StaticPageFile and StaticPageFolderFiles aswell. 2022-02-06 14:01:04 +01:00
Relintai f7b17933b5 Implemented StaticPage. 2022-02-06 13:44:30 +01:00
Relintai ecf3daf5cb Fix typo. 2022-02-06 13:44:21 +01:00
Relintai 1060f85089 Added find_reversed and file_get_extension helpers to string. 2022-02-06 13:43:56 +01:00