Commit Graph

9363 Commits

Author SHA1 Message Date
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
Guido van Rossum 49c1a7ebc2 Added class browser binding. 1998-10-13 16:31:46 +00:00
Guido van Rossum 7f5c9ef5fd Much improved, much left to do. 1998-10-13 16:31:03 +00:00
Guido van Rossum e73d702344 Ever-so-slight improvementL the patterns to recognize import
statements now also stop at ';' (formerly they only stopped at '#').
1998-10-13 16:12:36 +00:00
Guido van Rossum 7d447aabbf Moved search and match around so that search is documented first. 1998-10-13 16:03:52 +00:00
Guido van Rossum 3f08d40bd8 Make the return key do what I mean more often. 1998-10-13 15:21:41 +00:00
Guido van Rossum 4650df96bf Make the return key do what I mean more often. 1998-10-13 14:41:27 +00:00
Guido van Rossum b39b90dda2 Doc strings by Chris Petrilli. 1998-10-13 14:27:22 +00:00
Guido van Rossum 243ac4f497 Updated listbox methods to Tk 8.0. (Moved some around, added
x/yview_scroll/moveto.)
1998-10-13 13:37:30 +00:00
Guido van Rossum 439c467a0c Adding the beginnings of a Class browser. Incomplete, yet. 1998-10-13 03:59:57 +00:00
Guido van Rossum b341888971 Add new command, "Open module". You select or type a module name,
and it opens the source.
1998-10-13 03:45:15 +00:00
Guido van Rossum 5af7a72d8b Subsume functionality from Popup menu in Debug menu.
Other stuff so the PyShell window can be resurrected from the Windows menu.
1998-10-12 23:59:27 +00:00
Guido van Rossum 82e44b10b8 Get rid of PopUp menu.
Create a simple Windows menu.  (Imperfect when Untitled windows exist.)
Add wakeup() method: deiconify, raise, focus.
1998-10-12 23:57:48 +00:00
Guido van Rossum e7b2e651df Generalize menu creation. 1998-10-12 23:56:08 +00:00
Guido van Rossum 219ffde846 Add Debug and Help menu items. 1998-10-12 23:55:10 +00:00
Guido van Rossum 2aeeb55949 Added a menu bar to every window. 1998-10-12 21:01:37 +00:00
Guido van Rossum d8d676c289 Add menu configuration to the event configuration. 1998-10-12 20:57:09 +00:00
Guido van Rossum d020cf3d7d Pass a root to the help window. 1998-10-12 20:55:43 +00:00
Jack Jansen deff89c8be Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. 1998-10-12 20:53:15 +00:00
Guido van Rossum 3179b36014 When no master widget is specified, use options['parent'] if it exists. 1998-10-12 20:40:47 +00:00
Guido van Rossum 7f20263349 Only reference Tkinter._default_root when needed. 1998-10-12 20:40:09 +00:00
Guido van Rossum 2f3667a7b9 Replace fprintf(stderr, ...) with PySys_WriteStderr(...). 1998-10-12 18:23:55 +00:00
Guido van Rossum 8442af35fe Patches for mywrite() by Marc Lemburg: save/restore the error state
reliably; check return value of vsprintf().
1998-10-12 18:22:10 +00:00
Guido van Rossum 41f0a98f8f Looks like I didn't test this interactively. The EventHook() code was
broken; it asked for the current thread state when there was none.
Fixed by using the saved event_tstate.
1998-10-12 16:26:22 +00:00
Guido van Rossum 69ef7d6220 Add parent argument to 'to to line number' dialog box. 1998-10-12 16:07:27 +00:00
Guido van Rossum 0688436305 Enhancements by Sjoerd Mullender: support for
from a.b import c
	import a . b
1998-10-12 15:23:04 +00:00
Guido van Rossum 7a840e8d50 Add support for dotted module names to readmodule(). 1998-10-12 15:21:38 +00:00
Guido van Rossum 1c5fb1cd1b Make mimetypes.guess_type understand data URLs. (Sjoerd Mullender) 1998-10-12 15:12:28 +00:00
Guido van Rossum 8571ed8647 Add a label at the top showing (very basic) help for the stack viewer.
Add a label at the bottom showing the exception info.
1998-10-10 19:15:32 +00:00
Guido van Rossum 3d0669d8a1 Add Unix main script and test program. 1998-10-10 18:58:15 +00:00
Guido van Rossum 3b4ca0ddad Initial checking of Tk-based Python IDE.
Features: text editor with syntax coloring and undo;
subclassed into interactive Python shell which adds history.
1998-10-10 18:48:31 +00:00
Guido van Rossum dc1adabcb8 Patch by Jonathan Giddy (with some cleanup by me) to always use the
thread state of the thread calling mainloop() (or another event
handling function) rather than the thread state of the function that
created the client data structure.
1998-10-09 20:51:18 +00:00
Barry Warsaw afd974c2ab Document the new list.extend() method. Interesting enough, the
canonical definition of extend() is very similar to append() except
that the former doesn't list-ify the argument!
1998-10-09 16:39:58 +00:00
Barry Warsaw dedf6d6804 listextend(): New method which implements L.extend(L2). 1998-10-09 16:37:25 +00:00
Guido van Rossum e33bba8d3d New version that is much more compact and easier to maintain. (Sjoerd) 1998-10-09 13:27:49 +00:00
Guido van Rossum 3886026bed Remove unreachable code. (Sjoerd) 1998-10-09 13:27:19 +00:00
Guido van Rossum 1554b7b061 Use constants defined in cl module. (Sjoerd) 1998-10-09 13:26:29 +00:00
Guido van Rossum 1e57a04301 Removed unnecessary import of cl and CL. (Sjoerd) 1998-10-09 13:26:01 +00:00