Commit Graph

70738 Commits

Author SHA1 Message Date
84c53607ab Etcpak: Sync with upstream 2025-01-09 19:29:58 +01:00
0257995616 Merge pull request #101354 from Ivorforce/animation-clear-template
Replace `Animation::_clear()` with explicit `.clear()` calls.
2025-01-09 17:07:27 +01:00
5240e60509 Merge pull request #101344 from DarioSamo/union-order-fix
Fix union order to simplify empty initializers.
2025-01-09 17:07:23 +01:00
7285e89407 Merge pull request #101343 from DarioSamo/shader-reflection-fix
Fix duplicated spec constant on SPIR-V reflection.
2025-01-09 17:07:20 +01:00
d5b73e2742 Merge pull request #100307 from akien-mga/mp3-load_from_file
Add AudioStreamMP3 `load_from_file`/`load_from_buffer` and harmonize other audio streams
2025-01-09 17:07:16 +01:00
dcb4e5b22a Replace Animation::_clear() with explicit .clear() calls. 2025-01-09 16:43:57 +01:00
4396f8fbd3 Add AudioStreamMP3 load_from_file/load_from_buffer and harmonize other audio streams
Move OggVorbis and MP3 loading code to their AudioStream class, matching how it's done for WAV.

The duplicate functions in ResourceImporterOggVorbis are now deprecated.

Co-authored-by: MaxIsJoe <34368774+MaxIsJoe@users.noreply.github.com>
2025-01-09 15:46:04 +01:00
0e06eb80bc Fix union order to simplify empty initializers. 2025-01-09 10:39:13 -03:00
1af1edf60c Fix duplicated spec constant on SPIR-V reflection. 2025-01-09 10:27:38 -03:00
0e3a5eda86 Merge pull request #101335 from Rocka06/spriteframes-duplicate-line
Fix frame list icon mode is set two times
2025-01-09 13:51:20 +01:00
3c1c538b68 Merge pull request #101330 from Hakunamawatta/patch-1
Fix typo in Basis `get_rotation_quaternion` doc
2025-01-09 13:51:17 +01:00
cb483e53ca Merge pull request #101327 from Repiteo/scons/specify-module-optional-dependencies
SCons: Specify optional dependencies for modules
2025-01-09 13:51:14 +01:00
67294625a4 Merge pull request #101315 from Rocka06/spriteframes-plugin-duplicate-style
Fix duplicate buttons style to match the other buttons in the SpriteFrames editor plugin
2025-01-09 13:51:10 +01:00
1f675e67db Merge pull request #101278 from bruvzg/ed_prop_nt_dict
Fix non-typed Dictionary keys displayed as `<null>` in the inspector.
2025-01-09 13:51:07 +01:00
d164f05dda Merge pull request #101263 from mateuseap/fix/os_shell_open
Fix example in `OS.shell_open()` method documentation and add a new one
2025-01-09 13:51:03 +01:00
a0de7d0e01 Merge pull request #101257 from SteffenBlake/remote-debug-windows-battery-fix
Windows: Update export script's task to work even on battery power
2025-01-09 13:50:59 +01:00
3ac4da1620 Merge pull request #101233 from Ivorforce/utf8-multicall
Optimize calls of `utf8` in a few spots to avoid calling it more than once.
2025-01-09 13:50:55 +01:00
2e657bf2ae Merge pull request #101205 from voylin/get_visible_line_count_fix
Fix `get_visible_line_count` in RichTextLabel
2025-01-09 13:50:51 +01:00
ef9f0aefd0 Merge pull request #101175 from wareya/wrap_perf_fix
Fix large `TextEdit` width resize performance when wrapping disabled
2025-01-09 13:50:46 +01:00
6d7ddfcd1b Merge pull request #101093 from KoBeWi/infinite_menu_entropy
Reorganize EditorNode menu options
2025-01-09 13:50:42 +01:00
fcc9e3a711 Merge pull request #96785 from akien-mga/scons-lto-use-thinlto-llvm
SCons: Make `lto=auto` prefer ThinLTO over full LTO for LLVM targets
2025-01-09 13:50:39 +01:00
26db0bb15f SCons: Make lto=auto prefer ThinLTO over full LTO for LLVM targets
This speeds up build time considerably for these platforms compared to
using `lto=full`, which is sadly single-threaded with LLVM, unlike GCC.

Changes to default behavior of `lto=auto` (i.e. `production=yes`):
- Linux: Prefer ThinLTO for LLVM
- Web: Prefer ThinLTO
- Windows: Prefer ThinLTO for llvm-mingw

The following LLVM targets don't use LTO by default currently, which
needs to be assessed further (gains from LLVM LTO on performance need
to be weighed against the potential size increase from heavy inlining):
- Android
- iOS
- macOS
- Windows clang-cl
2025-01-09 13:03:58 +01:00
a52291fcba LightmapGI: Fix another missing include to check for lightmapper_rd in editor 2025-01-09 12:53:12 +01:00
24eadaa6a4 Reorganize EditorNode menu options 2025-01-09 12:21:56 +01:00
eb4a9977c3 Merge pull request #101323 from demolke/modenable
LightmapGI: Including `modules_enabled.gen.h` to properly check the configuration warning
2025-01-09 11:17:42 +01:00
837d093470 Merge pull request #101322 from akien-mga/scons-fix-colorless-print-methods
SCons: Fix missing context for `print_info`/`warning`/`error` when colors are off
2025-01-09 11:17:38 +01:00
c657178606 Merge pull request #101299 from Calinou/doc-tilemaplayer-tutorials
Add TileMap tutorials to TileMapLayer class reference
2025-01-09 11:17:35 +01:00
e1a1acc66b Merge pull request #101279 from akien-mga/audio-pitch-shift-fix-gcc-warning
Fix GCC warning about potential stringop-overflow in AudioEffectPitcShift
2025-01-09 11:17:31 +01:00
a682b076d7 Merge pull request #101223 from kiroxas/fixWrongIfConditionIn#100549
Fix wrong condition in `NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-09 11:17:28 +01:00
65cf7c1d5e Merge pull request #101221 from bruvzg/win_dec_exp
[Window] Expose `start_drag` and `start_resize` methods (for both native and embedded windows).
2025-01-09 11:17:24 +01:00
2db8f8837e Merge pull request #101125 from axunes/master
macOS: Allow running unpacked game files from .app bundle resources
2025-01-09 11:17:20 +01:00
a7052a2bd0 Merge pull request #101033 from Ivorforce/string-count-avoid-copy
Optimize `_count` by replacing a full copy with a CoW copy for the full-string count case.
2025-01-09 11:17:17 +01:00
892f77d5af Merge pull request #100052 from akien-mga/scons-linux-relax-freetype-libpng-zlib-deps
Linux: Relax interdependency between freetype, libpng, and zlib for unvendored builds
2025-01-09 11:17:13 +01:00
b8860f1c11 Fix non-typed Dictionary keys displayed as <null> in the inspector. 2025-01-09 11:38:17 +02:00
7c3d46004b removed duplicate set_icon_mode 2025-01-09 09:59:15 +01:00
2a3e0d47ea LightmapGI: Including modules_enabled.gen.h to properly check the configuration warning 2025-01-09 09:55:28 +01:00
1250d98d19 Fix typo in Basis get_rotation_quaternion doc 2025-01-09 17:09:32 +11:00
f1f33169d9 SCons: Specify optional dependencies for modules 2025-01-08 21:59:18 -06:00
b8c52f16e2 Fix large LineEdit x resize perf when wrapping disabled 2025-01-08 21:24:49 -05:00
3e333df623 fix get_visible_lint_count in RichTextLabel 2025-01-09 10:24:52 +09:00
8c6dbff6d3 Merge pull request #101316 from Repiteo/ci/problem-matchers-color
CI: Ensure problem matchers handle colored output
2025-01-09 00:42:33 +01:00
f83919c088 Merge pull request #101311 from TokageItLab/fix-lookat-rest
Fix `LookAtModifier3D` rest space incorrect rotation
2025-01-09 00:42:29 +01:00
2a2adfa36c Merge pull request #101267 from Summersay415/angle-libs
Fix ANGLE and D3D12 libraries inclusion in .zip export
2025-01-09 00:42:25 +01:00
8e0f498400 Merge pull request #101266 from WhalesState/color-picking-fix
Fix color picking on Linux/X11.
2025-01-09 00:42:22 +01:00
4d77bbf490 Merge pull request #100069 from allenwp/editor-shortcuts-undo-fix
Fix undo behavior on `EditorSettingsDialog::_update_builtin_action`.
2025-01-09 00:42:18 +01:00
ffcd9eb630 SCons: Fix missing context for print_info/warning/error when colors are off 2025-01-09 00:34:17 +01:00
7fe0609118 Linux: Relax interdependency between freetype, libpng, and zlib for unvendored builds
This restriction was added to fix #7373 back then, which was a symbol conflict
between FreeType's bundled copy of gzip/zlib, and distro packages.

But we also unbundled FreeType's zlib in #69395 so this is no longer an issue.

On the other hand recent issues pointed out that using system-provided icu4c
or harfbuzz can cause issues (#91401, #100301). We still allow it for now but
raise a warning.
2025-01-09 00:28:46 +01:00
88c457efc3 CI: Ensure problem matchers handle colored output 2025-01-08 15:19:48 -06:00
25e0278525 fixed duplicate buttons style to match the other buttons in the SpriteFrames editor plugin 2025-01-08 21:58:34 +01:00
6f3cc27423 Merge pull request #101178 from BlueCube3310/web-high-quality
Web: Export ASTC/BPTC compressed textures
2025-01-08 21:48:13 +01:00