Commit Graph

1670 Commits

Author SHA1 Message Date
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
Vicent Marti
2630e964c9 Fixed: Broken english in System.h documentation.
svn-id: r34835
2008-10-21 18:13:35 +00:00
Vicent Marti
a67c16c6f2 Rewrote XMLParser error() function for the 5th time.
Bugfix: Ambiguous error message when parsing an unexpected header.

svn-id: r34819
2008-10-18 10:11:35 +00:00
Vicent Marti
df8af387fb Changed XML Parser to require standards-compilant XML header.
Updated STX version to 0.3

svn-id: r34817
2008-10-18 09:14:43 +00:00
Max Horn
36311eefb4 OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
svn-id: r34812
2008-10-16 17:18:15 +00:00
Vicent Marti
0cd4939110 Changed XMLParser comment syntax to conform to XML standards (<!-- * -->)
Changed STX version string to 0.2.

svn-id: r34807
2008-10-15 13:34:18 +00:00
Vicent Marti
cda3086782 Greatly improved XML Parser error messages.
svn-id: r34803
2008-10-14 19:00:21 +00:00
Vicent Marti
1c374dcf35 Added "Mass Add" dialog.
svn-id: r34802
2008-10-14 17:53:52 +00:00
Johannes Schickel
ffdbb474c4 Removed SearchManager::addArchive, since SearchManager::add offers the same functionallity.
svn-id: r34795
2008-10-13 15:07:37 +00:00
Max Horn
0c28575a72 OSYSTEM: Removed unused getExtraThemeConfig() method (TODO: Implement a new system which allows ports to add/remove stuff from the options dialogs)
svn-id: r34794
2008-10-13 12:38:58 +00:00
Max Horn
95474b048a COMMON: Added a new ObjectPool class, with matching operator new/delete overloads
svn-id: r34785
2008-10-12 22:05:26 +00:00
Max Horn
ad7d753cea Changed Common::Rect doxygen comments to the (Java) style we use elsewhere
svn-id: r34779
2008-10-12 21:47:29 +00:00