Closed Bug 201868 Opened 23 years ago Closed 21 years ago

Carbonize ASEncoder

Categories

(SeaMonkey :: Build Config, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lordpixel, Assigned: lordpixel)

References

Details

Attachments

(1 file)

Mozilla has a general purpose AppleSingle encoder and decoder in xpinstall/packager/mac/ASEncoder. Now we build mach0/gcc only, we also have several .rsrc files in the tree that are AppleSingle encoded. Working with these is a real pain, because there are no generally avaialble tools to do AppleSingle encoding. Presently the only way to encode is to use MacCVSPro and check the file into CVS (which is not practical as most people don't have a scratch CVS server to play with). Decoding is somewhat easier as /config/asdecode was created to act as a command line decoder. I happened accross the general purpose ASEncode in /xpinstall/packager. This would seem to be a really useful tool for handling our Apple Single needs. Accordingly, I just spend an hour or two Carbonizing it, and have it running on Mac OS X (building CFM/Codewarrior, not gcc (yet, anyway)). I'll attach patches presently
Here are the C++ diffs. In addition I'll need to check in a revised version of ASEncoder.rsrc and ASEncoder.mcp.
Attachment #120383 - Flags: superreview?(sfraser)
Attachment #120383 - Flags: review?(sgehani)
We have asdecode.cpp in mozilla/config. How about making a command-line asencode? It would be more useful, and could be run from makefiles etc.
We have nsAppleSingleEncder.{h,cpp} and nsAppleSingleDecoder.{h,cpp}. I am converting nsAppleSingleDecoder since the XPInstall engine requires it: see bug 202772. I would like to eventually convert nsAppleSingleEncoder as well and include a -DSTANDALONE_ASE option to build a self-test/utility much like I have for the patch to bug 202772 for nsAppleSingleDecoder (builds standalone when -DSTANDALONE_ASD is passed to the compiler or env).
Now that bug 202772 has landed you can build nsAppleSingleDecoder.cpp with -DSTANDALONE_ASD and you'll get a command line utility that takes files/folders and recursively decodes an AppleSingle encoded files.
What is the status of this bug ? Can it land ?
ha ha ha... carbonize ASEncoder, that's funny. how can anything land when it's already dead and burried?
This isn't really used anymore. We use Rez/DeRez instead. That said, there's no real standalone Apple Single or Double encoder or decoder in existance. If those kinds of files were more common, I'd suggest opening a sourceforge project with this code and releasing it independently. Suggest we close this WONTFIX
Product: Browser → Seamonkey
WONTFIXing as suggested.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Attachment #120383 - Flags: superreview?(sfraser_bugs)
Attachment #120383 - Flags: review?(samir_bugzilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: