Commit Graph

35303 Commits

Author SHA1 Message Date
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
Rémi Verschelde d644de8088
Merge pull request #76226 from paddy-exe/fix-node-position-view-3.x
[3.x] Fix `NODE_POSITION_VIEW` shader built-in
2023-06-07 14:46:24 +02:00
Rémi Verschelde f742d98679
Merge pull request #75959 from ShadyChibinko/tab_metadata_3x
[3.x] Add tab Metadata to Tabs & TabContainer
2023-06-07 14:46:21 +02:00
Rémi Verschelde eeca70f843
Merge pull request #70502 from HolonProduction/svg_assets_3.x
[3.x] Add support for svg images in the asset lib.
2023-06-07 14:46:14 +02:00
Rémi Verschelde 34bde7a6f9
Merge pull request #74765 from SysError99/3.x
[3.x] Improve tooltip for CanvasLayer.layer
2023-06-07 14:05:24 +02:00
Rémi Verschelde 7653ed0158
Merge pull request #72127 from JuanFdS/3.x
[3.x] Test, refactor and fix a bug in Basis.get_axis_angle
2023-06-07 13:51:07 +02:00
fabriceci 8245fd3275
Test, refactor and fix a bug in Basis.get_axis_angle
Backport of #63428.

Co-authored-by: juanFdS <juan9794@gmail.com>
2023-06-07 13:47:47 +02:00
David Turner d0019e431d [Linux/TTS] Remove unused code
In 4.x, we need to find out what language is being used, so that
we can break words.  In 3.x, we assume that spaces spearate words.

So we do not need to find the language for the current voice.
2023-06-06 11:29:43 -04:00
Rémi Verschelde 1d8b701da0
Merge pull request #75370 from AThousandShips/nodepath_doc_fix_3_x
[3.x] Fix `NodePath` subname index range documentation
2023-06-02 17:21:01 +02:00
Rémi Verschelde f753aec703
Merge pull request #73942 from rcorre/fix_peer_signal_docs
[3.x] Fix docs on multiplayer peer signals.
2023-06-02 17:20:56 +02:00
Rémi Verschelde 56df1841f1
Merge pull request #64585 from dsnopek/multiplayer-custom-docs-improvements-2
[3.x] Update NetworkedMultiplayerCustom.xml with more explicit documentation to guide usage
2023-06-02 17:20:51 +02:00
Rémi Verschelde 9cbf7971e4
Merge pull request #77684 from m4gr3d/fix_editor_audio_stream_microphone_crash_3x
[3.x] Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone
2023-06-01 00:32:27 +02:00
Ricardo Subtil 7fdfed2a9e Fix PopupMenu's maximum height not being automatically set 2023-05-31 10:53:09 +01:00
Fredia Huya-Kouadio 9c334fa242 Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone
Fixes https://github.com/godotengine/godot/issues/73801
2023-05-31 00:21:57 -07:00
Rémi Verschelde b71701714f
Merge pull request #77497 from m4gr3d/improve_keyboard_mouse_support_3x
[3.x] Improve touchpad and mouse support for the Android editor
2023-05-28 12:03:09 +02:00
Rémi Verschelde 8a417f32bc
Merge pull request #77352 from bruvzg/tts_disable_3
[3.x] Add audio/general/text_to_speech project setting to enable/disable TTS.
2023-05-26 21:08:48 +02:00