lawnjelly
26405db222
Merge pull request #95791 from timothyqiu/split-empty-3.x
...
[3.x] Fix `split_floats` behavior when spaces are used as separators
2024-09-24 14:32:12 +01:00
lawnjelly
8c444fb9c9
Merge pull request #96862 from lawnjelly/selfdestruct_correctness
...
[3.x] `Object::call()` prevent debug lock accessing dangling pointer
2024-09-12 12:18:04 +01:00
lawnjelly
0ccd559d17
`Object::call()` prevent debug lock accessing dangling pointer
...
Self deleting an object within a call was leading to crashes due to referencing freed memory, due to a raw pointer stored in the debug lock.
Co-authored-by: RandomShaper <pedrojrulez@gmail.com>
2024-09-12 08:46:27 +01:00
Haoyu Qiu
905e8a39bf
Fix parsing of `4.` in Expression
2024-09-12 09:48:20 +08:00
Haoyu Qiu
a808f3e877
Fix split_floats behavior when spaces are used as separators
2024-08-19 15:14:10 +08:00
lawnjelly
3771078c02
Verify GLTF indices to prevent crash with corrupt files
...
Also verify prior to vertex optimization.
2024-07-31 10:39:17 +01:00
lawnjelly
250a7d8788
Physics Interpolation - Fix `Transform2D::interpolate_with()`
...
Ports the `interpolate_with()` routine from 4.x which works correctly with skew.
2024-07-02 07:42:08 +01:00
lawnjelly
0b30d77384
Physics Interpolation - refactor `Camera` and fix `get_camera_transform()`
...
* Moves 3D Camera interpolation scene side.
* Automatically switches `get_camera_transform()` to report interpolated transform during `_process()`.
* Fixes `ClippedCamera` to work with physics interpolation.
2024-06-09 12:08:27 +01:00
Haoyu Qiu
a5c8106f92
Fix GCC 14 -Wtemplate-id-cdtor warnings
...
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2024-05-11 15:07:19 +08:00
Fabio Alessandrelli
63cecb7875
[Core] Use unztell64 in FileAccessZIP to ensure 64 bit return
...
(cherry picked from commit efccebd3db
)
2024-05-01 12:09:31 +02:00
Haoyu Qiu
ed952f82bd
Add is_zero_approx methods to Vector{2,3}
2024-04-10 19:02:42 +08:00
lawnjelly
1a9b5b7c99
Merge pull request #88345 from SysError99/3.x-get_or_add
...
[3.x] Add a `get_or_add` method to Dictionary
2024-04-04 13:04:16 +01:00
A Thousand Ships
3fb36bf395
[Core] Codestyle improvements to math types
2024-03-17 09:22:18 +01:00
SysError99
b3f93ad127
[3.x] Add a `get_or_add` method to Dictionary
...
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-02-15 19:49:43 +07:00
lawnjelly
0aa22b8f13
Vertex cache optimizer
...
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
Rémi Verschelde
f61e2491e1
Update `year` property in `version.py` to 2024
...
Seems like we missed this one when changing the copyright statements
to use `present` instead of the hardcoded `year`.
And backport other minor improvements from #87543 .
2024-01-25 13:38:03 +01:00
Rémi Verschelde
f706a3bd54
Web: Clarify that `OS.get_unique_id` is not supported
...
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.
Fixes #82439 .
(cherry picked from commit 0a10f09ce4
)
2024-01-18 16:19:43 +01:00
Rémi Verschelde
8bec4b6456
zlib/minizip: Update to version 1.3
...
Remove `infback.c` which we don't need.
The `OF` macro was also removed so I can drop the patch where I yell
at Gentoo developers.
(cherry picked from commits e0e1f2e4a2
and 071499ac0d
)
2024-01-18 16:19:32 +01:00
Rémi Verschelde
9d69e7aba3
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.
(cherry picked from commit ff5ac866e8
)
2024-01-18 16:10:45 +01:00
A Thousand Ships
9aa001fe14
[Core] Fix AABB.encloses failing on shared upper bound
...
This differs from `Rect2` and was fixed for those classes in the past
2024-01-14 13:36:05 +01:00
Cody Roberts
739d27ae40
Add project settings for AVAudioSessionCategory on iOS
...
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2024-01-10 13:33:11 +01:00
Bastien JAUNY
d214867a7e
Fix unitialized variables in `core`
2024-01-05 11:47:46 +01:00
Rémi Verschelde
1fe73d4feb
Merge pull request #85917 from akien-mga/3.x-fix-Wtype-limits-gcc-arm64
...
[3.x] Fix various GCC 13 warnings
2023-12-11 20:02:09 +01:00
Rémi Verschelde
bfc4baa289
Merge pull request #84934 from Faless/fix/file_get_buffer
...
[3.x] [Core] Fix `File.get_buffer` returning wrong length
2023-12-08 15:41:39 +01:00
Rémi Verschelde
02e4e208ef
Fix various GCC 13 warnings
...
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-08 15:32:59 +01:00
Fabio Alessandrelli
d8ea68d3dd
[Core] Fix File.get_buffer returning wrong length
...
File.get_buffer always returned as many bytes as requested (even when
EOF was reached), this resulted in random bytes being returned when
overflowing.
2023-11-15 12:49:01 +01:00
Angad Kambli
fe79dc90fc
Check parameter validity in `Object::set_script`
...
Fixes #46120 .
(cherry picked from commit 9c6c2f09e0
)
2023-10-30 14:51:07 +01:00
Rémi Verschelde
fe7ed984b5
Merge pull request #82512 from Rindbee/fix-axis-being-mixed-up-in-3.x
...
[3.x] BVH - fix axis getting mixed up when split leaf
2023-10-01 22:51:46 +02:00
风青山
ab76395144
[3.x] BVH - fix axis getting mixed up when split leaf
...
Split preferentially on longest axis, rather than shortest axis.
2023-09-29 14:35:33 +08:00
风青山
01c60dc9ee
[3.x] BVH - fix not refitting upward from leaf nodes
...
Fix leaf node possibly not updating aabb due to wrong node id.
Additionally, when requesting a new leaf, mark `dirty` as `false` in `clear()`.
2023-09-29 05:54:47 +08:00
Rémi Verschelde
5279566a1b
Merge pull request #81117 from AThousandShips/object_register_fix_3_x
...
[3.x] Add check to ensure registered classes are declared
2023-09-06 13:04:46 +02:00
Rémi Verschelde
2a6c7fc9f0
Merge pull request #81114 from dalexeev/3.x-core-add-recursion-check-for-variant-writer
...
[3.x] Core: Add recursion level check for `VariantWriter::write()`
2023-09-06 13:04:23 +02:00
Rémi Verschelde
54738d3195
Revert "Backport implement loading DDS textures at run-time"
...
This reverts commit 22468ea1d3
.
See #81126 for rationale.
2023-09-01 08:47:25 +02:00
A Thousand Ships
4b205afd3d
Add check to ensure registered classes are declared
...
Checks that all classes registered to `ClassDB` have been properly declared with `GDCLASS`
2023-08-29 13:13:42 +02:00
Danil Alexeev
0213cbbf20
[3.x] Core: Add recursion level check for `VariantWriter::write()`
2023-08-29 14:10:11 +03:00
Yuri Rubinsky
c269e9243b
Fix crash when calling `fill` method on an empty `Image`
...
(cherry picked from commit adec51cde8
)
2023-08-29 12:03:30 +02:00
Paweł
0426e2b407
Fix Windows StringFileInfo structure
...
(cherry picked from commit e15a086bb9
)
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
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
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
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
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
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
Rémi Verschelde
dfed698ee3
Merge pull request #79706 from puzzud/3.x
...
[3.x] Prevent double input events on gamepad when running through steam input
2023-08-02 17:29:55 +02:00
Rémi Verschelde
c8295720e4
Merge pull request #76252 from lawnjelly/fti_2d
...
[3.x] 2D Fixed Timestep Interpolation
2023-08-02 17:26:50 +02:00
Rémi Verschelde
91e3a53518
Merge pull request #69101 from marcinn/3.x-backport-proposal-5748-loading-dds-at-runtime
...
[3.x] Backport implement loading DDS textures at run-time
2023-08-02 17:26:26 +02:00
lawnjelly
5162efbfe9
2D Fixed Timestep Interpolation
...
Adds support to canvas items and Camera2D.
2023-08-01 16:07:48 +01:00
RedworkDE
0c12e26ae1
Fix `ProjectSettings::localize_path` for Windows paths
2023-07-30 22:26:43 +02:00
puzzud
140440ee82
[3.x] Prevent double input events on gamepad when running through steam input #79706
...
Co-authored-by: Eoin O'Neill <eoinoneill1991@gmail.com>
2023-07-20 16:35:44 -04:00