Commit Graph

377 Commits

Author SHA1 Message Date
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
0a9c9ca15e Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5 by Atlinx
2023-09-06 01:45:29 +02:00
62e2b1623a Use NULLs. 2023-08-30 13:24:46 +02:00
7e270262f9 Ported: Fix binary internal cache not being filled
- Razoric480
d331e5c7ac
2023-08-30 13:00:53 +02:00
5d93975c8d Ported: Fix custom res caching sub-res even if no-cache
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
Francois Belair
90d7912fcc Actually use loaded resource cache 2023-08-30 11:37:34 +02:00
Danil Alexeev
254cb747b7 Core: Add recursion level check for Array and Dictionary hashing 2023-08-30 11:34:00 +02:00
Paweł
adb36972f5 Fix Windows StringFileInfo structure
(cherry picked from commit e15a086bb99f450fbfa223fe8896c47a860735fc)
2023-08-30 10:52:11 +02:00
Bartłomiej T. Listwon
68667d1563 Fix moving position indicator out of bounds in FileAccessMemory
(cherry picked from commit bff0c71e2e2cb9b880181cc819c4753abfe59508)
2023-08-30 10:49:44 +02:00
Yuri Rubinsky
9a1705eac2 Fix crash when calling fill method on an empty Image
(cherry picked from commit adec51cde87d29dd74efb6e5cd0167990de8d569)
2023-08-30 10:18:36 +02:00
65d4c57233 Added translate_to() method to TranslationServer, and trt() method to Object. This let's you transalte strings into specific (noon app wide) locales. 2023-08-29 22:02:31 +02:00
d977ed360e Ported: 2D Fixed Timestep Interpolation
Adds support to canvas items and Camera2D.
- lawnjelly
5162efbfe9
2023-08-27 18:48:25 +02:00