Commit Graph

1959 Commits

Author SHA1 Message Date
f835707f7a Fix Windows native FileDialog filters not showing descriptions 2025-10-12 16:22:45 -03:00
7c033002b0 Merge pull request #110863 from kisg/libgodot_migeran_core
LibGodot: Core - Build Godot Engine as a Library
2025-10-08 13:56:34 -05:00
f81f08e5bf [Windows] Fix MinGW build
`file_access.h` was removed from the include hierarchy and wasn't caught
by CI as it only occurs with MinGW builds
2025-10-07 16:06:04 +02:00
9052d31c68 Merge pull request #111331 from Repiteo/scons/revert-cppextpath
Revert "SCons: Add `CPPEXTPATH` for external includes"
2025-10-07 13:07:19 +02:00
9a25d56b1f Merge pull request #111316 from bruvzg/res_manifest
[Windows] Fix application manifest in exported projects with modified resources.
2025-10-07 13:07:15 +02:00
6c44c80c62 LibGodot: Core - Build Godot Engine as a Library
* Add a new GodotInstance GDCLASS that provides startup and iteration commands to control a Godot instance.
* Adds a libgodot_create_godot_instance entry point that creates a new Godot instance and returns a GodotInstance object.
* Adds a libgodot_destroy_godot_instance entry point that destroys the Godot instance.

Sample Apps: https://github.com/migeran/libgodot_project

Developed by [Migeran](https://migeran.com)

Sponsors & Acknowledgements:

* Initial development sponsored by [Smirk Software](https://www.smirk.gg/)
* Rebasing to Godot 4.3 and further development sponsored by [Xibbon Inc.](https://xibbon.com)
* The GDExtension registration of the host process & build system changes were based
  on @Faolan-Rad's LibGodot PR: https://github.com/godotengine/godot/pull/72883
* Thanks to Ben Rog-Wilhelm (Zorbathut) for creating a smaller, minimal version for easier review.
* Thanks to Ernest Lee (iFire) for his support

Co-Authored-By: Gabor Koncz <gabor.koncz@migeran.com>
Co-Authored-By: Ben Rog-Wilhelm <zorba-github@pavlovian.net>
2025-10-07 02:15:41 +02:00
b17aa3343a Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
5935a32e32 Core: Cleanup headers in core/config
- `MainLoop` now forward-declared in `OS`
2025-10-06 09:20:56 -05:00
d1d28c0bcf Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
91fc0c3756 [Windows] Fix application manifest in exported projects with modified resources. 2025-10-06 11:33:02 +03:00
ead282ff13 Remove file_access.h and script_backtrace.h includes from logger.h. 2025-10-05 17:49:23 +09:00
1db0a60dc0 Replace std::size usage with std_size to avoid <iterator> include. 2025-10-05 00:26:11 +02:00
554e16fac2 Merge pull request #95853 from bruvzg/win_no_id
[Windows] Simplify ANGLE fallback list and remove ID checks.
2025-10-03 12:01:06 -05:00
ab287991cf [Windows] Simplify ANGLE fallback list and remove ID checks. 2025-10-03 08:07:43 +03:00
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
5240f1c283 Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
c6189a83b9 Merge pull request #110691 from Ruw-Van/fix-windows-logfile-encoding
Fix windows logfile encoding
2025-09-30 18:35:19 -05:00
0b2805f400 Merge pull request #110897 from Repiteo/windows/migrate-manifest
Windows: Migrate `godot.manifest` to `platform/windows`, include as dependency
2025-09-30 11:19:18 -05:00
d48f255074 Windows: Migrate godot.manifest to platform/windows
• Ensure file is included as proper dependency
2025-09-25 09:15:00 -05:00
a75e6be6fb Fix HashMap/HashSet in natvis after member renames 2025-09-24 21:51:03 -07:00
Ruw
b23b0dde9a Update detect.py
Fix UnicodeEncodeError on cp932 environments by adding errors="replace" to log file open
2025-09-18 19:32:03 +09:00
4676d73a1a Merge pull request #110268 from bruvzg/devid_reg
[Windows] Try reading GPU IDs directly from registry.
2025-09-17 11:34:10 -05:00
4dec6af2c8 Merge pull request #108613 from Repiteo/scons/fix-defines
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -05:00
5316d12588 Merge pull request #109346 from bruvzg/win_drv_chk
[Windows] Try reading GPU driver information directly from registry.
2025-09-16 09:48:52 -05:00
4c0026b053 Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 01:04:14 +02:00
e98d6083d0 Merge pull request #110033 from SK83RJOSH/pdb-base-name-fix
Fix `WindowUtils::copy_and_rename_pdb` regression
2025-09-08 08:22:44 -07:00
252329ce40 [Windows] Try reading GPU IDs directly from registry. 2025-09-05 11:09:31 +03:00
41150710ec Fix WindowUtils::copy_and_rename_pdb path shortening regression 2025-09-04 11:56:06 +02:00
01d7abb9d0 [Windows] Save and restore window rect when switching to/from maximized+borderless mode. 2025-08-27 11:12:04 +03:00
dd2e1b104b Fix DirectInput controllers on game startup
Now SDL and DirectInput don't complain when a game starts with a DirectInput controller already connected. Fixes "JoypadSDL::process_events: Error opening gamepad at index 1: IDirectInputDevice8::SetCooperativeLevel() DirectX error 0x80070006"
2025-08-21 13:21:48 +05:00
d9a77a42ee SCons: Fix dlltool on Windows MinGW builds
- Expand `env.Run` function to accept optional command string, because we can't just call `env.Action` for some reason
2025-08-18 18:49:50 -05:00
274f88c5b8 [Windows] Fix color picker on old versions of Windows 10. 2025-08-18 09:23:31 +03:00
b7f5ddd256 Merge pull request #109300 from bruvzg/win_ndrag_rel
[Windows] Release mouse buttons after native window drag/resize operation.
2025-08-06 12:01:18 -05:00
9f8626ccaa [Windows] Try reading GPU driver information directly from registry. 2025-08-06 08:01:05 +03:00
33c92af2b5 [Windows] Release mouse buttons after native window drag/resize operation. 2025-08-04 15:14:27 +03:00
7c81d43b10 [Windows] Additionally use cpuid instruction to detect SSE4.2 support. 2025-08-03 22:13:59 +03:00
e407f55fbf Fix editor one-click icons not showing. 2025-07-21 12:18:44 +03:00
24ad16c2fc Merge pull request #108472 from bruvzg/win_proj_ver
[Windows export] Use project version as fallback.
2025-07-17 10:34:49 -05:00
f20e5152ad [EditorExportPlatform] Move initialization to a dedicated method. 2025-07-16 08:55:23 +03:00
6ec518dfc4 [Windows] Fix SSE4.2 detection with LTO build. 2025-07-15 17:23:35 +03:00
61956f2e06 SCons: Ensure CPPDEFINES is properly utilized 2025-07-14 13:07:53 -05:00
e363601226 [Windows] Add SSE4.2 support runtime check. 2025-07-13 12:58:29 +03:00
2dcdbd3416 [Windows export] Move debug symbol sections on export. 2025-07-10 18:06:30 +03:00
4a08cdcff0 [Windows export] Use project version as fallback. 2025-07-10 12:54:37 +03:00
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02: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
a11a64fbf4 Comments spelling fixes 2025-06-15 01:36:10 +02:00
b13a0e1834 Rename String::resize to resize_uninitialized, to better communicate to callers that new characters must be initialized. 2025-06-11 18:13:02 +02:00
24494d840e Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
7d10c2a3f2 Merge pull request #104686 from bruvzg/bmaxwin
[Windows] Fix borderless maximized window mode.
2025-06-07 00:43:45 +02:00