Commit Graph

6652 Commits

Author SHA1 Message Date
2114489e23 [Core] Fix ResourceLoader.load cache with relative paths
Paths were not simplified meaning that `res://foo.bar` was treated
differently from `./foo.bar` and similar

(cherry picked from commit 0274877def)
2024-04-08 15:48:30 +02:00
6f339b07f0 Fix Resource::get_rid override not working in GDExtension
(cherry picked from commit c2be2dfbde)
2024-04-08 15:48:30 +02:00
bfc72801fd Ignore ERR_FILE_CANT_OPEN error when loading scene
(cherry picked from commit f0cbd388dc)
2024-04-08 15:48:30 +02:00
dc865a1ec6 Don't abort loading when ext_resource is missing
(cherry picked from commit 1de0415118)
2024-04-08 15:48:30 +02:00
063edcbe3b [Core] Prevent further infinite recursion when printing errors
(cherry picked from commit 14897f6dd7)
2024-04-08 15:48:28 +02:00
d02b38d411 Add null check for gdextension deinitialization
(cherry picked from commit dc4c6cfb9b)
2024-03-11 23:26:08 +01:00
16d154e8fd Fix GLTF exporting invalid meshes and attempting to export gizmo meshes
(cherry picked from commit 2d38c980ee)
2024-03-11 23:25:27 +01:00
b3fa724e9d Expose NOTIFICATION_EXTENSION_RELOADED to ClassDB
(cherry picked from commit fee70558f8)
2024-03-11 23:22:11 +01:00
02e6c0ab95 Fix String::begins_with when both strings are empty
(cherry picked from commit 3026b566b0)
2024-03-11 18:08:11 +01:00
5cc432e7a1 Push p_original_path into load_paths_stack and sub_tasks instead of p_path.
(cherry picked from commit 7565d1f3ab)
2024-03-11 18:03:24 +01:00
ACB
f4106e5fb3 Fix FileAccessMemory off by one error in eof_reached
(cherry picked from commit 2561f6fc52)
2024-03-11 18:02:59 +01:00
c00caa766e add check for negative buffer_size inside start_(de)compression method.
(cherry picked from commit da886006a0)
2024-03-11 18:02:44 +01:00
2042283d32 Explicitly initialize all of FileAccess::create_func[ACCESS_MAX]
(cherry picked from commit 2dae53c316)
2024-03-11 18:02:27 +01:00
16f3652d10 Fix inaccuracies in the report of leaked objects
(cherry picked from commit a04a67ead6)
2024-03-11 18:01:54 +01:00
a5aa6910bc Avoid regressing in progress reporting in resource load
(cherry picked from commit f5ca58d32f)
2024-03-11 17:59:25 +01:00
e35e97f027 [Pseudolocalization] Prevent out of bounds reads.
(cherry picked from commit e7bdb60e56)
2024-03-11 17:58:58 +01:00
7691c5fccd Initialize pointers in a_star.cpp
(cherry picked from commit b6a53e62bc)
2024-03-11 17:58:44 +01:00
486998bee5 fix: data race in PagedArray
(cherry picked from commit 70bfd5d065)
2024-03-11 17:58:04 +01:00
04c312fbc9 Include name field in MethodInfo operator ==
(cherry picked from commit 179c92eb0b)
2024-03-11 17:57:25 +01:00
3971cbcff0 Fix gdextension_compat_hashes.cpp for double precision builds
(cherry picked from commit 445e3018f5)
2024-03-11 17:48:39 +01:00
630b0a00e2 Hint fallback property as node when it is a node
(cherry picked from commit e7c90e0884)
2024-03-11 17:40:28 +01:00
adf759cec0 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@232c738ce0

(cherry picked from commit 10445d80d8)
2024-03-11 15:00:42 +01:00
06988f8cd7 Undefine yet another macro from Windows headers
(cherry picked from commit bcc96441d6)
2024-03-11 00:11:29 +01:00
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
a92a2015f0 Fix missing autocompletion for inheriting classes
(cherry picked from commit ca2f340384)
2024-01-25 18:45:01 +01:00
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
3a8c04ea3c Add PackedRealArray as an alias for Vector<real_t>
(cherry picked from commit 3f469ee485)
2024-01-25 18:08:46 +01:00
cf767ddf29 Fix operator documentation in GDExtension API dump with docs
The type of the right operand is now taken into account.

(cherry picked from commit 82afe58aca)
2024-01-25 17:38:15 +01:00
c285b726bb Fix file disappearing when renaming dependencies
(cherry picked from commit 397f0b31e4)
2024-01-25 17:19:41 +01:00
0224a60b43 Added error to catch conversion on invalid image
(cherry picked from commit dec2269bca)
2024-01-24 15:56:50 +01:00
4cadc50bf7 Do not reload resources and send notification if locale is not changed.
(cherry picked from commit 829349d2ca)
2023-12-07 10:27:09 +01:00
b959ab9848 Fix property groups overriding real properties
(cherry picked from commit decf3b21ae)
2023-12-07 10:27:08 +01:00
4564a8513a Correctly check scripts that must inherit EditorPlugin
Also updates some error messages related to this kind of check
across the codebase.

(cherry picked from commit bc1949d797)
2023-12-07 10:27:06 +01:00
b5e7b2c7a7 [Core] Fix crash when hashing empty CharString
(cherry picked from commit ca5ec6aec1)
2023-12-07 10:27:05 +01:00
6cfe17cbcf [Core] Prevent infinite recursion when printing errors
(cherry picked from commit d10617bb3b)
2023-12-07 10:27:05 +01:00
013c119100 Fix crash when using incompatible versions of Godot Jolt 2023-12-05 12:31:55 +01:00
ec052cd38a Add unsigned char cast ifdef. 2023-11-29 11:59:18 +02:00
4247244071 Merge pull request #85280 from bruvzg/custom_call_read_after_free
Prevent read-after-free in the queued CallableCustomStaticMethodPointer.
2023-11-24 00:00:52 +01:00
eb81e8b2dc Prevent read-after-free in the queued CallableCustomStaticMethodPointer. 2023-11-23 23:22:08 +02:00
bfe66ab7cd Fixup thread-owned lambda bookkeeping on thread exit (take 2) 2023-11-23 18:50:20 +01:00
fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
47c7abc212 Merge pull request #84973 from dsnopek/gdextension-fix-compat-hashes
Check that `GDExtensionCompatHashes` are valid when generating `extension_api.json`
2023-11-16 14:53:39 +01:00
6ae6cc0bf5 Merge pull request #84815 from TokageItLab/array-animation
Rework blending method in `Variant` animation for `Int`/`Array`/`String`
2023-11-16 14:52:00 +01:00
5cf6d08dda Check that GDExtensionCompatHashes are valid when generating extension_api.json 2023-11-16 06:40:06 -06:00
80c9533810 Rework blending method in Variant animation for Int/Array/String 2023-11-16 21:37:18 +09:00
5b6f641e99 Fix sizeof usage for Variant pointers in alloca
Coverity report this as a non portable usage of sizeof
2023-11-16 07:13:14 +11:00
dcee5cf9fa Merge pull request #84884 from akien-mga/donors-sync-new-tiers
Donors: Change tiers to match Dev Fund, sync latest data
2023-11-14 19:31:50 +01:00
a28476d1cd Merge pull request #84847 from RandomShaper/lang_init_term
Let languages init & finish run without locks held
2023-11-14 19:31:37 +01:00
ff5ac866e8 Donors: Change tiers to match Dev Fund, sync latest data
The new list includes all donors listed on fund.godotengine.org,
together with the ones still on Patreon on matching tiers.

We haven't yet updated Patreon tiers to match the Dev Fund, so donors
who used to be listed under "Silver donors" are now grandfathered under
the "Gold members" category from the Dev Fund.
2023-11-14 15:40:44 +01:00
40cdd22d57 Merge pull request #84873 from bruvzg/locale_rempas
Fix remapped font reloading on locale change.
2023-11-14 12:17:39 +01:00