Commit Graph
202 Commits
Author SHA1 Message Date
Paul Gilbert 11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Adrian Frühwirth cf96f3f709 JANITORIAL: Indent GFXTransaction code blocks 2018-04-15 16:45:25 +02:00
Willem Jan Palenstijn 4233156505 TESTBED: Only build cloud tests if libcurl is available too
This matches the module.mk checks for backends/cloud
2017-10-29 00:05:51 +02:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Eugene Sandulenko 940b2a20f1 Revert "COMMON: Change way the Singleton instances are instantiated"
This reverts commit eefa72afa1.

With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat eefa72afa1 COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Tarek Soliman d602850b0c TESTBED: Fix building with --disable-cloud (#938)
The linker fails when building with --disable-cloud and not
passing --disable-libcurl
2017-04-30 09:42:48 +02:00
Thierry Crozat 48ec053a13 TESTBED: Add test for kFeatureFilteringMode 2016-10-13 01:45:01 +01:00
Thierry Crozat 0a186a66d6 TESTBED: Fix fullscreen test
The test was always failing when starting from the fullscreen state.
2016-10-12 23:04:42 +01:00
Thierry Crozat 1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Eugene Sandulenko 1dc0411ff9 TESTBED: Listen to events during mouse move test 2016-09-04 16:24:03 +02:00
Eugene Sandulenko 302562de38 TESTBED: Added mouse cursor 2016-09-03 22:56:09 +02:00
Eugene Sandulenko cad834a69c JANITORIAL: Fix include statements 2016-09-03 15:19:37 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Alexander Tkachev b8fae56c67 TESTBED: Fix a few Cloud warnings 2016-08-24 16:07:55 +06:00
Alexander Tkachev 438ba985a4 JANITORIAL: Remove spaces at the end of the line
I knew there were some, but I wanted to fix them once, instead of doing
it all the time.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 737dc91e64 TESTBED: Add openUrl test in MiscTests 2016-08-24 16:07:55 +06:00
Alexander Tkachev 817d831255 TESTBED: Add more Webserver tests 2016-08-24 16:07:55 +06:00
Alexander Tkachev 830c7b578c TESTBED: Add Webserver test suite
Two tests now: IP resolving and index page check.
2016-08-24 16:07:55 +06:00
Alexander Tkachev dcf9041926 TESTBED: Fix CloudTests
Now work with all available Storages.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 04888cf454 TESTBED: Add CloudTests::testSavesSync() 2016-08-24 16:07:55 +06:00
Alexander Tkachev 4e27251356 TESTBED: Add CloudTests::testFolderDownloading() 2016-08-24 16:07:55 +06:00
Alexander Tkachev 7a34abe39e TESTBED: Add CloudTests::testDownloading() 2016-08-24 16:07:55 +06:00
Alexander Tkachev 6d227a437a TESTBED: Add CloudTests::testUploading() 2016-08-24 16:07:55 +06:00
Alexander Tkachev 721ee9527e TESTBED: Fix CloudTests to ask users whether to wait
Callbacks might be slow (like in SyncSaves), but they also could hang
forever, so users now are being asked whether they want to wait or to
skip the test.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 4a0a5af52e TESTBED: Add first Cloud tests
Adding tests for:
* Storage::info();
* Storage::listDirectory();
* Storage::createDirectory().
2016-08-24 16:07:55 +06:00
Eugene Sandulenko 33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Ori Avtalion 6c51fe8cad TESTBED: Include correct header 2016-04-13 15:36:51 +03:00
Johannes Schickel 0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko b9fc8cf746 TESTBED: Sanity check 2015-11-28 00:21:09 +01:00
Eugene Sandulenko b7735b020f TESTBED: Added safety check 2015-11-28 00:06:47 +01:00
Einar Johan Trøan Sømåen 3b078b114b TESTBED: Fix a typo in the sound tests: s/smaple/sample 2014-06-19 12:27:29 +02:00
Johannes Schickel 3edca1abb4 TESTBED: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
D G Turner ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner 1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner 00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Eugene Sandulenko 208cd2cf95 TESTBED: Fix uninitalized variable. CID 1002670 2013-10-17 13:58:02 +03:00
Eugene Sandulenko 08f5445055 TESTBED: Initialize variable. CID 1003374 2013-10-17 13:56:20 +03:00
Eugene Sandulenko 787689ff32 TESTBED: Remove logically dead code. CID 1004067 2013-10-17 13:54:27 +03:00
Johannes Schickel 764a34edf7 TESTBED: Make code agonstic to OverlayColor. 2013-08-16 05:34:44 +02: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
Willem Jan Palenstijn c9f0e8149d ALL: Fix typo (succesful -> successful)
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2013-06-06 16:45:59 +02:00
Matthew Hoops 0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko f882374d8a TESTBED: Fix memory leak. CID 1003583 2013-04-21 14:27:30 +03:00
Johannes Schickel b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00