From 60087fb45092d9c199cea162e58d9193c7c1558c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 30 Dec 2002 22:04:23 +0000 Subject: [PATCH] Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both 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). --- {Mac/Lib => Lib/plat-mac}/Audio_mac.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/AE.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/AH.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Alias.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Aliases.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/App.py | 0 .../Lib => Lib/plat-mac}/Carbon/Appearance.py | 0 .../plat-mac}/Carbon/AppleEvents.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/AppleHelp.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/CF.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/CG.py | 0 .../plat-mac}/Carbon/CarbonEvents.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/CarbonEvt.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Cm.py | 0 .../Lib => Lib/plat-mac}/Carbon/Components.py | 0 .../plat-mac}/Carbon/ControlAccessor.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Controls.py | 0 .../plat-mac}/Carbon/CoreFoundation.py | 0 .../plat-mac}/Carbon/CoreGraphics.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Ctl.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Dialogs.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Dlg.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Drag.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Dragconst.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Events.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Evt.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/File.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Files.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Fm.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Folder.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Folders.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Fonts.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Help.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/IBCarbon.py | 0 .../plat-mac}/Carbon/IBCarbonRuntime.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Icn.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Icons.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/List.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Lists.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/MacHelp.py | 0 .../plat-mac}/Carbon/MacTextEditor.py | 0 .../Lib => Lib/plat-mac}/Carbon/MediaDescr.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Menu.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Menus.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Mlte.py | 0 .../plat-mac}/Carbon/QDOffscreen.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Qd.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Qdoffs.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Qt.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/QuickDraw.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/QuickTime.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Res.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Resources.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Scrap.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Snd.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Sndihooks.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Sound.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/TE.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/TextEdit.py | 0 .../Lib => Lib/plat-mac/Carbon}/WASTEconst.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Win.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/Windows.py | 0 {Mac/Lib => Lib/plat-mac}/Carbon/__init__.py | 0 {Mac/Lib => Lib/plat-mac}/EasyDialogs.py | 0 {Mac/Lib => Lib/plat-mac}/FrameWork.py | 0 {Mac/Lib => Lib/plat-mac}/MiniAEFrame.py | 0 {Mac/Lib => Lib/plat-mac}/PixMapWrapper.py | 0 Lib/plat-mac/WASTEconst.py | 207 ++++++++++++++++++ {Mac/Lib => Lib/plat-mac}/aepack.py | 0 {Mac/Lib => Lib/plat-mac}/aetools.py | 0 {Mac/Lib => Lib/plat-mac}/aetypes.py | 0 {Mac/Lib => Lib/plat-mac}/applesingle.py | 0 {Mac/Lib => Lib/plat-mac}/appletrawmain.py | 0 {Mac/Lib => Lib/plat-mac}/appletrunner.py | 0 {Mac/Lib => Lib/plat-mac}/argvemulator.py | 0 {Mac/Lib => Lib/plat-mac}/bgenlocations.py | 0 {Mac/Lib => Lib/plat-mac}/buildtools.py | 0 {Mac/Lib => Lib/plat-mac}/bundlebuilder.py | 0 {Mac/Lib => Lib/plat-mac}/cfmfile.py | 0 {Mac/Lib => Lib/plat-mac}/dialogs.rsrc | Bin {Mac/Lib => Lib/plat-mac}/errors.rsrc | Bin {Mac/Lib => Lib/plat-mac}/findertools.py | 0 {Mac/Lib => Lib/plat-mac}/ic.py | 0 {Mac/Lib => Lib/plat-mac}/icopen.py | 0 .../CodeWarrior/CodeWarrior_suite.py | 0 .../CodeWarrior/Metrowerks_Shell_Suite.py | 0 .../CodeWarrior/Required.py | 0 .../CodeWarrior/Standard_Suite.py | 0 .../CodeWarrior/__init__.py | 0 .../Explorer/Microsoft_Internet_Explorer.py | 0 .../Explorer/Netscape_Suite.py | 0 .../Explorer/Required_Suite.py | 0 .../Explorer/Standard_Suite.py | 0 .../lib-scriptpackages/Explorer/URL_Suite.py | 0 .../Explorer/Web_Browser_Suite.py | 0 .../lib-scriptpackages/Explorer/__init__.py | 0 .../Finder/Containers_and_folders.py | 0 .../Finder/Earlier_terms.py | 0 .../lib-scriptpackages/Finder/Enumerations.py | 0 .../Finder/Files_and_suitcases.py | 0 .../Finder/Finder_Basics.py | 0 .../lib-scriptpackages/Finder/Finder_items.py | 0 .../Finder/Obsolete_terms.py | 0 .../Finder/Process_classes.py | 0 .../Finder/Standard_Suite.py | 0 .../Finder/Type_Definitions.py | 0 .../Finder/Window_classes.py | 0 .../lib-scriptpackages/Finder/__init__.py | 0 .../Netscape/Mozilla_suite.py | 0 .../lib-scriptpackages/Netscape/PowerPlant.py | 0 .../Netscape/Required_suite.py | 0 .../Netscape/Standard_Suite.py | 0 .../Netscape/Standard_URL_suite.py | 0 .../lib-scriptpackages/Netscape/Text.py | 0 .../Netscape/WorldWideWeb_suite.py | 0 .../lib-scriptpackages/Netscape/__init__.py | 0 .../StdSuites/AppleScript_Suite.py | 0 .../StdSuites/Macintosh_Connectivity_Clas.py | 0 .../StdSuites/QuickDraw_Graphics_Suite.py | 0 .../StdSuites/QuickDraw_Graphics_Suppleme.py | 0 .../StdSuites/Required_Suite.py | 0 .../StdSuites/Standard_Suite.py | 0 .../StdSuites/Table_Suite.py | 0 .../StdSuites/Text_Suite.py | 0 .../StdSuites/Type_Names_Suite.py | 0 .../lib-scriptpackages/StdSuites/__init__.py | 0 .../Terminal/Terminal_Suite.py | 0 .../lib-scriptpackages/Terminal/__init__.py | 0 .../_builtinSuites/__init__.py | 0 .../_builtinSuites/builtin_Suite.py | 0 {Mac/Lib => Lib/plat-mac}/macerrors.py | 0 {Mac/Lib => Lib/plat-mac}/macfs.py | 0 {Mac/Lib => Lib/plat-mac}/macostools.py | 0 {Mac/Lib => Lib/plat-mac}/macresource.py | 0 {Mac/Lib => Lib/plat-mac}/plistlib.py | 0 {Mac/Lib => Lib/plat-mac}/videoreader.py | 0 136 files changed, 207 insertions(+) rename {Mac/Lib => Lib/plat-mac}/Audio_mac.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/AE.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/AH.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Alias.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Aliases.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/App.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Appearance.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/AppleEvents.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/AppleHelp.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/CF.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/CG.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/CarbonEvents.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/CarbonEvt.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Cm.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Components.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/ControlAccessor.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Controls.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/CoreFoundation.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/CoreGraphics.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Ctl.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Dialogs.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Dlg.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Drag.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Dragconst.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Events.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Evt.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/File.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Files.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Fm.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Folder.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Folders.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Fonts.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Help.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/IBCarbon.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/IBCarbonRuntime.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Icn.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Icons.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/List.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Lists.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/MacHelp.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/MacTextEditor.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/MediaDescr.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Menu.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Menus.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Mlte.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/QDOffscreen.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Qd.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Qdoffs.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Qt.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/QuickDraw.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/QuickTime.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Res.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Resources.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Scrap.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Snd.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Sndihooks.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Sound.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/TE.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/TextEdit.py (100%) rename {Mac/Lib => Lib/plat-mac/Carbon}/WASTEconst.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Win.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/Windows.py (100%) rename {Mac/Lib => Lib/plat-mac}/Carbon/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/EasyDialogs.py (100%) rename {Mac/Lib => Lib/plat-mac}/FrameWork.py (100%) rename {Mac/Lib => Lib/plat-mac}/MiniAEFrame.py (100%) rename {Mac/Lib => Lib/plat-mac}/PixMapWrapper.py (100%) create mode 100644 Lib/plat-mac/WASTEconst.py rename {Mac/Lib => Lib/plat-mac}/aepack.py (100%) rename {Mac/Lib => Lib/plat-mac}/aetools.py (100%) rename {Mac/Lib => Lib/plat-mac}/aetypes.py (100%) rename {Mac/Lib => Lib/plat-mac}/applesingle.py (100%) rename {Mac/Lib => Lib/plat-mac}/appletrawmain.py (100%) rename {Mac/Lib => Lib/plat-mac}/appletrunner.py (100%) rename {Mac/Lib => Lib/plat-mac}/argvemulator.py (100%) rename {Mac/Lib => Lib/plat-mac}/bgenlocations.py (100%) rename {Mac/Lib => Lib/plat-mac}/buildtools.py (100%) rename {Mac/Lib => Lib/plat-mac}/bundlebuilder.py (100%) rename {Mac/Lib => Lib/plat-mac}/cfmfile.py (100%) rename {Mac/Lib => Lib/plat-mac}/dialogs.rsrc (100%) rename {Mac/Lib => Lib/plat-mac}/errors.rsrc (100%) rename {Mac/Lib => Lib/plat-mac}/findertools.py (100%) rename {Mac/Lib => Lib/plat-mac}/ic.py (100%) rename {Mac/Lib => Lib/plat-mac}/icopen.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/CodeWarrior/Required.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/CodeWarrior/Standard_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/CodeWarrior/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/Netscape_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/Required_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/Standard_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/URL_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/Web_Browser_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Explorer/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Containers_and_folders.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Earlier_terms.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Enumerations.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Files_and_suitcases.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Finder_Basics.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Finder_items.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Obsolete_terms.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Process_classes.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Standard_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Type_Definitions.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/Window_classes.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Finder/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/Mozilla_suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/PowerPlant.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/Required_suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/Standard_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/Standard_URL_suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/Text.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/WorldWideWeb_suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Netscape/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/AppleScript_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/Required_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/Standard_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/Table_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/Text_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/Type_Names_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/StdSuites/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Terminal/Terminal_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/Terminal/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/_builtinSuites/__init__.py (100%) rename {Mac/Lib => Lib/plat-mac}/lib-scriptpackages/_builtinSuites/builtin_Suite.py (100%) rename {Mac/Lib => Lib/plat-mac}/macerrors.py (100%) rename {Mac/Lib => Lib/plat-mac}/macfs.py (100%) rename {Mac/Lib => Lib/plat-mac}/macostools.py (100%) rename {Mac/Lib => Lib/plat-mac}/macresource.py (100%) rename {Mac/Lib => Lib/plat-mac}/plistlib.py (100%) rename {Mac/Lib => Lib/plat-mac}/videoreader.py (100%) diff --git a/Mac/Lib/Audio_mac.py b/Lib/plat-mac/Audio_mac.py similarity index 100% rename from Mac/Lib/Audio_mac.py rename to Lib/plat-mac/Audio_mac.py diff --git a/Mac/Lib/Carbon/AE.py b/Lib/plat-mac/Carbon/AE.py similarity index 100% rename from Mac/Lib/Carbon/AE.py rename to Lib/plat-mac/Carbon/AE.py diff --git a/Mac/Lib/Carbon/AH.py b/Lib/plat-mac/Carbon/AH.py similarity index 100% rename from Mac/Lib/Carbon/AH.py rename to Lib/plat-mac/Carbon/AH.py diff --git a/Mac/Lib/Carbon/Alias.py b/Lib/plat-mac/Carbon/Alias.py similarity index 100% rename from Mac/Lib/Carbon/Alias.py rename to Lib/plat-mac/Carbon/Alias.py diff --git a/Mac/Lib/Carbon/Aliases.py b/Lib/plat-mac/Carbon/Aliases.py similarity index 100% rename from Mac/Lib/Carbon/Aliases.py rename to Lib/plat-mac/Carbon/Aliases.py diff --git a/Mac/Lib/Carbon/App.py b/Lib/plat-mac/Carbon/App.py similarity index 100% rename from Mac/Lib/Carbon/App.py rename to Lib/plat-mac/Carbon/App.py diff --git a/Mac/Lib/Carbon/Appearance.py b/Lib/plat-mac/Carbon/Appearance.py similarity index 100% rename from Mac/Lib/Carbon/Appearance.py rename to Lib/plat-mac/Carbon/Appearance.py diff --git a/Mac/Lib/Carbon/AppleEvents.py b/Lib/plat-mac/Carbon/AppleEvents.py similarity index 100% rename from Mac/Lib/Carbon/AppleEvents.py rename to Lib/plat-mac/Carbon/AppleEvents.py diff --git a/Mac/Lib/Carbon/AppleHelp.py b/Lib/plat-mac/Carbon/AppleHelp.py similarity index 100% rename from Mac/Lib/Carbon/AppleHelp.py rename to Lib/plat-mac/Carbon/AppleHelp.py diff --git a/Mac/Lib/Carbon/CF.py b/Lib/plat-mac/Carbon/CF.py similarity index 100% rename from Mac/Lib/Carbon/CF.py rename to Lib/plat-mac/Carbon/CF.py diff --git a/Mac/Lib/Carbon/CG.py b/Lib/plat-mac/Carbon/CG.py similarity index 100% rename from Mac/Lib/Carbon/CG.py rename to Lib/plat-mac/Carbon/CG.py diff --git a/Mac/Lib/Carbon/CarbonEvents.py b/Lib/plat-mac/Carbon/CarbonEvents.py similarity index 100% rename from Mac/Lib/Carbon/CarbonEvents.py rename to Lib/plat-mac/Carbon/CarbonEvents.py diff --git a/Mac/Lib/Carbon/CarbonEvt.py b/Lib/plat-mac/Carbon/CarbonEvt.py similarity index 100% rename from Mac/Lib/Carbon/CarbonEvt.py rename to Lib/plat-mac/Carbon/CarbonEvt.py diff --git a/Mac/Lib/Carbon/Cm.py b/Lib/plat-mac/Carbon/Cm.py similarity index 100% rename from Mac/Lib/Carbon/Cm.py rename to Lib/plat-mac/Carbon/Cm.py diff --git a/Mac/Lib/Carbon/Components.py b/Lib/plat-mac/Carbon/Components.py similarity index 100% rename from Mac/Lib/Carbon/Components.py rename to Lib/plat-mac/Carbon/Components.py diff --git a/Mac/Lib/Carbon/ControlAccessor.py b/Lib/plat-mac/Carbon/ControlAccessor.py similarity index 100% rename from Mac/Lib/Carbon/ControlAccessor.py rename to Lib/plat-mac/Carbon/ControlAccessor.py diff --git a/Mac/Lib/Carbon/Controls.py b/Lib/plat-mac/Carbon/Controls.py similarity index 100% rename from Mac/Lib/Carbon/Controls.py rename to Lib/plat-mac/Carbon/Controls.py diff --git a/Mac/Lib/Carbon/CoreFoundation.py b/Lib/plat-mac/Carbon/CoreFoundation.py similarity index 100% rename from Mac/Lib/Carbon/CoreFoundation.py rename to Lib/plat-mac/Carbon/CoreFoundation.py diff --git a/Mac/Lib/Carbon/CoreGraphics.py b/Lib/plat-mac/Carbon/CoreGraphics.py similarity index 100% rename from Mac/Lib/Carbon/CoreGraphics.py rename to Lib/plat-mac/Carbon/CoreGraphics.py diff --git a/Mac/Lib/Carbon/Ctl.py b/Lib/plat-mac/Carbon/Ctl.py similarity index 100% rename from Mac/Lib/Carbon/Ctl.py rename to Lib/plat-mac/Carbon/Ctl.py diff --git a/Mac/Lib/Carbon/Dialogs.py b/Lib/plat-mac/Carbon/Dialogs.py similarity index 100% rename from Mac/Lib/Carbon/Dialogs.py rename to Lib/plat-mac/Carbon/Dialogs.py diff --git a/Mac/Lib/Carbon/Dlg.py b/Lib/plat-mac/Carbon/Dlg.py similarity index 100% rename from Mac/Lib/Carbon/Dlg.py rename to Lib/plat-mac/Carbon/Dlg.py diff --git a/Mac/Lib/Carbon/Drag.py b/Lib/plat-mac/Carbon/Drag.py similarity index 100% rename from Mac/Lib/Carbon/Drag.py rename to Lib/plat-mac/Carbon/Drag.py diff --git a/Mac/Lib/Carbon/Dragconst.py b/Lib/plat-mac/Carbon/Dragconst.py similarity index 100% rename from Mac/Lib/Carbon/Dragconst.py rename to Lib/plat-mac/Carbon/Dragconst.py diff --git a/Mac/Lib/Carbon/Events.py b/Lib/plat-mac/Carbon/Events.py similarity index 100% rename from Mac/Lib/Carbon/Events.py rename to Lib/plat-mac/Carbon/Events.py diff --git a/Mac/Lib/Carbon/Evt.py b/Lib/plat-mac/Carbon/Evt.py similarity index 100% rename from Mac/Lib/Carbon/Evt.py rename to Lib/plat-mac/Carbon/Evt.py diff --git a/Mac/Lib/Carbon/File.py b/Lib/plat-mac/Carbon/File.py similarity index 100% rename from Mac/Lib/Carbon/File.py rename to Lib/plat-mac/Carbon/File.py diff --git a/Mac/Lib/Carbon/Files.py b/Lib/plat-mac/Carbon/Files.py similarity index 100% rename from Mac/Lib/Carbon/Files.py rename to Lib/plat-mac/Carbon/Files.py diff --git a/Mac/Lib/Carbon/Fm.py b/Lib/plat-mac/Carbon/Fm.py similarity index 100% rename from Mac/Lib/Carbon/Fm.py rename to Lib/plat-mac/Carbon/Fm.py diff --git a/Mac/Lib/Carbon/Folder.py b/Lib/plat-mac/Carbon/Folder.py similarity index 100% rename from Mac/Lib/Carbon/Folder.py rename to Lib/plat-mac/Carbon/Folder.py diff --git a/Mac/Lib/Carbon/Folders.py b/Lib/plat-mac/Carbon/Folders.py similarity index 100% rename from Mac/Lib/Carbon/Folders.py rename to Lib/plat-mac/Carbon/Folders.py diff --git a/Mac/Lib/Carbon/Fonts.py b/Lib/plat-mac/Carbon/Fonts.py similarity index 100% rename from Mac/Lib/Carbon/Fonts.py rename to Lib/plat-mac/Carbon/Fonts.py diff --git a/Mac/Lib/Carbon/Help.py b/Lib/plat-mac/Carbon/Help.py similarity index 100% rename from Mac/Lib/Carbon/Help.py rename to Lib/plat-mac/Carbon/Help.py diff --git a/Mac/Lib/Carbon/IBCarbon.py b/Lib/plat-mac/Carbon/IBCarbon.py similarity index 100% rename from Mac/Lib/Carbon/IBCarbon.py rename to Lib/plat-mac/Carbon/IBCarbon.py diff --git a/Mac/Lib/Carbon/IBCarbonRuntime.py b/Lib/plat-mac/Carbon/IBCarbonRuntime.py similarity index 100% rename from Mac/Lib/Carbon/IBCarbonRuntime.py rename to Lib/plat-mac/Carbon/IBCarbonRuntime.py diff --git a/Mac/Lib/Carbon/Icn.py b/Lib/plat-mac/Carbon/Icn.py similarity index 100% rename from Mac/Lib/Carbon/Icn.py rename to Lib/plat-mac/Carbon/Icn.py diff --git a/Mac/Lib/Carbon/Icons.py b/Lib/plat-mac/Carbon/Icons.py similarity index 100% rename from Mac/Lib/Carbon/Icons.py rename to Lib/plat-mac/Carbon/Icons.py diff --git a/Mac/Lib/Carbon/List.py b/Lib/plat-mac/Carbon/List.py similarity index 100% rename from Mac/Lib/Carbon/List.py rename to Lib/plat-mac/Carbon/List.py diff --git a/Mac/Lib/Carbon/Lists.py b/Lib/plat-mac/Carbon/Lists.py similarity index 100% rename from Mac/Lib/Carbon/Lists.py rename to Lib/plat-mac/Carbon/Lists.py diff --git a/Mac/Lib/Carbon/MacHelp.py b/Lib/plat-mac/Carbon/MacHelp.py similarity index 100% rename from Mac/Lib/Carbon/MacHelp.py rename to Lib/plat-mac/Carbon/MacHelp.py diff --git a/Mac/Lib/Carbon/MacTextEditor.py b/Lib/plat-mac/Carbon/MacTextEditor.py similarity index 100% rename from Mac/Lib/Carbon/MacTextEditor.py rename to Lib/plat-mac/Carbon/MacTextEditor.py diff --git a/Mac/Lib/Carbon/MediaDescr.py b/Lib/plat-mac/Carbon/MediaDescr.py similarity index 100% rename from Mac/Lib/Carbon/MediaDescr.py rename to Lib/plat-mac/Carbon/MediaDescr.py diff --git a/Mac/Lib/Carbon/Menu.py b/Lib/plat-mac/Carbon/Menu.py similarity index 100% rename from Mac/Lib/Carbon/Menu.py rename to Lib/plat-mac/Carbon/Menu.py diff --git a/Mac/Lib/Carbon/Menus.py b/Lib/plat-mac/Carbon/Menus.py similarity index 100% rename from Mac/Lib/Carbon/Menus.py rename to Lib/plat-mac/Carbon/Menus.py diff --git a/Mac/Lib/Carbon/Mlte.py b/Lib/plat-mac/Carbon/Mlte.py similarity index 100% rename from Mac/Lib/Carbon/Mlte.py rename to Lib/plat-mac/Carbon/Mlte.py diff --git a/Mac/Lib/Carbon/QDOffscreen.py b/Lib/plat-mac/Carbon/QDOffscreen.py similarity index 100% rename from Mac/Lib/Carbon/QDOffscreen.py rename to Lib/plat-mac/Carbon/QDOffscreen.py diff --git a/Mac/Lib/Carbon/Qd.py b/Lib/plat-mac/Carbon/Qd.py similarity index 100% rename from Mac/Lib/Carbon/Qd.py rename to Lib/plat-mac/Carbon/Qd.py diff --git a/Mac/Lib/Carbon/Qdoffs.py b/Lib/plat-mac/Carbon/Qdoffs.py similarity index 100% rename from Mac/Lib/Carbon/Qdoffs.py rename to Lib/plat-mac/Carbon/Qdoffs.py diff --git a/Mac/Lib/Carbon/Qt.py b/Lib/plat-mac/Carbon/Qt.py similarity index 100% rename from Mac/Lib/Carbon/Qt.py rename to Lib/plat-mac/Carbon/Qt.py diff --git a/Mac/Lib/Carbon/QuickDraw.py b/Lib/plat-mac/Carbon/QuickDraw.py similarity index 100% rename from Mac/Lib/Carbon/QuickDraw.py rename to Lib/plat-mac/Carbon/QuickDraw.py diff --git a/Mac/Lib/Carbon/QuickTime.py b/Lib/plat-mac/Carbon/QuickTime.py similarity index 100% rename from Mac/Lib/Carbon/QuickTime.py rename to Lib/plat-mac/Carbon/QuickTime.py diff --git a/Mac/Lib/Carbon/Res.py b/Lib/plat-mac/Carbon/Res.py similarity index 100% rename from Mac/Lib/Carbon/Res.py rename to Lib/plat-mac/Carbon/Res.py diff --git a/Mac/Lib/Carbon/Resources.py b/Lib/plat-mac/Carbon/Resources.py similarity index 100% rename from Mac/Lib/Carbon/Resources.py rename to Lib/plat-mac/Carbon/Resources.py diff --git a/Mac/Lib/Carbon/Scrap.py b/Lib/plat-mac/Carbon/Scrap.py similarity index 100% rename from Mac/Lib/Carbon/Scrap.py rename to Lib/plat-mac/Carbon/Scrap.py diff --git a/Mac/Lib/Carbon/Snd.py b/Lib/plat-mac/Carbon/Snd.py similarity index 100% rename from Mac/Lib/Carbon/Snd.py rename to Lib/plat-mac/Carbon/Snd.py diff --git a/Mac/Lib/Carbon/Sndihooks.py b/Lib/plat-mac/Carbon/Sndihooks.py similarity index 100% rename from Mac/Lib/Carbon/Sndihooks.py rename to Lib/plat-mac/Carbon/Sndihooks.py diff --git a/Mac/Lib/Carbon/Sound.py b/Lib/plat-mac/Carbon/Sound.py similarity index 100% rename from Mac/Lib/Carbon/Sound.py rename to Lib/plat-mac/Carbon/Sound.py diff --git a/Mac/Lib/Carbon/TE.py b/Lib/plat-mac/Carbon/TE.py similarity index 100% rename from Mac/Lib/Carbon/TE.py rename to Lib/plat-mac/Carbon/TE.py diff --git a/Mac/Lib/Carbon/TextEdit.py b/Lib/plat-mac/Carbon/TextEdit.py similarity index 100% rename from Mac/Lib/Carbon/TextEdit.py rename to Lib/plat-mac/Carbon/TextEdit.py diff --git a/Mac/Lib/WASTEconst.py b/Lib/plat-mac/Carbon/WASTEconst.py similarity index 100% rename from Mac/Lib/WASTEconst.py rename to Lib/plat-mac/Carbon/WASTEconst.py diff --git a/Mac/Lib/Carbon/Win.py b/Lib/plat-mac/Carbon/Win.py similarity index 100% rename from Mac/Lib/Carbon/Win.py rename to Lib/plat-mac/Carbon/Win.py diff --git a/Mac/Lib/Carbon/Windows.py b/Lib/plat-mac/Carbon/Windows.py similarity index 100% rename from Mac/Lib/Carbon/Windows.py rename to Lib/plat-mac/Carbon/Windows.py diff --git a/Mac/Lib/Carbon/__init__.py b/Lib/plat-mac/Carbon/__init__.py similarity index 100% rename from Mac/Lib/Carbon/__init__.py rename to Lib/plat-mac/Carbon/__init__.py diff --git a/Mac/Lib/EasyDialogs.py b/Lib/plat-mac/EasyDialogs.py similarity index 100% rename from Mac/Lib/EasyDialogs.py rename to Lib/plat-mac/EasyDialogs.py diff --git a/Mac/Lib/FrameWork.py b/Lib/plat-mac/FrameWork.py similarity index 100% rename from Mac/Lib/FrameWork.py rename to Lib/plat-mac/FrameWork.py diff --git a/Mac/Lib/MiniAEFrame.py b/Lib/plat-mac/MiniAEFrame.py similarity index 100% rename from Mac/Lib/MiniAEFrame.py rename to Lib/plat-mac/MiniAEFrame.py diff --git a/Mac/Lib/PixMapWrapper.py b/Lib/plat-mac/PixMapWrapper.py similarity index 100% rename from Mac/Lib/PixMapWrapper.py rename to Lib/plat-mac/PixMapWrapper.py diff --git a/Lib/plat-mac/WASTEconst.py b/Lib/plat-mac/WASTEconst.py new file mode 100644 index 00000000000..f453338bbdf --- /dev/null +++ b/Lib/plat-mac/WASTEconst.py @@ -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 diff --git a/Mac/Lib/aepack.py b/Lib/plat-mac/aepack.py similarity index 100% rename from Mac/Lib/aepack.py rename to Lib/plat-mac/aepack.py diff --git a/Mac/Lib/aetools.py b/Lib/plat-mac/aetools.py similarity index 100% rename from Mac/Lib/aetools.py rename to Lib/plat-mac/aetools.py diff --git a/Mac/Lib/aetypes.py b/Lib/plat-mac/aetypes.py similarity index 100% rename from Mac/Lib/aetypes.py rename to Lib/plat-mac/aetypes.py diff --git a/Mac/Lib/applesingle.py b/Lib/plat-mac/applesingle.py similarity index 100% rename from Mac/Lib/applesingle.py rename to Lib/plat-mac/applesingle.py diff --git a/Mac/Lib/appletrawmain.py b/Lib/plat-mac/appletrawmain.py similarity index 100% rename from Mac/Lib/appletrawmain.py rename to Lib/plat-mac/appletrawmain.py diff --git a/Mac/Lib/appletrunner.py b/Lib/plat-mac/appletrunner.py similarity index 100% rename from Mac/Lib/appletrunner.py rename to Lib/plat-mac/appletrunner.py diff --git a/Mac/Lib/argvemulator.py b/Lib/plat-mac/argvemulator.py similarity index 100% rename from Mac/Lib/argvemulator.py rename to Lib/plat-mac/argvemulator.py diff --git a/Mac/Lib/bgenlocations.py b/Lib/plat-mac/bgenlocations.py similarity index 100% rename from Mac/Lib/bgenlocations.py rename to Lib/plat-mac/bgenlocations.py diff --git a/Mac/Lib/buildtools.py b/Lib/plat-mac/buildtools.py similarity index 100% rename from Mac/Lib/buildtools.py rename to Lib/plat-mac/buildtools.py diff --git a/Mac/Lib/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py similarity index 100% rename from Mac/Lib/bundlebuilder.py rename to Lib/plat-mac/bundlebuilder.py diff --git a/Mac/Lib/cfmfile.py b/Lib/plat-mac/cfmfile.py similarity index 100% rename from Mac/Lib/cfmfile.py rename to Lib/plat-mac/cfmfile.py diff --git a/Mac/Lib/dialogs.rsrc b/Lib/plat-mac/dialogs.rsrc similarity index 100% rename from Mac/Lib/dialogs.rsrc rename to Lib/plat-mac/dialogs.rsrc diff --git a/Mac/Lib/errors.rsrc b/Lib/plat-mac/errors.rsrc similarity index 100% rename from Mac/Lib/errors.rsrc rename to Lib/plat-mac/errors.rsrc diff --git a/Mac/Lib/findertools.py b/Lib/plat-mac/findertools.py similarity index 100% rename from Mac/Lib/findertools.py rename to Lib/plat-mac/findertools.py diff --git a/Mac/Lib/ic.py b/Lib/plat-mac/ic.py similarity index 100% rename from Mac/Lib/ic.py rename to Lib/plat-mac/ic.py diff --git a/Mac/Lib/icopen.py b/Lib/plat-mac/icopen.py similarity index 100% rename from Mac/Lib/icopen.py rename to Lib/plat-mac/icopen.py diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py b/Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py rename to Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py b/Lib/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py rename to Lib/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py b/Lib/plat-mac/lib-scriptpackages/CodeWarrior/Required.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py rename to Lib/plat-mac/lib-scriptpackages/CodeWarrior/Required.py diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py rename to Lib/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py b/Lib/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py rename to Lib/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/Netscape_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Netscape_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/Netscape_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/Netscape_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/Required_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/Required_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Standard_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/Standard_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/Standard_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/URL_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/URL_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/URL_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/URL_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/Web_Browser_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/Web_Browser_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Explorer/__init__.py b/Lib/plat-mac/lib-scriptpackages/Explorer/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Explorer/__init__.py rename to Lib/plat-mac/lib-scriptpackages/Explorer/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py b/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py b/Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py b/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Enumerations.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py b/Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py b/Lib/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py b/Lib/plat-mac/lib-scriptpackages/Finder/Finder_items.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Finder_items.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Finder_items.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py b/Lib/plat-mac/lib-scriptpackages/Finder/Obsolete_terms.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Obsolete_terms.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py b/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Process_classes.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py b/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py b/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/Window_classes.py rename to Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py diff --git a/Mac/Lib/lib-scriptpackages/Finder/__init__.py b/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Finder/__init__.py rename to Lib/plat-mac/lib-scriptpackages/Finder/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/Mozilla_suite.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py b/Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/PowerPlant.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/Required_suite.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/Standard_URL_suite.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Text.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/Text.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/Text.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py diff --git a/Mac/Lib/lib-scriptpackages/Netscape/__init__.py b/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Netscape/__init__.py rename to Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/__init__.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/StdSuites/__init__.py rename to Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py b/Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Terminal/Terminal_Suite.py rename to Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py diff --git a/Mac/Lib/lib-scriptpackages/Terminal/__init__.py b/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/Terminal/__init__.py rename to Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/_builtinSuites/__init__.py b/Lib/plat-mac/lib-scriptpackages/_builtinSuites/__init__.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/_builtinSuites/__init__.py rename to Lib/plat-mac/lib-scriptpackages/_builtinSuites/__init__.py diff --git a/Mac/Lib/lib-scriptpackages/_builtinSuites/builtin_Suite.py b/Lib/plat-mac/lib-scriptpackages/_builtinSuites/builtin_Suite.py similarity index 100% rename from Mac/Lib/lib-scriptpackages/_builtinSuites/builtin_Suite.py rename to Lib/plat-mac/lib-scriptpackages/_builtinSuites/builtin_Suite.py diff --git a/Mac/Lib/macerrors.py b/Lib/plat-mac/macerrors.py similarity index 100% rename from Mac/Lib/macerrors.py rename to Lib/plat-mac/macerrors.py diff --git a/Mac/Lib/macfs.py b/Lib/plat-mac/macfs.py similarity index 100% rename from Mac/Lib/macfs.py rename to Lib/plat-mac/macfs.py diff --git a/Mac/Lib/macostools.py b/Lib/plat-mac/macostools.py similarity index 100% rename from Mac/Lib/macostools.py rename to Lib/plat-mac/macostools.py diff --git a/Mac/Lib/macresource.py b/Lib/plat-mac/macresource.py similarity index 100% rename from Mac/Lib/macresource.py rename to Lib/plat-mac/macresource.py diff --git a/Mac/Lib/plistlib.py b/Lib/plat-mac/plistlib.py similarity index 100% rename from Mac/Lib/plistlib.py rename to Lib/plat-mac/plistlib.py diff --git a/Mac/Lib/videoreader.py b/Lib/plat-mac/videoreader.py similarity index 100% rename from Mac/Lib/videoreader.py rename to Lib/plat-mac/videoreader.py