Jack Jansen [Sat, 6 Feb 1999 17:46:21 +0000 (17:46 +0000)]
- img modules are no longer in PlugIns folder
- Added a dependency on toolboxmodules to icglue.cfm68k
Jack Jansen [Sat, 6 Feb 1999 17:44:28 +0000 (17:44 +0000)]
img modules are no longer in PlugIns folder.
Guido van Rossum [Fri, 5 Feb 1999 22:34:57 +0000 (22:34 +0000)]
Some weird symbol (M_I386) was used to decide whether to include the
audioop module; this was no longer defined. Use MS_WINDOWS instead.
(I have a feeling that this was for the WATCOM port; too bad.)
Guido van Rossum [Fri, 5 Feb 1999 22:32:11 +0000 (22:32 +0000)]
Ehm, when we don't need to byteswap the data, don't go through an
array object at all.
Guido van Rossum [Fri, 5 Feb 1999 22:28:17 +0000 (22:28 +0000)]
Two important fixes:
(1) on a little-endian platform, don't byteswap;
(2) in _patchheader(), there was a missing self._file argument to a
_write_long() call.
Just van Rossum [Fri, 5 Feb 1999 21:58:25 +0000 (21:58 +0000)]
fixed problem with "reloading" sub-sub-modules -- jvr
Guido van Rossum [Fri, 5 Feb 1999 20:57:44 +0000 (20:57 +0000)]
The encoding type was wrong, I think.
Guido van Rossum [Fri, 5 Feb 1999 20:55:16 +0000 (20:55 +0000)]
Should open files in binary mode!
Also finally get rid of some obsolete commented-out access statements.
A note about the previous checkin: I believe it's correct, but I found
something strange: the file Lib/test/audiotest.au in the Python
distribution was evidently encoded in u-LAW format but had its
encoding set to 2, i.e. linear-8. I hope that this is a mistake
caused by some conversion program that produced this .au file; I just
found it on a website.
Fred Drake [Fri, 5 Feb 1999 20:50:59 +0000 (20:50 +0000)]
Respond to suggestion from "Albert" <hat@se-46.wpa.wtb.tue.nl> to add
document titles to the list of files.
Also added total page count and a note that comments should be
directed to python-docs@python.org.
Guido van Rossum [Fri, 5 Feb 1999 19:59:27 +0000 (19:59 +0000)]
Shouldn't be treating linear-8 as u-law!
Fred Drake [Fri, 5 Feb 1999 18:31:29 +0000 (18:31 +0000)]
More magic to tighten up a little of the formatting.
Fred Drake [Fri, 5 Feb 1999 18:30:49 +0000 (18:30 +0000)]
Minor nit to prevent dropping a space in the HTML generation.
Guido van Rossum [Thu, 4 Feb 1999 22:40:42 +0000 (22:40 +0000)]
Add winsound -- by Toby Dickenson with permission.
Guido van Rossum [Thu, 4 Feb 1999 14:54:04 +0000 (14:54 +0000)]
Jim Fulton: this fixes seg faults with bad pickles like "c".
Fred Drake [Wed, 3 Feb 1999 22:31:30 +0000 (22:31 +0000)]
Document sameopenfile(), samestat().
Fred Drake [Wed, 3 Feb 1999 19:24:44 +0000 (19:24 +0000)]
Document splitdrive().
For all split*(), these split path *into* pairs, not split path *in*
pairs. "Into" can be used for transformations, "in" is for
containment.
Guido van Rossum [Wed, 3 Feb 1999 17:21:21 +0000 (17:21 +0000)]
New test for ntpath module
Guido van Rossum [Wed, 3 Feb 1999 17:20:50 +0000 (17:20 +0000)]
New splitdrive() that knows about UNC paths (e.g., network paths like
\\host\mountpoint\dir\file). By Larry Hastings.
Also cleaned up some docstrings.
Guido van Rossum [Wed, 3 Feb 1999 16:32:37 +0000 (16:32 +0000)]
Portability fix for [f]statvfs() return tuple: no longer return the
f_fsid field, since it's not a scalar on all systems supporting this
call (in particular, it's a tuple of two longs on AIX). Since it's
not particularly useful, just nuke it. Adapted the doc strings too.
Jack Jansen [Wed, 3 Feb 1999 13:09:27 +0000 (13:09 +0000)]
Partly updated to reflect the new organization and the availability of CVS
access. Will still need a bit of work when all plugins are separated, probably.
Jack Jansen [Wed, 3 Feb 1999 12:07:14 +0000 (12:07 +0000)]
Just's script to find non-7-bit-clean charactres in a source tree (slightly
modified by Jack to skip files that are binary despite the TEXT type).
Just van Rossum [Tue, 2 Feb 1999 23:58:50 +0000 (23:58 +0000)]
updated to the new numpy build setup -- jvr
Guido van Rossum [Tue, 2 Feb 1999 23:41:44 +0000 (23:41 +0000)]
Never mind, this belongs in the PC subdirectory,
and besides Toby Dickenson sent me a more functional
(if lower level) wrapper around PlaySound.
Just van Rossum [Tue, 2 Feb 1999 22:31:05 +0000 (22:31 +0000)]
re-checkin with "ISO-8859 translation" turned on.
Just van Rossum [Tue, 2 Feb 1999 22:27:41 +0000 (22:27 +0000)]
added some comments
Guido van Rossum [Tue, 2 Feb 1999 22:15:24 +0000 (22:15 +0000)]
Fredrik Lundh fixes Sjoerd's patch...
"""Sjoerd's version stores unbound methods. that's not good enough ;-)
Here's an alternative implementation of fixdict."""
Fred Drake [Tue, 2 Feb 1999 19:03:09 +0000 (19:03 +0000)]
Remove three items.
Fred Drake [Tue, 2 Feb 1999 19:02:35 +0000 (19:02 +0000)]
Fix the os/posix documentation issue.
Fred Drake [Tue, 2 Feb 1999 19:01:37 +0000 (19:01 +0000)]
Moved \versionadded to end of description sections.
Fred Drake [Tue, 2 Feb 1999 19:00:37 +0000 (19:00 +0000)]
Moved posixpath to os.path.
Fred Drake [Tue, 2 Feb 1999 18:59:58 +0000 (18:59 +0000)]
Added posixpath, winsound.
Fred Drake [Tue, 2 Feb 1999 18:58:33 +0000 (18:58 +0000)]
Change this to be os.path.
Use consistent parameter naming with the os documentation (paths
always named "path" or "path1", "path2"...).
Fred Drake [Tue, 2 Feb 1999 18:57:12 +0000 (18:57 +0000)]
This seems to fix a problem with targeting from the indexes.
Fred Drake [Tue, 2 Feb 1999 18:02:48 +0000 (18:02 +0000)]
Make \versionadded and \versionchanged less prominant -- neither bold
nor a separate paragraph.
Fred Drake [Tue, 2 Feb 1999 18:00:40 +0000 (18:00 +0000)]
Move \versionadded macros to end of descriptions.
Guido van Rossum [Tue, 2 Feb 1999 17:55:12 +0000 (17:55 +0000)]
Patch by Sjoerd Mullender to placate /F:
Clarified (hopefully :-) the documentation of elements and attributes
variables.
Guido van Rossum [Tue, 2 Feb 1999 17:54:38 +0000 (17:54 +0000)]
Patch by Sjoerd Mullender to placate /F:
Fix leaking of instances by removing the elements variable that we
created on closing the parser. The elements variable is now created
in the reset() method, so that the sequence close(); reset();
... works.
Also, add the name of the entity reference that wasn't found to the
error message.
Fred Drake [Tue, 2 Feb 1999 16:37:11 +0000 (16:37 +0000)]
Added documentation to the docstrings for the W*() functions that take
a process exit status as a parameter.
Just van Rossum [Tue, 2 Feb 1999 15:49:03 +0000 (15:49 +0000)]
put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr
Jack Jansen [Tue, 2 Feb 1999 15:33:45 +0000 (15:33 +0000)]
Replaced by Pythonpath.r
Guido van Rossum [Tue, 2 Feb 1999 15:14:37 +0000 (15:14 +0000)]
Windows sound playing module, by Fredrik Lundh.
Guido van Rossum [Mon, 1 Feb 1999 23:54:31 +0000 (23:54 +0000)]
Add _P_WAIT etc. for NT.
Guido van Rossum [Mon, 1 Feb 1999 23:52:29 +0000 (23:52 +0000)]
Special-case _P_WAIT etc. for NT.
Guido van Rossum [Mon, 1 Feb 1999 23:06:17 +0000 (23:06 +0000)]
Add current dir or paths of file args to sys.path.
Fred Drake [Mon, 1 Feb 1999 22:24:40 +0000 (22:24 +0000)]
spawnv, spawnve docstrings: added mode parameter; this is required!
Fred Drake [Mon, 1 Feb 1999 21:27:59 +0000 (21:27 +0000)]
Added module synopsis.
Fred Drake [Mon, 1 Feb 1999 20:23:02 +0000 (20:23 +0000)]
Take out just about everything and refer the reader to the os module.
Fred Drake [Mon, 1 Feb 1999 20:20:39 +0000 (20:20 +0000)]
Make the text generic, and call it os.path instead of posixpath.
Fred Drake [Mon, 1 Feb 1999 20:19:38 +0000 (20:19 +0000)]
Remove all references to posixpath; only refer to os.path.
Formalize the xstat() documentation.
Guido van Rossum [Mon, 1 Feb 1999 19:35:33 +0000 (19:35 +0000)]
Add canonic() function -- for brand new bdb.py feature.
Guido van Rossum [Mon, 1 Feb 1999 19:34:53 +0000 (19:34 +0000)]
Protect against accessing an empty stack.
Barry Warsaw [Mon, 1 Feb 1999 17:09:00 +0000 (17:09 +0000)]
PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString()
was appended to a list. Lists are reference count neutral, so the
string must be DECREF'd. Also added some checks for the return value
of PyList_Append().
Note: there are still some memory problems reported by Purify (I get
two Array Bounds Reads still and an Unitialized Memory Read). Also,
in scanning the code, there appears to be some potential problems
where return values aren't checked. To much to attack now though.
Just van Rossum [Mon, 1 Feb 1999 16:34:08 +0000 (16:34 +0000)]
better sys.path munging when running scripts -- jvr
Fred Drake [Mon, 1 Feb 1999 16:17:40 +0000 (16:17 +0000)]
OSError description: "as the by the" --> "as the"
Guido van Rossum [Mon, 1 Feb 1999 16:15:30 +0000 (16:15 +0000)]
Oops, the patch for NeXT always replaced waitpid() with wait4() --
this doesn't exist everywhere, so go back to using #ifdef NeXT.
Guido van Rossum [Mon, 1 Feb 1999 15:35:13 +0000 (15:35 +0000)]
Patch by Sjoerd Mullender for better compatibility with the version
from Python 1.5.1:
If after __init__ finishes no new elements variable was created, this
patch will search the instance's namespace for all attributes whose
name start with start_ or end_ and put their value in a new elements
instance variable.
Just van Rossum [Mon, 1 Feb 1999 01:38:20 +0000 (01:38 +0000)]
removed old IDE stuff -- jvr
Just van Rossum [Mon, 1 Feb 1999 01:29:17 +0000 (01:29 +0000)]
minor cleanup of last patch -- jvr
Just van Rossum [Mon, 1 Feb 1999 01:21:18 +0000 (01:21 +0000)]
Added PythonIDE to the applet list; added destination filename support for applets -- jvr
Just van Rossum [Mon, 1 Feb 1999 01:19:16 +0000 (01:19 +0000)]
removed turd resources left by my former MacCVS client
-- jvr
Just van Rossum [Sun, 31 Jan 1999 23:17:56 +0000 (23:17 +0000)]
Add $(APPLICATION) or :Mac:Tools:IDE at the very start of sys.path to improve startup time -- jvr
Just van Rossum [Sat, 30 Jan 1999 23:49:45 +0000 (23:49 +0000)]
There are now three possible ways to run the IDE:
- this file dropped onto the interpreter
- applet built by BuildApplet (contains only __main__)
- applet built by BuildIDE (contains all IDE modules)
Just van Rossum [Sat, 30 Jan 1999 22:40:26 +0000 (22:40 +0000)]
??? adding this file somehow failed -- jvr
Just van Rossum [Sat, 30 Jan 1999 22:39:17 +0000 (22:39 +0000)]
First Checked In.
Just van Rossum [Sat, 30 Jan 1999 22:33:40 +0000 (22:33 +0000)]
added ntpath and win32api to MAC_MAYMISS_MODULES -- jvr
Just van Rossum [Sat, 30 Jan 1999 22:32:40 +0000 (22:32 +0000)]
changed chars in source > chr(127) to ASCII: CVS corrupted them -- jvr
Just van Rossum [Sat, 30 Jan 1999 22:31:26 +0000 (22:31 +0000)]
set 'preload' attribute for __main__ PYC resource -- jvr
Just van Rossum [Sat, 30 Jan 1999 21:20:10 +0000 (21:20 +0000)]
skip 'vers' resource when copying resources from templeate -- jvr
Just van Rossum [Sat, 30 Jan 1999 18:27:12 +0000 (18:27 +0000)]
added some try/excepts so it also works when certain projects/folders are not available -- jvr
Just van Rossum [Sat, 30 Jan 1999 17:50:15 +0000 (17:50 +0000)]
Removed NumPy install code: it's obsolete -- jvr
Just van Rossum [Sat, 30 Jan 1999 17:46:34 +0000 (17:46 +0000)]
Fixed two typo's (Plugins -> PlugIns) and added some explicit path munging to allow the script to also work from the Scripts folder. Somehow either of these fixes solved a problem where it suddenly refused to make a PythonCore alias in the Extensions folder. -- jvr
Just van Rossum [Sat, 30 Jan 1999 15:25:30 +0000 (15:25 +0000)]
added "delay console window until needed" preference
Jack Jansen [Sat, 30 Jan 1999 13:21:24 +0000 (13:21 +0000)]
Added pascal-style string name of preference file resource, and bracketed
C struct declarations with #ifndef rez
Guido van Rossum [Sat, 30 Jan 1999 04:35:47 +0000 (04:35 +0000)]
From: Mike Orr <mso@oz.net>
In the docstring of ConfigParser.py (Python 1.5.2b1):
read(*filenames) -- read and parse the list of named configuration files
should be:
read(filenames) -- read and parse the list of named configuration files
The method accepts a list, not a bunch of positional arguments.
Which is good, the list is much more convenient.
Guido van Rossum [Fri, 29 Jan 1999 22:39:32 +0000 (22:39 +0000)]
Embarrassing: remove a debug print statement from set_break() for the
second time!
Fred Drake [Fri, 29 Jan 1999 22:35:23 +0000 (22:35 +0000)]
Updated comments on version of XML package needed.
Guido van Rossum [Fri, 29 Jan 1999 22:30:41 +0000 (22:30 +0000)]
Use win32api.GetFullPathName(path) if it exists to implement abspath().
Fred Drake [Fri, 29 Jan 1999 22:23:25 +0000 (22:23 +0000)]
Added the info tarball to the tarballs target. Added the README to
the info tarball.
Fred Drake [Fri, 29 Jan 1999 22:22:03 +0000 (22:22 +0000)]
A README file for the info tarball.
Fred Drake [Fri, 29 Jan 1999 22:12:29 +0000 (22:12 +0000)]
Added support to handle \versionadded in a reasonable way.
Guido van Rossum [Fri, 29 Jan 1999 22:03:51 +0000 (22:03 +0000)]
Support a canonical() method, implementable by a derived class, to be
applied to all filenames before they are compared, looked up in the
breaks dictionary, etc. The default implementation does nothing --
it's implented as fast as possible via str(). A useful implementation
would make everything a absolute, e.g. return os.path.normcase(
os.path.abspath(filename)).
Barry Warsaw [Fri, 29 Jan 1999 21:55:03 +0000 (21:55 +0000)]
setup_readline(): Added a comment about memory leak (reported by
Purify) being caused by a bug in the readline library. Nothing we can
do about it.
Cause: readline_initialize_everything() throws away the return value
from rl_read_init_file(), but that happens to be the last reference to
a dynamically allocated char*.
Andrew M. Kuchling [Fri, 29 Jan 1999 21:49:34 +0000 (21:49 +0000)]
Added missing DECREF's in the error branches when creating a compressor or
decompressor object. This required adding a flag to the struct which is
true if initialisation was completed; on object destruction, deflateEnd()
is only called if the flag is true.
Fred Drake [Fri, 29 Jan 1999 21:38:14 +0000 (21:38 +0000)]
Define %descriptor.class, since it's used.
Fred Drake [Fri, 29 Jan 1999 21:35:50 +0000 (21:35 +0000)]
Be a little smarter on some attribute values, making an assumption about
the DTD.
Fred Drake [Fri, 29 Jan 1999 21:31:12 +0000 (21:31 +0000)]
fixup_descriptors(): Change the way we look for descriptor nodes;
this takes 5 minutes off the conversion of the whole tree by
reducing the number of tree-traversals from 14 to 1.
Barry Warsaw [Fri, 29 Jan 1999 21:30:22 +0000 (21:30 +0000)]
initmain(): Nailed a memory leak. bimod must be DECREF'd!
Fred Drake [Fri, 29 Jan 1999 21:22:55 +0000 (21:22 +0000)]
Added the Doc/sgml/ directory to the tarball.
Fred Drake [Fri, 29 Jan 1999 20:55:07 +0000 (20:55 +0000)]
Rewrite code that converts the little descriptor environments to build
the right <signature>s and <description>. This seems to work a lot
better now!
Guido van Rossum [Fri, 29 Jan 1999 20:44:45 +0000 (20:44 +0000)]
Use only the height to decide whether to zoom in or out.
Barry Warsaw [Fri, 29 Jan 1999 20:29:49 +0000 (20:29 +0000)]
bltin_exc[]: EnvironmentError is not a "leaf exception", so set it's
leaf_exc flag to zero otherwise the name leaks memory.
Fred Drake [Fri, 29 Jan 1999 20:09:27 +0000 (20:09 +0000)]
Added table entries for \funcline and \funclineni.
Guido van Rossum [Fri, 29 Jan 1999 18:05:18 +0000 (18:05 +0000)]
Add abspath()
Guido van Rossum [Fri, 29 Jan 1999 18:05:05 +0000 (18:05 +0000)]
Document abspath() (implementation is forthcoming).
Fred Drake [Fri, 29 Jan 1999 16:42:37 +0000 (16:42 +0000)]
Define a general entity "&version;" that can be used as the current major
version of the Python interpreter. This is \version in the LaTeX format
of the documentation.
Fred Drake [Fri, 29 Jan 1999 16:29:25 +0000 (16:29 +0000)]
Convert <version> to &version;.
Just van Rossum [Fri, 29 Jan 1999 16:28:55 +0000 (16:28 +0000)]
doh! added missing comma (will check before committing in the future ;-) -- jvr
Fred Drake [Fri, 29 Jan 1999 16:21:20 +0000 (16:21 +0000)]
A few scribbles toward the DTD.
Just van Rossum [Fri, 29 Jan 1999 16:21:04 +0000 (16:21 +0000)]
added path entry for NumPy -- jvr
Fred Drake [Fri, 29 Jan 1999 16:20:24 +0000 (16:20 +0000)]
Standard ISO entities.