aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-11-09Removed many unnecessary #includesMax Horn
svn-id: r34959
2008-11-09Removed unused XML_GLOBAL_PROP functionality (saves some kilobytes)Max Horn
svn-id: r34950
2008-11-07Reverted my earlier commit r34926.Nicola Mettifogo
svn-id: r34930
2008-11-07Fixed leak when using SearchSet::add for an already existing name.Johannes Schickel
svn-id: r34928
2008-11-07Fixed leaks in SearchMan. Default directories are now added with the ↵Nicola Mettifogo
'autoFree' parameter set to true. svn-id: r34926
2008-11-07Refactoring the Arj decoder code, phase 4 (done for now, TODO added for ↵Max Horn
future work) svn-id: r34925
2008-11-07Refactoring the Arj decoder code, phase 3 (fixing some more leaks, too)Max Horn
svn-id: r34924
2008-11-07Refactoring the Arj decoder code, phase 2Max Horn
svn-id: r34923
2008-11-07Refactoring the Arj decoder code, phase 1Max Horn
svn-id: r34922
2008-11-06Merged SFMError into Common::Error, added some new error codes; revised some ↵Max Horn
error handling in DefaultSaveManager svn-id: r34915
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-11-06Got rid of OSystem::ARGBToColor and colorToARGBMax Horn
svn-id: r34911
2008-11-06cleanupMax Horn
svn-id: r34910
2008-11-06Simplified AdvancedMetaEngine::fallbackDetect usageMax Horn
svn-id: r34909
2008-11-05Turned enum PluginError into Common::Error, which in the future is to be ↵Max Horn
used in more places. Help with this is highly welcome svn-id: r34906
2008-11-04dead codeMax Horn
svn-id: r34900
2008-11-04Improved ZipArchive to take arbitrary SeekableReadStream; also, the variant ↵Max Horn
which is inited using a filename now uses SearchMan to lookup the filename's file svn-id: r34899
2008-11-03Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".Johannes Schickel
svn-id: r34875
2008-11-01Commit of patch #2207782 "ARCHIVE: New method 'getMember'".Johannes Schickel
svn-id: r34871
2008-10-30Reset _chunksPerPage after MemoryPool::freeUnusedPages, to avoid enormous ↵Max Horn
memory consumption in various easy to trigger situations; out of paranoia, prohibit for now memory chunks bigger than 16MB svn-id: r34868
2008-10-27Fix for bug #2198456 "FS: Cannot add a subfolder to a non-existing folder".Johannes Schickel
svn-id: r34857
2008-10-23Pushed down some header depsMax Horn
svn-id: r34845
2008-10-22Made constructor of SearchManager singleton privateMax Horn
svn-id: r34841
2008-10-22Committed updated version of my patch #2184529 "SearchSet: Get rid of ↵Johannes Schickel
SharedPtr usage". svn-id: r34837
2008-10-22Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightlyMax Horn
svn-id: r34836
2008-10-21Fixed: Broken english in System.h documentation.Vicent Marti
svn-id: r34835
2008-10-18Rewrote XMLParser error() function for the 5th time.Vicent Marti
Bugfix: Ambiguous error message when parsing an unexpected header. svn-id: r34819
2008-10-18Changed XML Parser to require standards-compilant XML header.Vicent Marti
Updated STX version to 0.3 svn-id: r34817
2008-10-16OSYSTEM: Pushed out some port specific code from common/system.cpp to the ↵Max Horn
respective ports svn-id: r34812
2008-10-15Changed XMLParser comment syntax to conform to XML standards (<!-- * -->)Vicent Marti
Changed STX version string to 0.2. svn-id: r34807
2008-10-14Greatly improved XML Parser error messages.Vicent Marti
svn-id: r34803
2008-10-14Added "Mass Add" dialog.Vicent Marti
svn-id: r34802
2008-10-13Removed SearchManager::addArchive, since SearchManager::add offers the same ↵Johannes Schickel
functionallity. svn-id: r34795
2008-10-13OSYSTEM: Removed unused getExtraThemeConfig() method (TODO: Implement a new ↵Max Horn
system which allows ports to add/remove stuff from the options dialogs) svn-id: r34794
2008-10-12COMMON: Added a new ObjectPool class, with matching operator new/delete ↵Max Horn
overloads svn-id: r34785
2008-10-12Changed Common::Rect doxygen comments to the (Java) style we use elsewhereMax Horn
svn-id: r34779
2008-10-12* Added prefix support to cache entries of FSDirectory, as specified in ↵Nicola Mettifogo
patch #2034983. * Updated comments on most Archive-related classes. svn-id: r34776
2008-10-11Changed XMLParser to use SearchMan / FSNode::openForReadingMax Horn
svn-id: r34773
2008-10-09- Fixed theme loading from Zip files.Vicent Marti
- Changed Common::ZipArchive to use FSNodes instead of full paths (external API unchanged). svn-id: r34761
2008-10-09Manual merge of the GSoC2008 GUI branch. (71 files)Vicent Marti
svn-id: r34757
2008-10-08Added an optional depth parameter to FSDirectory::getSubDirectory(), so that ↵Nicola Mettifogo
returned FSDirectory can be more flexibly configured. svn-id: r34756
2008-10-06Fix warnings about Event::synthetic being undefinedMax Horn
svn-id: r34754
2008-10-05Merged revisions 34748,34750 via svnmerge from Vicent Marti
https://tanoku@scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk ........ r34748 | dreammaster | 2008-10-05 12:25:35 +0200 (Sun, 05 Oct 2008) | 1 line Changed NPC schedules to be loaded when an NPC is activated - this avoids an issue with the Castle Skorl's pre-activation room number being invalid room #99 ........ r34750 | fingolfin | 2008-10-05 14:18:16 +0200 (Sun, 05 Oct 2008) | 1 line Fixed ambiguous 'else' ........ svn-id: r34752
2008-10-05Fixed ambiguous 'else'Max Horn
svn-id: r34750
2008-10-05Merged several revisions from SVNMerge.Vicent Marti
Fixed theme loading to use the new ArchiveMember class. Original SVNMerge.py log: ===================== Merged revisions 34686,34688-34689,34691-34698,34700-34705,34707-34713,34715-34722,34725-34727,34731-34732,34734-34738,34746 via svnmerge from https://tanoku@scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk ........ r34686 | cyx | 2008-09-29 21:09:56 +0200 (Mon, 29 Sep 2008) | 1 line add constructor to SearchSet::Node for proper init of structure members with gcc 3.4.x (see tracker items #2120595, #2106292) ........ r34688 | cyx | 2008-09-29 22:08:26 +0200 (Mon, 29 Sep 2008) | 1 line restrict _heXmapNum to HE versions, should fix #2135822 ........ r34689 | eriktorbjorn | 2008-09-29 22:40:58 +0200 (Mon, 29 Sep 2008) | 4 lines Since no one has come up with any better suggestion... this should fix #2123258 ("COMI: Crash after video (SAN) play"). The eos() function won't return true until we've tried to read *past* the end of the stream. ........ r34691 | tanoku | 2008-09-30 00:29:07 +0200 (Tue, 30 Sep 2008) | 1 line Ported ZipArchive::getAllNames() implementation from GUI branch. ........ r34692 | fingolfin | 2008-09-30 11:07:03 +0200 (Tue, 30 Sep 2008) | 1 line Order alphabetically ........ r34693 | fingolfin | 2008-09-30 11:08:17 +0200 (Tue, 30 Sep 2008) | 1 line SAGA: Removed patchesCount from SAGAGameDescription ........ r34694 | fingolfin | 2008-09-30 11:09:39 +0200 (Tue, 30 Sep 2008) | 1 line SCUMM HE: Use FilesystemNode::openForReading() instead of 'new Common::File' (didn't cover all instances, though) ........ r34695 | fingolfin | 2008-09-30 11:11:25 +0200 (Tue, 30 Sep 2008) | 1 line SAGA: Forgot to commit saga.h ........ r34696 | fingolfin | 2008-09-30 11:12:02 +0200 (Tue, 30 Sep 2008) | 1 line Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName() ........ r34697 | fingolfin | 2008-09-30 13:33:43 +0200 (Tue, 30 Sep 2008) | 1 line cleanup ........ r34698 | tanoku | 2008-09-30 13:53:37 +0200 (Tue, 30 Sep 2008) | 1 line Fixed functionality of ZipArchive::getAllNames(). Now it expects a possibly non-empty string list and returns the amount of new filenames added to it. ........ r34700 | fingolfin | 2008-09-30 14:27:38 +0200 (Tue, 30 Sep 2008) | 1 line Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit ........ r34701 | fingolfin | 2008-09-30 14:37:28 +0200 (Tue, 30 Sep 2008) | 1 line cleanup ........ r34702 | fingolfin | 2008-09-30 14:38:44 +0200 (Tue, 30 Sep 2008) | 1 line AdvancedDetector: Do not (ab)use paths to keep track of files, rather, use FSNodes -- partial (?) fix for bug #2137680 ........ r34703 | fingolfin | 2008-09-30 14:58:27 +0200 (Tue, 30 Sep 2008) | 1 line SAGA: Some code cleanup ........ r34704 | fingolfin | 2008-09-30 14:59:29 +0200 (Tue, 30 Sep 2008) | 1 line SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open ........ r34705 | thebluegr | 2008-09-30 15:19:14 +0200 (Tue, 30 Sep 2008) | 1 line Fixed crash when starting IHNM, a regression from commit #34693 ........ r34707 | fingolfin | 2008-09-30 17:42:19 +0200 (Tue, 30 Sep 2008) | 1 line Fixing ConfigManager::loadConfigFile ........ r34708 | fingolfin | 2008-09-30 18:23:35 +0200 (Tue, 30 Sep 2008) | 1 line AGI: Another case where it is better to use FSNodes directly, instead of converting them to path strings ........ r34709 | fingolfin | 2008-09-30 18:34:38 +0200 (Tue, 30 Sep 2008) | 1 line Modified FilePluginProvider to use FSNodes (instead of raw filenames / paths) in its API ........ r34710 | fingolfin | 2008-09-30 18:38:46 +0200 (Tue, 30 Sep 2008) | 1 line AGI: Got rid of yet another unwarranted use of FSNode::getPath ........ r34711 | fingolfin | 2008-09-30 18:53:04 +0200 (Tue, 30 Sep 2008) | 1 line AGI: Simplify WagFileParser by not reading data into a memory stream first (this was there to improve performance on systems with slow seeking; those systems should use another approach, see scummvm-devel) ........ r34712 | thebluegr | 2008-09-30 18:55:10 +0200 (Tue, 30 Sep 2008) | 1 line Fix crash when starting ITE, a regression from commit #34705 ........ r34713 | fingolfin | 2008-09-30 19:09:41 +0200 (Tue, 30 Sep 2008) | 1 line Fix ThemeBrowser to use FSNodes, not getPath() ........ r34715 | Kirben | 2008-10-02 16:41:50 +0200 (Thu, 02 Oct 2008) | 1 line Correct HE version for Putt-Putt Enters the Race (French/Windows). ........ r34716 | fingolfin | 2008-10-02 18:58:59 +0200 (Thu, 02 Oct 2008) | 1 line Renamed FilesystemNode -> FSNode ........ r34717 | fingolfin | 2008-10-02 19:08:15 +0200 (Thu, 02 Oct 2008) | 1 line cleanup ........ r34718 | fingolfin | 2008-10-02 19:17:18 +0200 (Thu, 02 Oct 2008) | 1 line Ignore String::deleteLastChar when called on an empty string ........ r34719 | fingolfin | 2008-10-02 19:20:21 +0200 (Thu, 02 Oct 2008) | 1 line Fix for bug #2142743: Assertion on clicking "Theme" in Options ........ r34720 | fingolfin | 2008-10-02 19:48:01 +0200 (Thu, 02 Oct 2008) | 7 lines Engine class changed: - Moved initCommonGFX() && GUIErrorMessage() out of class Engine - got rid of the _autosavePeriod member (this prevented users from changing the autosave period during runtime) - Got rid of an evil 'using GUI::Dialog' statement - Clarified some Doxygen comments ........ r34721 | fingolfin | 2008-10-02 19:52:29 +0200 (Thu, 02 Oct 2008) | 1 line Add the current dir to the global SearchSet, i.e. to SearchMan (this should fix the problems on Windows, and maybe other systems, see 'bug' #2137680) ........ r34722 | fingolfin | 2008-10-02 19:55:08 +0200 (Thu, 02 Oct 2008) | 1 line Forgot to mention yet another Engine class change: mainMenuDialog -> openMainMenuDialog; and also forgot to commit this related file :/ ........ r34725 | fingolfin | 2008-10-02 20:11:40 +0200 (Thu, 02 Oct 2008) | 1 line typo ........ r34726 | thebluegr | 2008-10-03 00:04:34 +0200 (Fri, 03 Oct 2008) | 1 line Merged loadHotSpotsMads() and loadHotSpotsM4() ........ r34727 | lordhoto | 2008-10-03 02:16:21 +0200 (Fri, 03 Oct 2008) | 2 lines Fixed typos (thanks to Raziel^ for spotting them). ........ r34731 | fingolfin | 2008-10-03 18:07:57 +0200 (Fri, 03 Oct 2008) | 1 line Fixed Engine::hasFeature to use proper types (i.e., MetaEngine::MetaEngineFeature instead of int) ........ r34732 | fingolfin | 2008-10-03 18:14:12 +0200 (Fri, 03 Oct 2008) | 1 line SCUMM: Added french Monkey VGA variant, see bug #2129199 ........ r34734 | lordhoto | 2008-10-03 18:57:40 +0200 (Fri, 03 Oct 2008) | 2 lines Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines". ........ r34735 | lordhoto | 2008-10-03 20:18:42 +0200 (Fri, 03 Oct 2008) | 2 lines Check all 'kyra.dat' files in setup paths instead of only the first one found. ........ r34736 | lordhoto | 2008-10-03 20:23:57 +0200 (Fri, 03 Oct 2008) | 2 lines Cleanup. ........ r34737 | dreammaster | 2008-10-04 13:10:25 +0200 (Sat, 04 Oct 2008) | 1 line Bugfix to prevent NPC characters managing to walk beyond room exits without leaving the room, and thus getting stuck ........ r34738 | fingolfin | 2008-10-04 15:09:01 +0200 (Sat, 04 Oct 2008) | 1 line Renamed some MetaEngine feature flags; removed explicit numbers from this feature flag list (nothing should rely on their specific values, anyway); added a note that Engine::hasFeature should become independant of MetaEngine::hasFeature ........ r34746 | john_doe | 2008-10-04 23:40:14 +0200 (Sat, 04 Oct 2008) | 3 lines - Declared all stack functions as inline - Sleep some ms after 500 opcodes to reduce CPU load - Fixed odd bug in LGoP2 where text disappeared quickly without waiting for user input by returning 0x38 in sfShowPage ........ svn-id: r34749
2008-10-05Added a fixed memory pool for XML Node allocation, as suggested by Max.Vicent Marti
svn-id: r34747
2008-10-03Committed slightly modified patch #2034983 "Case-insensitivy and directory ↵Johannes Schickel
handling for engines". svn-id: r34734
2008-10-02Add the current dir to the global SearchSet, i.e. to SearchMan (this should ↵Max Horn
fix the problems on Windows, and maybe other systems, see 'bug' #2137680) svn-id: r34721
2008-10-02Ignore String::deleteLastChar when called on an empty stringMax Horn
svn-id: r34718
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716