Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump to version 1.3. Also document the new behavior of the chip widgets. | Barry Warsaw | 2001-08-23 | 1 | -8/+17 |
| | |||||
* | Bump to version 1.3 | Barry Warsaw | 2001-08-23 | 1 | -1/+1 |
| | |||||
* | Implement some suggestions by Laura Creighton. | Barry Warsaw | 2001-08-23 | 1 | -6/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | ChipWidget.__init__(): Added a message area just below the color name. Both the message and name widgets are now FLAT, DISABLED Entry widgets instead of Labels. This allows users to copy-n-paste the color names or color specs. Also, the contents of both widgets are now driven by StringVars. set_color(): This only sets the chip color; it does not set the name widgets. set_name(): New method which only sets the name widget contents. set_message(): New method which only sets the message widget contents. ChipViewer.update_yourself(): Set the color, name, and message for each chip as follows: the first line always contains the color spec in #rrggbb format. The second line will contain the color name, but slightly differently for each widget. For the Selected widget, if the color exactly matches the Nearest color, the name is shown, otherwise the message field will be empty. The name field of the Nearest widget will always contain the color name. | ||||
* | Change the way hex type-ins are displayed. The old way was way too | Barry Warsaw | 2001-07-10 | 1 | -48/+53 |
| | | | | | | | | fragile. Now the leading "0x" on hex numbers are displayed as labels and the type-in entry fields just accept the hex digits. Be sure to strip off the "0x" string when displaying hex values too. Also, de-string-module-ification, and other Python 2.x improvements. | ||||
* | __init__(), save_views(): Catch ValueError along with IOError and | Barry Warsaw | 2001-07-10 | 1 | -6/+7 |
| | | | | | EOFError so any failures in unmarshalling are just ignored. Use print>> instead of sys.stderr.write(). | ||||
* | Update a comment. | Barry Warsaw | 2001-07-10 | 1 | -2/+4 |
| | |||||
* | __init__(): Use augmented assignments. | Barry Warsaw | 2001-07-10 | 1 | -3/+5 |
| | |||||
* | De-string-module-ification. | Barry Warsaw | 2001-07-10 | 2 | -10/+11 |
| | |||||
* | __version__: Bump to 1.2 | Barry Warsaw | 2001-07-10 | 1 | -6/+8 |
| | | | | De-string-module-ification. | ||||
* | __populate(): Use augmented assignments. | Barry Warsaw | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | __delta(): Use augmented assignments. | Barry Warsaw | 2001-07-10 | 1 | -6/+6 |
| | |||||
* | De-string-module-ification and other Python 2.x improvements. | Barry Warsaw | 2001-07-10 | 1 | -29/+18 |
| | |||||
* | Update a comment. | Barry Warsaw | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | Updated documentation, and bump the version number to 1.2. | Barry Warsaw | 2001-07-10 | 1 | -10/+25 |
| | |||||
* | update_yourself(): Removed unused local variable reported by | Barry Warsaw | 2001-04-18 | 1 | -1/+0 |
| | | | | PyChecker. | ||||
* | __init__(): Removed unused local variable reported by PyChecker. | Barry Warsaw | 2001-04-18 | 1 | -1/+0 |
| | |||||
* | StripWidget.__init__(), update_yourself(): Removed some unused local | Barry Warsaw | 2001-04-18 | 1 | -21/+20 |
| | | | | | | | | variables reported by PyChecker. __togglegentype(): PyChecker accurately reported that the variable __gentypevar was unused -- actually this whole method is currently unused so comment it out. | ||||
* | Helpwin.__init__(): Removed an unused local variable (via import) | Barry Warsaw | 2001-04-18 | 1 | -1/+1 |
| | | | | reported by PyChecker. | ||||
* | Bump the version to 1.1 | Barry Warsaw | 2001-04-18 | 1 | -1/+1 |
| | |||||
* | There have been a few new Python releases <wink> in the 2 years since | Barry Warsaw | 2001-04-18 | 1 | -10/+7 |
| | | | | | this tool was last touched! Update some of the introductory material and bump the version to 1.1. | ||||
* | Special case around some of the nastier annoyances with the type-in | Barry Warsaw | 2001-02-01 | 1 | -6/+25 |
| | | | | | | | fields. You can now backspace out the 0 in 0x0, and you can clear the field when in decimal mode. There are still some oddities about typing into these fields, but it should be much less annoying. The real solution is to ditch the update-while-typing "feature". | ||||
* | Move the "from Tkinter import *" out of the method and into the module | Barry Warsaw | 2001-02-01 | 1 | -1/+2 |
| | | | | | scope (still inside the __name__=='__main__' guard). Necessitated by recent addition of nested scopes. | ||||
* | 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 |
| |