89688 Commits

Author SHA1 Message Date
Alexander Tkachev
28c93ed027 GUI: Fix Cloud tab wizard elements displaying after connecting storage
Elements were displayed until scrollbar was used, now they are hidden
right after storage is connected.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
3df126853a GUI: Separate Cloud tab in two
All local webserver-related settings are now shown in a separate, "Wi-Fi
Sharing" tab (shown if built with USE_SDL_NET). Cloud tab is only shown
if actual cloud storages are built (USE_LIBCURL).
2019-07-30 14:51:41 -04:00
Alexander Tkachev
99c2418d1a GUI: Rewrite Cloud tab
- StorageWizardDialog is removed, along with bmps it was using;
- EditTextWidget now accepts custom font in constructor;
- ScrollContainer scrollbar now jumps to top when content height changes
so it's "overscrolled";
- IndexPageHandler now does not awaits for `code` GET-parameter, as
local webserver is no longer used to connect Storages;
- CloudManager and all corresponding Storages are updated to support
disconnecting and to notify about successful connection.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
31628d6428 CLOUD: Refactor BaseStorage largest methods
Not sure if that's really better, but it was really annoying to
copy-paste `delete a; delete b; return;` in every error-handling
section.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
72c7f8226c CLOUD: Minor cleanup in OneDriveTokenRefresher 2019-07-30 14:51:41 -04:00
Alexander Tkachev
1e92e7b9f3 CLOUD: Fix saves syncing
This mostly affects OneDrive saves syncing, because it is the only cloud
provider to return 0 as timestamp of (non-)created file. 0 is treated as
EOF in /saves/timestamps file, thus all timestamps after such 0
timestamps were ignored and files were reuploaded as being "new". This
commit also adds more verbose debug information on SavesSyncRequest
decisions making for easier debugging.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
c1124c9cda CLOUD: Handle Cloud requests more frequently
ConnectionManager used to poll Cloud requests every second, while curl
requests were polled every 1/20th of a second. If curl request was over
at, say, frame #21, corresponding Cloud request would've only work with
that at frame #40 (950 ms later), which was making everything
cloud-related slower than it could be. This commit fixes it by making
Cloud polling period the same as curl polling period, and additionally
raises FPS to 25.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
edbea10c2e CLOUD: Fix OneDriveStorage API interaction
Something changed and old API endpoint "api.onedrive.com" now does not
work. The other one, "graph.microsoft.com", does, but there were some
other changes in JSON it returns. These changes are also in this commit.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
e8669f693c CLOUD: Update BaseStorage to expect no refresh_token
While refreshing access_token, some cloud providers also pass a new
refresh_token. Google Drive does not, and accepts the same refresh_token
next time. These changes allow this to happen.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
60504dce75 CLOUD: Update storages to refresh token via cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
4a427faf9c CLOUD: Get rid of 'dists/clouds/cloud_keys.h' 2019-07-30 14:51:41 -04:00
Alexander Tkachev
0ee0e2d537 CLOUD: Update GoogleDriveStorage and BoxStorage to auth via cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
8333cce498 CLOUD: Update OneDriveStorage to work via cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
64fd116092 CLOUD: Add BaseStorage, which does auth via cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
d04c1dfad4 COMMON: Add getHumanReadableBytes() in util.h
This function was used in cloud-related DownloadDialog before,
and now it is also used in Options > Cloud tab.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
faa19c7bf0 CLOUD: Cleanup a little bit - remove unused config keys usage 2019-07-30 14:51:41 -04:00
Alexander Tkachev
2a56328d35 CLOUD: Update DropboxStorage to work with cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
16b6588146 CLOUD: Update Dropbox and Google Drive icons in themes 2019-07-30 14:51:41 -04:00
Alexander Tkachev
ddcfcc18b2 CLOUD: Update DropboxStorage to work via scummvm.org & StorageWizardDialog correspondingly 2019-07-30 14:51:41 -04:00
Alexander Tkachev
1bebaf96f7 CLOUD: Regenerate wwwroot archive to include graphic resources 2019-07-30 14:51:41 -04:00
Torbjörn Andersson
f1e79aae73 GLK: Pass picNum to format() for the pic%d.rect case as well. 2019-07-30 16:56:37 +02:00
Paul Gilbert
041132f5f6 GLK: Fix illegal characters in detection entries 2019-07-29 22:10:06 -07:00
Paul Gilbert
97d4a60cfb GLK: Implemented debugger dumppic command 2019-07-29 22:05:19 -07:00
Paul Gilbert
a04bdb3d7c GLK: Added skeleton debugger 2019-07-29 22:05:19 -07:00
Thanasis Antoniou
fc6f9c9adb BLADERUNNER: Fix AmigaOS compilation (attempt 2) 2019-07-29 15:31:46 +03:00
Thanasis Antoniou
b939168b61 BLADERUNNER: Fix compile for AmigaOS 2019-07-29 15:09:42 +03:00
Thanasis Antoniou
c8a23cc401 BLADERUNNER: Fix unsorted args for getRandomNumberRng
Fix for bug #11034
2019-07-29 13:57:56 +03:00
Thierry Crozat
70126b9685 I18N: Update translations templates 2019-07-29 12:00:29 +02:00
Thierry Crozat
70b507b3de I18N: Regenerate translations data file 2019-07-29 12:00:23 +02:00
Thanasis Antoniou
5b3c577b84 BLADERUNNER: Remove buzz at transition PS11 to PS10 2019-07-29 11:21:43 +03:00
Thanasis Antoniou
52c03a2a59 BLADERUNNER: Fix Izo getting stuck in RC03
Bug case was for when he runs away (Steele is blocked)
2019-07-29 11:02:47 +03:00
Paul Gilbert
6e7f584353 XEEN: Change English detection entries from testing to stable 2019-07-28 22:15:21 -07:00
Thanasis Antoniou
0682938bc3 README: Small corrections in the Blade Runner notes section 2019-07-29 08:05:13 +03:00
Paul Gilbert
518e6c90f4 GLK: FROTZ: Fix loading transparent PNGs from Blorb files 2019-07-28 20:47:06 -07:00
Lothar Serra Mari
749e3f42de README: Add BLADERUNNER to the German README file 2019-07-28 22:32:20 +02:00
Lothar Serra Mari
897e316db0 README: Remove leftover symbol from the BLADERUNNER section 2019-07-28 22:30:17 +02:00
Lothar Serra Mari
68b3a5a04d NEWS: Add QFG4 to the German NEWS file 2019-07-28 22:10:43 +02:00
Thanasis Antoniou
084dc1ffd6 BLADERUNNER: Prevent McCoy from running to BB10 before Sadik 2019-07-28 22:52:18 +03:00
Thanasis Antoniou
4ba487a064 BLADERUNNER: Close MODE.MIX if ScummVM is closed during ESPER 2019-07-28 22:52:18 +03:00
Thanasis Antoniou
45e58abe36 BLADERUNNER: Clean up KIA at endgame and playerDied 2019-07-28 22:52:18 +03:00
Thanasis Antoniou
8f9927608b BLADERUNNER: prevent seg fault when opening KIA
Only if a restored content save was loaded in original game mode
2019-07-28 22:52:18 +03:00
Lothar Serra Mari
ae3e9e74a8 README: Fix publisher name for Fargus Multimedia 2019-07-28 21:51:18 +02:00
Lothar Serra Mari
a00d4bbe94 NEWS: Update German NEWS translation 2019-07-28 21:41:24 +02:00
Thierry Crozat
0a6a3ae8e4 NEWS: Add QFG4 and various Hoyle games to supported games 2019-07-28 20:39:16 +01:00
Peter Kohaut
f3dde9eb36 README: Added Blade Runner 2019-07-28 21:31:32 +02:00
Lothar Serra Mari
18fc6e38cb NEWS: Add Blade Runner to supported games 2019-07-28 20:41:12 +02:00
Thierry Crozat
b2db0d910e SUPERNOVA: Attempt to fix compilation for Nintendo Switch 2019-07-28 15:37:48 +01:00
Timo Mikkolainen
731965589b I18N: Update translation (Finnish)
Currently translated at 100.0% (1090 of 1090 strings)
2019-07-28 16:30:21 +02:00
Lothar Serra Mari
3180e0c539 I18N: Update translation (German)
Currently translated at 100.0% (1090 of 1090 strings)
2019-07-28 16:30:16 +02:00
Thierry Crozat
6a3682dd47 I18N: Update translations templates 2019-07-28 16:23:42 +02:00