Commit Graph

122 Commits

Author SHA1 Message Date
ed207ab5da Ported: Remove duplicate Android sensor listener registrations - madmiraal
b66b153b8c
2022-07-28 10:08:07 +02:00
92e1759b39 Ported: Fix the logic to restart the Godot application - m4gr3d
b162e7ac39
2022-07-28 10:06:47 +02:00
bruvzg
780e820b67 Remove cached icon earlier, to prevent double free crash on exit. 2022-07-27 23:41:19 +02:00
Hugo Locurcio
c0c4418ce7 Increase compiler optimization when using target=release on iOS/Android
(cherry picked from commit 78b4ec2d4d0d6233ca0f4d8cfeb74640063e970f)
2022-07-27 18:48:04 +02:00
Haoyu Qiu
8790700593 Try to convert OS::execute() output to Unicode on Windows
(cherry picked from commit a71e8081124eaf4eac6059bfeb3550a400bc2002)
2022-07-27 18:41:55 +02:00
bruvzg
e7f9cc8db3 Save and re-apply window icon when changing window style.
(cherry picked from commit b268c4b4bc8a1c246984249b2ce88277df47fe78)
2022-07-27 18:41:32 +02:00
Timo Schwarzer
2f2e3573bd Fix vibration duration on iOS
Fixes #61063
2022-07-27 18:26:32 +02:00
Haoyu Qiu
a29aac105f Swap the meaning of CURSOR_WAIT and CURSOR_BUSY 2022-07-27 18:18:12 +02:00
781902dc4d Ported: [3.x] Fix sign comparison error in platform/osx/os_osx.mm - asmaloney
7c6564ef7e
2022-07-27 15:18:43 +02:00
Marcel Admiraal
24db598946 Read and store joypad events in a separate thread on x11 platform 2022-07-27 15:01:13 +02:00
850a84584d ported: Add OS::is_process_running function.
Adds the is_process_running function to the native OS class and exposes it to script.
This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function.
Documentation is updated to reflect new API function. - mdavisprog
53fb0440d3
I did change it a bit.
2022-07-27 14:46:53 +02:00
Fabio Alessandrelli
b99cb9343d Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten.

(cherry picked from commit 070bd87aaaf7a15ad9d2d839182f14d5c352153b)
2022-07-27 14:35:37 +02:00
f0a6bd5a31 Ported: Added missing signature. - Faless
89c8a8d1dc
2022-07-27 14:35:14 +02:00
5b4d506183 Ported: Fix simulatenous touches for different touch types - Paulo Feodrippe
c46bbdee53
2022-07-27 14:33:08 +02:00
02eef8fc57 Ported: Check for null when retrieving clip data item text on Android - madmiraal
fe60de2c6a
2022-07-27 14:28:26 +02:00
Rémi Verschelde
4ca6458457 Crash handler: Use print_error to include backtrace in logs 2022-07-27 14:25:16 +02:00
bruvzg
127060d953 Fix export plugins after embedded PCK loading changes. 2022-07-27 14:10:05 +02:00
b26a1cd3b4 Ported: [3.x] Improve embedded PCK loading and exporting. - bruvzg
bea7c9be5d
2022-07-27 09:33:39 +02:00
Rémi Verschelde
a0f698d4a6 Linux: Use pkg-config for alsa, libudev and GL too
It's not needed on most distros as those are found in standard lib
and include paths, but on NixOS they're all in non-standard prefixes,
so we need to rely on information provided by pkg-config.

Fixes #59913.

Co-authored-by: David Lewis <davidalewis00@gmail.com>
(cherry picked from commit 07ad0664204fbc965627ed5cba548e93e5af4be7)
2022-07-27 09:03:00 +02:00
8156e2ba36 Ported: Vibrate using iOS haptics engine on supported devices (3.x) - timoschwarzer
8fb9c96df9
2022-07-27 01:23:10 +02:00
720fac314f Fix an another typo. 2022-07-27 00:33:10 +02:00
f3f3d61a94 Fx typo. 2022-07-27 00:25:58 +02:00
f3ec84fa78 Ported: Add a method for obtaining display cutouts on Android - madmiraal
ec2270b88f
2022-07-27 00:21:20 +02:00
e7a5c47f8b Ported: Fix several OS_X11 memory leaks - timothyqiu
95d861694a
2022-07-27 00:04:29 +02:00
634345f152 Ported: Remove duplicate resizable settings - m4gr3d
a3b445d7e8
2022-07-26 12:33:36 +02:00
d14f7d0134 Ported: Update resize settings:
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template
- m4gr3d
4ff726b933
2022-07-26 12:25:24 +02:00
Lyuma
3554a0aa81 Keep editor at normal priority on windows.
The multithreaded importer often causes system-wide hangs when importing more than 20 files at a time.
Running the editor at normal priority allows other applications on the system to be responsive during long imports.

(cherry picked from commit ee02a7f785b672304346028bc500949050432fa5)
2022-07-26 11:49:59 +02:00
ef7f5a8c43 Fix an another error. 2022-07-25 22:30:16 +02:00
08ee0b9406 Fix android build. 2022-07-25 22:26:55 +02:00
15b447d880 Ported: Update the editor display scale based on the device's scaled density - m4gr3d
3ba0508f79
2022-07-25 22:07:34 +02:00
491662250f Ported:
[macOS, 3.x] Fix OpenGL color space on HDR displays.  - bruvzg
1f51bae294
2022-07-25 19:15:11 +02:00
C.Even
b3761f4973 Retrieve primary monitor size in fullscreen mode
* Fixes #21674
2022-07-25 18:16:31 +02:00
ConteZero
36def404b2 Fix X11 is_window_maximized 2022-07-25 18:00:34 +02:00
d4c57cf537 Fix compile when using llvm on linux. 2022-04-02 12:58:52 +02:00
e419b12067 Also removed remnants of the core xatlas. 2022-04-02 12:41:05 +02:00
8009d32185 Removed remnants of libvpx and libwebp. 2022-04-02 12:34:15 +02:00
7641f064d0 Fixed low processor mode on android. The fix was inspired by https://github.com/godotengine/godot/pull/59606, although I did it differently. 2022-03-28 13:21:41 +02:00
53efe58c4f Cleanups and fixed compile for frt. 2022-03-27 13:48:18 +02:00
09742a48b6 Also added frt1 (https://github.com/efornara/frt/tree/1.x). 2022-03-27 13:36:42 +02:00
996d47081b Renamed frt to frt_sdl. 2022-03-27 13:31:47 +02:00
adcc57bc7b Fix frt's compile. 2022-03-27 13:18:59 +02:00
cb739deb8e Added efornara's frt2 platform. (https://github.com/efornara/frt - 2.0 branch). It won't build when selected right now, due to core changes. 2022-03-27 13:00:05 +02:00
d328372f38 Updated old paths in the android jni wrapper classes. This fixes the export templates. 2022-03-24 21:39:55 +01:00
8710bc131e Changed all icons. Also small cleanups. 2022-03-24 01:09:27 +01:00
e5e17fcd68 Removed a few now unneeded files. 2022-03-24 00:17:36 +01:00
8e0097f960 Clang format. 2022-03-23 23:56:47 +01:00
c054c4db58 Cleaned up more remnants of the mono module. 2022-03-23 23:10:27 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
d1587aaa6b Removed bullet. 2022-03-23 13:28:35 +01:00
c9ad789c17 Add comment on why the low processor usage doesn't work on android. 2022-03-23 12:02:20 +01:00
068d2b506b Removed remaining xr specific things. 2022-03-23 11:36:11 +01:00
a271898744 Fix typo. 2022-03-23 08:26:29 +01:00
b74c00ea65 Backported the 3.x android editor port pr by m4gr3d and thebestnom. (Godot pr 57747). 2022-03-22 19:35:57 +01:00
987f77442a Now Vector2i is in it's own header and cpp file. 2022-03-21 01:50:02 +01:00
40b60f3c86 Backported: - Fix DST Error on Windows (cherry picked from commit 4802f15) - ztc0611 (658877c350) 2022-03-20 19:00:38 +01:00
d740ef5d18 Finished cleaning up includes for the classes under the editor folder. I skipped removing a few that needed more changes to the headers / cpp files for now. 2022-03-19 04:08:34 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
3e97039c99 Added compile options for rtti and exceptions. They are disabled by default. They used to be enabled on most platforms, it does not seem to break anything. 2022-03-18 17:04:14 +01:00
9fd8fc6eed Same change to classes under platform. 2022-03-17 22:38:14 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
ced4ae75a5 Backported:
6c2bd12031
c2c0c8067d
62fa80afd7
fd968157a4
c0bd05762e
72837b8ecd

From godot.
2022-03-16 18:18:23 +01:00
d057ffdd40 Fix unused variable in the osx backend. 2022-03-16 10:21:40 +01:00
0edcb0e374 Fix unused variable warning. 2022-03-16 09:24:09 +01:00
0deb492bb4 Fix 2 typos in the iphone backend. 2022-03-16 09:16:10 +01:00
257f1f6175 Fix typo and missing include in the windows and oxs backends. 2022-03-16 09:09:42 +01:00
d39f2a89a7 Fix typo in the javascript backend. 2022-03-16 09:05:33 +01:00
00cc289004 Fix missing include in the javascript backend. 2022-03-16 08:57:38 +01:00
23c332974a Removed the arvr server. 2022-03-16 02:39:55 +01:00
9e0b7c56bb Removed the UWP platform, as I was never once able to build in last 3 years. 2022-03-15 18:29:53 +01:00
00285e8b24 Removed the gles3 driver. There are still mentions of it in a few places, I did not removed all of those. 2022-03-15 17:01:21 +01:00
ba4cda4890 Removed the lightmap_raycast module along with embree. 2022-03-15 15:37:28 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00