Commit graph

828 commits

Author SHA1 Message Date
Guido van Rossum
49c7bc416e This file was never supposed to be part of IDLE. 1999-03-11 16:51:23 +00:00
Guido van Rossum
b62e877631 - Don't crash in the case where a superclass is a string instead of a
pyclbr.Class object; this can happen when the superclass is
unrecognizable (to pyclbr), e.g. when module renaming is used.

- Show a watch cursor when calling pyclbr (since it may take a while
recursively parsing imported modules!).
1999-03-11 16:37:13 +00:00
Guido van Rossum
d6e8713f81 Add PathBrowser to File module 1999-03-10 05:18:02 +00:00
Guido van Rossum
a917af7fc7 "Path browser" - 4 scrolled lists displaying:
directories on sys.path
    modules in selected directory
    classes in selected module
    methods of selected class

Sinlge clicking in a directory, module or class item updates the next
column with info about the selected item.  Double clicking in a
module, class or method item opens the file (and selects the clicked
item if it is a class or method).

I guess eventually I should be using a tree widget for this, but the
ones I've seen don't work well enough, so for now I use the old
Smalltalk or NeXT style multi-column hierarchical browser.
1999-03-10 05:17:28 +00:00
Guido van Rossum
dc424be5af New utility: multiple scrolled lists in parallel 1999-03-10 05:13:29 +00:00
Guido van Rossum
ac1cb16efb - White background.
- Display "(None)" (or text of your choosing) when empty.
- Don't set the focus.
1999-03-10 05:10:49 +00:00
Guido van Rossum
d2cd6f8c93 Small change by Jack Jansen.
Test for self.returntype behaving like OSErr rather than being it.
1999-03-09 16:05:26 +00:00
Guido van Rossum
b0f99a62d7 Comment out confusing write call. 1999-02-18 14:22:05 +00:00
Guido van Rossum
a89b98f4c0 News in 0.3. 1999-02-17 22:47:41 +00:00
Guido van Rossum
dce019ed79 Bump version to 0.3. 1999-02-17 17:37:24 +00:00
Guido van Rossum
8f2918f4fa After all, we don't need to call the callbacks ourselves! 1999-02-17 17:34:58 +00:00
Guido van Rossum
be5f2f1cb5 When deleting, call the callbacks *after* deleting the window from our list! 1999-02-17 17:34:25 +00:00
Guido van Rossum
c4f752f803 Fix up the Windows menu via the new callback mechanism instead of
depending on menu post commands (which don't work when the menu is
torn off).
1999-02-17 17:20:50 +00:00
Guido van Rossum
5437ddfa36 Support callbacks to patch up Windows menus everywhere. 1999-02-17 17:19:37 +00:00
Guido van Rossum
a79a93ff73 Oh, why not. Checking in the Emacs-generated change log. 1999-02-17 16:20:08 +00:00
Guido van Rossum
a0d5d700e0 # Accidentally checked in a test version of this file with a bogus
# "import fooblurg" :-)
1999-02-16 23:05:46 +00:00
Guido van Rossum
9ea32898db Only pop up the stack viewer when requested in the Debug menu. 1999-02-16 22:34:17 +00:00
Guido van Rossum
d14e97378b Clarify how EXAMPLE.py is to be used ("python EXAMPLE.py", not
"python modulator.py EXAMPLE.py") and that it's only there in case
you don't have Tkinter.
1999-02-16 17:19:39 +00:00
Guido van Rossum
ec119a3fc9 Don't crash if a window no longer exists. 1999-02-08 22:27:49 +00:00
Guido van Rossum
5ec13c5318 Restructured a bit. 1999-02-08 22:27:18 +00:00
Guido van Rossum
8e47306b99 Add current dir or paths of file args to sys.path. 1999-02-01 23:06:17 +00:00
Guido van Rossum
2e9e0dfca3 Add canonic() function -- for brand new bdb.py feature. 1999-02-01 19:35:33 +00:00
Guido van Rossum
14b2d30b11 Protect against accessing an empty stack. 1999-02-01 19:34:53 +00:00
Guido van Rossum
38a5a3b3f1 Use only the height to decide whether to zoom in or out. 1999-01-29 20:44:45 +00:00
Guido van Rossum
b7ebb83ad0 Make sure the Tcl variables are shared between windows. 1999-01-28 22:24:30 +00:00
Guido van Rossum
07ec896707 Move menu/key binding code from Bindings.py to EditorWindow.py,
with changed APIs -- it makes much more sense there.
Also add a new feature: if the first character of a menu label is
a '!', it gets a checkbox.  Checkboxes are bound to Boolean Tcl variables
that can be accessed through the new getvar/setvar/getrawvar API;
the variable is named after the event to which the menu is bound.
1999-01-28 22:02:47 +00:00
Guido van Rossum
85ef9dce9f Add Quit button to the debugger window. 1999-01-28 22:00:30 +00:00
Guido van Rossum
959c937382 When find_again() finds exactly the current selection, it's a failure. 1999-01-28 19:04:01 +00:00
Guido van Rossum
3d58bcd5d9 Rename idle -> idle.py 1999-01-28 18:50:31 +00:00
Guido van Rossum
36911a1ca9 Only deiconify when iconic. 1999-01-18 15:18:57 +00:00
Guido van Rossum
f87240f447 Misc 1999-01-18 15:18:34 +00:00
Guido van Rossum
894ee6f668 Renamed test.py to testcode.py so one can import Python's
test package from inside IDLE.  (Suggested by Jack Jansen.)
1999-01-12 22:14:34 +00:00
Guido van Rossum
5051f4f80d Hack to close a window that is colorizing. 1999-01-12 22:09:57 +00:00
Guido van Rossum
5cc3129260 Vladimir Marangozov's patch:
The separator dances too much and seems to jump by arbitrary amounts
in arbitrary directions when I try to move it for resizing the frames.
This patch makes it more quiet.
1999-01-12 22:09:18 +00:00
Guido van Rossum
c66e860418 Some requests have been fulfilled. 1999-01-11 14:52:40 +00:00
Guido van Rossum
245ddc4b88 Set the cursor to a watch when opening the class browser (which may
take quite a while, browsing multiple files).

Newer, better center() -- but assumes no wrapping.
1999-01-11 14:51:32 +00:00
Guido van Rossum
b287b3ad1b Got rid of debug print statement in goto_line_event(). 1999-01-11 14:49:00 +00:00
Guido van Rossum
d5c8497a81 I think I like it better if it prints the traceback even when it displays
the stack viewer.
1999-01-11 14:47:54 +00:00
Guido van Rossum
9016fcf41c Bind ESC to close-window. 1999-01-11 14:46:55 +00:00
Guido van Rossum
dc5066ee81 Use a HSeparator between the classes and the items.
Make the list of classes wider by default (40 chars).
Bind ESC to close-window.
1999-01-11 14:46:06 +00:00
Guido van Rossum
d5f038098a Separator classes (draggable divider between two panes). 1999-01-11 14:45:11 +00:00
Guido van Rossum
2403b0c5d4 Don't traceback when wakeup() is called when the window has been destroyed.
This can happen when a torn-of Windows menu references closed windows.
And Tim Peters claims that the Windows menu is his favorite to tear off...
1999-01-09 22:01:33 +00:00
Guido van Rossum
f52cca9812 Allow tearing off of the Windows menu. 1999-01-09 22:00:10 +00:00
Guido van Rossum
0291d1d1d6 Close on ESC. 1999-01-09 21:58:11 +00:00
Guido van Rossum
dd0d335758 Updated a bunch of things (it was mostly still 0.1!) 1999-01-09 21:57:56 +00:00
Guido van Rossum
83c74d44ce Added ScriptBinding to standard bindings. 1999-01-09 05:00:59 +00:00
Guido van Rossum
9f42584907 This now actually works. See doc string. It can run a module (i.e.
import or reload) or debug it (same with debugger control).  Output
goes to a fresh output window, only created when needed.
1999-01-09 05:00:17 +00:00
Guido van Rossum
b33f612f33 What's new in this release. 1999-01-08 17:26:02 +00:00
Guido van Rossum
38df3c383d Paul Prescod's patches to allow the stack viewer to pop up when a
traceback is printed.
1999-01-08 15:31:07 +00:00
Guido van Rossum
629082edd6 Change paragraph width limit to 70 (like Emacs M-Q). 1999-01-07 00:12:15 +00:00