Commit Graph

268 Commits

Author SHA1 Message Date
Guido van Rossum 654387efbd Fix the class browser to work even when the file is not on sys.path. 1998-12-18 15:52:54 +00:00
Andrew M. Kuchling dc86a4e5bb Added a -q ('quiet') option to tabnanny, which causes only the names of
offending files to be printed.  Good for emacs `tabnanny.py *.py`
1998-12-18 13:56:58 +00:00
Guido van Rossum e6360fab2c Moved to Python 1.5.2/Lib 1998-12-08 20:39:36 +00:00
Guido van Rossum 0903f2a36d Typo 1998-11-27 03:19:20 +00:00
Guido van Rossum b5eed0328f Support underlining of menu labels 1998-11-27 03:19:07 +00:00
Guido van Rossum 6e0a413693 New approach, separate tables for menus (platform-independent) and key
definitions (platform-specific), and generating accelerator strings
automatically from the key definitions.
1998-11-27 03:17:49 +00:00
Guido van Rossum 72fe0859d0 Clarify portability and main program. 1998-11-16 18:37:42 +00:00
Guido van Rossum a017777bd4 Added intro for 0.1 release and append Grail notes. 1998-11-16 18:34:26 +00:00
Guido van Rossum 4089c110a1 root is now a global called _root 1998-10-26 18:49:00 +00:00
Guido van Rossum d4103883f3 Raise the root window on reset().
Different action on WM_DELETE_WINDOW is more likely to do the right thing,
allowing us to destroy old windows.
1998-10-24 16:38:38 +00:00
Guido van Rossum 5ac15bc9c8 Split the goto() function in two: _goto() is the internal one,
using Canvas coordinates, and goto() uses turtle coordinates
and accepts variable argument lists.
1998-10-24 16:29:21 +00:00
Guido van Rossum a96c2d407b Cope with destruction of the window 1998-10-24 14:03:48 +00:00
Guido van Rossum 3fbe67abd1 Turtle graphics 1998-10-24 05:46:37 +00:00
Guido van Rossum 39926e4bba Use of Breakpoint class should be bdb.Breakpoint. 1998-10-24 01:28:22 +00:00
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
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 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
Guido van Rossum 99d3c48772 Cosmetic change 1998-10-15 14:08:20 +00:00
Guido van Rossum b7ffca393f Don't show function name if there is none 1998-10-15 12:18:49 +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 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 ad24ae10df Whoops -- referenced self.top before it was set. 1998-10-13 20:00:02 +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 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 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
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 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 f9a6d7d494 Print serious errors to stderr instead of stdout. 1998-09-14 16:22:21 +00:00
Guido van Rossum aa2a7a4ae6 From: "Tim Peters" <tim_one@msn.com>
The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last
line is both indented and lacks a newline:

if 1:
    print 'oh fudge' # no newline here:

The attached version repairs that.
1998-06-09 19:02:21 +00:00
Guido van Rossum 53117ae82a typo in error message (fname vs. file).
(Jack)
1998-04-28 16:01:13 +00:00
Guido van Rossum ce73acf5e6 Tim's version 4, with my mods 1998-04-10 19:14:59 +00:00
Guido van Rossum 8053d89f7b Add usage message when no arguments. 1998-04-06 14:45:26 +00:00
Guido van Rossum f4b44fa6ef Tim's latest version (supports old and new tokenize modules) 1998-04-06 14:41:20 +00:00
Guido van Rossum 9ab75cbaab Tim Peters' program for checking whether a program's indentation is
sensitive to tab size.  Uses a different strategy than tabpolice.py,
but has compatible usage.
1998-03-31 14:31:39 +00:00