Henrik Rydgård
ac93419331
Merge the 1.16.6 branch into master
...
Also deletes some unused code.
2023-10-13 11:00:11 +02:00
Henrik Rydgård
028c7c3ea8
Android: Fix crashes on screen rotation
2023-10-11 16:44:30 +02:00
Henrik Rydgård
8c821893f1
Android: Fix crashes on screen rotation
2023-10-09 18:24:43 +02:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
1a19884769
Manage the Vulkan "EmuThread" from C++.
...
Preparation for a larger EmuThread refactoring.
2023-09-29 11:35:13 +02:00
Henrik Rydgård
c28dc9e4f2
Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis
2023-09-27 11:34:31 +02:00
Henrik Rydgård
91119c7052
Remove useless wait loop since we join the thread anyway
2023-09-26 00:50:36 +02:00
Henrik Rydgård
0fd22ea3bb
Comment clarifications. Slightly extend renderlock use in shutdown.
2023-09-25 09:40:14 +02:00
Henrik Rydgård
1b8b441cfd
Tighten up some renderloop logic in app-android.cpp
2023-09-25 00:03:58 +02:00
Henrik Rydgård
2291855a1f
Remove dead code path
2023-09-25 00:03:38 +02:00
Unknown W. Brackets
9dbfc1cc55
Android: Reduce JVM attach logspam.
2023-09-04 23:42:59 -07:00
Henrik Rydgård
80a99a67d9
Control: Change internal interfaces to batch-process input axis updates
...
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.
Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård
b501abf576
Add more display information to system info.
2023-08-30 17:38:22 +02:00
Henrik Rydgård
1025bbcf89
Log level/type: Use enum class instead of the awkward namespace trick.
...
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Henrik Rydgård
dfe187df1e
Allow disabling HTTPS through the config file
...
Simply set:
```ini
[General]
DisableHTTPS = True
```
Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Henrik Rydgård
60492ae579
Make System_ShowFileInFolder a "request"
...
Also makes support queryable.
Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård
a84cb357dc
Comment fixes, adjust a couple of sleeps
2023-08-13 17:57:46 +02:00
Henrik Rydgård
0477ba8c78
Core.cpp: Some slight simplifications
2023-08-10 17:15:56 +02:00
Henrik Rydgård
bcae36d8cb
Merge NativeUpdate and NativeRender, we always call them together.
2023-08-07 22:50:57 +02:00
Henrik Rydgård
ab6e902fea
Make naett work on Android, UWP, Mac. Exclude on Linux
2023-07-21 10:28:31 +02:00
Henrik Rydgård
85f5136a81
Add a GetProperty query for the git version
2023-07-20 10:57:52 +02:00
Henrik Rydgård
2537f76277
UI: Add a basic FileChooserChoice view
2023-07-16 12:14:40 +02:00
Henrik Rydgård
c363cccc58
Java dialog requests: Simplify handling, more unique error codes
2023-07-15 12:24:00 +02:00
Henrik Rydgård
63144340f5
First-boot memstick screen: Attempt to fix some logic holes
...
This handles some cases better that I don't really see how they can
happen, but who knows. Intended to help #17683
2023-07-12 11:29:24 +02:00
Henrik Rydgård
f33660b033
Oops, deleted a line too much. Fixes a weird storage permission issue.
2023-07-06 21:48:39 +02:00
Henrik Rydgård and GitHub
16efa1d877
Merge pull request #17672 from hrydgard/android-show-exceptions
...
Android: Show some Java exceptions as they happen
2023-07-06 20:24:06 +02:00
Henrik Rydgård
bc35c3341f
Allow putting a user string in reported java exceptions
2023-07-06 19:21:19 +02:00
Henrik Rydgård
9d877106d7
Android: Report various exceptions that we catch to the user if they happen
...
This can let users help debug some obscure cases.
2023-07-06 19:06:27 +02:00
Henrik Rydgård and GitHub
e1060c80ff
Merge pull request #17671 from hrydgard/android-message-cleanup
...
Android string message cleanup
2023-07-06 19:06:14 +02:00
Henrik Rydgård
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +02:00
Henrik Rydgård
ac4506e389
Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed
2023-07-06 17:13:04 +02:00
Henrik Rydgård
de96926d2e
Android input: Filter axis messages for duplicates. Assorted fixes and cleanup.
2023-07-06 12:29:27 +02:00
Henrik Rydgård
fc3f7da3af
TouchTestScreen: Have 8 entries logged instead of 2.
2023-07-06 11:48:25 +02:00
Henrik Rydgård
d23f659533
Android and iOS buildfixes
2023-06-30 17:35:27 +02:00
Henrik Rydgård
38f174eab4
Add query for system text input
2023-06-22 08:58:30 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +02:00
Henrik Rydgård and GitHub
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
4f1be34f24
Revert "Remove the Android display resolution selector"
...
This reverts commit ea0eaa31e6 .
2023-05-17 09:37:15 +02:00
Lubos
0447b2b78a
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 19:41:23 +02:00
Henrik Rydgård
91be4cfeb6
typo fix
2023-04-29 16:15:48 +02:00
Henrik Rydgård
6945deec01
Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy
2023-04-28 21:04:05 +02:00
Henrik Rydgård
075ccc0821
Android: Update target version to SDK 33
...
Which corresponds to Android 13.
Additionally removes redundant version lines from the manifest, and
includes a small warning fix.
2023-04-18 10:27:06 +02:00
Henrik Rydgård
38f4cc4cc9
Make reverse mapping lookup work for the simple PSP buttons.
2023-03-31 11:05:29 +02:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
b440e28e38
Remove System_SendMessage!
...
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
4c99712b60
And "immersive", "audio_resetDevice"
2023-03-22 23:52:38 +01:00
Henrik Rydgård
ac47476253
And share_text, toast, recreate
2023-03-22 23:52:25 +01:00
Henrik Rydgård
87d0c21f14
Make proper requests for the external hardware commands (gps, microphone, camera)
2023-03-22 23:52:25 +01:00
Henrik Rydgård
5a55fd5fd3
And replace "graphics_restart", "toggle_fullscreen", etc
2023-03-22 23:52:15 +01:00