aboutsummaryrefslogtreecommitdiff
path: root/common/macresman.h
AgeCommit message (Collapse)Author
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-22COMMON: Update documentation of the MacResManagerMatthew Hoops
svn-id: r55403
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-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-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-09Patch #2901515: HE: Resource Forks on Mac OS XEugene Sandulenko
svn-id: r48984
2010-01-11Move Mac Binary resource loader to common class. Plug tons of memory leaks ↵Eugene Sandulenko
along the way. svn-id: r47258