Commit graph

9278 commits

Author SHA1 Message Date
Thaddeus Crews
5e10528397
Merge pull request #114895 from Nintorch/is-joy-vibrating
Add support for joypad vibration checking
2026-02-19 20:29:13 -06:00
Thaddeus Crews
83f30234d2
Merge pull request #112785 from Ivorforce/clang-tidy-ci
Integrate `clang-tidy` into CI
2026-02-19 19:20:42 -06:00
Lukas Tenbrink
6e345f80ec Integrate (a nerfed version of) clang-tidy into CI.
For now, it's integrated into core, main and scene only.
Fix a few superficial clang-tidy failures.
2026-02-20 00:49:00 +01:00
Lukas Tenbrink
a6adb12240 Remove message_queue.h include from object.h. 2026-02-20 00:27:41 +01:00
Nintorch
c83c672d61 Add support for joypad vibration checking 2026-02-19 21:34:06 +05:00
Thaddeus Crews
5482b9e89e
Tests: Convert test headers to compilation files
• Excludes module tests, as they'd be a more involved process
2026-02-19 07:36:26 -06:00
Thaddeus Crews
ae604e73e0
Merge pull request #116274 from Nintorch/inputevent-keyboard-mouse-ids
Add device IDs to keyboard and mouse input events
2026-02-18 17:28:24 -06:00
Thaddeus Crews
bcbdd73ab9
Merge pull request #116418 from oCHIKIo/master
Input: Add SDL `misc2`-`misc6` gamepad button constants
2026-02-18 17:28:16 -06:00
Thaddeus Crews
15558cb886
Merge pull request #108111 from Repiteo/core/sanitizer-restructure
Core: Restructure sanitizers
2026-02-18 12:04:30 -06:00
Thaddeus Crews
14c3548fd1
Revert "Core: Use __fastfail() in MSVC error macros"
This reverts commit b23a233b5b.
2026-02-18 11:36:39 -06:00
CHIKI Badreddine
bea703ae12 Input: Add missing MISC2-MISC6 gamepad button constants
The MISC2-MISC6 button strings are recognized by SDL3 but were not
mapped in Godot's JoyButton enum, causing 'Unrecognized output string'
warnings for controllers that use these buttons.

This adds:
- JoyButton::MISC2-MISC6 enum values (21-25)
- 'misc2'-'misc6' string mappings in _joy_buttons array
- GDScript bindings for JOY_BUTTON_MISC2 through JOY_BUTTON_MISC6
- Documentation entries in @GlobalScope.xml
- Updates JoyButton::SDL_MAX from 21 to 26
2026-02-17 21:12:23 +00:00
Thaddeus Crews
33eb9ff990
Merge pull request #116280 from HEX-23/feature-nodiscard-mutexlock
Mark MutexLock as  [[nodiscard]] to prevent misuse.
2026-02-17 14:03:54 -06:00
Thaddeus Crews
fa56f71ddd
Merge pull request #107452 from Ivorforce/bit-math-header
Move binary math functions to `Math` namespace in `math_funcs_binary.h`
2026-02-17 09:28:31 -06:00
Thaddeus Crews
23d7147d1e
Merge pull request #116381 from Ivorforce/hashset-explicit-copy
Change `HashSet` copy constructor from implicit to explicit.
2026-02-17 09:28:26 -06:00
Thaddeus Crews
ff9085448e
Merge pull request #112459 from Repiteo/core/variant-comparison-cleanup
Core: Clean up `Variant` comparison operators
2026-02-17 09:28:19 -06:00
Lukas Tenbrink
0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Lukas Tenbrink
c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
Thaddeus Crews
7eedf1846f
Merge pull request #105045 from ryevdokimov/fix-load-from-project-settings
Fix issues with `InputMap::load_from_project_settings()` when called in tool script
2026-02-16 15:02:43 -06:00
Thaddeus Crews
1e12317895
Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
Thaddeus Crews
b151a2d966
Merge pull request #115396 from DeeJayLSP/faster-uid-path-2
Prevent unnecessary memory allocations when reading UID cache
2026-02-16 15:02:31 -06:00
Thaddeus Crews
13bc06556f
Merge pull request #115752 from akien-mga/sync-gamecontrollerdb
Sync controller mappings DB with SDL community repo
2026-02-16 15:02:28 -06:00
Thaddeus Crews
14ef1c49f0
Merge pull request #102787 from EGAMatsu/master
Add Toki Pona (tok) to language/locale list.
2026-02-16 15:02:27 -06:00
Rémi Verschelde
ed9c865e9b
Sync controller mappings DB with SDL community repo
Synced with: c9e695ef77

Clarify that Godot contributors should not interact with the upstream project.
2026-02-16 18:07:03 +01:00
Thaddeus Crews
96a2994b21
Merge pull request #116284 from Ivorforce/hashset-move
Add move semantics to `HashSet`.
2026-02-16 10:19:27 -06:00
Thaddeus Crews
3209188cc7
Merge pull request #115532 from mihe/debugger-recursive-flushing
Stop `RemoteDebugger` from improperly flushing messages during break
2026-02-16 10:19:19 -06:00
Lukas Tenbrink
39ed2fa9a5 Add move semantics to HashSet. 2026-02-14 13:20:48 +01:00
X23
27393fbd24 Mark MutexLock as [[nodiscard]] to prevent misuse. 2026-02-14 18:30:00 +08:00
Nintorch
eadec6c605 Add device IDs to keyboard and mouse events 2026-02-14 11:28:44 +05:00
Thaddeus Crews
bf95b62586
Merge pull request #115883 from Gurvan/master
Make JSON.stringify use compact representation for empty `Dictionary`
2026-02-13 07:40:28 -06:00
DeeJayLSP
4c05d9ae01 Prevent unnecessary memory allocations when reading UID cache 2026-02-12 20:00:10 -03:00
Thaddeus Crews
2d5b30c476
Merge pull request #115963 from blueskythlikesclouds/reduce-includes-to-rd
Reduce includes to rendering device.
2026-02-12 08:19:16 -06:00
Josh Jones
b8389cc76b Support output to HDR monitors
Co-authored-by: Alvin Wong <alvinhochun@gmail.com>
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-02-11 22:13:26 -07:00
Thaddeus Crews
92a90a8e6f
Merge pull request #114558 from Chaosus/fix_precision
Fix parameter precision for `ease`/`step_decimals` function
2026-02-10 10:34:39 -06:00
Skyth
8fbf2f1e14 Reduce includes to rendering device.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2026-02-10 16:58:50 +03:00
Mikael Hermansson
bfcd9be90d Zero out padding in NodePath serialization 2026-02-09 18:23:02 +01:00
Thaddeus Crews
8557916777
Merge pull request #115935 from Repiteo/style/inc-to-h
Style: Convert `*.gen.inc` to `*.gen.h` for ninja
2026-02-06 08:17:55 -06:00
Thaddeus Crews
c729962899
Merge pull request #115923 from GusatuDamianAlexandru/fix-classdb-sorted-class-list
Core: Fix ClassDB class list sorting regression
2026-02-06 08:17:51 -06:00
GusatuDamianAlexandru
02a3ada502
Core: Fix ClassDB class list sorting regression 2026-02-06 13:07:20 +01:00
Thaddeus Crews
7dae5da198
Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00
Thaddeus Crews
bf332b7e2b
Merge pull request #115900 from TheDying0fLight/remove-unused-edit_request_func-and-import
Remove unused `edit_request_func` and include in `script_language.cpp`
2026-02-05 09:32:41 -06:00
Thaddeus Crews
071b605cdd
Merge pull request #94062 from dalexeev/core-mark-script-as-internal
Core: Mark property `script` as internal
2026-02-05 09:32:33 -06:00
Thaddeus Crews
79eb6694a1
Merge pull request #112381 from Ivorforce/no-right-align
Don't right-align escaped newlines (e.g. for `#define`)
2026-02-05 09:18:36 -06:00
Danil Alexeev
6fa2cc77e9
Core: Mark property script as internal 2026-02-05 16:17:22 +03:00
Simon Döhl
c91240ef53 Remove unused edit_request_func and import in script_language.cpp 2026-02-05 12:45:18 +01:00
Gurvan
d234d954f7 Modify JSON.stringify so that it doesn't create unnecessary empty lines from empty dictionaries 2026-02-04 23:54:57 +01:00
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Thaddeus Crews
72aeb54f9f
Merge pull request #115633 from AThousandShips/fix_invalid_event
[Input] Handle invalid `input/` settings correctly
2026-02-04 11:04:18 -06:00
Thaddeus Crews
3d2a2d3968
Merge pull request #114131 from gilzoide/bugfix/script-language-init-first-filesystem-scan
Make sure `ScriptLanguage` is initialized even after `init_languages` call
2026-02-03 18:06:45 -06:00
Thaddeus Crews
d9089dba06
Merge pull request #110254 from BlueCube3310/resize-all-formats
Image: Support resizing all uncompressed formats
2026-02-03 18:06:42 -06:00
A Thousand Ships
d3924468a4
[Input] Handle invalid input/ settings correctly
This prefix is reserved for events
2026-02-03 15:38:09 +01:00