aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2016-08-30CLOUD: Disable the connect button initially as the code is emptyThierry Crozat
The connect button is enabled/disabled whenever the text in the code widget is changed and it's validity assessed. But the initial state was not correct.
2016-08-30CLOUD: Fix crash when trying to connect without entering a code firstThierry Crozat
2016-08-30GUI: Fix hidden files visibility getting out of sync in the files browserBastien Bouclet
- The checkbox state was not initialized when opening the dialog. - The visibility state was initialized from ConfMan too early resuling in the value being incorrect when multiple file browsers are used.
2016-08-24CLOUD: Add GUI for "rootpath" selectionAlexander Tkachev
Cloud tab now contains a button to select path, path label and a clear button.
2016-08-24CLOUD: Add "minimal mode" in LocalWebserverAlexander Tkachev
StorageWizardDialog now runs LocalWebserver in "minimal mode" for security reasons. In this mode server uses only those handlers which state to support it. There are two handlers which support minimal mode: IndexPageHandler (which handles `code` requests needed by StorageWizardDialog) and ResourceHandler (which provides inner resources like `style.css` or `logo.png` from `wwwroot.zip` archive).
2016-08-24GUI: Set tooltip of local webserver button according to server statePeter Bozsó
2016-08-24ALL: Move Clipboard support to OSystemAlexander Tkachev
Commit adds kFeatureClipboardSupport. hasTextInClipboard() and getTextFromClipboard(). OSystem_SDL has this feature if SDL2 is used. EditableWidget and StorageWizardDialog use g_system to access clipboard now.
2016-08-24GUI: Fix StorageWizardDialog warningAlexander Tkachev
Removed extra comma in the enum.
2016-08-24GUI: Add Storage providers logosAlexander Tkachev
StorageWizardDialog now shows logo of the Storage being connected (in modern highres theme).
2016-08-24GUI: Add Container in StorageWizardDialogAlexander Tkachev
It now looks fine in both 640x400 and 320x200!
2016-08-24GUI: Add "Paste" button in StorageWizardDialogAlexander Tkachev
It pastes clipboard contents as code into 8 fields of that dialog. (Clipboard support works with SDL2 only.) "Open URL" and "Paste" buttons are placed in the left column under the picture (because there is no room for 4 buttons in the bottom row). Commit also adds "dropbox.bmp", which is just a square 115x115 picture. Such pictures are would be used as Storages logos in that dialog. In lowres there is no left column, so all 4 buttons are in the same row. None of them are visible, because they are overflowed. Container has to be added to continue working on them.
2016-08-24ALL: Make simpleSaveNames() a MetaEngineFeatureAlexander Tkachev
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
2016-08-24GUI: Fix SDL_Net-related errorsAlexander Tkachev
Checked by rebuilding ScummVM without SDL_Net in MinGW. Also fixes StorageWizardDialog's warning about _stopServerOnClose.
2016-08-24GUI: Make Options dialog stop LocalServer on closeAlexander Tkachev
Commit also adds a fix for StorageWizardDialog, where LocalServer was used even if USE_SDL_NET was undefined.
2016-08-24ALL: Fix debug, warning and error usageAlexander Tkachev
Added prefixes, used debug(9).
2016-08-24GUI: JANITORIAL: Fix code formattingEugene Sandulenko
2016-08-24GUI: Fix format warningEugene Sandulenko
2016-08-24GUI: Fix warningsEugene Sandulenko
2016-08-24GUI: Regenerate themesEugene Sandulenko
2016-08-24CLOUD: Fix `redirect_uri` selection codeAlexander Tkachev
Now it's not hardcoded based on USE_SDL_NET, but one or another value is used depending on currently selected LocalWebserver's port.
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24GUI: Fix texts clippingAlexander Tkachev
If it was completely clipped out (empty rectangle), it was drawing the whole text ("empty means no clipping"), so I had to detect such cases and change textArea to one small pixel.
2016-08-24GUI: Add "Clear port" button in Cloud tabAlexander Tkachev
2016-08-24CLOUD: Update StorageWizardDialogAlexander Tkachev
It now hides code fields not just when built with SDL_Net, but also when LocalWebserver's using default port. So that's why NETWORKING_LOCALWEBSERVER_ENABLE_PORT_OVERRIDE is defined in localwebserver.h now.
2016-08-24CLOUD: Add port override for LocalWebserverAlexander Tkachev
It's enabled only when NETWORKING_LOCALWEBSERVER_ENABLE_PORT_OVERRIDE is defined. It's not defined, because override means we have to reconfigure our redirect links somehow to use the override port.
2016-08-24CLOUD: Check whether Storage is working when replacing itAlexander Tkachev
We do that in CloudManager::replaceStorage(), but I've tried to eliminate such possibility by adding a check in the StorageWizardDialog.
2016-08-24GUI: Add error callback in Options' Cloud tabAlexander Tkachev
Shows OSD message.
2016-08-24GUI: Show warning in DownloadDialogAlexander Tkachev
If user's connection seems limited, ScummVM shows a warning message to prevent using that by accident.
2016-08-24GUI: Add Cloud-related dialogs in classic theme's stxAlexander Tkachev
Looks fine.
2016-08-24GUI: Add Ctrl+V handling in EditableWidgetAlexander Tkachev
In SDL2 there is SDL_GetClipboardText(), so EditableWidget could support pasting into it. No copying yet, as there is no selecting.
2016-08-24GUI: Fix Cloud-related dialogs a littleAlexander Tkachev
Minor mistakes which lead to build failure in some cases.
2016-08-24GUI: Update DownloadDialogAlexander Tkachev
It now has download size and speed labels. Commit also fixes minor mistake in ConnMan.
2016-08-24CLOUD: Calculate FolderDownload download speedAlexander Tkachev
2016-08-24CLOUD: Update FolderDownloadRequestAlexander Tkachev
It now keeps track of downloaded bytes.
2016-08-24GUI: Change 'OK' to 'Hide' on close button of DownloadDialogPeter Bozsó
2016-08-24GUI: Fix StorageWizardDialogAlexander Tkachev
It now shows a MessageDialog (its message label is hidden in some cases).
2016-08-24GUI: Add "Open URL" button in StorageWizardDialogAlexander Tkachev
It uses Networking::Browser::openUrl().
2016-08-24CLOUD: Upgrade FolderDownloadRequest::getProgress()Alexander Tkachev
Now NetworkReadStream, which is used in DownloadRequest, which is used in FolderDownloadRequest, returns progress information provided by libcurl.
2016-08-24CLOUD: Add BoxStorage sketchAlexander Tkachev
2016-08-24GUI: Fix Options Cloud tab widgets visibilityAlexander Tkachev
As it's controlled by ScrollContainer also, we have to explicitly setVisible(true) for "always" visible widgets.
2016-08-24GUI: Fix DownloadDialog detectionAlexander Tkachev
Now it calls Launcher directly, so it updates games list on success.
2016-08-24GUI: Minor Container fixesAlexander Tkachev
I should've done these in PR, I guess.
2016-08-24GUI: Remove unnecessary DownloadDialog's flagAlexander Tkachev
2016-08-24GUI: Fix Container's visibility issueAlexander Tkachev
Now it respects outer code's decision to hide or move some widgets around. Outer code must be CommandReceiver which is set as ScrollContainer's target.
2016-08-24GUI: Use Container in the Cloud tabAlexander Tkachev
It has a visibility issue, but we're already working on it.
2016-08-24CLOUD: Add auto-detect for downloaded gameAlexander Tkachev
If that's the game, that is. Method is copy-pasted from Launcher, but fixed not to ask the directory and thus doesn't contain the loop.
2016-08-24CLOUD: Make "Run server" button activeAlexander Tkachev
It should show the real server's IP over there, but that doesn't work yet.
2016-08-24CLOUD: Replace USE_CLOUD with USE_LIBCURLAlexander Tkachev
In most cases that's the right one to check. USE_CLOUD is defined when either USE_LIBCURL or USE_SDL_NET are, which means if there is no curl, USE_CLOUD still could be defined and linking errors would appear.
2016-08-24GUI: Fix Options' Cloud tab reflowingAlexander Tkachev
2016-08-24CLOUD: Fix SaveLoadDialogs to check USE_CLOUDAlexander Tkachev
Linking was failing when disabling curl support.