Commit Graph

35056 Commits

Author SHA1 Message Date
Rémi Verschelde f9b2429248
Merge pull request #74399 from necrashter/3.x-android-vk-height
[3.x] Use the new API for virtual keyboard height detection on Android, bugfix for old API
2023-03-06 12:38:27 +01:00
Rémi Verschelde 0cee4a85f5
Merge pull request #74284 from Calinou/doc-shell-open-uri-encode-3.x
Document using `String.percent_encode()` with `OS.shell_open()` (3.x)
2023-03-06 12:38:04 +01:00
Rémi Verschelde e8c9b251ef
Merge pull request #74196 from YeldhamDev/accent_backport
Backport a simpler version of the accent color for check icons
2023-03-06 12:37:41 +01:00
Rémi Verschelde b810045a12
Merge pull request #74128 from RedworkDE/net-debug-crash-3x
[3.x] C#: Fix crash when errors occur before language initialization.
2023-03-06 12:37:19 +01:00
Rémi Verschelde d627f4f80d
Merge pull request #74085 from AThousandShips/tree_set_selected_3_x
[3.x] Backport Tree::set_selected
2023-03-06 12:36:56 +01:00
Rémi Verschelde 02f3b4328a
Merge pull request #73851 from smix8/add_collision_exception_error_msg_3.x
[3.x] Add error messages for collision exception functions
2023-03-06 12:36:30 +01:00
Fredia Huya-Kouadio 0e2292f341 Configure maven central snapshot versions for the Godot Android library
A snapshot version is a version that has not yet been released which allows us to deploy the same transient version incrementally, without requiring projects to upgrade the artifact version they're consuming. Those projects can use the same version to get an updated snapshot version.
2023-03-06 01:29:41 -08:00
Rémi Verschelde 62b6529fed
CI: Pin SCons to 4.4.0, the new 4.5.0 is broken
(cherry picked from commit 85bb561713)
2023-03-06 10:10:45 +01:00
necrashter 9bdb585318
Use the new API for virtual keyboard height detection on Android, bugfix 2023-03-06 00:24:09 +03:00
Hugo Locurcio 1a6343729b
Document using `String.percent_encode()` with `OS.shell_open()` 2023-03-03 11:17:21 +01:00
Michael Alexsander 7173565250 Backport a simpler version of the accent color for check icons 2023-03-01 20:35:59 -03:00
RedworkDE 5766134610 [3.x] C#: Fix crash when errors occur before language initialization. 2023-02-28 23:01:24 +01:00
Ninni Pipping 8185fa8e2a [3.x] Backport Tree::set_selected
Backport function from godotengine#68448

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-02-27 20:26:15 +01:00
Ryan Roden-Corrent c3d9cc7068
Fix docs on multiplayer peer signals.
NetworkedMultiplayerPeerENet emits peer_connected and peer_disconnected
on both the client and the server:
6fed1ffa31/modules/enet/networked_multiplayer_enet.cpp (L268)

When trying to implement `NetworkedMultiplayerCustom`, I followed the
documentation and only emitted this signal on the server.
I ended up getting errors like:

```
Invalid packet received. Unabled to find requested cached node
```

While I didn't check other peer implementations, it seems that emitting
on both the client and server is required.

I copied the wording from the `master` branch documentation.

Here's some output from a test program with all the signals connected:
```
1948301815 got multiplayer.network_peer_connected from  1
1948301815 got peer.peer_connected from 1
1948301815 got multiplayer.connected_to_server
1948301815 got peer.connection_succeeded
1413532890 got multiplayer.network_peer_connected from  1
1413532890 got peer.peer_connected from 1
1413532890 got multiplayer.connected_to_server
1413532890 got peer.connection_succeeded
1 got multiplayer.network_peer_connected from  1413532890
1 got peer.peer_connected from 1413532890
1 got multiplayer.network_peer_connected from  1948301815
1 got peer.peer_connected from 1948301815
1413532890 got multiplayer.network_peer_connected from  1948301815
1413532890 got peer.peer_connected from 1948301815
1948301815 got multiplayer.network_peer_connected from  1413532890
1948301815 got peer.peer_connected from 1413532890
1 got multiplayer.network_peer_disconnected from  1948301815
1 got peer.peer_disconnected from 1948301815
1413532890 got multiplayer.network_peer_disconnected from  1948301815
1413532890 got peer.peer_disconnected from 1948301815
1 got multiplayer.network_peer_disconnected from  1413532890
1 got peer.peer_disconnected from 1413532890
```
2023-02-25 13:31:31 -05:00
Rémi Verschelde e90ac4b0e7
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
anvilfolk, Bromeon, Maran23, RedworkDE, snailrhymer, vonagam

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 6296b46008)
2023-02-24 14:52:25 +01:00
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