Barry Warsaw
55f0aabe88
example output is different
1998-03-13 18:33:34 +00:00
Barry Warsaw
0eae830dec
Typos in the docstring fixed by Detlef Lannert
...
<lannert@uni-duesseldorf.de>
1998-03-13 18:27:12 +00:00
Barry Warsaw
fb34c92628
Added URL for UK
1998-03-12 14:05:37 +00:00
Barry Warsaw
844e664e9d
Added a hack to deal with common practice 'uk' for United Kingdom
1998-03-12 13:15:28 +00:00
Barry Warsaw
521b8e1cd8
Use RCS revisions
1998-03-11 16:53:21 +00:00
Barry Warsaw
c0b965b81b
Updated the docstring
1998-03-11 16:50:31 +00:00
Barry Warsaw
d2c210df62
Added reverse lookup
1998-03-11 16:46:04 +00:00
Barry Warsaw
5bfac8d7fd
Integrate with OptionsWindow... need to hook into Tab key
1998-03-10 00:17:30 +00:00
Barry Warsaw
f67575d69d
Integrate with OptionsWindow... not sure it should be modal
1998-03-10 00:17:01 +00:00
Barry Warsaw
31ac518dd7
Cosmetic
1998-03-10 00:16:09 +00:00
Guido van Rossum
2addd2a6da
Add quotes around some variable definitions; add a "clean" target.
1998-03-07 05:10:00 +00:00
Guido van Rossum
cef85a29f7
Adapted to the new situation.
1998-03-07 04:51:54 +00:00
Guido van Rossum
a0e18357e7
Rearrange some stuff so that the warning for unknown modules is also
...
issued on Windows.
1998-03-07 04:51:03 +00:00
Guido van Rossum
31d53ed93c
When writing the Windows Makefile, don't forget to strip some filenames
...
of their output directory prefix.
1998-03-07 04:08:04 +00:00
Guido van Rossum
0b0e7b5686
Got rid of the last tab character in this file.
1998-03-06 19:55:36 +00:00
Guido van Rossum
ab045f952c
Always set the __file__ attribute, so dynamic link modules are indicated.
1998-03-06 19:55:10 +00:00
Guido van Rossum
b7da642e2e
Fix typo -- -e takes a flag, -h doesn't. Somehow the colon and the h
...
got transposed.
1998-03-06 17:44:57 +00:00
Guido van Rossum
88b02cf346
Use a better way to bind the checkext instance variable to a check
...
button widget, not involving a __getattr__() method but a callback on
the widget.
1998-03-05 20:12:18 +00:00
Guido van Rossum
e0394259b0
Unfold some lines that were previously folded but don't need to be
...
now we're reindented.
Remove files before renaming something to them -- for Windows.
Change check for Python home directory so it works correct on Windows.
1998-03-05 05:39:50 +00:00
Guido van Rossum
541e783664
Reindented, removed tabs.
...
Also added simple "clean" target (removes *.o and executable).
1998-03-05 05:22:36 +00:00
Guido van Rossum
3c51cf2b69
Oops, bug omission: also scan internal code objects for imports!
1998-03-05 05:15:07 +00:00
Guido van Rossum
912a14c028
Reindented, removed tabs.
1998-03-05 04:56:37 +00:00
Guido van Rossum
1e07403bbf
Some nits...
...
Add the script directory to the path.
Fix the sanity checks on the arguments so they don't mess up the -m
option; remove the requirement that the script must have a .py
extension.
1998-03-05 04:05:38 +00:00
Guido van Rossum
75dc4969ab
Added support for packages.
...
We have a whole new module finder that uses the actual Python
parser and scans the bytecode for IMPORT_NAME and IMPORT_FROM.
This requires some support in import.c (that hasn't been checked in).
New command line options for this: -d, -q, -m.
1998-03-05 03:42:00 +00:00
Guido van Rossum
f888350dec
Untested changes to make the '-s windows' option
...
work on Windows.
1998-03-04 18:12:39 +00:00
Guido van Rossum
557f446618
Patches from Jack for new Apple headers
1998-02-23 15:30:44 +00:00
Guido van Rossum
1a7eae919a
Adapt to new webchecker structure. Due to better structure of
...
getpage(), much less duplicate code is needed -- we only need to
override readhtml().
1998-02-21 20:08:39 +00:00
Guido van Rossum
00756bd4a6
Major overhaul. Don't use global variable (e.g. verbose); use
...
instance variables. Make all global functions methods, for easy
overriding. Restructure getpage() for easy overriding. Add
save_pickle() method and load_pickle() global function to make it
easier for other programs to emulate the toplevel interface.
1998-02-21 20:02:09 +00:00
Guido van Rossum
64a1090d1b
Change default RCS bin directory to /usr/local/bin/.
1998-02-19 21:29:38 +00:00
Barry Warsaw
2e7a32046b
rrggbb_to_triplet(), triplet_to_rrggbb(): Improvements given by GvR
1998-02-18 17:01:12 +00:00
Barry Warsaw
4435d5a8d8
Very modest improvements
1998-02-18 17:00:24 +00:00
Barry Warsaw
49c5b0d1be
Get rid of commented out, slower versions
1998-02-18 16:22:52 +00:00
Barry Warsaw
4c2fab51ed
Implementation using TCLPROC loaded into the Tcl interpreter
1998-02-18 16:22:22 +00:00
Barry Warsaw
d7300f8f56
__modified(): Make sure `rgbs' is a tuple
1998-02-18 00:06:20 +00:00
Barry Warsaw
f67a50c2e1
Several optimizations:
...
self.__chips now contains the list of rgbtuple values for the
chips named i - 1 (Tkinter counts from 1, we count from zero).
The chip number was just the index + 1. This means color lookup
need not do an itemcget(), it can just index into __chips.
instead of calling __canvas.itemconfigure(), we glom up a huge Tcl
script and call tk.eval() directly. Actually we do many appends
to a Python list, then string.join() them together into one huge
string. This reduces the overhead of Tkinter but making one fast
call to Tcl.
1998-02-18 00:05:59 +00:00
Barry Warsaw
8d3e5ee552
Cache conversions from triplets to rrggbb's and vice versa. Wasteful
...
on space, but improves performance. Also use map to calculate
triplet_to_pmwrgb().
1998-02-18 00:02:26 +00:00
Barry Warsaw
552ac1795a
Added about dialog
1998-02-17 22:25:23 +00:00
Barry Warsaw
bc6893062a
Added chip selection stuff, strip label
1998-02-17 03:09:40 +00:00
Barry Warsaw
93737b2da8
Added method to set selected color to nearest.
...
Collapsed `Options' group into `Current Color' group
Set delegate of reds, greens, blues
1998-02-17 03:09:19 +00:00
Barry Warsaw
2e965add30
__validate(): test for None-age, not not-ness
1998-02-13 21:29:13 +00:00
Barry Warsaw
35ae864ab7
get arrow movement, and text updating. also outlining of highlight
1998-02-13 21:28:47 +00:00
Barry Warsaw
79a7879318
fixed the generators
1998-02-13 21:28:14 +00:00
Barry Warsaw
2662e15f58
triplet_to_pmwrgb(): New function
1998-02-13 21:27:56 +00:00
Barry Warsaw
f7e4793660
fixed initial color
1998-02-12 19:53:01 +00:00
Barry Warsaw
4b0d67d592
typo
1998-02-12 19:52:46 +00:00
Barry Warsaw
29fe4ddd20
Added color strip widgets
1998-02-12 19:52:31 +00:00
Barry Warsaw
9d882bc4de
Initial revision
1998-02-12 19:51:57 +00:00
Barry Warsaw
eab81a9247
Better conversion of command line given initial color
1998-02-11 18:56:13 +00:00
Barry Warsaw
55d3ffa3c2
new interface to find_byname()
1998-02-11 18:55:50 +00:00
Barry Warsaw
eb9b8af8fc
__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.
...
find_byrgb(): Changed name, interface (takes a tuple), and return
value
find_byname(): lowercase color name
1998-02-11 18:55:37 +00:00