Quote
Originally posted by DrRalph:
**Excellent! There are a couple of 'features' in the ResEdit API that I'd love to be able to modify, as long as it doesn't wreck the stability of ResKnife in anyway.
When things are settled, as I said on the Nova board, let's talk then.
Thanks
DrRalph
**
The API I have in place in ResKnife right now has grown out of a collaboration with Uli Kusterer (who was writing Resurrection). He has, however, put that project on ice, probably for ever. Although I do not implement the ResEdit API, I did toy with the idea of creating a shim through to the nearest equivalent, and even looked seriously at supporting RSSC editors, but it proved both to be too much of a hassle and limited what I could do with Carbon & OS X. As such the API has remained internal, being extended as I see fit and on a need-it-now basis. Having another person to comment on it would be very useful.
The whole project is documented using HeaderDoc, so I can generate documentation whenever you request it (note, this is only for the Classic/Carbon version).
Regarding stability, the Cocoa version has the folowing known bugs:
- Does not ask to save on Quit
- Does not check if resource type is exactly four bytes long (it's an NSString)
- Has no editors yet (I've just started on it!) nor an API. I have looked at CFPlugin, but it's horrible! Where's (NSPlugin loadPlugInNamed:@"Hex Editor" owner:self) when you want it?
The Carbon version has the following bugs:
- I'm not matching every file open with a close, as such, when you come to save, FSpExchangeFiles() swaps the files but I then cannot delete the old one!
- The template editor it only partly complete.
- Crashes occasionally for no known reason, eek! :eek:
- Lots of other things I can't remember right now.
I updated the Version History of my (url="http://"http://nickshanks.com/resknife/")ResKnife page(/url) with some other bugs in my current builds.
When you're ready to chat (like, after the rush has died down), just email me.
------------------
Nicholas Shanks
Author of HexEdit and ResKnife:
Available at (url="http://"http://nickshanks.com/mac/")nickshanks.com(/url)