Commit Graph

9313 Commits

Author SHA1 Message Date
Hugo Locurcio 77706bffa3 Tweak ObjectDB instance leak warning message to mention object count
This helps assess how important the situation is to resolve
for project developers, without having to run the project with
`--verbose` again.
2026-03-01 00:56:04 +01:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews abdde1b69d Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews f630133a01 Merge pull request #116826 from Repiteo/style/class-db-explicit-include
Style: Add `class_db.h` includes explicitly
2026-02-26 16:18:45 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Mikael Hermansson 9d67b350d8 Add support for --ignore-error-breaks to LocalDebugger 2026-02-26 19:25:48 +01:00
Rémi Verschelde 25bfae8ff9 Remove RenderingServer::map_scaling_option_to_stretch_mode and cleanup boot splash code
Removes RS as a dependency in `project_settings.cpp` (which was a bug,
`core` shouldn't include `servers`). This doesn't have a big impact on
incremental rebuild time by itself.

Also move helper `get_splash_stretched_screen_rect` to RenderingServerTypes.
2026-02-25 20:17:27 +01:00
Rémi Verschelde 16f5289f42 ClassDB: Allow binding bitfield enums and constants from separate namespaces 2026-02-25 18:49:35 +01:00
Thaddeus Crews 2e7fbae506 Merge pull request #116731 from Repiteo/core/variant-alt-int
Core: Add missing integral conversions to `Variant`
2026-02-25 11:25:05 -06:00
Thaddeus Crews a048ea0ffe Merge pull request #116693 from Repiteo/windows-leanest-and-meanest
Windows: Add `windows.h` drop-in wrapper header
2026-02-25 09:27:49 -06:00
Thaddeus Crews b98838a7b9 Core: Add missing integral conversions to Variant 2026-02-24 12:48:23 -06:00
Thaddeus Crews b5ff3b5e3b Merge pull request #116662 from KoBeWi/make_some_noise
Clean up `_validate_property()` implementations
2026-02-24 09:29:40 -06:00
Thaddeus Crews 4d92b0b8a5 Merge pull request #116543 from AR-DEV-1/various-typo-fixes-1
Fix various typos & UI paper cuts
2026-02-24 09:29:11 -06:00
Jules 8cf4c5d9b2 Fix multithreaded load status progress 2026-02-24 09:23:26 +01:00
Thaddeus Crews 2146b49a49 Windows: Add windows.h drop-in wrapper header
• Defines `WIN32_LEAN_AND_MEAN` and `NOMINMAX`, and various undefs
2026-02-23 17:56:05 -06:00
Thaddeus Crews da0c029cfe Merge pull request #116553 from mihe/android-base-packs
Allow providing Android APK/AAB as base packs for patch PCKs
2026-02-23 11:59:03 -06:00
Thaddeus Crews 811cf1728e Merge pull request #116526 from stuartcarnie/fix_legacy_input_events
Input: Fix action matching for projects saved before device ID change
2026-02-23 11:58:50 -06:00
kobewi 6f86914f55 Cleanup _validate_property() implementations 2026-02-23 15:05:25 +01:00
Mikael Hermansson f21053e4ef Allow providing Android APK/AAB as base packs for patch PCKs 2026-02-23 14:26:52 +01:00
Thaddeus Crews a3e84cc2af Merge pull request #116542 from Ivorforce/char-range-cpp
Move char ranges from `char_range.inc` to `char_range.cpp` (non-constexpr)
2026-02-21 12:17:02 -06:00
Thaddeus Crews 9a19d32fdb Merge pull request #116541 from Ivorforce/a-variant-shaped-pool
Move variant pools to their own compile unit.
2026-02-21 12:17:01 -06:00
Lukas Tenbrink e9465cd380 Move variant pools to their own compile unit. 2026-02-21 13:24:17 +01:00
Thaddeus Crews 2829092a2a Merge pull request #116552 from Ivorforce/rb-move
Add move semantics to `RBMap` and `RBSet`. Make their copy constructors explicit.
2026-02-20 14:34:23 -06:00
Thaddeus Crews e0d0a65830 Merge pull request #116528 from Ivorforce/clang-tidy-revival
Re-activate a few clang-tidy options.
2026-02-20 14:34:22 -06:00
Lukas Tenbrink d6540e4aa7 Add move semantics to RBMap and RBSet. Make copy constructors explicit. 2026-02-20 20:47:15 +01:00
Stuart Carnie f81ee0679a Input: Fix action matching for projects saved before device ID change
Normalize legacy device=0 on keyboard/mouse events when loading
input actions from project settings. Before eadec6c605, these
events defaulted to device=0; now they use DEVICE_ID_KEYBOARD (16)
and DEVICE_ID_MOUSE (32), causing _find_event() mismatches.
2026-02-21 06:27:05 +11:00
Lukas Tenbrink 9dfc2c977b Move char ranges from char_range.inc to char_range.cpp (non-constexpr). 2026-02-20 20:09:46 +01:00
Lukas Tenbrink abadedefc1 Re-activate a few clang-tidy options. 2026-02-20 19:07:35 +01:00
Thaddeus Crews 0df713417b Merge pull request #116539 from Ivorforce/remember-your-ancestors
Include some headers explicitly in some important spots, to estimate include costs better.
2026-02-20 11:36:09 -06:00
Thaddeus Crews 9fc90a0441 Merge pull request #116261 from bruvzg/sprintf_arg
[String] Allow using Java style `%[arg$]` prefix in `sprintf`.
2026-02-20 11:36:03 -06:00
Thaddeus Crews 65951c721f Merge pull request #115649 from ashtonmeuser/type-limits
Add integer limit constants to @GlobalScope
2026-02-20 11:35:59 -06:00
AR e9ee5798d4 Fix various typos listed in https://github.com/godotengine/godot/issues/91521 2026-02-20 21:32:29 +05:00
Lukas Tenbrink e75aa9ed86 Include some headers explicitly in some important spots, to estimate include costs better. 2026-02-20 15:33:03 +01:00
Pāvels Nadtočajevs f69edf810e [String] Allow using Java style %[arg$] prefix in sprintf. 2026-02-20 15:07:58 +02:00
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
Ashton Meuser 99cc3f7d51 Add integer limit constants to @GlobalScope 2026-02-18 17:54:39 -08: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