Commit Graph

3496 Commits

Author SHA1 Message Date
Rémi Verschelde ebec8162c9
SCons: Fix Python 3.12 SyntaxError with regex escape sequences
(cherry picked from commit b362976504)
2024-01-30 15:03:17 +01:00
Rémi Verschelde 1c125e6cc6
Web: Fix version check for missing scalbnf LTO workaround
The check needs to happen after we set `env["CXX"]`.
Follow-up to #81340.

(cherry picked from commit 50161808c2)
2023-09-24 15:39:47 +02:00
bruvzg 6b46ebef01
[macOS, 3.x] Workaround Xcode 15 linker bug.
(cherry picked from commit fad3fced8f)
2023-09-24 14:13:04 +02:00
bruvzg 09b94aa8ba
[macOS] Change target version to 11.0+ to fix PCRE SLJIT build.
(cherry picked from commit 233f21108b)
2023-09-24 14:12:41 +02:00
bruvzg 820fb37e60
[macOS] Disable live resize in multithreaded rendering mode.
(cherry picked from commit dfa509a3b4)
2023-09-24 14:06:56 +02:00
Pablo Navarro 36a04314bd
Added support for repackaging the generated UWP APPX file with makeappx.
(cherry picked from commit 7d7e256e7f)
2023-09-24 14:05:34 +02:00
Rémi Verschelde 86b409f067
Web: Workaround Emscripten 3.1.42+ LTO regression
Fixes #80010.

(cherry picked from commit b064008c07)
2023-09-06 14:04:01 +02:00
SysError99 d20dfcfe79
[3.x] Fix JavaScript callback memory leak
(cherry picked from commit 8ac91f813f)
2023-09-06 14:03:58 +02:00
ocean (they/them) 5013dde8fc
Build system: add option for MSVC incremental linking.
(cherry picked from commit bbafe14970)
2023-09-06 13:21:32 +02:00
Ben Rog-Wilhelm 5267fcb1bc
Fix: incorrectly .gitignored files.
(cherry picked from commit 90f3992036)
2023-09-06 13:18:19 +02:00
Rémi Verschelde 10af8ad8d8
SCons: Disable misbehaving MSVC incremental linking
Fixes #77968.

(cherry picked from commit bc1aef88ee)
2023-08-28 17:31:27 +02:00
Riteo 212190ae49
Build `JoypadLinux` sandbox detection method only with udev
Fixes an `unused-function` warning when building with `udev=no`.

(cherry picked from commit 51dfdfab96)
2023-08-28 17:03:39 +02:00
Dominik 3f4910bf33
Added a few additional GUIDs to list of hardcoded IDs in is_xinput_device
(cherry picked from commit 19ce63d875)
2023-08-28 16:51:41 +02:00
Roman Vasilyev 478185f79b
ios splash screen rotation fix
(cherry picked from commit 8fcca194a1)
2023-08-28 16:42:44 +02:00
Rémi Verschelde e0ad1e8358
[JS] Update npm packages
Redo of #80093 for 3.5.
2023-08-19 00:46:57 +02:00
bruvzg d8f6c3aac6
[X11] Use current keyboard layout in OS_X11::keyboard_get_scancode_from_physical.
(cherry picked from commit 9461923eff)
2023-08-19 00:37:41 +02:00
Rémi Verschelde 03b2b23ef8
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
(cherry picked from commit 8a23fa41a8)
2023-08-19 00:36:14 +02:00
Jason Knight 42f9208593
Fix null in android text entry system.
(cherry picked from commit cec8e09948)
2023-08-19 00:36:13 +02:00
Fredia Huya-Kouadio 75d8d332f2
Bump the target SDK version to 33 (Android 13)
Keep the android gradle plugin to version 7.2.1.

Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.

(cherry picked from commits 2803c471e8
and 837db0b051)
2023-08-19 00:36:12 +02:00
Fredia Huya-Kouadio c8e800f457
Fix directory access when the running app has the `All files access` permission
(cherry picked from commit e2c7d3e6c0)
2023-08-19 00:36:12 +02:00
Fredia Huya-Kouadio 5aca56bcd4
Implement file provider capabilities
The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.

(cherry picked from commit b04c9a71f4)
2023-08-19 00:36:11 +02:00
Chris Weber dfb898094a
increased max touches to 32 for ios
(cherry picked from commit 54bd204377)
2023-03-06 13:32:03 +01:00
BZ1234567890 e266ac4e3e
iOS: Implement missing gamepad.buttonOptions, buttonMenu, and buttonHome joy buttons
(cherry picked from commit 0a85e4db71)
2023-03-06 13:32:03 +01:00
Antokolos b4da1fbb41
UWP: Fix build with Google ANGLE not supporting EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER
EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER is not present in Google ANGLE,
and Microsoft ANGLE is outdated and not supported anymore.

(cherry picked from commit eebc983df8)
2023-03-06 13:32:01 +01:00
Antokolos 4574c671f6
UWP: Fix app crash when `managed_object->update_clipboard()` is called
(cherry picked from commit f5693969f0)
2023-03-06 13:32:01 +01:00
PrecisionRender 237a31e1f2
Fix Xbox Series controller duplicate input
(cherry picked from commit e9400867b3)
2023-03-06 13:02:54 +01:00
Juan Linietsky 3d9bcd7d27
Fix AltGR getting stuck on Windows right alt-tab
Fixes #28511.

(cherry picked from commit e01452adb0)
2023-03-06 13:02:03 +01:00
Jordan Schidlowsky dc0f7255f1
Windows: Fix heap overflow setting native icon
Fixes #71697.

(cherry picked from commit 86945ffc78)
2023-03-06 13:00:20 +01:00
Tom Beckmann 3ef78da85a
Fix writing value for hand-tracking V2.0 to AndroidManifest.xml
(cherry picked from commit 0116d50fdd)
2023-01-20 12:16:35 +01:00
Rémi Verschelde f78b44c1fa
macOS: Fix sprintf deprecation warning
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
(cherry picked from commit a297a69ac8)
2023-01-20 12:14:21 +01:00
dependabot[bot] 6cfbe8d442
Bump json5 from 1.0.1 to 1.0.2 in /platform/web
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit a20c8443af)
2023-01-11 16:03:02 +01:00
Marius Seufzer 7a4175504b
iOS: Add new model identifiers for DPI metrics
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
(cherry picked from commit ee5057a42e)
2023-01-11 16:03:02 +01:00
bruvzg 0c0c009f8d
[macOS] Fix stylus tilt Y direction.
(cherry picked from commit 5478f9b842)
2023-01-11 16:03:02 +01:00
Rémi Verschelde 16f6a5b139
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:32:59 +01:00
Jason Knight 602ef82e89
Change auto to default in cursor css settings.
(cherry picked from commit 6812e66f33)
2022-12-12 14:59:52 +01:00
Fredia Huya-Kouadio faaec47d54
Upgrade Android gradle plugin to version 7.2.1
(cherry picked from commit 151233b702)
2022-12-12 14:45:38 +01:00
Hugo Locurcio eb100cbddb
Only support XDG directory path configuration on Linux
This also harmonizes the server code to be consistent with Linux desktop
(with warnings printed for relative XDG paths).

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 06c266f231)
2022-12-12 14:43:22 +01:00
nyanpasu64 62be3b3a9b Fix burning CPU with udev disabled on Flatpak
Fixes #67355.

(cherry picked from commit 0cbd1c85a9)
2022-12-12 14:42:47 +08:00
Pedro J. Estébanez 0e0550a83a Fix newlines not honored in Windows console
This is relevant when building with `windows_subsystem=console`.

(cherry picked from commit e14c5186e2)
2022-12-12 14:40:39 +08:00
bruvzg d3d72268cd [MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
(cherry picked from commit d99c32668a)
2022-12-12 14:13:16 +08:00
bruvzg 014525904a [macOS] Update activation hack to work on Ventura.
(cherry picked from commit 153d06d79b)
2022-12-05 10:09:54 +08:00
Abdulrahman Al Zeidi 8f01733d52 Fix static object destructors being called on gpu selection with X11
(cherry picked from commit 5860f81c18)
2022-12-05 10:09:43 +08:00
Dan d4f402b728 fix exporting Android APPLICATION_ATTRIBS (3.X)
(cherry picked from commit d789ad4b20)
2022-12-05 09:44:00 +08:00
Fredia Huya-Kouadio 05cb89855e Update the `clean` task configuration
Running `gradlew clean` will now properly delete the generated build artifacts

(cherry picked from commit 71c76a4ff2)
2022-12-05 09:28:00 +08:00
Jason Knight f5b2f77111 Fix null in android keyboard handling.
(cherry picked from commit 31fe6848e8)
2022-12-05 09:22:16 +08:00
Rémi Verschelde 560c77b1a1 HTML5: Add missing `OS::get_cursor_shape()` implementation
Fixes #66835.

(cherry picked from commit 6f6c8b114b)
2022-12-05 09:21:28 +08:00
bruvzg a0f1eac3e9 [Windows, 3.x] Fix WM_CHAR processing code using Unicode char instead of Virtual key.
(cherry picked from commit 77fc88e9a6)
2022-12-05 09:17:08 +08:00
Ted Spikes 6025d4ae2e Check for ios_simulator when building for x86_64
(cherry picked from commit 21f7bd0723)
2022-09-20 10:28:01 +02:00
Rémi Verschelde 2bb8183011 HTML5: Fix warning with Emscripten 3.1.20
Use version 3.1.14 for CI like for official builds.

(cherry picked from commit 5271d69909)
2022-09-09 14:30:52 +02:00
Rémi Verschelde a027a2efaa Mono: Show custom error explaining that UWP is not supported
Fixes #64490.

(cherry picked from commit ceef056146)
2022-09-01 11:08:18 +02:00