Fixed macroman<->latin1 conversion. Some chars don't

exist in latin1, but at least the roundtrip results in the
same macroman characters.
This commit is contained in:
Jack Jansen 2001-05-17 12:45:13 +00:00
parent dfebe90c4c
commit 6f84ed5afc
48 changed files with 234 additions and 232 deletions

View file

@ -24,7 +24,7 @@ class Special_Events_Events:
Required argument: a reference to the disk image to be mounted
Keyword argument access_mode: the access mode for mounted volume (default is "any", i.e. best possible)
Keyword argument checksum_verification: Verify the checksum before mounting?
Keyword argument signature_verification: Verify the DigiSign<EFBFBD> signature before mounting?
Keyword argument signature_verification: Verify the DigiSignŽ signature before mounting?
Keyword argument RAM_caching: Cache the disk image in RAM? (if omitted, don't cache)
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: a reference to mounted disk
@ -57,7 +57,7 @@ class Special_Events_Events:
"""execute DiskScript: Executes a Disk Copy-specific DiskScript
Required argument: a reference to the DiskScript to execute
Keyword argument checksum_verification: Should checksums be verified when mounting images referenced in the DiskScript?
Keyword argument signature_verification: Should the DigiSign<EFBFBD> signature of the DiskScript and the images it references be verified?
Keyword argument signature_verification: Should the DigiSignŽ signature of the DiskScript and the images it references be verified?
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'ddsk'
@ -158,10 +158,10 @@ class Special_Events_Events:
return _arguments['----']
def verify_signature(self, _object, _attributes={}, **_arguments):
"""verify signature: Verify the DigiSign<EFBFBD> signature for a Disk Copy document
"""verify signature: Verify the DigiSignŽ signature for a Disk Copy document
Required argument: the disk image to be verified
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: Is the DigiSign<EFBFBD> signature valid?
Returns: Is the DigiSignŽ signature valid?
"""
_code = 'ddsk'
_subcode = 'Vsig'
@ -183,7 +183,7 @@ class Special_Events_Events:
}
def sign_image(self, _object, _attributes={}, **_arguments):
"""sign image: Add a DigiSign<EFBFBD> signature to a Disk Copy document
"""sign image: Add a DigiSignŽ signature to a Disk Copy document
Required argument: the disk image to be signed
Keyword argument using_signer: a reference to signer file to use
Keyword argument _attributes: AppleEvent attribute dictionary
@ -213,7 +213,7 @@ class Special_Events_Events:
def create_a_floppy_from(self, _object, _attributes={}, **_arguments):
"""create a floppy from: create a floppy disk from a Disk Copy document
Required argument: the disk image to make a floppy from
Keyword argument signature_verification: Should the DigiSign<EFBFBD> signature be verified before creating a floppy disk?
Keyword argument signature_verification: Should the DigiSignŽ signature be verified before creating a floppy disk?
Keyword argument erase_confirmation: Should the user be asked to confirm the erasure of the previous contents of floppy disks?
Keyword argument make_multiple_floppies: Should the user be prompted to create multiple floppy disks?
Keyword argument _attributes: AppleEvent attribute dictionary
@ -241,7 +241,7 @@ class Special_Events_Events:
}
def check_image(self, _object, _attributes={}, **_arguments):
"""check image: Check the disk image¹s internal data structures for any inconsistencies. Works on NDIF, Disk Copy 4.2, DART<52>, or DiskSet images.
"""check image: Check the disk imageÕs internal data structures for any inconsistencies. Works on NDIF, Disk Copy 4.2, DARTŽ, or DiskSet images.
Required argument: the disk image to be verified
Keyword argument details: Should the disk image details be displayed?
Keyword argument _attributes: AppleEvent attribute dictionary
@ -313,7 +313,7 @@ class Special_Events_Events:
Keyword argument launching_document: the path to a document to open
Keyword argument version_string: sets the 'vers' 1 resource of the self-mounting image
Keyword argument checksum_verification: Should the checksum of the source images be verified before creating the SMI?
Keyword argument signature_verification: Should the DigiSign<EFBFBD> signature of the source images be verified before creating the SMI?
Keyword argument signature_verification: Should the DigiSignŽ signature of the source images be verified before creating the SMI?
Keyword argument image_signing: Should the SMI be given a digital signature when it is created?
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: a reference to the self-mounting image created

View file

@ -30,7 +30,7 @@ class Standard_Suite_Events:
Keyword argument _in: the target object
Keyword argument using_format: the format for the target
Keyword argument checksum_verification: Should the checksum be verified before saving?
Keyword argument signature_verification: Should the DigiSign<EFBFBD> signature be verified before saving?
Keyword argument signature_verification: Should the DigiSignŽ signature be verified before saving?
Keyword argument image_signing: Should the image be signed?
Keyword argument leave_image_mounted: Should the image be mounted after saving?
Keyword argument percent_free_space: percent free space to reserve (for image folder operation, 0-255%)
@ -258,7 +258,7 @@ class file_format(aetools.NProperty):
which = 'Ifmt'
want = 'TEXT'
class signed(aetools.NProperty):
"""signed - Does the disk image have a DigiSign<EFBFBD> signature? """
"""signed - Does the disk image have a DigiSignŽ signature? """
which = 'Isin'
want = 'bool'
class compressed(aetools.NProperty):
@ -384,7 +384,7 @@ Save_reply_record._propdict = {
Save_reply_record._elemdict = {
}
_Enum_UIAc = {
'never_interact' : 'eNvr', # Don¹t allow any interaction at all
'never_interact' : 'eNvr', # DonÕt allow any interaction at all
'interact_with_self' : 'eInS', # Only allow interaction from internal events
'interact_with_local' : 'eInL', # Allow interaction from any event originating on this machine
'interact_with_all' : 'eInA', # Allow interaction from network events
@ -399,7 +399,7 @@ _Enum_SvAs = {
_Enum_rcpT = {
'block_disk_copy' : 'cpBl', # block-by-block disk-level copy
'files_and_file_ID_copy' : 'cpID', # all files including desktop databases and file ID¹s
'files_and_file_ID_copy' : 'cpID', # all files including desktop databases and file IDÕs
'files_and_desktop_info' : 'cpDT', # all files and most desktop information
'files_only' : 'cpFI', # all files but no desktop information
'disk_image_conversion' : 'cpCV', # disk image format conversion