62 Commits

Author SHA1 Message Date
Le Philousophe a434b535dd BACKENDS: Fix build 2026-04-14 08:41:06 +02:00
Le Philousophe 5c73d55985 COMMON: Move file search in current working directory to backends
The current working directory doesnt always exist on the platforms.
Some platform are then exempted from searching in it.
2026-02-11 21:10:51 +02:00
Le Philousophe 3fd6465203 TEST: Fix memory leaks in tests using backend
Uninstall the backend after installing it.
Also start the backend to initialize date.
Don't try to initialize the CD manager.
2026-02-07 17:20:49 +01:00
Le Philousophe c30b68115a TESTS: Abort runner when error is called
By default null backend exits with 0 error code.
2024-05-19 21:17:31 +02:00
Le Philousophe 154fab3952 TEST: Silence logs by default
Else tests on INI parser spam with expected warnings.
2023-09-02 11:42:29 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley 5022489277 BACKENDS: Refactor the API for creating Mutexes 2021-11-12 20:19:45 +01:00
Martin Gerhardy a0c237f7b9 EVENTRECORDER: added new event for OSystem::getTimeAndDate 2021-07-09 19:23:21 +02:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Cameron Cawley c30c22dac8 TEST: Simplify the use of the Null backend 2021-02-08 03:07:34 +02:00
Hubert Maier e19d4e197b AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
Thierry Crozat c80e1c6b49 NULL: Fix compilation without GNU C extensions 2020-11-22 16:35:03 +00:00
Vladimir Serbinenko f5ffbe1155 TEST: Copy encoding.dat to make tests work in relative build directory 2020-11-16 02:38:22 +01:00
Cameron Cawley 421e36a3a8 NULL: Implement getMillis() and delayMillis() on Windows 2020-11-15 22:42:01 +00:00
Cameron Cawley ec62b546da NULL: Always implement OSystem::addSysArchivesToSearchSet() 2020-11-15 22:33:22 +00:00
Vladimir Serbinenko 68a9136e4d COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Cameron Cawley e16844b6e9 NULL: Make use of NullMixerManager 2020-08-24 14:22:35 +02:00
Cameron Cawley 7745ffdac1 BACKENDS: Simplify EventsBaseBackend 2020-08-24 14:22:35 +02:00
Cameron Cawley 75852a786a BACKENDS: Split ModularBackend into two separate classes 2020-08-24 14:22:35 +02:00
Cameron Cawley 6c22f92301 BACKENDS: Move implementation of getMixer() out of ModularBackend 2020-08-24 14:22:35 +02:00
BeWorld 438b6a042c MORPHOS: MorphOS Support 2020-08-21 00:59:18 +02:00
Cameron Cawley ceed6b2c8c NULL: Allow using Ctrl+C to open the debugger 2020-07-25 13:31:33 +02:00
Cameron Cawley 30c00656e1 NULL: Ensure that the timer callback is called regularly 2020-05-27 12:41:51 +02:00
Cameron Cawley 068b3371bd NULL: Add implementation of getMillis, delayMillis and getTimeAndDate 2020-05-27 12:41:51 +02:00
Cameron Cawley 48615cb83e BACKENDS: Move implementation of OSystem::quit() out of ModularBackend 2019-12-01 01:04:06 +02:00
Cameron Cawley 2048c9cc78 AUDIO: Remove unused parameter from the MixerImpl constructor 2019-11-30 17:47:34 +02:00
Thierry Crozat 941d22c047 BACKENDS: Use OSystem::destroy() instead of deleting directly the g_system instance 2018-10-14 21:25:33 +01:00
Cameron Cawley f7b467275a RISCOS: Fix compilation of null backend 2018-01-26 13:18:18 +00:00
Johannes Schickel 56528d9201 NULL: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel afe56a8ea8 NULL: Fix compilation of null backend. 2013-12-06 04:23:51 +01:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Max Horn 7607a077fe NULL: Add logMessage() implementation 2011-06-17 20:50:38 +02:00
Max Horn 848079b66d NULL: Fix null backend (untested) 2011-06-06 15:48:40 +02:00
Max Horn c847522422 BACKENDS: Add OSystem::getDefaultConfigFileName
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.

Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Max Horn 338a859591 NULL: cleanup 2011-06-06 14:13:18 +02:00
Max Horn 39076ef972 BUILD: Rename UNIX #define to POSIX 2011-05-25 13:23:03 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn 7760077cf5 Merging the gsoc2010-opengl branch
svn-id: r54518
2010-11-28 14:56:31 +00:00
Alejandro Marzini f9c3a4547c Cleanup and documentation.
svn-id: r50589
2010-07-02 06:44:42 +00:00
Alejandro Marzini 54377bbb30 Adapted null backend to ModularBackend.
svn-id: r49681
2010-06-15 05:53:15 +00:00
Max Horn 9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00
Joost Peters 5e56184616 fix compilation of null backend
svn-id: r45979
2009-11-18 22:59:31 +00:00
Max Horn 42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn bb28ed7b7a Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails

svn-id: r41932
2009-06-28 19:58:11 +00:00
Max Horn c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Joost Peters 908ed66509 fix compilation
svn-id: r36053
2009-01-25 09:06:46 +00:00
Max Horn edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Johannes Schickel b235b51e62 Fake 320x200 resolution instead of 200x320.
svn-id: r34279
2008-09-02 13:17:40 +00:00