Commit Graph
12 Commits
Author SHA1 Message Date
Torbjörn Andersson 38b172e8e5 Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)
svn-id: r50120
2010-06-21 19:32:25 +00:00
Matthew Hoops 5ceb896b6b Have the MacResManager ignore resources with length 0.
svn-id: r49190
2010-05-24 16:51:33 +00:00
Jordi Vilalta Prat 474b804e33 Make the MacResManager opening more robust to failed tries and plug its memory leaks
svn-id: r49116
2010-05-20 13:46:18 +00:00
Eugene Sandulenko 15986b81c2 Added getBaseFileName() method and enhanced open() with trying macbinary format in plain files
svn-id: r49074
2010-05-18 10:39:08 +00:00
Matthew Hoops fab2e2a8c4 Fix mismatched new[]/delete[]
svn-id: r49018
2010-05-12 20:22:10 +00:00
Matthew Hoops 8b1cb63de3 Pass by reference instead of value to getResource(String)
svn-id: r49008
2010-05-11 19:13:24 +00:00
Matthew Hoops 59476e44b9 Add support for getting a resource from the resource fork by name.
svn-id: r49004
2010-05-11 15:38:21 +00:00
Matthew Hoops b9813063ad Add support to the MacResManager and AdvancedDetector to take the md5 of a 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-10 18:23:54 +00:00
Matthew Hoops cdf30ecc5a Minor fix for using the MacResManager with a regular file; switch MacBinary's data fork to using a SeekableSubReadStream instead of a MemoryReadStream.
svn-id: r48995
2010-05-10 00:50:37 +00:00
Eugene Sandulenko 57f2425b28 Patch #2901515: HE: Resource Forks on Mac OS X
svn-id: r48984
2010-05-09 18:27:56 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Eugene Sandulenko 80ee1de8e4 Move Mac Binary resource loader to common class. Plug tons of memory leaks along the way.
svn-id: r47258
2010-01-11 20:41:07 +00:00