214 Commits

Author SHA1 Message Date
Jack Jansen
ae278a375c Backport of 1.20:
Workaround for the fact that urllib2 doesn't default to "file:" urls.
2005-01-07 12:57:08 +00:00
Jack Jansen
f96a57e4e3 - Changed version numbers to get ready for 2.3.5
- Various of the mods to build the 3rd MacPython additions (but not all).
2004-12-27 16:41:57 +00:00
Jack Jansen
88cab68ac1 Backport of 1.15:
After more than two years of puzzlement Jurjen Bos found the reason for
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.
2004-07-15 22:10:52 +00:00
Jack Jansen
1fa05d7434 Backport of 1.47:
Fix for #860242: use correct names in the "save preferences" dialog.
2004-06-03 21:57:48 +00:00
Jack Jansen
6895ea7205 Backport of 1.45 and 1.46:
- Replace backticks with repr() or "%r"
- Fix for #862941: "run with commandline python" crashed. Fixed.
- Prefer to use pythonw (if it exists) for "run with commandline python".
2004-06-03 21:36:58 +00:00
Jack Jansen
4a8033f62a Backport of 1.23 and 1.24:
Very large scripts folders could crash the IDE, because it runs out
of Menu IDs (of which there are only 255 in Carbon). Fixed by stopping
examining the scripts folder when we allocate menu ID 200.

Fixes #959291.

Replace backticks with repr() or "%r"

From SF patch #852334.
2004-06-03 13:34:41 +00:00
Jack Jansen
def31b285b Backport of 1.18:
- Allow easy opening of experimental database, if pimp >= 0.4
- Allow easy access to the PackMan homepage, for even more databases.
2004-02-28 23:23:57 +00:00
Jack Jansen
efd0a140b0 Fix (workaround, actually) for bug #844676: deselecting "show hidden" can
cause an index error. We now select the first package if this threatens
to happen. Backport of 1.17.
2003-11-27 23:20:06 +00:00
Jack Jansen
45977588aa Package Mnager error dialogs could refer to hidden packages, which was
confusing. To be on the safe side we always show hidden packages before
showing error dialogs. Backport of 1.16.
2003-11-27 23:12:37 +00:00
Just van Rossum
a9f3d6c03f Backport of fix for [ 782686 ]: new files used \r as the default line
separator instead of os.linesep.
2003-11-18 22:46:08 +00:00
Jack Jansen
82ba8899ea Various fixes to make the standard applets have a correct version number,
and to make BuildApplet have an icon again (albeit a quickly converted
OS9 icon).
2003-11-04 21:04:22 +00:00
Jack Jansen
0c857d8ce8 Remember the scroll position when rebuilding the browser (as we do far
too often). Fixes #824430.
2003-11-02 01:11:09 +00:00
Jack Jansen
8759ee97c6 Allow for the documentation to be inside PythonIDE as well as in
the Python.app inside the framework (the original location for 2.3).

This enables us to install the documentation on Panther too.
2003-11-01 23:14:41 +00:00
Jack Jansen
1f980d0a7a - In PythonIDE, add the Tools/IDE directory as the second entry in
sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources
as the first one.
- When building the IDE for use with Apple-provided MacPython add
PythonIDEMain.py to the Resources folder.

Together these two makes fixes to PythonIDEMain available to Panther
users.
2003-11-01 22:30:50 +00:00
Jack Jansen
c8c6875085 Two related fixes:
- The code for setting the working directory to $HOME was both incorrect
and in the wrong place, fixed.
- On OSX the default location for IDE scripts is now
$HOME/Library/Python/IDE-Scripts.

Together, these solve the problem that some people had (but, curiously
enough, only some) that the IDE crashed at startup because it couldn't
create "/Scripts".
2003-11-01 22:28:19 +00:00
Just van Rossum
6cd19f978f backport of fix for [819860] 2003-10-13 12:44:22 +00:00
Jack Jansen
75dd6e4798 Updated version numbers to 2.3.2. 2003-09-29 15:11:32 +00:00
Jack Jansen
40b2e83924 We erronuously re-used the pimpinstaller object if there were multiple installs.
This lead to a duplication of error messages (and installs). Fixes #764615.
2003-07-21 22:11:07 +00:00
Jack Jansen
a7203d1037 Because plistlib doesn't catch all possible errors that can
happen while parsing a plistfile feeding an ill-formatted file to
pimp may cause an exception. As a stopgap we use an unqualified except
and print an error message "Unspecified error, probably ill-formatted
database". Fixes #765621.
2003-07-21 22:03:14 +00:00
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
2a97dcce09 Use splitlines() in stead of split() to split lines, and added a method
shortdescription() so the code to split off the first line of the
description isn't all over the place.
2003-06-01 20:03:43 +00:00
Jack Jansen
9f0c5754a6 - Get the database from a different place.
- Added support for multi-line descriptions. Doesn't look nice
yet in Package Manager.
2003-05-29 22:07:27 +00:00
Jack Jansen
31fa845c01 Added Help menu. Fixes #731635 2003-05-27 14:10:37 +00:00
Just van Rossum
8d97b9bd36 fixed some DeprecationWarnings 2003-05-25 20:44:37 +00:00
Just van Rossum
ba5db20558 also support cmd-. in the interactive window 2003-05-09 11:47:23 +00:00