[feature][dogfood] Tool to AppleSingle encode and decode callable from AppleScript

VERIFIED FIXED in M11

Status

defect
P3
normal
VERIFIED FIXED
20 years ago
11 years ago

People

(Reporter: samir_bugzilla, Assigned: samir_bugzilla)

Tracking

Trunk
PowerPC
Mac System 8.5

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [PDT+])

Assignee

Description

20 years ago
We have the nsAppleSingleDecoder functionality but need a new
nsAppleSingleEncoder. Also, we need an application that will accept a file to
either encode or decode per run-time user specification. This tool should have
two interfaces:

1> GUI: simple File|ASEncode and File|ASDecode menu items that pop up file
selection dialogs and encode or decode the file selected

2> AppleScript: the application needs to be scriptable (and time permitting
recordable) from a script component in order to encode and decode specified
files

Time permitting the following functionality should be implemented and separate
bugs filed:

1> Alias resolution of file specs provided by the AppleScript

2> Accept a folder as a parameter and in "batch mode" AppleSingle encode or
decode all files in arbitrarily nested folders

[This will be used by the Mac installer and xpi automation.]
Assignee

Updated

20 years ago
Status: NEW → ASSIGNED
Target Milestone: M11
Assignee

Comment 1

20 years ago
I have written the tool: ASEncoder (not to be read "ass encoder") and
implemented the GUI interface. The AppleScript interface remains to be written.
It encodes and decodes. Once the AppleScript support has been added I will check
it in to mozilla/xpinstall/packager/mac/ASEncoder/.
Assignee

Comment 2

20 years ago
Build available for verification:
http://dolfin/ASEncoder/builds/1999101921/ASEncoder

The application is in AppleSingle format encoded by the debug build. Can we say
"d o g f o o d" :o) ?

Updated

20 years ago
Whiteboard: [PDT+]

Comment 3

20 years ago
Jevering said "this works on windows, so PDT-" :-) but he was overruled by the
sane remainder of the PDT.
Assignee

Updated

20 years ago
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee

Comment 4

20 years ago
I have added AppleScript support to ASEncoder. I have demonstrated using the
ASEncoder from AppleScript and from its GUI to jj. He had a few suggestions
which will manifest as new bugs. Per this bug the feature is implemented, hence,
marking fixed. A new build has been delivered to:
http://dolfin/ASEncoder/builds/1999102113/ASEncoder.sea.bin

You can find a demo AppleScript documenting the usage of ASEncoder at (tested on
MacOS 8.6; needs tweaking on older versions (< 1.3.7) of AppleScript):
http://dolfin/ASEncoder/builds/1999102113/ASEncoderUsage.script

Documentation is also available by viewing the app through any script editor's
"dictionary viewer".

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 5

20 years ago
was able to ASencode and ASdecode files

Comment 6

20 years ago
Bulk changing all JAR Installation component bugs to Installer: XPI Packages
Product: Browser → Seamonkey

Updated

11 years ago
Component: Installer: XPI Packages → Installer
QA Contact: agracebush → general
You need to log in before you can comment on or make changes to this bug.