Commit Graph

655 Commits

Author SHA1 Message Date
Barry Warsaw 8a09e1ccda Saving/Restoring state into ~/.pynche file 1998-10-20 20:45:46 +00:00
Guido van Rossum 8fd0f147e7 Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices:
"""
the NEWS file of Python 1.5.2a2 inspired me to look at
Tools/scripts/untabify.py. I wonder why it accepts a -t argument
but ignores it. The following patch tries to make it somewhat useful
(i.e., to override the tabsize=8 setting). Is that agreeable?
"""
1998-10-20 15:33:33 +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
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 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
Barry Warsaw 840a84d37a Updated __main__ unit test 1998-10-15 02:18:08 +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 e33bba8d3d New version that is much more compact and easier to maintain. (Sjoerd) 1998-10-09 13:27:49 +00:00
Guido van Rossum 9c2c1e88a3 Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
Guido van Rossum a57c9b928d Added a whole bunch of descriptions. 1998-10-07 19:52:35 +00:00
Guido van Rossum 19b23e538e Use the imp module to get the magic word. 1998-10-07 19:45:33 +00:00
Guido van Rossum 41f13f288f Added #! line 1998-10-07 14:46:09 +00:00
Barry Warsaw bac609a69e Updated about text 1998-10-07 03:40:29 +00:00
Barry Warsaw 0926deacd5 Moved the main pynche.py file to Main.py. Added minimal driver
scripts pynche.py and pynche.pyw for Unix and Windows startup
respectively.  Document the .pyw file in the README.
1998-10-07 03:36:58 +00:00
Barry Warsaw c958043233 Better layout of options menu and inc/dec buttons 1998-10-07 03:19:33 +00:00
Barry Warsaw 8934af00d8 Fixes for some type-in strangeness 1998-10-07 02:44:17 +00:00
Barry Warsaw cd63dc9f3d Add a note about the console window 1998-10-06 23:09:49 +00:00
Barry Warsaw 9cdd44f714 Never mind 1998-10-06 23:08:02 +00:00
Barry Warsaw 1c792d5e10 Add link for Windows 1998-10-06 23:06:24 +00:00
Barry Warsaw 84f52e0a16 RightARrow._create(): justify=RIGHT on the text object 1998-10-06 23:04:55 +00:00
Barry Warsaw e55055d0d4 A readme 1998-10-06 23:03:22 +00:00
Barry Warsaw da7502e8ad Add a SELECTION to the pre-inserted text 1998-10-06 21:40:22 +00:00
Barry Warsaw 3886e3aebb Copyright CNRI 1998-10-06 20:49:20 +00:00
Barry Warsaw 6bfd655c2a Added the rgb.txt file from X11R6.4, including the license 1998-10-06 20:44:14 +00:00
Barry Warsaw 4f632357d4 Initial revision 1998-10-06 20:42:05 +00:00
Barry Warsaw e7f4a47bbf Better initial color choosing 1998-10-06 19:50:33 +00:00
Barry Warsaw 45c8d34216 Better quitting 1998-10-06 19:48:35 +00:00
Barry Warsaw 3836503acd Converted to newstyle menubars 1998-10-06 19:39:34 +00:00
Barry Warsaw 56af4448e1 Update main window when Update on Click is turned on 1998-10-06 18:56:31 +00:00
Barry Warsaw ad3a67cc84 Added version number in the About window 1998-10-06 18:52:59 +00:00
Barry Warsaw 3a476e9b35 Track color changes: disable buttons and their labels when turned off 1998-10-06 18:46:57 +00:00
Barry Warsaw 332aa4cf0a Color Variation Ties => Move Sliders
Moved buttons to the top
1998-10-06 18:29:22 +00:00
Barry Warsaw c4a9b3d923 main(): Better recovery when bogus color given on command line 1998-10-06 18:13:20 +00:00
Barry Warsaw b7b1cf0088 rrggbb_to_triplet(): When color doesn't start with `#' raise a
BadColor exception.
1998-10-06 18:10:59 +00:00
Barry Warsaw 5b67839ca3 Added a hex button so arrow numbers can display in decimal or hex. 1998-10-06 16:13:35 +00:00
Barry Warsaw c2d8f573eb __togglehex(): Simplify 1998-10-06 16:08:39 +00:00
Barry Warsaw 73290dff30 hexp() => hexp_var() 1998-10-06 15:50:36 +00:00
Barry Warsaw 6831c30143 hexp(): New function 1998-10-06 15:49:19 +00:00
Barry Warsaw a398924c6a __normalize(): Preserve the location of the icursor and restore it so
that Left/Right arrow keys and C-a C-e all work.
1998-10-06 15:47:45 +00:00
Barry Warsaw ae4ad6e454 Changed the grey/magenta/cyan/yellow label text slightly.
Changed Color Ties label to Color Variation Ties
1998-10-06 15:41:31 +00:00
Barry Warsaw 14e2cafe21 usage(): Print msg at end of docstring
main(): Fixed logic error and reporting when no colordb was found.
Given by GvR.
1998-10-06 15:21:04 +00:00
Barry Warsaw 7c51a9a80b Title 1998-10-05 21:31:37 +00:00
Barry Warsaw c078b03d7f Finished implementation + docstring 1998-10-05 21:29:04 +00:00
Barry Warsaw 964fbbbc61 Added Alt-w bindings 1998-10-05 21:15:08 +00:00
Barry Warsaw 9044b8e5e3 Added details window 1998-10-05 21:14:46 +00:00
Barry Warsaw cd09867c57 current_rgb(): New method 1998-10-05 21:14:12 +00:00
Barry Warsaw 3d314390ab *** empty log message *** 1998-10-05 19:12:32 +00:00
Barry Warsaw 69a4ab5a04 Docstring 1998-10-02 16:27:40 +00:00
Barry Warsaw 4638c5b7f3 Docstring 1998-10-02 16:20:14 +00:00
Barry Warsaw eb61fbdba8 Docstring 1998-10-02 16:06:27 +00:00
Barry Warsaw bd36d6eccd Added the ListViewer 1998-10-02 16:05:48 +00:00
Barry Warsaw a9053f65de Updated docstring. 1998-10-02 16:01:42 +00:00
Barry Warsaw 9f3ea211dd all_names(): => unique_names()
aliases_of(): New method
1998-10-02 15:59:20 +00:00
Barry Warsaw ddb9fc1ebd Added docstring 1998-10-02 15:58:50 +00:00
Barry Warsaw b44056ec94 Functionality complete 1998-10-02 15:52:10 +00:00
Barry Warsaw 8be2594a24 all_names(): Return just the unique names of rgb colors 1998-10-02 14:43:30 +00:00
Barry Warsaw b55c4ad58d Got click on working. Dragging is disabled for now 1998-10-02 14:34:03 +00:00
Barry Warsaw ff45d54f31 resolve(): Improved use of a/an, suggested by Tino Wildenhain
<cdtv@amigager.de>.
1998-10-02 14:14:39 +00:00
Barry Warsaw 399f10cd66 Lots of good UI working, but not yet update-while-dragging 1998-10-01 22:03:25 +00:00
Barry Warsaw 46670a2d42 *** empty log message *** 1998-10-01 21:40:48 +00:00
Barry Warsaw 4ab5d85efa Change some init order 1998-10-01 16:47:06 +00:00
Barry Warsaw a7ba45b7b6 update_views_current(): New method 1998-10-01 16:46:43 +00:00
Barry Warsaw 86daeb7909 Added View button and popup of text widget 1998-10-01 16:46:16 +00:00
Barry Warsaw f9c6ddc40a *** empty log message *** 1998-10-01 16:45:32 +00:00
Barry Warsaw 231c8c0895 Gridify this widget 1998-10-01 14:26:57 +00:00
Barry Warsaw b26743ac48 Make sure the menubar is stretched 1998-10-01 14:26:26 +00:00
Barry Warsaw 65f0b6be47 Add a nice divider 1998-10-01 14:26:04 +00:00
Barry Warsaw 85e6965071 Fixed toggle b/w hex and decimal 1998-10-01 13:41:05 +00:00
Barry Warsaw d344165f48 Added options to visible window 1998-10-01 03:08:07 +00:00
Barry Warsaw aa40b556fd Groove for debugging 1998-10-01 03:07:20 +00:00
Barry Warsaw 03e8a31eb3 Get rid of Edit menu 1998-10-01 03:06:04 +00:00
Barry Warsaw 0fa6e4b421 Added options to visible window 1998-10-01 02:57:05 +00:00
Barry Warsaw fda3aceb71 Added interface to get/set colordb 1998-09-29 20:04:19 +00:00
Barry Warsaw a9b45580a3 Removed old cruft, added raw about dialog 1998-09-29 20:03:53 +00:00
Barry Warsaw 7a13418e12 Changed interface for nearest() method to take individual red, green,
blue values instead of tuple
1998-09-29 20:03:15 +00:00
Barry Warsaw 420201972e Got updating with Return/Tab working 1998-09-29 20:02:27 +00:00
Barry Warsaw 885b371e33 Un PMW-ified 1998-09-29 19:51:18 +00:00
Barry Warsaw d7d4725dba Added an extra frame in widget heirarchy in case I want to add
separators later
1998-09-29 17:36:43 +00:00
Barry Warsaw dc492e6738 Un PMW-ified 1998-09-29 15:44:20 +00:00
Barry Warsaw 63c9e9851e Rework startup 1998-09-28 23:41:53 +00:00
Barry Warsaw 1ac18cd326 simplify 1998-09-28 23:41:12 +00:00
Barry Warsaw 0e3e699178 triplet_to_brightness(): New function 1998-09-28 23:39:18 +00:00
Barry Warsaw a69c1ba0aa De PMW-ify 1998-09-28 23:38:44 +00:00
Barry Warsaw 26f4b5dfe4 Fixed the brightness calculation 1998-09-28 22:52:02 +00:00
Barry Warsaw 0dc9c92b10 Updated to new post-PMW framework. Moved generators to here and added
the StripViewer class.
1998-09-28 22:42:44 +00:00
Barry Warsaw 5177c48411 formatting 1998-09-28 21:01:55 +00:00
Barry Warsaw 6a3ea7468e Un PMW-ified 1998-09-28 20:58:06 +00:00
Barry Warsaw 04c7886764 Un PMW-ified 1998-09-28 16:28:04 +00:00
Barry Warsaw 987fb9225f Initial revision 1998-09-28 15:59:21 +00:00
Barry Warsaw a5a018fbd4 Fixed unit test 1998-09-25 22:51:36 +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 caf9fca35a nannified 1998-09-14 16:03:02 +00:00
Guido van Rossum e7e632ab6b Nannified. 1998-09-14 16:02:28 +00:00
Guido van Rossum a53f30babc nannified 1998-09-14 15:57:09 +00:00
Guido van Rossum 4e96ec6a4e nannified. 1998-09-14 15:56:40 +00:00
Guido van Rossum 09eea82005 Utility to replace CRLF with LF in argument files. 1998-09-14 15:46:41 +00:00
Guido van Rossum 499a6e5fd4 Utility to replace LF with CRLF in argument files. 1998-09-14 15:46:15 +00:00
Guido van Rossum ce85827ac1 Utility to untabify stubber results. 1998-09-14 15:43:38 +00:00
Guido van Rossum 9819983994 Beh, new version must be edited in a separate file. 1998-09-04 21:20:29 +00:00
Guido van Rossum 2053aa6cc0 Use SCRIPT_NAME (if defined) instead of hardcoding /cgi-bin/ when
sending the cookie.  (Suggestion by AMK.)
1998-09-04 21:19:55 +00:00
Guido van Rossum 859b407cf1 Ignore cruft generating by the test run for hello.py. 1998-08-25 15:27:36 +00:00
Guido van Rossum baf0603493 New version, with contributions from Sjoerd Mullender and Mark Hammond.
Sjoerd writes:

This version of freeze creates one file per Python module, instead of
one humongous file for all Python modules.
bkfile: new module to used to write files with backups.  No new file
is produced if the new contents is identical to the old.
New option "-x excluded-module" for modulefinder test program.
New option "-i filename" for freeze main program to include a list of
options in place of the -i option.
1998-08-25 14:06:55 +00:00
Guido van Rossum ee60eb127b New tool: reverse grep (greps from the end). Uses a fairly efficient
strategy to read from the end of the file.
1998-08-12 17:47:52 +00:00
Guido van Rossum e7f3953142 A script by Mark-Andre Lemburg to produce the PC/python_nt.def file
automatically.
1998-08-10 13:12:22 +00:00
Guido van Rossum a42c1ee21d Added note() message to Page class -- this was used but didn't exist.
(The alternative would be to call self.checker.note() but since
self.checker might be None that's not quite right.
1998-08-06 21:31:13 +00:00
Guido van Rossum b77a68e6b1 Rewrite to support multiple suckers, each with their own thread. 1998-07-08 03:05:22 +00:00