1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

697 Commits

Author SHA1 Message Date
Gergely Kis
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
Thaddeus Crews
5935a32e32 Core: Cleanup headers in core/config
- `MainLoop` now forward-declared in `OS`
2025-10-06 09:20:56 -05:00
Thaddeus Crews
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
Thaddeus Crews
30a0a41982 Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
Stuart Carnie
94c7c2b780 MacOS: Move includes inside #ifdef so OpenGL can be disabled 2025-10-06 06:20:44 +11:00
chocola-mint
ead282ff13 Remove file_access.h and script_backtrace.h includes from logger.h. 2025-10-05 17:49:23 +09:00
Lukas Tenbrink
1db0a60dc0 Replace std::size usage with std_size to avoid <iterator> include. 2025-10-05 00:26:11 +02:00
Thaddeus Crews
38af23a654 Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Thaddeus Crews
127c2a347e Merge pull request #110793 from Calinou/editor-macos-export-tweak-messages
Tweak macOS notarization export message in the editor
2025-10-01 17:54:11 -05:00
Aaron Franke
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews
7288419939 Merge pull request #110936 from bruvzg/mac_ver_check
Change `macos.permission.RECORD_SCREEN` version check from 10.15 to 11.0.
2025-09-30 20:10:46 -05:00
Thaddeus Crews
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
Pāvels Nadtočajevs
1c59038555 Change macos.permission.RECORD_SCREEN version check from 10.15 to 11.0. 2025-09-26 19:25:49 +03:00
Hugo Locurcio
020cdd0f73 Tweak macOS notarization export message in the editor
One message had a typo and was missing `--team-id` for one of the
`xcrun notarytool` commands.
2025-09-24 17:43:43 +02:00
Thaddeus Crews
0ef1c07838 Merge pull request #110491 from bruvzg/emb_j_init_msg
[macOS] Remove old embedded window joystick init code.
2025-09-23 14:51:53 -05:00
Thaddeus Crews
326b22124a Merge pull request #108794 from bruvzg/macos_actool_export
[macOS] Add support for exporting macOS 26 Liquid Glass icons.
2025-09-20 13:41:38 -05:00
Thaddeus Crews
4dec6af2c8 Merge pull request #108613 from Repiteo/scons/fix-defines
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -05:00
Pāvels Nadtočajevs
77dd83efbf [macOS] Remove old embedded window joystick init code. 2025-09-13 17:56:16 +03:00
Lukas Tenbrink
4c0026b053 Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 01:04:14 +02:00
Pāvels Nadtočajevs
b9bafbd2ca [macOS] Process joypad input directly in the embedded process. 2025-08-29 13:40:56 +03:00
Thaddeus Crews
1d204f1fc7 Merge pull request #109724 from bruvzg/mac_emb_app_focus
[macOS] Forward application focus events to the embedded process.
2025-08-22 12:35:35 -05:00
Thaddeus Crews
b432e108d5 Merge pull request #109791 from Talkashie/master
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Talkashie
bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Pāvels Nadtočajevs
ba097ffd49 [macOS] Remove FEATURE_MOUSE from embedded display server. 2025-08-18 14:22:16 +03:00
Pāvels Nadtočajevs
7858030975 [macOS] Forward application focus events to the embedded process. 2025-08-18 13:01:05 +03:00
Adriaan de Jongh
a8bcf40c40 mention 'build version' in iOS, macOS, and visionOS export docs 2025-08-13 23:22:31 +02:00
Pāvels Nadtočajevs
3b813d08b5 [macOS] Fix warp_mouse in game mode. 2025-08-10 11:38:25 +03:00
Stuart Carnie
c62ad8dc65 MacOS: Fix embedded screen_get_scale API 2025-07-30 06:06:15 +10:00
Pāvels Nadtočajevs
838cb0eefc [macOS] Add support for exporting macOS 26 Liquid Glass icons. 2025-07-28 14:35:48 +03:00
Adam Scott
09a9024658 [macOS] Add Tahoe 26.0 to version alias 2025-07-25 14:25:52 -04:00
Pāvels Nadtočajevs
e407f55fbf Fix editor one-click icons not showing. 2025-07-21 12:18:44 +03:00
Thaddeus Crews
4b8e025023 Merge pull request #108696 from bruvzg/maco_full_headless
[macOS] Do not use NSApplication main loop for headless mode.
2025-07-17 10:34:49 -05:00
Pāvels Nadtočajevs
8b045ca8fe [macOS] Do not use NSApplication main loop for headless mode. 2025-07-17 08:42:55 +03:00
Pāvels Nadtočajevs
f20e5152ad [EditorExportPlatform] Move initialization to a dedicated method. 2025-07-16 08:55:23 +03:00
Pāvels Nadtočajevs
090e0347f0 [macOS] Fix mouse enter/exit event and custom cursor shape in embedded game mode. 2025-07-15 10:19:59 +03:00
Thaddeus Crews
61956f2e06 SCons: Ensure CPPDEFINES is properly utilized 2025-07-14 13:07:53 -05:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Nintorch
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
Thaddeus Crews
892e61857b Merge pull request #107926 from bruvzg/move_more_ds
[macOS] Move keyboard layout related code to base display server.
2025-06-24 09:58:38 -05:00
Pāvels Nadtočajevs
350b1936ee [macOS] Move keyboard layout related code to base display server. 2025-06-24 10:45:19 +03:00
Adam Johnston
a3f8a067a9 cleanup closed embedded processes on macos 2025-06-23 02:00:37 -07:00
Thaddeus Crews
d69ca31768 Merge pull request #107574 from stuartcarnie/apple_embedded_fixes
Apple: Improve Apple embedded export and debugging
2025-06-18 18:13:47 -05:00
Stuart Carnie
939f29f6d5 Apple: Improve reliability of Apple Embedded build and deployment 2025-06-19 06:33:08 +10:00
Adrien Ufferte
a11a64fbf4 Comments spelling fixes 2025-06-15 01:36:10 +02:00
Pāvels Nadtočajevs
dfb11f8cea [macOS] Add --path argument when instance is created by project started from editor. 2025-06-13 10:22:31 +03:00
Rémi Verschelde
1a64b6b5b6 Merge pull request #106913 from Ivorforce/string-resize-uninitialized
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
Stuart Carnie
962d788c14 MacOS: Initialize member field 2025-06-12 14:57:36 +10:00
Lukas Tenbrink
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
Rémi Verschelde
042ad3a62f Merge pull request #107038 from bruvzg/emb_scr
Add support for taking embedded window screenshots.
2025-06-11 12:10:12 +02:00
Pāvels Nadtočajevs
66fec3c3d7 Remove TTS debug print. 2025-06-10 18:27:27 +03:00