Commit Graph

8749 Commits

Author SHA1 Message Date
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
e748514112 Merge pull request #105835 from bruvzg/edited_scene_direction
Improve edited scene layout direction detection.
2025-07-09 11:33:11 -05:00
00f5b230be Fix modifier order in keycode string generation
Fix the order in which modifier keys are appended in as_text() and keycode_get_string() to ensure consistent and logical ordering (Ctrl, Alt, Shift, Meta). Refactored keycode_get_string() to use a vector for building the key string, improving readability and maintainability.
2025-07-06 14:23:50 -07:00
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
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
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
42733a2a5c Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
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
88c086d082 Sync controller mappings DB with SDL community repo
Synced with: mdqinc/SDL_GameControllerDB@1849728
2025-06-25 12:42:43 +02:00
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
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
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
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
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
38c69f1814 Fix file handle leak in ZipArchive and FileAccessZip 2025-06-24 07:34:22 -03:00
e35c80b61c Image: Fix is_invisible detection for RGBAH and RGBAF 2025-06-23 18:21:04 +02:00
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
14a814586a Provide quick access to Object ancestry 2025-06-23 07:11:11 +01:00
d5eb66947b Fix minor inconsistencies and errors in gdextension_interface.h 2025-06-22 07:56:00 -05:00
2e60d51499 Merge pull request #107796 from Ivorforce/resize-rereserve
Use `reserve` in `LocalVector::resize`, to restore expected growth behavior
2025-06-22 11:59:15 +02:00
697e0bb077 Use reserve in LocalVector::resize, to restore expected growth behavior. 2025-06-21 11:23:05 +02:00
a0f9f5d90a Merge pull request #107770 from RandomShaper/fix_res_dupe_bindings
Enhance bindings of deep resource duplication
2025-06-21 11:14:19 +02:00
7dc37bdc9c Enhance bindings of deep resource duplication 2025-06-20 18:40:41 +02:00
8de08c7c21 Merge pull request #107646 from stuartcarnie/string_append_utf8_bug
Core: Fix invalid resize after appending
2025-06-18 18:14:11 -05:00
3d94ba0f84 Merge pull request #107643 from stuartcarnie/remote_debug_fix
Core: Fix data race in remote debugger; handle errors
2025-06-18 18:14:10 -05:00
ac6252c9c8 Merge pull request #107486 from Ivorforce/rendering-no-alloc-api
Use raw buffer pointers in `RenderingDevice` allocation APIs to avoid intermediary arrays
2025-06-18 18:14:00 -05:00
6c9463dbd2 Merge pull request #107594 from dsnopek/gdextension-shutdown-order-fix
GDExtension: Always run shutdown callback before deinitializing any levels
2025-06-18 18:13:52 -05:00
d4fa7e15ed Merge pull request #106919 from kitbdev/fix-codeedit-hover-word-lookup
Fix CodeEdit hover word lookup
2025-06-18 18:13:43 -05:00
2ebf8369f0 Core: Fix data race in remote debugger; handle errors 2025-06-19 06:25:56 +10:00
3b7e34556c GDExtension: Always run shutdown callback before deinitializing any levels 2025-06-18 07:51:12 -05:00
2b36c79f7b Use Span<uint8_t> in RenderingDevice allocation APIs to avoid intermediary arrays on calls. 2025-06-18 12:31:48 +02:00
1b7b44390a Fix errors not being emitted when debugger breaks on script errors 2025-06-18 11:52:26 +02:00
4b3800582e Core: Fix invalid resize after appending 2025-06-18 08:57:05 +10:00
296aba7dc5 Fix CSV translation not updating after reimport 2025-06-17 17:22:49 +08:00
a7ab249a2a Make PROPERTY_HINT_GROUP_ENABLE hide properties by default 2025-06-16 20:03:49 +08:00
9e1e2fdbd5 Merge pull request #107550 from AdrienUfferte/fix-spelling
Fix spelling in comments
2025-06-16 01:52:48 +02:00
6f094856e7 Make get_id_path return empty when first point is disabled 2025-06-16 01:42:13 +02:00
af54b13603 Autocompletion: Add support for global enums 2025-06-15 19:41:13 +02:00
a11a64fbf4 Comments spelling fixes 2025-06-15 01:36:10 +02:00
ee84a5a100 Merge pull request #107482 from nikitalita/fix-pck-misalign
PCKPacker: Fix first file being written mis-aligned
2025-06-13 18:37:46 +02:00
60ba4ba6bf Merge pull request #107471 from Calinou/input-map-fix-colorpicker-action-name
Fix action name for `ui_colorpicker_delete_preset` in built-in InputMap
2025-06-13 18:37:42 +02:00
d9cda33090 Merge pull request #107415 from adamscott/add-emscripten-version-to-log-header
[Web] Add Web-build specific stdout header
2025-06-13 18:37:37 +02:00
6e823b4b14 PCKPacker: Fix first file being written mis-aligned 2025-06-13 16:25:38 +02:00
7f925a104f Merge pull request #107380 from Ivorforce/no-stringname-search
Core: Remove unused `StringName::search`.
2025-06-13 15:53:55 +02:00
97cef7dce8 Merge pull request #107349 from beicause/project-settings-fix-enum-hint
ProjectSettings: Fix missing property hint of setting overrides
2025-06-13 15:53:51 +02:00
dbc75f2424 Merge pull request #106720 from Calinou/resourceloader-tweak-error-messages
Improve error messages in ResourceLoader
2025-06-13 15:53:41 +02:00
b4477f3f49 Fix action name for ui_colorpicker_delete_preset in built-in InputMap
The old action name is a leftover from a now-reverted PR.
2025-06-13 02:24:34 +02:00
16d551a8dd Improve error messages in ResourceLoader
- Remove part of the "Failed loading resource" message about opening
  the project in the editor, as it's sometimes misleading.
- Fix `(expected type: )` appearing at the end of the
  "No loader found for resource:" error message.
2025-06-13 02:00:59 +02:00
22702244f8 Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00