Commit Graph

198 Commits

Author SHA1 Message Date
bruvzg
84e3dbd406 Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
(cherry picked from commit d99c32668a55ec56442f01e51f698a0cedb96bff)
2022-12-12 12:19:44 +01:00
nyanpasu64
6064befd94 Fix burning CPU with udev disabled on Flatpak
Fixes #67355.

(cherry picked from commit 0cbd1c85a96384ef93978661e408ce7c1b721847)
2022-12-12 12:12:48 +01:00
Rémi Verschelde
8be8577da6 SCons: Remove redundant -fomit-frame-pointer and -ftree-vectorize
- `-fomit-frame-pointer` is included automatically by both GCC and
  Clang in `-O1` and above.
- `-ftree-vectorize` is included automatically by GCC in `-O2` and
  beyond, and seems always enabled by Clang.

Closes #66296. See that issue for a detailed investigation.

(cherry picked from commit c5c3d13dc0dbbf95a2350f57d69e7cdc546d395d)
2022-12-11 19:12:18 +01:00
47e2a193c4 Fix typo. 2022-11-30 19:36:35 +01:00
8eb69b8052 Fix android build. 2022-11-30 19:33:24 +01:00
Pedro J. Estébanez
53a2098620 Fix newlines not honored in Windows console
This is relevant when building with `windows_subsystem=console`.

(cherry picked from commit e14c5186e25020a3759f7e444eba00fb3aa82bb3)
2022-11-30 19:25:59 +01:00
Abdulrahman Al Zeidi
238cd5d5bf Fix static object destructors being called on gpu selection with X11
(cherry picked from commit 5860f81c18a2de8b3f38d5a58946939b5cc81425)
2022-11-30 19:20:36 +01:00
bruvzg
1c5271b0e3 Update activation hack to work on Ventura.
(cherry picked from commit 153d06d79b3a1411a632e7df778369bc170d16e0)
2022-11-30 19:20:09 +01:00
bruvzg
47ab7e8ff8 Fix ⌘ + . + other modifier triggering twice.
(cherry picked from commit bfbbe9c1d043cdd8550f5e41a8976d785da10c0f)
2022-11-30 19:08:06 +01:00
Riteo
658e19194d Actually set the execinfo flag on non-glibc systems
(cherry picked from commit a3b53538920e1a60102623a894533da76f127c22)
2022-11-30 19:07:45 +01:00
Hugo Locurcio
5b2fa8320b Automatically use execinfo for crash handler on *BSD and musl-based Linux
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e04bffbcfd5dc846e15c5e6471f96693ee698fe)
2022-11-30 19:07:29 +01:00
ba39fa8970 Ported: Fix incorrect Android scancodes - madmiraal
Also ported:  Fix wrong android key mapping.
Fixes the wrong mapping of `Key::HOME`. Androids `KEYCODE_HOME` is in fact the hardware home button the right mapping is `KEYCODE_MOVE_HOME`.
Also adds mappings to keys that were not present before.
- HolonProduction
2f7de4c8ed
477d24b6d1
2022-11-30 18:58:00 +01:00
d0bb264cc2 Ported: Fix parsing of the keep_screen_on display setting.
- m4gr3d
d08e057194
2022-11-30 18:44:51 +01:00
bruvzg
07109aa595 Use image loader directly to avoid "resource as image file" errors.
(cherry picked from commit 908bef8eee145408bbf660e873279a978a0acb74)
2022-11-30 18:41:01 +01:00
Markus Sauermann
c3866cd58a Fix unused exitcode in macos export plugin
Fix that the exitcode is never set.

(cherry picked from commit 567a591f87749389e917b7713e8ab881859207e8)
2022-11-30 18:37:32 +01:00
bruvzg
41b9bb6502 Fix export button incorrectly disabled when using login/app password for notarization.
(cherry picked from commit aa117a128e48bb922df2c17e957fb29eedfad746)
2022-11-30 18:37:00 +01:00
19efacc416 Ported: Fix 'save & restart' logic for the Android Editor - m4gr3d
5aab84befb
2022-11-30 18:12:43 +01:00
Dan
cfc4f0f050 fix exporting Android APPLICATION_ATTRIBS (3.X) 2022-11-30 14:42:07 +01:00
bruvzg
f4d5d82a99 Windows icon export improvements.
Regenerate Windows icon on export to ensure correct icon size order.
Add support for using PNG/WebP/SVG files as an icon for Windows exports.
Allow using WebP/SVG files as icon for macOS exports.
Add option to select generated icons interpolation, and set default interpolation to Lanczos.
2022-11-30 14:38:28 +01:00
bruvzg
24e41be33d Disable Dock and Menu in fullscreen mode. 2022-11-30 14:23:00 +01:00
a3f2631d59 Ported: Add double_tap attribute to InputEventScreenTouch
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
- m4gr3d
be4b07c3e4
2022-11-13 01:29:17 +01:00
db926ddd0c Ported: Add support for pointer capture - m4gr3d
5149311316
2022-11-13 01:13:22 +01:00
Zach Coleman
6fd82aca20 Add ProMotion Support to iOS Exports 2022-11-13 00:51:09 +01:00
Zach Coleman
8b12c8babf Add iOS UI Options 2022-11-13 00:50:47 +01:00
1875780dbe Ported: Update the clean task configuration
Running `gradlew clean` will now properly delete the generated build artifacts
- m4gr3d
71c76a4ff2
2022-11-13 00:34:19 +01:00
4f9137a7e5 Fix jni class access string. 2022-10-12 13:56:47 +02:00
6f4a778796 Don't try to include x86 assembly into non-x86 based platforms when cross compiling the x11 platform on x86. 2022-10-12 12:18:56 +02:00
47ee4c6415 Clean up exception ahndling and rtti flags for msvc. 2022-10-09 10:41:24 +02:00
2f68443761 Updated frt2 to the latest. https://github.com/efornara/frt/commits/2.0 2022-10-08 19:36:12 +02:00
e35409a37f Ported: flush buffered events
- efornara
bddcac35f5
2022-10-08 19:30:42 +02:00
078f558a1a Fix an another typo. 2022-10-08 19:11:36 +02:00
aad46d0e80 Fixed compile error. 2022-10-08 19:06:12 +02:00
d8a48e51bd Ported: Add cursor shape support for the Android platform - m4gr3d
46f091a803 (diff-654c896c53f1fe1db3c63e1f0409d7929b54f1e4e43b49b21a0a4eba4f945c15)
2022-10-08 19:03:10 +02:00
35249df651 Ported: Fix null in android keyboard handling.
- jasonwinterpixel
31fe6848e8
2022-10-08 18:32:02 +02:00
44381ae1d2 Ported: Change auto to default in cursor css settings.
- jasonwinterpixel
6812e66f33
2022-10-08 17:34:43 +02:00
Rémi Verschelde
a04ae000eb HTML5: Add missing OS::get_cursor_shape() implementation
Fixes #66835.
2022-10-08 17:31:11 +02:00
bruvzg
3c49c13d1a Fix WM_CHAR processing code using Unicode char instead of Virtual key. 2022-10-08 17:00:48 +02:00
Hugo Locurcio
2d2615e0ea Enable ANSI escape code processing on Windows 10 and later
This lets the engine and projects use the same color codes
in the terminal on all platforms.
2022-10-08 16:50:02 +02:00
bruvzg
160462c57b Simplify code signing options, add support for rcodesign tool for signing and notarization. 2022-10-08 16:37:21 +02:00
Ted Spikes
f66c0b7d91 Check for ios_simulator when building for x86_64
(cherry picked from commit 21f7bd0723be5ca594547074d01dd92e5bf35e9c)
2022-10-08 16:22:25 +02:00
Rémi Verschelde
fe5d1cc8ff SCons: Refactor handling of production flag and per-platform LTO defaults
Fixup to #63288.
See #65583 for the bug report.

Co-authored-by: Cyberrebell <chainsaw75@web.de>
(cherry picked from commit 35a15e619161798820b2bd6ff46178c5b7ccebcf)
2022-10-08 16:18:23 +02:00
42a9dc5e8d Fixed the android editor, now it can open projects again. Also smaller codestyle fixes. 2022-09-17 21:27:19 +02:00
f30076a9f5 Ported: Disable menus and functionality that are not relevant on the Android Editor port - m4gr3d
1f23bac645
2022-09-17 17:36:35 +02:00
6b9e851e5c Ported: Fix issue causing the project manager to crash because of missing path argument
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
- m4gr3d
4be7c91cd9
2022-09-17 17:27:50 +02:00
6e97e0c485 Fix android build. 2022-09-17 17:14:19 +02:00
7268ef04f7 Ported: Enable long press, pan and scale gestures for the Godot Android Editor
Fix the bug causing the editor to crash when running the project.
- m4gr3d
63df48a59c
2022-09-17 17:01:46 +02:00
0bb6a05a4e Removed now unneeded classes. 2022-09-17 16:35:58 +02:00
e8625c21fe Small improvements to the android platform. 2022-09-17 16:31:49 +02:00
554cf8c861 Fix android build. 2022-09-17 12:30:19 +02:00
ccba47dc7c Ported: Cleanup the Android input logic implementation - m4gr3d
440fa10246
2022-09-17 11:35:25 +02:00