Commit graph

35064 commits

Author SHA1 Message Date
Rémi Verschelde
078e1b9f45
Merge pull request #79498 from lawnjelly/multirect_fix_flushing
[3.x] MultiRect - Fix flushing in TextEdit
2023-08-02 17:27:35 +02:00
Rémi Verschelde
fa04a839bb
Merge pull request #79433 from raulsntos/3x/dotnet/dont-ignore-call-error
[3.x] C#: Print error when MethodBind call fails
2023-08-02 17:27:12 +02:00
Rémi Verschelde
c8295720e4
Merge pull request #76252 from lawnjelly/fti_2d
[3.x] 2D Fixed Timestep Interpolation
2023-08-02 17:26:50 +02:00
Rémi Verschelde
91e3a53518
Merge pull request #69101 from marcinn/3.x-backport-proposal-5748-loading-dds-at-runtime
[3.x] Backport implement loading DDS textures at run-time
2023-08-02 17:26:26 +02:00
lawnjelly
5162efbfe9 2D Fixed Timestep Interpolation
Adds support to canvas items and Camera2D.
2023-08-01 16:07:48 +01:00
lawnjelly
8814578ceb MultiRect - Fix flushing in TextEdit
The FontDrawer used in TextEdit was previously not being flushed before drawing auto-completion boxes. This was causing rendering artifacts.
This PR also increases the backward compatibility of the MultiRect OFF mode, by forcing a flush after each character.
2023-07-15 14:02:21 +01:00
Raul Santos
4ff8d92ee6
C#: Print error when MethodBind call fails 2023-07-13 19:43:20 +02:00
Rémi Verschelde
ac5d7dc821
Merge pull request #78113 from lawnjelly/scu_build_3
[3.x] Add support for single compilation unit builds
2023-07-03 20:17:00 +02:00
lawnjelly
43e181a00a Single Compilation Unit build.
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-07-02 20:13:16 +01:00
Rémi Verschelde
29eeb461f2
Merge pull request #68738 from lawnjelly/faster_canvas_item
[3.x] Canvas item hierarchical culling
2023-06-27 08:40:22 +02:00
Rémi Verschelde
05e2912ea2
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
ajreckof, AThousandShips, bitsawer, hakro, mihe, nongvantinh

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 2930fbeecd)
2023-06-26 18:48:34 +02:00
Rémi Verschelde
d85cf41665
Merge pull request #78703 from Calinou/update-gamepad-button-axis-names
[3.x] Update gamepad button/axis names to match 4.0
2023-06-26 18:05:09 +02:00
Rémi Verschelde
fea94b5a0d
Merge pull request #78661 from AThousandShips/doc_node_path_3_x
[3.x] Add example for `NodePath` to grandparent
2023-06-26 18:04:46 +02:00
Hugo Locurcio
eb2518f462
Update gamepad button/axis names to match 4.0 2023-06-26 09:46:02 +02:00
Ninni Pipping
b3ebc80feb [3.x] Add example for NodePath to grandparent 2023-06-25 10:30:47 +02:00
Rémi Verschelde
7cfd984e73
Merge pull request #78464 from AThousandShips/string_slice_doc_3_x
[3.x] Clarify `String.get_slice` behavior
2023-06-20 13:04:11 +02:00
Ninni Pipping
dec7cb5548 [3.x] Clarify String.get_slice behavior
Clarify that the function returns the whole string if there is no
instances of the delimiter in the string.
2023-06-20 10:41:53 +02:00
Rémi Verschelde
cb6ec43a7d
Merge pull request #78439 from akien-mga/spatial-fix-overwriting-local-transform
Fix overwriting of Spatial's local transform
2023-06-19 21:11:55 +02:00
Maganty Rushyendra
7958ceaab8
Fix overwriting of Spatial's local transform
Modifies when 'DIRTY_LOCAL' flag is set to prevent a transform applied
using `set_transform` to be overwritten by previous calls to change the
node's rotation, translation or scale.

Fixes #43130.
2023-06-19 16:18:51 +02:00
Rémi Verschelde
df39eacec2
Merge pull request #78307 from m4gr3d/cleanup_launch_flow_3x
[3.x] Add parameters for the Godot Activity starting intent to allow restarting or force-quitting the engine
2023-06-16 16:57:21 +02:00
Fredia Huya-Kouadio
5cf0ba88e3 Add parameters for the Godot Activity starting intent to allow restarting or force-quitting the engine
Follow-up code cleanup for https://github.com/godotengine/godot/pull/78130
2023-06-15 21:45:30 -07:00
Rémi Verschelde
9ba9a41766
Merge pull request #78220 from raulsntos/dotnet/reserved-assembly-name-3.x
[3.x] C#: Avoid GodotSharp as project assembly name
2023-06-15 15:55:19 +02:00
Rémi Verschelde
3b3c5f413e
Merge pull request #77979 from paddy-exe/video-loop-fix
[3.x] Backport video loop property and fix for initial black frame
2023-06-15 15:55:14 +02:00
Raul Santos
06c0a1abc9
C#: Avoid GodotSharp as project assembly name
The name GodotSharp conflicts with the name of the Godot assembly,
this causes the project assembly to be ignored.
2023-06-15 11:45:18 +02:00
Rémi Verschelde
b91d8d49fa
Merge pull request #78182 from godotengine/revert-63193-visibility_enabler2
Revert "Add option in VisibilityEnabler2D to hide the parent for better performance"
2023-06-13 16:03:30 +02:00
Rémi Verschelde
0d01ef3b2d
Merge pull request #78169 from bruvzg/3x_kbd
[X11] Use current keyboard layout in OS_X11::keyboard_get_scancode_from_physical.
2023-06-13 14:37:18 +02:00
Rémi Verschelde
60a7b83fbf
Merge pull request #78047 from jeronimo-schreyer/expose_code_editor
[3.x] Expose the TextEdit control of the script editor
2023-06-13 14:37:15 +02:00
Rémi Verschelde
f3680a2412
Merge pull request #77428 from AThousandShips/atlas_mesh_fix_3_x
[3.x] Bounds fixes in `TextureAtlas` import
2023-06-13 14:37:13 +02:00
Rémi Verschelde
da35288d4e
Merge pull request #77040 from lawnjelly/input_just_pressed
[3.x] Input - fix just pressed and released with short presses
2023-06-13 14:37:10 +02:00
Rémi Verschelde
4b5e94dd07
Merge pull request #71533 from wareya/tile_fallback_3x
[3.x] Make autotiles fall back to the most similar bitmask
2023-06-13 14:37:04 +02:00
Rémi Verschelde
eaca9a17c3
Revert "Add option in VisibilityEnabler2D to hide the parent for better performance" 2023-06-13 14:25:19 +02:00
bruvzg
9461923eff
[X11] Use current keyboard layout in OS_X11::keyboard_get_scancode_from_physical. 2023-06-13 09:29:08 +03:00
lawnjelly
63d208d1b0 Input - fix just pressed and released with short presses
Previously if an action was both pressed and released on the same tick or frame, `is_action_just_pressed()` would return false, resulting in missed input.

This PR separately the timestamp for pressing and releasing so each can be tested independently.
2023-06-12 16:33:48 +01:00
Fredia Huya-Kouadio
f386252dde
Merge pull request #78130 from m4gr3d/fix_open_new_project_3x
[3.x] Fix issue causing the last edited project to open while switching to another one
2023-06-12 08:18:55 -07:00
Fredia Huya-Kouadio
ee07f60b07 Fix issue causing the last edited project to open while switching to another one.
Fixes https://github.com/godotengine/godot/issues/76562
2023-06-11 23:19:02 -07:00
Fredia Huya-Kouadio
f3026c2aa0
Merge pull request #78085 from m4gr3d/fix_multitouch_detection_spatial_viewport_3x
[3.x] Fix spatial viewport multitouch detection support
2023-06-11 18:08:30 -07:00
wareya
a40ecc71e6 move autotile fallback helper functions + fix comments and docs 2023-06-10 12:17:57 -04:00
Fredia Huya-Kouadio
8f44765831 Fix spatial viewport multitouch detection support
Regression introduced by https://github.com/godotengine/godot/pull/77497
2023-06-10 08:52:26 -07:00
wareya
73ad6517e4 make autotiles fall back to the most similar bitmask using heuristics 2023-06-09 22:27:19 -04:00
Rémi Verschelde
b3396b093b
Merge pull request #78048 from AThousandShips/wav_trim_3_x
[3.x] Fix trim when importing WAV
2023-06-09 15:40:38 +02:00
Ninni Pipping
5cd47a1984 [3.x] Fix trim when importing WAV 2023-06-09 15:28:33 +02:00
Jeronimo Schreyer
a248c318de Expose the TextEdit control of the script editor
Refactor ScriptEditor and ScriptTextEditor with added method to retrieve the script editor's TextEdit control.

Update
doc/classes/ScriptEditor.xml
script_editor_plugin.cpp
script_editor_plugin.h
script_text_editor.cpp
script_text_editor.h
2023-06-09 10:07:38 -03:00
Rémi Verschelde
cebaa3f763
Merge pull request #78018 from Calinou/test-basis-fix-build
Fix compilation of basis unit test
2023-06-09 11:36:33 +02:00
Hugo Locurcio
d1c8c5dd30
Fix compilation of basis unit test 2023-06-08 21:57:59 +02:00
Rémi Verschelde
b822463965
Merge pull request #77677 from m4gr3d/android_editor_split_screen_setting_3x
[3.x] Add setting to control the window used to run the project for the Android editor
2023-06-08 09:06:55 +02:00
Fredia Huya-Kouadio
b5a908c985 Add setting to control the window used to run the project for the Android editor
The follow options were added to the (new) `run/window_placement/android_window` editor setting:

- `Auto`: choose how to run the project based on the device screen size
- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
2023-06-07 18:20:14 -07:00
Patrick
58d76c117e [3.x] Backport VideoLooping and fix for initial black frame 2023-06-07 21:36:37 +02:00
Rémi Verschelde
687746bed6
Merge pull request #77775 from novalis/backport-tts-cache
[3.x] Linux: Cache TTS voice list.
2023-06-07 14:46:32 +02:00
Rémi Verschelde
b15f7c1319
Merge pull request #77691 from rsubtil/fix_popupmenu_auto_height
[3.x] Fix `PopupMenu`'s automatic max height
2023-06-07 14:46:30 +02:00
Rémi Verschelde
450902ad3f
Merge pull request #77403 from KoBeWi/RichHackLabel
[3.x] Cache text property when toggling BBCode
2023-06-07 14:46:27 +02:00