Commit Graph
38 Commits
Author SHA1 Message Date
Christian Kündig e070781618 TESTBED: Don't write to disk if WriteStream can't be created (e.g. read-only filesystem or permission issue) 2022-06-12 14:34:13 +02:00
Eugene Sandulenko 829c600a02 GUI: Remove remains of the old color lists in *ListWidget 2022-05-29 00:39:35 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko faefa38c66 TESTBED: Fix GUI for HiDPI 2021-05-14 20:01:09 +02:00
Cameron Cawley c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Bastien Bouclet a56383e699 TESTBED: Use a dedicated dialog layout for the configuration dialog
The testbed configuration dialog was previously re-using the browser
dialog. That dialog is defined to overlay the game list from the launcher
screen. However, while in the testbed engine the dimensions of
the layout of the launcher dialog may have been lost, causing the
configuration dialog to fail to layout.
2020-01-30 07:34:27 +01:00
Johannes Schickel 3edca1abb4 TESTBED: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel 63750d6780 COMMON: Rename ConfigFile to INIFile.
This clears up that 'ConfigFile' is actually a class handling only INI-files.
2013-08-08 16:28:38 +02:00
Johannes Schickel b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Julien 063814b15c TESTBED: Update some switch constructs for better control flow handling 2011-06-07 03:56:54 -04:00
Julien 6362542836 TESTBED: Remove dead code, unused arguments and unreferenced symbols 2011-06-07 03:56:18 -04:00
Julien 08c01d116b TESTBED: Add const modifiers to some parameters/functions 2011-06-07 03:52:15 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 3534cff8ef ALL: Fix indention (whitespaces -> tabs)
svn-id: r53738
2010-10-23 15:46:50 +00:00
Neeraj Kumar a16832760b 1. Added ConfigParams Singelton class to eliminate use of configuration specific static variables.
2. Modified code to handle the change
3. Updated the previously merged obsolete copy of branch gsoc2010-testbed.

svn-id: r52973
2010-10-02 01:05:16 +00:00
Filippos Karapetis 6fed6a75d5 TESTBED: Fix warnings
svn-id: r52790
2010-09-18 09:52:05 +00:00
Neeraj Kumar 0a7bda50cc TESTBED: formatting fix, deleted spaces/tabs at end of line
svn-id: r52081
2010-08-14 08:32:39 +00:00
Neeraj Kumar 169d1eb0cc TESTBED: some more refinements with handling Quit events in GUI
svn-id: r52078
2010-08-14 06:06:41 +00:00
Neeraj Kumar f9005dd4b3 TESTBED: display appropriate message at begining if game-data files are not found
svn-id: r52042
2010-08-12 15:19:04 +00:00
Neeraj Kumar 4e92b3a17e TESTBED: Some refinemnts related to skipping tests and display in GUI
svn-id: r51945
2010-08-09 20:10:53 +00:00
Neeraj Kumar dab72c519c TESTBED: fixed default disabling of FS testsuite when game data files are not found
svn-id: r51840
2010-08-07 20:35:50 +00:00
Neeraj Kumar 7e126ed299 TESTBED: Merged changes from trunk to my branch
svn-id: r51798
2010-08-06 20:13:41 +00:00
Neeraj Kumar 717e5f619b TESTBED: implemented the exit dialog using ListWidget
svn-id: r51602
2010-08-01 23:26:38 +00:00
Neeraj Kumar d628562071 TESTBED: fixed a typo, due to which the config file size was increasing if a rerun is made from the current menu
svn-id: r51568
2010-08-01 08:56:24 +00:00
Neeraj Kumar a6e84128c9 TESTBED: generalized the GUI, added code for the end text gui message and option to rerun tests
svn-id: r51507
2010-07-30 13:54:25 +00:00
Neeraj Kumar 26c0547e67 TESTBED: Updated the progress bar to show count of enabled test/testsuites instead of entire list size
svn-id: r51351
2010-07-27 09:32:19 +00:00
Neeraj Kumar 184b704ddf TESTBED: removed unnecessary code from config file implementation
svn-id: r51267
2010-07-24 22:32:08 +00:00
Neeraj Kumar 89988af11d TESTBED: reimplemented the config functionality using ConfigFile Class
svn-id: r51258
2010-07-24 21:02:21 +00:00
Neeraj Kumar 3f2527a48a Implemented selection of tests using a config file, config file layout resembles to that of .scummvmrc on linux
svn-id: r51248
2010-07-24 16:05:19 +00:00
Neeraj Kumar 12275cd36e TESTBED: some changes in interaction messages, couple of fixes
svn-id: r51160
2010-07-22 19:59:11 +00:00
Neeraj Kumar c030858cf1 TESTBED: added deselect capabilty in GUI, removed redundant code, testsuites now all enabled by default
svn-id: r51155
2010-07-22 17:59:59 +00:00
Neeraj Kumar f17c363683 Selected entries are now marked as '(selected)', toggled by double click
svn-id: r50985
2010-07-18 09:34:31 +00:00
Neeraj Kumar b6c2be3bb9 Some more improvements in the TestbedListWidget and added description method in testsuite class
svn-id: r50984
2010-07-18 09:08:18 +00:00
Neeraj Kumar 07a9a03587 a few more modifications in the testsuite selection widget
svn-id: r50983
2010-07-18 07:53:05 +00:00
Neeraj Kumar fd157b47a3 Implemented scrollable checkbox like behaviour using ListWidget
svn-id: r50971
2010-07-17 22:32:31 +00:00
Neeraj Kumar 407d65068a separated testsuite configuration to another class
svn-id: r50918
2010-07-15 18:51:56 +00:00