Commit graph

2422 commits

Author SHA1 Message Date
Unknown W. Brackets
2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Henrik Rydgård
a08fb8bd22
Merge pull request #11004 from unknownbrackets/ipv6
Enable IPv6 for reporting / sharing / etc.
2018-06-06 21:24:04 +02:00
Henrik Rydgård
df699c67b2
Merge pull request #10960 from unknownbrackets/debugger-json
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik Rydgård
f9cfb05895
Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Henrik Rydgård
3d12f9acc2
Merge pull request #11132 from unknownbrackets/reporting
Reporting: Provide suggestions on negative compat reports
2018-06-06 20:14:58 +02:00
Unknown W. Brackets
f0be2d5f88 UI: Quit sorting when done.
This will prevent keeping the gameInfo objects alive unnecessarily.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets
4fb606839c UI: Add option to sort saves by size.
It may be slow with many saves, but it's also very useful.  It doesn't
seem too bad as an option.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets
082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets
5b95de663e net: Listen on ipv6 and ipv4.
Hurray, no longer "part of the problem" for ipv4.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
ca4340b9e0 net: Support ipv6 lookups.
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
6e02771591 UI: Use UISTATE_PAUSEMENU while game still running. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets
cb0838f86f Reporting: Fix typo. 2018-06-06 05:55:31 -07:00
Unknown W. Brackets
4cbfb4aa98 Reporting: Provide suggestions on negative reports.
Based on other reports, try suggesting settings to change or actions to
take.  Fairly rudimentary currently.
2018-06-06 05:55:31 -07:00
Unknown W. Brackets
890dfa4682 UI: Show compat rating radios next to each other.
When there's space, let's show them horizontally.  It's easier to see them
all.  See #11129.
2018-06-06 05:55:31 -07:00
Henrik Rydgård
238521a297 Rename device choice config options as requested. 2018-06-06 10:24:16 +02:00
Henrik Rydgård
8ee3cd52e8 D3D11: Allow the user to select rendering device. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
ad1b75292f
Merge pull request #11121 from unknownbrackets/ui-texture-crash
UI: Reinit UI texture during game when used
2018-06-02 07:16:37 +02:00
Unknown W. Brackets
18bfff5f75 UI: Reinit UI texture during game when used.
Otherwise we may try to use it when it doesn't exist.  This should only
happen on graphics restart.

Potentially related to first crash in #11116.
2018-06-01 21:07:09 -07:00
Henrik Rydgård
c1d113e0e9 When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
Or maybe we should make sure to only download within the width/height by
adding more clamps at the beginning of ReadFramebufferToMemory but seems
more dangerous.

Plus some minor things.

Should help #11113
2018-06-01 21:16:07 +02:00
Henrik Rydgård
4f59ebad05 sprintf->snprintf. Don't think any of these are likely overflows though. 2018-05-29 23:42:54 +02:00
Henrik Rydgård
b730d187e8 Add some paranoid checks guided by stack traces from Google Play 2018-05-27 22:12:59 +02:00
Henrik Rydgård
d35de81a76 Check for a valid screen manager in NativeIsAtTopLevel 2018-05-26 17:50:37 +02:00
Henrik Rydgård
775a25e530 Another directory, plus no need to use c_str 2018-05-10 20:52:21 +02:00
Henrik Rydgård
3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik Rydgård
3c066de158 Win32: Not really appropriate to call exit() on a bad filename. Fixes #11030 2018-05-10 00:59:21 +02:00
Henrik Rydgård
bed6d19a4b
Merge pull request #10986 from unknownbrackets/ui-loading
UI: Cleaning loading handling and use tags
2018-04-30 00:25:50 +02:00
Unknown W. Brackets
21468ce1e4 UI: Cleaning loading handling and use tags.
The tags should let the tweens persist correctly.  See #10974.
2018-04-29 14:44:00 -07:00
Unknown W. Brackets
074f52b819 Android: Properly reset home on config reload.
We reload the config once we know we have permission to read it, but that
means we have to run any cleanup logic on it again.
2018-04-29 11:45:32 -07:00
Henrik Rydgård
1f73d78cc8 Oops, meant to commit this. 2018-04-20 11:43:27 +02:00
Henrik Rydgård
68611e85ba Disable the loading state string display, creates too much translation work for 1.6 2018-04-20 11:02:13 +02:00
Henrik Rydgård
36fd2711d6 Revert "Remove further remains of hardware skinning."
This reverts commit 40db61a680.
2018-04-10 12:22:41 +02:00
Unknown W. Brackets
c0f1b7793a UI: Assert on invalid permission status. 2018-04-08 23:54:56 -07:00
Henrik Rydgård
ac898c54f3 UWP: Remove the rendering backend picker. Fixes #10883, sort of. 2018-04-07 17:37:31 +02:00
Unknown W. Brackets
99d16b2202 Vulkan: Add tags to UI textures too. 2018-04-06 21:43:18 -07:00
LunaMoo
e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
Unknown W. Brackets
895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Henrik Rydgård
d160292f54 Include renderpass definition in Vulkan shader cache entries, should make it more effective again. 2018-03-29 14:36:04 +02:00
Henrik Rydgård
01d81ffa72 OpenGL: Fix texture wrapping of render targets. 2018-03-28 11:23:41 +02:00
Henrik Rydgård
8d0285dedd Android: Properly restore screenshots on the Pause screen on task switching away and back.
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård
4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård
f9555da05b When listing post-shaders, use the "name" specified in the ini as default, when looking up translations. 2018-03-25 11:53:11 +02:00
Henrik Rydgård
73df7d31db Remove "experimental" tag from Hardware Tessellation 2018-03-24 17:37:17 +01:00
Henrik Rydgård
8fe5223dd0
Merge pull request #10781 from hrydgard/preserve-config
Android: Reload the config after getting storage permission, and ask immediately.
2018-03-24 14:18:37 +01:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
Henrik Rydgård
198d921a9b
Merge pull request #10737 from unknownbrackets/savestate
SaveState: Keep an undo for each slot by default
2018-03-24 10:18:18 +01:00
aliaspider
54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
Florin9doi
8f38c7949c Landscape Auto for Android 2018-03-19 23:09:25 +02:00
Henrik Rydgård
78488a4ea6 Android: Restore auto screen orientation.
Fixes #10708

This reverts commit 53a351c29d.
2018-03-19 20:12:37 +01:00
Unknown W. Brackets
5020182660 SaveState: Default undo slots off on mobile.
It's still a pretty useful feature on mobile (considering mistaps), but
it also eats a bunch of storage so it can always be turned back on.
2018-03-17 23:18:26 -07:00