Commit Graph

1305 Commits

Author SHA1 Message Date
1f7c2ef1fc Ported SlopeBlur from MaterialMaker. 2023-02-28 19:00:22 +01:00
81c9a7f940 Don't serialize editor only omni lights in PropDataLight. 2023-02-25 12:13:07 +01:00
ee8014d15e Removed comment. 2023-02-25 12:09:23 +01:00
47525f401b Added noise offset support to TiledWalls. 2023-02-25 12:08:49 +01:00
0cbe3b29f6 Make body_instance in Entity virtual. 2023-02-24 19:20:51 +01:00
79995d2868 Fix typo. 2023-02-24 19:10:08 +01:00
806a083cc9 Proper bind parameters for body_instance. 2023-02-24 19:09:44 +01:00
b6e6d3226f Make body related methods in entity have body as their prefix. 2023-02-24 19:09:00 +01:00
2e960fd00e Add braces around one liner if-s in Entity. 2023-02-24 18:58:46 +01:00
59a4e14b22 Ported: Allow unicode identifier in GDScript syntax highlighter
- timothyqiu
5a283bdbcd
2023-02-21 13:32:12 +01:00
d5cbb5ce1d Ported: Improve GDScript Editor and Improve latency
Improvements:
- GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings)
- Removes message queue from _apply_settings_change to allow resize to work correctly
- Some performance fixes are pending still
Note: this resolves the code editor behaving badly when resizing in debug builds
- RevoluPowered, akien-mga
1881b3adc5
2023-02-21 13:24:53 +01:00
c3f01e0b3d Ported: Highlight control flow keywords with a different color. This makes them easier to distinguish from other keywords.
- Calinou
e905e8f145
2023-02-21 13:20:25 +01:00
8eca52fc76 Ported: Fix highlight color for class attributes that are also keywords.
- lucasvanmol
749d0c708c
2023-02-21 13:14:09 +01:00
e42c604bc3 Ported: Switch from recursion to iterative for backfilling colour regions.
- Paulb23
ee4a1c99a7
2023-02-21 13:11:37 +01:00
a79792ee67 Ported: Fix color region end key seach and start key order.
- Paulb23
6cdcdbc242
2023-02-21 13:08:49 +01:00
6ea9b581d7 Ported: Fix colour region continuation over blank lines, issue 41120
- Paulb23
5cf2cf8646
2023-02-21 12:53:41 +01:00
c356806ebf Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
- Paulb23
bc4cee4458
2023-02-21 01:30:59 +01:00
0edf8fe956 Ported: Convert syntax highlighters into a resource
- Paulb23
2f1080be9b
2023-02-20 14:51:10 +01:00
ddcf36addd Fixed multi threading + https in HTTPServerSimple. 2023-02-19 16:04:08 +01:00
e5f31bde7d Implement sending keep alive connection type if a connection has more than one request for HTTPServerSimple. Also more togglable debugging. 2023-02-19 15:11:29 +01:00
0e651dd4fd Pre-create the required folders for the self signed cert files automatically. 2023-02-19 11:53:14 +01:00
ab9ae594c2 Set a better self signed cert path for the HTTPServerSimple. 2023-02-19 11:42:37 +01:00
4551061c17 Set _server_quit in WebServerSimple the way it was intended to be used. 2023-02-19 11:41:43 +01:00
4ededb6a34 Added optional protocol error logging to HTTPParser. Also remove unnecessary error. 2023-02-19 11:20:13 +01:00
8b4fc877a0 Added protocol error handling to the http server simple. 2023-02-19 10:34:39 +01:00
6026725f3b Renamed ScriptEditor to EditorScriptEditor. 2023-02-18 16:52:26 +01:00
990f8aaecd Prefix filenames in the editor_script_editor module with editor_. 2023-02-18 16:22:59 +01:00
6e88ad5bae Moved the editor_code_editor module to the editor_modules folder. 2023-02-18 15:45:50 +01:00
a14821587f Renamed the code_editor module to editor_code_editor. 2023-02-18 15:31:58 +01:00
65c91c6899 Moved ScriptEditorPlugin and ScriptEditor out from the editor folder. 2023-02-18 15:08:56 +01:00
de757b8b02 Renamed code_editor.h and .cpp to code_text_editor.h and .cpp. 2023-02-18 15:02:21 +01:00
e32e63242b Moved ScriptEditor and ScriptEditorPlugin to a new editor subfolder. 2023-02-18 14:36:51 +01:00
cf2894324a Moved FindReplaceBar to it's own file. 2023-02-18 14:09:15 +01:00
1b0c1c14f0 Moved GotoLineDialog to it's own file. 2023-02-18 13:59:28 +01:00
1296786c9d Moved ConnectionInfoDialog to it's own file. 2023-02-18 13:30:17 +01:00
4dd84847eb Moved ScriptEditor to it's own file. 2023-02-18 13:22:43 +01:00
004dd1231f Moved ScriptEditorBase to it's own file. 2023-02-18 12:58:37 +01:00
b3d5b450ec Moved ScriptEditorQuickOpen to it's own file. 2023-02-18 12:47:45 +01:00
7c946c9ba9 Separated shader editor into a new module. 2023-02-18 09:44:05 +01:00
8d7090241a Make sure that the editor can be built even when the new code_editor module is disabled. 2023-02-17 23:20:10 +01:00
7a2b7825a8 Only allow the code editor module in editor builds for now. 2023-02-17 21:34:11 +01:00
1b30a48d65 Move out script editor's initialization from EditorNode. 2023-02-17 21:29:44 +01:00
9cd2927fcc Move the editor's script text editor into the new code_editor module. 2023-02-17 20:57:16 +01:00
0a79f38843 Notes. 2023-01-16 21:49:15 +01:00
0cfa32c9aa Added a new skeleton unit test module with some notes. 2023-01-16 18:36:20 +01:00
SaracenOne
109e2f7385 Fix local variables not showing when breaking on final line
(cherry picked from commit 657b9b659680194f6d3aa546a4b20246bb51fb39)
2023-01-16 14:03:22 +01:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
50e98d6a10 Comment and add more ModuleRegistrationLevels. 2023-01-15 17:03:36 +01:00
61ddf05296 Removed RTileMap and RTileSet compatibility classes. 2023-01-15 13:34:48 +01:00
8075ef8e62 Added include guards to all module register_types.h-s. 2023-01-15 13:27:08 +01:00
358dbabb13 Moved the cvtt module to the editor modules folder, as it's tools only. 2023-01-15 11:56:13 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
642a590949 Fix GSAIAvoidCollisions;s logic. 2023-01-14 15:33:52 +01:00
67368542ad Fix small issues with the docs. 2023-01-14 14:35:47 +01:00
8f380676a3 Bind the enums in GSAIKinematicBody2DAgent and GSAIKinematicBody3DAgent. 2023-01-14 14:34:08 +01:00
013fe0b1a2 Move the old comments from the steering ai module to the class doc xmls. 2023-01-14 14:31:39 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
3be6c6282c Also cleaned up agents and added them to the build. 2023-01-14 13:36:30 +01:00
967918fbe0 Added Behaviors to the build. 2023-01-14 03:14:27 +01:00
693ec871e5 Behaviors cleanup part3. 2023-01-14 02:47:55 +01:00
6f27129fe5 Behaviors cleanup part2. 2023-01-14 02:31:42 +01:00
9bca0fae16 Behaviors cleanup part1. 2023-01-14 01:43:20 +01:00
caf3f1210b Cleaned up GSAIRadiusProximity and GSAIInfiniteProximity aswell. 2023-01-14 00:28:56 +01:00
65aa1c4084 Make virtuals actually virtuals. 2023-01-13 23:53:46 +01:00
36477a1a73 GSAIProximity now have an alternate api for getting the agents. 2023-01-13 23:38:01 +01:00
a714f33a80 Fixed logic in GSAIPath. 2023-01-13 23:19:41 +01:00
6d8e5773cc Small fix. 2023-01-13 23:19:29 +01:00
087e57abc7 Fix vmethod binds. 2023-01-13 23:07:52 +01:00
56296172cc Cleaned up the core steering ai classes. 2023-01-13 23:01:38 +01:00
7afddb9fc3 Make include guard style consistent with the rest of the engine in the new module. 2023-01-13 22:04:30 +01:00
7792c4f423 Cleaned up GSAIUtils, and registered it as a singleton. 2023-01-13 21:59:21 +01:00
402e8ff689 Cang formatted everything in the new module. 2023-01-13 21:35:07 +01:00
0d2aa86bc3 Fixed file names in the new module. 2023-01-13 21:29:17 +01:00
694d9a7333 Rename the folcers in the new module. 2023-01-13 21:15:03 +01:00
9fed52de03 Added a new steering_ai module.
It's a modified verion of https://github.com/GDQuest/godot-steering-ai-framework which I converted to c++ using thr converter srcipt.
It still needs to be cleaned.
2023-01-13 21:13:57 +01:00
5b2fc25338 Added missing binds in FileCache. 2023-01-04 00:40:28 +01:00
238bc63087 Added a new WebServerRequestScriptable class, so different web server request implementations can be created using scripts when needed. 2023-01-03 21:27:36 +01:00
0c3b684da7 Small tweak. 2022-12-31 22:00:37 +01:00
e1d7706198 Added COPYRIGHT.txt to the wfc module. 2022-12-31 22:00:32 +01:00
61f343d58b Added COPYRIGHT.txt to the web module. 2022-12-31 21:57:06 +01:00
e7f74ad154 Added COPYRIGHT.txt to the texture_packer module. 2022-12-31 21:51:05 +01:00
6d0c94bb6d Fix typo. 2022-12-31 21:50:45 +01:00
0ef41c62af Added COPYRIGHT.txt for the paint module. 2022-12-31 21:38:08 +01:00
64c98a607c Added COPYRIGHT.txt for the mesh utils module. 2022-12-31 21:27:55 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
30f41745fd Added COPYRIGHT.txt to the material_maker module. 2022-12-31 20:27:16 +01:00
0a1dd974fc Cleaned up the material maker module's readme. 2022-12-31 20:26:46 +01:00
b843fcc498 Removed the mat_maker_gd (gdscript) addon from th material maker module. (I forgot about it.) 2022-12-31 20:23:26 +01:00
76802a25b2 Added COPYRIGHT.txt for the http_server_simple module. 2022-12-31 20:19:10 +01:00
c181bf3d86 Cleaned up licenses in the fastnoise module. 2022-12-31 20:09:45 +01:00
caba177763 Added copyright.txt for the sqlite module. 2022-12-31 20:01:52 +01:00
08e502462a Removed database_postgres and database_mysql modules. (They were hard disabled.) 2022-12-31 19:40:46 +01:00
b46ab0f4a7 Updated copyright headers to 2023. 2022-12-31 19:34:43 +01:00
51e09f5b9f COPYRIGHT.txt for the lz4 module. 2022-12-31 18:12:37 +01:00
1541a04d17 Added docs for the TableBuilder. 2022-12-27 21:43:11 +01:00
3ae8a852a7 Added docs for the QueryBuilder. 2022-12-27 18:20:15 +01:00
db534a3da6 Use String.empty() instead of comparing a string to "", in the QueryBuilder. 2022-12-27 18:20:01 +01:00
093ee3e592 Re-extracted class docs. 2022-12-27 14:52:04 +01:00
dacee1ae4f Added initialized signal and helper method to the DataBaseManager. It can be used to let automally allocated classes (singletons, main scene classes) in heavily database driven applications know when it's safe to use the db. 2022-12-24 11:45:13 +01:00
b83c4f7ff8 Added a simple page rendering customization api for UserWebPages. 2022-12-22 21:31:14 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
cc7d77f3e1 Re-extracted class docs. 2022-12-22 19:28:17 +01:00
1a4a526f97 Ported: miniupnpc: Update to version 2.2.3
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.
- akien-mga
912cd43418
2022-12-22 17:05:27 +01:00
711d08be2b Ported "Fix Script editor completion doesn't suggest members of a script for type hints"
ray90514 - 7afbd5904e
For CScript.
2022-12-22 16:45:10 +01:00
bad1d64314 Fix compile and small cleanups after the backports. 2022-12-22 15:24:53 +01:00
ray90514
2693ad37f7 Fix Script editor completion doesn't suggest members of a script for type hints 2022-12-22 14:48:51 +01:00
smix8
9225e78f68 Fix Navigation agent callback wild pointer crash
Fixes crash in sanitizer builds when callback agent or object are already freed.

(cherry picked from commit 194c1c44e0a20faa4463e3a41bb12cf93a71fc03)
2022-12-22 14:12:00 +01:00
df6186524a Ensure a '/' in between the host, and the url in WebServerRequest::get_url_site(). 2022-12-21 15:12:53 +01:00
ea009ff869 Use String.length() instead of String.size() in WebServerRequest::setup_url_stack(). 2022-12-21 15:12:12 +01:00
38a36b3c70 Added get request parameter support for WebServerRequest. 2022-12-21 14:52:11 +01:00
cb409757c3 Use String length() instead of size() in QueryBuilder, also guard against overindexing. 2022-12-20 23:54:50 +01:00
3d63a84be9 Make sure escape is used in SQLite3QueryBuilder wherever it's expected. 2022-12-20 17:35:24 +01:00
a50fc20607 Fix missing default parameter. 2022-12-19 14:44:21 +01:00
144d519258 Id should be valid only over 1 in UserManagerDB. 2022-12-18 18:42:09 +01:00
6fdcd0e7c0 Set sqlite to serialized mode. 2022-12-18 18:41:11 +01:00
a19be9b170 Small cleanups. 2022-12-18 17:00:11 +01:00
7eed422442 Also added tag() and ctag() helpers to the c++ side HTMLBuilder, and smaller cleanups. 2022-12-18 16:53:23 +01:00
f9ef920ec5 Added new tag() and ctag() universal tag helpers to the HTMLBuilder binder class. 2022-12-18 16:48:19 +01:00
99dd7022a5 Added signals for user actions into the user web nodes. 2022-12-18 16:05:23 +01:00
a67a36289b Removed old unneeded c++ files. 2022-12-18 16:04:47 +01:00
47ac5e2668 Added a null check to HTTPSessionManagerDB, and small cleanups. 2022-12-18 14:59:40 +01:00
b8b51e7525 Use error macros in HTTPSessionManager and HTTPSessionManagerDB. 2022-12-18 14:28:38 +01:00
225e3ff79c Update the migration methods in HTTPSessionManagerDB. 2022-12-18 14:24:50 +01:00
db51b273a7 Set up inheritance and virtuals for HTTPSessionManagerDB and HTTPSessionManager. 2022-12-18 14:22:21 +01:00
9aced75966 Added HTTPSessionManagerDB using the disabled code in HTTPSessionManager, and cleaned up it's logic. 2022-12-18 14:03:07 +01:00
e61c80db0c Fix logic. 2022-12-18 13:17:58 +01:00
247676656f Fix potential infinite recursion. 2022-12-18 13:17:28 +01:00
56fb104e14 Update logic in UserManagerDB, as the default user id is -1 now. 2022-12-18 13:16:58 +01:00
70b8c7c047 Fix connecting a signal to a non existent method in UserManagerDB. 2022-12-18 11:56:16 +01:00
7c1f9f4c58 Remove unimplemented methods. 2022-12-18 11:54:45 +01:00
Rémi Verschelde
75bda24214 SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8ccd2c261ae7757a9b1fed1b6ada1c73)
2022-12-12 12:14:05 +01:00
Hugo Locurcio
e7f328d8d9 Document print_stack() and get_stack() requiring a debugger connection
(cherry picked from commit 530e31d4a38a6129c0b7ac7cbd9928788ed28e4b)
2022-12-12 12:11:56 +01:00
Ithamar R. Adema
1e1858ae15 Add 16-bits TGA support
(cherry picked from commit 200f6ac0894982b31c59acc11cd5f8d4f8971219)
2022-12-11 19:10:03 +01:00
Mark Riedesel
309d6ea5bc Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
(cherry picked from commit 5cb07486db6fc53cc5a13e3451dd451e987f39d7)
2022-11-30 19:22:42 +01:00
Haoyu Qiu
6126ddab8e Backport navigation crash fixes
Co-Authored-By: Sean <sean@geekotron.net>
2022-11-30 14:41:16 +01:00
311b5d446b Ported "[3.x] Fix wrong owner for editor plugin created nodes in instanced scene" for the skeleton editor aswell. 2022-11-30 14:33:08 +01:00
e0d09a2633 Clear using the color (0, 0, 0, 0), instead of (1, 1, 1, 0) in the paint module. 2022-11-28 15:02:02 +01:00
900605e2c9 Added a button that adds PaintCanvas to the PaintProjectToolsPropertyInspector. 2022-11-20 23:54:58 +01:00
13c45b16fa Add PaintProject Node instead of PaintCanvas when using the SceneTreeDock's root node button as intended. 2022-11-20 23:40:42 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
73a1c176b4 List all classes in the paint modules's config. 2022-11-20 23:26:31 +01:00
9dda076070 Moved the PaintEditorPlugin under the editor folder in the paint module. 2022-11-20 23:18:31 +01:00
6c0008a912 Added custom Paint, Web, and Mesh (MDI) nodes to the SceneTreeDock. 2022-11-20 23:16:20 +01:00
b823759397 Now PaintVisualGrid and PaintCanvasBackground inherits from PaintNode. 2022-11-20 21:42:04 +01:00
c0da82ab92 Also removed PaintSelectionBox. 2022-11-20 21:38:55 +01:00
1d7ad33407 Renamed on_paint_node_selected to set_paint_node in PaintCustomPropertyInspectors. 2022-11-20 21:23:00 +01:00
8c98ec9883 Removed now unneeded images from the paint module. 2022-11-20 21:19:53 +01:00
ff1dbced6d Removed PaintCanvasOutline and PaintColorGrid aswell. 2022-11-20 21:17:41 +01:00