Commit Graph

3596 Commits

Author SHA1 Message Date
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
dcd00dec81 Fix incorrect clipping in String::substr_index(). 2024-02-26 13:22:15 +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
4adb2423d2 Added docs for String::substr_index(). 2024-02-26 11:31:45 +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
e8ffc10abf Added more file formats to the Text Editor's Save Dialog. 2024-02-25 17:32:35 +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
66c2b12fc0 Added a new method to Expression so it can be used with multiple threads simultenously. 2024-02-25 10:25:46 +01:00
4b9982d2d9 Bump version. 2024-02-24 10:33:52 +01:00
8bd1c25844 Small tweaks to the changelog. 2024-02-24 07:41:57 +01:00
dc68cb400c Updated changelog. 2024-02-24 07:40:37 +01:00
b3cf4d9dc2 Set version to 4.2.1 stable. 2024-02-23 13:07:25 +01:00
837825352a Updated old package path. 2024-02-23 10:31:52 +01:00
973b686a86 Found and updated some remaining old package paths. 2024-02-23 00:51:21 +01:00
d44d8c2bcd Fix checking the wrong property in the Android's export plugin. 2024-02-23 00:49:31 +01:00
fa2a54a019 Added a way for platforms to define a custom resource pack location. 2024-02-17 22:14:44 +01:00
7da17bca02 Added more defines for platform specific configs. 2024-02-17 20:55:27 +01:00
0fccc9f393 Added S3TC_NOT_SUPPORTED define to be used by platforms externally. 2024-02-17 19:07:14 +01:00
cdb3f03e61 Added optional GLES2_LOAD_EXT_NO_DLCFN_AVAILABLE define for the rasterizer storage. 2024-02-17 19:04:57 +01:00
1d22053020 Moved dlfcn.h include in RasterizerStorageGLES2 to it's proper place according to the comment above it. 2024-02-17 18:57:33 +01:00
08711274c7 Fix custom module paths for the editor builds. 2024-02-17 16:41:51 +01:00
4ed0f09f43 Turn custom module paths relative to the engine's directory when they reside inside the engine's folder. 2024-02-17 15:11:13 +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
8284ff56b8 Fix DirAccess::get_filesystem_abspath_for() for .pck files. 2024-02-16 22:11:54 +01:00