]>
granicus.if.org Git - python/log
Fred Drake [Wed, 29 Apr 1998 21:28:25 +0000 (21:28 +0000)]
cleanup(): Remove *all* the temp files related to index generation!
Guido van Rossum [Wed, 29 Apr 1998 21:07:06 +0000 (21:07 +0000)]
When following symlinks to the real executable, use a loop so a
symlink to a symlink can work.
(Jack)
Fred Drake [Wed, 29 Apr 1998 17:56:44 +0000 (17:56 +0000)]
Work around lack of support for \if... in latex2html.
Fred Drake [Wed, 29 Apr 1998 16:58:13 +0000 (16:58 +0000)]
Set $TEXINPUTS='' to make l2h pick up the right thing from the environment.
Guido van Rossum [Wed, 29 Apr 1998 16:22:14 +0000 (16:22 +0000)]
Still somewhat experimental speedup. This appears to speed up the
most common interface to Tcl, the call() method, by maybe 20-25%.
The speedup code avoids the construction of a Tcl command string from
the argument list -- the Tcl argument list is immediately parsed back
by Tcl_Eval() into a list that is *guaranteed* (by Tcl_Merge()) to be
exactly the same list, so instead we look up the command info and call
the command function directly. If the lookup fails, we fall back to
the old method (Tcl_Merge() + Tcl_Eval()) so we don't need to worry
about special cases like undefined commands or the occasional command
("after") that sets the info.proc pointer to NULL -- let TclEval()
deal with these.
Guido van Rossum [Wed, 29 Apr 1998 16:17:01 +0000 (16:17 +0000)]
Add a new method of interpreter objects, interpaddr(). This returns
the address of the Tcl interpreter object, as an integer. Not very
useful for the Python programmer, but this can be called by another C
extension that needs to make calls into the Tcl/Tk C API and needs to
get the address of the Tcl interpreter object. A simple cast of the
return value to (Tcl_Interp *) will do the trick now.
Fred Drake [Wed, 29 Apr 1998 14:38:34 +0000 (14:38 +0000)]
Fix documentation based on comments from Sean Reifschneider
<jafo-9804@tummy.com>.
Logical markup.
Guido van Rossum [Wed, 29 Apr 1998 14:29:32 +0000 (14:29 +0000)]
Replace all calls to acquire_lock() and release_lock() with acquire()
and release() instead.
Fred Drake [Wed, 29 Apr 1998 14:16:32 +0000 (14:16 +0000)]
Made lint a bit happier.
Fixed a memory leak in an error handler.
Fred Drake [Tue, 28 Apr 1998 19:20:43 +0000 (19:20 +0000)]
Move a bit closer to HTML generation without depending on the temp files
being in the current directory.
Be more careful cleaning up.
Correct an error in a comment.
Add recent additions to the dependencies for lib.dvi.
Fred Drake [Tue, 28 Apr 1998 18:38:40 +0000 (18:38 +0000)]
do_cmd_sectcode(): Obsolete; removed.
Fred Drake [Tue, 28 Apr 1998 18:37:12 +0000 (18:37 +0000)]
Remove extra cruft for texi processing.
Fred Drake [Tue, 28 Apr 1998 18:31:50 +0000 (18:31 +0000)]
Do better hiding of internal names.
Fred Drake [Tue, 28 Apr 1998 18:31:17 +0000 (18:31 +0000)]
do_cmd_key(): Obsolete; removed.
Fred Drake [Tue, 28 Apr 1998 18:30:34 +0000 (18:30 +0000)]
Fixed \code so word wrapping is allowed.
Removed some old stuff.
Do better hiding of internal names.
Fred Drake [Tue, 28 Apr 1998 18:28:21 +0000 (18:28 +0000)]
Section for bisect module.
Fred Drake [Tue, 28 Apr 1998 18:27:53 +0000 (18:27 +0000)]
Moved popen2 entry to make more sense.
Added bisect entry.
Fred Drake [Tue, 28 Apr 1998 18:27:22 +0000 (18:27 +0000)]
Updated.
Guido van Rossum [Tue, 28 Apr 1998 17:54:03 +0000 (17:54 +0000)]
Get rid of the unused ifdefed-out old sort code.
Guido van Rossum [Tue, 28 Apr 1998 16:12:43 +0000 (16:12 +0000)]
On the Mac a call to TkMacInitMenus is needed. Also, we pass
appropriate events to Sioux so the console window remains functional.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:10:19 +0000 (16:10 +0000)]
Add a declaration for strdup() for the Mac.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:09:16 +0000 (16:09 +0000)]
Generate the clear() method manually (calling __GLclear(), another
name for clear()). This fixes the name clash with curses.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:08:19 +0000 (16:08 +0000)]
Type casts, and added a strdup() declaration for the Mac.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:06:54 +0000 (16:06 +0000)]
If USE_STACKCHECK is defined use PyOS_CheckStack() in the repr and str
routines. This catches a slightly different set of crashes than the
recursive-repr fix.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:05:59 +0000 (16:05 +0000)]
Enable ftruncate() on the Mac.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:04:50 +0000 (16:04 +0000)]
accept * in return value type and convert it to _ptr after the
typename, as in argument types.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:04:26 +0000 (16:04 +0000)]
Style and StyleParameter are two different types.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:04:12 +0000 (16:04 +0000)]
class ByAddressType, a simple Type but passed by address even on
input.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:03:34 +0000 (16:03 +0000)]
On the Mac, create the Temporary Items folder if it does not exist yet.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:03:03 +0000 (16:03 +0000)]
Put quotes around the filename, so spaces in filenames work.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:02:29 +0000 (16:02 +0000)]
Mac CodeWarrior has faulty declaration for hypot, which we hide with a
#define.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:01:13 +0000 (16:01 +0000)]
typo in error message (fname vs. file).
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 15:41:03 +0000 (15:41 +0000)]
Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer.
Guido van Rossum [Tue, 28 Apr 1998 15:29:26 +0000 (15:29 +0000)]
Document changed semantics -- open() now guesses the db type and error
is now a tuple of various and sundry exceptions.
Guido van Rossum [Tue, 28 Apr 1998 15:23:09 +0000 (15:23 +0000)]
Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment
that wonders what the difference is and explain them properly.
Guido van Rossum [Tue, 28 Apr 1998 15:19:34 +0000 (15:19 +0000)]
Inspired by Ben Sayer, rewritten the code and some of the comments to
be more intelligent when the database already exists (use the module
for the existing file, according to whichdb). Noted in the doc
strings that there doesn't seem to be a different between 'c' and 'n'.
Fred Drake [Tue, 28 Apr 1998 14:29:27 +0000 (14:29 +0000)]
Hook in the calendar and popen2 sections.
Fred Drake [Tue, 28 Apr 1998 14:28:57 +0000 (14:28 +0000)]
calendar module section for the library reference, by Drew Csillag.
Fred Drake [Tue, 28 Apr 1998 14:28:15 +0000 (14:28 +0000)]
popen2 section for the library reference, contributed by Drew Csillag, with
some reorganization.
Fred Drake [Tue, 28 Apr 1998 13:38:54 +0000 (13:38 +0000)]
Use of \key and \kbd were isolated to one instance each in this file;
normalize to \kbd to allow removal of \key from the document class.
Guido van Rossum [Tue, 28 Apr 1998 13:17:56 +0000 (13:17 +0000)]
Quicksort retuned by Tim Peters.
Guido van Rossum [Mon, 27 Apr 1998 19:35:15 +0000 (19:35 +0000)]
Use a try-except so that the pickle file is written even when we die
because of an unexpected exception.
Guido van Rossum [Mon, 27 Apr 1998 19:32:59 +0000 (19:32 +0000)]
When setting the event structure fields, don't die when the widget
name is not registered; simply use the string. This happens for
tear-off widgets (e.g. if you've registered enter/leave events for the
menu).
Guido van Rossum [Mon, 27 Apr 1998 19:04:26 +0000 (19:04 +0000)]
Instead of calling mktime(), which has all sorts of unwanted side
effects, simply zero out the struct tm buffer before using it; this
should take care of the BSD folks' concern just as well.
Guido van Rossum [Mon, 27 Apr 1998 19:01:08 +0000 (19:01 +0000)]
Clear the error condition set by ftell().
Guido van Rossum [Mon, 27 Apr 1998 15:19:17 +0000 (15:19 +0000)]
Feeble attempt at making urlopen more robust -- don't call splituser()
when splithost() returned no useable host, to avoid calling
splituser() on None.
Jack Jansen [Mon, 27 Apr 1998 15:14:36 +0000 (15:14 +0000)]
Updated for 1.5.1
Jack Jansen [Mon, 27 Apr 1998 15:12:13 +0000 (15:12 +0000)]
Use dialog auto-placement whenever appropriate.
Jack Jansen [Mon, 27 Apr 1998 15:10:43 +0000 (15:10 +0000)]
Fixes by Just:
- Upped version number in about dialog
- Use auto-positioning of dialogs (a sys7 feature I had never heard
of, _very_ useful).
Jack Jansen [Mon, 27 Apr 1998 15:09:36 +0000 (15:09 +0000)]
Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr).
Jack Jansen [Mon, 27 Apr 1998 15:09:02 +0000 (15:09 +0000)]
Added FOUR_CHAR_CODE define
Jack Jansen [Mon, 27 Apr 1998 15:08:39 +0000 (15:08 +0000)]
New versions from Just.
Jack Jansen [Mon, 27 Apr 1998 15:07:43 +0000 (15:07 +0000)]
Regenerated with FOUR_CHAR_CODE defined
Jack Jansen [Mon, 27 Apr 1998 15:07:20 +0000 (15:07 +0000)]
Mention the Mac:Contrib folder
Jack Jansen [Mon, 27 Apr 1998 15:06:50 +0000 (15:06 +0000)]
Added Just's printing demo code.
Fred Drake [Mon, 27 Apr 1998 14:54:06 +0000 (14:54 +0000)]
Document transfercmd(), ntransfercmd(), delete(), rmd(), size().
Thanks to Timothy Wild <twild@clear.net.nz> for catching the omission of
delete().
Fred Drake [Mon, 27 Apr 1998 14:39:44 +0000 (14:39 +0000)]
parse150(): Simplify RE used to parse the message a little, taking advantage
of using re instead of regex.
Guido van Rossum [Mon, 27 Apr 1998 14:14:41 +0000 (14:14 +0000)]
Add link to Anthony Baxter's enhanced version.
Fred Drake [Sat, 25 Apr 1998 04:15:56 +0000 (04:15 +0000)]
clean target: Remove intermediate files from creation of outline in PDF.
Fred Drake [Sat, 25 Apr 1998 04:12:17 +0000 (04:12 +0000)]
Load the options from the pypaper.sty file before setting up the "base class"
for the manual documents.
Fred Drake [Sat, 25 Apr 1998 04:11:27 +0000 (04:11 +0000)]
Paper size / font size configuration file.
This is separated so I can build A4 and US Letter sizes without having to
edit files.
Anyone who downloads the source package can also simply edit this file,
which is a lot shorter than the manual.cls file, and easier to find the
appropriate line.
Fred Drake [Fri, 24 Apr 1998 21:57:12 +0000 (21:57 +0000)]
Simplify how some options get propogated.
Fred Drake [Fri, 24 Apr 1998 21:07:22 +0000 (21:07 +0000)]
Added libpoplib.tex to dependencies for the library reference.
Some mods to allow PS to be generated when the current dir is *not* Doc;
to help out with generating A4 versions.
Fred Drake [Fri, 24 Apr 1998 20:49:02 +0000 (20:49 +0000)]
Added a section for the poplib module, contributed by Drew Csillag.
Fred Drake [Fri, 24 Apr 1998 20:08:28 +0000 (20:08 +0000)]
Add entry for poplib.
Guido van Rossum [Fri, 24 Apr 1998 18:31:28 +0000 (18:31 +0000)]
Use hex() when outputting the various checksums so the test output is the
same on 32 and 64 bit machines.
Guido van Rossum [Fri, 24 Apr 1998 18:22:02 +0000 (18:22 +0000)]
Fred's right -- we need PyList_SET_ITEM().
Jack Jansen [Fri, 24 Apr 1998 10:42:01 +0000 (10:42 +0000)]
Added new folder types
Jack Jansen [Fri, 24 Apr 1998 10:41:38 +0000 (10:41 +0000)]
Added FOUR_CHAR_CODE define
Jack Jansen [Fri, 24 Apr 1998 10:28:20 +0000 (10:28 +0000)]
Grmpf, a lot more routines have gotten a "Mac" prefix for their
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
Barry Warsaw [Thu, 23 Apr 1998 22:59:33 +0000 (22:59 +0000)]
Use the (new) standard script #! line
Convert to re module; remove all references to regexp and regsub
Added support for the new texinfo @url{} and @email{} commands
Barry Warsaw [Thu, 23 Apr 1998 22:57:16 +0000 (22:57 +0000)]
This script appears to no longer be in the toolchain for Python
documentation, so it has been moved to ../../Tools/scripts
Fred, please verify.
Guido van Rossum [Thu, 23 Apr 1998 21:46:19 +0000 (21:46 +0000)]
In-line the code in range() to set the list items; there's really no
need to call PyList_SetItem(v,i,w) when PyList_GET_ITEM(v,i)=w {sic}
will do.
Guido van Rossum [Thu, 23 Apr 1998 21:40:02 +0000 (21:40 +0000)]
Small corrections to comments that were cloned from aifc; moreover
the description of setparams() was wrong.
wave.py: Include the tag of an unknown format in the exception.
Guido van Rossum [Thu, 23 Apr 1998 21:37:22 +0000 (21:37 +0000)]
New test sample -- "Nobody expects the Spanish Inquisition!"
Guido van Rossum [Thu, 23 Apr 1998 20:23:00 +0000 (20:23 +0000)]
Purported fixes for 64-bit platforms with help from John Jorgensen
Guido van Rossum [Thu, 23 Apr 1998 20:22:11 +0000 (20:22 +0000)]
Tiny patch for zlib 1.1.2
Guido van Rossum [Thu, 23 Apr 1998 20:13:30 +0000 (20:13 +0000)]
Move unified findfile() into test_support.py
Fred Drake [Thu, 23 Apr 1998 20:07:55 +0000 (20:07 +0000)]
Don't override the default $ADDRESS.
Fred Drake [Thu, 23 Apr 1998 20:06:24 +0000 (20:06 +0000)]
Change the default $ADDRESS.
Guido van Rossum [Thu, 23 Apr 1998 19:16:44 +0000 (19:16 +0000)]
Add new spares to the end of the type object struct.
Guido van Rossum [Thu, 23 Apr 1998 14:39:24 +0000 (14:39 +0000)]
Freeze assumes that all built-in modules are part of the Python core.
This is not necessarily the case. It is possible to create a Python
binary which contains built-in extension modules. Therefore
checkextensions should be used for all unknown and builtin modules.
(Sjoerd Mullender)
Guido van Rossum [Thu, 23 Apr 1998 14:39:05 +0000 (14:39 +0000)]
If freezing with the -O option, the optimized bytecode files are
used. It is useful to implicitly set the -O flag in the frozen
application.
(Sjoerd Mullender)
Guido van Rossum [Thu, 23 Apr 1998 14:38:46 +0000 (14:38 +0000)]
When using extention modules, relative path names that occur in the
Setup file are fixed so that they will work from the freeze build
directory. However, relative path names in liner -L and -R options
are not fixed in this way.
(Sjoerd Mullender)
Fred Drake [Thu, 23 Apr 1998 14:06:01 +0000 (14:06 +0000)]
Convert recent additions to use new, "logical" markup.
I suppose we really do need a markup guide. -sigh-
Guido van Rossum [Thu, 23 Apr 1998 13:34:57 +0000 (13:34 +0000)]
Run the self-test (test.test_MimeWriter) when invoked as a script.
Guido van Rossum [Thu, 23 Apr 1998 13:33:56 +0000 (13:33 +0000)]
Add test for MimeWriter module
Guido van Rossum [Thu, 23 Apr 1998 13:33:21 +0000 (13:33 +0000)]
Add writelines() method to Compare class.
Jack Jansen [Thu, 23 Apr 1998 13:23:12 +0000 (13:23 +0000)]
Regenerated with FOUR_CHAR_CODE defined
Jack Jansen [Thu, 23 Apr 1998 13:22:44 +0000 (13:22 +0000)]
Added support for the horribly complex TimeRecord, so we can position
movies, etc. TimeBase objects have also been slightly modified for
this (for instance: the DisposeTimeBase call shouldn't be done in the
__del__ routine, the timebase might belong to someone else).
Jack Jansen [Thu, 23 Apr 1998 13:21:09 +0000 (13:21 +0000)]
SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define.
Jack Jansen [Thu, 23 Apr 1998 13:20:17 +0000 (13:20 +0000)]
Incorrect argument for PyMacBuildwide()
Fred Drake [Tue, 21 Apr 1998 22:31:45 +0000 (22:31 +0000)]
In method & function tables, added a cast for the function pointers to keep
compilers happy.
initparser(): Remove unused variable.
gcc -Wall is now happy.
Guido van Rossum [Tue, 21 Apr 1998 22:25:01 +0000 (22:25 +0000)]
Be less naive about null characters in an object's repr().
Jack Jansen [Tue, 21 Apr 1998 15:30:36 +0000 (15:30 +0000)]
CW Pro 3 FC8 projects. Checked in because of ColorPicker and Printing
modules, mainly.
Guido van Rossum [Tue, 21 Apr 1998 15:30:01 +0000 (15:30 +0000)]
Filled in some more blanks, with the help of Drew Csillag.
Jack Jansen [Tue, 21 Apr 1998 15:27:45 +0000 (15:27 +0000)]
If there's no comment for an error we use the symbolic name as the
error message. Not really fantastic, but "reqAborted" is better than
"MacOS error -1105" at least.
Jack Jansen [Tue, 21 Apr 1998 15:26:26 +0000 (15:26 +0000)]
Removed unused import of addpack
Jack Jansen [Tue, 21 Apr 1998 15:25:57 +0000 (15:25 +0000)]
Moved some code around: occasionally the SetCreatorFileType didn't
work because the finder got there first (at leats, that's what I think
happened).
Jack Jansen [Tue, 21 Apr 1998 15:25:12 +0000 (15:25 +0000)]
Updated for Python 1.5.1: version number, preference filename, etc