Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make_view_popups(): Catch import error which can occur if a viewer is | Barry Warsaw | 1999-07-06 | 1 | -1/+7 |
| | | | | | | dynamically imported when Pynche is running via askcolor out of a package. If the ImportError occurs, try again, prepending the package name and digging out the module. | ||||
* | Use the much nicer tkFileDialog for loading color name database files | Barry Warsaw | 1999-04-27 | 1 | -5/+10 |
| | | | | (thanks Fred!) | ||||
* | Document that for askcolor(), databasefile and wantspec can now be set | Barry Warsaw | 1999-04-27 | 1 | -2/+2 |
| | | | | on every invocation, instead of just the first. | ||||
* | askcolor(): databasefile and wantspec can now be set on every | Barry Warsaw | 1999-04-27 | 1 | -3/+13 |
| | | | | invocation, instead of just the first. | ||||
* | Implement dynamic external Viewer discovery. | Barry Warsaw | 1999-04-27 | 1 | -34/+61 |
| | | | | | PyncheWidget.__init__(): Add the extrapath argument which can be used to pass in additional directories to search for Viewers. | ||||
* | Add a module global variable ADDTOVIEW to conform to dynamic viewer | Barry Warsaw | 1999-04-27 | 3 | -1/+7 |
| | | | | lookup protocol. | ||||
* | Added docstring describing Viewer interface. | Barry Warsaw | 1999-04-27 | 1 | -0/+33 |
| | | | | | set_colordb(): Call Viewers' colordb_changed() method if they have them. Notifies them of changes to the color name database. | ||||
* | add a comment | Barry Warsaw | 1999-04-27 | 1 | -0/+1 |
| | |||||
* | When selecting a radio button in the TextViewer (to change a specific | Barry Warsaw | 1999-04-27 | 1 | -6/+28 |
| | | | | | text widget attribute), the color the attribute currently has is set in the main widget. | ||||
* | Change Black/White button labels to not include the arrow | Barry Warsaw | 1999-04-27 | 1 | -2/+2 |
| | |||||
* | Describe namedcolors.txt | Barry Warsaw | 1999-04-26 | 1 | -0/+2 |
| | |||||
* | An alternative Netscape database | Barry Warsaw | 1999-04-26 | 1 | -0/+100 |
| | |||||
* | Describe how to load a new database | Barry Warsaw | 1999-04-26 | 1 | -0/+7 |
| | |||||
* | Describe the Color database files | Barry Warsaw | 1999-04-26 | 1 | -31/+58 |
| | |||||
* | Put the 'File' menu on the menubar even when modal, so users can get | Barry Warsaw | 1999-04-26 | 1 | -4/+3 |
| | | | | | to the 'load palette' entry. Just don't put the quit button on there. | ||||
* | Tim Peter's sister's 140 named colors that NS and MSIE understand | Barry Warsaw | 1999-04-26 | 1 | -0/+141 |
| | | | | (with some controversy surrounding AliceBlue :-) | ||||
* | The "Web-safe" colors (all #rrggbb style) | Barry Warsaw | 1999-04-26 | 1 | -0/+217 |
| | |||||
* | The HTML 4.0 guaranteed colors. | Barry Warsaw | 1999-04-26 | 1 | -0/+17 |
| | |||||
* | Set the version number to 1.0 -- I think it's stable enough | Barry Warsaw | 1999-04-26 | 1 | -1/+1 |
| | |||||
* | Lots of changes to support loading alternative color name database. | Barry Warsaw | 1999-04-26 | 6 | -78/+180 |
| | | | | | | | | | You can switch database by just loading the new one; the list window and nearest colors adapt to the new database. Some reorganizing of code. Also, the name of the database file is stored in the ~/.pynche pickle. If it can't be loaded, fallbacks are used. | ||||
* | Added /usr/lib/X11/rgb.txt in front of X/rgb.txt for Linuxers | Barry Warsaw | 1999-04-23 | 1 | -0/+2 |
| | |||||
* | Avoid totally empty files. | Guido van Rossum | 1999-04-10 | 1 | -0/+1 |
| | |||||
* | Helpwin.__init__(): The text widget should get focus. | Barry Warsaw | 1999-03-26 | 1 | -0/+1 |
| | |||||
* | Removed unnecessary import `from PyncheWidget import PyncheWidget' | Barry Warsaw | 1999-03-26 | 1 | -1/+0 |
| | |||||
* | Added most of the mechanism to change the strips from color variations | Barry Warsaw | 1998-12-15 | 1 | -20/+101 |
| | | | | | | | | to color constants (i.e. red constant, green constant, blue constant). But I haven't hooked this up yet because the UI gets more crowded and the arrows don't reflect the correct values. Added "Go to Black" and "Go to White" buttons. | ||||
* | A start on the TestModExp applet | Barry Warsaw | 1998-12-15 | 3 | -6/+6 |
| | | | | "Author" => "Contact" | ||||
* | Added Helpwin -- help in a text widget | Barry Warsaw | 1998-12-03 | 1 | -0/+60 |
| | |||||
* | Untabification and other cruft | Barry Warsaw | 1998-12-03 | 1 | -31/+40 |
| | |||||
* | docstring(): Function for returning __doc__ % globals() | Barry Warsaw | 1998-12-03 | 1 | -1/+6 |
| | |||||
* | A little more tweakage | Barry Warsaw | 1998-11-18 | 1 | -5/+20 |
| | |||||
* | (ChipViewer): Make frame sticky NSEW to fix geometry problem. | Barry Warsaw | 1998-11-18 | 1 | -1/+1 |
| | |||||
* | tweak version number | Barry Warsaw | 1998-11-18 | 1 | -1/+1 |
| | |||||
* | Updating | Barry Warsaw | 1998-11-18 | 2 | -4/+0 |
| | |||||
* | Brief update on the slightly changed API of pyColorChooser.askcolor(). | Barry Warsaw | 1998-10-22 | 1 | -11/+41 |
| | | | | Added a To Do list. | ||||
* | __init__(): Removed initialcolor keyword. | Barry Warsaw | 1998-10-22 | 1 | -6/+26 |
| | | | | | | | | | | | | | show(): added color keyword here so that the selected color can be chosen on each invocation of askcolor(). Also fixed this class, and askcolor() so that the same Chooser instance can be re-used instead of creating a new one on each invocation of askcolor(). Added a module function save() which can be used to explicitly save the option database in ~/.pynche. This does not happen automatically when used as a modal. | ||||
* | sticky should be NSEW to fix pixel weirdness at right edge | Barry Warsaw | 1998-10-22 | 1 | -1/+1 |
| | |||||
* | Error message goes to stderr | Barry Warsaw | 1998-10-22 | 1 | -4/+8 |
| | | | | | canceled() takes an optional flag so that the canceled flag can be cleared. | ||||
* | beep => bell | Barry Warsaw | 1998-10-22 | 1 | -3/+6 |
| | | | | deiconify(): New method | ||||
* | Fixed running of standalone via command line. Also, only do save from | Barry Warsaw | 1998-10-22 | 1 | -3/+5 |
| | | | | main() so that run-as-modal doesn't automatically save database. | ||||
* | Describe all the new features | Barry Warsaw | 1998-10-22 | 1 | -133/+262 |
| | |||||
* | Chooser.__init__(): Added `wantspec' keyword to conform exactly to | Barry Warsaw | 1998-10-22 | 1 | -4/+10 |
| | | | | | tkColorChooser.askcolor() interface (i.e. don't return a color name even if there is an exact match). | ||||
* | Many changes to support a second mode of operation. Pynche can now be | Barry Warsaw | 1998-10-22 | 10 | -120/+256 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run either as a standalone application (by running pynche or pynche.pyw), or as a modal dialog inside another application. This can be done by importing pyColorChooser and running askcolor(). The API for this is the same as the tkColorChooser.askcolor() API, namely: When `Okay' is hit, askcolor() returns ((r, g, b), "name"). When `Cancel' is hit, askcolor() returns (None, None). Note the following differences: 1. pyColorChooser.askcolor() takes an optional keyword `master' which if set tells Pynche to run as a modal dialog. `master' is a Tkinter parent window. Without the `master' keyword Pynche runs standalone. 2. in pyColorChooser.askcolor() will return a Tk/X11 color name as "name" if there is an exact match, otherwise it will return a color spec, e.g. "#rrggbb". tkColorChooser can't return a color name. There are also some UI differences when running standalone vs. modal. When modal, there is no "File" menu, but instead there are "Okay" and "Cancel" buttons. The implementation of all this is a bit of a hack, but it seems to work moderately well. I'm not guaranteeing the pyColorChooser.Chooser class has the same semantics as the tkColorChooser.Chooser class. | ||||
* | Saving/Restoring state into ~/.pynche file | Barry Warsaw | 1998-10-20 | 10 | -27/+160 |
| | |||||
* | The driver script on Unix is `pynche'; for Windows `pynche.pyw' | Barry Warsaw | 1998-10-16 | 1 | -2/+2 |
| | |||||
* | Updated __main__ unit test | Barry Warsaw | 1998-10-15 | 1 | -5/+10 |
| | |||||
* | Updated about text | Barry Warsaw | 1998-10-07 | 1 | -3/+3 |
| | |||||
* | Moved the main pynche.py file to Main.py. Added minimal driver | Barry Warsaw | 1998-10-07 | 5 | -5/+16 |
| | | | | | scripts pynche.py and pynche.pyw for Unix and Windows startup respectively. Document the .pyw file in the README. | ||||
* | Better layout of options menu and inc/dec buttons | Barry Warsaw | 1998-10-07 | 1 | -13/+16 |
| | |||||
* | Fixes for some type-in strangeness | Barry Warsaw | 1998-10-07 | 1 | -8/+18 |
| | |||||
* | Add a note about the console window | Barry Warsaw | 1998-10-06 | 1 | -4/+6 |
| |