aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2016-09-18SDL: Ignore outdated SDL resize event in OpenGL modeThierry Crozat
Those outdated resize events are sent from SDL_DestroyWindow when the window is fullscreen and doesn't have the SDL_WINDOW_FULLSCREEN_DESKTOP flag (thus Surface SDL is not affected). Switching resolutions in fullscreen, or switching from fullscreen to windowed will therefore cause a resize event to be received with the former fullscreen resolution after we have already setup the window to use the new resolution. If we don't ignore this event we end up with a texture size and a window size that are not consistent and for example see only a part of the texture (if the old resolution is bigger than the new one.
2016-09-17CLOUD: Fix compilation for integer constant too large for 'long' typeThierry Crozat
Hopefully all ports we have support LL constants. Otherwise we will have to find a different way to fix this.
2016-09-16ANDROIDSDL: default config key browser_lastpath changed to '/storage'lubomyr
2016-09-13OPENGL: Fix dereferencing null pointer in OpenGLGraphicsManagerThierry Crozat
This fixes a crash when calling displayActivityIconOnOSD with a NULL icon, which is used to remove the current activity icon.
2016-09-13BACKENDS: Provide an empty implementation for displayActivityIconOnOSD in ↵Bastien Bouclet
BaseBackend
2016-09-13OSYSTEM: Remove the API allowing to draw to the OSD surface directlyBastien Bouclet
2016-09-13SDL: Switch the OpenGL renderer to use small textures to draw the OSDBastien Bouclet
2016-09-13SDL: Switch the surface renderer to use small surfaces for OSD drawingBastien Bouclet
2016-09-13CLOUD: Switch to the new OSD APIBastien Bouclet
2016-09-13OSYSTEM: Introduce a method allowing to draw a background activity iconBastien Bouclet
2016-09-13SDL: Add a fixme regarding the encoding of the string returned by ↵Bastien Bouclet
getTextFromClipboard
2016-09-13SDL: Plug a memory leak in OSystem_SDL::getTextFromClipboardBastien Bouclet
2016-09-10CLOUD: Move openUrl to OSystemThierry Crozat
2016-09-06CLOUD: Move wwwroot archive to dists and script to devtoolsThierry Crozat
Both the data used to generate the archive and the archive itself were moved to dists/ instead of being in backends/. The script was also improved to optionally take a path as a command line argument to indicate where the wwwroot data are instead of assuming they are in the working directory. Finally a 'wwwroot' make target was also added to invoke the python script and generate the archive. with the expected path to
2016-09-05CLOUD: Fix looking for the wwwroot.zip archiveThierry Crozat
If the themepath was defined but the wwwroot.zip file was not in that path, looking for it failed as it never reached the part of the code using SearchMan to look for it.
2016-09-05CLOUD: Do not error out when loading icon if OSD format is not 2 or 4 BppThierry Crozat
Graphics::TransparentSurface::convertTo() errors out when the destination format is not 2 or 4 Bpp. But in the case of the cloud icon we can recover from it. So just print a warning and don't close the application.
2016-09-05OPENGL: Implement getOSDFormat and copyRectToOSDThierry Crozat
2016-09-05OPENGL: Add missing USE_OSD defined checks around OSD codeThierry Crozat
2016-09-04SDL: Move mouse in SDL2 only when window has focus.Eugene Sandulenko
2016-09-04SDL: Do not forbid time.h symbols when FORBIDDEN_SYMBOL_EXCEPTION_time_h is ↵Thierry Crozat
defined This hopefully fixes a regression from 848c5c3.
2016-09-03Merge pull request #810 from tsoliman/sdl2-macportsThierry Crozat
SDL: Fix build with MacPorts SDL2
2016-09-03BUILD: Tie the SDL_net version to the SDL versionThierry Crozat
This means that when using SDL 1.2 we use SDL_net 1.2, but when using SDL 2 we now use SLD_net 2 as well. Both versions work properly and there is not code change needed in ScummVM. This change is because SDL_net depends on SDL, and using SDL_net 1.2 with SDL 2 means we can end up needing to link with both the SDL and SDL2 libraries.
2016-09-03LINUXMOTO: Fix OSD performance when OSD is not drawnEugene Sandulenko
2016-09-03GPH: Fix OSD performance when OSD is not drawnEugene Sandulenko
2016-09-03DINGUX: Fix OSD performance when OSD is not drawnEugene Sandulenko
2016-09-03JANITORIAL: Remove trailing whitespacesEugene Sandulenko
2016-09-03SDL: Optimize OSD drawingEugene Sandulenko
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-09-03LINUXMOTO: Adapt to OSD changesEugene Sandulenko
2016-09-03GPH: Fix formattingEugene Sandulenko
2016-09-03DINGUX: Adapt to new OSD changesEugene Sandulenko
2016-09-03BACKENDS: Remove extra line returns in warningsBastien Bouclet
2016-09-02GPH: Attempt to fix OSDEugene Sandulenko
2016-08-31PS2: Fix Ps2SaveFileManagerAlexander Tkachev
* updateSavefilesList() stub; * openRawFile(); * Common::OutSaveFile in openForLoading().
2016-08-31DC: Add RoninCDFileNode::create()Alexander Tkachev
Returns false, as we don't create files/directories on CD.
2016-08-31DC: Fix VMSaveManagerAlexander Tkachev
* updateSavefilesList() stub; * openRawFile(); * Common::OutSaveFile in openForSaving(); * OutVMSave derived from WriteStream.
2016-08-31DS, N64: Fix openForSaving()Alexander Tkachev
Fails to build because OutSaveFile's name should've been qualified.
2016-08-31DS, N64: Fix SaveFileManagersAlexander Tkachev
Added updateSavefilesList() and openRawFile() stubs. It should build fine now, I guess.
2016-08-31N64: Fix OutSaveFile errorAlexander Tkachev
OutSaveFile was just a typedef of WriteStream once, but now it's not. These Out*Save classes are then wrapped with OutSaveFile, so it should be OK to derive them from WriteStream instead of OutSaveFile.
2016-08-30OSX: Implement clipboard supportThierry Crozat
There was already an implementation using SDL2 in the SDL backend, but this way we have it available also when using the SDL 1.
2016-08-30BACKENDS: Rename variable shadowing functionWillem Jan Palenstijn
2016-08-30SDL: Fix const castWillem Jan Palenstijn
2016-08-30CLOUD: Fix Windows cross-compilationEugene Sandulenko
2016-08-30BACKENDS: Use open instead of creat to create filesBastien Bouclet
creat is not defined on the PS3. Also close the file descriptor.
2016-08-30Merge branch 'master' of https://github.com/scummvm/scummvmAlexander Tkachev
2016-08-30CLOUD: Fix Webserver's usage of DefaultSaveFileManagerAlexander Tkachev
concatWithSavesPath() is only defined when curl is used, but was used in Webserver even when curl is unavailable.
2016-08-30Merge pull request #433 from klusark/assetsEugene Sandulenko
ANDROID: Update the asset archive code to use AAssets
2016-08-30Merge pull request #788 from Tkachov/cloudEugene Sandulenko
ALL: Add Cloud storage support
2016-08-29ANDROIDSDL: Fix menu buttonEugene Sandulenko
2016-08-24COMMON: Fix WriteStream::pos() once againAlexander Tkachev
MemoryReadWriteStream now returns int32, not uint32. It actually doesn't ever return -1 to indicate that an error occured, so uint32 was a better choice, but that's what is used in WriteStream base class now. That method is abstract, so that's also why OutSaveFile had to override it.