37e287d86d
Backported goodies to SelfList from Godot4.
2024-03-02 12:01:27 +01:00
4cdb163626
Backported create_reference() helper methods for InputEvents from godot 4.
2024-03-01 21:45:27 +01:00
cf7b59b6c8
Fix small formatting inconsistencies.
2024-03-01 16:25:19 +01:00
dcd00dec81
Fix incorrect clipping in String::substr_index().
2024-02-26 13:22:15 +01:00
8c06dce33f
Now PROPERTY_HINT_BUTTON adds the property's name as the called method's first parameter.
2024-02-25 22:09:25 +01:00
66c2b12fc0
Added a new method to Expression so it can be used with multiple threads simultenously.
2024-02-25 10:25:46 +01:00
fa2a54a019
Added a way for platforms to define a custom resource pack location.
2024-02-17 22:14:44 +01:00
8284ff56b8
Fix DirAccess::get_filesystem_abspath_for() for .pck files.
2024-02-16 22:11:54 +01:00
3da74f0703
Added get_global_class_name method to Script. Now GDScriptParser uses this first to determine global class names, instead of parsing the script file again.
2024-02-13 20:09:46 +01:00
a5d8696021
Ported: Vertex cache optimizer
...
Optimizes indices to make good use of vertex cache on GPU.
- lawnjelly
0aa22b8f13
2024-02-08 21:35:01 +01:00
f63ed4be75
Sync controller mappings DB with SDL2 community repo
...
Synced with mdqinc/SDL_GameControllerDB@232c738
2024-02-08 17:37:12 +01:00
Rémi Verschelde
f073af9af6
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 e0e1f2e4a2056db1a908af75612daaaf5b129ebd
and 071499ac0d8e33e6f269437c3ce4fab52cc43f90)
2024-02-08 15:06:20 +01:00
Rémi Verschelde
b44ee23cee
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 0a10f09ce4321695940a626eef9c64b36f599193)
2024-02-08 15:05:20 +01:00
Caroline Joy Bell
0f099eca32
Fix #if *_ENABLED
inconsistencies, should check if defined
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-08 14:16:03 +01:00
Cody Roberts
eb8ca6d2ed
Add project settings for AVAudioSessionCategory on iOS
...
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2024-02-08 14:06:59 +01:00
A Thousand Ships
8341ddc450
Fix AABB.encloses failing on shared upper bound
...
This differs from `Rect2` and was fixed for those classes in the past
2024-02-08 14:00:08 +01:00
Bastien JAUNY
15cccb331f
Fix unitialized variables in core
2024-02-08 13:43:25 +01:00
8ddf92681e
Fixed smaller issues in VariantOP.
2024-01-20 12:50:13 +01:00
c03536414c
Fixed typo.
2024-01-19 15:32:17 +01:00
585358e91b
Added missing setters to VariantOP.
2024-01-07 11:46:05 +01:00
43b14a071c
Added to_real helper methods to String.
2023-12-27 13:02:57 +01:00
57c3233187
Optimized path_clean_end_slash in String.
2023-12-22 19:26:41 +01:00
4d6b2f6f55
Fix logic in String::substr_index.
2023-12-22 15:35:35 +01:00
4f6d95d77e
Fix warning.
2023-12-20 23:25:00 +01:00
2e41d4dfcd
Now unicode error printing is disabled by default. Also can be enabled via a macro.
2023-12-20 23:21:32 +01:00
Rémi Verschelde
1c70f86950
Fix various GCC 13 warnings
...
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-20 22:57:54 +01:00
Fabio Alessandrelli
f95754186a
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-12-20 22:29:54 +01:00
Angad Kambli
341f89b10c
Check parameter validity in Object::set_script
...
Fixes #46120 .
(cherry picked from commit 9c6c2f09e07e65f7819920c4954a7fd54b37d3f6)
2023-12-20 22:20:51 +01:00
8f03370bfa
Updated controller mappings DB from godot.
2023-12-20 22:19:10 +01:00
429575fab6
File copyright header updates pt8.
2023-12-18 00:18:53 +01:00
ae854d4e55
File copyright header updates pt7.
2023-12-18 00:02:58 +01:00
443140a9e8
File copyright header updates pt5.
2023-12-17 23:07:28 +01:00
5088d32fa0
Removed my old copyright headers.
2023-12-17 22:59:50 +01:00
99621357a0
File copyright header updates pt4.
2023-12-17 22:50:00 +01:00
22ec1be9b3
File copyright header updates pt3.
2023-12-17 22:42:34 +01:00
c12e2b34ad
File copyright header updates pt2.
2023-12-17 22:39:31 +01:00
337c99e52f
File copyright header updates pt1.
2023-12-17 22:29:33 +01:00
70f749688b
Renamed DisplayServer to WindowServer.
2023-12-12 14:51:08 +01:00
a99e07563d
Initial DisplayServer method setup.
2023-12-12 14:39:28 +01:00
88e9ad04f2
Moved back the servers and resources from core.
2023-12-10 23:11:07 +01:00
63c895747a
Moved Curve and Gradient to core.
2023-12-10 20:23:51 +01:00
e32155717c
Moved 2d shapes to core.
2023-12-10 20:03:16 +01:00
9d2309bfe1
Moved shapes to core.
2023-12-10 19:58:44 +01:00
053f083e17
Moved the Physics 2d server to core.
2023-12-10 19:42:57 +01:00
dbcc6e33da
Moved the physics server to core.
2023-12-10 19:36:00 +01:00
238bf1b331
Moved the RenderingServer to core.
2023-12-10 19:04:24 +01:00
049440aaf1
Moved BitMap to core.
2023-12-10 18:07:25 +01:00
3902cf1924
Moved ScneeStringNames and PropertyUtils into scene/main.
2023-12-10 18:01:51 +01:00
191e9e152e
Added quote_style argument to get_argument_options().
2023-12-10 16:02:08 +01:00
9df5649c1b
Moved CanvasItem, Control, Node2D and Spatial under scene/main.
2023-12-10 15:50:54 +01:00