Commit graph

10400 commits

Author SHA1 Message Date
Guido van Rossum
7b9bb05df9 Speed up the search a bit -- don't drag a mark around... 1998-10-19 03:33:40 +00:00
Guido van Rossum
cc0ade8cd5 Change our special entries from <console#N> to <pyshell#N>.
Patch linecache.checkcache() to keep our special entries alive.
Add popup menu to all editor windows to set a breakpoint.
1998-10-19 02:26:16 +00:00
Guido van Rossum
b52cfa1d97 Use and pass through the 'force' flag to set_dict() where appropriate.
Default source and globals checkboxes to false.
Don't interact in user_return().
Add primitive set_breakpoint() method.
1998-10-19 02:24:40 +00:00
Guido van Rossum
6c5baeb6df Raise priority of 'sel' tag so its foreground (on Windows) will take
priority over text colorization (which on Windows is almost the
same color as the selection background).

Define a tag and color for breakpoints ("BREAK").
1998-10-19 02:22:41 +00:00
Guido van Rossum
0737430bf8 Disable "Open stack viewer" and "help" commands. 1998-10-19 02:20:30 +00:00
Guido van Rossum
105b9c7de4 Add optional 'force' argument (default 0) to load_dict().
If set, redo the display even if it's the same dict.
1998-10-19 02:19:30 +00:00
cvs2svn
0e5088fcc4 This commit was manufactured by cvs2svn to create tag 'r152a2'. 1998-10-17 19:44:20 +00:00
Guido van Rossum
de64eafbc9 Time for 1.5.2a2. 1998-10-17 19:44:20 +00:00
Guido van Rossum
e8c10f90a7 All the news that's fit to print. In other words, it's 1.5.2a2 time. 1998-10-17 19:43:13 +00:00
Guido van Rossum
d54fb7ae9b The usual 1998-10-17 18:09:27 +00:00
Barry Warsaw
f3dcafecd3 The driver script on Unix is pynche'; for Windows pynche.pyw' 1998-10-16 22:29:18 +00:00
Guido van Rossum
179c36e411 Do nothing when loading the same dict as before. 1998-10-16 21:10:12 +00:00
Guido van Rossum
adfe773d2c Details for debugger interface. 1998-10-16 21:09:35 +00:00
Guido van Rossum
3fb3515303 Restructured and more consistent. Save checkboxes across instantiations. 1998-10-16 21:09:05 +00:00
Guido van Rossum
baf53b4ea8 Get rid of conflicting ^X binding. Use ^W. 1998-10-16 20:08:34 +00:00
Guido van Rossum
5188a25efe Debugger can now show local and global variables. 1998-10-16 18:59:39 +00:00
Guido van Rossum
0a0f11b6d4 PyMapping_SetItemString() returns int, not an object. 1998-10-16 17:43:53 +00:00
Fred Drake
b521095952 In build_html(), strip off leading "./" from filename, added by
kpsewhich.  This caused a problem with the latest latex2html beta.
1998-10-16 17:34:34 +00:00
Guido van Rossum
6b384833f3 Oops 1998-10-16 17:16:59 +00:00
Guido van Rossum
80d132deda Better debugger support (show stack etc). 1998-10-16 16:12:11 +00:00
Guido van Rossum
92a67d7847 Follow renames in StackViewer module 1998-10-16 16:11:08 +00:00
Guido van Rossum
88d9007038 Rename classes to StackViewer (the widget) and StackBrowser (the toplevel). 1998-10-16 16:10:45 +00:00
Guido van Rossum
95ef4982ed Add close() method 1998-10-16 16:10:09 +00:00
Guido van Rossum
e1dedc096e Clarify 'Open Module' dialog text 1998-10-16 16:09:57 +00:00
Guido van Rossum
04430793ed Restructured into a browser and a widget. 1998-10-16 04:02:28 +00:00
Guido van Rossum
e6fae1cbca Generalized the scrolled list which is the base for the class and
method browser into a separate class in its own module.
1998-10-15 23:27:08 +00:00
Jack Jansen
341d1fe18e For submenus remember the parent and parent index, so we can grey out our
entry if the menu is disabled. This does create a circular reference, so cleanup
becomes more important.
1998-10-15 15:29:16 +00:00
Guido van Rossum
99d3c48772 Cosmetic change 1998-10-15 14:08:20 +00:00
Jack Jansen
0e0d3e7c2b Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions. 1998-10-15 14:02:54 +00:00
Guido van Rossum
f35b884c91 Clarify that close() of a stream opened by popen() returns None if the
exit status is zero.
1998-10-15 13:28:29 +00:00
Guido van Rossum
b7ffca393f Don't show function name if there is none 1998-10-15 12:18:49 +00:00
Jack Jansen
0e56568a0d The help dialog id numbers never got changed when the dialog numbers changed,
so balloons haven't been working for ages. Apparently nobody noticed:-)
1998-10-15 10:29:37 +00:00
Barry Warsaw
840a84d37a Updated __main__ unit test 1998-10-15 02:18:08 +00:00
Guido van Rossum
c2047c19f5 When run as a script, don't pass a fake __main__ dictionary; use the
real one.
1998-10-15 01:38:23 +00:00
Guido van Rossum
e0e59829e0 When errno is zero, avoid calling strerror() and use "Error" for the
message.
1998-10-14 20:38:13 +00:00
Guido van Rossum
b0e5718643 Fix so that after a fork() -- on Unix only -- the template gets
recalculated.
1998-10-14 20:27:05 +00:00
Guido van Rossum
d3a6a14330 Doc strings by Chris Petrilli.
Also added MD5Type object.
1998-10-14 13:46:57 +00:00
Guido van Rossum
a0deb64024 No need to issue a fatal error if the PyDict_SetItemString fails; the
caller (in import.c) will test for errors and take appropriate action.
1998-10-14 13:45:06 +00:00
Guido van Rossum
35e55da7dc Polish the Debugger GUI a bit.
Closing it now also does the right thing.
1998-10-14 03:43:05 +00:00
Guido van Rossum
fc6aba5008 ACK! There was still an unescaped newline in a docstring. 1998-10-14 02:52:31 +00:00
Guido van Rossum
35f7542e83 Ad primitive debugger interface (so far it will step and show you the
source, but it doesn't yet show the stack).
1998-10-13 23:51:13 +00:00
Guido van Rossum
f035d3bfe1 Misc 1998-10-13 23:49:55 +00:00
Guido van Rossum
9f1292d840 Perhaps a controversial change: when reporting a callback exception,
assign the exception info to sys.last_{type,value,traceback}.  That
way, an introspective Tkinter app can inspect its own stack trace.

(The controversy is that it would keep some objects alive, but that's
probably no big deal.)
1998-10-13 20:02:39 +00:00
Guido van Rossum
ad24ae10df Whoops -- referenced self.top before it was set. 1998-10-13 20:00:02 +00:00
Barry Warsaw
4eaadf002e Added {xview,yview}_{moveto,scroll} to the Canvas class. 1998-10-13 19:01:10 +00:00
Guido van Rossum
423938a852 Added history and completion commands. 1998-10-13 17:38:03 +00:00
Guido van Rossum
ca5619cc5b Updated 1998-10-13 17:32:27 +00:00
Guido van Rossum
7895562f88 Add class browser functionality. 1998-10-13 16:32:44 +00:00
Guido van Rossum
ae08d3897a Add a close() method and bind to WM_DELETE_WINDOW protocol 1998-10-13 16:32:29 +00:00
Guido van Rossum
1956352b08 Clear the linecache before printing a traceback 1998-10-13 16:32:05 +00:00