Commit Graph

2915 Commits

Author SHA1 Message Date
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
5dc5aea278 Re-enable remote debugging in the android editor build. 2023-02-08 11:47:35 +01:00
21dfdd9455 Use bool instead of int for the new property. 2023-02-08 09:38:07 +01:00
0eb9d6648f Added a setting to force launch the project in an adjacent window in the android editor. 2023-02-08 09:25:47 +01:00
7f358b25a6 Fix missing import. 2023-02-07 10:38:29 +01:00
e9c3603024 Fix an another typo. 2023-02-07 09:46:51 +01:00
fdd62f1d9a Fix typo. 2023-02-07 08:55:00 +01:00
f05211351b Fix typos. 2023-02-07 03:09:55 +01:00
e3ecc9257f Updated the backport commits in the changelog file. 2023-02-07 03:04:54 +01:00
Danil Alexeev
4f04b2233b Fix wrong SpriteFrames docs 2023-02-07 03:03:34 +01:00
Hugo Locurcio
a744936512 Document image size restrictions for custom mouse cursors in HTML5
(cherry picked from commit 296b8f299a1653abcaf194f154c26af07581b000)
2023-02-07 03:03:18 +01:00
de642e971d Ported: Implement file provider capabilities. The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.
- m4gr3d
b04c9a71f4
2023-02-07 02:58:31 +01:00
Jóhannes Gunnar Þorsteinsson
d19c1fedfb Add independent spinbox arrow step precision
Backported from the `master` branch, with a property hint added.
2023-02-07 02:51:05 +01:00
db67fa53ea Ported: Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
- m4gr3d
8170b7ae1e
2023-02-07 02:50:11 +01:00
e6248b33ab Ported: Provide a delegate implementation for the killProcess logic on Android
The implementation forwards the kill request to the Godot host for handling. If the Godot host is unable to handle the request, it falls back to the `OS_Unix::kill(...)` implementation.
- m4gr3d
48a55ffad3
2023-02-07 02:44:47 +01:00
1f20512f8c Ported: Improve error messages and classref for occluders and portals
Misused functions would previously produce no error messages which was confusing for users.
- lawnjelly
5a0cb54b3a
2023-02-07 02:28:29 +01:00
2e7ee5cef6 Ported: Update the logic to calculate the screen scale on Android
Takes into account the ratio between the screen size and the default window dimensions.
- m4gr3d
48aedb239e
2023-02-07 02:22:44 +01:00
Jordan Schidlowsky
c2d57b6898 Windows: Fix heap overflow setting native icon
Fixes #71697.
2023-02-07 02:15:31 +01:00
3bd027f068 Ported: Add dumb theme item cache to Control
- YuriSizov, jordo
1647f4d85e
2023-02-07 02:11:52 +01:00
Hugo Locurcio
272d1af91c Document Environment's background_energy property affecting lighting
Godot 4.0 allows controlling ambient and specular light intensity
separately, but 3.x doesn't.
2023-02-07 02:00:15 +01:00
19baf2133a Ported: PopupMenu rework and enhancements
Many scrolling behaviour improvements and the ability to limit popup size.
- EricEzaM, rsubtil
6a5992c9f1
2023-02-07 01:59:27 +01:00
stmSi
a2661adba8 Suggest Filename in Remote Tree File Dialog 2023-02-07 01:09:03 +01:00
stmSi
a872971e46 Fixed: Save Branch as Scene not workking in Remote Tree (only work when u pause) 2023-02-07 01:08:29 +01:00
79842beb9a Ported: Expose OS.read_string_from_stdin() to the scripting API
This can be used in scripts to read user input in a blocking manner.
This also removes the unused `block` argument, which is always `true`.
- Calinou
badcfa2523
2023-02-07 01:07:31 +01:00
30d7a3c5a7 Backported: GLES2 fix octahedral half float unpacking
The strides in _unpack_half_floats() were incorrectly calculated in the case where octahedral normals and tangents were in use.
- lawnjelly
c6a428b3d6
2023-02-07 01:01:48 +01:00
33ab320721 Fix sprintf deprecation warning on osx. 2023-01-23 22:03:48 +01:00
b016f192a4 Now modules in custom folders can properly declare their copyright.txt. 2023-01-23 21:57:37 +01:00
d999f63cbd Cleanups and codestyle for the godot4 containers that I added in unmodified yesterday. 2023-01-16 22:09:32 +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
77ca3e3290 Added backport log. 2023-01-16 14:49:43 +01:00
8c9d7bc567 Ported: Set touch input as handled only after _gui_call_input - necrashter
147de75e52
2023-01-16 14:46:29 +01:00
5579d563bd Ported: Fix for PoolArray comparison - AThousandShips
f26069e94d
2023-01-16 14:35:23 +01:00
Haoyu Qiu
fb88b9813f Fix error when dropping script into script editor 2023-01-16 14:25:15 +01:00
lawnjelly
85a4c5369b Faster queue free
Calling queue_free() for large numbers of siblings could previously be very slow, with the time taken rising exponentially with number of children. This looked partly due to ordered_remove from the child list and notifications.

This PR identifies objects that are nodes, and sorts the deletion queue so that children are deleted in reverse child order. This minimizes the costs of reordering.
2023-01-16 14:24:25 +01:00