Commit graph

162 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
Lukas Tenbrink
9dfc2c977b Move char ranges from char_range.inc to char_range.cpp (non-constexpr). 2026-02-20 20:09:46 +01:00
Hugo Locurcio
217d93a962
GitHub Actions: Test project exporting on CI
This allows finding issues in headless project export early on,
including when exporting for a dedicated server.

We also use this opportunity to check whether the audiovisual output
between the project being run from its files and the exported PCK
matches (it should always be a perfect match, assuming the same GPU
is used for both runs). This can be used to catch audiovisual
discrepancies, which could indicate a bug in the export process.
2026-02-09 20:44:16 +01:00
Thaddeus Crews
64b962215d
Merge pull request #115121 from Chubercik/unicode_17.0.0
Update various Unicode-related files to version 17.0.0
2026-01-28 12:27:08 -06:00
Pāvels Nadtočajevs
6fc4a63000
Change godot-cpp to godot-headers for the reference GDExtensions files. 2026-01-26 21:42:25 +02:00
Jakub Marcowski
c26adbb929
Update various Unicode-related files to version 17.0.0 2026-01-19 10:24:17 +01:00
Rémi Verschelde
8a6408c1ce
Merge pull request #114142 from bruvzg/mesa_ver_check
Add Mesa version check.
2025-12-18 14:29:23 +01:00
Pāvels Nadtočajevs
2c68c80b19
Add Mesa version check. 2025-12-18 11:31:52 +02:00
Hugo Locurcio
683f0c0714 Add a Swappy installation script for easier Android builds
Run `python misc/scripts/install_swappy_android.py` and Swappy
libraries will automatically be installed to the correct location.

Run the script again when needed to update to the latest version.
2025-12-18 02:24:38 +01:00
Skyth
0307895ede Upgrade Agility SDK & DirectX Headers. 2025-12-16 13:41:09 +03:00
Thaddeus Crews
aeef4fff6d
CI: Fix executable perms for various files 2025-12-15 11:23:03 -06:00
Skyth
62335d1ac7 Make each SPIR-V -> DXIL conversion thread allocate from its own heap. 2025-12-12 17:05:39 +03:00
Thaddeus Crews
367f9bf9e3
Merge pull request #111052 from Repiteo/ci/pre-commit-xml-hook
CI: Add pre-commit hook for XML linting
2025-12-03 16:50:36 -06:00
Pāvels Nadtočajevs
58940024c8
Split GDExtension validations files to avoid constant git conflicts. 2025-12-03 16:25:16 +02:00
Thaddeus Crews
d3113441ba
CI: Add pre-commit hook for XML schema validation 2025-12-02 13:20:52 -06:00
Thaddeus Crews
11fc998368
SCons: Integrate annotations where relevant
• Expand Ruff linter to catch & upgrade legacy type-hint syntax
2025-11-22 13:22:31 -06:00
Skyth
8895dfa56c Greatly reduce shader conversion time & fix spec constant bitmasking on D3D12. 2025-11-03 12:14:57 +03:00
Thaddeus Crews
106c23e58b
CI: Fix detection of Windows D3D12 dependencies 2025-08-24 14:12:41 -05:00
Jakub Marcowski
d21007cf9a
Move unicode_ranges out of dynamic_font_import_settings.cpp into its own file 2025-06-04 23:16:06 +02:00
Rémi Verschelde
efde4ae853
macOS: Fix support for latest VulkanSDK .app name in install script 2025-05-06 18:40:40 +02:00
Danil Alexeev
413cb795cd
Move alt_code_oem437 and alt_code_cp1252 to separate header file 2025-05-03 11:52:49 +03:00
Gabe Caldwell
e9b71f96a2 Fixing mac vulkan install script to error if jq is not installed 2025-04-27 19:26:41 -05:00
Pāvels Nadtočajevs
43e9b04f66
Update Mesa-NIR library detection and download script. 2025-04-25 08:11:14 +03:00
Thaddeus Crews
2b1f463de5
SCons: Refactor color.py 2025-03-25 12:27:35 -05:00
Thaddeus Crews
de33bd2b7c
CI: Trim cache before saving 2025-03-14 14:05:02 -05:00
Aaron Franke
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
Thaddeus Crews
96fdaa616b
Style: Integrate #pragma once in builders/checks 2025-03-07 17:32:33 -06:00
Thaddeus Crews
bb8ef4e052
Merge pull request #101878 from Chubercik/automate_char_range
Core: Automate generation of the `char_range.inc` file
2025-03-07 15:12:31 -06:00
Pāvels Nadtočajevs
c63955b3eb Update MoltenVK install script to include version number in installer name. 2025-02-07 21:15:37 +02:00
Jakub Marcowski
104857687c
Update ucaps.h to contain proper case matchings 2025-01-29 12:37:33 +01:00
Jakub Marcowski
10485764a7
Automate generation of the char_range.inc file
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2025-01-23 19:25:59 +01:00
Thaddeus Crews
a29294fddc
SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
Thaddeus Crews
d8761f2c79
SCons: Improve colored output 2024-12-10 11:44:48 -06:00
Andrew
7558bed893 fixed crash when file too short 2024-12-08 01:57:49 -05:00
bruvzg
db1c1d43e3
[Misc] Check for the available and installed Vulkan SDK versions before downloading and installing. 2024-10-28 11:56:00 +02:00
bruvzg
74df6f192a
[macOS] Update Vulkan SDK install script. 2024-10-08 19:37:09 +03:00
David Snopek
6f7c52d17f Temporarily disable "validation errors no longer occur" warnings 2024-08-22 18:16:11 -05:00
Matias N. Goldberg
364f916f3f
Add debug utilities for Vulkan
Features:
- Debug-only tracking of objects by type. See
get_driver_allocs_by_object_type et al.
 - Debug-only Breadcrumb info for debugging GPU crashes and device lost
 - Performance report per frame from get_perf_report
- Some VMA calls had to be modified in order to insert the necessary
memory callbacks

Functionality marked as "debug-only" is only available in debug or dev
builds.

Misc fixes:
 - Early break optimization in RenderingDevice::uniform_set_create

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
2024-08-21 23:48:08 +02:00
Andreia Gaita
09f2b9513c Fix header_guards so it detects the copyright header properly.
Having hardcoded offsets is a problem if the copyright header ever changes
or when running on forks with different copyright header formats.
2024-07-23 12:19:20 +02:00
Pedro J. Estébanez
ee2c1584e4 D3D12: Get rid of DXIL.dll! 2024-07-11 17:56:45 +02:00
Thaddeus Crews
47babe860e
Style: Relocate godot_gdb_pretty_print.py 2024-06-23 10:54:12 -05:00
Thaddeus Crews
576c9e4fe8
CI: Add pre-commit hook for clang-tidy
• Set to "manual" so it isn't invoked in normal workflow
• Modernize `.clang-tidy` file
2024-06-17 11:27:18 -05:00
Jakub Marcowski
d9f8ef68df
Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
Thaddeus Crews
96d1e61ee6
CI: Fix incorrect executable perms 2024-05-17 10:47:40 -05:00
Rémi Verschelde
e63b5ba9e4
Merge pull request #91416 from Calinou/d3d12-sdk-update-install-script
Update dependencies in D3D12 SDK installer script
2024-05-15 13:51:31 +02:00
Thaddeus Crews
f4e58691c2
SCons: Consolidate pysettings via pyproject.toml 2024-05-14 12:01:48 -05:00
Mitten Orvan
829c33aed1
Create a GDB pretty printing file for String, StringName, and Vector
GDB supports custom pretty-printers implemented in Python.
When debugging Godot, checking the values of Strings and StringNames
in the debugger was very inconvenient as the data is fairly deep
in the structure. This makes the values immediately visible.

The custom pretty printer can be taken into use manually by calling
`source misc/scripts/godot_gdb_pretty_print.py` in the GDB console.
In VS code, it can be activated by default by adding the source
command to the `setupCommands` of the configuration in launch.json.

Like this:
```json
// launch.json
{
    "configurations": [
        {
            "name": "C/C++: debug,
            "type": "cppdbg",
	    ...
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "Load custom pretty-printers for Godot types.",
                    "text": "source ${workspaceRoot}/misc/scripts/godot_gdb_pretty_print.py"
                }
            ],
            "miDebuggerPath": "gdb"
        }
    ],
    "version": "2.0.0"
}
```

Extended the pretty-printer python script to support Vectors.
The printer needs to be uncomfortably aware of CowData
implementation details, but I don't think there is any
way around that.
2024-05-11 12:33:35 +02:00
Thaddeus Crews
df969ff742
CI: Overhaul static checks to use pre-commit 2024-05-08 10:30:24 -05:00
Hugo Locurcio
47ac22486d
Update dependencies in D3D12 SDK installer script
- Add colored console output.
2024-05-07 19:10:58 +02:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00