aboutsummaryrefslogtreecommitdiff
path: root/common/macresman.cpp
AgeCommit message (Collapse)Author
2012-12-13COMMON: Fix potential uninitialized memory usageMatthew Hoops
2012-04-07COMMON: Hopefully fix AppleDouble files with directoriesMatthew Hoops
2012-03-08COMMON: Add an exists function to MacResManagerMatthew Hoops
2011-10-29JANITORIAL: Remove unnecessary semicolonsTorbjörn Andersson
2011-10-07COMMON: Ensure numTypes is set to 0 on closeMatthew Hoops
2011-06-10COMMON: Do not try to read from res forks of non-existant filesMax Horn
2011-06-03COMMON: Access mac res fork via FSNode instead of StdioStreamMax Horn
This fixes linker problems with the unit tests on Mac OS X. it is also "more proper" to use the high-level FSNode API. StdioStream is a (relatively) low-level wrapper intended for use inside of backends only.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05COMMON: Remove convertCrsrCursor()Matthew Hoops
Graphics::MacCursor is its replacement
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warningsEugene Sandulenko
2011-03-06SCUMM: Use the new WinCursor code in SCUMM HEMatthew Hoops
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-02-14COMMON: Make MacResManager::convertCrsrCursor to return a RGB palette.Johannes Schickel
2011-02-04COMMON: Only take the md5 of the resource fork data sectionMatthew Hoops
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code. svn-id: r55764
2011-01-11COMMON: Fix a few space formatting issues.Jordi Vilalta Prat
svn-id: r55200
2010-12-05COMMON: Fix AppleDouble support in the MacResManager (thanks, fuzzie)Matthew Hoops
svn-id: r54775
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-07COMMON: Add const qualifiers and remove Common:: prefix in MacResManager codeMax Horn
svn-id: r54122
2010-11-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2010-09-17COMMON: Extend getting a Mac resource fork resource with a nameMatthew Hoops
Resource names can be the same across types (ie. 'PICT' "Foo" and 'snd ' "Foo"), so this ensures that the right type is chosen in those cases. svn-id: r52756
2010-08-14COMMON: Cleanup MacResManager::convertCrsrCursor a bitMatthew Hoops
It's now a static function since it doesn't require any local variables and is really separate from the resource fork code. Also, actually assigning the keycolor (which was just being ignored). svn-id: r52075
2010-06-21Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)Torbjörn Andersson
svn-id: r50120
2010-05-24Have the MacResManager ignore resources with length 0.Matthew Hoops
svn-id: r49190
2010-05-20Make the MacResManager opening more robust to failed tries and plug its ↵Jordi Vilalta Prat
memory leaks svn-id: r49116
2010-05-18Added getBaseFileName() method and enhanced open() with trying macbinary ↵Eugene Sandulenko
format in plain files svn-id: r49074
2010-05-12Fix mismatched new[]/delete[]Matthew Hoops
svn-id: r49018
2010-05-11Pass by reference instead of value to getResource(String)Matthew Hoops
svn-id: r49008
2010-05-11Add support for getting a resource from the resource fork by name.Matthew Hoops
svn-id: r49004
2010-05-10Add support to the MacResManager and AdvancedDetector to take the md5 of a ↵Matthew Hoops
resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork. svn-id: r48997
2010-05-10Minor fix for using the MacResManager with a regular file; switch ↵Matthew Hoops
MacBinary's data fork to using a SeekableSubReadStream instead of a MemoryReadStream. svn-id: r48995
2010-05-09Patch #2901515: HE: Resource Forks on Mac OS XEugene Sandulenko
svn-id: r48984
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-11Move Mac Binary resource loader to common class. Plug tons of memory leaks ↵Eugene Sandulenko
along the way. svn-id: r47258