Commit Graph

7449 Commits

Author SHA1 Message Date
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
Fred Drake 1ee492e5d4 The list of module descriptions should be a {description} environment, not
{itemize}!
1998-02-21 06:30:17 +00:00
Fred Drake ed3515d541 Removed two items, correct one spelling error. 1998-02-20 21:55:10 +00:00
Guido van Rossum d0f432b840 A bug in PCRE could cause core dumps in patterns such as
'((a)*)*'. Andrew Kuchling posted a fix to the string-sig.
1998-02-20 21:45:14 +00:00
Jack Jansen ff170fbbb5 Default button on main window wasn't set correctly 1998-02-20 16:08:47 +00:00
Jack Jansen 73c804a3cd Added some debug prints (if enabled by setting DEBUG) 1998-02-20 16:08:19 +00:00
Jack Jansen 8554e302a5 BuildApplet will now also update old applets 1998-02-20 16:06:56 +00:00
Jack Jansen ebe914af7a Current ("1.5b4") projects, with new UH toolbox modules and such 1998-02-20 16:05:24 +00:00
Jack Jansen 5e302dbfdf USE_PRECOMPILED_HEADERS renamed to MSL_USE_PRECOMPILED_HEADERS 1998-02-20 16:04:01 +00:00
Jack Jansen efaada75e4 - Universal Headers 3 mods
- Started on menubar-restore code (but it still doesn't work 100%)
1998-02-20 16:03:15 +00:00
Jack Jansen 21f96872f2 Regenerated from Universal Headers 3.0.1. Some new calls are
blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
1998-02-20 16:02:09 +00:00
Jack Jansen cbe6a53d1f Fixed double-dispose of splash() dialog 1998-02-20 15:59:59 +00:00
Jack Jansen 2369a98eb9 Updated for Waste 1.3 1998-02-20 15:57:30 +00:00
Jack Jansen 40bd770690 Add fstat() if using GUSI 1998-02-20 15:56:19 +00:00
Jack Jansen c2952bcbb2 Universal Headers 3 1998-02-20 15:55:53 +00:00
Jack Jansen 1b5b37f616 Updated to Universal Headers 3 constant names 1998-02-20 15:55:30 +00:00
Jack Jansen 5e58bcdb7a Regenerated from Universal Headers 3.0.1 (which are changed
substantially from previous releases)
1998-02-20 15:54:44 +00:00
Jack Jansen 7c2fddf423 Updated to Waste 1.3 1998-02-20 15:53:58 +00:00
Jack Jansen 7b56aad2e1 Break circular reference on menus upon cleanup 1998-02-20 15:51:39 +00:00
Jack Jansen 64da169f43 Added CHECK_IMPORT_CASE
Added HAVE_HYPOT, except for 68k (where you get 10-byte-float hypot,
sigh...)
1998-02-20 15:50:23 +00:00
Jack Jansen dee6d02736 Removed incorrect weMonoStyled from initialization 1998-02-20 15:48:57 +00:00
Jack Jansen 0188172559 Fixed bug in explanation of how to run test.autotest, and warned for
out-of-memory condition
1998-02-20 15:46:35 +00:00
Fred Drake 5c19c7bade Tell TeX about a pathological hyphenation case (BaseHTTPRequestHandler). 1998-02-20 06:08:07 +00:00
Fred Drake 2c8aa650a8 Added \label{}s for logical addressing.
Logical markup.
1998-02-20 06:03:52 +00:00
Fred Drake d67e12e65c Added \label{}s for logical addressing. 1998-02-20 05:49:37 +00:00
Fred Drake 7baf3d4ea7 Fixed typo reported by Vladimir Marangozov <Vladimir.Marangozov@imag.fr>. 1998-02-20 00:45:52 +00:00
Fred Drake f7f2e70fd4 Don't ignore makeinfo errors. 1998-02-19 21:40:51 +00:00
Fred Drake 9c7c6bec98 Clean up name->name conversion a little, *make sure it happens in all the
right places*!
1998-02-19 21:40:22 +00:00
Guido van Rossum 414f261166 Revert to the old (indented) form of @DGUX_IS_BROKEN@. 1998-02-19 21:33:13 +00:00
Guido van Rossum 357428567c Different way to suppores the DGUX rule 1998-02-19 21:32:40 +00:00
Guido van Rossum 64a1090d1b Change default RCS bin directory to /usr/local/bin/. 1998-02-19 21:29:38 +00:00
Guido van Rossum 1c0d31565d Delete the 'exit' command from the Tcl interpreter -- it would allow
users to exit Python without the normal precautions.  (The can do this
using os._exit() anyway, but at least that's documented.)
1998-02-19 21:28:49 +00:00
Guido van Rossum 0001a11986 Fix bug in trace_vdelete(); should use master's delete command. 1998-02-19 21:20:30 +00:00
Guido van Rossum 2fc4d581ba Added debug statements to report data actually sent and received on
the socket.
1998-02-19 21:19:48 +00:00
Guido van Rossum b1908846af Fix for literal null bytes -- these must be replaced by the four
characters \, 0, 0, 0.
1998-02-19 21:18:56 +00:00
Guido van Rossum 72c2e1b56e Fixed a bug in the gauss() function. The bug was reported by Mike
Miller, who complained that its kurtosis was bad, and then fixed by
Lambert Meertens (author of the original algorithm) who discovered
that the mathematical analysis leading to his solution was wrong, and
provided a corrected version.  Mike then tested the fix and reported
that the kurtosis was now good.
1998-02-19 21:17:42 +00:00
Guido van Rossum 9824509d3e Add rmd() (remove directory command); fix comment in parse257.
In login(), force passwd and acct to '' when they are None (this can
happen in the test program!).
1998-02-19 21:15:44 +00:00
Guido van Rossum 0d530cedd7 Faster implementation of normcase (using string.lower(
string.replace(...)) instead of a for loop).

Don't call normcase() in normpath() -- the filesystem just might be
case preserving...
1998-02-19 21:08:36 +00:00
Guido van Rossum 505d80b39d Jeff Kunce writes (and he is right):
Also, I just ran across a [possible] minor glitch
in the library documentation for site.py. It says:

"For example, suppose sys.prefix and
sys.exec_prefix are set to `/usr/local'. The
Python 1.5 library is then installed in
`/usr/local/lib/python1.5'. Suppose this has a
subdirectory `/usr/local/python1.5/site-packages'
with three subsubdirectories, `foo', `bar' and
`spam'..."

I think it should be:
"...Suppose this has a subdirectory
`/usr/local/lib/python1.5/site-packages' with..."
          ^^^^
1998-02-19 21:02:32 +00:00
Fred Drake ef146222db Revise comment about the {fulllineitems} environment to be accurate. 1998-02-19 21:02:26 +00:00
Guido van Rossum 42a9744d5f Fix some outdated comments (mostly by removing a large comment block
that was only causing confusing).  Add free(userpath) and
free(machinepath) statements to prevent some leaks.
1998-02-19 21:00:45 +00:00
Fred Drake 6eb1f6b251 Improve support for logical node names. 1998-02-19 21:00:41 +00:00
Guido van Rossum f4aeb84bc6 Enable CHECK_IMPORT_CASE on Win32. 1998-02-19 20:59:23 +00:00
Fred Drake 0cf0cfbaa9 Adjusted \label{} for *consistent* logical addressing.
Logical markup.
1998-02-19 20:59:19 +00:00
Guido van Rossum 05f9dce34f Moved clear_carefully() to _PyModule_Clear() in moduleobject.c
(modified) and use that.

Some differences in the cleanup algorithm:

- Clear __main__ before the other modules.

- Delete more sys variables: including ps1, ps2, exitfunc, argv, and
even path -- this will prevent new imports!

- Restore stdin, stdout, stderr from __stdin__, __stdout__,
__stderr__, effectively deleting hooks that the user might have
installed -- so their (the hooks') destructors will run.
1998-02-19 20:58:44 +00:00
Guido van Rossum bd36dbaaa5 Make backup copies of stdin, stdout, stderr as __stdin__, __stdout__,
__stderr__.  These will be used by the import cleanup.
1998-02-19 20:53:06 +00:00
Guido van Rossum f1dc0615e9 Add internal routine _PyModule_Clear(), which does approximately what
clear_carefully() used to do in import.c.  Differences: leave only
__builtins__ alone in the 2nd pass; and don't clear the dictionary (on
the theory that as long as there are references left to the
dictionary, those might be destructors that might expect __builtins__
to be alive when they run; and __builtins__ can't normally be part of
a cycle).
1998-02-19 20:51:52 +00:00
Fred Drake c83db33781 Added \label{} for logical addressing. 1998-02-19 20:50:52 +00:00
Guido van Rossum bde6ff7984 Vladimir Marangozov' performance hack: copy f_builtins from ancestor
if the globals are the same.

Also, when creating a dummy builtins dictionary, add "None" to it,
just to be kind.
1998-02-19 20:48:26 +00:00