1
0
Fork 0
Commit Graph

8680 Commits

Author SHA1 Message Date
Thaddeus Crews b1792e5fb5
Merge pull request #109309 from dsnopek/gdextension-startup-callback-after-reload
GDExtension: Call startup callback only after reload is fully finished
2025-08-07 10:40:35 -05:00
Dubhghlas McLaughlin 4841add19a
Fixed `local_to_scene` duplication of typed dictionary. 2025-08-06 17:04:35 -05:00
Thaddeus Crews 65eb664352
Merge pull request #109310 from Yarwin/fix-gdextension-add-editor-plugin-during-initialization-level-editor
Postpone adding new extension plugins to the editor
2025-08-06 12:01:21 -05:00
Thaddeus Crews 395b0f0a3d
Merge pull request #103635 from BlueCube3310/rgb565-fix
Fix Image format RGB565 conversion and rendering
2025-08-06 12:01:17 -05:00
Thaddeus Crews 5f402da946
Merge pull request #109240 from bruvzg/scr_log_unreg
Automatically unregister loggers when script language is deinitialized.
2025-08-06 12:01:14 -05:00
David Snopek 92d9227d4a GDExtension: Call startup callback only after reload is fully finished 2025-08-05 08:30:39 -05:00
Yarvin 1aca96d139 Postpone adding new extension plugins to the editor.
----

Extension EditorPlugins added during Hot Reload on Initialization level
Editor were being attached to the scene tree before all the GDExtension
Classes (such as already loaded resources) are re-initialized.
2025-08-04 21:57:22 +02:00
Thaddeus Crews 62dc131d74
Merge pull request #109172 from mihe/printraw-overflow
Fix `printraw` causing infinite recursion in `Logger._log_message`
2025-08-03 10:51:16 -05:00
BlueCube3310 638c6a5659 Fix Image format RGB565 conversion 2025-08-03 16:28:13 +02:00
Pāvels Nadtočajevs 9fd98410df
Automatically unregister loggers when script language is deinitialized. 2025-08-02 18:29:00 +03:00
Thaddeus Crews c2202d36c1
Merge pull request #103838 from ebeem/master
Core: Fix translation remaps incorrectly falling back
2025-08-01 11:45:22 -05:00
Thaddeus Crews 761f8df597
Merge pull request #109016 from Rindbee/use-undo_redo-to-track-property-changes
Use `EditorUndoRedoManager` to track the property changes of the configured `InputEvent` in the plugin
2025-08-01 11:45:20 -05:00
Thaddeus Crews c5d2033e98
Merge pull request #109123 from beicause/fix-img-nearest-cubic-resize-bias
Fix `Image` nearest and cubic resizing bias
2025-08-01 11:45:13 -05:00
Almarhoon Ibraheem 9add19a4ad Core: Fix translation remaps incorrectly falling back 2025-08-01 19:23:06 +03:00
Mikael Hermansson 494471dda2 Fix `printraw` causing infinite recursion in `Logger._log_message` 2025-07-31 20:24:47 +02:00
Thaddeus Crews 00a0512854
Merge pull request #109151 from clayjohn/WTP-low-priority-threads
Allow processing low priority threads on calling thread in the WTP.
2025-07-31 10:39:13 -05:00
Thaddeus Crews 0d10e85b88
Merge pull request #109122 from mihe/ext-resource-id-caching
Fix external resource IDs being lost for default properties
2025-07-31 10:38:45 -05:00
Mikael Hermansson d0826b0bfe Fix external resource IDs being lost for default properties 2025-07-31 16:57:35 +02:00
clayjohn 2a8ac1c05b Allow processing low priority threads on calling thread in the WTP.
This fixes a recent regression. In theory, low priority tasks should always go to the queue and never be executed on the calling thread. However, when using NO_THREADS build, all tasks need to execute on the calling thread.
2025-07-30 23:15:38 -07:00
LuoZhihao a32b59622f Fix `Image` nearest and cubic resizing bias 2025-07-30 23:54:12 +08:00
Thaddeus Crews cfc58710b7
Merge pull request #108697 from clayjohn/pump-task
Ensure that threads only process one pump task
2025-07-30 09:03:42 -05:00
clayjohn 782b9e328c Ensure that threads only process one pump task.
This is necessary because we will always deadlock if a thread takes on multiple pump tasks since pump tasks never return.

This means when using separate threads for certain systems (like physics or rendering), we need to be sure that there are enough threads to have at least one per system (to ensure forward progress).
2025-07-29 07:15:34 -07:00
Chaosus 610712a269 Add a way to filter neighbor points to AStar2D/3D 2025-07-28 13:25:02 +03:00
风青山 95403207e8
Use `EditorUndoRedoManager` to track the property changes of the
configured `InputEvent` in the plugin

This allows undo and redo, and can mark in time whether the handled
`InputEvent` resource is edited.

`command_or_control_autoremap` needs to be handled separately, as
its value will change the usage of other properties.
2025-07-27 13:57:16 +08:00
George Marques 28d3214acd
Expose type validator from Dictionary and allow testing without error
- Now you can get the ContainerTypeValidate from a Dictionary (both for
  keys and for values).
- ContainerTypeValidate exposes a validator function that does not show
  any error in case of failure. This allows testing values before trying
  to use them in Dictionary.
2025-07-24 13:35:48 -03:00
Thaddeus Crews b74c8b4c03
Merge pull request #108614 from dsnopek/gdextension-compat-unexposed-classes
GDExtension: Prevent compatibility breakage from change to `ClassDB::instantiate()` for unexposed classes
2025-07-23 13:27:02 -05:00
Thaddeus Crews 037956dbc9
Merge pull request #108831 from aaronfranke/json-pass-full-precision
Fix internal JSON stringify not preserving p_full_precision
2025-07-22 11:20:15 -05:00
Mikael Hermansson 836a1a0b02 Prevent infinite recursion during printing 2025-07-22 16:13:03 +02:00
Aaron Franke b626695f70
Fix internal JSON stringify not preserving p_full_precision 2025-07-21 08:36:29 -07:00
David Snopek e325c4bdba GDExtension: Prevent compatibility breakage from change to `ClassDB::instantiate()` for unexposed classes 2025-07-14 14:09:23 -05:00
kobewi 188e313dd8 Fix Variant properties losing value upon script update 2025-07-12 20:29:19 +02:00
Thaddeus Crews b3416c7390
Merge pull request #108464 from simpkins/include_fix
Remove an unnecessary include of main/ code from core/
2025-07-10 11:39:27 -05:00
Mike Precup 25115609ff Fix issue with array comparison reference 2025-07-09 20:22:09 -07:00
Adam Simpkins 21bc4b509f Remove an unnecessarily include of main/ code from core/
Code in core/ generally should not depend on code from main/

This include was added in #41100 in order to call
`Main::is_project_manager()`.  The `is_project_manager()` check was
later removed in #52742 but this include was never cleaned up.

This clean-up is related to #108429.
2025-07-09 19:09:11 -07:00
Thaddeus Crews e748514112
Merge pull request #105835 from bruvzg/edited_scene_direction
Improve edited scene layout direction detection.
2025-07-09 11:33:11 -05:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews 77b680244d
Merge pull request #102186 from HolonProduction/completion-builtin-enum
Improve GDScript editor support for global enums
2025-07-03 12:21:19 -05:00
Rémi Verschelde 1123d7fd9c
Merge pull request #102499 from Jordyfel/resource-docs
Improve documentation of some `Resource` methods
2025-06-28 13:02:54 +02:00
风青山 efed435fa3
Fix `screen_accum` not being reset when it should be in `Input::VelocityTrack`
Resets `screen_accum` like `accum`.
2025-06-26 20:06:03 +08:00
Pāvels Nadtočajevs 42733a2a5c
Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
Thaddeus Crews bf9346caad
Merge pull request #107898 from BlueCube3310/image-invis-fix
Image: Fix `is_invisible` detection for RGBAH and RGBAF
2025-06-25 15:14:07 -05:00
Geoffroy Warin 88c086d082 Sync controller mappings DB with SDL community repo
Synced with: mdqinc/SDL_GameControllerDB@1849728
2025-06-25 12:42:43 +02:00
Thaddeus Crews ab134b386a
Merge pull request #106218 from Nintorch/master
Add support for SDL3 joystick input driver for Windows, Linux and macOS
2025-06-24 18:34:28 -05:00
Thaddeus Crews db28859774
Merge pull request #107591 from timothyqiu/group-enable-default
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
Nintorch 0b3496fb4f
Add support for SDL3 joystick input driver
Made possible by EIREXE, xsellier and the SDL team.

This commit includes statically linked SDL3 for Windows, Linux and macOS.
The vendored copy of SDL3 was setup to only build the required subsystems
for gamepad/joystick support, with some patches to be able to make it as
minimal as possible and reduce the impact on binary size and code size.

Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
Co-authored-by: Xavier Sellier <xsellier@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 01:28:50 +02:00
Thaddeus Crews 27414203de
Merge pull request #103219 from kuruk-mm/fix-file-handle-leak
Fix file handle leak in ZipArchive and FileAccessZip
2025-06-24 09:58:43 -05:00
Thaddeus Crews d97d8c16e7
Merge pull request #107663 from mihe/script-break-error
Fix errors not being emitted when debugger breaks on script errors
2025-06-24 09:58:38 -05:00
Mateo "Kuruk" Miccino 38c69f1814
Fix file handle leak in ZipArchive and FileAccessZip 2025-06-24 07:34:22 -03:00
BlueCube3310 e35c80b61c Image: Fix `is_invisible` detection for RGBAH and RGBAF 2025-06-23 18:21:04 +02:00
Thaddeus Crews 97f4b8a260
Merge pull request #107788 from dsnopek/gdextension-interface-minor-adjustments
Fix minor inconsistencies and errors in `gdextension_interface.h`
2025-06-23 09:37:22 -05:00