Commit Graph

194 Commits

Author SHA1 Message Date
Henrik Rydgård
0752e7d158 Merge pull request #13302 from unknownbrackets/net-local
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Unknown W. Brackets
495996e58b Windows: Make the instance counter go by 1, 2, 3. 2020-08-18 00:47:22 -07:00
Henrik Rydgård
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Henrik Rydgård
92778675df Merge pull request #12879 from unknownbrackets/init-crash
Windows: Make init crash warnings more generic
2020-07-13 19:43:25 +02:00
Unknown W. Brackets
03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
9573e7216b Windows: Make init crash warnings more generic.
Let's not trap ourselves in the mindset that it MUST be graphics.
2020-05-08 23:24:19 -07:00
Unknown W. Brackets
fd0bf21215 Windows: Prevent applying -1 as inset space. 2020-04-05 17:06:36 -07:00
Unknown W. Brackets
de7aa5b64e Windows: Show a message when failing over backend.
Best that we make sure people know when this has happened, probably.

Also, fix the fallback to OpenGL, which was broken on Windows.
2020-03-28 06:19:11 -07:00
Unknown W. Brackets
998f95786a Android: Enable native keyboard for OSK.
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Unknown W. Brackets
efceb031ce UI: Make System_InputBox API asynchronous.
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
李通洲
55bb58e13e NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
Unknown W. Brackets
5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
Unknown W. Brackets
46464d2722 Windows: Resolve module/full paths for long paths. 2020-01-04 09:02:10 -08:00
Silent
0621dbb487 Simplify synchronization model in InputDevice.cpp - replaced volatile flags/mutex/condition variable with joining on thread and one atomic flag 2019-07-02 19:17:52 +02:00
Unknown W. Brackets
7588a9760e Windows: Fix Vulkan out of process check.
Oops, forgot to actually pass false after adding this argument...
2019-06-30 23:45:14 -07:00
Unknown W. Brackets
504acf15de Core: Allow for disabling graphics backends.
Mainly for Vulkan, since sometimes even mobile drivers crash when we ask.
This at least provides options.

Also centralizes support checks.
2019-06-22 12:49:01 -07:00
Silent
bb2ba8086b Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
driver1998
0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
Unknown W. Brackets
d19e59dde7 Windows: Browse for folder like Qt.
Better to separate out the platform specific stuff.
2019-02-17 08:03:10 -08:00
Unknown W. Brackets
bc84571f0f Windows: Detect Vulkan in separate process.
This should avoid crashes with broken AMD drivers that can't initialize
Vulkan properly.  Instead, Vulkan will show up as unavailable.

Disabled during debug to allow for debugging.
2019-02-16 10:14:54 -08:00