Riteo
c3b04e6e1e
Wayland: fix error spam when closing popup
...
Previously we did not check whether the value actually changed or not
and thus would get constant errors for no reason.
2025-05-12 05:11:24 +02:00
Stuart Carnie
f658161619
macOS: Embedded window can be dismissed by clicking close
...
- Installed a SIGINT handler to terminate the application gracefully.
- Handle varying display scaling
2025-05-12 07:09:42 +10:00
Raul Santos
6464347157
[Android] Store native libraries uncompressed in APK
2025-05-11 21:02:44 +02:00
Pāvels Nadtočajevs
5441a82cfb
Do not call `accessibility_set_window_rect` on Wayland, fix main windows accessibility context creation.
2025-05-11 12:51:46 +03:00
Fredia Huya-Kouadio
c29545f793
Bump the minimum supported SDK version to 24
...
Raise the minimum supported Android version from Android 5 (Lollipop) to Android 7 (Nougat).
2025-05-08 09:45:32 -04:00
Thaddeus Crews
9b6e06dcf3
Merge pull request #106152 from m4gr3d/bump_target_sdk
...
Annual versions bump for the Android platform
2025-05-08 07:19:34 -05:00
Thaddeus Crews
872ca1b3c9
Merge pull request #106139 from akien-mga/crash-handler-backtrace-print
...
Improve script backtrace print in crash handlers
2025-05-07 12:48:25 -05:00
Fredia Huya-Kouadio
4b4144cc39
Annual versions bump for the Android platform
...
- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
2025-05-07 13:14:49 -04:00
Rémi Verschelde
a6398d71a3
Improve script backtrace print in crash handlers
...
Also fix the editor crash handler message for bug reports not properly
using the `.editor` override.
2025-05-07 09:52:50 +02:00
Stuart Carnie
9290adee38
MacOS: Additional improvements and fixes for embedded window support
2025-05-07 06:11:05 +10:00
Thaddeus Crews
4cb030d6bf
Merge pull request #106089 from mihe/rogue-newlines
...
Fix empty lines being added for errors with no script backtrace
2025-05-06 08:38:04 -05:00
Thaddeus Crews
aa24e3b671
Merge pull request #105884 from stuartcarnie/macos_embedded
...
macOS: Embedded window support.
2025-05-06 08:37:59 -05:00
Stuart Carnie
00e1fdec2c
MacOS: Embedded window support.
2025-05-06 06:09:05 +10:00
Thaddeus Crews
8ab73248bc
Merge pull request #106083 from Riteo/pointing-somewhere
...
Wayland: Ensure pointed window's existence in `mouse_get_position`
2025-05-05 11:24:18 -05:00
Thaddeus Crews
c40c56b406
Merge pull request #105822 from bruvzg/mm_update_enter
...
[macOS] Update entered state from `mouseMoved`.
2025-05-05 11:24:15 -05:00
Mikael Hermansson
31b90246e7
Fix empty lines being added for errors with no script backtrace
2025-05-05 13:27:21 +02:00
Riteo Siuga
d4dabd15aa
Wayland: Ensure pointed window's existence in mouse_get_position
...
Should fix a crash with certain compositors.
2025-05-03 20:24:44 +02:00
Alexander Hartmann
cf00265386
Fix Xbox Controller on Android
2025-05-03 01:09:05 +02:00
Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents
2025-05-02 08:23:01 -05:00
uno1982
5ce11b1eac
Fix for ps4 and ps5 controller options and share buttons
2025-05-01 11:30:02 -05:00
Thaddeus Crews
f4f1471b57
Merge pull request #105910 from lawnjelly/global_get_fast4
...
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
lawnjelly
f8f350a32a
Add `GLOBAL_GET` cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
tthhr
e7a3729175
fix:Compile error in wayland display server when compiling linuxbsd platform after disabling dbus
2025-04-30 14:22:52 +08:00
Thaddeus Crews
a13d05421f
Merge pull request #105914 from adamscott/add_ignore_case_2
...
[Buildsystem] Add `EnumVariable(ignorecase=2)`
2025-04-29 16:05:19 -05:00
Adam Scott
1fbc0c5631
[Buildsystem] Add `EnumVariable(ignorecase=2)`
2025-04-29 13:35:40 -04:00
Anish Mishra
f8e935d406
Enable close button on PicoOS
2025-04-29 22:38:37 +05:30
Fredia Huya-Kouadio
ccf61650bd
Use `separate_debug_symbols` to control generation of the separate Android debug symbols file
2025-04-28 08:33:12 -07:00
Thaddeus Crews
2242bf9b3d
Merge pull request #105697 from akien-mga/scons-x86_32-mfpmath-sse
...
SCons: Explicitly enable `-mfpmath=sse -mstackrealign` for x86_32
2025-04-28 10:01:31 -05:00
Thaddeus Crews
f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
...
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Thaddeus Crews
4104931e4a
Merge pull request #105804 from bruvzg/tb_crash
...
[macOS] Fix touch bar observer crash.
2025-04-27 19:21:25 -05:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
...
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Marcos Casagrande
197b307061
[Web] Optimize GL.getSource for known-length shader sources
2025-04-27 17:44:08 +02:00
Pāvels Nadtočajevs
152423230c
[macOS] Update entered state from `mouseMoved`.
2025-04-27 16:00:28 +03:00
Pāvels Nadtočajevs
3e8c99b346
Fix `uiautomationcore` linking in 32-bit x86 MinGW builds.
2025-04-26 23:45:07 +03:00
Pāvels Nadtočajevs
4450594fb5
[macOS] Fix touch bar observer crash.
2025-04-26 23:29:07 +03:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning
2025-04-26 12:06:20 -05:00
Pāvels Nadtočajevs
46c690e4b2
[MinGW] Explicitly link `shell32` library.
2025-04-25 21:27:15 +03:00
Thaddeus Crews
2bf7184ed9
Merge pull request #103865 from Repiteo/scons/__has_include
...
SCons: Remove `check_c_headers`
2025-04-25 11:36:06 -05:00
Thaddeus Crews
60726563c9
Merge pull request #105621 from Repiteo/scons/begin-decouple
...
SCons: Begin decoupling generation & build code
2025-04-25 11:36:04 -05:00
Thaddeus Crews
041c69db2f
Merge pull request #101454 from Riteo/fifo_ftw
...
Wayland: Handle `fifo_v1` and clean up suspension logic
2025-04-25 11:36:04 -05:00
Thaddeus Crews
795b11e705
Merge pull request #105741 from bruvzg/scr_bt_crash
...
Print script backtrace in the crash handler.
2025-04-25 11:36:03 -05:00
Thaddeus Crews
007717faf9
SCons: Remove `check_c_headers`
...
• Can instead check for headers directly with `__has_include`, a C++17 feature
2025-04-25 11:30:39 -05:00
Thaddeus Crews
5c9f93ce03
SCons: Begin decoupling generation & build code
2025-04-25 08:23:01 -05:00
Pāvels Nadtočajevs
e61edcadb8
Print script backtrace in the crash handler.
2025-04-25 09:15:20 +03:00
Pāvels Nadtočajevs
43e9b04f66
Update Mesa-NIR library detection and download script.
2025-04-25 08:11:14 +03:00
dementive
b8e44a0000
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-24 20:10:31 -04:00
Thaddeus Crews
28089c40c1
Merge pull request #91006 from reduz/live-backtrace
...
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00
reduz
d1dcb40d56
Ability to print and log script backtraces
...
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2025-04-24 18:54:41 +02:00
Thaddeus Crews
240cf0d60a
Merge pull request #105709 from bruvzg/angle_no_vlk
...
Fix macOS build with ANGLE enabled and Vulkan disabled.
2025-04-24 09:09:28 -05:00
Thaddeus Crews
760fb30b83
Merge pull request #105611 from m4gr3d/upgrade_android_tools_main
...
Update the Android NDK to the latest LTS version (r27c)
2025-04-24 09:09:27 -05:00
Pāvels Nadtočajevs
e096e2fa8a
Fix macOS build with ANGLE enabled and Vulkan disabled.
2025-04-24 15:57:13 +03:00
Rémi Verschelde
08fa148310
SCons: Explicitly enable `-mfpmath=sse -mstackrealign` for x86_32
...
Passing `-msse2` doesn't seem to be sufficient to opt into SSE floating point math
instead of the less stable x87.
`-mstackrealign` also seems necessary when using SSE on x86_32.
2025-04-24 12:36:29 +02:00
Pāvels Nadtočajevs
e6d3cf63fb
[ColorPicker, macOS] Add link to request required screen recording permission.
2025-04-23 22:25:10 +03:00
Thaddeus Crews
c00cee3c03
Merge pull request #102171 from Muller-Castro/apksigner-fix
...
Fix apksigner execution failure on linux
2025-04-23 12:01:28 -05:00
Pāvels Nadtočajevs
e45dd45156
[macOS] Fix close button hidden and title bar transparent in fullscreen mode.
2025-04-23 08:13:33 +03:00
Fredia Huya-Kouadio
fac2ebed78
Update the project NDK to the latest LTS version (r27c)
2025-04-22 19:43:59 -07:00
Thaddeus Crews
34cb8999b0
Merge pull request #105605 from m4gr3d/setup_debug_symbols
...
Android: Enable native debug symbols generation
2025-04-22 18:25:49 -05:00
Muller-Castro
d702460caf
Fix apksigner execution failure on linux
2025-04-22 19:47:30 -03:00
Fredia Huya-Kouadio
8a514ae56f
Enable native debug symbols generation
2025-04-22 09:04:49 -07:00
Marcos Casagrande
3e7e09f915
Web: Avoid unnecessary gamepad polling when no gamepads are connected
2025-04-20 21:47:53 +02:00
Riteo Siuga
48882f3ca4
Wayland: Handle fifo_v1 and clean up suspension logic
...
Before, the WSI was unfortunately quite broken and we had work around it
by manually pacing frames. Needless to say it was not an ideal solution.
Now, the WSI can make use of the new fifo_v1 protocol to work properly.
If it's available, we'll trust the WSI by disabling manual frame pacing.
While we're at it, let's clean up the suspension code a bit by removing
some duplicated stuff and handling the suspension state through a switch
case.
2025-04-20 18:05:35 +02:00
Marcos Casagrande
ed0690dc44
Web: prevent unnecessary canvas resizes by flooring scaled dimensions
2025-04-20 16:53:37 +02:00
jss2a98aj
2e61c7773b
Fix OS_Windows::get_video_adapter_driver_info()
2025-04-18 19:11:40 -04:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
d07c162d10
Merge pull request #105430 from bruvzg/fix_llvm20_mingw_crash
...
Fix crash in release build with llvm-mingw.
2025-04-16 10:45:16 -05:00
Thaddeus Crews
485406b5e0
Merge pull request #104819 from m4gr3d/setup_godot_tools_lib_maven_central
...
Add maven publishing configuration for Godot tools
2025-04-16 10:45:14 -05:00
Thaddeus Crews
9906016959
Merge pull request #105301 from syntaxerror247/fix-decimal-keyboard
...
Android: Fix decimal keyboard
2025-04-15 12:28:46 -05:00
bruvzg
da1fca613f
Fix crash in release build with llvm-mingw.
2025-04-15 20:18:11 +03:00
Anish Mishra
8f0a642f6c
Android: Fix Decimal keyboard
2025-04-15 08:09:37 +05:30
Thaddeus Crews
0d267e7b1e
Core: Add dedicated `BitField` template
2025-04-11 11:53:26 -05:00
Thaddeus Crews
608e7a27eb
Merge pull request #105242 from adamscott/add-wasm-ld-wall
...
[Web] Add the equivalent of `-Werror` for `wasm-ld`
2025-04-11 09:51:12 -05:00
Thaddeus Crews
4972a524fc
Merge pull request #96139 from Alex2782/reverting_pr_84331
...
Add configuration option to disable `Scroll Deadzone` on Android
2025-04-11 09:51:08 -05:00
Thaddeus Crews
0964badc05
Merge pull request #105210 from nikitalita/gdsoftclass-fa-da
...
Add GDSOFTCLASS to FileAccess and DirAccess derived classes
2025-04-11 09:51:08 -05:00
Thaddeus Crews
717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
...
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Thaddeus Crews
cad0cd94ef
Merge pull request #105225 from bruvzg/ds_gdsoft
...
Change `DisplayServerMacOS` from `GDCLASS` to `GDSOFTCLASS`. Add `GDSOFTCLASS` to other display servers.
2025-04-10 16:53:42 -05:00
Thaddeus Crews
94282d88f9
Core: Use `Math` namespace for constants
2025-04-10 16:29:30 -05:00
Adam Scott
ce4f64583a
Add the equivalent of `-Werror` for `wasm-ld`
2025-04-10 11:49:03 -04:00
Thaddeus Crews
cade15a163
Merge pull request #92475 from AThousandShips/string_replace_char
...
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 10:18:16 -05:00
Thaddeus Crews
722ddf6e6f
Merge pull request #103802 from Rindbee/set-unsupported-to-true-on-error-in-FreeDesktopScreenSaver
...
Set `unsupported` to true on error in `FreeDesktopScreenSaver`
2025-04-10 10:18:14 -05:00
Thaddeus Crews
fc1dbda769
Merge pull request #105164 from stuartcarnie/apple_pthread
...
Apple: Add pthread implementation of `Thread` class
2025-04-10 10:18:12 -05:00
A Thousand Ships
889410dcda
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
0497522933
Change `DisplayServerMacOS` from `GDCLASS` to `GDSOFTCLASS`. Add `GDSOFTCLASS` to other display servers.
2025-04-10 09:18:58 +03:00
Stuart Carnie
8c8d6de3e7
Apple: Add pthread implementation of `Thread` class
...
This allows Apple platforms to override the default stack size of
a thread in the WorkerThreadPool, which is 512KiB by default.
This must be increased, as SPIRV-Cross, used by the Metal driver, can
use deeply nested stacks, as can debug builds.
2025-04-10 09:35:40 +10:00
Thaddeus Crews
7a6c3b309f
Merge pull request #105130 from bruvzg/uri_fix_plus
...
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
nikitalita
2d0ae77719
add GDSOFTCLASS to FileAccess and DirAccess derived classes
2025-04-09 11:52:50 -07:00
Thaddeus Crews
a8598cd8e2
Merge pull request #71542 from bruvzg/export_project_settings
...
[Export] Use project settings overrides with the target preset features instead of current platform features.
2025-04-09 08:51:47 -05:00
Thaddeus Crews
4362b11557
Merge pull request #103405 from van800/shakhov/macosx
...
Fix `.sln` project generation logic for Rider to support all OS and all C++ toolchains
2025-04-09 08:51:45 -05:00
bruvzg
c6739f64df
[Export] Use project settings overrides with the target preset features instead of current platform features.
2025-04-08 21:22:37 +03:00
Thaddeus Crews
295c0f5bd2
Merge pull request #105129 from Riteo/soft-serve
...
Wayland: Fix error spam for closed windows
2025-04-08 12:32:48 -05:00
Thaddeus Crews
e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
...
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews
95dc68c8c6
Merge pull request #105107 from bruvzg/min-max-flag
...
Add separate `minimize_disabled` and `maximize_disabled` window flags.
2025-04-08 12:32:44 -05:00
Thaddeus Crews
d98c3f5ffe
Merge pull request #104333 from Mickeon/documentation-even-more-miscellaneous-oddities
...
Fix *even* more miscellaneous oddities around the class reference
2025-04-08 12:32:41 -05:00
Pāvels Nadtočajevs
4310cb82b8
AccessKit integration for macOS, Linux, and Windows.
2025-04-08 20:25:47 +03:00
Ivan Shakhov
6ff86e49cf
Fix .sln project generation logic for Rider to support all OS and all C++ toolchains
...
Co-authored-by: Andreia Gaita <shana@spoiledcat.net>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-04-08 15:40:05 +02:00
Pāvels Nadtočajevs
9abe2e5294
Add `uri_file_decode` to handle `+` in file names.
2025-04-07 23:49:17 +03:00
Alex
cd68034e01
Add configuration option to disable `Scroll Deadzone` on Android
2025-04-07 22:15:31 +02:00
Riteo
36d96f7f37
Wayland: Fix error spam for closed windows
...
I ported the new softclass macro too blindly. Apparently the various
window messages did not cast properly, skipping some important "deleted
window" checks.
2025-04-07 20:22:08 +02:00
Pāvels Nadtočajevs
f37fb49739
Add separate `minimize_disabled` and `maximize_disabled` window flags.
2025-04-07 18:58:11 +03:00
Micky
7603945d14
Fix *even* more miscellaneous oddities around the class reference
2025-04-07 17:37:08 +02:00