]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
First stab at the launcher application. This will be run when the user
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 29 Jul 2002 21:36:35 +0000 (21:36 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 29 Jul 2002 21:36:35 +0000 (21:36 +0000)
commit3bbb617ca4195af7fb9ce5751a78dd6ca3d27e16
treef85ddc5832ff08baf4f9229acf772785027d7aca
parentc0f1e7749cba16273dfa0b0cec6c39406df9d7b6
First stab at the launcher application. This will be run when the user
doubleclicks a .py, .pyw or .pyc file. It runs the file by invoking the
relevant interpreter (either the command line Python in a terminal window
or a Python.app for GUI-based scripts). Interpreter to use and the options
to pass are settable through preferences.

If PythonLauncher wasn't running it does its thing for one script and exits.
If it was manually started before a dialog is presented where the user
can set the options to use, etc.

To be done:
- option-drag/doubleclick should always open the interactive dialog
- Terminal-window isn't done yet
- Should be reimplemented in Python, but pyobjc isn't part of the core.
- Various menu entries should be disabled.
24 files changed:
Mac/OSX/PythonLauncher/English.lproj/Credits.rtf [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/InfoPlist.strings [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/MainMenu.nib/classes.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/MainMenu.nib/info.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/MainMenu.nib/objects.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/MyDocument.nib/classes.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/MyDocument.nib/info.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/English.lproj/MyDocument.nib/objects.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/FileSettings.h [new file with mode: 0755]
Mac/OSX/PythonLauncher/FileSettings.m [new file with mode: 0755]
Mac/OSX/PythonLauncher/MyAppDelegate.h [new file with mode: 0644]
Mac/OSX/PythonLauncher/MyAppDelegate.m [new file with mode: 0644]
Mac/OSX/PythonLauncher/MyDocument.h [new file with mode: 0755]
Mac/OSX/PythonLauncher/MyDocument.m [new file with mode: 0755]
Mac/OSX/PythonLauncher/PreferenceWindow.nib/classes.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/PreferenceWindow.nib/info.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/PreferenceWindow.nib/objects.nib [new file with mode: 0644]
Mac/OSX/PythonLauncher/PreferencesWindowController.h [new file with mode: 0644]
Mac/OSX/PythonLauncher/PreferencesWindowController.m [new file with mode: 0644]
Mac/OSX/PythonLauncher/PythonCompiled.icns [new file with mode: 0644]
Mac/OSX/PythonLauncher/PythonInterpreter.icns [new file with mode: 0644]
Mac/OSX/PythonLauncher/PythonLauncher.pbproj/project.pbxproj [new file with mode: 0755]
Mac/OSX/PythonLauncher/PythonSource.icns [new file with mode: 0644]
Mac/OSX/PythonLauncher/main.m [new file with mode: 0755]