Commit Graph

17 Commits

Author SHA1 Message Date
Jack Jansen dd614fdc51 Fixed lots of minor issues found by Edward Moy: incorrect version
strings, non-standard naming of things in bundles, etc.
2003-07-04 13:06:14 +00:00
Jack Jansen 42fbc6961e Tooltip for tab/space consistency check was the wrong way around. Spotted
by Skip.
2003-07-02 22:08:28 +00:00
Jack Jansen d7cccdd591 Added a field that allows the user to set sys.argv-style arguments
to the script. Fixes #757544.
2003-06-20 22:21:03 +00:00
Jack Jansen c30d7c37ee At startup, test that PythonLauncher is the default application for files
of type .py, .pyw and .pyc. If not, post a warning.
2003-06-20 14:36:58 +00:00
Jack Jansen cef2f7cd18 Use pythonw as the default interpreter also for .py scripts (overridable
by the user), as this will cause the least surprises with scripts
brought over from other unixen. Suggested by Kevin Altis.
2003-02-19 10:37:08 +00:00
Jack Jansen 3d3b74677a Optionally honour #! paths in scripts. Fixes #676358. 2003-02-17 15:40:00 +00:00
Just van Rossum 85e4c6757f correct comment (and add newline at end) 2003-01-04 16:26:26 +00:00
Jack Jansen f044e090c4 Changed the input field for the interpreter to use (in the preferences
window) to a combobox listing the known interpreters.
2002-12-26 22:10:53 +00:00
Jack Jansen 2095c06cec Lots of restructuring, mostly suggested by Bill Bumgarner. Main
externally visible difference is that the factory defaults are
now in a plist file in the bundle, in stead of being hard-coded in
the application.
2002-11-25 13:11:06 +00:00
Jack Jansen 1b99896944 dded cvsignores. 2002-11-20 14:14:14 +00:00
Jack Jansen b05e056e9f On Jaguar the default mode for files in the installed product is 444 (or 555)
in stead of 644 (755). This makes a subsequent install fail. Changed
the INSTALL_MODE_FLAG to fix this.
2002-08-30 12:56:08 +00:00
Jack Jansen 0e0a479821 Added an icon for .pyw files. 2002-08-02 22:32:41 +00:00
Jack Jansen be3e1f7a95 Python.app is now a hidden application, deep in the framework. It will
be invoked by PythonLauncher when needed.

Also changed the names of various variables in the Makefile to match
what the main Makefile has.
2002-08-01 21:14:06 +00:00
Jack Jansen 0a3d6060d5 Only show the UI for selecting options if the ALT key was depressed while
dragging or double-clicking the script.
2002-08-01 15:07:00 +00:00
Jack Jansen 40e2e51a7e Install into /Applications/Python in stead of into /Applications. 2002-07-31 14:45:08 +00:00
Jack Jansen b7276cdf71 Implemented starting Python in a terminal window. The implementation isn't
optimal, especially if Terminal wasn't running yet, but it works.
2002-07-31 13:15:59 +00:00
Jack Jansen 3bbb617ca4 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.
2002-07-29 21:36:35 +00:00