Commit Graph

256 Commits

Author SHA1 Message Date
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen ad1654e03a 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:08:33 +00:00
Jack Jansen 4f9013759b - Added a note about fixversions.py
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen 0701bd64aa Fix for #860242: use correct names in the "save preferences" dialog. 2004-06-03 21:55:46 +00:00
Jack Jansen 30184f3611 - 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:27:15 +00:00
Jack Jansen 8d562e6b4f 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. Need to backport.
2004-06-03 13:31:51 +00:00
Jack Jansen fe99927630 - 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:19:42 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Just van Rossum 001734ca7f fixed long standing typo 2003-12-07 18:11:51 +00:00
Jack Jansen ac5d667e9f 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. Will backport.
2003-11-27 23:19:33 +00:00
Jack Jansen 9cc4fcd649 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. Will backport.
2003-11-27 23:12:17 +00:00
Jack Jansen 28ecf70db5 Getting rid of support for MacOS9 and earlier. This is the first step,
and the biggest in size, but probably the easiest. Hunting through the
source code comes next.
2003-11-19 14:34:18 +00:00
Jack Jansen d48364e8b1 Forward port of various fixes that were initially only done on the
release23-maint branch:
- Remember the scroll position when rebuilding the browser (as we do far
too often). Fixes #824430.
- Allow for the documentation to be inside PythonIDE as well as in
the Python.app inside the framework (the original location for 2.3).
- Updated version numbers
- 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.
- 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.
2003-11-19 13:45:26 +00:00
Just van Rossum 4e6b3c55d0 Fix for [ 782686 ]: new files used \r as the default line separator
instead of os.linesep.
2003-11-18 22:41:16 +00:00
Just van Rossum 7e94a9aae3 fix for bug [819860]: make sure the buffer gets emptied, even if WEInsert() fails 2003-10-12 19:27:24 +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
Just van Rossum eb64af9201 add explicit support for cancelling a running script (CFM-based MacPython had this built-in) 2003-05-09 08:58:02 +00:00
Just van Rossum 476736eed6 more dead code removal 2003-05-09 08:33:58 +00:00
Just van Rossum 5ef0e7cc47 dead code removal 2003-05-09 08:27:33 +00:00
Jack Jansen 9a79182316 Fix for #731643: allow "lookup in documentation" to also work if the
interactive window is frontmost.
2003-05-06 14:28:31 +00:00
Just van Rossum 4e2d23226f Install automatic GIL switcher upon IDE startup.
(Jack: maybe this could/should be done in Framework.py instead, that way
apps don't have to think about it. PackMan springs to mind...)
2003-05-03 00:31:35 +00:00
Just van Rossum d797e7b507 Fixed age-old beginner's error: don't start the main loop as a side
effect of an import. (This is one step towards threading support in
the IDE.)
2003-05-02 23:40:29 +00:00
Jack Jansen f776dee6dd Hiding packages was done incorrectly. Fixed. 2003-04-22 13:53:33 +00:00
Jack Jansen 36b5198381 Refer people to the help pages on failure to load the database. 2003-04-16 12:40:21 +00:00
Jack Jansen a950d7b24f Added support for per-user installs.
Don't show psuedo-packages by default, added a button to show them.
Cleaned up interface a little (not enough, though).
2003-04-16 12:17:56 +00:00
Jack Jansen 4323090d95 Adapted GUI for per-user install. Doesn't do anything yet, though 2003-04-15 21:59:42 +00:00
Jack Jansen aca44e2771 Added a File->Generate OSA Suite command. 2003-03-31 15:11:14 +00:00
Jack Jansen 08801db123 The MacPython introductory help is now called MacPython Help, and the
optional full documentation Python Documentation.
2003-03-16 22:09:22 +00:00
Jack Jansen f3ef038808 - Don't ask for bring-to-front when quitting through an appleevent.
- Changed checkbox labels as suggested by Kevin Ollivier.
2003-03-16 21:04:50 +00:00
Jack Jansen 5125c76b68 Gave the text fields a little more space, so they don't get cut off. 2003-03-03 14:56:59 +00:00
Jack Jansen 122152451e Don't call AEInteractWithUser unconditionally on a quit appleevent. The
EasyDIalogs methods will call it if needed.

Fixes #684975.
2003-03-03 12:28:04 +00:00
Jack Jansen d5532affd8 Check modes on install and temporary directories. Fixes #693230. 2003-02-28 15:19:51 +00:00
Jack Jansen f1728713cc Removed silly print. 2003-02-28 15:18:59 +00:00
Jack Jansen c00b6d7a0a Added an "Open Recent" command. Fixes 607810. 2003-02-25 15:08:02 +00:00
Jack Jansen 5bb97e66dc Checking mac-specific stuff from the 2.3a2 branch in on the trunk. 2003-02-21 22:33:55 +00:00
Jack Jansen fd3e54c68e When building an applet clear out the tempfile and dir afterwards. 2003-02-16 21:28:51 +00:00
Jack Jansen 4ab8437e7f Allow opening of alternate databases. 2003-02-14 14:13:25 +00:00
Jack Jansen c13f19f1fc Icons for the package manager. 2003-02-12 16:20:23 +00:00
Jack Jansen ffb8fef6d5 Allow this to run both standalone and as a window in the IDE. 2003-02-12 15:39:56 +00:00
Jack Jansen a359a3d0ac More int() around float arguments. 2003-02-12 15:39:16 +00:00
Jack Jansen c0452da1b8 Create applets slightly differently: by saving the sourcecode to a
temporary location. This is needed to makethings work with the new
buildtools based on bundlebuilder.
2003-02-12 15:38:37 +00:00
Jack Jansen 113af98c89 Renamed InstallManager to PackageManager, finished a first stab at the
implementation and integrated it into the IDE.
2003-02-12 12:47:56 +00:00
Jack Jansen 9c679f8128 In a MultiList select all cells in the row, not only the first one. 2003-02-12 12:47:00 +00:00