mirror of
https://github.com/python/cpython.git
synced 2025-11-12 03:22:06 +00:00
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:
parent
dfebe90c4c
commit
6f84ed5afc
48 changed files with 234 additions and 232 deletions
|
|
@ -275,7 +275,7 @@ def error(self, _object=None, _attributes={}, **_arguments):
|
|||
}
|
||||
|
||||
def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
|
||||
"""Call€subroutine: A subroutine call
|
||||
"""Call‚subroutine: A subroutine call
|
||||
Required argument: anything
|
||||
Keyword argument at: a preposition
|
||||
Keyword argument _from: a preposition
|
||||
|
|
@ -347,7 +347,7 @@ def _3d_(self, _object, _attributes={}, **_arguments):
|
|||
return _arguments['----']
|
||||
|
||||
def _ad_(self, _object, _attributes={}, **_arguments):
|
||||
"""‚: Inequality
|
||||
""": Inequality
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
|
@ -536,7 +536,7 @@ def _3e_(self, _object, _attributes={}, **_arguments):
|
|||
return _arguments['----']
|
||||
|
||||
def _b3_(self, _object, _attributes={}, **_arguments):
|
||||
"""„: Greater than or equal to
|
||||
"""³: Greater than or equal to
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
|
@ -578,7 +578,7 @@ def _3c_(self, _object, _attributes={}, **_arguments):
|
|||
return _arguments['----']
|
||||
|
||||
def _b2_(self, _object, _attributes={}, **_arguments):
|
||||
"""¾: Less than or equal to
|
||||
"""²: Less than or equal to
|
||||
Required argument: an AE object reference
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: anything
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ class index(aetools.NProperty):
|
|||
which = 'pidx'
|
||||
want = 'long'
|
||||
class mode(aetools.NProperty):
|
||||
"""mode - The document¹s open mode"""
|
||||
"""mode - The documentÕs open mode"""
|
||||
which = 'Mode'
|
||||
want = 'Mode'
|
||||
class modified(aetools.NProperty):
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ def eject(self, _object=None, _attributes={}, **_arguments):
|
|||
|
||||
def empty(self, _object=None, _attributes={}, **_arguments):
|
||||
"""empty: Empty the trash
|
||||
Required argument: ³empty² and ³empty trash² both do the same thing
|
||||
Required argument: –empty” and –empty trash” both do the same thing
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
|
|
@ -311,7 +311,7 @@ class accessory_suitcase(aetools.ComponentItem):
|
|||
accessory_suitcases = accessory_suitcase
|
||||
|
||||
class alias_file(aetools.ComponentItem):
|
||||
"""alias file - An alias file (created with ³Make Alias²)"""
|
||||
"""alias file - An alias file (created with –Make Alias”)"""
|
||||
want = 'alia'
|
||||
class original_item(aetools.NProperty):
|
||||
"""original item - the original item pointed to by the alias"""
|
||||
|
|
@ -324,11 +324,11 @@ class application(aetools.ComponentItem):
|
|||
"""application - An application program"""
|
||||
want = 'capp'
|
||||
class about_this_macintosh(aetools.NProperty):
|
||||
"""about this macintosh - the ³About this Macintosh² dialog, and the list of running processes displayed in it"""
|
||||
"""about this macintosh - the –About this Macintosh” dialog, and the list of running processes displayed in it"""
|
||||
which = 'abbx'
|
||||
want = 'obj '
|
||||
class apple_menu_items_folder(aetools.NProperty):
|
||||
"""apple menu items folder - the special folder ³Apple Menu Items,² the contents of which appear in the Apple menu"""
|
||||
"""apple menu items folder - the special folder –Apple Menu Items,” the contents of which appear in the Apple menu"""
|
||||
which = 'amnu'
|
||||
want = 'obj '
|
||||
class clipboard(aetools.NProperty):
|
||||
|
|
@ -336,7 +336,7 @@ class clipboard(aetools.NProperty):
|
|||
which = 'pcli'
|
||||
want = 'obj '
|
||||
class control_panels_folder(aetools.NProperty):
|
||||
"""control panels folder - the special folder ³Control Panels²"""
|
||||
"""control panels folder - the special folder –Control Panels”"""
|
||||
which = 'ctrl'
|
||||
want = 'obj '
|
||||
class desktop(aetools.NProperty):
|
||||
|
|
@ -344,7 +344,7 @@ class desktop(aetools.NProperty):
|
|||
which = 'desk'
|
||||
want = 'obj '
|
||||
class extensions_folder(aetools.NProperty):
|
||||
"""extensions folder - the special folder ³Extensions²"""
|
||||
"""extensions folder - the special folder –Extensions”"""
|
||||
which = 'extn'
|
||||
want = 'obj '
|
||||
class file_sharing(aetools.NProperty):
|
||||
|
|
@ -352,7 +352,7 @@ class file_sharing(aetools.NProperty):
|
|||
which = 'fshr'
|
||||
want = 'bool'
|
||||
class fonts_folder(aetools.NProperty):
|
||||
"""fonts folder - the special folder ³Fonts²"""
|
||||
"""fonts folder - the special folder –Fonts”"""
|
||||
which = 'ffnt'
|
||||
want = 'obj '
|
||||
class frontmost(aetools.NProperty):
|
||||
|
|
@ -360,7 +360,7 @@ class frontmost(aetools.NProperty):
|
|||
which = 'pisf'
|
||||
want = 'bool'
|
||||
class insertion_location(aetools.NProperty):
|
||||
"""insertion location - the container that a new folder would appear in if ³New Folder² was selected"""
|
||||
"""insertion location - the container that a new folder would appear in if –New Folder” was selected"""
|
||||
which = 'pins'
|
||||
want = 'obj '
|
||||
class largest_free_block(aetools.NProperty):
|
||||
|
|
@ -368,7 +368,7 @@ class largest_free_block(aetools.NProperty):
|
|||
which = 'mfre'
|
||||
want = 'long'
|
||||
class preferences_folder(aetools.NProperty):
|
||||
"""preferences folder - the special folder ³Preferences²"""
|
||||
"""preferences folder - the special folder –Preferences”"""
|
||||
which = 'pref'
|
||||
want = 'obj '
|
||||
class product_version(aetools.NProperty):
|
||||
|
|
@ -384,15 +384,15 @@ class sharing_starting_up(aetools.NProperty):
|
|||
which = 'fsup'
|
||||
want = 'bool'
|
||||
class shortcuts(aetools.NProperty):
|
||||
"""shortcuts - the ³Finder Shortcuts² item in the Finder's help menu"""
|
||||
"""shortcuts - the –Finder Shortcuts” item in the Finder's help menu"""
|
||||
which = 'scut'
|
||||
want = 'obj '
|
||||
class shutdown_items_folder(aetools.NProperty):
|
||||
"""shutdown items folder - the special folder ³Shutdown Items²"""
|
||||
"""shutdown items folder - the special folder –Shutdown Items”"""
|
||||
which = 'shdf'
|
||||
want = 'obj '
|
||||
class startup_items_folder(aetools.NProperty):
|
||||
"""startup items folder - the special folder ³Startup Items²"""
|
||||
"""startup items folder - the special folder –Startup Items”"""
|
||||
which = 'strt'
|
||||
want = 'obj '
|
||||
class system_folder(aetools.NProperty):
|
||||
|
|
@ -400,7 +400,7 @@ class system_folder(aetools.NProperty):
|
|||
which = 'macs'
|
||||
want = 'obj '
|
||||
class temporary_items_folder(aetools.NProperty):
|
||||
"""temporary items folder - the special folder ³Temporary Items² (invisible)"""
|
||||
"""temporary items folder - the special folder –Temporary Items” (invisible)"""
|
||||
which = 'temp'
|
||||
want = 'obj '
|
||||
class version(aetools.NProperty):
|
||||
|
|
@ -562,7 +562,7 @@ class item(aetools.NProperty):
|
|||
container_windows = container_window
|
||||
|
||||
class content_space(aetools.ComponentItem):
|
||||
"""content space - All windows, including the desktop window (³Window² does not include the desktop window)"""
|
||||
"""content space - All windows, including the desktop window (–Window” does not include the desktop window)"""
|
||||
want = 'dwnd'
|
||||
|
||||
content_spaces = content_space
|
||||
|
|
@ -632,7 +632,7 @@ class desk_accessory_file(aetools.ComponentItem):
|
|||
desk_accessory_files = desk_accessory_file
|
||||
|
||||
class desktop_2d_object(aetools.ComponentItem):
|
||||
"""desktop-object - Desktop-object is the class of the ³desktop² object"""
|
||||
"""desktop-object - Desktop-object is the class of the –desktop” object"""
|
||||
want = 'cdsk'
|
||||
class startup_disk(aetools.NProperty):
|
||||
"""startup disk - the startup disk"""
|
||||
|
|
@ -720,12 +720,12 @@ class locked(aetools.NProperty):
|
|||
"""locked - Is the file locked?"""
|
||||
which = 'islk'
|
||||
want = 'bool'
|
||||
# repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
|
||||
# repeated property product_version the version of the product (visible at the top of the –Get Info” dialog)
|
||||
class stationery(aetools.NProperty):
|
||||
"""stationery - Is the item a stationery pad?"""
|
||||
which = 'pspd'
|
||||
want = 'bool'
|
||||
# repeated property version the version of the file (visible at the bottom of the ³Get Info² dialog)
|
||||
# repeated property version the version of the file (visible at the bottom of the –Get Info” dialog)
|
||||
|
||||
files = file
|
||||
|
||||
|
|
@ -790,7 +790,7 @@ class position(aetools.NProperty):
|
|||
groups = group
|
||||
|
||||
class information_window(aetools.ComponentItem):
|
||||
"""information window - An information window (opened by ³Get Infoв)"""
|
||||
"""information window - An information window (opened by –Get Infoƒ”)"""
|
||||
want = 'iwnd'
|
||||
class comment(aetools.NProperty):
|
||||
"""comment - the comment"""
|
||||
|
|
@ -813,16 +813,16 @@ class physical_size(aetools.NProperty):
|
|||
"""physical size - the actual space used by the item on disk"""
|
||||
which = 'phys'
|
||||
want = 'long'
|
||||
# repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
|
||||
# repeated property product_version the version of the product (visible at the top of the –Get Info” dialog)
|
||||
class size(aetools.NProperty):
|
||||
"""size - the logical size of the item"""
|
||||
which = 'ptsz'
|
||||
want = 'long'
|
||||
# repeated property stationery Is the item a stationery pad?
|
||||
# repeated property suggested_partition_size the memory size that the developer recommends that the application should be launched with
|
||||
# repeated property version the version of the file (visible at the bottom of the ³Get Info² dialog)
|
||||
# repeated property version the version of the file (visible at the bottom of the –Get Info” dialog)
|
||||
class warn_before_emptying(aetools.NProperty):
|
||||
"""warn before emptying - Is a dialog displayed when ³Empty trashв is selected?"""
|
||||
"""warn before emptying - Is a dialog displayed when –Empty trashƒ” is selected?"""
|
||||
which = 'warn'
|
||||
want = 'bool'
|
||||
|
||||
|
|
@ -832,7 +832,7 @@ class item(aetools.ComponentItem):
|
|||
"""item - An item"""
|
||||
want = 'cobj'
|
||||
# repeated property bounds the bounding rectangle of the item
|
||||
# repeated property comment the comment displayed in the ³Get Info² window of the item
|
||||
# repeated property comment the comment displayed in the –Get Info” window of the item
|
||||
# repeated property container the container of this item
|
||||
class content_space(aetools.NProperty):
|
||||
"""content space - the window that would open if the item was opened"""
|
||||
|
|
@ -978,7 +978,7 @@ class see_folders(aetools.NProperty):
|
|||
want = 'bool'
|
||||
|
||||
class sharing_window(aetools.ComponentItem):
|
||||
"""sharing window - A sharing window (opened by ³Sharingв)"""
|
||||
"""sharing window - A sharing window (opened by –Sharingƒ”)"""
|
||||
want = 'swnd'
|
||||
# repeated property container the container that this window was opened from
|
||||
# repeated property exported Is this container a share point or inside a share point?
|
||||
|
|
@ -1020,9 +1020,9 @@ class suitcase(aetools.ComponentItem):
|
|||
suitcases = suitcase
|
||||
|
||||
class trash_2d_object(aetools.ComponentItem):
|
||||
"""trash-object - Trash-object is the class of the ³trash² object"""
|
||||
"""trash-object - Trash-object is the class of the –trash” object"""
|
||||
want = 'ctrs'
|
||||
# repeated property warn_before_emptying Is a dialog displayed when ³Empty trashв is selected?
|
||||
# repeated property warn_before_emptying Is a dialog displayed when –Empty trashƒ” is selected?
|
||||
# element 'dsut' as ['indx', 'name']
|
||||
# element 'alia' as ['indx', 'name']
|
||||
# element 'appf' as ['indx', 'name']
|
||||
|
|
|
|||
|
|
@ -791,7 +791,7 @@ def Get_member_function_names(self, _object, _attributes={}, **_arguments):
|
|||
|
||||
|
||||
class Access_Paths(aetools.ComponentItem):
|
||||
"""Access Paths - Contains the definitions of a project¹s access (search) paths."""
|
||||
"""Access Paths - Contains the definitions of a projectÕs access (search) paths."""
|
||||
want = 'PATH'
|
||||
class User_Paths(aetools.NProperty):
|
||||
"""User Paths - To add an access path for the source files."""
|
||||
|
|
@ -814,7 +814,7 @@ class Flash_delay(aetools.NProperty):
|
|||
which = 'ED01'
|
||||
want = 'long'
|
||||
class Dynamic_scroll(aetools.NProperty):
|
||||
"""Dynamic scroll - Display a window¹s contents as you move the scroll box."""
|
||||
"""Dynamic scroll - Display a windowÕs contents as you move the scroll box."""
|
||||
which = 'ED02'
|
||||
want = 'bool'
|
||||
class Balance(aetools.NProperty):
|
||||
|
|
@ -1111,14 +1111,14 @@ class filetype(aetools.NProperty):
|
|||
"""filetype - What kind of file is this ?"""
|
||||
which = 'SrcT'
|
||||
want = 'SrcT'
|
||||
# repeated property name The file¹s name
|
||||
# repeated property disk_file The file¹s location on disk
|
||||
# repeated property name The fileÕs name
|
||||
# repeated property disk_file The fileÕs location on disk
|
||||
class codesize(aetools.NProperty):
|
||||
"""codesize - The size of this file¹s code."""
|
||||
"""codesize - The size of this fileÕs code."""
|
||||
which = 'CSiz'
|
||||
want = 'long'
|
||||
class datasize(aetools.NProperty):
|
||||
"""datasize - The size of this file¹s data."""
|
||||
"""datasize - The size of this fileÕs data."""
|
||||
which = 'DSiz'
|
||||
want = 'long'
|
||||
class up_to_date(aetools.NProperty):
|
||||
|
|
@ -1172,7 +1172,7 @@ class system_heap(aetools.NProperty):
|
|||
want = 'bool'
|
||||
|
||||
class Target_Settings(aetools.ComponentItem):
|
||||
"""Target Settings - Contains the definitions of a project¹s target."""
|
||||
"""Target Settings - Contains the definitions of a projectÕs target."""
|
||||
want = 'TARG'
|
||||
class Linker(aetools.NProperty):
|
||||
"""Linker - The name of the current linker."""
|
||||
|
|
@ -1624,8 +1624,8 @@ class Local_Root(aetools.NProperty):
|
|||
|
||||
_Enum_PPrm = {
|
||||
'absolute' : 'Abso', # An absolute path name, including volume name.
|
||||
'project_relative' : 'PRel', # A path relative to the current project¹s folder.
|
||||
'shell_relative' : 'SRel', # A path relative to the CodeWarrior<EFBFBD> folder.
|
||||
'project_relative' : 'PRel', # A path relative to the current projectÕs folder.
|
||||
'shell_relative' : 'SRel', # A path relative to the CodeWarriorŽ folder.
|
||||
'system_relative' : 'YRel', # A path relative to the system folder
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ def class_info(self, _object=None, _attributes={}, **_arguments):
|
|||
Required argument: the object class about which information is requested
|
||||
Keyword argument _in: the human language and script system in which to return information
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: a record containing the object¹s properties and elements
|
||||
Returns: a record containing the objectÕs properties and elements
|
||||
"""
|
||||
_code = 'core'
|
||||
_subcode = 'qobj'
|
||||
|
|
@ -615,11 +615,11 @@ class _3d_(aetools.NComparison):
|
|||
class _3e_(aetools.NComparison):
|
||||
"""> - Greater than"""
|
||||
class _b3_(aetools.NComparison):
|
||||
"""„ - Greater than or equal to"""
|
||||
"""³ - Greater than or equal to"""
|
||||
class _3c_(aetools.NComparison):
|
||||
"""< - Less than"""
|
||||
class _b2_(aetools.NComparison):
|
||||
"""¾ - Less than or equal to"""
|
||||
"""² - Less than or equal to"""
|
||||
_Enum_savo = {
|
||||
'yes' : 'yes ', # Save objects now
|
||||
'no' : 'no ', # Do not save objects
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Programma's:Netscape Navigator<EFBFBD> Folder:Netscape Navigator<6F> 3.01
|
||||
Generated from flap:Programma's:Netscape NavigatorŽ Folder:Netscape NavigatorŽ 3.01
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
|
||||
Level 1, version 1
|
||||
|
||||
Generated from flap:Programma's:Netscape Navigator<EFBFBD> Folder:Netscape Navigator<6F> 3.01
|
||||
Generated from flap:Programma's:Netscape NavigatorŽ Folder:Netscape NavigatorŽ 3.01
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ def get_window_info(self, _object=None, _attributes={}, **_arguments):
|
|||
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 @@ def unregister_URL_echo(self, _object, _attributes={}, **_arguments):
|
|||
}
|
||||
|
||||
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 @@ def unregister_viewer(self, _object, _attributes={}, **_arguments):
|
|||
}
|
||||
|
||||
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 @@ def register_protocol(self, _object=None, _attributes={}, **_arguments):
|
|||
}
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue