Commit Graph

59414 Commits

Author SHA1 Message Date
Adam Scott 1bf5756150
Add basic Emacs .gitignore entries
(cherry picked from commit 2696fee3c6)
2024-03-11 00:11:29 +01:00
A Thousand Ships 7ba594e52b
Fix `printf` for format checks
Prevents errors with input being invalid format strings

(cherry picked from commit 6da378afea)
2024-03-11 00:11:29 +01:00
Pedro J. Estébanez 06988f8cd7
Undefine yet another macro from Windows headers
(cherry picked from commit bcc96441d6)
2024-03-11 00:11:29 +01:00
Rémi Verschelde d14aeb3939
CI: Update mymindstorm/setup-emsdk to v14, should fix cache folder conflicts
https://github.com/mymindstorm/setup-emsdk/releases/tag/v14

Co-authored-by: Yuri Sizov <yuris@humnom.net>
(cherry picked from commit 35ef0b32b3)
2024-03-11 00:11:29 +01:00
bruvzg 6d7ff2e02a
[iOS] Update linker flags for Xcode 15.2.
(cherry picked from commit ac57f10f82)
2024-03-11 00:11:29 +01:00
Hugo Locurcio 0f394c0621
makerst: Suggest using `[code skip-lint]` to skip warnings if intended
(cherry picked from commit cd3078e45b)
2024-03-11 00:11:29 +01:00
Rémi Verschelde 2a8c429fcc
Merge pull request #89336 from akien-mga/4.2-ios-enable-storyboard-by-default
[4.2] iOS: Enable Storyboard launch screen by default
2024-03-10 00:15:00 +01:00
Rémi Verschelde 91c5d1e245
iOS: Enable Storyboard launch screen by default
LaunchImages are deprecated, and Storyboard is supported on all currently
supported iOS versions, so this should be the default.

LaunchImages support was removed in 4.3 with #86312.
2024-03-09 23:19:34 +01:00
Rémi Verschelde 6d96d87f23
Merge pull request #89047 from akien-mga/4.2-linux-export-preset-name-compat
[4.2] Linux: Handle export preset forward compat with 4.3+ platform name
2024-03-04 14:11:12 +01:00
Rémi Verschelde d534c67d91
Linux: Handle export preset forward compat with 4.3+ platform name 2024-03-01 15:50:46 +01:00
Rémi Verschelde 2fdeeead5b
Merge pull request #88916 from AThousandShips/tile_thread_fix_4_2
[4.2] Prevent threading problems in `TileMap`
2024-02-28 13:35:59 +01:00
Rémi Verschelde c44ae1fdd4
Merge pull request #88759 from AThousandShips/template_test_4_2
[4.2] Fix running tests in template builds
2024-02-28 13:35:34 +01:00
A Thousand Ships c17688fa6c
Fix running tests in template builds
Also fixes some errors with 3D disabled
2024-02-27 16:03:18 +01:00
A Thousand Ships 36e611fa83
Prevent threading problems in `TileMap` 2024-02-27 16:02:54 +01:00
Pedro J. Estébanez d8cbaa3a8b
Fix warning in MSVC
(cherry picked from commit fe8c217b7c)
2024-02-27 15:59:48 +01:00
Michael Wörner 7ca66462ac
Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream.
A zero-length memcpy into a null pointer itself does not fail, but for gcc with optimizations, this can cause incorrect code to be generated further down the line since the pointer is then assumed to be non-null.
Now stripping zero-length packets and pages without packets from the OggPacketSequence during import. This prevents various warning and error messages for files that end on a zero-length packet.

(cherry picked from commit a4db4ae658)
2024-02-27 15:45:39 +01:00
Rémi Verschelde 0dcadaf02a
i18n: Sync translations with Weblate
Last sync for 4.2, then moving to 4.3.
2024-02-21 15:25:20 +01:00
Rémi Verschelde 15a8022ec3
Merge pull request #88431 from vaartis/lightmap-gi-compat-docs
[4.2] Clarify that LightmapGI is not supported in compatibility renderer
2024-02-20 11:06:14 +01:00
Ekaterina Vaartis 71a6870c06 Clarify that LightmapGI is not supported in compatibility renderer 2024-02-17 13:07:20 +03:00
Rémi Verschelde 474589eb83
Merge pull request #87782 from aaronfranke/4.2-fix-crash-mesh-root
[4.2] Fix crash when previewing a scene with a mesh as the root node
2024-02-07 10:08:57 +01:00
Rémi Verschelde 991454b8bd
i18n: Sync translations with Weblate
Still tracking 4.2 translations for now.
2024-02-02 10:47:57 +01:00
Aaron Franke 424a6a6bf5
[4.2] Fix crash when previewing a scene with a mesh as the root node 2024-01-31 07:43:25 -06:00
Yuri Sizov c7fb0645af Add changelog for 4.2.2
Also bump the version year to 2024.
2024-01-25 21:02:49 +01:00
Yuri Sizov 7ecb58dfc5
Merge pull request #87589 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.2) - 2nd batch
2024-01-25 20:51:09 +01:00
A Thousand Ships e070bbc77e [C#] Fix `Encloses` failing on shared upper bound for `AABB` and
`Rect2(I)`

(cherry picked from commit 227a165ce4)
2024-01-25 18:56:36 +01:00
A Thousand Ships ad57a98eb0 [Core] Fix `AABB.encloses` failing on shared upper bound
This differs from `Rect2(i)` and was fixed for those classes in the past

(cherry picked from commit b4191bf8f6)
2024-01-25 18:56:36 +01:00
A Thousand Ships 881d253897 Fix some build errors with `disable_3d=Yes`
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`

(cherry picked from commit c6a1ae7875)
2024-01-25 18:55:00 +01:00
Alexander Hartmann 822b2b43a6 Fix 'get_window_safe_area' on Android
(cherry picked from commit d7c6ad2020)
2024-01-25 18:45:02 +01:00
Samuel Venable 6c8375b73d Fix NetBSD Executable Path
(cherry picked from commit 52da1e9b6b)
2024-01-25 18:45:02 +01:00
Gregory De Bonis ce42f8b4ec Wrong key mapping for XK_KP_Delete key
Fixes #86156

(cherry picked from commit 95bcf93849)
2024-01-25 18:45:02 +01:00
Micky a92a2015f0 Fix missing autocompletion for inheriting classes
(cherry picked from commit ca2f340384)
2024-01-25 18:45:01 +01:00
Micky 873a77d8e9 Add autocompletion options for AnimatedSprite's other play methods
(cherry picked from commit d5a7c7818c)
2024-01-25 18:45:01 +01:00
Danil Alexeev c35e05e7b1 GDScript: Fix accessing static function as `Callable` in static context
(cherry picked from commit 10dcb21d8b)
2024-01-25 18:45:01 +01:00
Haoyu Qiu beadc92e4f Clear sub-resources list when no sub-resource exists
(cherry picked from commit 6e49ff91c0)
2024-01-25 18:32:37 +01:00
Mika Viskari c2d38b4388 Fix invalid frame index when Sprite2D's hframes or vframes has been changed
(cherry picked from commit 484c5b5aff)
2024-01-25 18:32:37 +01:00
Yuri Sizov eb25ef6062 Optimize scanning routines in the project manager
(cherry picked from commit 3d4b33df33)
2024-01-25 18:32:37 +01:00
Danil Alexeev ee1034d355 GDScript: Fix POT generator skips some nodes
(cherry picked from commit 1aa242f7c4)
2024-01-25 18:32:37 +01:00
jsjtxietian bce0ada5f4 Prompt require editor restart to user when gizmo color changed
(cherry picked from commit b0ccd5c84f)
2024-01-25 18:32:37 +01:00
kobewi 06a94ecc14 Load project metadata file only when needed
(cherry picked from commit 3dc47b0b84)
2024-01-25 18:32:36 +01:00
jsjtxietian a47a07d13b Fix FileAccessPack::get_buffer will update pos past the length of file
(cherry picked from commit 68a6fe81ab)
2024-01-25 18:32:36 +01:00
eldidou b34af3aa5a Speed up GDScript::get_must_clear_dependencies()
get_must_clear_dependencies() has a N^3*log(N) time complexity, and this can very quickly slow down the quitting process as more gdscripts are added in a project.
This change improves it to N^2*log(N).
Instead of using all the inverted dependencies, we do the same with all (non-inverted) dependencies, which is N times faster.

Fixes #85435

(cherry picked from commit 0d77c3e092)
2024-01-25 18:32:36 +01:00
Saracen 49031b24e5 Fix setting bezier track handle mode from inspector.
(cherry picked from commit 09a4aa3ce8)
2024-01-25 18:32:36 +01:00
kobewi 1f677eb279 Properly select the newly duplicated file
(cherry picked from commit 0ae1241304)
2024-01-25 18:32:36 +01:00
Nancy Zhang 88526a23a5 Fix unable to deselect audio effects
(cherry picked from commit cf39cc985b)
2024-01-25 18:32:36 +01:00
wilto938 6a2a048753 Reset TileMap editor `drag_type` by using the _stop_dragging() function when the toolbar mode is not selected
(cherry picked from commit 5a3de5bc30)
2024-01-25 18:32:36 +01:00
detomon 4bc567d27a Fix creating and updating plugin with dot in folder name
(cherry picked from commit 46253bd9e9)
2024-01-25 18:32:36 +01:00
Yuri Sizov 5dbe105f22 Fix theme access in the Groups editor
(cherry picked from commit 0244f8318f)
2024-01-25 18:32:36 +01:00
Emily 5573f37ff3 Change suffix from m to px
(cherry picked from commit b7d5f3e984)
2024-01-25 18:32:36 +01:00
kevmorg 8633f7bcdb Hide Node dock successfully on undo/redo and deletion
Fixes #84530.

(cherry picked from commit da84489b27)
2024-01-25 18:32:35 +01:00
kleonc 6e6d49c68a Fix ColorPicker's alpha slider arrow offset
(cherry picked from commit d76d8c5f29)
2024-01-25 18:32:35 +01:00