Commit Graph

7305 Commits

Author SHA1 Message Date
7864ac8019 Merge pull request #111299 from stuartcarnie/swift_build
Build: Fix container build path for swift
2025-10-18 11:45:54 +02:00
60710df3b6 Merge pull request #94047 from KoBeWi/resource_printer
Improve `to_string()` and add it to Resource
2025-10-16 12:48:11 -05:00
f3ebee1f79 Merge pull request #111211 from superherointj/enet-warning
System-provided ENet warning
2025-10-16 12:48:07 -05:00
21aa53f718 Update embedded PCK virtual address. 2025-10-16 11:35:20 +03:00
ede217754a Fix custom icon in Android export 2025-10-15 20:38:17 +02:00
a63dd0704f [macOS] Fix ~500ms hang on transparent OpenGL window creation on macOS 26. 2025-10-15 00:03:55 +03:00
ad74ed68c1 Build: Fix container build path for swift 2025-10-15 06:32:31 +11:00
9cdf3ff3ff Merge pull request #111639 from timothyqiu/freshy-leaky
X11: Fix memory leak in `screen_get_refresh_rate()`
2025-10-14 10:31:32 -05:00
920552812e Merge pull request #111566 from Repiteo/scons/mingw-big-obj
SCons: Enable MinGW big objects universally
2025-10-14 10:31:28 -05:00
66e5bce653 X11: Fix memory leak in screen_get_refresh_rate 2025-10-14 20:30:05 +08:00
f7263b9517 [Android] Add export option to use "scrcpy" to run project from editor. 2025-10-14 15:12:48 +03:00
d3285f5468 Merge pull request #111185 from WhalesState/vp-disable-xr
More XR disable for Viewport and export.
2025-10-13 19:28:56 -05:00
10c333a8f1 Merge pull request #111313 from bruvzg/emb_res
Fix editor embedded windows partially resizing.
2025-10-13 12:30:08 -05:00
43438fec2a Merge pull request #111529 from wagnerfs/fix-windows-native-filedialog-filters
Fix Windows native FileDialog filters not showing descriptions
2025-10-13 12:30:05 -05:00
d86a428994 SCons: Enable mingw big objects in more contexts 2025-10-13 11:00:03 -05:00
0f81e8c7fe X11: Fix fullscreen exit behavior 2025-10-13 15:03:13 +08:00
7680190768 Revert "Fix the sliding window problem in linux occur due to reparenting of the window during the decoration via tracking the parent of the window"
This reverts commit 932afc3bf5.
2025-10-13 15:03:13 +08:00
4219ce91f2 Merge pull request #110485 from bruvzg/aemb_dtr
Fix iOS/visionOS export plugin crash on exit.
2025-10-13 07:35:19 +02:00
b1e659c851 [macOS] Make embedded window focus behavior more similar to Windows/X11. 2025-10-13 08:32:18 +03:00
f835707f7a Fix Windows native FileDialog filters not showing descriptions 2025-10-12 16:22:45 -03:00
b9c3b1d4c0 Misc improvements to the GodotPlugin API
- Add overload method for `GodotPlugin#emitSignal(...)`
- Allow passing `null` values as signal arguments
2025-10-11 23:16:31 -07:00
ab205a78ce Wayland: defer event thread initialization to late initialization
This race condition made me pull my hair. `wl_display_roundtrip` has its
own little event loop, which apparently conflicts hard with the
always-running event loop thread.

I kinda assumed that it would be thread-safe thanks to its internal
`wl_display_prepare_read` call that the docs talk about but that's
clearly not enough.

Luckily this method is called very few times and the only dangerous
instances are in the initialization routine, which first starts the
thread and then does various roundtrips. Libdecor has also some internal
roundtrips of its own which would often fail. Starting the thread after
all initialization fixes the issue.

Tested this by spamming *lots* of `wl_display_roundtrip` in
`WaylandThread::init()` with and without this fix.
2025-10-10 23:25:00 +02:00
4ea49aecaf Merge pull request #110990 from timothyqiu/x11-min-max
X11: Fix minimization of maximized windows
2025-10-10 10:26:02 -05:00
0a584250ae Fix: Libgodot build on Linux. 2025-10-10 04:31:14 -05:00
538fd69243 Merge pull request #111425 from stuartcarnie/macos_crash_handler
MacOS: Improve crash handler performance
2025-10-09 11:46:44 -05:00
e6783dbdd1 Improve to_string() and add it to Resource 2025-10-09 00:54:38 +02:00
33cc3c125d MacOS: Improve crash handler performance
The most significant change is the version calls `atos` with a batch of
addresses, rather than one at a time. Reduces large stack traces down
to about a second or less (after OS caching).
2025-10-09 06:19:21 +11: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
24f23c5cdb System-provided ENet warning
Warning from documentation: https://github.com/godotengine/godot/tree/master/thirdparty#enet
2025-10-08 08:51:09 -03: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
546ead2abd Merge pull request #109795 from bruvzg/mac_reg_policy
[macOS] Always use "Regular" activation policy for GUI, and headless main loop for command line only tools.
2025-10-07 13:06:56 +02:00
a6e44be2dc Merge pull request #105587 from deralmas/framing-this-moment
Wayland: Emulate frame event for old `wl_seat` versions
2025-10-07 13:06:47 +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
9894256e3a More XR disable for Viewport and export. 2025-10-06 20:15:07 +03: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
fa1c53bb8e Merge pull request #111204 from syntaxerror247/suspend-btn
Android Editor: Update suspend button icon in GameMenuBar
2025-10-06 09:06:46 -05:00
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
ef5ecd95d7 Merge pull request #111254 from Ivorforce/object-no-rb-rw
Remove `rw_lock.h` and `rb_map.h` includes from `object.h`.
2025-10-06 09:06:29 -05:00
91fc0c3756 [Windows] Fix application manifest in exported projects with modified resources. 2025-10-06 11:33:02 +03:00
0d056cf294 Fix editor embedded windows partially resizing. 2025-10-06 09:12:20 +03:00
9d44b68867 Remove rw_lock.h and rb_map.h includes from object.h. 2025-10-05 23:29:04 +02:00
94c7c2b780 MacOS: Move includes inside #ifdef so OpenGL can be disabled 2025-10-06 06:20:44 +11: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
cf3c00056c Merge pull request #109974 from rsanchezsaez/apple/swiftui-lifecycle
SwiftUI lifecycle for Apple embedded platforms
2025-10-03 12:01:09 -05: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