aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2009-07-13Reverted my previous change (fprintf vs fputs),Max Lingua
and properly implemented fputs for stderr case on PS2 ;-) svn-id: r42433
2009-07-12Remove double endlineWillem Jan Palenstijn
svn-id: r42430
2009-07-12On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,Max Lingua
rather than "fputs", which is buggy in the PS2 implementation. svn-id: r42429
2009-07-12I am re-commiting the FORCE_RTL as a temporary solutionMax Lingua
in trunk, so that trunk/1.0rc is au pair feature-wise with 0.13.x. svn-id: r42403
2009-07-12Added a temporary work-around for PS2 backend in common/array.hMax Lingua
cause its vintage compiler does not support "new T[newCapacity]()" but only "new T[newCapacity]", this will let it compile through. It's ifdef'd as __PLAYSTATION2__, so it won't make a difference for other backends with more modern tools. svn-id: r42402
2009-07-03If NDEBUG is #defined, then assert does nothing, leading to warnings about ↵Max Horn
'old_size' not being used -> fix that svn-id: r42056
2009-06-29Add some more explanation to Graphics::CursorManager::showMouse and ↵Johannes Schickel
OSystem::showMouse. svn-id: r41968
2009-06-28Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;Max Horn
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-23Added support for HungarianSven Hesse
svn-id: r41812
2009-06-13Fix erase() sometimes hiding other hash elements.Willem Jan Palenstijn
Like CPython, we now use a dummy node to mark nodes as erased, so that lookup() can skip over it. All tests should now pass again. svn-id: r41496
2009-06-12Fixed disposeStream initialization.Nicola Mettifogo
svn-id: r41474
2009-06-12* Adapted Kyra to the new IFFParser interface.Nicola Mettifogo
* Adapted the new IFFParser to Kyra (slightly). The Kyra1 demo on the website works. svn-id: r41468
2009-06-12* Moved the updated IFF code from Parallaction to common/Nicola Mettifogo
* Updated Parallaction and SAGA to use the new decoder infrastructure. svn-id: r41465
2009-06-10Point to the Cursor and AudioCD Managers to help engine authors following ↵Jordi Vilalta Prat
the right path. svn-id: r41433
2009-06-10Extend documentation for "kFeatureCursorHasPalette".Johannes Schickel
svn-id: r41430
2009-06-10Fix documentation for debugC and debugCN, relying on special debug levels.Johannes Schickel
svn-id: r41425
2009-06-10Added debugCN() call which does not add newline automaticallyEugene Sandulenko
svn-id: r41421
2009-06-08Spacing.Travis Howell
svn-id: r41375
2009-06-07Fixed appending a (substring of a) string to itselfMax Horn
svn-id: r41337
2009-06-07Added some new method variants to Common::StringMax Horn
svn-id: r41333
2009-06-07Added an experimental '--upgrade-targets' option (to be refined; and ↵Max Horn
possibly hooked to the GUI eventually). This updates the guioptions,platform and lang for all your targets (and with a source change, also the descriptions) svn-id: r41332
2009-06-06Added CoCo3 version of SQ1Eugene Sandulenko
svn-id: r41284
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-06-06Implement feature request #1180217: "GUI: Mute option"Eugene Sandulenko
svn-id: r41233
2009-06-05Make the PlayStation's abbreviation to all lower-case for consistency and ↵Matthew Hoops
change the description from Playstation to Sony PlayStation svn-id: r41200
2009-06-01Add a 'flat' option to FSDirectory to allow searching recursively for files ↵Willem Jan Palenstijn
in subdirectories svn-id: r41090
2009-05-31Document that debug level 11 turns on all special debug level messages ↵Filippos Karapetis
(refer to rev. #28858) svn-id: r41076
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-26Renamed Common::Serializer::syncMagic to matchBytes, and added version ↵Max Horn
paarms to it (we migh want to add corresponding matchUint32LE etc. functions if needed) svn-id: r40909
2009-05-26Fixed a bug in Common::Array (including a unit test for it), and changed the ↵Max Horn
way the internal storage growth over time. The bug could result in incorrect results when using push_back (or insert_at) to insert data from an array into itself if this insertions would cause the internal array storage to grow. Also added a unit test for this bug. Furthermore, if the internal storage needs to grow, it will now be resized to the next power of two, instead of being increased by 32. svn-id: r40907
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-19Improved Common::Serializer in several ways:Max Horn
* Added support versioned serialization * Added a convenience API for handling 'magic IDs' transparently * Exposed the err()/clearErr() methods of the underlying streams * Added a basic unit test for versioned loading (more should be added, in particular for saving) * Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size) svn-id: r40723
2009-05-18Typo.Johannes Schickel
svn-id: r40693
2009-05-12Allow creation of KeyState with zero ascii value.Eugene Sandulenko
svn-id: r40501
2009-05-12Add more detailed error message for "Chunk overread" case.Johannes Schickel
svn-id: r40493
2009-05-12Typo.Johannes Schickel
svn-id: r40487
2009-05-12Added a startOffset parameter to hexdump() (used by SCI's own hexdump method)Filippos Karapetis
svn-id: r40470
2009-05-10Keymapper:Eugene Sandulenko
- Introduced new OSystem method getHardwareKeySet() with default implementation - Moved global keymap creation to base/main.cpp - Moved GUI keymap creation to gui/GuiManager.cpp - Added various safeguard checks to various keymapper methods Now it is really possible to add keymapper to all backends. svn-id: r40439
2009-05-10Changed Common::Array::resize() to default init new array elementsMax Horn
svn-id: r40430
2009-05-10Store global keymaps into a separate sectionEugene Sandulenko
svn-id: r40427
2009-05-08Clarified docstring for String::insertCharMax Horn
svn-id: r40382
2009-05-05COMMON: Changed Array destructor to reset _storage and _size to 0 -- this ↵Max Horn
helps to find 'Array used after being disposed' bugs svn-id: r40326
2009-05-04Fix valgrind warningEugene Sandulenko
svn-id: r40309
2009-05-04COMMON: Made Array::resize() init/zero the memory it allocatesMax Horn
svn-id: r40304
2009-05-04Fixed new[] / delete mismatch in Common::StringMax Horn
svn-id: r40302
2009-05-03COMMON: Optimized MemoryPool::freeUnusedPages (if many pages are phased out ↵Max Horn
at once, don't copy everything multiple times around) svn-id: r40292
2009-05-03COMMON: Check for failed memory allocations; changed Common::String to use ↵Max Horn
new/delete instead of malloc/free svn-id: r40291
2009-05-03COMMON: Simplified Common::Stack methods using the recent Common::Array ↵Max Horn
improvements svn-id: r40267
2009-05-03COMMON: Changed Array::resize to not shrink the internal storage if we ↵Max Horn
shrink the array svn-id: r40262