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
Barry Warsaw
37400e8943
Better dimensions
1998-02-11 18:54:23 +00:00
Barry Warsaw
a6f591ac6b
Interface changes, delegate chaining, type in widget addition
1998-02-11 17:19:54 +00:00
Barry Warsaw
f4562a7a0a
Simplification of conversion routines
1998-02-11 17:19:23 +00:00
Barry Warsaw
4a445c689c
#Layout looks good, as does validation, and delegate chaining
1998-02-11 17:11:34 +00:00
Barry Warsaw
2e6c13f150
Initial revision
1998-02-10 00:13:06 +00:00
Guido van Rossum
48b1cdea45
Fix typo in format for strftime() used by cookie code.
1998-02-02 03:19:06 +00:00
Barry Warsaw
f7c1e5a6a3
Moved toplevel widget to PyncheWidget.py
1998-01-31 23:39:28 +00:00
Barry Warsaw
fefbf79ea4
Initial revision
1998-01-31 23:39:01 +00:00
Barry Warsaw
9f4d73a9cf
BadColor: new exception class
...
rrggbb_to_triplet(): New utility function
1998-01-31 23:38:48 +00:00
Barry Warsaw
bfbe67f47f
Better implementation of nearest(). Not faster, but better
1998-01-31 00:32:07 +00:00
Barry Warsaw
2406b1d40a
Initial revision
1998-01-31 00:29:41 +00:00
Barry Warsaw
b6db1b94c5
mered Greg's suggestions, added docstring
1998-01-30 21:11:52 +00:00
Barry Warsaw
7080a7f69e
Initial revision
1998-01-29 23:48:55 +00:00
Barry Warsaw
516f18993f
Initial revision
1998-01-27 03:19:00 +00:00
Guido van Rossum
fdc5adc594
Dangerous feature added: when removing local files (i.e., only when -r
...
is used), do a recursive delete. Use -r with even more caution!
Also changed usage message into a doc string, added a comment or two,
and rearranged a long line.
1998-01-04 02:03:12 +00:00
Guido van Rossum
9d98c91b99
Fix bug detected by AMK: need to import string.
1997-12-31 15:46:56 +00:00
Guido van Rossum
982209dc69
Fix bug detected by AMK: Types should be types.
1997-12-31 15:46:20 +00:00
Guido van Rossum
c4b9af756d
Added Jack Jansen's versioncheck to the README file.
1997-12-23 19:03:42 +00:00
Guido van Rossum
5291037c70
Adding Jack Jansen's version checking utility.
1997-12-23 18:43:55 +00:00
Guido van Rossum
80e57fb21b
Converted to use re instead of regex; version 0.9.0.
1997-12-21 07:05:32 +00:00
Guido van Rossum
71c0dece54
Up the version.
1997-12-16 21:14:55 +00:00
Guido van Rossum
0721358969
Fix a bug in translate(): the pointer was incremented by the length of
...
the *escaped* url. Also added new special characters that are not
part of the url when found at the end: ( < > .
1997-12-16 21:12:47 +00:00
Guido van Rossum
b1823ad83f
v 0.8.3 -- add an option to suppress URL processing inside <PRE>,
...
by Scott <scott@chronis.icgroup.com>
1997-12-09 16:04:46 +00:00
Guido van Rossum
94ce0d1963
Add special handling for Python modules that are imported implicitly
...
by the Python runtime: 'site' and 'exceptions'.
1997-12-08 05:01:06 +00:00
Barry Warsaw
90136b08b6
Only parsing requires Python 1.5
1997-12-04 19:44:30 +00:00
Barry Warsaw
00727b0022
Updated world codes with latest iso3166 codes
1997-12-04 19:42:36 +00:00
Barry Warsaw
9efdef1d39
Added parsing of ISO 3166 files
1997-12-04 19:35:25 +00:00
Guido van Rossum
ca83f018e7
Added "-n file" option to only print files newer than the given file.
1997-11-24 23:49:35 +00:00
Guido van Rossum
345df170e6
os2 patch by Jeff Rush
1997-11-22 22:10:01 +00:00
Guido van Rossum
2aa78efab1
Add a pointer back to the wizard in the "compat" output.
1997-11-21 16:37:54 +00:00
Guido van Rossum
6592b3c01e
Use a %s format for the exit status -- through the magical workings of
...
the aptly named MagicDict class, the value is a string, not a number,
by the time it is printed...
1997-11-11 17:18:48 +00:00
Guido van Rossum
ca2f69cb96
As Mark Hammond found out, it was a bad idea to add "set -e" to the
...
check in command -- this fails for new files!
1997-11-11 17:17:55 +00:00
Guido van Rossum
79b2038aa4
When checking for equality, open the slave file in text mode so it
...
will compare equal even if the master file uses only \n to terminate
lines (this is by far the most common situation). Also, check for the
case where the master file is missing, and print the time difference
in seconds when the slave file appears newer than the master (for
debugging).
1997-11-04 17:35:43 +00:00
Guido van Rossum
9476a78c1e
Remove "." or "" from front of sys.path (this bit me once).
1997-10-20 23:48:01 +00:00
Guido van Rossum
845037018d
Generate new style exception initializer (Jack).
1997-10-08 15:21:57 +00:00
Guido van Rossum
f326134e5c
Map .shtml to text/html.
1997-10-07 14:56:42 +00:00
Guido van Rossum
57d4c5510d
Version 0.8.1.
1997-10-07 14:56:09 +00:00
Guido van Rossum
b6fd5a50b0
Add "set -e" to lock command.
1997-10-07 14:55:39 +00:00
Guido van Rossum
9971f689cb
Fix comment to add the all-important trailing colon to the example.
...
Print the author with the revision date and filename.
1997-10-06 21:09:32 +00:00
Guido van Rossum
d57548023f
A variant on webchecker that creates a mirror copy of a remote site.
1997-10-06 18:54:25 +00:00
Guido van Rossum
2237b73baf
Several changes:
...
- Change the code that looks for robots.txt to always look in /, even
if the "root" path is somewhere deep down below.
- Add link processing in <AREA> tags.
- Change safeclose() to avoid crashing when the file has no geturl()
method.
1997-10-06 18:54:01 +00:00
Guido van Rossum
03be7f525e
Changes by jack so the generated modules export their types
...
to Python.
1997-09-22 16:13:19 +00:00
Guido van Rossum
b81b5c72db
Moved pystone to Lib/test. Use import test.pystone to run it.
1997-09-16 18:57:42 +00:00
Guido van Rossum
d2ba3690ce
Skip symlinks; don't bother keeping a list of files that is never used.
1997-09-16 18:57:14 +00:00
Guido van Rossum
a11b041537
Added faqwiz and webchecker.
1997-08-28 02:41:33 +00:00
Guido van Rossum
8c5fa91253
Added section about multiple FAQs.
1997-08-28 02:38:54 +00:00
Guido van Rossum
f1ead1a63c
New installation instructions show how to maintain multiple FAQs.
...
Removed bootstrap script from end of faqwiz.py module.
Added instructions to bootstrap script, too.
Version bumped to 0.8.
Added <html>...</html> feature suggested by Skip Montanaro.
Added leading text for Roulette, default to 'Hit Reload ...'.
Fix typo in default SRCDIR.
1997-08-28 02:38:01 +00:00
Guido van Rossum
8a2d216047
Removed faqmain.py -- it was an earlier implementation and no
...
longer relevant.
1997-08-27 22:31:18 +00:00
Guido van Rossum
92dfa4ffe1
Use correct keyword parameter when calling copy with answer option!
1997-08-18 20:56:10 +00:00
Guido van Rossum
92c90329d1
Recognize https:// as URL as well.
1997-08-18 13:59:41 +00:00
Guido van Rossum
939e4c1efb
Oops, there was a bug in the output formatting - the last printed
...
values would overwrite the next value.
1997-08-14 23:25:20 +00:00
Guido van Rossum
3485bb6f44
Added logmerge.py
1997-08-14 22:04:26 +00:00
Guido van Rossum
6f0cf7ee20
Consolidate a bunch of CVS or RCS logs read from stdin.
1997-08-14 22:04:00 +00:00
Guido van Rossum
91c7c933cc
New version (changes are so minor that I don't bother to explain them).
1997-08-14 20:20:42 +00:00
Guido van Rossum
fee9faa044
Of course, this file should be empty except for an informative comment.
1997-08-14 20:19:27 +00:00
Guido van Rossum
193a11e389
Add a separate SRC directory and insert it in front of the path.
1997-08-14 20:18:18 +00:00
Guido van Rossum
1dccdc221c
Add missing semicolon to '>'.
1997-08-14 20:17:20 +00:00
Guido van Rossum
4d3376a80f
Added cvsfiles.py and treesync.py
1997-08-14 20:16:32 +00:00
Guido van Rossum
a554107802
Source tree synchronization tool (for Windowes, mostly)
1997-08-14 20:15:20 +00:00
Guido van Rossum
30e53c0c39
Print a list of files under CVS.
1997-08-14 20:14:54 +00:00
Guido van Rossum
9189bdabd5
support C++ comments
1997-08-14 20:14:29 +00:00
Guido van Rossum
5526e394a2
set LOOPS to 10000
1997-08-14 20:14:12 +00:00
Guido van Rossum
77b300895c
Add XXX warning about fishy line
1997-08-14 20:13:46 +00:00
Guido van Rossum
7ba3de44a2
Added Windows NT instructions.
1997-08-14 02:12:04 +00:00
Guido van Rossum
58a594829c
Changes for building under windows.
1997-08-14 01:45:33 +00:00
Guido van Rossum
0b4b8a21ce
Changed indents to 4 *spaces*; added Emacs variables to avoid
...
inserting tabs. All this (and the previous patch) in preparation for
porting to NT.
1997-08-10 16:56:48 +00:00
Guido van Rossum
9a6e855a27
Support using -p/-P to point to the source/build directory instead of
...
the install directory. Added -h option to print the full usage
message; by default, only two lines are now printed for errors.
1997-08-10 16:47:17 +00:00
Guido van Rossum
b3afce5763
Updated for new style build/install; much simpler!
1997-07-19 21:58:30 +00:00
Guido van Rossum
4dddff8ddf
Upped version to 0.6.
1997-07-13 03:36:53 +00:00
Guido van Rossum
9b1718c0e7
New PythonPowered logo image.
1997-07-13 03:32:28 +00:00
Guido van Rossum
9115eb522e
Added a variant of the epilogue that has the PythonPowered logo.
1997-06-03 22:04:10 +00:00
Guido van Rossum
5bf4d00887
Move the second import of faqcust to the very end.
1997-06-03 22:03:22 +00:00
Guido van Rossum
dafce6db7b
Expanded the setup instructions.
1997-06-02 23:10:06 +00:00
Guido van Rossum
525d52f8a4
Move the roulette() functionality out of the FaqDir class into the
...
FaqWizard class.
1997-06-02 22:52:37 +00:00
Guido van Rossum
4f074044be
Version upped.
1997-06-02 21:40:18 +00:00
Guido van Rossum
178f58a17e
Stupid typos -- ImporError.
1997-06-02 21:39:15 +00:00