Commit Graph

35041 Commits

Author SHA1 Message Date
smix8 c7a92f68a1 Add error messages for collision exception functions
Adds error messages to collision exception functions when used with the wrong object/node instead of failing silently.
2023-02-24 00:36:30 +01:00
BZ1234567890 0a85e4db71 iOS: Implement missing gamepad.buttonOptions, buttonMenu, and buttonHome joy buttons 2023-02-22 21:14:54 +01:00
lawnjelly ca823e16e4
Merge pull request #73629 from lawnjelly/bvh_mutex_fix_3
[3.x] BVH - fix lockguards for multithread mode
2023-02-20 17:26:14 +00:00
lawnjelly 5639be5f4f BVH - fix lockguards for multithread mode
Due to a lack of variable name, the BVH lock guards lifetimes previously did not cover the whole function call.
2023-02-20 15:43:19 +00:00
Pedro J. Estébanez 32a9227f5b Robustify multi-threading primitives 2023-02-17 19:16:10 +01:00
Rémi Verschelde 0cba0a0032
Merge pull request #73218 from akien-mga/3.x-fix-tileset-collisionshape-resize
[3.x] TileSet: Fix resizing collision shape when vertex is outside the tilesheet
2023-02-17 12:15:50 +01:00
Rémi Verschelde 89788cdcc2
Merge pull request #70514 from stmSi/fix-editor-hanging-audio-pitch-scale-nan
[3.x] Fix hanging if audiostream's pitch_scale is NaN
2023-02-17 12:15:27 +01:00
Rémi Verschelde 8adf26540c
Merge pull request #69200 from tbveralrud/ios-touch-leak-fix-3.x
iOS: Fix memory leak on touch input [3.x]
2023-02-17 12:15:00 +01:00
Travis Veralrud 28b11a0785 iOS: Fix memory leak on touch input
Replaces iOS gesture with touch implementation

Fixes #66422

Remove godot_view_gesture_recognizer

It's now unused.

Remove input_devices/pointing/ios/touch_delay

Unused with removal of gesture.

Remove unused methods from interface

Implementation made obsolete in prior commit

Style conformance
2023-02-15 21:38:55 -08:00
Aaron Franke 50b45d6b17
Merge pull request #73251 from aaronfranke/3.x-viewport-doc
[3.x] Improve the clarity of Viewport's documentation
2023-02-15 16:25:36 -06:00
Aaron Franke 1949b7c652
[3.x] Improve the clarity of Viewport's documentation 2023-02-13 16:23:07 -06:00
DashCell 424bda217c
TileSet: Fix resizing collision shape when vertex is outside the tilesheet
Fixes #34970.
2023-02-13 13:20:48 +01:00
Rémi Verschelde 8104416337
Merge pull request #73127 from akien-mga/uwp-google-angle
UWP: Fix build with Google ANGLE not supporting EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER
2023-02-13 13:09:29 +01:00
Rémi Verschelde bd177bb1cd
Merge pull request #73126 from akien-mga/uwp-clipboard-fix
UWP: Fix app crash when `managed_object->update_clipboard()` is called
2023-02-13 13:09:05 +01:00
Rémi Verschelde b53302891a
Merge pull request #73206 from akien-mga/3.x-rtl-custom_effects-fix-hint
RichTextLabel: Fix hint string for custom_effects property
2023-02-13 13:08:36 +01:00
Rémi Verschelde 48217503c5
Merge pull request #68576 from Maran23/rich-text-label-bbcode-color-tag-fix
[3.x] Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
2023-02-13 13:08:13 +01:00
Rémi Verschelde 91006a4e6b
Merge pull request #73199 from m4gr3d/fix_scene_tree_long_press_rename_conflicts_3x
[3.x] Fix the issue causing long-press on a selected node on the scene tree to trigger both the context menu and the rename functionality
2023-02-13 13:07:47 +01:00
Rémi Verschelde 77bac1310c
Merge pull request #72958 from lawnjelly/android_update_vital_only
Default update_vital_only to true for Android and Web editor
2023-02-13 13:06:58 +01:00
Rémi Verschelde 32b3ef7727
RichTextLabel: Fix hint string for custom_effects property
Fixes #73190.
2023-02-13 09:26:32 +01:00
Fredia Huya-Kouadio 6528f984fe Fix the issue causing long-press on a selected node on the scene tree to trigger both the context menu and the rename functionality 2023-02-12 21:20:51 -08:00
lawnjelly fda3acd94d
Merge pull request #73070 from winterpixelgames/bugfix/linebuilder_box_uvs_3.x
[3.x] Fix Line2D UVs when using BOX end cap mode
2023-02-12 18:35:53 +00:00
Antokolos eebc983df8
UWP: Fix build with Google ANGLE not supporting EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER
EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER is not present in Google ANGLE,
and Microsoft ANGLE is outdated and not supported anymore.
2023-02-11 22:52:37 +01:00
Antokolos f5693969f0
UWP: Fix app crash when `managed_object->update_clipboard()` is called 2023-02-11 22:50:32 +01:00
Brian Semrau 70316aab91 Fix Line2D UVs when using BOX end cap mode 2023-02-10 20:45:31 -05:00
lawnjelly 0876a16bde Default update_vital_only to true for Android and Web editor
Android devices will typically be powered from battery. This PR defaults the editor on Android to use `update_vital_only` mode, using as little power as possible, in order to conserve battery.
Also shows the update spinner by default, to emphasize that vital updates only is occurring, and allow easy switching out of the mode.
2023-02-09 17:58:18 +00:00
Rémi Verschelde 7722461dc5
Merge pull request #72496 from m4gr3d/implement_file_provider_3x
[3.x] Implement file provider capabilities
2023-02-01 13:06:55 +01:00
Rémi Verschelde 617f5c5580
Merge pull request #64424 from RandomShaper/safe_input_synth_3.x
[3.x] Warn users about unsafe usage of `InputEvent`
2023-02-01 13:06:32 +01:00
Rémi Verschelde 44656e8328
Merge pull request #72386 from smix8/navigation_config_warnings_3.x
Fix navigation related nodes not propagating parent class config warnings
2023-02-01 13:06:06 +01:00
Rémi Verschelde fb846d3522
Merge pull request #71425 from Calinou/spinbox-add-independent-arrow-step-3.x
Add independent spinbox arrow step precision
2023-02-01 13:05:43 +01:00
Fredia Huya-Kouadio b04c9a71f4 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.
2023-02-01 01:01:20 -08:00
Fredia Huya-Kouadio aed400cce2
Merge pull request #71654 from m4gr3d/increase_scroll_bar_size_for_touchscreen_3x
[3.x] Update the size of the scrollbar for the editor on touchscreen devices
2023-01-31 21:52:03 -08:00
Pedro J. Estébanez 9cd84224bd Warn users about unsafe usage of InputEvent 2023-01-31 14:41:27 +01:00
smix8 b5213cceac Fix navigation related nodes not propagating parent class config warnings
Fixes that navigation related nodes do not propagate config warnings from their parent classes.
2023-01-30 16:26:42 +01:00
Pedro J. Estébanez 7d135cb962 Fix code style and consistency of RWLock and Semaphore 2023-01-28 14:17:51 +01:00
Rémi Verschelde 9b0f0a7136
Merge pull request #72110 from m4gr3d/implement_godot_editor_3_kill_process
[3.x] Provide a delegate implementation for the `killProcess` logic on Android
2023-01-26 13:21:55 +01:00
Rémi Verschelde 768e998b7a
Merge pull request #71966 from lawnjelly/occluder_portal_index_docs
Improve error messages and classref for occluders and portals
2023-01-26 13:21:52 +01:00
Rémi Verschelde a8c829cd91
Merge pull request #71880 from dsnopek/webxr-godot3-world-scale
Correctly apply world_scale in WebXR (Godot 3.x)
2023-01-26 13:21:47 +01:00
Fredia Huya-Kouadio 48a55ffad3 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.
2023-01-26 03:33:22 -08:00
Fredia Huya-Kouadio 71654485b8
Merge pull request #71969 from m4gr3d/update_godot_editor_label_3x
Update the Godot Android Editor name from `Godot Editor` to `Godot Editor 3`
2023-01-25 09:15:13 -08:00
lawnjelly 5a0cb54b3a Improve error messages and classref for occluders and portals
Misused functions would previously produce no error messages which was confusing for users.
2023-01-24 14:05:48 +00:00
Fredia Huya-Kouadio e59752bcb7 Update the Godot Android Editor name from `Godot Editor` to `Godot Editor 3`
Keep things consistent with the label used for `Godot Editor 4`, and avoid user confusion regarding the different versions of the engine.
2023-01-24 05:11:08 -08:00
David Snopek 82be475a85 Correctly apply world_scale in WebXR 2023-01-23 17:27:44 -06:00
Rémi Verschelde 5a7997c794
Merge pull request #71838 from m4gr3d/fix_godot_editor_cropping_3x
[3.x] Update the logic to calculate the screen scale on Android
2023-01-23 22:28:32 +01:00
Rémi Verschelde 627d688c80
Merge pull request #71699 from jordo/PR-windows-heap-overflow-fix
Windows: Fix heap overflow setting native icon
2023-01-23 22:24:01 +01:00
Rémi Verschelde 93c76825ce
Merge pull request #64329 from jordo/fix/control-theme-cache
[3.x] Add theme item cache to `Control`
2023-01-23 22:23:33 +01:00
Yuri Sizov 1647f4d85e Add dumb theme item cache to Control
(cherry picked from commit 9f88300007)

Co-authored-by: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
2023-01-23 10:31:17 -06:00
Jordan Schidlowsky 86945ffc78 Windows: Fix heap overflow setting native icon
Fixes #71697.
2023-01-23 10:25:44 -06:00
Rémi Verschelde ae47e1d37c
Merge pull request #71889 from Calinou/doc-environment-background-energy
Document Environment's `background_energy` property affecting lighting
2023-01-23 17:04:25 +01:00
Rémi Verschelde dd7f517407
Merge pull request #66711 from rsubtil/port_popup_menu_rework
[3.x] PopupMenu rework and enhancements
2023-01-23 17:04:17 +01:00
Rémi Verschelde d4da275969
Merge pull request #69367 from dogboydog/3.x_csharp_build_exit_code
3.x Exit editor with non-zero return code if --build-solutions fails
2023-01-23 17:03:50 +01:00