Commit Graph

35131 Commits

Author SHA1 Message Date
Hugo Locurcio 174851755c
Document the database for `Input.get_joy_name()` and `Input.get_joy_guid()`
(cherry picked from commit 922d2b7034)
2023-08-28 17:27:15 +02:00
Dominik e62f087bf8
Added a few additional GUIDs to list of hardcoded IDs in is_xinput_device
(cherry picked from commit 19ce63d875)
2023-08-28 17:27:15 +02:00
kobewi 6e4cee09dc
Add mono audio support to WASAPI
(cherry picked from commit 8d010b44c1)
2023-08-28 17:27:15 +02:00
HK-SHAO 52832053a0
Fix the Python type error when creating the .sln file
(cherry picked from commit 19a8efc875)
2023-08-28 17:27:15 +02:00
Alex Drozd cd18ba3fce
add venv and .venv to the .gitignore
(cherry picked from commit a6fda19e85)
2023-08-28 17:27:15 +02:00
stmSi 96d658638a
Added note to used set_deferred while setting scroll values in _ready function.
(cherry picked from commit 83626ab90d)
2023-08-28 17:27:15 +02:00
Omar Shehata 42d2187f38
Fix double tap & drag on Android
(cherry picked from commit 0c94750642)
2023-08-28 17:27:15 +02:00
Roman Vasilyev 93913e8d5c
ios splash screen rotation fix
(cherry picked from commit 8fcca194a1)
2023-08-28 17:27:14 +02:00
Ninni Pipping ff486f333d
Add information about how `Engine.time_scale` affects Timers
(cherry picked from commit 16a1465380)
2023-08-28 17:27:14 +02:00
Hugo Locurcio 42a51390a4
Document custom mouse cursors larger than 128×128 potentially having issues
(cherry picked from commit 92730fb07d)
2023-08-28 17:27:14 +02:00
Paweł 0426e2b407
Fix Windows StringFileInfo structure
(cherry picked from commit e15a086bb9)
2023-08-28 17:27:14 +02:00
Riteo Siuga 5c9809ced7
Convert the logo's text outlines into paths
This avoids rendering issues with ThorVG and other renderers (which
don't support the `paint-order` property) at a slight cost in file size.

This approach has already been used by the main icon.

(cherry picked from commit af9372eb59)
2023-08-28 17:27:14 +02:00
Bartłomiej T. Listwon 4d8510f9b9
Fix moving position indicator out of bounds in FileAccessMemory
(cherry picked from commit bff0c71e2e)
2023-08-28 17:27:14 +02:00
Yuri Sizov 59f98e3f69
Prevent color conversion of the big Godot logo
Use an off-white color from the palette that we explicitly don't convert.

(cherry picked from commit ce741df43d)
2023-08-28 17:27:14 +02:00
Hugo Locurcio 9cde5e2977
Document how to use logarithm of base 10 with `log()`
(cherry picked from commit 3c4f0ca9c6)
2023-08-28 17:27:13 +02:00
Paweł 268f83e07f
Fix scrolling behaviour with low page value
(cherry picked from commit 1608bea188)
2023-08-28 17:27:13 +02:00
Haoyu Qiu d6221bd614
Notify child controls when BackBufferCopy's rect changed
(cherry picked from commit 602a0d2fbc)
2023-08-28 17:27:13 +02:00
Haz e3be3fbc59
Fix mesh library remove selected item menu option
Fixes #45969.

(cherry picked from commits 189acbee60
and aa9d2149e7)
2023-08-28 17:27:13 +02:00
Rémi Verschelde 47e64671f6
Merge pull request #81026 from Razoric480/raz/use_resource_cache
[3.x] Make binary resource loader utilize loaded external resources
2023-08-28 14:49:13 +02:00
Rémi Verschelde fcaf4c7d28
Merge pull request #80888 from dalexeev/3.x-core-array-and-dictionary-recursive-hash
[3.x] Core: Add recursion level check for `Array` and `Dictionary` hashing
2023-08-28 11:57:06 +02:00
Francois Belair 17d8c09a8c Actually use loaded resource cache 2023-08-27 09:22:32 -04:00
Danil Alexeev 68e8c1bb8f
[3.x] Core: Add recursion level check for `Array` and `Dictionary` hashing 2023-08-22 15:07:53 +03:00
Rémi Verschelde 17b403af81
Merge pull request #80843 from lawnjelly/fix_gles3_wrapper_init
[3.x] Initialize `GLWrapper` earlier in `Storage::initialize()`
2023-08-21 11:16:54 +02:00
lawnjelly 857d884026 Initialize `GLWrapper` earlier in `Storage::initialize()`
Make sure `GLWrapper` is initialized before `glActiveTexture` is called by other parts of the storage initialize(), to prevent benign warnings.
2023-08-21 08:51:47 +01:00
Rémi Verschelde 840fdb7468
Merge pull request #80495 from sk757a/3.x
[3.x] Fix Tween cheatsheet URL
2023-08-18 17:59:54 +02:00
Rémi Verschelde cf4ccdfb09
Merge pull request #79598 from TokageItLab/orderdhashmap-blendtree
[3.x] Make AnimationNodeBlendTree use `OrderedHashMap` insteads `Map`
2023-08-18 17:52:15 +02:00
sk757a 2dea8b3c34
Fix Tween cheatsheet URL 2023-08-18 13:12:36 +02:00
Rémi Verschelde 98976f9260
Merge pull request #80652 from Benedani/3.x_fix_gles2_skinning
[3.x] GLES2: Make GPU skinning more consistent with GLES3
2023-08-16 17:14:22 +02:00
Rémi Verschelde dcb097c7a1
Merge pull request #80481 from lawnjelly/clay_unbind_textures
[3.x] Unbind texture slots when changing framebuffer
2023-08-16 17:13:56 +02:00
Rémi Verschelde d61eba57ed
Merge pull request #80622 from akien-mga/3.x-scons-disable-exception-handling
[3.x] SCons: Disable C++ exception handling
2023-08-16 17:12:04 +02:00
Rémi Verschelde 55550da68b
SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:34:10 +02:00
The Benedani a66e8a29a7 GLES2: Make GPU skinning more consistent 2023-08-15 12:59:39 +02:00
Rémi Verschelde 21ab700f2d
Merge pull request #80406 from lawnjelly/animated_sprite_normal_fix
[3.x] Fix AnimatedSprite normal map loading
2023-08-15 09:04:35 +02:00
Rémi Verschelde c685501f51
Merge pull request #80325 from lawnjelly/fti2d_check_skel_attach
[3.x] Hierarchical culling - Add extra check to `skeleton_attach_canvas_item`
2023-08-15 09:04:09 +02:00
lawnjelly 5e197fd21e Unbind texture slots when changing framebuffer
Prevent bugs whereby texture still in use.
2023-08-12 11:07:13 +01:00
Rémi Verschelde 9435c38b95
Merge pull request #80400 from timothyqiu/eof-debugger
[3.x] Fix infinite loop on EOF in the command line debugger
2023-08-08 14:29:07 +02:00
Rémi Verschelde 75f427b8af
Merge pull request #80294 from Birdulon/PAlatency
[3.x] PulseAudio: Remove `get_latency()` caching
2023-08-08 14:28:45 +02:00
Rémi Verschelde 95877b8e1f
Merge pull request #80289 from lawnjelly/fti_2d_reset_on_enter
[3.x] Physics Interpolation 2D - reset on NOTIFICATION_ENTER_TREE
2023-08-08 14:28:23 +02:00
Rémi Verschelde da5c95c5d8
Merge pull request #80239 from bruvzg/macos_export_backports
[3.x] [macOS] Backport notarytool, provisioning profile and PKG export options.
2023-08-08 14:28:00 +02:00
Rémi Verschelde b8ff6190a8
Merge pull request #80176 from lawnjelly/fti_2d_particles
[3.x] Physics Interpolation - add support for CPUParticles2D
2023-08-08 14:27:38 +02:00
Rémi Verschelde 39ed0811e1
Merge pull request #80106 from lawnjelly/hier_multimesh_culling
[3.x] Fix 2D MultiMesh hierarchical culling
2023-08-08 14:27:15 +02:00
Rémi Verschelde 08832a00bf
Merge pull request #80072 from RedworkDE/3x-localize-win-path
[3.x] Fix `ProjectSettings::localize_path` for Windows paths
2023-08-08 14:26:53 +02:00
Rémi Verschelde 62216ae043
Merge pull request #72661 from DeeJayLSP/backport_audio_icons
[3.x] Backport AudioStream icons from 4.0
2023-08-08 14:26:25 +02:00
lawnjelly d02b319ec4 Fix AnimatedSprite normal map loading
Normal map names are now correctly set up during loading.
2023-08-08 09:42:55 +01:00
Simon Barkehanai d1dcea79d4 Fix infinite loop on EOF in the command line debugger
When using the command line debugger (godot -d) on Unix systems, when
entering an EOF (ctrl+D), the debugger enters an infinite loop.

Adding a check for EOF in the debugger loop exits the debugger when EOF
is entered.

Fixes #50170.

(cherry picked from commit 4ecad8dea3)
2023-08-08 11:27:17 +08:00
bruvzg 40490bb626
[macOS] Back-port notarytool, provisioning profile and PKG export options. 2023-08-07 08:41:37 +03:00
lawnjelly d7cca42ef6 Hierarchical culling - Add extra check to skeleton_attach_canvas_item
Although this check shouldn't be able to fail currently, it provides a small level of extra logic checking at only small cost in DEV builds.
2023-08-06 10:03:49 +01:00
Luke Hubmayer-Werner d90626f583 PulseAudio: Remove get_latency() caching 2023-08-05 20:25:06 +09:30
lawnjelly bcfca5ec86 Physics Interpolation 2D - reset on NOTIFICATION_ENTER_TREE
As a convenience, physics interpolation is reset automatically on entering the tree. This will be desired in most situations, and saves the user having to write code for this explicitly.
2023-08-05 08:33:19 +01:00
lawnjelly a117a3307a Physics Interpolation - add support for CPUParticles2D
Similar to the existing 3D CPUParticles physics interpolation.
2023-08-03 14:44:08 +01:00