Commit Graph

1681 Commits

Author SHA1 Message Date
Max Horn
6561a7bf36 Set/unified svn:keywords for all *.h and *.cpp files
svn-id: r35651
2009-01-01 17:05:05 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
87a2747744 Turned FSNode into a ArchiveMember subclass; removed the now obsolete FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h
svn-id: r35578
2008-12-27 18:03:27 +00:00
Max Horn
2fec0a3088 Moved addDirectory from SearchManager to SearchSet; changed several places from using '++it' instead of 'it++' to iterate over a list (this is more efficient)
svn-id: r35576
2008-12-27 17:16:48 +00:00
Max Horn
fb5f64b969 Clarify ZipArchive constructor usage
svn-id: r35575
2008-12-27 17:09:28 +00:00
Max Horn
df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Jordi Vilalta Prat
b1999a2a16 Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
2008-12-22 11:22:15 +00:00
Johannes Schickel
1f0b94a9ca Committed slightly modified version of my patch at bug tracker item #2309974 "ALL: */? match path separator in FSDir::listMatchingMembers".
svn-id: r35450
2008-12-20 15:04:17 +00:00
Max Horn
ea3d4fe22d cleanup
svn-id: r35381
2008-12-15 12:55:13 +00:00
Johannes Schickel
3334af5507 Removed last traces of X11 backend.
svn-id: r35287
2008-12-08 21:48:29 +00:00
Max Horn
abae99d645 Get rid of readLine_OLD for good
svn-id: r35229
2008-12-03 22:55:30 +00:00
Filippos Karapetis
bd3f83b508 Turned on MSVC warning 4505 - "Unreferenced local function has been removed", as it's very useful in finding dead code
svn-id: r35160
2008-11-23 15:40:35 +00:00
Filippos Karapetis
71dcfd13a2 Re-enabled MSVC warning 4125 - "decimal digits terminates octal escape sequence". This was thrown for a string with incorrect extended characters in the SAGA engine, which has been corrected now, so the warning itself is valid and quite informative.
svn-id: r35159
2008-11-23 15:26:51 +00:00
Max Horn
44d37a14a9 Removed FSNode::lookupFile
svn-id: r35142
2008-11-21 19:14:23 +00:00
Johannes Schickel
858de9b938 Formatting / Cleanup.
svn-id: r35141
2008-11-21 17:49:19 +00:00
Willem Jan Palenstijn
196e2cc92c refactor inconsistent calls to cacheDirectoryRecursive
svn-id: r35140
2008-11-21 13:29:53 +00:00
Max Horn
a28b531ed0 Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
svn-id: r35139
2008-11-21 12:17:35 +00:00
Johannes Schickel
19aea83411 Fixed documentation.
svn-id: r35109
2008-11-18 14:57:40 +00:00
Max Horn
2f7197ead1 Saving some more bytes of binary size in the advanced detector
svn-id: r35081
2008-11-15 13:19:40 +00:00
Johannes Schickel
78e85a00f2 Little fix for my last commit.
svn-id: r35074
2008-11-15 03:34:08 +00:00
Johannes Schickel
f57bf13819 Yet another buffer safetyness fix. (strcpy -> strncpy)
svn-id: r35073
2008-11-15 03:22:00 +00:00
Johannes Schickel
478ee06fb8 Paranoia: Add destination buffer size to Engine::errorString to help avoiding buffer overflows.
svn-id: r35072
2008-11-15 03:16:41 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Johannes Schickel
b11af14335 Fixed compilation with DISABLE_TEXT_CONSOLE.
svn-id: r35041
2008-11-13 11:46:17 +00:00
Max Horn
a6502da9ac * got rid of CDECL
* got rid of scumm_strrev
* added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error)

svn-id: r35038
2008-11-13 11:26:47 +00:00
Max Horn
f5b70114ca Removed many unnecessary #includes
svn-id: r34959
2008-11-09 15:14:01 +00:00
Max Horn
43e7832e0e Removed unused XML_GLOBAL_PROP functionality (saves some kilobytes)
svn-id: r34950
2008-11-09 12:37:19 +00:00
Nicola Mettifogo
71d7b5762a Reverted my earlier commit r34926.
svn-id: r34930
2008-11-07 13:50:56 +00:00
Johannes Schickel
4cc5015fd0 Fixed leak when using SearchSet::add for an already existing name.
svn-id: r34928
2008-11-07 13:42:05 +00:00
Nicola Mettifogo
203db86869 Fixed leaks in SearchMan. Default directories are now added with the 'autoFree' parameter set to true.
svn-id: r34926
2008-11-07 11:09:16 +00:00
Max Horn
5bf81acb95 Refactoring the Arj decoder code, phase 4 (done for now, TODO added for future work)
svn-id: r34925
2008-11-07 10:14:57 +00:00
Max Horn
903dd97aa1 Refactoring the Arj decoder code, phase 3 (fixing some more leaks, too)
svn-id: r34924
2008-11-07 09:57:54 +00:00
Max Horn
81431f18cd Refactoring the Arj decoder code, phase 2
svn-id: r34923
2008-11-07 09:50:51 +00:00
Max Horn
060aa5b002 Refactoring the Arj decoder code, phase 1
svn-id: r34922
2008-11-07 09:46:12 +00:00
Max Horn
4c8f221fb8 Merged SFMError into Common::Error, added some new error codes; revised some error handling in DefaultSaveManager
svn-id: r34915
2008-11-06 16:40:00 +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
Max Horn
f238a12b27 Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
2008-11-06 14:27:13 +00:00
Max Horn
38a4eaa001 cleanup
svn-id: r34910
2008-11-06 14:03:38 +00:00
Max Horn
142a8d5a51 Simplified AdvancedMetaEngine::fallbackDetect usage
svn-id: r34909
2008-11-06 13:59:39 +00:00
Max Horn
f32be87633 Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
svn-id: r34906
2008-11-05 17:24:56 +00:00
Max Horn
f2c5d0563f dead code
svn-id: r34900
2008-11-04 20:05:33 +00:00
Max Horn
b3e72347a3 Improved ZipArchive to take arbitrary SeekableReadStream; also, the variant which is inited using a filename now uses SearchMan to lookup the filename's file
svn-id: r34899
2008-11-04 20:04:25 +00:00
Johannes Schickel
985c02ee7d Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".
svn-id: r34875
2008-11-03 13:44:59 +00:00
Johannes Schickel
282ebbb0e5 Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
svn-id: r34871
2008-11-01 12:49:29 +00:00
Max Horn
2e20247ce7 Reset _chunksPerPage after MemoryPool::freeUnusedPages, to avoid enormous memory consumption in various easy to trigger situations; out of paranoia, prohibit for now memory chunks bigger than 16MB
svn-id: r34868
2008-10-30 17:45:35 +00:00
Johannes Schickel
fb9bd9f442 Fix for bug #2198456 "FS: Cannot add a subfolder to a non-existing folder".
svn-id: r34857
2008-10-27 02:30:29 +00:00
Max Horn
d387206175 Pushed down some header deps
svn-id: r34845
2008-10-23 07:59:10 +00:00
Max Horn
a2d961a827 Made constructor of SearchManager singleton private
svn-id: r34841
2008-10-22 22:31:09 +00:00
Johannes Schickel
7d331b7341 Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
svn-id: r34837
2008-10-22 17:44:12 +00:00
Max Horn
f881b95ddd Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightly
svn-id: r34836
2008-10-22 17:08:17 +00:00