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
Guido van Rossum
c22eb01bfe
Bugfix: last_changed would always print current time.
1997-06-02 15:51:51 +00:00
Guido van Rossum
d7918fb758
Added hint about permissions.
1997-05-30 12:01:24 +00:00
Guido van Rossum
72a342fd4f
Protect roulette against empty FAQ.
1997-05-30 11:58:21 +00:00
Guido van Rossum
00494bfa15
Inclide the imports and chdir in the try/except.
1997-05-30 11:50:36 +00:00
Guido van Rossum
68bdad1015
Tiny script to play with it on a Mac.
1997-05-28 16:09:02 +00:00
Guido van Rossum
d812c07e0e
Set version to 0.4; get rid of '(' in column 1 in triple-queted string.
1997-05-26 20:15:44 +00:00
Guido van Rossum
132e1892e1
Initial revision
1997-05-26 20:15:09 +00:00
Guido van Rossum
7a241071d4
Added marks for very recently (24 hours) and recently (7 days)
...
modified files. Added and used global now, entry.getmtime(), and
entry.emit_marks().
1997-05-26 19:46:56 +00:00
Guido van Rossum
fd67f738dd
Added marks for very recently (24 hours) and recently (7 days)
...
modified files. Throw things around a bit.
1997-05-26 19:46:18 +00:00
Guido van Rossum
8bc49c8ad1
Support for more general diffing and retrieving any old revision.
...
Support for index formatting with local refs.
1997-05-26 19:10:37 +00:00
Guido van Rossum
8cde0b47b8
Added keyword searching.
1997-05-26 16:35:46 +00:00
Guido van Rossum
d993695b0f
Added keyword searching radio buttons.
1997-05-26 16:35:27 +00:00
Guido van Rossum
030144d9f6
Don't need <BR> at end of <LI>.
1997-05-26 16:02:56 +00:00
Guido van Rossum
1f04772347
Bugfix -- should pass headers=0 when formatting query results.
1997-05-26 16:02:00 +00:00
Guido van Rossum
21c4b5f66a
Add optional section titles to format_all.
...
Allow for missing section titles in format_all and format_index.
1997-05-26 06:28:40 +00:00
Guido van Rossum
b1d8a259e3
Oops, checked in the wrong SHORTNAME value.
1997-05-26 06:14:02 +00:00
Guido van Rossum
2305231acd
Added a local customization feature: load some parameters from faqcust.
1997-05-26 06:12:50 +00:00
Guido van Rossum
46a160f6de
Initial revision
1997-05-26 06:11:35 +00:00
Guido van Rossum
72fdef07d3
Initial revision
1997-05-26 05:43:37 +00:00
Guido van Rossum
ea31ea2859
I'm happy with this.
1997-05-26 05:43:29 +00:00
Guido van Rossum
1677e5b5dd
Initial revision
1997-05-26 00:07:18 +00:00
Guido van Rossum
efe640c00f
Final touch -- bottom link points to FAQ Wizard home.
1997-05-23 23:07:44 +00:00
Guido van Rossum
eae7d0ecf3
Forgot to remove debug stmt.
1997-05-23 22:46:16 +00:00
Guido van Rossum
9c6cedaa08
The official name of the whole thing is now "Python FAQ Wizard";
...
and it's in beta testing now.
Renamed the cookie id to Python-FAQ-Wizard and fixed some bugs
related to cookie processing.
1997-05-23 22:44:01 +00:00
Guido van Rossum
a78a3c30dd
Implemented a simple Password scheme.
...
Added a Help link to the FAQ Edit Wizard.
1997-05-23 22:29:24 +00:00
Guido van Rossum
f8f0fb7069
Added last mtime on whole faq.
...
Added more elaborate explanation of version conflict.
Set fake header on commit so show() shows the new mtime.
Reorder name/email fields to be after the log message.
1997-05-23 21:21:43 +00:00
Guido van Rossum
1d57981015
Nits.
...
Use TARGET=rlog instead of _blank for rlog output.
Add missing mailto: to author's email address in Last changed link.
Forget about the domainname in the cookie; the default is just fine.
1997-05-23 19:18:35 +00:00
Guido van Rossum
1dcc24404b
Reorg TO DO list.
...
Run rlog commands as pipe so we can cgi.escape(output).
Added self.escape(), like cgi.escape() but also escapes " -- for use
as double-quoted attribute values inside HTML tags.
Fix complains from Mark Lutz: HTTP_HOST is not always set.
1997-05-23 18:53:06 +00:00
Guido van Rossum
a0e9a6d332
Small nits for Grail; don't forget to cgi.translate & and <.
1997-05-23 18:13:58 +00:00
Guido van Rossum
d1c1ec8a77
- Suppress the visible text in the epilogue when "edit=no" is specified.
...
- Add translation of *foobar* into <I>foobar</I> (but not inside <PRE>).
- Optimization for the translation: only translate when @ or / or * seen.
- Add some layout to front page lay-out.
1997-05-23 17:45:04 +00:00
Guido van Rossum
4888c7ece5
Added section titles (for now, hardcoded in the file).
1997-05-23 15:55:19 +00:00
Guido van Rossum
5527db5b76
Added code to recognize http/ftp URLs and email addresses, and add <A>
...
tags for them.
1997-05-23 04:44:30 +00:00
Guido van Rossum
c6447527aa
Minor change: add prologue() calls to do_info and do_rlog; in
...
do_recent, don't display entries without a last-changed-date.
1997-05-23 00:50:01 +00:00
Guido van Rossum
af5be958e3
Added menu entry on deleting FAQ entries.
...
Added a generic error handler function.
Added cookie support to preserve author's name and email.
1997-05-22 16:57:50 +00:00
Guido van Rossum
64099e955d
HTML formatting nits.
...
Added "Reload this entry" link to edit complete screen.
1997-05-22 15:49:23 +00:00
Guido van Rossum
ed531fd9df
Mostly small changes.
...
- Fixed broken HTML in edit form that swallowed <BR> tags
- Removed "another one" link in roulette, replaced with "use Reload" message
- show() now has edit=1 by default; changed all calls
- Display last-changed date, author, email when present and edit=1
- Added back pointers at bottom
- Added a copy of the bootstrap script at the end of the file
1997-05-22 15:21:57 +00:00
Guido van Rossum
74427e51d7
Separate prologue/epilogue functions.
...
Get the current version on edit and reject commits based on an old
version.
1997-05-21 23:43:39 +00:00
Guido van Rossum
4c45422b13
Oops, left an 'n = n+1' in but n was undefined.
1997-05-21 22:42:23 +00:00
Guido van Rossum
f701bf1098
Add "Log info" to view rcs log.
...
Speed up __getattr__ by storing the value as self.<key>.
1997-05-21 22:25:56 +00:00
Guido van Rossum
d7bfa80c63
Lots of new features:
...
- got rid of the separate search page
- added an index (lists the questions with links to the answers)
- add a mechanism to add new entries
- add a way to list most recently edited entries first
1997-05-21 21:31:39 +00:00
Guido van Rossum
3c3354c0e7
Crude but functional, except for adding new entries.
1997-05-21 16:52:18 +00:00
Guido van Rossum
adb3a9db57
Initial revision
1997-05-21 07:24:50 +00:00
Guido van Rossum
650b3aad55
Unlink before rename (for NT).
1997-05-19 15:20:49 +00:00
Guido van Rossum
e6fcd33179
Correct comment; -c is off by default.
1997-05-15 21:51:16 +00:00
Guido van Rossum
1ade44cb0c
Open the output files with 'wb', not 'w'.
1997-05-15 18:25:29 +00:00
Guido van Rossum
29f6533c7f
Scroll to top of info window when done.
1997-05-09 03:19:29 +00:00
Guido van Rossum
89efda363f
Avoid the fancy handler for error 401 (request authentication).
1997-05-07 15:00:56 +00:00
Guido van Rossum
af310c1d00
Restructured Checker class to get rid of 'ext' table.
...
Links are now either in 'todo' or 'done', and ext links
are hadled more like local links except that no further
links are gathered (and sometimes they aren't checked,
e.g. for mailto and news URLs). The -x option reverses
its meaning: it disables checking of ext links (they are
moved to 'done' without checking). A new 'errors' table
collects pages with bad links as we go -- redundant,
but useful for the GUI version which needs to report
this as we go. Some new methods, including reset().
New checkpoint format.
Adapted the GUI to the changes in the Checker class.
Added Quit and "Start over" buttons, and a checkbox
to disable checking external links. The details
window now also shows bad links emanating from the
selected page. Miscellaneous small chages.
1997-02-02 23:30:32 +00:00
Guido van Rossum
4f6ecdaacf
Add root URL entry box, separate start/stop/step buttons.
...
If the users selects an item in 'To check', start checking there.
1997-02-01 05:17:29 +00:00
Guido van Rossum
6133ec656e
Process <img> and <frame> tags. Don't bother skipping second href.
1997-02-01 05:16:08 +00:00
Guido van Rossum
de99d310cc
Check in another copy of tktools.py...
1997-01-31 18:58:53 +00:00
Guido van Rossum
06981c328d
Tk interface to webchecker. Not fully featured yet, but usable.
1997-01-31 18:58:12 +00:00
Guido van Rossum
0b0b5f0279
Spin off checking of external page in a subroutine.
...
Increase MAXPAGE to 150K.
Add back printing of __doc__ for usage message.
1997-01-31 18:57:23 +00:00
Guido van Rossum
e5605ba3c2
Many misc changes.
...
- Faster HTML parser derivede from SGMLparser (Fred Gansevles).
- All manipulations of todo, done, ext, bad are done via methods, so a
derived class can override. Also moved the 'done' marking to
dopage(), so run() is much simpler.
- Added a method status() which returns a string containing the
summary counts; added a "total" count.
- Drop the guessing of the file type before opening the document -- we
still need to check those links for validity!
- Added a subroutine to close a connection which first slurps up the
remaining data when it's an ftp URL -- apparently closing an ftp
connection without reading till the end makes it hang.
- Added -n option to skip running (only useful with -R).
- The Checker object now has an instance variable which is set to 1
when it is changed. This is not pickled.
1997-01-31 14:43:15 +00:00
Guido van Rossum
c59a5d449f
Set proper User-agent header (Python-webchecker/<version>).
...
When -x is combined with -q, still do the checking, but don't print
the error in this phase -- they are reported by report_errors().
1997-01-30 06:04:00 +00:00
Guido van Rossum
2739cd74b3
Some refinements of the external-link checking code: insert the errors
...
in the 'bad' dictionary (sanitize them so they are picklable; the
sanitation code is now a subroutine); don't check mailto: URLs; omit
colon in Error message.
1997-01-30 04:26:57 +00:00
Guido van Rossum
de66268588
Added -x option to check external links. Slooooow!
1997-01-30 03:58:21 +00:00
Guido van Rossum
325a64f207
Catch I/O errors when parsing robots.txt file.
...
Add version number, printed at startup in non-quited mode.
1997-01-30 03:30:20 +00:00
Guido van Rossum
df47bafa1c
Basic README file
1997-01-30 03:24:00 +00:00
Guido van Rossum
3edbb35023
Added robots.txt support, using Skip Montanaro's parser.
...
Fixed occasional inclusion of unpicklable objects (Message in errors).
Changed indent of a few messages.
1997-01-30 03:19:41 +00:00
Guido van Rossum
bbf8c2fafd
Skip Montanaro's robots.txt parser.
1997-01-30 03:18:23 +00:00
Guido van Rossum
272b37d686
web tree checker
1997-01-30 02:44:48 +00:00
Guido van Rossum
d7e4705d8f
mime types guesser
1997-01-30 02:44:20 +00:00
Guido van Rossum
04f2b453bb
Version 1.1. Fix memory leak and expensive comparison with None.
1997-01-18 02:20:37 +00:00
Guido van Rossum
f06ee5fa07
/usr/local/bin/python -> /usr/bin/env python
1996-11-27 19:52:01 +00:00
Guido van Rossum
499181a833
Changed so that it replaces /usr/local/bin/python with /usr/bin/env python.
1996-11-27 19:43:49 +00:00
Guido van Rossum
d5c58c34db
Changed logic so it now replaces anything that has #! and python in
...
the first line, replacing the entire line.
1996-11-27 19:43:01 +00:00
Guido van Rossum
fc0588241c
Script to fix cprt notice
1996-11-27 19:41:55 +00:00
Barry Warsaw
3ffc503682
Removed the USA'isms that aren't really true
1996-11-20 18:43:05 +00:00
Barry Warsaw
7081a69b24
/usr/bin/env is slightly more portable
1996-11-20 15:19:10 +00:00
Barry Warsaw
00bf8efe0b
Added a few meta info
1996-11-20 15:17:50 +00:00
Barry Warsaw
2a6e68f693
Output original address
1996-11-19 17:59:07 +00:00
Barry Warsaw
de0e8f763b
Updated country codes as per ISO3166 10-Feb-1994
1996-11-18 23:22:34 +00:00
Barry Warsaw
cb2b672015
implementation complete. need to update country codes
1996-11-18 22:57:43 +00:00
Barry Warsaw
3a7212c86a
Added `ru' --> Russia
1996-11-18 22:03:36 +00:00
Barry Warsaw
f6d53448e5
A rewrite for better Python-ish style
1996-11-18 21:26:56 +00:00
Guido van Rossum
e41d00bb6a
Fixed a bug: files that no longer exist remotely would never be
...
removed from .mirrorinfo. Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).
Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).
1996-11-14 18:24:47 +00:00
Fred Drake
abcb38250b
(texi2html.py): Minor improvement to HTML 3.0 output for code examples.
1996-10-25 22:13:59 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Fred Drake
22f7f9e671
(texi2html.py): Added CLASS=Navigation attribute to DIV around top/bottom
...
navigation links for HTML 3 version.
Forced a blank line above the footnotes separator for HTML 2; at
least one page did not get this spaced correctly.
1996-10-11 16:54:00 +00:00
Fred Drake
0282726643
(texi2html.py): Tightened the generated HTML slightly. Added -p option to
...
print section titles even when the debugging output is not enabled.
Added -3 option to generate HTML 3.0 constructs where meaningful.
Removed repititive garbage generation: the old version added simple
descriptive comments after every datadesc/funcdesc/*desc entry:
function(args) -- function of module xxxx
Description....
These comments are no longer generated:
function(args)
Description....
1996-10-09 19:05:12 +00:00
Fred Drake
a39a25e5ec
(texi2html.py): Use "if __name__ == '__main__':" test. Adjust indentation
...
to 4 spaces per level (no longer 8).
(Makefile): Use .pyc versions of partparse.py and texi2html.py to generate
converted documentation formats. This reduces the startup costs;
probably doesn't affect anyone but me in reality, but helps when
working on the docs.
1996-09-13 14:44:34 +00:00
Guido van Rossum
be5e34204e
Note obsolescence
1996-09-11 23:34:32 +00:00
Guido van Rossum
dd6798c691
Added NumVersion definition.
1996-08-26 14:38:40 +00:00
Guido van Rossum
c30461dd38
Insert filename in IOError message.
1996-08-26 14:37:47 +00:00
Guido van Rossum
96c4dd95cf
OK, now it uses sys.[exec_]prefix and supports
...
a -o option to specify an output directory. *Much* more convenient.
Removed a whole lot of hullabaloo from the README file, too.
1996-08-26 05:14:20 +00:00
Guido van Rossum
6498cad34e
Get rid of it totally
1996-08-26 04:10:33 +00:00
Guido van Rossum
f34bf1c07b
Added warning that this is unsupported
1996-08-26 03:50:10 +00:00
Guido van Rossum
aa233f18b2
Changes for 1.4 install targets
1996-08-26 03:49:49 +00:00
Guido van Rossum
6100d914e8
Allow whitespace before '#' in preprocessor directives.
1996-08-22 23:12:23 +00:00
Guido van Rossum
29901ff528
Some improvements by Fred Drake.
1996-08-09 21:46:34 +00:00
Guido van Rossum
8e7a54f525
More changes by Sjoerd & Jack
1996-07-21 02:50:30 +00:00
Guido van Rossum
e47d5f9c52
Addition by Jack to test for missing type support
1996-07-21 02:49:55 +00:00
Guido van Rossum
d4cc04c672
Add test that script name ends in .py.
...
Cosmetic changes to usage message (refer to "make install" now).
1996-06-17 17:49:13 +00:00
Guido van Rossum
f75f80eb48
Get struct _frozen defn from Python.h; new variable names.
1996-06-17 17:48:30 +00:00
Guido van Rossum
814842f395
Removed most of the README text since it is all about the Mac specific
...
examples, which no longer live here.
1996-05-24 18:43:47 +00:00
Guido van Rossum
d544d0126d
Moved customization to bgenlocations.py module.
1996-04-12 16:39:00 +00:00
Guido van Rossum
9a2c546e75
Create files as temp file and move to real location only when complete.
...
Added some try-except statements around listdir and mkdir operations.
1996-04-09 02:51:23 +00:00
Guido van Rossum
a0e2422615
A few missing casts (Richard Neitzel).
...
Don't append Unix paths on a Mac (Jack Jansen).
1996-03-07 16:16:54 +00:00
Guido van Rossum
d2966cb95a
don't die on unreadable files etc.
1996-02-05 18:49:00 +00:00
Jack Jansen
7d1eba9783
Added extra module argument varstuff, to declare extra module-level vars
1996-01-05 18:05:45 +00:00
Jack Jansen
425e9eb6cb
- Added color window/pixmap support
...
- Added support for obtaining pixmap data
- Added OptResObj_* routines for optional handles
1995-12-12 15:02:03 +00:00
Jack Jansen
1e4ce733fc
Added Sint8 and Uint8 types
1995-12-09 14:02:54 +00:00
Jack Jansen
0a54ae24c3
Added cm and qt demos
1995-12-09 14:02:10 +00:00
Jack Jansen
135fb71481
BitMap object support
1995-11-16 22:47:22 +00:00
Jack Jansen
7830ab8f49
Added definitions for GrafPort object and Fixed type.
1995-11-15 15:17:23 +00:00
Jack Jansen
b5cf5dad43
Changed file signature to CW7 project mgr
1995-11-14 10:40:45 +00:00
Jack Jansen
e48aa966c1
Fixed bug in cts error message handling.
1995-11-10 14:56:16 +00:00
Jack Jansen
81299f10f7
Added providence mailer support
1995-10-30 10:23:10 +00:00
Jack Jansen
4ec940ad04
Added (limited) compuserve error parsing
1995-10-30 10:10:19 +00:00
Jack Jansen
f39ca24ebc
Removed unneeded reference to tkinter
1995-10-23 14:34:52 +00:00
Jack Jansen
945b7b8eaf
comment fix
1995-10-23 13:52:52 +00:00
Sjoerd Mullender
8968624574
Script to read and parse error messages from mailer daemons.
...
Written by Jack, some minor changes by Sjoerd.
1995-10-19 09:35:31 +00:00
Jack Jansen
349a988ba7
Added third argument to call()
1995-10-12 13:45:25 +00:00
Jack Jansen
d40f3c60ca
New universal headers
1995-10-09 23:12:22 +00:00
Sjoerd Mullender
edb21c4edc
Fixed typo: == -> =.
1995-08-29 14:22:16 +00:00
Guido van Rossum
06f4289d3f
many fixes by anonymous contributor
1995-08-28 03:01:00 +00:00
Jack Jansen
b95ea18a4c
Added ResObj_OptNew declaration
1995-08-17 14:32:23 +00:00
Jack Jansen
ec38010808
Added basic mac documentation.
1995-08-14 11:55:07 +00:00
Guido van Rossum
150316ee2e
added getpath.c; added -P exec_prefix; added explanatory note
1995-08-08 14:21:07 +00:00
Guido van Rossum
e830e55606
added ftp mirror script
1995-06-20 19:31:37 +00:00
Guido van Rossum
98590187d5
removed all references to modsupport.h
1995-06-20 18:45:39 +00:00
Jack Jansen
8d2033f08b
Two new methods
1995-06-20 12:42:39 +00:00
Jack Jansen
5214a29774
Fixed sentence about modulator
1995-06-20 12:32:43 +00:00
Jack Jansen
138497d65b
Updated
1995-06-20 12:32:15 +00:00
Jack Jansen
9a69112f85
Jim Fulton's change to support doc strings
1995-06-20 12:26:03 +00:00
Jack Jansen
80adc227d2
Added missing setselftype method to ManualGenerator
1995-06-18 20:08:28 +00:00
Barry Warsaw
6a9df7a86c
updated comments
1995-06-15 15:56:34 +00:00
Barry Warsaw
268a39fb84
converted to python
1995-06-15 15:54:16 +00:00
Jack Jansen
7d0bc8343f
Ported to Universal Header 2.0.1f (i.e. CW6)
1995-06-09 20:56:31 +00:00
Jack Jansen
ae8a68f40c
Trying again to check it in. Changes to:
...
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
1995-06-06 12:55:40 +00:00
Jack Jansen
ebed75116f
Templates converted to new naming conventions (thanks to Chak Tan)
1995-05-16 13:47:03 +00:00
Jack Jansen
52e02998ef
Made the example slightly more complete
1995-05-16 13:43:09 +00:00
Guido van Rossum
953dc1a079
added transferSize() method
1995-05-03 17:36:54 +00:00
Guido van Rossum
a12bbff857
mods by Gregor Schmid -- very nice!
1995-05-03 14:17:36 +00:00
Guido van Rossum
bf6bdb0100
removed some harsh words and added some clarifications
1995-04-05 10:59:20 +00:00
Guido van Rossum
e956386283
Jaap V's version
1995-04-05 10:58:52 +00:00
Guido van Rossum
6d67b607b2
backup Makefile too
1995-04-05 10:58:39 +00:00
Guido van Rossum
189f8fb8f7
added "pystone" benchmark
1995-03-30 09:42:43 +00:00
Guido van Rossum
a4007eb816
added listing of argument types encountered
1995-03-23 10:41:10 +00:00
Guido van Rossum
26a9d37e5c
new, from ../Demo/www
1995-03-15 11:26:05 +00:00
Guido van Rossum
227a4232e6
the usual
1995-03-10 14:42:57 +00:00
Guido van Rossum
ed3c791050
moved lots of scripts from Demo/scripts to Tools/scripts
1995-03-02 15:56:30 +00:00
Guido van Rossum
fd218ca865
moved Demo/modulator to Tools/modulator
1995-03-02 15:55:28 +00:00
Guido van Rossum
309e8ac579
moved Demo/freeze to Tools/freeze
1995-03-02 15:54:21 +00:00
Guido van Rossum
5f858801a2
new
1995-03-02 15:51:27 +00:00
Guido van Rossum
d211220cd2
checkin of Jack's original version
1995-03-02 14:05:29 +00:00
Guido van Rossum
ea64dea05f
another round
1995-02-27 10:11:31 +00:00
Guido van Rossum
9784295b15
another round... ported to __SC__
1995-02-19 15:59:49 +00:00
Guido van Rossum
d9ff26b1a0
reorganized class structure so Manualgenerator works again
1995-02-05 16:56:49 +00:00
Guido van Rossum
4df16c7996
read repair instructions from file
1995-02-05 16:56:02 +00:00
Guido van Rossum
bcf0854b53
added README
1995-02-05 16:52:24 +00:00
Guido van Rossum
80ffd6683c
bgenGeneratorGroup.py: changed placement of some blank lines in output
...
bgenObjectDefinition.py: support chaining of object definitions
macsupport.py: support functions returning pointers to existing windows/dialogs
bgen.py: tighten rules for recognizing simple symbol definitions
1995-01-30 11:44:02 +00:00
Guido van Rossum
f808012f5e
Use case-dependent variant of fnmatch
1995-01-27 02:40:02 +00:00
Guido van Rossum
01f5a81d11
Lots of new stuff again. Moved buffer types to some separate files.
...
Added some new-fangled features to bgenOutput. Generate doc strings!
1995-01-25 22:59:21 +00:00
Guido van Rossum
f8de0685c9
Lots of changes.
...
Renamed some things.
Added support for methods directly to bgenGenerator.py.
Completely reworked buffer, string and and structure types.
1995-01-22 18:35:09 +00:00
Guido van Rossum
8d6c180c8d
fully adapted to new naming scheme and added some features for AppleEvent generation
1995-01-18 23:46:59 +00:00
Guido van Rossum
8cfc4bfb9d
initial version
1995-01-18 23:45:01 +00:00
Guido van Rossum
514d351d45
use $INCLUDE path (Mark Hammond)
1995-01-17 17:01:40 +00:00
Barry Warsaw
52c8b26454
Use /depot/gnu/plat/bin/perl
1994-12-05 23:30:59 +00:00
Guido van Rossum
705d517e3f
initial checkin
1994-10-08 19:30:50 +00:00
Barry Warsaw
9702c4bde0
changed script interpreter
1994-10-06 15:40:37 +00:00
Guido van Rossum
d8336c2286
Lots of things added. README written (mostly).
1994-10-05 16:13:01 +00:00
Guido van Rossum
07c9645413
Get rid of freeze (now its own directory).
...
Added some new demos. Fixed a few others.
1994-10-03 16:45:35 +00:00
Guido van Rossum
011813444c
Don't search for *.so modules since we can't handle them!
1994-10-03 16:43:15 +00:00
Guido van Rossum
619e1beda9
Add check for unknown modules
1994-10-03 16:37:36 +00:00
Guido van Rossum
00ff4336a9
Totally new "freeze" program.
1994-10-03 16:33:08 +00:00
Guido van Rossum
dbaf332107
Jack's last version (now I'm supposed to get it working :-)
1994-10-03 10:25:54 +00:00
Barry Warsaw
138d72f64b
point perl to ~/bin/perl
1994-09-23 16:10:35 +00:00
Guido van Rossum
9af22a037f
newslist.py: Added search for .newslistrc.py;
...
pindent.py: use /usr/local/bin/python;
pathfix.py: new script to fix #! lines in a group of scripts.
1994-08-19 15:02:57 +00:00
Barry Warsaw
16c40cdf61
small usage note change
1994-07-25 21:58:11 +00:00
Barry Warsaw
b5ddae7388
small change in message
1994-07-25 21:57:27 +00:00
Barry Warsaw
efae52ec2c
Initial revision
1994-07-25 21:52:13 +00:00
Guido van Rossum
0038cd9e4d
Added convenience functions {complete,reformat}_{filter,string,file}.
...
Added usage message to test program.
1994-06-07 22:19:41 +00:00
Guido van Rossum
3962fdb25a
correct typos in option parsing loop
1994-05-27 14:13:46 +00:00
Guido van Rossum
01f5f62401
Added -i option to ignore general regexps
1994-05-17 09:05:54 +00:00
Guido van Rossum
1d28e1707a
Initial revision
1994-05-15 18:14:33 +00:00
Guido van Rossum
7faf67caf5
Initial revision
1994-05-09 14:52:41 +00:00
Guido van Rossum
09336f9f73
Process command line arguments; skip #defines that generate invalid
...
Python
1994-05-03 14:37:30 +00:00
Guido van Rossum
5ec8b525d2
Restructured main, use getopt, use regular expression search instead
...
of prefix match
1994-01-21 15:47:00 +00:00
Guido van Rossum
0b7dfbb9b7
Initial revision
1994-01-07 11:43:11 +00:00
Guido van Rossum
a635b9a6ff
remove references to /ufs/guido/bin/sgi/python
1994-01-07 11:43:11 +00:00
Guido van Rossum
f62f687453
Various changes, andded -c option
1994-01-07 10:55:15 +00:00
Guido van Rossum
aa895c752b
Initial revision
1993-06-10 14:43:53 +00:00
Guido van Rossum
09abc8e7df
Ignore ,v files too
1993-06-05 18:03:30 +00:00
Guido van Rossum
41ffccbba7
*** empty log message ***
1993-04-01 20:50:35 +00:00
Guido van Rossum
d5c57e1624
Microfixes
1993-04-01 20:46:40 +00:00
Guido van Rossum
cf5dd9cbfd
Fix bug when reporting error
1992-12-10 00:01:24 +00:00
Guido van Rossum
15f27fb6ea
Adapt to modern times...
1992-12-10 00:00:58 +00:00
Guido van Rossum
1d9741742e
Initial revision
1992-12-09 23:14:40 +00:00
Guido van Rossum
d3592486ce
Friendlier response to interrupt. Use /usr/local/*bin*/python.
1992-12-09 23:12:59 +00:00
Guido van Rossum
0cb8e8cfc0
Add .fdc and .rgb to default list of ignored extensions
1992-10-02 14:19:57 +00:00
Guido van Rossum
61700bb985
cope with filenames containing spaces
1992-08-31 10:54:54 +00:00
Guido van Rossum
0cc19450e2
Use regex instead of regexp
1992-08-31 10:54:06 +00:00
Guido van Rossum
f2e1cfb8f3
Use regex and don't use path
1992-08-31 10:53:53 +00:00
Guido van Rossum
047979e3d5
Fix regexp recognizing comments to cope with unterminated comments.
1992-06-05 15:13:53 +00:00
Guido van Rossum
61cfd96003
Added two #! lines
1992-05-19 13:50:10 +00:00
Guido van Rossum
ceb86daa16
Change the way ignore is assigned to
1992-05-19 13:49:16 +00:00
Guido van Rossum
4a5ab81bc9
posix -> os
1992-03-30 11:31:39 +00:00
Guido van Rossum
9a6757dade
posix -> os
1992-03-30 11:15:26 +00:00
Guido van Rossum
391b8b7dee
change posix/path to os
1992-03-30 11:14:36 +00:00
Guido van Rossum
e7b88e7402
change posix to os
1992-03-30 11:13:59 +00:00
Guido van Rossum
b2ac8092a8
change posix to os and path to os.path
1992-03-30 11:12:23 +00:00
Guido van Rossum
2ba9f30489
Initial revision
1992-03-02 16:20:32 +00:00
Guido van Rossum
fcd1e6ed4d
Added '-l[flags]' option.
1992-03-02 16:17:31 +00:00
Guido van Rossum
bff5bb3db9
Use fnmatch; read ".xxcign" for additional patterns to ignore.
1992-03-02 16:13:27 +00:00
Guido van Rossum
bdfcfccbe5
New == syntax
1992-01-01 19:35:13 +00:00
Guido van Rossum
0a60ee1c69
Cosmetic change.
1992-01-01 19:22:09 +00:00
Guido van Rossum
11e7f62dbc
Use new, more generic structure for *fix.py scripts.
1992-01-01 18:38:09 +00:00
Guido van Rossum
9f39fbb5b7
Adapt the regular expression to the new class syntax.
1991-12-30 23:01:28 +00:00
Guido van Rossum
7e73fd0024
Fix bogus mode mask.
1991-12-26 13:23:22 +00:00
Guido van Rossum
2c4d7e742c
Initial revision
1991-12-26 12:58:17 +00:00
Guido van Rossum
97dddba1bb
Better check to avoid executables.
1991-12-18 13:39:16 +00:00
Guido van Rossum
5378d5c485
Initial revision
1991-12-18 13:38:27 +00:00
Guido van Rossum
2fa5a7fc00
Use posix.popen to read output from a command instead if command.get*.
1991-07-01 18:23:06 +00:00
Guido van Rossum
9c5c80824c
Renamed path.cat to path.join.
1991-07-01 18:22:34 +00:00
Guido van Rossum
bcf5012887
Add options -amc; do lstat if possible; columnize properly.
1991-07-01 18:20:35 +00:00
Guido van Rossum
185d06ea91
Added to list of bad filenames.
1991-06-04 20:44:11 +00:00
Guido van Rossum
ec758ead39
Initial revision
1991-06-04 20:36:54 +00:00