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

@ -1,7 +1,7 @@
"""Suite Mozilla suite: Experimental Mozilla suite
Level 1, version 1
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -20,7 +20,7 @@ class Mozilla_suite_Events:
def Read_help_file(self, _object, _attributes={}, **_arguments):
"""Read help file: Reads in the help file (file should be in the help file format)
Required argument: undocumented, typecode 'alis'
Keyword argument with_index: Index to the help file. Defaults to ŒDEFAULT¹)
Keyword argument with_index: Index to the help file. Defaults to DEFAULTÕ)
Keyword argument search_text: Optional text to search for
Keyword argument _attributes: AppleEvent attribute dictionary
"""
@ -88,7 +88,7 @@ class Mozilla_suite_Events:
def Get_workingURL(self, _no_object=None, _attributes={}, **_arguments):
"""Get workingURL: Get the path to the running application in URL format. This will allow a script to construct a relative URL
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: Will return text of the from ³FILE://foo/applicationname²
Returns: Will return text of the from FILE://foo/applicationname
"""
_code = 'MOSS'
_subcode = 'wurl'
@ -127,7 +127,7 @@ class Mozilla_suite_Events:
def Get_Import_Data(self, _no_object=None, _attributes={}, **_arguments):
"""Get Import Data: Returns a structure containing information that is of use to an external module in importing data from an external mail application into Communicator.
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: vRefNum and dirID of profile folder (2+4 bytes), vRefNum and DirID of the local mail folder (2+4 bytes), window type of front window (0 if none, ŒBrwz¹ browser, ŒAddr¹ addressbook, ŒMesg¹ messenger, etc., 4 bytes)
Returns: vRefNum and dirID of profile folder (2+4 bytes), vRefNum and DirID of the local mail folder (2+4 bytes), window type of front window (0 if none, BrwzÕ browser, AddrÕ addressbook, MesgÕ messenger, etc., 4 bytes)
"""
_code = 'MOSS'
_subcode = 'Impt'
@ -147,7 +147,7 @@ class Mozilla_suite_Events:
def Get_Profile_Name(self, _no_object=None, _attributes={}, **_arguments):
"""Get Profile Name: Get the current User Profile
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: Name of the current profile, like ³Joe Bloggs². This is the name of the profile folder in the Netscape Users folder.
Returns: Name of the current profile, like Joe Bloggs. This is the name of the profile folder in the Netscape Users folder.
"""
_code = 'MOSS'
_subcode = 'upro'

View file

@ -1,7 +1,7 @@
"""Suite PowerPlant:
Level 0, version 0
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -42,7 +42,7 @@ class PowerPlant_Events:
}
def SwitchTellTarget(self, _no_object=None, _attributes={}, **_arguments):
"""SwitchTellTarget: Makes an object the ³focus² of AppleEvents
"""SwitchTellTarget: Makes an object the focus” of AppleEvents
Keyword argument to: reference to new focus of AppleEvents
Keyword argument _attributes: AppleEvent attribute dictionary
"""

View file

@ -1,7 +1,7 @@
"""Suite Required suite:
Level 0, version 0
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""

View file

@ -1,7 +1,7 @@
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -79,7 +79,7 @@ class Standard_Suite_Events:
}
def set(self, _object, _attributes={}, **_arguments):
"""set: Set an object¹s data
"""set: Set an objectÕs data
Required argument: the object to change
Keyword argument to: the new value
Keyword argument _attributes: AppleEvent attribute dictionary
@ -104,7 +104,7 @@ class application(aetools.ComponentItem):
"""application - An application program """
want = 'capp'
class alert_application(aetools.NProperty):
"""alert application - Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. I¹d like to conform to the standard. """
"""alert application - Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. IÕd like to conform to the standard. """
which = 'ALAP'
want = 'type'
class kiosk_mode(aetools.NProperty):
@ -169,7 +169,7 @@ class URL(aetools.NProperty):
which = 'curl'
want = 'TEXT'
class unique_ID(aetools.NProperty):
"""unique ID - Window¹s unique ID (a bridge between WWW! suite window id¹s and standard AE windows) """
"""unique ID - WindowÕs unique ID (a bridge between WWW! suite window idÕs and standard AE windows) """
which = 'wiid'
want = 'long'
class busy(aetools.NProperty):

View file

@ -1,9 +1,10 @@
"""Suite Standard URL suite: Mac URL standard, supported by many apps
Level 1, version 1
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -22,6 +23,7 @@ class Standard_URL_suite_Events:
def GetURL(self, _object, _attributes={}, **_arguments):
"""GetURL: Loads the URL (optionally to disk)
Required argument: The url
Keyword argument to: file the URL should be loaded into
Keyword argument inside: Window the URL should be loaded to

View file

@ -1,7 +1,7 @@
"""Suite Text:
Level 0, version 0
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -42,7 +42,7 @@ class justbehind(aetools.NProperty):
# element 'stys' as ['indx', 'name']
class styleset(aetools.ComponentItem):
"""styleset - A style ³set² that may be used repeatedly in text objects. """
"""styleset - A style set” that may be used repeatedly in text objects. """
want = 'stys'
class name(aetools.NProperty):
"""name - style name """

View file

@ -1,7 +1,7 @@
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1
Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -212,7 +212,7 @@ class WorldWideWeb_suite_Events:
return _arguments['----']
def register_URL_echo(self, _object=None, _attributes={}, **_arguments):
"""register URL echo: Registers the ³echo² application. Each download from now on will be echoed to this application.
"""register URL echo: Registers the echo” application. Each download from now on will be echoed to this application.
Required argument: Application signature
Keyword argument _attributes: AppleEvent attribute dictionary
"""
@ -257,7 +257,7 @@ class WorldWideWeb_suite_Events:
}
def register_viewer(self, _object, _attributes={}, **_arguments):
"""register viewer: Registers an application as a Œspecial¹ viewer for this MIME type. The application will be launched with ViewDoc events
"""register viewer: Registers an application as a •specialÕ viewer for this MIME type. The application will be launched with ViewDoc events
Required argument: Application sig
Keyword argument MIME_type: MIME type viewer is registering for
Keyword argument with_file_type: Mac file type for the downloaded files
@ -310,9 +310,9 @@ class WorldWideWeb_suite_Events:
}
def register_protocol(self, _object=None, _attributes={}, **_arguments):
"""register protocol: Registers application as a ³handler² for this protocol with a given prefix. The handler will receive ³OpenURL², or if that fails, ³GetURL² event.
"""register protocol: Registers application as a handler” for this protocol with a given prefix. The handler will receive OpenURL”, or if that fails, GetURL” event.
Required argument: Application sig
Keyword argument for_protocol: protocol prefix: ³finger:², ³file²,
Keyword argument for_protocol: protocol prefix: finger:, file,
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: TRUE if registration has been successful
"""
@ -336,7 +336,7 @@ class WorldWideWeb_suite_Events:
}
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
"""unregister protocol: reverses the effects of ³register protocol²
"""unregister protocol: reverses the effects of register protocol”
Required argument: Application sig.
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols
Keyword argument _attributes: AppleEvent attribute dictionary

View file

@ -1,5 +1,5 @@
"""
Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator<EFBFBD>-map:Netscape Communicator<6F>
Package generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
Resource aete resid 0
"""
import aetools