Commit Graph
8933 Commits
Author SHA1 Message Date
Hubert Maier e30112b814 AMIGAOS4: Clean up fs
- replace sprintf with snprintf and obey MAXPATHLEN
2019-11-10 17:28:15 +00:00
Bastien Bouclet c847476a93 CLOUD: Only download saves when necessary
Prevents the save/load dialog from refreshing and loosing the selection
when there is no file to download.
2019-11-10 11:06:08 +01:00
sluicebox b593fe2f45 SDL: Fix Windows screenshots with unicode paths
Use Common::FSNode to test for screenshot existence instead of
SDL_RWFromFile(). SDL does different character encoding conversions
which fail on Windows when a unicode character is in the path.

Fixes bug #11118
2019-11-10 07:08:22 +02:00
Cameron Cawley d1fa1154fe BACKENDS: Fix using fillScreen in non-paletted screen modes 2019-11-10 01:25:46 +02:00
Cameron Cawley 48ab35f358 RISCOS: Improve file system code 2019-11-09 18:30:21 +00:00
jepael 843e0f6a4b POSIX: Fix compiler warning 2019-11-09 16:36:30 +01:00
Thierry Crozat 8b586ed418 WIN32: Fix free being used on arrays allocated with new 2019-11-08 20:43:25 +00:00
Thanasis Antoniou b8c26508c9 ANDROID: Fix OSD message display crash or fail
For translated message text. Android expected UTF-8 format for the message

Also makeToast for OSD needed to be run from the main UI thread
2019-11-08 16:59:52 +02:00
sluicebox f74f8e3c53 WIN32: Exit when WinSparkle runs installer
Trac #10368
2019-11-08 09:19:07 +01:00
Bastien Bouclet 652722e760 3DS: Rework mouse cursor movement
- Fix clipping the cursor position
- Ensure the mouse has the same vertical and horizontal speed
2019-11-07 11:02:00 +01:00
Bastien Bouclet 6901ee0242 3DS: Use the full resolution for the overlay on the top screen 2019-11-07 11:02:00 +01:00
sluicebox fc9786231c TTS: Improve Windows audio, remove sphelper-scummvm.h
- Remove sphelper-scummvm.h
- Use default audio quality instead of lowest
- Add HRESULT tests
- Fix new[]/free() mismatches
- Fix voice description memory leak
2019-11-06 11:00:37 -08:00
Cameron Cawley 56e5bd0d77 3DS: Improve the table of contents in the README.md file 2019-11-06 14:21:36 +00:00
Cameron Cawley 2c491243f5 3DS: Update the list of third-party libraries 2019-11-06 14:03:55 +00:00
Eugene Sandulenko 1584c36410 NETWORKING: Fix compilation for lower versions of libcurl 2019-11-05 21:42:53 +01:00
Bastien Bouclet 4810a5d8d3 3DS: Fix centering of the game screen 2019-11-05 06:09:04 +01:00
Bastien Bouclet 3fcbbbef44 3DS: Reworked OSD message display
So the game remains interactive while OSD message are displayed.
2019-11-05 06:09:04 +01:00
Bastien Bouclet 886be5178e 3DS: Some changes to magnify mode 2019-11-05 06:09:04 +01:00
Michael Ball 78de572404 3DS: Implement magnify mode toggle on L and move keyboard to Y/DRIGHT 2019-11-05 05:51:45 +01:00
Alexander Tkachev 99e21f4320 NETWORKING: Enter Session
Session allows to reuse SessionRequests to the same host by making them
keeping alive connection. Turns out, though, that libcurl already does
that for us, and we didn't gain any speedup we thought we'd get.

Usage:
```
Networking::Session s;
Networking::SessionRequest *request = s.get(url);
request->startAndWait();
warning("HTTP GET: %s", request->text());
s.close();
```

You can still use SessionRequest without Session (but you can't put them
on stack!):
```
Networking::SessionRequest *request = new
Networking::SessionRequest(url);
request->startAndWait();
warning("HTTP GET: %s", request->text());
request->close();
```
2019-11-05 01:47:00 +01:00
Alexander Tkachev f7d9156967 NETWORKING: Enter SessionRequest
It is to be used in a Session, though it might be used separately. It
must implement keep-alive, but it does not yet.

You must not put it to ConnMan by yourself (instead, use start()) and
you must call close() after you've finished using this request.

You can either work with it in callback, or wait() and simply use its
methods (check it's success() and then, for example, use text()). Like
this:
```
Networking::SessionRequest *rq = new Networking::SessionRequest(url);
rq->startAndWait();
if (rq->success())
warning("HTTP GET: %s", rq->text());
rq->close();
```
2019-11-05 01:47:00 +01:00
Alexander Tkachev bc63abd3e1 NETWORKING: Add CurlRequest::wait() 2019-11-05 01:47:00 +01:00
Alexander Tkachev 2acb8e2215 JANITORIAL: Fix Networking::DataResponse typedef naming 2019-11-05 01:47:00 +01:00
Bastien Bouclet cc721bced5 3DS: Add a make rule for a distributable package 2019-11-04 08:59:23 +01:00
Bastien Bouclet 0b74f984de PS3: Implement the cloud synchronization features 2019-11-03 19:14:15 +01:00
Bastien Bouclet 036d61cbd6 3DS: Implement cloud sync support 2019-11-03 19:14:15 +01:00
Bastien Bouclet 2d11974c28 3DS: Use DATA_PATH to configure support files location 2019-11-03 19:14:15 +01:00
Bastien Bouclet 6fa7322a6a NETWORKING: Try loading the CA bundle from DATA_PATH 2019-11-03 19:48:34 +02:00
Bastien Bouclet 47b67342d6 NETWORKING: Improve libcurl error handling
Error messages for failed requests are now printed as warnings.
2019-11-03 19:48:34 +02:00
Bastien Bouclet 780db83e13 DC: Update for the engineId changes 2019-11-03 11:43:00 +01:00
MrHuu 3cef5fa46e 3DS: Remove 3dstool dependency
This patch alters the way the .cia is build. It removes the need for 3dstool.

Instead of first generating a .romfs file using 3dstool, let makerom generate the romfs while building the .cia.
2019-11-01 21:17:54 +01:00
Thanasis Antoniou 4eecfb8da9 ANDROID: Disable verification of certificates validity for cloud saving
Also added macros for the plain (non-SDL) Android port __ANDROID_PLAIN_PORT__ and ANDROID_PLAIN_PORT

The workaround of this commit uses the same logic as for the Nintendo Switch port and should suffice for testing purposes. It should be replaced by more elaborate code of installing and maintaining a certificates pem file.
2019-11-01 19:13:27 +02:00
Bastien Bouclet 93929be2c1 SDL: Use the current screen resolution when switching to fullscreen
Previously we used the resolution of the first screen. Fixes being
unable to switch to fullscreen when using two screens with different
resolutions.
2019-11-01 13:29:01 +01:00
Cameron Cawley 177d709909 OPENGL: Implement high DPI support on Android (#1895)
* OPENGL: Implement high DPI support on Android

* PSP2: Fix build
2019-11-01 13:39:46 +02:00
Bastien Bouclet 8fb57967d7 3DS: Avoid stat calls in DrivePOSIXFilesystemNode 2019-10-31 21:35:41 +01:00
Michael Ball 8b201aa8d6 3DS: Set 'scummvm.romfs' to be removed by 3ds_clean in 3ds.mk 2019-10-30 19:59:55 +01:00
Bastien Bouclet 98f8e05f4e 3DS: Load per-game settings 2019-10-28 20:05:24 +01:00
Bastien Bouclet e9b1df95ff 3DS: Upload the textures to VRAM in a separate frame
So rendering waits for the textures to finish uploading before using
them. Fixes glitchy mouse pointer in Riven.
2019-10-25 19:13:40 +02:00
Eugene Sandulenko 7533375b55 NETWORKING: Remove unnesessary check 2019-10-25 00:55:51 +02:00
Hubert Maier ee2aa6160c SDL: Fix typo in comment 2019-10-24 20:33:48 +03:00
Bastien Bouclet 755afd82f4 3DS: Fix hi-color cursors 2019-10-24 19:09:49 +02:00
Michael Ball 2d2a46ac9a 3DS: Add files to be removed by 3ds_clean in 3ds.mk:
backends/platform/3ds/shader.shbin (byproduct of "make"),
backends/platform/3ds/shader_shbin.h (byproduct of "make"),
$(TARGET).smdh (aka scummvm.smdh, byproduct of "make scummvm.3dsx"),
$(TARGET).bnr (aka scummvm.bnr, byproduct of "make scummvm.cia")
2019-10-24 18:56:31 +02:00
Eugene Sandulenko bbaebe594e NETWORKING: Reworked PostRequest to a more universal API 2019-10-24 17:41:28 +02:00
Eugene Sandulenko a0c58a53b3 NETWORKING: Changed PostRequest to accept JSONValue 2019-10-24 00:15:33 +02:00
Eugene Sandulenko 0ad210a5a4 NETWORKING: Added simple request handler 2019-10-24 00:15:33 +02:00
Cameron Cawley 38beac8d95 ANDROID: Simplify handling of menu/back button events 2019-10-23 07:41:31 +03:00
Cameron Cawley 94a53ccb0f ANDROID: Add swap menu and back buttons option 2019-10-23 07:41:31 +03:00
Hubert Maier 80a96fd90d AMIGAOS4: Automate special target installation even more (#1901)
* AMIGAOS4: Update amigaos.mk

- reorg
- add stripping/copying engine plugins
- add Ext_Ins_so.rexx

* Ext_Inst_so.rexx

Add script to extract and install all compiled-in shared libraries to a local sobjs/ dir.
Reason is that not every AmigaOS4 installation, especially vanilla ones, feature all mandatory libraries (which has led to many bug reports and lots of gathering of the correct libraries for users in the past)

* AMIGAOS4: RM2AG.rexx

- Add automatic installation to the correct path
- Add deleting the temp file
- Typos and rewording
- Add I/O panic switches
2019-10-21 21:38:24 +03:00
Thanasis Antoniou 4762b02a52 ANDROID: Set target SDK to 28 2019-10-21 12:39:32 +02:00
Bastien Bouclet c71fa02bf5 3DS: Change the audio thread to wait for the audio buffers to complete
Fixes the regular pop sounds caused by buffer underruns / clobbering of
the previous implementation.
2019-10-20 17:06:33 +02:00