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
1e757172a2
Buildfix
2023-08-23 21:19:47 +02:00
Henrik Rydgård
797f88bf31
Fix ordering problem with screenshots that was causing crashes.
...
Fixes #17781
2023-08-23 19:03:33 +02:00
Henrik Rydgård
5b76615463
Cleanup and more sensible defaults for current directory
2023-08-18 15:04:20 +02:00
Henrik Rydgård
5cc85d1df7
SDL: Actually pick the Vulkan device specified in the config.
2023-08-17 22:06:17 +02:00
Henrik Rydgård
50f4e4b1fd
SDL buildfix
2023-08-14 11:02:29 +02:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Henrik Rydgård
86fcb28d4d
Remove "bool retainControl_" for simplicity. Not needed.
2023-08-13 18:40:35 +02:00
Henrik Rydgård
1ea11c233c
Remove "SwapBuffers" from the GraphicsContext interface.
...
Buildfixes
More buildfix
headless buildfix
One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård
0477ba8c78
Core.cpp: Some slight simplifications
2023-08-10 17:15:56 +02:00
Henrik Rydgård
bf2ec90f64
Merge pull request #17865 from hrydgard/upgrade-molten-vk
...
Mac: Update MoltenVK to version from the latest SDK
2023-08-08 16:34:38 +02:00
Henrik Rydgård
2990fe48cb
Merge pull request #17867 from hrydgard/correct-mac-bundle-version
...
Fix mac bundle version string.
2023-08-08 13:01:21 +02:00
Henrik Rydgård
5ee04ce403
SDL: Break out event processing from main loop
...
Makes things a bit easier to work with.
2023-08-08 12:28:42 +02:00
Henrik Rydgård
1f65557168
Fix mac bundle version string.
...
On mac, the git-version.cpp to look at at bundle time is the one in build.
2023-08-08 12:16:10 +02:00
Henrik Rydgård
97a0acf6d0
Mac: Update MoltenVK to version from the latest SDK
2023-08-08 11:58:33 +02:00
Henrik Rydgård
7139dd326c
Buildfix
2023-08-03 18:04:12 +02:00
Henrik Rydgård
a32249a3cf
Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu
2023-08-03 16:19:18 +02:00
Henrik Rydgård
87569f895d
Quick hack for DPI on Mac/Vulkan. See issue #17758
2023-08-03 10:32:52 +02:00
Hoe Hao Cheng
7221e39a03
sdl: scale window dimensions by DPI on initialization
2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
b23c59676b
SDL: scale touch events by logical DPI too
2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
a5fb1a346c
sdl: fix --dpi option after HiDPI rework
2023-08-02 22:34:46 +08:00
Hoe Hao Cheng
0d7a1831b6
sdl: support HiDPI on wayland
2023-08-02 22:34:46 +08:00
Henrik Rydgård
fa396c2082
Qt and Mac buildfixes
2023-08-02 14:49:43 +02:00
Henrik Rydgård
ffd5e57a20
Vulkan: Don't use multithreaded rendering if frames-in-flight is set to 1
...
It has no benefit, and loses by a few percent in simple benchmarking.
2023-08-01 21:08:07 +02:00
Henrik Rydgård
b118e25b6a
Vulkan: Make multithreaded rendering an option.
...
Multi-threaded rendering is good for smoothing out performance spikes
and increasing performance on low-power devices. However, the way we use
it it doesn't benefit latency (input lag) at all, rather the opposite.
So make it an option.
2023-07-23 22:06:01 +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
0ae2f5ccbf
Fix file filters in Mac file-open dialogs
2023-07-16 15:22:04 +02:00
Henrik Rydgård
c49b3f1399
Fix keyboard presence check on switch.
...
Thanks Unknown who pointed this out in the comments to #17611
2023-07-15 19:19:44 +02:00
Henrik Rydgård
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +02:00
Henrik Rydgård
65125583f8
Revert "Merge pull request #17651 from hch12907/master"
...
This reverts commit 1253e60d19
, reversing
changes made to adc24b5001
.
2023-07-04 17:08:22 +02:00
Hoe Hao Cheng
3a86ad729d
sdl: fix --dpi option after HiDPI rework
2023-07-01 22:50:06 +08:00
Hoe Hao Cheng
1b5d8f302a
sdl: support HiDPI on wayland
2023-07-01 02:40:40 +08:00
Henrik Rydgård
cf587d2ccc
More cleanup after making PopupTextInputChoice choose method automatically
2023-06-22 09:01:14 +02:00
M4xw
ae14e08084
[Switch] Base implementation for swkbd
2023-06-22 00:46:02 +02:00
Henrik Rydgård
d167a11b1c
SDL: Add a way to reset OpenGL graphics by pressing F7.
2023-05-29 11:48:03 +02:00
Henrik Rydgård
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
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
236a7d6761
Mac: Disable/enable items in the debug menu, correctly invert BreakOnLoad <-> bAutoRun
2023-04-30 10:07:42 +02:00
Unknown W. Brackets
46101581c0
Core: Cleanup disasm buffer usage.
2023-04-29 09:07:25 -07:00
Henrik Rydgård
6e318dc8b2
Don't try to use precise mousewheel events on old SDL versions.
...
Fixes compile-time compatibility with older version of SDL.
2023-04-29 12:34:25 +02:00
Henrik Rydgård
5331c5bf84
Implement auto restart for Linux too.
2023-04-29 11:48:35 +02:00
Henrik Rydgård
048ccc9b79
Mac: Restart the app when changing rendering backend.
2023-04-29 11:38:49 +02:00
Henrik Rydgård
c81d996475
Implement the RESTART_APP system request for Mac
2023-04-29 11:38:47 +02:00
Henrik Rydgård
e1d4a19ce1
Add the basics of the Emulation menu to the Mac build
2023-04-28 15:16:57 +02:00
Henrik Rydgård
de10c1c1c6
Temporarily remove the VSync setting from the Mac menu (it's not quite working right)
2023-04-28 14:58:05 +02:00
Henrik Rydgård
26758f7934
Set CFBundleExecutable in Info.plist without path
2023-04-28 14:58:05 +02:00
Serena
f87bfda8d3
fix open in folder on macOS, avoid spawning the open command to open URLs ( #17342 )
...
* fix open in folder on macOS, avoid spawning the open command to open URLs
* fix indent
* goober alert
* no more goober
* fix compiler failing on linux
2023-04-27 13:32:41 +00:00
Henrik Rydgård
1ba4ca3a09
Assorted Mac menu localization fixes
2023-04-27 13:38:28 +02:00
Henrik Rydgård
13c857210e
Address feedback
2023-04-26 10:39:33 +02:00
Henrik Rydgård
eeaeb8b7cc
Add "Open Memory Stick" to File menu on Mac
2023-04-26 10:18:04 +02:00
Henrik Rydgård
0f107e102e
SDL: Enable precise (smooth touchpad) scrolling.
...
Made possible by #17329
2023-04-25 18:56:48 +02:00
Henrik Rydgård
6332e61e26
Fix Gold filenames, more gold prep for mac
2023-04-25 18:17:01 +02:00
Henrik Rydgård
108c8cd26a
Remove hardened requirement on the development code signing
...
When we do real releases, we override this signing anyway.
2023-04-25 16:34:00 +02:00
Henrik Rydgård
b125040944
git-version hack
2023-04-25 11:45:25 +02:00
Henrik Rydgård
dc6c30a825
rpath work
2023-04-25 11:45:25 +02:00
Henrik Rydgård
5d028cb004
Upgrade SDL for Mac
...
This removes the option to use system SDL, which seems like a trap.
Also simplifies the macbundle.sh script accordingly.
Buildfix
Buildfix fix
Moar buildfix
2023-04-25 11:45:20 +02:00
Henrik Rydgård
a040985af0
macOS: Add new macOS directory, and an Entitlements.plist file. Part of notarization work.
2023-04-24 10:51:35 +02:00
Serena
0830eb51fc
Native 'About' panel
2023-04-23 22:12:15 +03:00
Serena
bd3ae4b074
Escape string stuff, com -> org
2023-04-23 15:54:01 +03:00
Serena
a71ec1acdf
Recognize openable types in Info.plist, debug menu in top bar
2023-04-22 18:11:06 +03:00
Henrik Rydgård
d782a49229
Enable building a gold version for mac.
2023-04-19 15:06:02 +02:00
haoruiwang
7cbb7a09e5
[what][style][gpu] some coding style refine
2023-04-18 19:18:38 +08:00
ahmedmoselhi
b3c8274a80
fix build error: duplicate case value: 'SDL_SYSWM_X11' and 'WINDOWSYSTEM_DISPLAY' both equal '2'
2023-04-11 16:17:12 +02:00
Henrik Rydgård
0b6e877ac0
MacOS buildfix
2023-04-07 10:56:50 +02:00
Henrik Rydgård
019a9e2923
MacOS build fixes
2023-04-07 10:35:01 +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
177a6821ee
Merge branch 'serena/macos-bar-menu-items'
2023-03-28 21:54:14 +02:00
Serena
67896bf885
Switch to boot
2023-03-28 21:44:12 +03:00
Henrik Rydgård
c578b91779
Make clipboard copies threadsafe. Don't forget to reset update flag
2023-03-28 16:11:18 +02:00
Henrik Rydgård
8c7ae8836f
SDL: Save/load window dimensions
2023-03-28 16:05:33 +02:00
Henrik Rydgård
0b156e734b
Pass w and h into the SDL graphics contexts
2023-03-28 16:05:33 +02:00
Henrik Rydgård
57362b9199
SDL: Save window position
2023-03-28 16:05:30 +02:00
Henrik Rydgård
3ff87f5959
SDL: Small refactor, support window title changes
2023-03-28 16:05:30 +02:00
Henrik Rydgård
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Serena
ea4e294faa
fix openSystemFileBrowser
2023-03-23 23:28:57 +03:00
Serena
84849d9d32
fixes
2023-03-23 22:09:01 +03:00
Serena
645407fa74
Merge branch 'master' into serena/macos-bar-menu-items
2023-03-23 21:27:42 +03: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
5a55fd5fd3
And replace "graphics_restart", "toggle_fullscreen", etc
2023-03-22 23:52:15 +01:00
Henrik Rydgård
410b35fba3
Get rid of "finish" and "setclipboardtext" messages, replace with requests.
2023-03-22 22:17:26 +01:00
Henrik Rydgård
dfa06c4e77
SDL buildfix, fix file/folder browsers on Darwin
2023-03-22 19:25:35 +01:00
Henrik Rydgård
b7350f3cbf
Fix folder browser on Android and Windows
2023-03-22 19:25:35 +01:00
Henrik Rydgård
70f0ac04af
Port the file browser spawned by the Load button to the new request stuff
2023-03-22 15:36:14 +01:00
Henrik Rydgård
de064e210e
Replace the inputbox queue with a more generic RequestManager.
2023-03-22 12:41:11 +01:00
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8
Get rid of an ifdef
2023-03-21 10:24:36 +01:00
Henrik Rydgård
3b39e9e068
Turn the VFS into a class, to be able to reuse it for other purposes.
2023-03-06 16:42:47 +01:00
Henrik Rydgård
3aa0a9e17b
Fix blackscreen, better debug print of display parameters
2023-02-27 15:21:58 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Serena
6b0cec2ae0
i forgot this
2023-02-14 19:11:44 +03:00
Serena
c64aa9d19a
address concerns
2023-02-14 19:11:32 +03:00
ZiHan Huang
2865310bca
vulkan: Add the function realization of arm device to kms vulkan
...
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com>
2023-02-07 14:23:55 +08:00
Serena
070194ef92
fix on other platforms
2023-02-06 22:34:27 +03:00
Serena
6d474ac59d
macOS bar button items
2023-02-06 22:17:27 +03:00
Henrik Rydgård
ce40744cdd
Merge pull request #16874 from SerenaKit/serena/darwin-browse-button
...
Browse button on Darwin platforms, rename some classes/functions
2023-02-01 17:21:53 +01:00
Serena
482e989cd7
convert to System_SendMessage insanity
2023-02-01 19:03:12 +03:00