]> granicus.if.org Git - python/commitdiff
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 30 Dec 2002 22:04:23 +0000 (22:04 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 30 Dec 2002 22:04:23 +0000 (22:04 +0000)
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on
Mac OS X). The only items remaining in Mac/Lib are modules that are
meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences
in resources, etc).

136 files changed:
Lib/plat-mac/Audio_mac.py [moved from Mac/Lib/Audio_mac.py with 100% similarity]
Lib/plat-mac/Carbon/AE.py [moved from Mac/Lib/Carbon/AE.py with 100% similarity]
Lib/plat-mac/Carbon/AH.py [moved from Mac/Lib/Carbon/AH.py with 100% similarity]
Lib/plat-mac/Carbon/Alias.py [moved from Mac/Lib/Carbon/Alias.py with 100% similarity]
Lib/plat-mac/Carbon/Aliases.py [moved from Mac/Lib/Carbon/Aliases.py with 100% similarity]
Lib/plat-mac/Carbon/App.py [moved from Mac/Lib/Carbon/App.py with 100% similarity]
Lib/plat-mac/Carbon/Appearance.py [moved from Mac/Lib/Carbon/Appearance.py with 100% similarity]
Lib/plat-mac/Carbon/AppleEvents.py [moved from Mac/Lib/Carbon/AppleEvents.py with 100% similarity]
Lib/plat-mac/Carbon/AppleHelp.py [moved from Mac/Lib/Carbon/AppleHelp.py with 100% similarity]
Lib/plat-mac/Carbon/CF.py [moved from Mac/Lib/Carbon/CF.py with 100% similarity]
Lib/plat-mac/Carbon/CG.py [moved from Mac/Lib/Carbon/CG.py with 100% similarity]
Lib/plat-mac/Carbon/CarbonEvents.py [moved from Mac/Lib/Carbon/CarbonEvents.py with 100% similarity]
Lib/plat-mac/Carbon/CarbonEvt.py [moved from Mac/Lib/Carbon/CarbonEvt.py with 100% similarity]
Lib/plat-mac/Carbon/Cm.py [moved from Mac/Lib/Carbon/Cm.py with 100% similarity]
Lib/plat-mac/Carbon/Components.py [moved from Mac/Lib/Carbon/Components.py with 100% similarity]
Lib/plat-mac/Carbon/ControlAccessor.py [moved from Mac/Lib/Carbon/ControlAccessor.py with 100% similarity]
Lib/plat-mac/Carbon/Controls.py [moved from Mac/Lib/Carbon/Controls.py with 100% similarity]
Lib/plat-mac/Carbon/CoreFoundation.py [moved from Mac/Lib/Carbon/CoreFoundation.py with 100% similarity]
Lib/plat-mac/Carbon/CoreGraphics.py [moved from Mac/Lib/Carbon/CoreGraphics.py with 100% similarity]
Lib/plat-mac/Carbon/Ctl.py [moved from Mac/Lib/Carbon/Ctl.py with 100% similarity]
Lib/plat-mac/Carbon/Dialogs.py [moved from Mac/Lib/Carbon/Dialogs.py with 100% similarity]
Lib/plat-mac/Carbon/Dlg.py [moved from Mac/Lib/Carbon/Dlg.py with 100% similarity]
Lib/plat-mac/Carbon/Drag.py [moved from Mac/Lib/Carbon/Drag.py with 100% similarity]
Lib/plat-mac/Carbon/Dragconst.py [moved from Mac/Lib/Carbon/Dragconst.py with 100% similarity]
Lib/plat-mac/Carbon/Events.py [moved from Mac/Lib/Carbon/Events.py with 100% similarity]
Lib/plat-mac/Carbon/Evt.py [moved from Mac/Lib/Carbon/Evt.py with 100% similarity]
Lib/plat-mac/Carbon/File.py [moved from Mac/Lib/Carbon/File.py with 100% similarity]
Lib/plat-mac/Carbon/Files.py [moved from Mac/Lib/Carbon/Files.py with 100% similarity]
Lib/plat-mac/Carbon/Fm.py [moved from Mac/Lib/Carbon/Fm.py with 100% similarity]
Lib/plat-mac/Carbon/Folder.py [moved from Mac/Lib/Carbon/Folder.py with 100% similarity]
Lib/plat-mac/Carbon/Folders.py [moved from Mac/Lib/Carbon/Folders.py with 100% similarity]
Lib/plat-mac/Carbon/Fonts.py [moved from Mac/Lib/Carbon/Fonts.py with 100% similarity]
Lib/plat-mac/Carbon/Help.py [moved from Mac/Lib/Carbon/Help.py with 100% similarity]
Lib/plat-mac/Carbon/IBCarbon.py [moved from Mac/Lib/Carbon/IBCarbon.py with 100% similarity]
Lib/plat-mac/Carbon/IBCarbonRuntime.py [moved from Mac/Lib/Carbon/IBCarbonRuntime.py with 100% similarity]
Lib/plat-mac/Carbon/Icn.py [moved from Mac/Lib/Carbon/Icn.py with 100% similarity]
Lib/plat-mac/Carbon/Icons.py [moved from Mac/Lib/Carbon/Icons.py with 100% similarity]
Lib/plat-mac/Carbon/List.py [moved from Mac/Lib/Carbon/List.py with 100% similarity]
Lib/plat-mac/Carbon/Lists.py [moved from Mac/Lib/Carbon/Lists.py with 100% similarity]
Lib/plat-mac/Carbon/MacHelp.py [moved from Mac/Lib/Carbon/MacHelp.py with 100% similarity]
Lib/plat-mac/Carbon/MacTextEditor.py [moved from Mac/Lib/Carbon/MacTextEditor.py with 100% similarity]
Lib/plat-mac/Carbon/MediaDescr.py [moved from Mac/Lib/Carbon/MediaDescr.py with 100% similarity]
Lib/plat-mac/Carbon/Menu.py [moved from Mac/Lib/Carbon/Menu.py with 100% similarity]
Lib/plat-mac/Carbon/Menus.py [moved from Mac/Lib/Carbon/Menus.py with 100% similarity]
Lib/plat-mac/Carbon/Mlte.py [moved from Mac/Lib/Carbon/Mlte.py with 100% similarity]
Lib/plat-mac/Carbon/QDOffscreen.py [moved from Mac/Lib/Carbon/QDOffscreen.py with 100% similarity]
Lib/plat-mac/Carbon/Qd.py [moved from Mac/Lib/Carbon/Qd.py with 100% similarity]
Lib/plat-mac/Carbon/Qdoffs.py [moved from Mac/Lib/Carbon/Qdoffs.py with 100% similarity]
Lib/plat-mac/Carbon/Qt.py [moved from Mac/Lib/Carbon/Qt.py with 100% similarity]
Lib/plat-mac/Carbon/QuickDraw.py [moved from Mac/Lib/Carbon/QuickDraw.py with 100% similarity]
Lib/plat-mac/Carbon/QuickTime.py [moved from Mac/Lib/Carbon/QuickTime.py with 100% similarity]
Lib/plat-mac/Carbon/Res.py [moved from Mac/Lib/Carbon/Res.py with 100% similarity]
Lib/plat-mac/Carbon/Resources.py [moved from Mac/Lib/Carbon/Resources.py with 100% similarity]
Lib/plat-mac/Carbon/Scrap.py [moved from Mac/Lib/Carbon/Scrap.py with 100% similarity]
Lib/plat-mac/Carbon/Snd.py [moved from Mac/Lib/Carbon/Snd.py with 100% similarity]
Lib/plat-mac/Carbon/Sndihooks.py [moved from Mac/Lib/Carbon/Sndihooks.py with 100% similarity]
Lib/plat-mac/Carbon/Sound.py [moved from Mac/Lib/Carbon/Sound.py with 100% similarity]
Lib/plat-mac/Carbon/TE.py [moved from Mac/Lib/Carbon/TE.py with 100% similarity]
Lib/plat-mac/Carbon/TextEdit.py [moved from Mac/Lib/Carbon/TextEdit.py with 100% similarity]
Lib/plat-mac/Carbon/WASTEconst.py [moved from Mac/Lib/WASTEconst.py with 100% similarity]
Lib/plat-mac/Carbon/Win.py [moved from Mac/Lib/Carbon/Win.py with 100% similarity]
Lib/plat-mac/Carbon/Windows.py [moved from Mac/Lib/Carbon/Windows.py with 100% similarity]
Lib/plat-mac/Carbon/__init__.py [moved from Mac/Lib/Carbon/__init__.py with 100% similarity]
Lib/plat-mac/EasyDialogs.py [moved from Mac/Lib/EasyDialogs.py with 100% similarity]
Lib/plat-mac/FrameWork.py [moved from Mac/Lib/FrameWork.py with 100% similarity]
Lib/plat-mac/MiniAEFrame.py [moved from Mac/Lib/MiniAEFrame.py with 100% similarity]
Lib/plat-mac/PixMapWrapper.py [moved from Mac/Lib/PixMapWrapper.py with 100% similarity]
Lib/plat-mac/WASTEconst.py [new file with mode: 0644]
Lib/plat-mac/aepack.py [moved from Mac/Lib/aepack.py with 100% similarity]
Lib/plat-mac/aetools.py [moved from Mac/Lib/aetools.py with 100% similarity]
Lib/plat-mac/aetypes.py [moved from Mac/Lib/aetypes.py with 100% similarity]
Lib/plat-mac/applesingle.py [moved from Mac/Lib/applesingle.py with 100% similarity]
Lib/plat-mac/appletrawmain.py [moved from Mac/Lib/appletrawmain.py with 100% similarity]
Lib/plat-mac/appletrunner.py [moved from Mac/Lib/appletrunner.py with 100% similarity]
Lib/plat-mac/argvemulator.py [moved from Mac/Lib/argvemulator.py with 100% similarity]
Lib/plat-mac/bgenlocations.py [moved from Mac/Lib/bgenlocations.py with 100% similarity]
Lib/plat-mac/buildtools.py [moved from Mac/Lib/buildtools.py with 100% similarity]
Lib/plat-mac/bundlebuilder.py [moved from Mac/Lib/bundlebuilder.py with 100% similarity]
Lib/plat-mac/cfmfile.py [moved from Mac/Lib/cfmfile.py with 100% similarity]
Lib/plat-mac/dialogs.rsrc [moved from Mac/Lib/dialogs.rsrc with 100% similarity]
Lib/plat-mac/errors.rsrc [moved from Mac/Lib/errors.rsrc with 100% similarity]
Lib/plat-mac/findertools.py [moved from Mac/Lib/findertools.py with 100% similarity]
Lib/plat-mac/ic.py [moved from Mac/Lib/ic.py with 100% similarity]
Lib/plat-mac/icopen.py [moved from Mac/Lib/icopen.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py [moved from Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py [moved from Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/CodeWarrior/Required.py [moved from Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py [moved from Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py [moved from Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py [moved from Mac/Lib/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/Netscape_Suite.py [moved from Mac/Lib/lib-scriptpackages/Explorer/Netscape_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py [moved from Mac/Lib/lib-scriptpackages/Explorer/Required_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/Standard_Suite.py [moved from Mac/Lib/lib-scriptpackages/Explorer/Standard_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/URL_Suite.py [moved from Mac/Lib/lib-scriptpackages/Explorer/URL_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py [moved from Mac/Lib/lib-scriptpackages/Explorer/Web_Browser_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Explorer/__init__.py [moved from Mac/Lib/lib-scriptpackages/Explorer/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py [moved from Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py [moved from Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py [moved from Mac/Lib/lib-scriptpackages/Finder/Enumerations.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py [moved from Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py [moved from Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Finder_items.py [moved from Mac/Lib/lib-scriptpackages/Finder/Finder_items.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Obsolete_terms.py [moved from Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py [moved from Mac/Lib/lib-scriptpackages/Finder/Process_classes.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py [moved from Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py [moved from Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py [moved from Mac/Lib/lib-scriptpackages/Finder/Window_classes.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Finder/__init__.py [moved from Mac/Lib/lib-scriptpackages/Finder/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py [moved from Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py [moved from Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py [moved from Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py [moved from Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py [moved from Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/Text.py [moved from Mac/Lib/lib-scriptpackages/Netscape/Text.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py [moved from Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py [moved from Mac/Lib/lib-scriptpackages/Netscape/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py [moved from Mac/Lib/lib-scriptpackages/StdSuites/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py [moved from Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py [moved from Mac/Lib/lib-scriptpackages/Terminal/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/_builtinSuites/__init__.py [moved from Mac/Lib/lib-scriptpackages/_builtinSuites/__init__.py with 100% similarity]
Lib/plat-mac/lib-scriptpackages/_builtinSuites/builtin_Suite.py [moved from Mac/Lib/lib-scriptpackages/_builtinSuites/builtin_Suite.py with 100% similarity]
Lib/plat-mac/macerrors.py [moved from Mac/Lib/macerrors.py with 100% similarity]
Lib/plat-mac/macfs.py [moved from Mac/Lib/macfs.py with 100% similarity]
Lib/plat-mac/macostools.py [moved from Mac/Lib/macostools.py with 100% similarity]
Lib/plat-mac/macresource.py [moved from Mac/Lib/macresource.py with 100% similarity]
Lib/plat-mac/plistlib.py [moved from Mac/Lib/plistlib.py with 100% similarity]
Lib/plat-mac/videoreader.py [moved from Mac/Lib/videoreader.py with 100% similarity]

diff --git a/Lib/plat-mac/WASTEconst.py b/Lib/plat-mac/WASTEconst.py
new file mode 100644 (file)
index 0000000..f453338
--- /dev/null
@@ -0,0 +1,207 @@
+# Generated from 'WASTE.h'
+
+kPascalStackBased = None # workaround for header parsing
+def FOUR_CHAR_CODE(x): return x
+weCantUndoErr = -10015
+weEmptySelectionErr = -10013
+weUnknownObjectTypeErr = -9478
+weObjectNotFoundErr = -9477
+weReadOnlyErr = -9476
+weTextNotFoundErr = -9474
+weInvalidTextEncodingErr = -9473
+weDuplicateAttributeErr = -9472
+weInvalidAttributeSizeErr = -9471
+weReadOnlyAttributeErr = -9470
+weOddByteCountErr = -9469
+weHandlerNotFoundErr = -1717
+weNotHandledErr = -1708
+weNewerVersionErr = -1706
+weCorruptDataErr = -1702
+weProtocolErr = -603
+weUndefinedSelectorErr = -50
+weFlushLeft = -2
+weFlushRight = -1
+weFlushDefault = 0
+weCenter = 1
+weJustify = 2
+weDirDefault = 1
+weDirRightToLeft = -1
+weDirLeftToRight = 0
+weDoFont = 0x0001
+weDoFace = 0x0002
+weDoSize = 0x0004
+weDoColor = 0x0008
+weDoAll = weDoFont | weDoFace | weDoSize | weDoColor
+weDoAddSize = 0x0010
+weDoToggleFace = 0x0020
+weDoReplaceFace = 0x0040
+weDoPreserveScript = 0x0080
+weDoExtractSubscript = 0x0100
+weDoFaceMask = 0x0200
+weDoDirection = 0x00000001
+weDoAlignment = 0x00000002
+weDoLeftIndent = 0x00000004
+weDoRightIndent = 0x00000008
+weDoFirstLineIndent = 0x00000010
+weDoLineSpacing = 0x00000020
+weDoSpaceBefore = 0x00000040
+weDoSpaceAfter = 0x00000080
+weDoBottomBorderStyle = 0x00000400
+kLeadingEdge = -1
+kTrailingEdge = 0
+kObjectEdge = 2
+weFAutoScroll = 0
+weFOutlineHilite = 2
+weFReadOnly = 5
+weFUndo = 6
+weFIntCutAndPaste = 7
+weFDragAndDrop = 8
+weFInhibitRecal = 9
+weFUseTempMem = 10
+weFDrawOffscreen = 11
+weFInhibitRedraw = 12
+weFMonoStyled = 13
+weFMultipleUndo = 14
+weFNoKeyboardSync = 29
+weFInhibitICSupport = 30
+weFInhibitColor = 31
+weDoAutoScroll = 1 << weFAutoScroll
+weDoOutlineHilite = 1 << weFOutlineHilite
+weDoReadOnly = 1 << weFReadOnly
+weDoUndo = 1 << weFUndo
+weDoIntCutAndPaste = 1 << weFIntCutAndPaste
+weDoDragAndDrop = 1 << weFDragAndDrop
+weDoInhibitRecal = 1 << weFInhibitRecal
+weDoUseTempMem = 1 << weFUseTempMem
+weDoDrawOffscreen = 1 << weFDrawOffscreen
+weDoInhibitRedraw = 1 << weFInhibitRedraw
+weDoMonoStyled = 1 << weFMonoStyled
+weDoMultipleUndo = 1 << weFMultipleUndo
+weDoNoKeyboardSync = 1 << weFNoKeyboardSync
+weDoInhibitICSupport = 1 << weFInhibitICSupport
+# weDoInhibitColor = 1 << weFInhibitColor
+weBitToggle = -2
+weBitTest = -1
+weBitClear = 0
+weBitSet = 1
+weLowerCase = 0
+weUpperCase = 1
+weFindWholeWords = 0x00000001
+weFindCaseInsensitive = 0x00000002
+weFindDiacriticalInsensitive = 0x00000004
+wePutIntCutAndPaste = 0x00000001
+wePutAddToTypingSequence = 0x00000002
+wePutDetectUnicodeBOM = 0x00000200
+weStreamDestinationKindMask = 0x000000FF
+weStreamIncludeObjects = 0x00000100
+weGetAddUnicodeBOM = 0x00000200
+weGetLittleEndian = 0x00000400
+weTagFontFamily = FOUR_CHAR_CODE('font')
+weTagFontSize = FOUR_CHAR_CODE('ptsz')
+weTagPlain = FOUR_CHAR_CODE('plan')
+weTagBold = FOUR_CHAR_CODE('bold')
+weTagItalic = FOUR_CHAR_CODE('ital')
+weTagUnderline = FOUR_CHAR_CODE('undl')
+weTagOutline = FOUR_CHAR_CODE('outl')
+weTagShadow = FOUR_CHAR_CODE('shad')
+weTagCondensed = FOUR_CHAR_CODE('cond')
+weTagExtended = FOUR_CHAR_CODE('pexp')
+weTagStrikethrough = FOUR_CHAR_CODE('strk')
+weTagTextColor = FOUR_CHAR_CODE('colr')
+weTagBackgroundColor = FOUR_CHAR_CODE('pbcl')
+weTagTransferMode = FOUR_CHAR_CODE('pptm')
+weTagVerticalShift = FOUR_CHAR_CODE('xshf')
+weTagAlignment = FOUR_CHAR_CODE('pjst')
+weTagDirection = FOUR_CHAR_CODE('LDIR')
+weTagLineSpacing = FOUR_CHAR_CODE('ledg')
+weTagLeftIndent = FOUR_CHAR_CODE('lein')
+weTagRightIndent = FOUR_CHAR_CODE('riin')
+weTagFirstLineIndent = FOUR_CHAR_CODE('fidt')
+weTagSpaceBefore = FOUR_CHAR_CODE('spbe')
+weTagSpaceAfter = FOUR_CHAR_CODE('spaf')
+weTagBottomBorderStyle = FOUR_CHAR_CODE('BBRD')
+weTagForceFontFamily = FOUR_CHAR_CODE('ffnt')
+weTagAddFontSize = FOUR_CHAR_CODE('+siz')
+weTagAddVerticalShift = FOUR_CHAR_CODE('+shf')
+weTagTextEncoding = FOUR_CHAR_CODE('ptxe')
+weTagQDStyles = FOUR_CHAR_CODE('qdst')
+weTagTETextStyle = FOUR_CHAR_CODE('tets')
+weTagAlignmentDefault = FOUR_CHAR_CODE('deft')
+weTagAlignmentLeft = FOUR_CHAR_CODE('left')
+weTagAlignmentCenter = FOUR_CHAR_CODE('cent')
+weTagAlignmentRight = FOUR_CHAR_CODE('rght')
+weTagAlignmentFull = FOUR_CHAR_CODE('full')
+weTagDirectionDefault = FOUR_CHAR_CODE('deft')
+weTagDirectionLeftToRight = FOUR_CHAR_CODE('L->R')
+weTagDirectionRightToLeft = FOUR_CHAR_CODE('R->L')
+weTagBorderStyleNone = FOUR_CHAR_CODE('NONE')
+weTagBorderStyleThin = FOUR_CHAR_CODE('SLDL')
+weTagBorderStyleDotted = FOUR_CHAR_CODE('DTDL')
+weTagBorderStyleThick = FOUR_CHAR_CODE('THKL')
+weLineSpacingSingle = 0x00000000
+weLineSpacingOneAndHalf = 0x00008000
+weLineSpacingDouble = 0x00010000
+weCharByteHook = FOUR_CHAR_CODE('cbyt')
+weCharToPixelHook = FOUR_CHAR_CODE('c2p ')
+weCharTypeHook = FOUR_CHAR_CODE('ctyp')
+weClickLoop = FOUR_CHAR_CODE('clik')
+weCurrentDrag = FOUR_CHAR_CODE('drag')
+weDrawTextHook = FOUR_CHAR_CODE('draw')
+weDrawTSMHiliteHook = FOUR_CHAR_CODE('dtsm')
+weEraseHook = FOUR_CHAR_CODE('eras')
+weFontFamilyToNameHook = FOUR_CHAR_CODE('ff2n')
+weFontNameToFamilyHook = FOUR_CHAR_CODE('fn2f')
+weFluxProc = FOUR_CHAR_CODE('flux')
+weHiliteDropAreaHook = FOUR_CHAR_CODE('hidr')
+weLineBreakHook = FOUR_CHAR_CODE('lbrk')
+wePixelToCharHook = FOUR_CHAR_CODE('p2c ')
+wePort = FOUR_CHAR_CODE('port')
+wePreTrackDragHook = FOUR_CHAR_CODE('ptrk')
+weRefCon = FOUR_CHAR_CODE('refc')
+weScrollProc = FOUR_CHAR_CODE('scrl')
+weText = FOUR_CHAR_CODE('text')
+weTranslateDragHook = FOUR_CHAR_CODE('xdrg')
+weTranslucencyThreshold = FOUR_CHAR_CODE('tluc')
+weTSMDocumentID = FOUR_CHAR_CODE('tsmd')
+weTSMPreUpdate = FOUR_CHAR_CODE('pre ')
+weTSMPostUpdate = FOUR_CHAR_CODE('post')
+weURLHint = FOUR_CHAR_CODE('urlh')
+weWordBreakHook = FOUR_CHAR_CODE('wbrk')
+weNewHandler = FOUR_CHAR_CODE('new ')
+weDisposeHandler = FOUR_CHAR_CODE('free')
+weDrawHandler = FOUR_CHAR_CODE('draw')
+weClickHandler = FOUR_CHAR_CODE('clik')
+weStreamHandler = FOUR_CHAR_CODE('strm')
+weHoverHandler = FOUR_CHAR_CODE('hovr')
+kTypeText = FOUR_CHAR_CODE('TEXT')
+kTypeStyles = FOUR_CHAR_CODE('styl')
+kTypeSoup = FOUR_CHAR_CODE('SOUP')
+kTypeFontTable = FOUR_CHAR_CODE('FISH')
+kTypeParaFormat = FOUR_CHAR_CODE('WEpf')
+kTypeRulerScrap = FOUR_CHAR_CODE('WEru')
+kTypeCharFormat = FOUR_CHAR_CODE('WEcf')
+kTypeStyleScrap = FOUR_CHAR_CODE('WEst')
+kTypeUnicodeText = FOUR_CHAR_CODE('utxt')
+kTypeUTF8Text = FOUR_CHAR_CODE('UTF8')
+kTypeStyledText = FOUR_CHAR_CODE('STXT')
+weAKNone = 0
+weAKUnspecified = 1
+weAKTyping = 2
+weAKCut = 3
+weAKPaste = 4
+weAKClear = 5
+weAKDrag = 6
+weAKSetStyle = 7
+weAKSetRuler = 8
+weAKBackspace = 9
+weAKFwdDelete = 10
+weAKCaseChange = 11
+weAKObjectChange = 12
+weToScrap = 0
+weToDrag = 1
+weToSoup = 2
+weMouseEnter = 0
+weMouseWithin = 1
+weMouseLeave = 2
+kCurrentSelection = -1
+kNullStyle = -2
similarity index 100%
rename from Mac/Lib/aepack.py
rename to Lib/plat-mac/aepack.py
similarity index 100%
rename from Mac/Lib/aetools.py
rename to Lib/plat-mac/aetools.py
similarity index 100%
rename from Mac/Lib/aetypes.py
rename to Lib/plat-mac/aetypes.py
similarity index 100%
rename from Mac/Lib/cfmfile.py
rename to Lib/plat-mac/cfmfile.py
similarity index 100%
rename from Mac/Lib/errors.rsrc
rename to Lib/plat-mac/errors.rsrc
similarity index 100%
rename from Mac/Lib/ic.py
rename to Lib/plat-mac/ic.py
similarity index 100%
rename from Mac/Lib/icopen.py
rename to Lib/plat-mac/icopen.py
similarity index 100%
rename from Mac/Lib/macfs.py
rename to Lib/plat-mac/macfs.py
similarity index 100%
rename from Mac/Lib/plistlib.py
rename to Lib/plat-mac/plistlib.py