aboutsummaryrefslogtreecommitdiff
path: root/common/macresman.cpp
AgeCommit message (Collapse)Author
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