Commit Graph

1721 Commits

Author SHA1 Message Date
f54b3c8a45 Updates to the LayeredTileMap modules's docs. 2024-03-10 10:29:38 +01:00
b3a5b516f7 Proper docs for WebServerSimple. 2024-03-10 10:24:16 +01:00
6f81a15fc0 Various doc fixes. 2024-03-10 10:10:02 +01:00
3f4cc73caa Updated docs for FileCache. 2024-03-10 10:09:19 +01:00
74c46ccfda Fix uninitialized variable. 2024-03-10 10:04:23 +01:00
aaf744aad0 Improve multipart filename handling a bit. 2024-03-10 09:32:01 +01:00
75e8f68a24 Use String::length(), even though in this case size() works too. 2024-03-10 09:16:43 +01:00
27d97cf766 Added optional force parameter to WebServerRequest::move_file(). Also various fixes and improvements to the new upload temp file system. 2024-03-10 09:07:13 +01:00
6addb02bbb Added new wwwroot_get_simplified_abs_path() helper to FileCache. Also improved the other path helper methods. 2024-03-10 08:21:24 +01:00
b96205f05f Use the sotred path when cleanin up temp files. 2024-03-10 07:07:38 +01:00
2f950e87d6 Only count request size when not writing to a file. 2024-03-10 07:05:25 +01:00
a993a5460c Make sure temp files directory exists when starting WebServerSimple. 2024-03-10 07:01:05 +01:00
f86c6440fb - Now WebServerSimple can also use temporary files for uploads.
- Added move_file() and is_file_moved()  helper methods to WebServerRequest.
- get_file_length() in WebServerRequest now returns uint64_t.
- Removed parse_files() from WebServerRequest. It's doesn't work well with how the http protocol works.
2024-03-09 23:39:33 +01:00
432478cb70 Fix index error. 2024-03-09 16:42:24 +01:00
3be690da76 Properly lock image. 2024-03-09 16:40:10 +01:00
c67d45375b Fix LayeredTileMapPattern::get_used_cells(). 2024-03-09 16:27:43 +01:00
fe901f22bd Fix tile selection indicator graphic. 2024-03-09 11:21:59 +01:00
de33138e87 Fix creating polygons in GenericTilePolygonEditor. 2024-03-09 10:33:18 +01:00
5359053613 Fix expand in GenericTilePolygonEditor. 2024-03-09 08:35:49 +01:00
bfaf5a6b75 Don't free the Editor's UndoRedo. 2024-03-09 08:17:36 +01:00
87be638698 Lock and unlock images in LayeredTileSetAtlasSource::_create_padded_image_texture. 2024-03-09 08:13:52 +01:00
068c83f71d Keep source flags when creating padded texture. 2024-03-09 08:11:08 +01:00
bfbe04e78c Fix method name. 2024-03-09 08:03:18 +01:00
3c79d3fd50 Bind method. 2024-03-09 08:00:37 +01:00
6ee714aab7 Updated all drop_data_fw method signatures. 2024-03-09 07:25:02 +01:00
626998dc26 Fixed panning in the LayeredTileMap editor. 2024-03-09 06:56:11 +01:00
3c6f55cf3f Added the center view icon from godot4. 2024-03-09 06:42:50 +01:00
dbcb0ac6d9 Fix binding a method twice. 2024-03-08 10:59:25 +01:00
5356c1a7ea Fix typo. 2024-03-08 07:04:29 +01:00
9116814193 ItemLists does not support negative indexing. 2024-03-08 07:01:04 +01:00
a94f302003 Call the proper method. 2024-03-07 23:33:19 +01:00
66dcbb02b0 Fix calling method from signal. 2024-03-07 23:27:50 +01:00
7dc0eda074 Added missing icon. 2024-03-07 23:22:26 +01:00
f4d728b08e Use better popup() method. 2024-03-07 23:20:20 +01:00
ce1200e5ea Add missing icons for the layered tile map editor. 2024-03-07 23:15:46 +01:00
2702aa5d65 Fix theme changed notifications for the layered tile map's editor. 2024-03-07 22:56:23 +01:00
564469a118 Add missing GDClass macro. 2024-03-07 22:55:46 +01:00
ffb4c9eef7 Use clip tabs. 2024-03-07 21:58:09 +01:00
12a6e10ddd Fixed errors on startup. 2024-03-07 21:38:08 +01:00
f78dd78dc3 Fix inconsistent overrides. 2024-03-07 19:15:06 +01:00
9d639d5136 Enable the layered tile maps module as now it compiles. It still needs some work before it's actually usable though. 2024-03-07 19:00:47 +01:00
adea98943c Fixed compile when layered tile maps are enabled. 2024-03-07 18:57:18 +01:00
2e45ffc5ea Work on fixing compile when layered tile maps are enabled. 2024-03-07 07:00:43 +01:00
3d791b4d4a Work on fixing compile when layered tile maps are enabled. 2024-03-06 23:27:39 +01:00
64999ea8fb Work on fixing compile when layered tile maps are enabled. 2024-03-06 20:36:58 +01:00
ea110ae724 Work on fixing compile when layered tile maps are enabled. 2024-03-06 01:11:54 +01:00
4abb1a23e9 Work on layered tile maps. 2024-03-04 22:15:59 +01:00
840a804a5c Work on layered tile maps. 2024-03-03 14:32:30 +01:00
0f07cedf57 Work on layered tile maps. 2024-03-03 12:59:36 +01:00
2783a9d58a Work on layered tile maps. 2024-03-03 11:46:07 +01:00
275a9124de Work on layered tile maps. 2024-03-03 09:39:24 +01:00
75a41eaf34 Work on layered tile maps. 2024-03-02 23:19:59 +01:00
d5caeed2b6 Work on fixing compile when layered tile maps are enabled. 2024-03-02 19:29:43 +01:00
c27d8cb19a Notes. 2024-03-02 14:56:37 +01:00
b59530099e Work on fixing compile when layered tile maps are enabled. 2024-03-02 14:30:29 +01:00
160374e539 Work on fixing compile when layered tile maps are enabled. 2024-03-02 11:03:29 +01:00
13d0ac8d5d Work on fixing compile when layered tile maps are enabled. 2024-03-02 09:13:07 +01:00
82fe33fdcb Fix register methods. 2024-03-02 08:32:55 +01:00
12d159858b Fix include guard. 2024-03-02 08:32:22 +01:00
29adf0b0da Properly set up register_types.cpp for layered tile maps. 2024-03-02 08:30:22 +01:00
33e9818d92 Added the icons for layered tile map from godot 4. 2024-03-02 08:25:16 +01:00
ac27c37a57 Layered tile map build script setup. 2024-03-02 08:17:20 +01:00
962f1cb188 Mass replaced some types in the layered tile map module. 2024-03-02 08:11:38 +01:00
2b85fcdbb5 Backported ViewPanner from Godot4. It also got bindings, now inherited from Resource, and is registered in the ClassDB. 2024-03-01 22:39:19 +01:00
cf7b59b6c8 Fix small formatting inconsistencies. 2024-03-01 16:25:19 +01:00
5f6121b719 Include cleanups. 2024-03-01 16:07:31 +01:00
715008c433 Added 2 missing files. 2024-03-01 16:07:24 +01:00
ea5845c3cd Update class names in the layered tilemap module. 2024-03-01 15:36:53 +01:00
cbcc125e25 Layered tilemap include guard update. 2024-03-01 12:49:01 +01:00
6a6d3acd96 Clang format everything. 2024-03-01 11:56:19 +01:00
51fdb562be Pandemonium style header guards. 2024-03-01 11:47:11 +01:00
b50acd2c89 Renamed files in the new module. 2024-03-01 11:46:13 +01:00
fb8ea11c03 Also added layered tilemap docs. 2024-03-01 10:43:35 +01:00
caa9099915 Small cleanup. 2024-03-01 10:43:19 +01:00
eec9c78867 Added godot 4's tilemap as a new layered tilemap module. 2024-03-01 10:38:08 +01:00
81717d4505 Small cleanup. 2024-03-01 10:29:48 +01:00
df4379d766 Added a parameter to HTMLTemplate::process_template_expression_variable() to be able to control when to emit errors if a variable is not set. Now this is used when checking for the first argument for the q template method variants. 2024-02-26 21:58:35 +01:00
aa854f049a Updated the docs form HTMLTemplate. 2024-02-26 21:33:40 +01:00
aef18dd4f1 Fix 2 off-by-one errors. 2024-02-26 21:31:17 +01:00
6ea807be26 Added a q variant from all template methods. These use their first argument to decide whether to print anything or not. 2024-02-26 21:27:20 +01:00
af2ef6476e Document the new methods, also expression substitution. 2024-02-26 19:03:39 +01:00
984465ee0c Finished HTMLTemplate's template substitution implementation. 2024-02-26 18:16:25 +01:00
72c764f74c Also process the last variable in HTMLTemplate::process_template_expression(). 2024-02-26 13:22:54 +01:00
b0a72e933d HTMLTemplate::process_template_expression() initial implementation. 2024-02-26 13:11:31 +01:00
0d2fceecf0 Fix errors in HTMLTemplate::render_template. 2024-02-26 12:02:04 +01:00
d3535ef0ca Strip the expression string before passing it to process_template_expression(). 2024-02-26 11:56:30 +01:00
81c8e4aa75 Removed WebServerRequest parameter from get_and_render_template() in HTMLTemplate. 2024-02-26 11:56:01 +01:00
2fe82c604c Fix binds in HTMLTemplate. 2024-02-26 11:52:13 +01:00
af492fc79e HTMLTemplate template processing part 1. 2024-02-26 11:36:13 +01:00
a6eb8377a6 Use String's length() instead of size(). 2024-02-26 11:33:06 +01:00
89f9faa0e2 Added docs for the new classes. (Except for variable substitution rules, as those are not yet done.) 2024-02-25 23:37:46 +01:00
5cee31117c Fix class link in the docs for SMTPClient. 2024-02-25 23:36:25 +01:00
4a23a17670 Also use PROPERTY_HINT_BUTTON in UserManagerStatic instead of a bool. 2024-02-25 22:40:07 +01:00
bf15aa0f87 Don't create empty keys. 2024-02-25 22:34:48 +01:00
0e9a926365 Fixed a few smaller typos. 2024-02-25 22:33:17 +01:00
66e0daf383 Created a built in editor using PROPERTY_HINT_BUTTON-s from HTMLTemplates. 2024-02-25 22:11:17 +01:00
8c06dce33f Now PROPERTY_HINT_BUTTON adds the property's name as the called method's first parameter. 2024-02-25 22:09:25 +01:00
c6c864a683 Hide template_overrides and template_defaults property from the inspector in HTMLTemplate. 2024-02-25 20:43:38 +01:00
ce638a69c1 Now HTMLTemplateDataEditorPlugin will only handle HTMLTemplateDatas, if they are on disk. 2024-02-25 19:25:58 +01:00
35e328576a Set up docs for the new classes. 2024-02-25 19:17:06 +01:00