Commit Graph
3029 Commits
Author SHA1 Message Date
Borja Lorente Escobar a19b50ddf2 COMMON: Add replace functions to Common and String.
COMMON: Add replacement to common/algorithm.h

COMMON: Intermediate commit to show doubts.

 COMMON: Basic String::replace() methods implemented.

COMMON: Fix typo in the algorithm.h documentation.

COMMON: Fix documentation of String::replace()

COMMON: Fix formatting issues in method signatures.

COMMON: Add assert and reformat loops in str and algorithm.

COMMON: Fix typo in comment.

COMMON: Fix style in string test cases.

COMMON: Add Doxygen documentation to algorithm and String.

COMMON: Add Doxygen documentation to algorithm and String.

COMMON: Add Doxygen documentation to algorithm.

COMMON: Fix style in algorithm comments.

COMMON: Add Doxygen comments to String.

COMMON: Add Doxygen comments to algorithm test function.

COMMON: Add String support for substring replace.

COMMON: Fix string replace to comply with STL

COMMON: Fix documentation on string replace

COMMON: Fix style in string replace

COMMON: Fix unwanted reference problem in String::replace().

COMMON: Fix indentation in comments for replace

COMMON: Fix indentation in replace

COMMON: Fix comments in String::replace to match implementation.

COMMON: Remove assert to allow for not-null-terminated character arrays

COMMON: Add new test for String::replace

COMMON: Fix broken comments on String::replace

COMMON: Fix sharing bug on ensureCapacity

COMMON: Remove superfluous call to makeUnique()
2016-05-16 22:01:21 +02:00
Eugene Sandulenko 2cd0a99e2b Merge pull request #745 from Cruel/3ds
3DS: New Backend
2016-05-16 10:05:00 +02:00
Thierry Crozat cede9e7734 UPDATES: Fix interval normalization
When given a valid value the normalization was returning the next
valid value instead of returning the given one. This caused for
example the interval to be changed each time we opened the
options (and thus check to be automatically activated the first
time the options were accessed).
2016-04-09 21:47:20 +01:00
Eugene Sandulenko c18a12453e UPDATES: Implemented method getLastUpdateCheckTimeAndDate()
Currently it uses methods and constants deprecated in 10.10.
10.10+ -specific code will follow
2016-04-09 17:04:04 +02:00
Thomas Edvalson e2b9572a83 3DS: Initial commit 2016-04-06 02:12:02 -04:00
Eugene Sandulenko 0925e9cd29 UPDATES: Fix endless loop 2016-04-03 23:10:55 +02:00
Eugene Sandulenko d643036c20 Merge pull request #735 from sev-/updates-gui
UPDATES: Add GUI. Opt-in dialog and Options
2016-04-03 11:38:06 +02:00
Eugene Sandulenko 98f0be39e2 Merge pull request #743 from fuzzie/apple2-platform
COMMON: Add Apple II platform
2016-04-02 23:08:39 +02:00
Alyssa Milburn 0dd3563085 COMMON: Add Apple II platform 2016-04-02 21:57:48 +02:00
Eugene Sandulenko a743ec2e07 UPDATES: Implement and use method for normalizing interval value to accepted values 2016-04-01 21:29:29 +02:00
Eugene Sandulenko 14478a65f1 UPDATES: Added documentation to new methods 2016-04-01 21:19:15 +02:00
Eugene Sandulenko 08e7f0ab91 UPDATES: Got rid of hardcoded update intervals list 2016-03-31 09:31:57 +02:00
Eugene Sandulenko 73784c6a84 UPDATES: Made interval set/get functions accept normal integers 2016-03-30 19:27:59 +02:00
Eugene Sandulenko f1fa8ea1ca COMMON: Use better reallocation strategy in MemoryWriteStreamDynamic.
Fixes bug #6983: "SWORD25: long saving time"
2016-03-28 18:45:34 +02:00
Johannes Schickel 10d4d30628 Merge pull request #682 from lordhoto/savefilemanager-case-insensitive
ALL: Make SaveFileManager case insensitive.
2016-03-16 21:35:01 +01:00
Johannes Schickel b8fb9e6a51 COMMON: Cleanup: Use StringArray instead of custom type. 2016-03-01 19:18:23 +01:00
Johannes Schickel 91b5c5a413 COMMON: Add a method to list files to MacResManager. 2016-03-01 19:16:10 +01:00
Willem Jan Palenstijn d4d4b779aa COMMON: Fix Rect::intersects doc 2016-03-01 19:11:49 +01:00
Johannes Schickel 8c5931bca4 COMMON: Add documentation about savefile names. 2016-02-25 21:51:53 +01:00
Johannes Schickel e7e7aa0558 COMMON: Beautify SaveFileManager documentation. 2016-02-25 21:51:53 +01:00
Colin Snover 4ba0ff8deb COMMON: Add convenience method to Common::Rational for 1:1 ratios
For SCI engine games, ratios may not be normalised and so to avoid
extra scaling, there needs to be a way to simply check whether a
ratio is 1:1.
2016-02-18 13:18:02 -06:00
Colin Snover 7d54f0aaaf COMMON: Add methods for inserting and erasing with iterators
This provides improved feature parity to Common::List and is used
in SCI32 engine.
2016-02-18 13:18:01 -06:00
Alexandre Detiste 6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Johannes Schickel 01d3d02679 COMMON: Fix formatting issues in archive.cpp. 2016-02-09 12:10:04 +01:00
Willem Jan Palenstijn 3e90a83aa4 COMMON: Fix memory leak in decompressDCL 2016-02-07 00:00:13 +01:00
Johannes Schickel 29b37f473c COMMON: Add render mode for Macintosh.
On request of m_kiewitz who wants to use it for AGI.
2016-02-05 12:38:28 +01:00
Johannes Schickel 06641f29a7 COMMON: Allow '#' to only match digits in matchString. 2016-01-26 16:35:30 +01:00
Johannes Schickel 354a3af717 COMMON: Add another GUIO game option flag.
We still can only display 7 options in our GUI though. Blame m_kiewitz if
anybody runs into that issue now. He wanted this.
2016-01-22 01:20:37 +01:00
Johannes Schickel b166cb84e2 COMMON: Use spaces for beautifying formatting. 2016-01-21 23:48:48 +01:00
Johannes Schickel a481702488 COMMON: Allow translation of PC-98 render modes. 2016-01-21 23:41:30 +01:00
Johannes Schickel 0024519e9c COMMON: Use our standard FM-TOWNS spelling for render modes. 2016-01-21 23:41:30 +01:00
Johannes Schickel 1479219f7a COMMON: Add render modes for Apple IIgs and Atari ST.
On request of m_kiewitz who wants to use it for AGI.
2016-01-21 23:41:30 +01:00
Johannes Schickel 54f5c95832 COMMON: Make FSNode(AbstractFSNode *) private again.
This also fixes a memory leak in OSystem_iOS7::addSysArchivesToSearchSet.
2016-01-07 11:25:02 +01:00
Vincent Bénony 73385584ba IOS: Adds a warning 2016-01-06 16:20:30 +01:00
Vincent Bénony e0bfdb41d0 IOS: Formatting 2016-01-06 16:20:30 +01:00
Vincent Bénony 16605a3e10 IOS: Moves the helper function were it is used. 2016-01-06 16:20:29 +01:00
Vincent Bénony 64f50761ec IOS: Merge master 2016-01-06 16:19:03 +01:00
Vincent Bénony bbf3785bba IOS: Adds two helper functions on strings 2016-01-06 15:35:30 +01:00
Vincent Bénony 108ce38443 IOS: Added a chroot like filesystem
This is needed because it is not possible to keep absolute paths to the iOS document directory, because a part of its name change between each installation / update.
2016-01-06 15:35:17 +01:00
Johannes Schickel e7f54aec7d COMMON: A few formatting fixes. 2015-12-12 06:54:58 +01:00
Filippos Karapetis 7707f05338 COMMON: Throw a warning on inconsistent DCL fixed size buffers
This is useful for debugging, and needed for fixes in Russian fan made
translations of The Neverhood Chronicles
2015-11-19 02:05:12 +02:00
Filippos Karapetis 65a36315ea COMMON: The DCL decompressor is also used in neverhood 2015-11-19 02:05:12 +02:00
Bertrand Augereau 1311fe5c49 COMMON: Avoid useless (and dangerous when cctor/operator= don't support it) SWAP(x, x) in sorting 2015-11-10 20:08:19 +01:00
Bertrand Augereau 4920b3ab3e COMMON: Some ill-formed xml files triggered a seek(CUR, -2) in the parser 2015-11-09 22:51:15 +01:00
Paul Gilbert 89dfd36b60 CREATE_PROJECT: Add support for Visual Studio 2015 2015-09-28 19:23:58 -04:00
Bastien Bouclet 53388bf6e8 COMMON: Plug a memory leak in the FFT class 2015-07-13 18:45:31 +02:00
Martin Kiewitz a07ff81051 COMMON: PKWARE data comp. remove temp. targetPtr
which was used for the temporary workaround in commit 4fb3264
2015-07-04 03:29:06 +02:00
Martin Kiewitz 614162e5fc COMMON: PKWARE data comp. lib. mask dictionary xs
added masking of dictionary offsets when copying from dictionary
issues should now all be fixed
2015-07-04 03:10:26 +02:00
Martin Kiewitz 4fb32647ad COMMON: PKWARE data comp. library fix
add old length+offset code for now, so that the graphical issues
in SCI don't occur anymore. Will investigate more tomorrow.
2015-07-04 02:52:56 +02:00
Martin Kiewitz fafe22731b COMMON: PKWARE data comp. library fix
fixes dictionary issues with some compressed data
2015-07-04 02:26:12 +02:00