Commit Graph

35016 Commits

Author SHA1 Message Date
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
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
bruvzg 18ee8da7d6
Add audio/general/text_to_speech project setting to enable/disable TTS. 2023-05-26 20:57:29 +03:00
Fredia Huya-Kouadio ccd36e0dbe Improve touchpad and mouse support for the Android editor 2023-05-25 20:09:35 -07:00
Rémi Verschelde a810c8c5f6
Update changelog for Godot 3.6 beta 2 2023-05-25 13:52:13 +02:00
Rémi Verschelde fc58d93176
Merge pull request #77454 from m4gr3d/update_alpha_status_code_3x
[3.x] Update the format for the app version code and name
2023-05-25 09:26:13 +02:00
Fredia Huya-Kouadio 3bef5f29ec Update the format for the app version code and name 2023-05-24 14:40:37 -07:00
Rémi Verschelde 68c507f59b
Merge pull request #77387 from akien-mga/3.x-gdnative-core-1-4
[3.x] GDNative: Add Core API 1.4, move `Transform2D::determinant` there
2023-05-23 19:05:37 +02:00
Rémi Verschelde 474265701f
Merge pull request #77349 from akien-mga/3.x-bullet-3.25
[3.x] bullet: Sync with upstream 3.25
2023-05-23 19:05:35 +02:00
Rémi Verschelde 88189c6c5d
Merge pull request #77281 from MJacred/3.x-cherrypick
[3.x] Warn against using non-uniform scale for 3D physics (in  class reference only)
2023-05-23 19:05:32 +02:00
Rémi Verschelde 894739109d
Merge pull request #77245 from novalis/slider-3.5
[3.x] Stop dragging when Slider changes editability
2023-05-23 19:05:29 +02:00
Rémi Verschelde 63bb2485f1
Merge pull request #77232 from AThousandShips/id_doc_3_x
[3.x] Clarify range of various ID values are 32 bit
2023-05-23 19:05:27 +02:00
Rémi Verschelde f1fa69a58d
Merge pull request #76753 from Calinou/itemlist-tree-add-allow-search-property-3.x
Add allow_search property to ItemList and Tree (3.x)
2023-05-23 19:05:25 +02:00
Rémi Verschelde 5f4fb87327
Merge pull request #76723 from aaronfranke/3.x-ancestortecedent
[3.x] Fix small mistake in docs, "antecedents" -> "ancestors"
2023-05-23 19:05:23 +02:00
kobewi 95feb6bb82 Cache text property when toggling BBCode 2023-05-23 19:04:39 +02:00
Rémi Verschelde 1bc03d9d65
GDNative: Add Core API 1.4, move `Transform2D::determinant` there
It was added in #77283 but broke compatibility by being introduced in
an already released core API (1.0).

Fixes #77283.
2023-05-23 11:47:31 +02:00
Rémi Verschelde b958e8a236
bullet: Sync with upstream 3.25
Remove upstreamed patch.
2023-05-22 15:10:57 +02:00
MJacred 1c63c54ab3 [3.x] Warn against using non-uniform scale for 3D physics (in class reference only)
partial backport of #67847
fixes #56824
2023-05-20 18:48:34 +02:00
David Turner f6b918a1ca Stop dragging when a slider changes editability 2023-05-19 11:31:34 -04:00
Ninni Pipping 96ad972dc5 [3.x] Clarify range of various ID values are 32 bit 2023-05-19 17:23:11 +02:00
Rémi Verschelde 1538b870f1
Merge pull request #76715 from m4gr3d/add_input_event_cancelled_state_3x
[3.x] Augment the `InputEvent` class with a `CANCELED` state
2023-05-17 18:21:42 +02:00
Rémi Verschelde e5e73e7068
Merge pull request #74583 from m4gr3d/setup_play_store_builds_3x
[3.x] Update the gradle build tasks to generate play store builds.
2023-05-17 18:21:36 +02:00
Rémi Verschelde 4cc2229a52
Merge pull request #72251 from RandomShaper/robust_sync_3.x
[3.x] Backport some multi-threading goodies
2023-05-16 13:16:25 +02:00
Rémi Verschelde 567128b64f
Merge pull request #76671 from dioptryk/obj-vertex-colors
[3.x] Add vertex color support to OBJ importer
2023-05-15 09:42:06 +02:00
Fredia Huya-Kouadio 94d6c3dcc6 Augment the `InputEvent` class with a `CANCELED` state
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field.
This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled.
To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
2023-05-12 15:22:54 -07:00
Rémi Verschelde 716fef79ef
Merge pull request #76962 from akien-mga/3.x-linux-joypad-skip-udev-if-sandboxed
[3.x] Linux: Don't use udev for joypad hotloading when running in a sandbox
2023-05-12 16:39:55 +02:00
Rémi Verschelde bf56a3a143
Merge pull request #76902 from lawnjelly/safe_acos
[3.x] Make acos and asin safe
2023-05-12 12:45:30 +02:00
Rémi Verschelde 8a23fa41a8
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
2023-05-12 11:30:33 +02:00
Rémi Verschelde 3762fe3d9d
Merge pull request #76981 from m4gr3d/fix_input_anr_3x
[3.x] Fix input ANR in the Godot Android editor
2023-05-12 11:16:15 +02:00
Fredia Huya-Kouadio 2509c1691d Follow up to https://github.com/godotengine/godot/pull/76400 to fix input ANR in the Godot Android editor 2023-05-11 19:10:31 -07:00
Unai Martinez-Corral c4becb0ca4
[ci/web] update mymindstorm/setup-emsdk to v12
(cherry picked from commit dcb974700b)
2023-05-11 21:06:07 +02:00
lawnjelly 6f8e632848 Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-05-11 09:51:44 +01:00