Lothar Serra Mari
1aa1832b59
TESTS: WIN32: Add missing object file
2021-07-15 09:09:38 +02:00
Matthew Duggan
191e7c8180
ULTIMA8: Add simple unit tests for item sorting
2021-07-07 19:34:05 +09:00
Cameron Cawley
0e6b9c2bb6
SDL: Begin refactoring the API for selecting scalers
2021-06-23 21:29:53 +02:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
Orgad Shaneh
f2f64161a1
TESTS: Fix GCC warnings
...
../scummvm/test/cxxtest/cxxtest/ValueTraits.h:120:52: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
120 | ValueTraits( CXXTEST_NEW_CLASS n ) : _old( (CXXTEST_OLD_CLASS)n ) {} \
| ^~~~~~~~~~~~~~~~~~~~
2021-04-23 01:54:26 +02:00
Orgad Shaneh
63a48de8d3
TESTS: Regenerate tests when module.mk is modified
2021-04-19 23:06:55 +03:00
Orgad Shaneh
67d793433e
TESTS: Avoid needless copy if encoding.dat
2021-04-15 22:53:22 +03:00
Orgad Shaneh
fc57fab6d6
TESTS: Fix python warnings
2021-04-15 22:53:22 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Le Philousophe
08c46ec41e
TESTS: Cleanup allocation in array tests
2021-04-10 23:36:55 +02:00
Le Philousophe
5cdb300534
COMMON: Fix CJK encode/decode and make valgrind quiet
...
CJK offsets were wrong compared to encodings.dat file and buffers were
read past their end.
Rewrote indexing to make it match the Python script and optimize
slightly
2021-04-10 23:36:55 +02:00
Martin Gerhardy
bb34721dd4
IMAGE: added GIFDecoder using libgif
2021-04-10 10:59:09 +02:00
sluicebox
93eeffc84d
JANITORIAL: Update old bug tracker numbers
2021-03-03 02:15:05 +02:00
Matthew Jimenez
c1b91890e5
ULTIMA8: Replace IDataSource and ODataSource with utility functions for common streams
2021-02-23 19:22:02 -06:00
Matthew Jimenez
7e8c5d46c0
ULTIMA8: Remove U8ODataSourceTestSuite
2021-02-21 16:11:23 -06:00
SupSuper
fd81f32d6a
TESTS: Use getValOrDefault
2021-02-12 02:50:34 +00:00
Cameron Cawley
c30c22dac8
TEST: Simplify the use of the Null backend
2021-02-08 03:07:34 +02:00
Le Philousophe
51e174f202
ALL: Mark link commands as make recursive
...
With this make gives access to its jobserver for linker which will use
it when linking with -flto=jobserver
2021-01-17 21:53:15 +01:00
Le Philousophe
72c464bf11
ALL: Use LD instead of CXX when linking
...
It will be more coherent.
LD is defined to CXX in configure script so it shouldn't change
behaviour.
2021-01-17 21:53:15 +01:00
Matthew Duggan
c308fdcb59
TEST: Touch test file to force rebuild
2021-01-04 10:45:36 +09:00
Matthew Duggan
28bb304812
ULTIMA8: Graphics refactor, use more common code
...
Try to use more of the built-in ScummVM rendering pipeline and remove redundant
types where possible. Unfortunately this is a bit of a mega-commit because all
the pieces were tied together, but the main changes are:
* Remove the Texture types, as they add little over ManagedSurface
* Remove the ScalerGump as we no longer use it - we should be using the
built-in ScummVM scalers
* Remove the Scaler types - the only remaining user after removing ScalerGump
was in hte AVI player. There we manually add the Crusader style interlaced
scaling, which was an outstanding TODO anyway.
* Remove now-unused functions from the RenderSurface family
* Remove the "default" mouse cursor as we never use it in ScummVM
* Remove the memset_n header which duplicates Common::Fill functions (fixes
#11969 )
* Remove the fixed-width bitmap fonts which were used for the Pentagram
console.
I've tested the following things that this had the potential to break:
* U8 game, credits, movies, minimap, and ttf rendering
* Crusader game and movies
* Debug tools (shape viewer, touch-highlight)
2021-01-04 09:08:20 +09:00
Matthew Duggan
a70153fdd0
ULTIMA8: Add smooth Crusader turning.
2021-01-01 15:07:37 +09:00
Matthew Duggan
4f7881fe8a
TEST: Add direction util tests for U8
2020-12-27 16:44:44 +09:00
Vladimir Serbinenko
9b824d73af
TEST: remove prinring of md5 of encoding.dat
2020-11-16 10:06:27 +01:00
Vladimir Serbinenko
e187cee802
TEST: Don't suppress errors on copying of encoding.dat
2020-11-16 06:30:48 +01:00
Vladimir Serbinenko
cb5c080151
TEST: Fix path to test/runner.cpp
2020-11-16 04:09:37 +01:00
Vladimir Serbinenko
23111de32e
TEST: clean copied encoding.dat
2020-11-16 03:47:22 +01:00
Vladimir Serbinenko
f5ffbe1155
TEST: Copy encoding.dat to make tests work in relative build directory
2020-11-16 02:38:22 +01:00
Vladimir Serbinenko
cd8270f039
TEST: Third attempt to fix the tests
...
Some tests unnecessarily referred to null osystem. Tested with PSP target
2020-11-16 01:51:14 +01:00
Vladimir Serbinenko
e3ace27da0
TEST: Second attempt at fixing tests
...
The framework doesn't understand preprocessor, put preprocessing inside the
tests.
2020-11-16 00:51:22 +01:00
Vladimir Serbinenko
a9fe1d7a84
TEST: Skip CJK tests outside of POSIX
...
They need file access that needs null backend which for now only
peopwely compiles on POSIX.
2020-11-15 23:57:53 +01:00
Cameron Cawley
3dd369e81f
TEST: Fix compiling with MinGW
2020-11-15 21:28:27 +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
Eugene Sandulenko
c952d34410
TEST: Remove now unneeded library from dependencies
2020-10-09 23:33:38 +02:00
Eugene Sandulenko
3ba3e4e565
TEST: Fix linking
2020-10-09 21:31:15 +02:00
Paweł Kołodziejski
35b9cccbde
ALL: Merge ResidualVM
2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
4631c0e2ed
ALL: Sync with ScummVM rev: a4002bdeee
2020-10-04 23:59:26 +02:00
Thierry Crozat
a275522f89
COMMON: Add list initialization and move semantics to Array
2020-10-03 15:51:14 +02:00
Pawel Kolodziejski
15a759370a
ALL: Synced with ScummVM - rev: bdbbcd81ae
2020-09-12 19:38:50 +02:00
Vladimir Menshakov
0a4154318c
COMMON: implement %c formatter (used in hardware-input.cpp)
...
Fix invalid descriptor name for half-axis.
Add some tests for U32String::Format.
2020-09-12 11:56:17 +01:00
Pawel Kolodziejski
d5304e2568
ALL: Synced with ScummVM - rev: 33a47d23b8
2020-09-03 02:21:14 +02:00
Vladimir Menshakov
8ddcbf8120
COMMON: Fix warnings about different signedness (uint32/char comparison), remove unused var
...
Add tests for both str/ustr comparison operators.
2020-09-02 20:35:43 +01:00
Vladimir Menshakov
f63f424309
COMMON: Preserve the order of insertion for equal range of the keys.
2020-08-31 18:17:29 +01:00
Pawel Kolodziejski
aea3bae26d
ALL: Synced with ScummVM - rev 0b777c23a9
2020-08-11 00:59:40 +02:00
Cameron Cawley
68107af6de
TESTS: Fix the subsystem of the test runner on Windows
2020-07-26 17:07:35 +01:00
Pawel Kolodziejski
8f4e1c6cf3
Sync with ScummVM rev. 654b8208b8
2020-06-22 08:14:16 +02:00
Matthew Duggan
eeb2d2cf1f
ULTIMA8: Fix unit tests
2020-06-17 18:29:47 +09:00
Pawel Kolodziejski
b586571900
ALL: synced with ScummVM commit 09bf38c120
2020-05-09 20:05:54 +02:00
Matthew Duggan
cecedb4f37
ULTIMA8: Refactor DataSources to inherit from Common::Streams
2020-04-11 17:05:40 +09:00
Matthew Duggan
4161cab9ba
ULTIMA8: Update unit tests for function renames
2020-04-04 17:45:36 +09:00