|
2de0398fb0
|
Added a new PagedArticles class.
|
2022-02-05 02:45:53 +01:00 |
|
|
87a55d6a44
|
Improved Node's add_child and set_tree.
|
2022-02-05 02:45:40 +01:00 |
|
|
37fe94f99e
|
Improvements to the directory class.
|
2022-02-05 02:45:11 +01:00 |
|
|
6d1eabf64d
|
Zero out member variables.
|
2022-02-05 02:43:53 +01:00 |
|
|
56c203d925
|
Added serve_folder_relative member to PagedArticle.
|
2022-02-04 23:39:45 +01:00 |
|
|
5097d210d3
|
Renamed a few method in Directory.
|
2022-02-04 23:36:04 +01:00 |
|
|
52f85862bd
|
Reworked pagedArticle too to use the new Directory helpers.
|
2022-02-04 23:33:54 +01:00 |
|
|
5292da82ba
|
Now read_file_into in Directory will return an Error.
|
2022-02-04 23:33:39 +01:00 |
|
|
ef06a9e57d
|
Set skip specials to true by default.
|
2022-02-04 23:27:37 +01:00 |
|
|
d71db48661
|
Now FileCache uses the new Directory class.
|
2022-02-04 23:25:26 +01:00 |
|
|
0669bbbe55
|
Added a new open method to the directory class, and changed current_is_directory to current_is_dir.
|
2022-02-04 23:25:09 +01:00 |
|
|
b38b2f4755
|
Added a directory class to the core. It's directly using tinydir for now.
|
2022-02-04 23:17:46 +01:00 |
|
|
ae81caf9a1
|
Replaced the mutex in FileCache with an RWLock.
|
2022-02-04 22:12:08 +01:00 |
|
|
0514505cef
|
Fix compile.
|
2022-02-04 22:11:50 +01:00 |
|
|
4b9266c1f3
|
After thinking about it, reworked PagedArticle. Before it would evaluate and store data about all directories in the given path. Now it will only process one. The evaluate all directories functionality will be added to a new node.
|
2022-02-04 22:05:51 +01:00 |
|
|
15c384750f
|
A comment.
|
2022-02-04 22:03:55 +01:00 |
|
|
60e7dfe7e9
|
Added clear method to FileCache.
|
2022-02-04 22:03:22 +01:00 |
|
|
60ed46b5e6
|
Added continue related error macros. Also added a new type where you can put commands before continuing.
|
2022-02-04 22:02:54 +01:00 |
|
|
ac66ecd84a
|
Change every PagedArticleEntry pointers to refs in PagedArticle.
|
2022-02-04 20:54:52 +01:00 |
|
|
5ed9081c69
|
Move 2 method definitions to the cpp file.
|
2022-02-04 20:37:06 +01:00 |
|
|
01c43bf369
|
Renamed the article struct in PagedArticle to PagedArticleEntry, and moved it to it's own file. Also made it inherit from reference.
|
2022-02-04 20:36:09 +01:00 |
|
|
3361d576de
|
Don't try to route requests when routing is disabled.
|
2022-02-04 20:26:08 +01:00 |
|
|
1bb16134ad
|
Made the routing getter and setter virtual.
|
2022-02-04 20:18:52 +01:00 |
|
|
7bd1b372ea
|
Merged WebRouterNode into WebNode. Also added a way to turn it off in case it's needed. It's too useful to not have it on all nodes.
|
2022-02-04 20:15:45 +01:00 |
|
|
10af49898f
|
Added a skeleton StaticPage and StaticFolderPage classes and a few notes.
|
2022-02-04 18:38:18 +01:00 |
|
|
e240034626
|
Made the default classes in ListPage customizable, and added docs about the generated html.
|
2022-02-04 16:49:02 +01:00 |
|
|
bf82dac4d3
|
Set the default entry per page in ListPage to 4.
|
2022-02-04 16:15:12 +01:00 |
|
|
46db44689d
|
Sort the file list in ListPage before processing them.
|
2022-02-04 16:14:23 +01:00 |
|
|
c827f6fe64
|
Fix expected alphanumeric comparison logic in string.
|
2022-02-04 16:13:54 +01:00 |
|
|
3a5487b2ab
|
Overhauled ListPage. Now it takes advantage of the Node system, and also it now has pagination support.
|
2022-02-04 15:55:19 +01:00 |
|
|
65892ddd5a
|
Added get_parent_webnode, get_full_uri, and get_full_uri_parent helpers to WebNode.
|
2022-02-04 15:54:21 +01:00 |
|
|
53238c1265
|
Pass base_url by a reference in Utils-> pagination.
|
2022-02-04 15:53:31 +01:00 |
|
|
3172dfbcd9
|
Added 2 helper methods to Math.
|
2022-02-04 15:52:48 +01:00 |
|
|
a05ca2e261
|
SharedResource is now using an RWLock.
|
2022-02-04 13:53:30 +01:00 |
|
|
f434d1ff6c
|
Added error_list.h from Godot.
|
2022-02-04 13:53:05 +01:00 |
|
|
71947ea292
|
Now Image is enabled and it compiles.
|
2022-02-04 13:37:52 +01:00 |
|
|
e60cb3ab42
|
Declare memnew_arr and memdelete_arr macros in memory.h as I still can't decide about them.
|
2022-02-04 13:36:17 +01:00 |
|
|
5aa8f6ccd3
|
Added half bits to float conversions from the godot engine.
|
2022-02-04 13:25:11 +01:00 |
|
|
2c16563d97
|
Added abs helper method to Rect2 and Rect2i.
|
2022-02-04 13:21:15 +01:00 |
|
|
e34079ee46
|
Vector2 <-> Vector2i conversion operators.
|
2022-02-04 13:17:55 +01:00 |
|
|
cf8dd43fd7
|
Added Rect2 <-> Rect2i conversion operators. Also smaller helper methods.
|
2022-02-04 13:13:27 +01:00 |
|
|
334075aeca
|
Ported Rect2's clip from godot to both Rect2 and Rect2i.
|
2022-02-04 13:06:13 +01:00 |
|
|
69a2d2f1b7
|
Added ABS, GSN, MIN, MAX, CLAMP macros to math.h for convenience.
|
2022-02-04 13:05:49 +01:00 |
|
|
e28007085c
|
Added position and size helper methods to Rect2 and Rect2i.
|
2022-02-04 12:54:28 +01:00 |
|
|
53b9236c5f
|
Added Rect2i.
|
2022-02-04 11:56:43 +01:00 |
|
|
202df3bac6
|
Added Vector2i.
|
2022-02-04 11:54:46 +01:00 |
|
|
bfa4a96c2a
|
Fix 2 typos.
|
2022-02-04 11:52:40 +01:00 |
|
|
397459ce7b
|
Added the Color class from godot. Removed the ColorUInt8 typedef.
|
2022-02-04 11:34:07 +01:00 |
|
|
db531000c1
|
Added a few wchar_t based helper methods to string.
|
2022-02-04 11:33:35 +01:00 |
|
|
f5d525948b
|
Added ERR_FAIL_V_MSG error macro aswell.
|
2022-02-04 11:32:07 +01:00 |
|