Commit graph

10761 commits

Author SHA1 Message Date
Barry Warsaw
f3ebf90d2c Add a module global variable ADDTOVIEW to conform to dynamic viewer
lookup protocol.
1999-04-27 18:54:12 +00:00
Barry Warsaw
2095b2fe14 Added docstring describing Viewer interface.
set_colordb(): Call Viewers' colordb_changed() method if they have
them.  Notifies them of changes to the color name database.
1999-04-27 18:53:29 +00:00
Barry Warsaw
b61a28e240 add a comment 1999-04-27 18:43:47 +00:00
Fred Drake
505c49199a Added "See also" reference to PyOpenGL. 1999-04-27 18:05:06 +00:00
Barry Warsaw
7b2812211a When selecting a radio button in the TextViewer (to change a specific
text widget attribute), the color the attribute currently has is set
in the main widget.
1999-04-27 15:56:53 +00:00
Barry Warsaw
f5e98572e5 Change Black/White button labels to not include the arrow 1999-04-27 15:56:02 +00:00
Guido van Rossum
3f36a085fe Cast f.tell() result to int() in _addval(), so it works even on
platforms where tell() returns a long.  (Perhaps tell() should be
fixed too?)  Reported by Greg Humphreys.
1999-04-27 12:21:17 +00:00
Barry Warsaw
74109a149e Describe namedcolors.txt 1999-04-26 23:50:04 +00:00
Barry Warsaw
3e9c75d3f2 An alternative Netscape database 1999-04-26 23:49:23 +00:00
Barry Warsaw
a25223faf4 Describe how to load a new database 1999-04-26 23:48:17 +00:00
Barry Warsaw
821d8b73e8 Describe the Color database files 1999-04-26 23:46:25 +00:00
Barry Warsaw
6e7f6ea756 Put the 'File' menu on the menubar even when modal, so users can get
to the 'load palette' entry.   Just don't put the quit button on
there.
1999-04-26 23:36:47 +00:00
Barry Warsaw
3f01c724fd Tim Peter's sister's 140 named colors that NS and MSIE understand
(with some controversy surrounding AliceBlue :-)
1999-04-26 23:27:38 +00:00
Barry Warsaw
a04988a8dd The "Web-safe" colors (all #rrggbb style) 1999-04-26 23:26:43 +00:00
Barry Warsaw
375b11635b The HTML 4.0 guaranteed colors. 1999-04-26 23:26:23 +00:00
Barry Warsaw
d515a7ea3d Set the version number to 1.0 -- I think it's stable enough 1999-04-26 23:18:07 +00:00
Barry Warsaw
0604d72318 Lots of changes to support loading alternative color name database.
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.
1999-04-26 23:17:16 +00:00
Guido van Rossum
0ec1493d0b Some changes (maybe not enough?) to make it work on Windows with local
file URLs.
1999-04-26 23:11:46 +00:00
Guido van Rossum
26c2cb4bd1 Tim Peters strikes again:
Ho ho ho -- that's trickier than it sounded!  The colorizer is working with
"line.col" strings instead of Text marks, and the absolute coordinates of
the point of interest can change across the self.update call (voice of
baffled experience, when two quick backspaces no longer fooled it, but a
backspace followed by a quick ENTER did <wink>).

Anyway, the attached appears to do the trick.  CPU usage goes way up when
typing quickly into a long triple-quoted string, but the latency is fine for
me (a relatively fast typist on a relatively slow machine).  Most of the
changes here are left over from reducing the # of vrbl names to help me
reason about the logic better; I hope the code is a *little* easier to
1999-04-26 22:20:38 +00:00
Jack Jansen
c020e2d36c Bill Bedford's Apple Data Detector extensions for Python. Unchanged, except for the readme filename. Untested too, because I don't have ADD/IAD installed yet. 1999-04-25 21:37:50 +00:00
Just van Rossum
d9f3c94478 added 'org.python.core' to the maymiss list (pickly.py tries to import it, probably for JPython support) -- jvr 1999-04-24 16:51:22 +00:00
Just van Rossum
f98e692257 removed two redundant lines -- jvr 1999-04-24 16:48:34 +00:00
Fred Drake
dcf17f3860 mhlib is now documented. 1999-04-23 22:24:12 +00:00
Fred Drake
a4966647ec Markup consistency. 1999-04-23 22:22:27 +00:00
Fred Drake
1c7cd63a2b Nits. 1999-04-23 22:03:00 +00:00
Fred Drake
957ac3fadb Add section for the sha module. 1999-04-23 21:52:18 +00:00
Guido van Rossum
ea424e19f1 Apparently __GNU_LIBRARY__ is defined for glibc as well as for libc5.
The test really wanted to distinguish between the two.  So now we test
for __GLIBC__ instead.  I have confirmed that this works for glibc and
I have an email from Christian Tanzer confirming that it works for
libc5, so it should be fine.
1999-04-23 20:59:05 +00:00
Fred Drake
154fc6dcf7 Patch from Greg Ward adding descriptions of S_IMODE() and S_IFMT(),
and an explanation of why any of stat.S_*() would be used instead of
os.path.is*().  (With some really small enhancements by me.)
1999-04-23 20:54:57 +00:00
Fred Drake
24aca83dbd Fixed typo and font-control problem reported by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:33:59 +00:00
Fred Drake
29cf682b71 Clarifications on the first(), next(), and previous() functions, based
on comments from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:32:59 +00:00
Fred Drake
861192120b Fix a grammatical error reported by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:07:02 +00:00
Fred Drake
ec8b905bd4 Fix a couple of typos reported by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:01:17 +00:00
Fred Drake
16214fb017 Fix a couple of grammatical errors reported by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:00:53 +00:00
Fred Drake
4aa4f30759 Work-around LaTeX2HTML space-dropping bug. 1999-04-23 17:30:40 +00:00
Fred Drake
87b8f318b0 Fixed some logical markup nits.
Added a pointer to Grail in the see-also section, since it's used as
an example.
1999-04-23 17:26:24 +00:00
Fred Drake
deb7e096d3 Logical markup. 1999-04-23 17:11:53 +00:00
Fred Drake
806764bee4 No, __repr__() does not accept a parameter other than self. 1999-04-23 17:03:21 +00:00
Fred Drake
0fbec55e23 Shorten the section title.
Adjust markup to be a little more consistent with the rest of the
document.
1999-04-23 16:44:53 +00:00
Barry Warsaw
c2aadcd96a Added /usr/lib/X11/rgb.txt in front of X/rgb.txt for Linuxers 1999-04-23 16:24:00 +00:00
Fred Drake
eea97ea063 Shorten the section title. 1999-04-23 16:07:38 +00:00
Fred Drake
86bd5e48c3 Shorten the section title.
Fix a couple of grammatical errors.
1999-04-23 16:02:30 +00:00
Fred Drake
7475e04fad Work around a space-dropping problem in LaTeX2HTML.
Clarify the usage of a parameter.
1999-04-23 15:57:23 +00:00
Fred Drake
ae35aa8b63 Added "See also" sections linking to binascii. 1999-04-23 15:52:18 +00:00
Fred Drake
ee4d54ea33 Refer to the binhex module, not the non-existent hexbin module.
Added a "See also" section.
1999-04-23 15:42:36 +00:00
Fred Drake
26f7cfe9c7 Fix some glaring markup consistency problems (presentation was
broken).

Added a "See also" section.
1999-04-23 15:41:53 +00:00
Fred Drake
10682c28b4 Added a couple more requests from users. 1999-04-23 15:15:58 +00:00
Fred Drake
812860e81d Hack places where '--' should appear as literal output but the -- was
(properly) converted to - by LaTeX2HTML.
1999-04-23 14:46:18 +00:00
Fred Drake
d960dc81b5 Fix square brackets around optional parameters to macros. 1999-04-23 14:44:53 +00:00
Fred Drake
7a737dffc4 General small improvements and fixes. 1999-04-23 14:41:44 +00:00
Guido van Rossum
9dd52099fa Provide full arguments to __import__ so it works in packagized IDLE. 1999-04-23 14:01:25 +00:00