diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-05-17 12:45:13 (GMT) |
commit | 6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5 (patch) | |
tree | 68fa306974cc05de44d5c5c07ba62a739db3aa72 | |
parent | dfebe90c4c04a7a36e4542907118ddce97085868 (diff) | |
download | cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.zip cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.gz cpython-6f84ed5afc0d1d43e01f2728207b6fb2cdafc5b5.tar.bz2 |
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
48 files changed, 234 insertions, 232 deletions
diff --git a/Mac/Contrib/AECaptureParser/AECaptureParser.py b/Mac/Contrib/AECaptureParser/AECaptureParser.py index 25a0237..3d74f64 100644 --- a/Mac/Contrib/AECaptureParser/AECaptureParser.py +++ b/Mac/Contrib/AECaptureParser/AECaptureParser.py @@ -260,8 +260,8 @@ class AECaptureParser: 'type(': [('type(', "aetypes.Type('"), (')', "')")], "'null'()": [("'null'()", "None")], 'abso(': [('abso(', "aetypes.Unknown('abso', ")], - '³': [('³', '"')], - '²': [('²', '"')], + '': [('', '"')], + '': [('', '"')], '[': [('[', '('), (', ', ',')], ']': [(']', ')')], '«': [('«', "«")], @@ -353,7 +353,7 @@ def addquotes(txt): eventreceptacle = """ [event: target="Finder", class=core, id=setd] -'----':obj {form:prop, want:type(prop), seld:type(posn), from:obj {form:name, want:type(cfol), seld:³MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions², from:'null'()}}, data:[100, 10] +'----':obj {form:prop, want:type(prop), seld:type(posn), from:obj {form:name, want:type(cfol), seld:MoPar:Data:DevDev:Python:Python 1.5.2c1:Extensions, from:'null'()}}, data:[100, 10] [/event] """ diff --git a/Mac/Contrib/BBPy.lm/BBPy.c b/Mac/Contrib/BBPy.lm/BBPy.c index 85f0dd2..bcb8d4e 100644 --- a/Mac/Contrib/BBPy.lm/BBPy.c +++ b/Mac/Contrib/BBPy.lm/BBPy.c @@ -56,7 +56,7 @@ char start(struct runloc& r,BBLMParamBlock &pb) r.last_start = pb.fCalcRunParams.fStartOffset; r.pos = pb.fCalcRunParams.fStartOffset; r.p = ((unsigned char*)pb.fText) + pb.fCalcRunParams.fStartOffset; - // Adjust for the gap if we¹re not already past it. + // Adjust for the gap if weÕre not already past it. if ((!r.past_gap) && (r.pos >= pb.fTextGapLocation)){ r.p += pb.fTextGapLength; r.past_gap = true; diff --git a/Mac/Contrib/BBPy.lm/PythonBBLM.txt b/Mac/Contrib/BBPy.lm/PythonBBLM.txt index c43727a..540060a 100644 --- a/Mac/Contrib/BBPy.lm/PythonBBLM.txt +++ b/Mac/Contrib/BBPy.lm/PythonBBLM.txt @@ -2,7 +2,7 @@ This is the Python Language Module for BBEdit. This software is a plugin to Bare Bones Software's BBEdit 6.0.2 (or more), designed to make editing & browsing Python Language files easer. -It parses any file ending in .py (or extentions of your choice.) providing BBEdit with the information BBEdit needs to provide services for python files similar to those it provides for 'C'. Namely: syntax coloring and populating BBEdit's '' popup menu with file's functions and classes. +It parses any file ending in .py (or extentions of your choice.) providing BBEdit with the information BBEdit needs to provide services for python files similar to those it provides for 'C'. Namely: syntax coloring and populating BBEdit's '' popup menu with file's functions and classes. This Plug-in needs to be placed in your :BBEdit 6.0:BBEdit Support:Language Modules: folder. diff --git a/Mac/Contrib/BBPy/PythonSlave.py b/Mac/Contrib/BBPy/PythonSlave.py index cc63e1d..3014f7a 100644 --- a/Mac/Contrib/BBPy/PythonSlave.py +++ b/Mac/Contrib/BBPy/PythonSlave.py @@ -63,7 +63,7 @@ class PythonSlave(FrameWork.Application): raise self def getabouttext(self): - return "About PythonSlave" + return "About PythonSlave" def do_about(self, id, item, window, event): EasyDialogs.Message("PythonSlave " + __version__ + "\rCopyright © 1996, Letterror, JvR") diff --git a/Mac/Contrib/PythonScript/ReadMe.txt b/Mac/Contrib/PythonScript/ReadMe.txt index 3518423..455f12a 100644 --- a/Mac/Contrib/PythonScript/ReadMe.txt +++ b/Mac/Contrib/PythonScript/ReadMe.txt @@ -29,7 +29,7 @@ from the target before going on to the next event Object is a appleevent object specifier and is of the form -PythonScript.PsClass.Class1(arg).Class2(arg).Property() +PythonScript.PsClass.Class1(arg).Class2(arg).Property() All applescript event, class and property names are capitalised to distinguish them from python methods. diff --git a/Mac/Demo/applescript/Disk_Copy/Special_Events.py b/Mac/Demo/applescript/Disk_Copy/Special_Events.py index 9538706..a98eb8a 100644 --- a/Mac/Demo/applescript/Disk_Copy/Special_Events.py +++ b/Mac/Demo/applescript/Disk_Copy/Special_Events.py @@ -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 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 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 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 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 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 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, 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 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 diff --git a/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py b/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py index 1211ec1..931246e 100644 --- a/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py +++ b/Mac/Demo/applescript/Disk_Copy/Standard_Suite.py @@ -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 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 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 diff --git a/Mac/IDE scripts/Hack/Toolbox Assistant... b/Mac/IDE scripts/Hack/Toolbox Assistant... index afd7846..b47274a 100644 --- a/Mac/IDE scripts/Hack/Toolbox Assistant... +++ b/Mac/IDE scripts/Hack/Toolbox Assistant... @@ -35,7 +35,7 @@ class ToolboxAssi: try: self.talker = Toolbox('ALTV', start = 1) except: - raise W.AlertError, "Can¹t find ³Toolbox Assistant²" + raise W.AlertError, "CanÕt find Toolbox Assistant" lookup = self.w.edit.get() try: self.talker.LookupTopic(lookup) diff --git a/Mac/Lib/MACFS.py b/Mac/Lib/MACFS.py index 9dbe27d..c4228a7 100644 --- a/Mac/Lib/MACFS.py +++ b/Mac/Lib/MACFS.py @@ -70,28 +70,28 @@ kDocumentsFolderType = 'docs' kVolumeRootFolderType = 'root' kChewableItemsFolderType = 'flnt' kApplicationSupportFolderType = 'asup' -kTextEncodingsFolderType = 'tex' +kTextEncodingsFolderType = 'tex' kStationeryFolderType = 'odst' kOpenDocFolderType = 'odod' kOpenDocShellPlugInsFolderType = 'odsp' kEditorsFolderType = 'oded' -kOpenDocEditorsFolderType = 'odf' +kOpenDocEditorsFolderType = 'odf' kOpenDocLibrariesFolderType = 'odlb' -kGenEditorsFolderType = 'edi' -kHelpFolderType = 'hlp' -kInternetPlugInFolderType = 'net' -kModemScriptsFolderType = 'mod' +kGenEditorsFolderType = 'edi' +kHelpFolderType = 'hlp' +kInternetPlugInFolderType = 'net' +kModemScriptsFolderType = 'mod' kPrinterDescriptionFolderType = 'ppdf' -kPrinterDriverFolderType = 'prd' -kScriptingAdditionsFolderType = 'scr' -kSharedLibrariesFolderType = 'lib' +kPrinterDriverFolderType = 'prd' +kScriptingAdditionsFolderType = 'scr' +kSharedLibrariesFolderType = 'lib' kVoicesFolderType = 'fvoc' kControlStripModulesFolderType = 'sdev' -kAssistantsFolderType = 'ast' -kUtilitiesFolderType = 'uti' -kAppleExtrasFolderType = 'aex' +kAssistantsFolderType = 'ast' +kUtilitiesFolderType = 'uti' +kAppleExtrasFolderType = 'aex' kContextualMenuItemsFolderType = 'cmnu' -kMacOSReadMesFolderType = 'mor' +kMacOSReadMesFolderType = 'mor' kALMModulesFolderType = 'walk' kALMPreferencesFolderType = 'trip' kALMLocationsFolderType = 'fall' diff --git a/Mac/Lib/cfmfile.py b/Mac/Lib/cfmfile.py index cef28fe..9c449e0 100644 --- a/Mac/Lib/cfmfile.py +++ b/Mac/Lib/cfmfile.py @@ -70,7 +70,7 @@ class CfrgResource: try: data = Res.Get1Resource('cfrg', 0).data except Res.Error: - raise Res.Error, "no cfrg¹ resource found", sys.exc_traceback + raise Res.Error, "no cfrgÕ resource found", sys.exc_traceback finally: Res.CloseResFile(resref) Res.UseResFile(currentresref) @@ -146,7 +146,7 @@ class FragmentDescriptor: def getfragment(self): if self.where <> 1: - raise error, "can¹t read fragment, unsupported location" + raise error, "canÕt read fragment, unsupported location" f = open(self.path, "rb") f.seek(self.offset) if self.length: @@ -158,7 +158,7 @@ class FragmentDescriptor: def copydata(self, outfile): if self.where <> 1: - raise error, "can¹t read fragment, unsupported location" + raise error, "canÕt read fragment, unsupported location" infile = open(self.path, "rb") if self.length == 0: infile.seek(0, 2) diff --git a/Mac/Lib/findertools.py b/Mac/Lib/findertools.py index dde329a..0fd4c51 100644 --- a/Mac/Lib/findertools.py +++ b/Mac/Lib/findertools.py @@ -121,7 +121,7 @@ def update(file): # def comment(object, comment=None): - """comment: get or set the Finder-comment of the item, displayed in the ³Get Info² window.""" + """comment: get or set the Finder-comment of the item, displayed in the Get Info window.""" object = macfs.FSSpec(object) fss = macfs.FSSpec(object) object_alias = fss.NewAlias() @@ -756,7 +756,7 @@ def _test(): sys.stdin.readline() def _test2(): - print '\nmorefindertools version %s\nTests coming up' %__version__ + print '\nmorefindertools version %s\nTests coming up' %__version__ import os import random @@ -800,7 +800,7 @@ def _test2(): pos = (100+i*10, 100+i*10) windowposition(base, pos) print '\twindow position', pos - windowposition(base, orgpos) # park it where it was before + windowposition(base, orgpos) # park it where it was before print 'Put a comment in file', f, ':' print '\t', comment(f) # print the Finder comment this file has diff --git a/Mac/Lib/lib-scripting/AppleScript_Suite.py b/Mac/Lib/lib-scripting/AppleScript_Suite.py index ea9f1f1..34765d2 100644 --- a/Mac/Lib/lib-scripting/AppleScript_Suite.py +++ b/Mac/Lib/lib-scripting/AppleScript_Suite.py @@ -275,7 +275,7 @@ class AppleScript_Suite: } def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments): - """Callsubroutine: A subroutine call + """Callsubroutine: A subroutine call Required argument: anything Keyword argument at: a preposition Keyword argument _from: a preposition @@ -347,7 +347,7 @@ class AppleScript_Suite: 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 @@ class AppleScript_Suite: 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 @@ class AppleScript_Suite: 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 diff --git a/Mac/Lib/lib-scripting/CodeWarrior_Standard_Suite.py b/Mac/Lib/lib-scripting/CodeWarrior_Standard_Suite.py index 262cfce..774f058 100644 --- a/Mac/Lib/lib-scripting/CodeWarrior_Standard_Suite.py +++ b/Mac/Lib/lib-scripting/CodeWarrior_Standard_Suite.py @@ -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): diff --git a/Mac/Lib/lib-scripting/Finder_Suite.py b/Mac/Lib/lib-scripting/Finder_Suite.py index 293851b..0f14b6f 100644 --- a/Mac/Lib/lib-scripting/Finder_Suite.py +++ b/Mac/Lib/lib-scripting/Finder_Suite.py @@ -85,7 +85,7 @@ class Finder_Suite: 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'] diff --git a/Mac/Lib/lib-scripting/Metrowerks_Shell_Suite.py b/Mac/Lib/lib-scripting/Metrowerks_Shell_Suite.py index 93a8930..7012f99 100644 --- a/Mac/Lib/lib-scripting/Metrowerks_Shell_Suite.py +++ b/Mac/Lib/lib-scripting/Metrowerks_Shell_Suite.py @@ -791,7 +791,7 @@ class Metrowerks_Shell_Suite: 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 @@ _Enum_SrcT = { _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 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 } diff --git a/Mac/Lib/lib-scripting/Standard_Suite.py b/Mac/Lib/lib-scripting/Standard_Suite.py index 36eaed8..f6d9b5a 100644 --- a/Mac/Lib/lib-scripting/Standard_Suite.py +++ b/Mac/Lib/lib-scripting/Standard_Suite.py @@ -21,7 +21,7 @@ class Standard_Suite: 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 diff --git a/Mac/Lib/lib-scripting/Standard_URL_suite.py b/Mac/Lib/lib-scripting/Standard_URL_suite.py index 44b6ca7..3c02ebd 100644 --- a/Mac/Lib/lib-scripting/Standard_URL_suite.py +++ b/Mac/Lib/lib-scripting/Standard_URL_suite.py @@ -4,7 +4,7 @@ Level 1, version 1 -Generated from flap:Programma's:Netscape Navigator Folder:Netscape Navigator 3.01 +Generated from flap:Programma's:Netscape Navigator Folder:Netscape Navigator 3.01 AETE/AEUT resource version 1/0, language 0, script 0 """ diff --git a/Mac/Lib/lib-scripting/WWW_Suite.py b/Mac/Lib/lib-scripting/WWW_Suite.py index 9564249..308e13c 100644 --- a/Mac/Lib/lib-scripting/WWW_Suite.py +++ b/Mac/Lib/lib-scripting/WWW_Suite.py @@ -1,7 +1,7 @@ """Suite WorldWideWeb suite, as defined in Spyglass spec.: Level 1, version 1 -Generated from flap:Programma's:Netscape Navigator Folder:Netscape Navigator 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 @@ class WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_: 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_2c__as_defined_in_Spyglass_spec_2e_: } 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_2c__as_defined_in_Spyglass_spec_2e_: } 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_2c__as_defined_in_Spyglass_spec_2e_: } 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 diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py index 26f7d6a..01cb150 100644 --- a/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py +++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py @@ -396,7 +396,7 @@ class linked(aetools.NProperty): which = 'LINK' want = 'bool' class link_index(aetools.NProperty): - """link index - the index of the source file in its target¹s link order (-1 if source file is not in link order) """ + """link index - the index of the source file in its targetÕs link order (-1 if source file is not in link order) """ which = 'LIDX' want = 'long' class modified_date(aetools.NProperty): @@ -424,7 +424,7 @@ class weak_link(aetools.NProperty): which = 'WEAK' want = 'bool' class init_before(aetools.NProperty): - """init before - is the initialize before¹ flag set for this shared library? """ + """init before - is the initialize beforeÕ flag set for this shared library? """ which = 'INIT' want = 'bool' class merge_output(aetools.NProperty): diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py index 0d1fc90..694f599 100644 --- a/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py +++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py @@ -791,7 +791,7 @@ class Metrowerks_Shell_Suite_Events: 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. """ @@ -994,7 +994,7 @@ class Launch_Apps_on_Open(aetools.NProperty): which = 'Dg03' want = 'bool' class Confirm_Kill(aetools.NProperty): - """Confirm Kill - Confirm the killing¹ of the process. """ + """Confirm Kill - Confirm the killingÕ of the process. """ which = 'Dg04' want = 'bool' class Stop_at_Main(aetools.NProperty): @@ -1006,7 +1006,7 @@ class Select_Stack_Crawl(aetools.NProperty): which = 'Dg06' want = 'bool' class Dont_Step_in_Runtime(aetools.NProperty): - """Dont Step in Runtime - Don¹t step into runtime code when debugging. """ + """Dont Step in Runtime - DonÕt step into runtime code when debugging. """ which = 'Dg07' want = 'bool' class Auto_Target_Libraries(aetools.NProperty): @@ -1043,7 +1043,7 @@ class Temp_breakpoint_names(aetools.NProperty): which = 'Dt14' want = 'ctxt' class Cache_symbolics(aetools.NProperty): - """Cache symbolics - Cache symbolics between runs when executable doesn¹t change, else release symbolics files after killing process. """ + """Cache symbolics - Cache symbolics between runs when executable doesnÕt change, else release symbolics files after killing process. """ which = 'Dt15' want = 'bool' class Temp_Breakpoint_Type(aetools.NProperty): @@ -1071,7 +1071,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): @@ -1175,11 +1175,11 @@ class Full_Screen_Zoom(aetools.NProperty): which = 'EX07' want = 'bool' class Recent_Editor_Count(aetools.NProperty): - """Recent Editor Count - Maximum number of editor documents to show in the ³Open Recent² menu """ + """Recent Editor Count - Maximum number of editor documents to show in the Open Recent menu """ which = 'EX16' want = 'shor' class Recent_Project_Count(aetools.NProperty): - """Recent Project Count - Maximum number of project documents to show in the ³Open Recent² menu """ + """Recent Project Count - Maximum number of project documents to show in the Open Recent menu """ which = 'EX17' want = 'shor' class Use_Editor_Extensions(aetools.NProperty): @@ -1294,7 +1294,7 @@ class origin(aetools.NProperty): which = 'Orig' want = 'PPrm' class root(aetools.NProperty): - """root - Name of the root of the relative path. Pre-defined values are ³Absolute², ³Project², ³CodeWarrior², and ³System². Anything else is a user-defined root. """ + """root - Name of the root of the relative path. Pre-defined values are Absolute, Project, CodeWarrior, and System. Anything else is a user-defined root. """ which = 'Root' want = 'TEXT' class recursive(aetools.NProperty): @@ -1325,14 +1325,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): @@ -1476,7 +1476,7 @@ class String_Color(aetools.NProperty): # repeated property Custom_Color_4 The color for the fourth set of custom keywords. 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. """ @@ -1495,11 +1495,11 @@ class Target_Name(aetools.NProperty): which = 'TA10' want = 'TEXT' class Output_Directory_Path(aetools.NProperty): - """Output Directory Path - Path to output directory. Usage of this property is deprecated. Use the ³Output Directory Location² property instead. """ + """Output Directory Path - Path to output directory. Usage of this property is deprecated. Use the Output Directory Location property instead. """ which = 'TA11' want = 'TEXT' class Output_Directory_Origin(aetools.NProperty): - """Output Directory Origin - Origin of path to output directory. Usage of this property is deprecated. Use the ³Output Directory Location² property instead. """ + """Output Directory Origin - Origin of path to output directory. Usage of this property is deprecated. Use the Output Directory Location property instead. """ which = 'TA12' want = 'PPrm' class Output_Directory_Location(aetools.NProperty): @@ -2043,14 +2043,14 @@ _Enum_SrcT = { _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 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 'root_relative' : 'RRel', # } _Enum_DbSA = { - 'No_Action' : 'DSA1', # Don¹t do anything to non-debug windows + 'No_Action' : 'DSA1', # DonÕt do anything to non-debug windows 'Hide_Windows' : 'DSA2', # Hide non-debugging windows 'Collapse_Windows' : 'DSA3', # Collapse non-debugging windows 'Close_Windows' : 'DSA4', # Close non-debugging windows @@ -2103,9 +2103,9 @@ _Enum_BXbr = { } _Enum_STKd = { - 'Absolute_Path' : 'STK0', # The ³path² property is an absolute path to the location of the source tree. - 'Registry_Key' : 'STK1', # The ³path² property is the name of a registry key that contains the path to the root. - 'Environment_Variable' : 'STK2', # The ³path² property is the name of an environment variable that contains the path to the root. + 'Absolute_Path' : 'STK0', # The path property is an absolute path to the location of the source tree. + 'Registry_Key' : 'STK1', # The path property is the name of a registry key that contains the path to the root. + 'Environment_Variable' : 'STK2', # The path property is the name of an environment variable that contains the path to the root. } _Enum_PthF = { diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py index 9d07d90..96581c5 100644 --- a/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py @@ -102,7 +102,7 @@ class Standard_Suite_Events: def make(self, _no_object=None, _attributes={}, **_arguments): """make: make a new element - Keyword argument new: the class of the new elementkeyword 'new' is optional in AppleScript + Keyword argument new: the class of the new elementkeyword 'new' is optional in AppleScript Keyword argument as: the desired types for the data, in order of preference Keyword argument at: the location at which to insert the element Keyword argument with_data: the initial data for the element diff --git a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py b/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py index ed4ddda..26df454 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py @@ -212,7 +212,7 @@ class folder(aetools.ComponentItem): folders = folder 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 """ @@ -242,7 +242,7 @@ class trash(aetools.NProperty): # element 'dsut' as ['indx', 'name'] 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' class warns_before_emptying(aetools.NProperty): """warns before emptying - Display a dialog when emptying the trash? """ diff --git a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py b/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py index 077da58..6ec7e53 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py @@ -24,7 +24,7 @@ class properties(aetools.NProperty): which = 'qpro' want = 'reco' class clipboard(aetools.NProperty): - """clipboard - the Finder¹s clipboard window """ + """clipboard - the FinderÕs clipboard window """ which = 'pcli' want = 'obj ' class largest_free_block(aetools.NProperty): @@ -32,11 +32,11 @@ class largest_free_block(aetools.NProperty): which = 'mfre' want = 'long' class name(aetools.NProperty): - """name - the Finder¹s name """ + """name - the FinderÕs name """ which = 'pnam' want = 'itxt' class visible(aetools.NProperty): - """visible - Is the Finder¹s layer visible? """ + """visible - Is the FinderÕs layer visible? """ which = 'pvis' want = 'bool' class frontmost(aetools.NProperty): @@ -48,7 +48,7 @@ class selection(aetools.NProperty): which = 'sele' want = 'obj ' class insertion_location(aetools.NProperty): - """insertion location - the container in which a new folder would appear if ³New Folder² was selected """ + """insertion location - the container in which a new folder would appear if New Folder was selected """ which = 'pins' want = 'obj ' class file_sharing(aetools.NProperty): @@ -68,7 +68,7 @@ class version(aetools.NProperty): which = 'vers' want = 'itxt' class about_this_computer(aetools.NProperty): - """about this computer - the ³About this Computer² dialog and the list of running processes displayed in it """ + """about this computer - the About this Computer dialog and the list of running processes displayed in it """ which = 'abbx' want = 'obj ' class desktop(aetools.NProperty): @@ -195,7 +195,7 @@ class internet_location(aetools.ComponentItem): internet_locations = internet_location 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 """ @@ -359,7 +359,7 @@ class protected(aetools.NProperty): want = 'bool' 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' class preferences(aetools.ComponentItem): diff --git a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py b/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py index 1d56862..5137594 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py @@ -39,18 +39,18 @@ class stationery(aetools.NProperty): which = 'pspd' want = 'bool' class product_version(aetools.NProperty): - """product version - the version of the product (visible at the top of the ³Get Info² window) """ + """product version - the version of the product (visible at the top of the Get Info window) """ which = 'ver2' want = 'itxt' class version(aetools.NProperty): - """version - the version of the file (visible at the bottom of the ³Get Info² window) """ + """version - the version of the file (visible at the bottom of the Get Info window) """ which = 'vers' want = 'itxt' files = file 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 """ diff --git a/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py b/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py index c75a219..9c4b65e 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py @@ -145,7 +145,7 @@ class application(aetools.ComponentItem): """application - The Finder """ want = 'capp' class clipboard(aetools.NProperty): - """clipboard - the Finder¹s clipboard window """ + """clipboard - the FinderÕs clipboard window """ which = 'pcli' want = 'obj ' class largest_free_block(aetools.NProperty): @@ -153,11 +153,11 @@ class largest_free_block(aetools.NProperty): which = 'mfre' want = 'long' class name(aetools.NProperty): - """name - the Finder¹s name """ + """name - the FinderÕs name """ which = 'pnam' want = 'itxt' class visible(aetools.NProperty): - """visible - Is the Finder¹s layer visible? """ + """visible - Is the FinderÕs layer visible? """ which = 'pvis' want = 'bool' class frontmost(aetools.NProperty): @@ -169,7 +169,7 @@ class selection(aetools.NProperty): which = 'sele' want = 'obj ' class insertion_location(aetools.NProperty): - """insertion location - the container in which a new folder would appear if ³New Folder² was selected """ + """insertion location - the container in which a new folder would appear if New Folder was selected """ which = 'pins' want = 'obj ' class file_sharing(aetools.NProperty): @@ -189,7 +189,7 @@ class version(aetools.NProperty): which = 'vers' want = 'itxt' class about_this_computer(aetools.NProperty): - """about this computer - the ³About this Computer² dialog and the list of running processes displayed in it """ + """about this computer - the About this Computer dialog and the list of running processes displayed in it """ which = 'abbx' want = 'obj ' class desktop(aetools.NProperty): @@ -235,35 +235,35 @@ class system_folder(aetools.NProperty): which = 'macs' want = 'obj ' class apple_menu_items_folder(aetools.NProperty): - """apple menu items folder - the special folder named ³Apple Menu Items,² the contents of which appear in the Apple menu """ + """apple menu items folder - the special folder named Apple Menu Items, the contents of which appear in the Apple menu """ which = 'amnu' want = 'obj ' class control_panels_folder(aetools.NProperty): - """control panels folder - the special folder named ³Control Panels² """ + """control panels folder - the special folder named Control Panels """ which = 'ctrl' want = 'obj ' class extensions_folder(aetools.NProperty): - """extensions folder - the special folder named ³Extensions² """ + """extensions folder - the special folder named Extensions """ which = 'extn' want = 'obj ' class fonts_folder(aetools.NProperty): - """fonts folder - the special folder named ³Fonts² """ + """fonts folder - the special folder named Fonts """ which = 'font' want = 'obj ' class preferences_folder(aetools.NProperty): - """preferences folder - the special folder named ³Preferences² """ + """preferences folder - the special folder named Preferences """ which = 'pref' want = 'obj ' class shutdown_items_folder(aetools.NProperty): - """shutdown items folder - the special folder named ³Shutdown Items² """ + """shutdown items folder - the special folder named Shutdown Items """ which = 'shdf' want = 'obj ' class startup_items_folder(aetools.NProperty): - """startup items folder - the special folder named ³Startup Items² """ + """startup items folder - the special folder named Startup Items """ which = 'strt' want = 'obj ' class temporary_items_folder(aetools.NProperty): - """temporary items folder - the special folder named ³Temporary Items² (invisible) """ + """temporary items folder - the special folder named Temporary Items (invisible) """ which = 'temp' want = 'obj ' import Earlier_terms diff --git a/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py b/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py index cc87f7f..742c51a 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py @@ -79,7 +79,7 @@ class Finder_items_Events: 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' @@ -227,7 +227,7 @@ class description(aetools.NProperty): which = 'dscr' want = 'itxt' class comment(aetools.NProperty): - """comment - the comment of the item, displayed in the ³Get Info² window """ + """comment - the comment of the item, displayed in the Get Info window """ which = 'comt' want = 'itxt' class size(aetools.NProperty): diff --git a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py b/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py index 501d1b0..6dfd9c6 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py @@ -59,7 +59,7 @@ class locked_obsolete(aetools.NProperty): want = 'bool' 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 creation_date_obsolete(aetools.NProperty): """creation date obsolete - the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """ @@ -87,7 +87,7 @@ class sharing_window(aetools.NProperty): want = 'obj ' class sharing_window(aetools.ComponentItem): - """sharing window - A sharing window (opened by ³Sharing²) """ + """sharing window - A sharing window (opened by Sharing) """ want = 'swnd' class sharable_container(aetools.NProperty): """sharable container - the sharable container from which the window was opened """ diff --git a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py b/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py index 5d13cd0..b4d6037 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py @@ -163,7 +163,7 @@ class small_4_bit_icon(aetools.NProperty): want = 'ics4' class alias_list(aetools.ComponentItem): - """alias list - A list of aliases. Use as alias list¹ when a list of aliases is needed (instead of a list of file system item references). """ + """alias list - A list of aliases. Use as alias listÕ when a list of aliases is needed (instead of a list of file system item references). """ want = 'alst' preferences._propdict = { 'window' : window, diff --git a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py b/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py index 17a3c36..4986946 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py @@ -162,7 +162,7 @@ class uses_relative_dates(aetools.NProperty): container_windows = container_window 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 current_panel(aetools.NProperty): """current panel - the current panel in the information window """ @@ -217,11 +217,11 @@ class warns_before_emptying(aetools.NProperty): which = 'warn' want = 'bool' class product_version(aetools.NProperty): - """product version - the version of the product (visible at the top of the ³Get Info² window) """ + """product version - the version of the product (visible at the top of the Get Info window) """ which = 'ver2' want = 'itxt' class version(aetools.NProperty): - """version - the version of the file (visible at the bottom of the ³Get Info² window) """ + """version - the version of the file (visible at the bottom of the Get Info window) """ which = 'vers' want = 'itxt' @@ -238,7 +238,7 @@ class clipping_window(aetools.ComponentItem): clipping_windows = clipping_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 diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py index a1865ee..57b61b3 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py @@ -1,7 +1,7 @@ """Suite Mozilla suite: Experimental Mozilla suite Level 1, version 1 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +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' diff --git a/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py b/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py index 12d32fa..b57086d 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py @@ -1,7 +1,7 @@ """Suite PowerPlant: Level 0, version 0 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +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 """ diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py index 3aacae8..90b37ff 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py @@ -1,7 +1,7 @@ """Suite Required suite: Level 0, version 0 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator AETE/AEUT resource version 1/0, language 0, script 0 """ diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py index cccdbdf..1044ca8 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py @@ -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-map:Netscape Communicator +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): diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py index 9becca5..1498c71 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py @@ -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-map:Netscape Communicator +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 diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Text.py b/Mac/Lib/lib-scriptpackages/Netscape/Text.py index c4b4799..beda5b3 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/Text.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/Text.py @@ -1,7 +1,7 @@ """Suite Text: Level 0, version 0 -Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +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 """ diff --git a/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py b/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py index 0965987..c42505c 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py @@ -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-map:Netscape Communicator +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 diff --git a/Mac/Lib/lib-scriptpackages/Netscape/__init__.py b/Mac/Lib/lib-scriptpackages/Netscape/__init__.py index 77a0ff8..38af429 100644 --- a/Mac/Lib/lib-scriptpackages/Netscape/__init__.py +++ b/Mac/Lib/lib-scriptpackages/Netscape/__init__.py @@ -1,5 +1,5 @@ """ -Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator +Package generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator Resource aete resid 0 """ import aetools diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py index e6ca5e3..58d265c 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py @@ -129,7 +129,7 @@ class AppleScript_Suite_Events: return _arguments['----'] def tell(self, _no_object=None, _attributes={}, **_arguments): - """tell: Record or log a tell¹ statement + """tell: Record or log a tellÕ statement Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'ascr' @@ -148,7 +148,7 @@ class AppleScript_Suite_Events: return _arguments['----'] def end_tell(self, _no_object=None, _attributes={}, **_arguments): - """end tell: Record or log an end tell¹ statement + """end tell: Record or log an end tellÕ statement Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'ascr' @@ -229,7 +229,7 @@ class AppleScript_Suite_Events: } def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments): - """Callsubroutine: A subroutine call + """Callsubroutine: A subroutine call Required argument: anything Keyword argument at: a preposition Keyword argument _from: a preposition @@ -299,7 +299,7 @@ class AppleScript_Suite_Events: return _arguments['----'] def _ad_(self, _object, _attributes={}, **_arguments): - """: Inequality + """: Inequality Required argument: an AE object reference Keyword argument _attributes: AppleEvent attribute dictionary Returns: anything @@ -488,7 +488,7 @@ class AppleScript_Suite_Events: 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 @@ -530,7 +530,7 @@ class AppleScript_Suite_Events: 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 @@ -820,7 +820,7 @@ class name(aetools.NProperty): which = 'pnam' want = 'TEXT' class parent(aetools.NProperty): - """parent - its parent, i.e. the script that will handle events that this script doesn¹t """ + """parent - its parent, i.e. the script that will handle events that this script doesnÕt """ which = 'pare' want = 'scpt' diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py index 505a702..7870acd 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py @@ -429,7 +429,7 @@ class Standard_Suite_Events: 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' @@ -459,7 +459,7 @@ class frontmost(aetools.NProperty): which = 'pisf' want = 'bool' class selection(aetools.NProperty): - """selection - the selection visible to the user. Use the select¹ command to set a new selection; use contents of selection¹ to get or change information in the document. """ + """selection - the selection visible to the user. Use the selectÕ command to set a new selection; use contents of selectionÕ to get or change information in the document. """ which = 'sele' want = 'csel' class clipboard(aetools.NProperty): @@ -500,10 +500,10 @@ class alias(aetools.ComponentItem): aliases = alias class selection_2d_object(aetools.ComponentItem): - """selection-object - A way to refer to the state of the current of the selection. Use the select¹ command to make a new selection. """ + """selection-object - A way to refer to the state of the current of the selection. Use the selectÕ command to make a new selection. """ want = 'csel' class contents(aetools.NProperty): - """contents - the information currently selected. Use contents of selection¹ to get or change information in a document. """ + """contents - the information currently selected. Use contents of selectionÕ to get or change information in a document. """ which = 'pcnt' want = '****' @@ -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 diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py index b5a8ff3..0e62666 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py @@ -70,7 +70,7 @@ table._propdict = { table._elemdict = { } _Enum_prtn = { - 'read_only' : 'nmod', # Can¹t change values or formulas + 'read_only' : 'nmod', # CanÕt change values or formulas 'formulas_protected' : 'fpro', # Can changes values but not formulas 'read_2f_write' : 'modf', # Can change values and formulas } diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py index de879ef..2f18df1 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py @@ -75,7 +75,7 @@ class uniform_styles(aetools.NProperty): # element 'cwor' as ['indx'] class text_flow(aetools.ComponentItem): - """text flow - A contiguous block of text. Page layout applications call this a story.¹ """ + """text flow - A contiguous block of text. Page layout applications call this a story.Õ """ want = 'cflo' # repeated property _3c_inheritance_3e_ inherits some of its properties from this class class name(aetools.NProperty): diff --git a/Mac/Lib/lib-toolbox/AppleEvents.py b/Mac/Lib/lib-toolbox/AppleEvents.py index 0373685..605a3e0 100644 --- a/Mac/Lib/lib-toolbox/AppleEvents.py +++ b/Mac/Lib/lib-toolbox/AppleEvents.py @@ -704,7 +704,7 @@ kFAEditCommand = FOUR_CHAR_CODE('edfa') kFAFileParam = FOUR_CHAR_CODE('faal') kFAIndexParam = FOUR_CHAR_CODE('indx') kAEInternetSuite = FOUR_CHAR_CODE('gurl') -kAEISWebStarSuite = FOUR_CHAR_CODE('WWW') +kAEISWebStarSuite = FOUR_CHAR_CODE('WWW½') kAEISGetURL = FOUR_CHAR_CODE('gurl') KAEISHandleCGI = FOUR_CHAR_CODE('sdoc') cURL = FOUR_CHAR_CODE('url ') diff --git a/Mac/Lib/lib-toolbox/Icons.py b/Mac/Lib/lib-toolbox/Icons.py index 2c8da98..56dde47 100644 --- a/Mac/Lib/lib-toolbox/Icons.py +++ b/Mac/Lib/lib-toolbox/Icons.py @@ -277,35 +277,35 @@ kGuestUserIcon = FOUR_CHAR_CODE('gusr') kUserIcon = FOUR_CHAR_CODE('user') kOwnerIcon = FOUR_CHAR_CODE('susr') kGroupIcon = FOUR_CHAR_CODE('grup') -kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex') +kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex') kAppleMenuFolderIcon = FOUR_CHAR_CODE('amnu') kApplicationsFolderIcon = FOUR_CHAR_CODE('apps') kApplicationSupportFolderIcon = FOUR_CHAR_CODE('asup') -kAssistantsFolderIcon = FOUR_CHAR_CODE('ast') +kAssistantsFolderIcon = FOUR_CHAR_CODE('ast') kContextualMenuItemsFolderIcon = FOUR_CHAR_CODE('cmnu') kControlPanelDisabledFolderIcon = FOUR_CHAR_CODE('ctrD') kControlPanelFolderIcon = FOUR_CHAR_CODE('ctrl') -kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv') +kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv') kDocumentsFolderIcon = FOUR_CHAR_CODE('docs') kExtensionsDisabledFolderIcon = FOUR_CHAR_CODE('extD') kExtensionsFolderIcon = FOUR_CHAR_CODE('extn') kFavoritesFolderIcon = FOUR_CHAR_CODE('favs') kFontsFolderIcon = FOUR_CHAR_CODE('font') -kHelpFolderIcon = FOUR_CHAR_CODE('hlp') -kInternetFolderIcon = FOUR_CHAR_CODE('int') -kInternetPlugInFolderIcon = FOUR_CHAR_CODE('net') -kLocalesFolderIcon = FOUR_CHAR_CODE('loc') -kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor') -kPreferencesFolderIcon = FOUR_CHAR_CODE('prf') +kHelpFolderIcon = FOUR_CHAR_CODE('hlp') +kInternetFolderIcon = FOUR_CHAR_CODE('int') +kInternetPlugInFolderIcon = FOUR_CHAR_CODE('net') +kLocalesFolderIcon = FOUR_CHAR_CODE('loc') +kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor') +kPreferencesFolderIcon = FOUR_CHAR_CODE('prf') kPrinterDescriptionFolderIcon = FOUR_CHAR_CODE('ppdf') -kPrinterDriverFolderIcon = FOUR_CHAR_CODE('prd') +kPrinterDriverFolderIcon = FOUR_CHAR_CODE('prd') kPrintMonitorFolderIcon = FOUR_CHAR_CODE('prnt') kRecentApplicationsFolderIcon = FOUR_CHAR_CODE('rapp') kRecentDocumentsFolderIcon = FOUR_CHAR_CODE('rdoc') kRecentServersFolderIcon = FOUR_CHAR_CODE('rsrv') -kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('scr') -kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('lib') -kScriptsFolderIcon = FOUR_CHAR_CODE('scr') +kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('scr') +kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('lib') +kScriptsFolderIcon = FOUR_CHAR_CODE('scr') kShutdownItemsDisabledFolderIcon = FOUR_CHAR_CODE('shdD') kShutdownItemsFolderIcon = FOUR_CHAR_CODE('shdf') kSpeakableItemsFolder = FOUR_CHAR_CODE('spki') @@ -313,13 +313,13 @@ kStartupItemsDisabledFolderIcon = FOUR_CHAR_CODE('strD') kStartupItemsFolderIcon = FOUR_CHAR_CODE('strt') kSystemExtensionDisabledFolderIcon = FOUR_CHAR_CODE('macD') kSystemFolderIcon = FOUR_CHAR_CODE('macs') -kTextEncodingsFolderIcon = FOUR_CHAR_CODE('tex') +kTextEncodingsFolderIcon = FOUR_CHAR_CODE('tex') kAppearanceFolderIcon = FOUR_CHAR_CODE('appr') -kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti') +kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti') kVoicesFolderIcon = FOUR_CHAR_CODE('fvoc') kColorSyncFolderIcon = FOUR_CHAR_CODE('prof') kInternetSearchSitesFolderIcon = FOUR_CHAR_CODE('issf') -kUsersFolderIcon = FOUR_CHAR_CODE('usr') +kUsersFolderIcon = FOUR_CHAR_CODE('usr') kAppleScriptBadgeIcon = FOUR_CHAR_CODE('scrp') kLockedBadgeIcon = FOUR_CHAR_CODE('lbdg') kMountedBadgeIcon = FOUR_CHAR_CODE('mbdg') diff --git a/Mac/Lib/macerrors.py b/Mac/Lib/macerrors.py index 69a5368..dda3f08 100644 --- a/Mac/Lib/macerrors.py +++ b/Mac/Lib/macerrors.py @@ -316,7 +316,7 @@ telBadProcID = -10110 #invalid procID telDeviceNotFound = -10109 #device not found telBadCodeResource = -10108 #code resource not found telInitFailed = -10107 #initialization failed -telNoCommFolder = -10106 #Communications/Extensions not found +telNoCommFolder = -10106 #Communications/Extensions not found telUnknownErr = -10103 #unable to set config telNoSuchTool = -10102 #unable to find tool with name specified telBadFunction = -10091 #bad msgCode specified @@ -626,7 +626,7 @@ kDMDriverNotDisplayMgrAwareErr = -6228 #Video Driver does not support display ma kDMSWNotInitializedErr = -6227 #Required software not initialized (eg windowmanager or display mgr). kSysSWTooOld = -6226 #Missing critical pieces of System Software. kDMMirroringNotOn = -6225 #Returned by all calls that need mirroring to be on to do their thing. -kDMCantBlock = -6224 #Mirroring is already on, can¹t Block now (call DMUnMirror() first). +kDMCantBlock = -6224 #Mirroring is already on, canÕt Block now (call DMUnMirror() first). kDMMirroringBlocked = -6223 #DMBlockMirroring() has been called. kDMWrongNumberOfDisplays = -6222 #Can only handle 2 displays for now. kDMMirroringOnAlready = -6221 #Returned by all calls that need mirroring to be off to do their thing. @@ -653,7 +653,7 @@ errCorruptWindowDescription = -5606 #tried to load a corrupt window description errUnrecognizedWindowClass = -5605 #tried to create a window with a bad WindowClass errWindowPropertyNotFound = -5604 #tried to get a nonexistent property errInvalidWindowProperty = -5603 #tried to access a property tag with private creator -errWindowDoesNotHaveProxy = -5602 #tried to do something requiring a proxy to a window which doesn¹t have a proxy +errWindowDoesNotHaveProxy = -5602 #tried to do something requiring a proxy to a window which doesnÕt have a proxy errUnsupportedWindowAttributesForClass = -5601 #tried to create a window with WindowAttributes not supported by the WindowClass errInvalidWindowPtr = -5600 #tried to pass a bad WindowRef argument gestaltLocationErr = -5553 #gestalt function ptr wasn't in sysheap @@ -847,7 +847,7 @@ kECANCELErr = -3273 # kEBADMSGErr = -3272 # kENOSRErr = -3271 # kETIMEErr = -3270 # -kEPROTOErr = -3269 # fill out missing codes +kEPROTOErr = -3269 # fill out missing codes kEHOSTUNREACHErr = -3264 #No route to host kEHOSTDOWNErr = -3263 #Host is down kECONNREFUSEDErr = -3260 #Connection refused @@ -1043,7 +1043,7 @@ tsmTSHasNoMenuErr = -2513 #the text service has no menu tsmUseInputWindowErr = -2512 #not TSM aware because we are using input window tsmDocumentOpenErr = -2511 #there are open documents tsmTextServiceNotFoundErr = -2510 #no text service found -tsmCantOpenComponentErr = -2509 #can¹t open the component +tsmCantOpenComponentErr = -2509 #canÕt open the component tsmNoOpenTSErr = -2508 #no open text service tsmDocNotActiveErr = -2507 #document is NOT active tsmTSMDocBusyErr = -2506 #document is still active @@ -1076,9 +1076,9 @@ kernelOptionsErr = -2403 #kernelOptionsErr kernelCanceledErr = -2402 #kernelCanceledErr kernelIncompleteErr = -2401 #kernelIncompleteErr badCallOrderErr = -2209 #Usually due to a status call being called prior to being setup first -noDMAErr = -2208 #Can¹t do DMA digitizing (i.e. can't go to requested dest -badDepthErr = -2207 #Can¹t digitize into this depth -notExactSizeErr = -2206 #Can¹t do exact size requested +noDMAErr = -2208 #CanÕt do DMA digitizing (i.e. can't go to requested dest +badDepthErr = -2207 #CanÕt digitize into this depth +notExactSizeErr = -2206 #CanÕt do exact size requested noMoreKeyColorsErr = -2205 #all key indexes in use notExactMatrixErr = -2204 #warning of bad matrix, digitizer did its best matrixErr = -2203 #bad matrix, digitizer did nothing @@ -1428,7 +1428,7 @@ rcDBValue = -801 #rcDBValue rcDBNull = -800 #rcDBNull noMMUErr = -626 #no MMU present cannotDeferErr = -625 #unable to defer additional functions -interruptsMaskedErr = -624 #don¹t call with interrupts masked +interruptsMaskedErr = -624 #donÕt call with interrupts masked notLockedErr = -623 #specified range of memory is not locked cannotMakeContiguousErr = -622 #cannot make specified range contiguous notHeldErr = -621 #specified range of memory is not held @@ -1708,10 +1708,10 @@ writErr = -20 #I/O System Errors readErr = -19 #I/O System Errors statusErr = -18 #I/O System Errors controlErr = -17 #I/O System Errors -dsExtensionsDisabled = -13 #say ³Extensions Disabled² -dsHD20Installed = -12 #say ³HD20 Startup² -dsDisassemblerInstalled = -11 #say ³Disassembler Installed² -dsMacsBugInstalled = -10 #say ³MacsBug Installed² +dsExtensionsDisabled = -13 #say Extensions Disabled +dsHD20Installed = -12 #say HD20 Startup +dsDisassemblerInstalled = -11 #say Disassembler Installed +dsMacsBugInstalled = -10 #say MacsBug Installed seNoDB = -8 #no debugger installed to handle debugger command SlpTypeErr = -5 #invalid queue element unimpErr = -4 #unimplemented core routine diff --git a/Mac/Tools/IDE/ModuleBrowser.py b/Mac/Tools/IDE/ModuleBrowser.py index 454c099..78581ec 100644 --- a/Mac/Tools/IDE/ModuleBrowser.py +++ b/Mac/Tools/IDE/ModuleBrowser.py @@ -14,9 +14,9 @@ class _modulebrowser: #self.window.bevelbox = W.BevelBox((0, 0, 0, 56)) self.window.openbutton = W.Button((10, 8, 80, 16), "Open", self.openbuttonhit) - self.window.browsebutton = W.Button((100, 8, 80, 16), "Browse", self.browsebuttonhit) + self.window.browsebutton = W.Button((100, 8, 80, 16), "Browse", self.browsebuttonhit) self.window.reloadbutton = W.Button((10, 32, 80, 16), "Reload", self.reloadbuttonhit) - self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open other", self.openother) + self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open other", self.openother) self.window.openbutton.enable(0) self.window.reloadbutton.enable(0) @@ -81,7 +81,7 @@ class _modulebrowser: file, path, description = imp.find_module(modname) except ImportError: W.SetCursor("arrow") - W.Message("Can¹t find file for module ³%s²." + W.Message("CanÕt find file for module %s." % modname) else: self.openscript(path, modname) @@ -93,7 +93,7 @@ class _modulebrowser: elif path[-4:] in ['.pyc', '.pyo']: W.getapplication().openscript(path[:-1], modname=modname) else: - W.Message("Can¹t edit ³%s²; it might be a shared library or a .pyc file." + W.Message("CanÕt edit %s; it might be a shared library or a .pyc file." % modname) def openother(self): @@ -106,9 +106,9 @@ class _modulebrowser: file, path, description = imp.find_module(modname) except ImportError: if modname in sys.builtin_module_names: - alerttext = "³%s² is a builtin module, which you can¹t edit." % modname + alerttext = "%s is a builtin module, which you canÕt edit." % modname else: - alerttext = "No module named ³%s²." % modname + alerttext = "No module named %s." % modname raise W.AlertError, alerttext self.openscript(path, modname) diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py index 9eaa809..e8aac83 100644 --- a/Mac/Tools/IDE/PyBrowser.py +++ b/Mac/Tools/IDE/PyBrowser.py @@ -38,7 +38,7 @@ def double_repr(key, value, truncvalue = 0, value = _repr(value) '' + value # test to see if it is a string, in case a __repr__ method is buggy except: - value = ' exception in repr()' + value = ' exception in repr()' if truncvalue: return key + '\t' + value[:255] return key + '\t' + value @@ -360,7 +360,7 @@ INDEXING_TYPES = ( def unpack_object(object, indent = 0): tp = type(object) if tp in SIMPLE_TYPES and tp is not types.NoneType: - raise TypeError, 'can¹t browse simple type: %s' % tp.__name__ + raise TypeError, 'canÕt browse simple type: %s' % tp.__name__ elif tp == types.DictionaryType: return unpack_dict(object, indent) elif tp in (types.TupleType, types.ListType): diff --git a/Mac/Tools/IDE/PyConsole.py b/Mac/Tools/IDE/PyConsole.py index 5276131..fb8b439 100644 --- a/Mac/Tools/IDE/PyConsole.py +++ b/Mac/Tools/IDE/PyConsole.py @@ -156,8 +156,8 @@ class PyConsole(W.Window): def makenamespacemenu(self, *args): W.SetCursor('watch') namespacelist = self.getnamespacelist() - self.namespacemenu.set([("Clear window", self.clearbuffer), ("Font settings", self.dofontsettings), - ["Namespace"] + namespacelist, ("Browse namespace", self.browsenamespace)]) + self.namespacemenu.set([("Clear window", self.clearbuffer), ("Font settings", self.dofontsettings), + ["Namespace"] + namespacelist, ("Browse namespace", self.browsenamespace)]) currentname = self.consoletext._namespace["__name__"] for i in range(len(namespacelist)): if namespacelist[i][0] == currentname: @@ -264,7 +264,7 @@ class PyOutput: tabbable = 0) self.w.outputtext = OutputTextWidget((-1, -1, -14, 1), inset = (6, 5), fontsettings = self.fontsettings, tabsettings = self.tabsettings, readonly = 1) - menuitems = [("Clear window", self.clearbuffer), ("Font settings", self.dofontsettings)] + menuitems = [("Clear window", self.clearbuffer), ("Font settings", self.dofontsettings)] self.w.popupmenu = W.PopupMenu((-15, -1, 16, 16), menuitems) self.w._bary = W.Scrollbar((-15, 14, 16, -14), self.w.outputtext.vscroll, max = 32767) diff --git a/Mac/Tools/IDE/PyDebugger.py b/Mac/Tools/IDE/PyDebugger.py index 866bc1b..61ce17b 100644 --- a/Mac/Tools/IDE/PyDebugger.py +++ b/Mac/Tools/IDE/PyDebugger.py @@ -72,7 +72,7 @@ class Debugger(bdb.Bdb): self.botframe = bottomframe if running: self.set_continue() - self.reason = 'Running' + self.reason = 'Running' self.setstate('running') else: self.set_step() @@ -187,7 +187,7 @@ class Debugger(bdb.Bdb): def makeoptionsmenu(self): options = [('Clear breakpoints', self.w.panes.bottom.src.source.clearbreakpoints), ('Clear all breakpoints', self.clear_all_breaks), - ('Edit breakpoints', self.edit_breaks), '-', + ('Edit breakpoints', self.edit_breaks), '-', (self.tracemagic and 'Disable __magic__ tracing' or 'Enable __magic__ tracing', self.togglemagic)] self.w.panes.bottom.src.optionsmenu.set(options) @@ -318,7 +318,7 @@ class Debugger(bdb.Bdb): def running(self): W.SetCursor('watch') - self.reason = 'Running' + self.reason = 'Running' self.setstate('running') #self.w.panes.bottom.src.source.set('') #self.w.panes.browserpanes.stacklist.stack.set([]) @@ -350,7 +350,7 @@ class Debugger(bdb.Bdb): try: f, filename, (suff, mode, dummy) = imp.find_module(modname) except ImportError: - self.w.panes.bottom.src.source.set('can¹t find file') + self.w.panes.bottom.src.source.set('canÕt find file') else: if f: f.close() @@ -360,9 +360,9 @@ class Debugger(bdb.Bdb): f.close() self.w.panes.bottom.src.source.set(data, filename) else: - self.w.panes.bottom.src.source.set('can¹t find file') + self.w.panes.bottom.src.source.set('canÕt find file') else: - self.w.panes.bottom.src.source.set('can¹t find file') + self.w.panes.bottom.src.source.set('canÕt find file') else: self.w.panes.bottom.src.source.set(data, filename) self.file = filename @@ -682,7 +682,7 @@ class BreakpointsViewer: self.w.panes.files = W.List(None, callback = self.filehit) #, flags = Lists.lOnlyOne) self.w.panes.gr = W.Group(None) self.w.panes.gr.breaks = W.List((0, 0, -130, 0), callback = self.linehit) #, flags = Lists.lOnlyOne) - self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'View', self.openbuttonhit) + self.w.panes.gr.openbutton = W.Button((-80, 4, 0, 16), 'View', self.openbuttonhit) self.w.panes.gr.deletebutton = W.Button((-80, 28, 0, 16), 'Delete', self.deletebuttonhit) self.w.bind('<close>', self.close) @@ -880,7 +880,7 @@ _debugger = None def getdebugger(): if not __debug__: - raise W.AlertError, "Can¹t debug in ³Optimize bytecode² mode.\r(see ³Default startup options² in EditPythonPreferences)" + raise W.AlertError, "CanÕt debug in Optimize bytecode mode.\r(see Default startup options in EditPythonPreferences)" global _debugger if _debugger is None: _debugger = Debugger() |