Commit graph

35110 commits

Author SHA1 Message Date
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
Ninni Pipping
e34619a605 [3.x] Bounds fixes in TextureAtlas import 2023-05-26 10:15:06 +02: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
Rémi Verschelde
df4075604e
Merge pull request #76867 from Calinou/doc-3d-particles-color-3.x
Document 3D particle color properties requiring vertex color as albedo (3.x)
2023-05-09 10:55:48 +02:00
Rémi Verschelde
6fc3fb5d62
Merge pull request #76775 from lawnjelly/multirect_refine_bug
Multirect - Fix refining regions in derived Textures
2023-05-09 10:43:37 +02:00
Hugo Locurcio
c65967c17f
Document 3D particle color properties requiring vertex color as albedo 2023-05-09 00:55:19 +02:00
Fredia Huya-Kouadio
f9ae38d87c
Merge pull request #73692 from m4gr3d/update_touchscreen_editor_settings_3x
[3.x] Enable granular control of touchscreen related settings
2023-05-08 09:10:36 -07:00
lawnjelly
43b6205887 Multirect - Fix refining regions for all derived Textures
Fixes allowing all derived texture types to modify region prior to rendering.
2023-05-08 14:48:46 +01:00
Rémi Verschelde
627a2909c2
Merge pull request #76833 from kleonc/gridcontainer-max-row-column-calculations-fix
[3.x] Fix `GridContainer` max row/column calculations not skipping hidden children
2023-05-08 15:06:28 +02:00
Rémi Verschelde
e250950760
Merge pull request #76703 from kleonc/tilemap-nested-atlas-texture-rendering-fix
[3.x] Fix rendering tiles using nested AtlasTextures
2023-05-08 14:58:07 +02:00
Rémi Verschelde
281e5703b1
Merge pull request #76544 from AThousandShips/bit_poly_size_3_x
[3.x] Fix size error in `BitMap.opaque_to_polygons`
2023-05-08 14:58:04 +02:00
Rémi Verschelde
793a45dbbd
Merge pull request #76400 from RandomShaper/fix_android_input_anr_3.x
[3.x] Allow concurrent buffering and dispatch of input events
2023-05-08 14:58:02 +02:00