summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Keep gcc -Wall happy.Guido van Rossum1997-02-142-3/+3
|
* Added decl for Py_AddPendingCall and include mymalloc.h, all to keepGuido van Rossum1997-02-141-0/+4
| | | | lint happy.
* Add parentheses around && within || as gcc -Wall advises.Guido van Rossum1997-02-141-1/+1
|
* Oops, remove an unused variable from PyErr_Format().Guido van Rossum1997-02-141-1/+0
|
* Added decl for Py_FdIsInteractive.Guido van Rossum1997-02-141-0/+2
|
* Added decl for Py_InteractiveFlag.Guido van Rossum1997-02-141-0/+1
|
* My version of Lee Busby's patches to make '-i' pretend stdin is a ttyGuido van Rossum1997-02-141-22/+35
| | | | | | | | | | | | | | | even if it isn't. Changes: - set the global flag Py_InteractiveFlag when -i is given - call Py_FdIsInteractive() instead of isatty() - make stdin unbuffered, too, when using -u - make stdin and stdout line buffered, when stdin is interactive and not -u Note that setting the environment variable PYTHONINSPECT does not have these extra effects of -i. (Should it?) Unlike Lee's changes, I don't set change the prompt to go to stderr when -i is given.
* Added new global flag variable Py_InteractiveFlag and new functionGuido van Rossum1997-02-141-1/+22
| | | | | | | Py_FdIsInteractive(). The flag is supposed to be set by the -i command line option. The function is supposed to be called instead of isatty(). This is used for Lee Busby's wish #1, to have an option that pretends stdin is interactive even when it really isn't.
* Added PyArg_ParseTupleAndKeywords, PyErr_Format.Guido van Rossum1997-02-141-0/+2
|
* Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum1997-02-141-0/+1
|
* Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum1997-02-141-0/+27
|
* Added .cxx and .cpp to extensions recognized as source files.Guido van Rossum1997-02-141-0/+2
|
* Added PyArg_ParseTupleAndKeywords() prototype.Guido van Rossum1997-02-141-0/+2
|
* djgpp support.Guido van Rossum1997-02-141-1/+1
|
* djgpp fix (SIGMAX).Guido van Rossum1997-02-141-0/+4
|
* Issue a more meaningful error if strftime keeps returning a NULL pointer.Guido van Rossum1997-02-141-2/+5
| | | | Run the loop up to and including 8k.
* *Don't* kill all local variables on function exit. This will be doneGuido van Rossum1997-02-141-12/+0
| | | | | | | | by the frameobject dealloc when it is time for the locals to go. When there's still a traceback object referencing this stack frame, we don't want the local variables to disappear yet. (Hmm... Shouldn't they be copied to the f_locals dictionary?)
* Slight tweak: in string_hash(), if the hash hasn't been computed yet,Guido van Rossum1997-02-141-0/+5
| | | | | and if there's a pointer to an interned version of the string, use its hash and store its hash in this object, rather than recomputing it.
* Kill all local variables when the frame is deallocated (moved hereGuido van Rossum1997-02-141-1/+11
| | | | | | from ceval.c). Wrapped a long line.
* Gave the Listbox selection methods their correct (longer) names.Guido van Rossum1997-02-142-4/+8
| | | | Removed select_adjust -- Tk no longer supports this.
* Changes by Sjoerd (reformatted).Guido van Rossum1997-02-141-95/+106
| | | | | | | add(): better handling of overflow (substitute maxval instead of throwing away higher order bits). ratecv(): some bugfixes, Sjoerd says.
* Added doco for ratecv.Guido van Rossum1997-02-142-0/+22
|
* Added test for ratecv (from Sjoerd, reformatted).Guido van Rossum1997-02-141-0/+9
|
* Added intern() function.Guido van Rossum1997-02-141-0/+14
|
* Put support for a cnf dictionary back in, since it is still supportedGuido van Rossum1997-02-122-2/+6
| | | | | by all true Tkinter widgets. (Not that I *like* this module -- it stinks, but until I have something better, I can't nuke it.)
* Merged in Jack's fixes. This brings some lines beyond 79 chars again;Guido van Rossum1997-02-111-17/+32
| | | | | | | | | I'll clean that up later. Also corrected a mistake introduced by the previous reformatting: an 'else' belonging to a 'for' was accidentally reindented to belong to the 'if' inside the 'for'. Note that the module uses inconsistent indentation -- most code is indented with 8 spaces, but some of the reformatted code uses 4 spaces. I'll fix this later in the promised cleanup pass.
* Put a new, more useful, set of references in the leading comment.Guido van Rossum1997-02-101-6/+13
|
* Correct typo in PyArg_ParseTuple example.Guido van Rossum1997-02-102-10/+18
| | | | Add reference to DLD 3.3 at http://www-swiss.ai.mit.edu/~jaffer/DLD.html.
* The USE_CACHE_ALIGNING define now has a value: the number of *words*Jack Jansen1997-02-031-4/+11
| | | | in a cacheline.
* Restructured Checker class to get rid of 'ext' table.Guido van Rossum1997-02-022-177/+165
| | | | | | | | | | | | | | | | | | | 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.
* Optionally (on USE_CACHE_ALIGN) extend overhead structure to alignJack Jansen1997-02-011-0/+7
| | | | returned addresses on 16-byte cacheline boundary.
* Add root URL entry box, separate start/stop/step buttons.Guido van Rossum1997-02-011-54/+131
| | | | If the users selects an item in 'To check', start checking there.
* Process <img> and <frame> tags. Don't bother skipping second href.Guido van Rossum1997-02-011-3/+12
|
* Check in another copy of tktools.py...Guido van Rossum1997-01-311-0/+367
|
* Tk interface to webchecker. Not fully featured yet, but usable.Guido van Rossum1997-01-311-0/+329
|
* Spin off checking of external page in a subroutine.Guido van Rossum1997-01-311-17/+20
| | | | | Increase MAXPAGE to 150K. Add back printing of __doc__ for usage message.
* Added/updated copyright noticesJack Jansen1997-01-3139-4651/+5572
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Added _tkinter modules in Image extensionJack Jansen1997-01-311-0/+2
|
* Image libraries moved and small thingsJack Jansen1997-01-3127-9945/+10039
|
* Many misc changes.Guido van Rossum1997-01-311-95/+142
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* (py-mode-map): Comment Out Region / Uncomment Region should useBarry Warsaw1997-01-301-2/+2
| | | | py-comment-region instead of comment-region.
* #Updated authorship lineBarry Warsaw1997-01-301-1/+1
|
* (py-parse-partial-sexp-works-p): New variable to work around a bug inBarry Warsaw1997-01-301-3/+23
| | | | | | parse-partial-sexp in some Emacsen. (py-goto-beyond-final-line): use py-parse-partial-sexp-works-p.
* Move the 'import os' in URLopener.cleanup() to inside the blockGuido van Rossum1997-01-301-1/+1
| | | | | guarded by 'if self.tempcache', to reduce the likelihood of this causing an exception when invoked during __del__...
* RenamedJack Jansen1997-01-305-621/+617
|
* Added imgpngJack Jansen1997-01-301-0/+2
|
* Set proper User-agent header (Python-webchecker/<version>).Guido van Rossum1997-01-301-14/+21
| | | | | 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().
* Some refinements of the external-link checking code: insert the errorsGuido van Rossum1997-01-301-9/+22
| | | | | | 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.
* Added -x option to check external links. Slooooow!Guido van Rossum1997-01-301-10/+32
|
* Catch I/O errors when parsing robots.txt file.Guido van Rossum1997-01-301-5/+13
| | | | Add version number, printed at startup in non-quited mode.