aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-23Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵Max Horn
(const); same for Archive::openFile svn-id: r36020
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2009-01-23cleanupMax Horn
svn-id: r36009
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-21Made Common::Stack return refs, thus ensuring that it matches exactly the ↵Max Horn
behavior of FixedStack; added unit tests svn-id: r35974
2009-01-20Whoops it seems the comment used "backslashes" instead of "slashes" in other ↵Johannes Schickel
places too. svn-id: r35949
2009-01-20Fixed typo in comment.Johannes Schickel
svn-id: r35948
2009-01-11Merge in Virtual Keybpard & KeyMapper branch,Eugene Sandulenko
- Merge is perfromed in order to not let rotting the code - Makefile modifications were avoided Stuff to resolve: - Circular dependency of common/vkeybd from graphics/ - Make it compilable (?) - Add some keyboards - Decide on the key bindings svn-id: r35813
2009-01-01Set/unified svn:keywords for all *.h and *.cpp filesMax Horn
svn-id: r35651
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-27Turned FSNode into a ArchiveMember subclass; removed the now obsolete ↵Max Horn
FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h svn-id: r35578
2008-12-27Moved addDirectory from SearchManager to SearchSet; changed several places ↵Max Horn
from using '++it' instead of 'it++' to iterate over a list (this is more efficient) svn-id: r35576
2008-12-27Clarify ZipArchive constructor usageMax Horn
svn-id: r35575
2008-12-25Pushing down some header deps (on common/system.h, mostly)Max Horn
svn-id: r35542
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-12-20Committed slightly modified version of my patch at bug tracker item #2309974 ↵Johannes Schickel
"ALL: */? match path separator in FSDir::listMatchingMembers". svn-id: r35450
2008-12-15cleanupMax Horn
svn-id: r35381
2008-12-08Removed last traces of X11 backend.Johannes Schickel
svn-id: r35287
2008-12-03Get rid of readLine_OLD for goodMax Horn
svn-id: r35229
2008-11-23Turned on MSVC warning 4505 - "Unreferenced local function has been ↵Filippos Karapetis
removed", as it's very useful in finding dead code svn-id: r35160
2008-11-23Re-enabled MSVC warning 4125 - "decimal digits terminates octal escape ↵Filippos Karapetis
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-21Removed FSNode::lookupFileMax Horn
svn-id: r35142
2008-11-21Formatting / Cleanup.Johannes Schickel
svn-id: r35141
2008-11-21refactor inconsistent calls to cacheDirectoryRecursiveWillem Jan Palenstijn
svn-id: r35140
2008-11-21Added ArchiveMember::getDisplayName() method; changed ↵Max Horn
ArchiveMember::getName() to always return a name compatible with Archive::openFile() svn-id: r35139
2008-11-18Fixed documentation.Johannes Schickel
svn-id: r35109
2008-11-15Saving some more bytes of binary size in the advanced detectorMax Horn
svn-id: r35081
2008-11-15Little fix for my last commit.Johannes Schickel
svn-id: r35074
2008-11-15Yet another buffer safetyness fix. (strcpy -> strncpy)Johannes Schickel
svn-id: r35073
2008-11-15Paranoia: Add destination buffer size to Engine::errorString to help ↵Johannes Schickel
avoiding buffer overflows. svn-id: r35072
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-13Fixed compilation with DISABLE_TEXT_CONSOLE.Johannes Schickel
svn-id: r35041
2008-11-13* got rid of CDECLMax Horn
* got rid of scumm_strrev * added DISABLE_TEXT_CONSOLE flag which disables printf, warning, debug (but not error) svn-id: r35038
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