Commit Graph

1763 Commits

Author SHA1 Message Date
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
87920a4ed7 Initial HTMLTemplate class setup. 2024-02-25 19:15:34 +01:00
5c9996fd58 Added an editor plugin for HTMLTemplateData. Double clicking one in the editor will open the underlying file on the text editor tab (if enabled). 2024-02-25 17:26:28 +01:00
83facbff3b Fix issues with HTMLTemplateData loading and serialization. 2024-02-25 16:33:53 +01:00
08864f0a25 Added an importer for HTMLTemplateData. 2024-02-25 16:23:36 +01:00
eca4475f2d Implemented HTMLTemplateData. 2024-02-25 15:55:42 +01:00
fb005f970e Added HTMLTemplate and HTMLTemplateData classes. 2024-02-25 14:54:50 +01:00
0edc5438dd Re-extracted class docs. 2024-02-25 10:26:26 +01:00
7da17bca02 Added more defines for platform specific configs. 2024-02-17 20:55:27 +01:00
08711274c7 Fix custom module paths for the editor builds. 2024-02-17 16:41:51 +01:00
b8c81b5449 Small tweaks to HTTPServerSimple, mostly related to ssl handling. 2024-02-16 23:06:39 +01:00
2400b14bb9 Fix FileCache for files in .pck-s. 2024-02-16 22:12:17 +01:00
3da74f0703 Added get_global_class_name method to Script. Now GDScriptParser uses this first to determine global class names, instead of parsing the script file again. 2024-02-13 20:09:46 +01:00
c3c6d64a50 Portred: Add MergeGroup node to simplify merging Meshes at runtime.
- lawnjelly
8b79135538
2024-02-08 21:00:07 +01:00
af518b2d3b Ported parts of: [3.x] Add Selected Collision Group in TileSet Editor
Also moves the TileSet Script property down to its own category.
- Mickeon
211c707e67
2024-02-08 18:11:25 +01:00
Danil Alexeev
0c92de12c1 GDScript: Fix get_method_list for custom functions 2024-02-08 14:50:56 +01:00
Danil Alexeev
a70e3ce4b3 GDScript: Prevent native class shadowing 2024-02-08 13:23:04 +01:00
e9f7ef263f Fix build on windows. 2024-01-11 01:31:54 +01:00
b08959ab59 Fixed issues with the SMTPClient and EMail. 2024-01-11 01:24:16 +01:00
40e20146f6 Also use the queue in SMTPClient when not threading. 2024-01-11 00:39:52 +01:00
4a35fb9b44 Docs for the new classes. 2024-01-11 00:32:10 +01:00
2f44da6c00 Bind missing enum constants. 2024-01-11 00:05:42 +01:00
db36151c18 Re-extracted class docs. 2024-01-11 00:03:31 +01:00
92f1ab9e3e Fixed property. 2024-01-11 00:02:57 +01:00
8541890a78 Ported SMTPClient. 2024-01-11 00:02:48 +01:00
fb4fe82c63 Ported EMail. 2024-01-10 22:01:42 +01:00
f6c504534a Set up a new smtp module. It will be based on https://github.com/Relintai/gdMail . 2024-01-10 20:15:05 +01:00
b324675489 Removed the old SMTPClient class docs. 2024-01-10 20:12:36 +01:00
8e5ffcc9f1 Removed SMTPClient as the original code's license is unknown. 2024-01-10 19:37:39 +01:00
20ec9e2043 Fixed generating urls in BrowsableFolderServeWebPage. 2024-01-02 10:56:10 +01:00
2effb794fd Fixed typo. 2024-01-02 10:55:42 +01:00
70d3d54386 Also added the new helper method to the gdnative api. 2023-12-27 13:48:01 +01:00
3f2149212a Fixed error. 2023-12-25 21:11:09 +01:00
4d966d877f Fixed warning. 2023-12-25 21:06:39 +01:00
08f7789e40 Now SceneSynchronizerDebugger can properly create it's debugger.py file. 2023-12-25 20:48:32 +01:00
f37f74d7f9 Fixed warning. 2023-12-25 20:48:01 +01:00
f927e2db73 Ran the clang format script. 2023-12-25 20:27:28 +01:00
2f53a26f36 Re-extracted class docs. 2023-12-25 20:20:30 +01:00
5059f6b2d2 Fixed warning. 2023-12-25 20:18:01 +01:00
2ae29884cb Merged in the backwards utilities. 2023-12-25 20:12:56 +01:00
e44c46d7a9 Fixed include paths, compile errors and some code style. 2023-12-25 20:00:07 +01:00
d8eec349a5 Updated register_types.h 2023-12-25 19:41:37 +01:00
b6648f707e Added missing classes to config.py. 2023-12-25 19:38:05 +01:00
eb63a4d682 Updated NetworkSynchronizer from https://github.com/GameNetworking/network_synchronizer/tree/godot-3.x . f12fee66a7e3eb2013d6c5437837770455105b91 (Merge commit: cc3c7d244adea8b25822f43963618fd2dbf18ec8) 2023-12-25 19:27:07 +01:00
1f291939e9 Now PagedArticleWebPage won't add the summary page to the list of pages you can switch to. 2023-12-24 20:33:18 +01:00
d4d4a737fb Fix build when the jsonrpc module is disabled. 2023-12-24 00:02:22 +01:00
db08e3c8b9 Re-extracted class docs. 2023-12-23 00:54:40 +01:00
094b1fe752 Bind the send_mail method. 2023-12-23 00:53:42 +01:00
2bd9eb6468 Implemented SMTPClient based on https://github.com/Relintai/smtp_node . 2023-12-23 00:50:09 +01:00
85d60b67e8 Created SMTPClient class. 2023-12-22 20:29:15 +01:00
be379405d2 Added a button to the TilesetEditor to easily select the TilesetEditorContext when needed. 2023-12-22 20:15:33 +01:00
f9cbc81492 Renamed RTilesetEditorContext to TilesetEditorContext. 2023-12-22 20:10:02 +01:00
0d6f38b317 Re-extracted class docs. 2023-12-22 19:49:04 +01:00
cd34883d79 Completely removed the cached path api from FileCache. 2023-12-22 19:37:23 +01:00
ca9249b5cf Started reworking filecache to have an immediate file path mode. Non-immediate mode will be removed in next commit, saving the work in case it's needed later. 2023-12-22 19:29:48 +01:00
978e49a289 Implemented range requests for the HTTPServerSimple. It does work in fiefox, however wget seems to choke on it. This will be fixed later. 2023-12-22 15:37:04 +01:00
a781853b2b Added a way to get all available marameter keys to WebServerRequest. 2023-12-22 13:14:17 +01:00
e5719c991b Store incoming http request parameters properly. 2023-12-22 13:02:17 +01:00
df2859b9d0 Added a way to unregister connections and get out their raw connection data from the http server. 2023-12-22 12:38:38 +01:00