Fred Drake [Thu, 9 Dec 1999 21:13:07 +0000 (21:13 +0000)]
Added support for abort(), ctermid(), tmpfile(), tempnam(), tmpnam(),
and TMP_MAX.
Converted all functions that used PyArg_Parse() or PyArg_NoArgs() to
use PyArg_ParseTuple() and specified all function names using the
:name syntax in the format strings, to allow better error messages
when TypeError is raised for parameter type mismatches.
Jack Jansen [Tue, 7 Dec 1999 23:08:10 +0000 (23:08 +0000)]
First bits and pieces of appearance support: an init routine, a global flag PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE
is off the code is disabled (but the variables are still there, set to 0).
OpenSSL support. This is based on patches for a version of SSLeay by
Brian E Gallew, which were improved and adapted to OpenSSL 0.9.4 by
Laszlo Kovacs of HP. Both have kindly given permission to include
the patches in the Python distribution. Final formatting by GvR.
OpenSSL support. This is based on patches for a version of SSLeay by
Brian E Gallew, which were improved and adapted to OpenSSL 0.9.4 by
Laszlo Kovacs of HP. Both have kindly given permission to include
the patches in the Python distribution. Final formatting by GvR.
Jack Jansen [Fri, 3 Dec 1999 23:38:05 +0000 (23:38 +0000)]
Set the finder "is shared" bit, by request of Joe Strout. It seems this allows multiple simultaneous copies to be run from a server, and Applets shouldn't
write their datafork so it appears safe.
Greg Ward [Fri, 3 Dec 1999 16:18:56 +0000 (16:18 +0000)]
[from 1999-11-04]
Bunch of little bug fixes that appeared in building non-packagized
distributions. Mainly:
- brain-slip typo in 'get_package_dir()'
- don't try to os.path.join() an empty path tuple -- it doesn't like it
- more type-safety in 'build_module()'
Jack Jansen [Fri, 3 Dec 1999 16:08:50 +0000 (16:08 +0000)]
Default schedparams set to (0,0): no event-intervention by Python mainloop. This
was always meant to be the default, and the new example-2 was pretty critical
of this.
Jack Jansen [Thu, 2 Dec 1999 22:52:12 +0000 (22:52 +0000)]
Give a warning if system-wide sys.argv processing is off (because then we
may have missed an applet being dropped on us). This may fix the obscure bug
Tony Ingraldi was experiencing.
Guido van Rossum [Tue, 30 Nov 1999 15:00:00 +0000 (15:00 +0000)]
In abspath(), always use normpath(), even when win32api is available
(and even when it fails). This avoids the problem where a trailing
separator is not removed when win32api.GetFullPathName() is used.
Fred Drake [Tue, 23 Nov 1999 21:52:03 +0000 (21:52 +0000)]
rewrite_descriptor(): Fixup conversion of arguments (simpler).
join_adjacent_elements(): Hack to merge adjacent instances of
<option>; the source \programopt with GNU-style long options
created problems with LaTeX2HTML; this removes the evil
workaround, which should never be necessary from structured
documents(!).
Greg Stein [Sat, 20 Nov 1999 11:22:37 +0000 (11:22 +0000)]
shift code from DirectoryImporter out to a common area.
remove use of "os" module (bootstrap issues) and go to the underlying
platform-specific modules
fix problem in _compile() (trapped wrong error on permission issues)
add SysPathImporter and BuiltinImporter
put __file__ into modules imported from the filesystem. [backwards compat]
put __path__ into modules [backwards compat]
oops: it is doing this for all modules, not just packages.
comment and tweak to the PackageArchiveImporter
Fred Drake [Fri, 19 Nov 1999 21:57:56 +0000 (21:57 +0000)]
Moved all the imports to the top.
Use the methods on the AST object instead of module-level functions;
these have been implemented for a couple of versions now, and are
already used in the module documentation in preference to the
functions.
Fred Drake [Thu, 18 Nov 1999 20:56:29 +0000 (20:56 +0000)]
When generating the top-level index to the documents, make sure some
oddball things from the LaTeX get translated to rational values. This
is mostly to keep things from looking broken in a development tree
when they're not.
Guido van Rossum [Thu, 18 Nov 1999 17:51:02 +0000 (17:51 +0000)]
Patches by Kannan Vijayan:
new:
readline.get_begidx() -> int
gets the beginning index in the command line string
delimiting the tab-completion scope. This would
probably be used from within a tab-completion
handler
readline.get_endidx() -> int
gets the ending index in the command line string
delimiting the tab-completion scope. This would
probably be used from within a tab-compeltion
handler
readline.set_completer_delims(string) -> None
sets the delimiters used by readline as word breakpoints
for tab-completion
readline.get_completer_delims() -> string
gets the delimiters used by readline as word breakpoints
for tab-completion
fixed:
readline.get_line_buffer() -> string
doesnt cause a debug message every other call
Guido van Rossum [Wed, 17 Nov 1999 15:04:26 +0000 (15:04 +0000)]
Samuel L. Bayer:
- same trick with "import wcnew; webchecker = wcnew" as above
- updated readhtml() method to handle pair representation; used
new name suppression infrastructure from wcnew.py to suppress
processing name anchors
Guido van Rossum [Wed, 17 Nov 1999 15:03:52 +0000 (15:03 +0000)]
Samuel L. Bayer:
- added -t and -a arguments
- added "import wcnew; webchecker = wcnew" in place of "import
webchecker" (I assume that if you're happy with the changes, you'll
just replace webchecker.py with wcnew.py, but if I were to do that,
the diffs would be incomprehensible)
- fixed buggy -v argument (I think you got out of sync with the
way verbosity was handled in webchecker vs. wcgui between 1.5 and
1.5.2)
- made -v actually do something by adding a call to c.setflags()
(probably the same problem as above)
- updated references to URLs to accommodate wcnew.py's pair
representation; added appropriate calls to format_url() to handle
display; added argument to ListPanel() initialization to provide
access to format_url()
Guido van Rossum [Wed, 17 Nov 1999 15:02:53 +0000 (15:02 +0000)]
Samuel L. Bayer:
- same fixes from webchecker.py
- incorporated small diff between current webchecker.py and 1.5.2
- fixed bug where "extra roots" added with the -t argument were being
checked as real roots, not just as possible continuations
- added -a argument to suppress checking of name anchors
Guido van Rossum [Wed, 17 Nov 1999 15:00:14 +0000 (15:00 +0000)]
Samuel L. Bayer:
- forced new done origins to set errors if they're in self.bad (fixes
bug where only the first of a number of errorful references to a
link is reported under some circumstances)
- suppressed adding duplicates to self.todo list (cleans up printout
in wcgui details)
Guido van Rossum [Tue, 16 Nov 1999 15:57:37 +0000 (15:57 +0000)]
Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).
See accompanying patches to acconfig.h and importdl.c.
Guido van Rossum [Tue, 16 Nov 1999 15:55:00 +0000 (15:55 +0000)]
Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).
See accompanying patches to configure.in and importdl.c.
Guido van Rossum [Tue, 16 Nov 1999 15:54:16 +0000 (15:54 +0000)]
Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).
See accompanying patches to configure.in and acconfig.h.
Fred Drake [Tue, 9 Nov 1999 17:02:11 +0000 (17:02 +0000)]
\programopt: New macro, used to mark command-line parameters in the
text. Looks like \program.
\citetitle: New macro, used to mark titles of cited works (like the
names of the Python manuals). Accepts & discards an
optional parameter that is only used by the HTML
formatter. Looks like \emph.
Fred Drake [Tue, 9 Nov 1999 16:59:42 +0000 (16:59 +0000)]
do_cmd_programopt(): New function, similar to do_cmd_program().
do_cmd_citetitle(): New function. Extracts one optional and one
required parameter. If the optional one is
provided, it is used a URL (or relative URL) and
the text of the required parameter is turned into
a hyperlink.
Patch by Dieter Maurer to make things work for Tcl/Tk 8.1. This
simply moves the call to Tk_MainWindow() after the Tcl/Tk
initialization calls. The patch is unconditional, it works with
earlier and later versions as well.
Patch by Dieter Maurer to make things work for Tcl/Tk 8.1 (tested with
8.1.1). His approach doesn't work with Tcl/Tk 8.2, so I've placed it
inside #if TKMAJORMINOR == 8001 and #endif. See also his patch for
tkappinit.c.
Jack Jansen [Fri, 5 Nov 1999 15:54:46 +0000 (15:54 +0000)]
Added HAVE_LIMITS_H, MAVE_MEMMOVE, HAVE_STRERROR, HAVE_LOCALE_H
since we have these in the current CW release (and probably already had them
quite some time, but never added the defines).
Fred Drake [Thu, 4 Nov 1999 19:19:48 +0000 (19:19 +0000)]
split() docstring: Made signature and description for the first
parameter match. Error pointed out by François
Pinard <pinard@iro.umontreal.ca> on c.l.py.