Commit Graph

388 Commits

Author SHA1 Message Date
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
7ec207ba27 Fix abs call. 2023-12-10 14:58:37 +01:00
01a5847d7f The default log level in PLogger is now message. 2023-10-25 01:45:37 +02:00
fe717c76d8 Call the proper methods in PLogger. Also use ERR_PRINT when logging errors. 2023-10-25 01:43:37 +02:00
b4f0ef4493 Added log level support for PLogger. 2023-10-25 01:25:15 +02:00
e1f64a84ad Added missing conversion. 2023-10-12 11:44:23 +02:00
b4692f1763 Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
7df893ab6b Ported from godot: Add context support for editor translation
- timothyqiu
878cf8262a
2023-10-02 20:48:04 +02:00
风青山
f7f7c17962 BVH - fix axis getting mixed up when split leaf
Split preferentially on longest axis, rather than shortest axis.
2023-10-02 16:56:12 +02:00
风青山
1813300d53 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-10-02 16:55:52 +02:00
Danil Alexeev
2d4e9c4656 Core: Add recursion level check for VariantWriter::write() 2023-10-02 16:25:48 +02:00
5fd0326745 Added a new SubProcess class with a Uniz backend for better process control. 2023-09-10 12:19:51 +02:00
1230419fb7 Register and bind the _ScriptServer. 2023-09-10 08:25:06 +02:00
9207afc6cb Added run, create_process and create_instance helper methods to OS. Inspired by godot4's split of execute. 2023-09-10 08:20:35 +02:00
9a2bf73280 Backported _shortcut_input() virtual from godot4. 2023-09-07 09:56:16 +02:00
b506468b53 Revert "Backport implement loading DDS textures at run-time"
This reverts commit 4b76c7e89c.

Apparently it can cause issues.
2023-09-06 09:13:08 +02:00