Jack Jansen [Fri, 29 Jan 1999 13:33:51 +0000 (13:33 +0000)]
Projects moved to Mac:Build. The macfreeze projects still need sorting out.
Jack Jansen [Fri, 29 Jan 1999 13:30:03 +0000 (13:30 +0000)]
Fixed an absolute path.
Jack Jansen [Fri, 29 Jan 1999 12:06:21 +0000 (12:06 +0000)]
Re-committed as AppleSingle
Fred Drake [Thu, 28 Jan 1999 23:59:58 +0000 (23:59 +0000)]
Update the docstring.
Lots of changes to get the paragraph marking to work, and not go into
an infinite recursion.
Start to rationalize markup of method signatures; not complete.
find_all_elements(): similar to getElementsByTagName(), but operates
on the not-quite-legal fragments we deal with here.
Simplifies several individual transforms.
fixup_sectionauthors(): Convert \sectionauthor items to <author> just
after the <section>'s <title>.
Fred Drake [Thu, 28 Jan 1999 23:49:37 +0000 (23:49 +0000)]
Added table entries for \methodline, \methodlineni.
Fred Drake [Thu, 28 Jan 1999 23:21:49 +0000 (23:21 +0000)]
"numberic" --> "numeric", two places
Fred Drake [Thu, 28 Jan 1999 23:10:48 +0000 (23:10 +0000)]
Constructor arguments for classes should be called <args>.
Guido van Rossum [Thu, 28 Jan 1999 22:24:30 +0000 (22:24 +0000)]
Make sure the Tcl variables are shared between windows.
Guido van Rossum [Thu, 28 Jan 1999 22:02:47 +0000 (22:02 +0000)]
Move menu/key binding code from Bindings.py to EditorWindow.py,
with changed APIs -- it makes much more sense there.
Also add a new feature: if the first character of a menu label is
a '!', it gets a checkbox. Checkboxes are bound to Boolean Tcl variables
that can be accessed through the new getvar/setvar/getrawvar API;
the variable is named after the event to which the menu is bound.
Guido van Rossum [Thu, 28 Jan 1999 22:00:30 +0000 (22:00 +0000)]
Add Quit button to the debugger window.
Barry Warsaw [Thu, 28 Jan 1999 19:51:51 +0000 (19:51 +0000)]
Added a -s option which is useful for narrowing down memory leaks.
With -s only a single test is run. The next test run is chosen
sequentially from the list of all tests.
Barry Warsaw [Thu, 28 Jan 1999 19:44:06 +0000 (19:44 +0000)]
Added a new test for old filter() memory leak
Barry Warsaw [Thu, 28 Jan 1999 19:40:05 +0000 (19:40 +0000)]
PyInit_zlib(): Plug a small memory leak. Jeremy is looking into the
more severe ones.
Fred Drake [Thu, 28 Jan 1999 19:30:49 +0000 (19:30 +0000)]
Added \modulesynopsis.
Guido van Rossum [Thu, 28 Jan 1999 19:04:01 +0000 (19:04 +0000)]
When find_again() finds exactly the current selection, it's a failure.
Guido van Rossum [Thu, 28 Jan 1999 18:50:31 +0000 (18:50 +0000)]
Rename idle -> idle.py
Barry Warsaw [Thu, 28 Jan 1999 18:49:12 +0000 (18:49 +0000)]
builtin_map(): A better fix for the previous leak plug (remember
PyList_Append steals a reference even if it fails).
builtin_filter(): Had the same leak problem as builtin_map().
Jack Jansen [Thu, 28 Jan 1999 17:46:50 +0000 (17:46 +0000)]
Updated for new build and plugin paths
Jack Jansen [Thu, 28 Jan 1999 16:59:53 +0000 (16:59 +0000)]
Everything now builds in the right location,.
Jack Jansen [Thu, 28 Jan 1999 15:17:49 +0000 (15:17 +0000)]
Checking in the projects that have been converted so far.
Guido van Rossum [Thu, 28 Jan 1999 15:08:09 +0000 (15:08 +0000)]
Implement -OO; "unsafe" optimization that removes docstrings.
Marc-Andre Lemburg.
Guido van Rossum [Thu, 28 Jan 1999 15:07:47 +0000 (15:07 +0000)]
Document -OO; "unsafe" optimization that removes docstrings.
Marc-Andre Lemburg.
Jack Jansen [Thu, 28 Jan 1999 15:01:06 +0000 (15:01 +0000)]
Re-commit in applesingle
Guido van Rossum [Thu, 28 Jan 1999 14:38:32 +0000 (14:38 +0000)]
Improvement of b/w compat note in help text for clear, by Richard Wolff.
Just van Rossum [Thu, 28 Jan 1999 13:50:29 +0000 (13:50 +0000)]
added default sys.path entry for NumPy -- jvr
Jack Jansen [Thu, 28 Jan 1999 13:42:55 +0000 (13:42 +0000)]
Starting on the new project/plugin structure. Far from complete...
Barry Warsaw [Thu, 28 Jan 1999 04:54:33 +0000 (04:54 +0000)]
Slight reworking of this test. If nis.maps() gives a nis.error, then
raise an ImportError if not running verbose. This signals to the
regression framework that this test isn't applicable.
Barry Warsaw [Thu, 28 Jan 1999 04:21:35 +0000 (04:21 +0000)]
builtin_map(): Nailed memory leak. PyList_Append() borrows a
reference, so you have to DECREF the appended value. This was a fun
one!
Barry Warsaw [Wed, 27 Jan 1999 23:13:59 +0000 (23:13 +0000)]
builtin_complex(): Nailed memory leak. This one's in the instance
test for classes with a __complex__() method. The attribute is pulled
out of the instance with PyObject_GetAttr() but this transfers
ownership and the function object was never DECREF'd.
Guido van Rossum [Wed, 27 Jan 1999 22:43:55 +0000 (22:43 +0000)]
Get rid of do_clear_break / do_clb command -- it is redundant.
(It was left in accidentally after a long and arduous 3-way patch session.)
Barry Warsaw [Wed, 27 Jan 1999 21:41:08 +0000 (21:41 +0000)]
pcre_exec(): Andrew Kuchling's patch for pcre memory leak.
Fred Drake [Wed, 27 Jan 1999 18:50:21 +0000 (18:50 +0000)]
Add the info "dir" fragment to the info tarball.
Fred Drake [Wed, 27 Jan 1999 18:49:44 +0000 (18:49 +0000)]
Fragment of an info "dir" file for the Python documentation.
Fred Drake [Wed, 27 Jan 1999 18:40:36 +0000 (18:40 +0000)]
Simplify slightly.
Fred Drake [Wed, 27 Jan 1999 18:30:16 +0000 (18:30 +0000)]
Don't build info for the Macintosh module reference by default; it
doesn't do well.
Barry Warsaw [Wed, 27 Jan 1999 18:04:05 +0000 (18:04 +0000)]
initerrno(): Nailed a not-so-tiny memory leak. The de dictionary is
put into the module dict, but is never DECREF'd in this function, so
it and all its contents leak.
Barry Warsaw [Wed, 27 Jan 1999 17:54:20 +0000 (17:54 +0000)]
PyImport_ReloadModule(): Nailed a small memory leak. In the
else-clause of the subname test, the parentname object was never
DECREF'd.
Guido van Rossum [Wed, 27 Jan 1999 17:53:11 +0000 (17:53 +0000)]
Patches by William Lewis for Nextstep descendants.
Barry Warsaw [Wed, 27 Jan 1999 17:48:27 +0000 (17:48 +0000)]
PyLong_FromString(): Nailed a small memory leak. In the str==start
test, we forgot that z is still pointing to a real live object.
DECREF() it before returning.
Fred Drake [Wed, 27 Jan 1999 17:37:36 +0000 (17:37 +0000)]
\py@linkToName: New macro to consolidate support for most internal
hyperlinking in the PDF version. This also allows many of the
macros that do this stuff to be a good bit more readable.
Takes the target name and link content as parameters.
Use \py@linkToName for all internal links.
Fred Drake [Wed, 27 Jan 1999 17:21:09 +0000 (17:21 +0000)]
Added the files for the repr and ConfigParser modules.
Fred Drake [Wed, 27 Jan 1999 17:20:33 +0000 (17:20 +0000)]
Document the repr module. This removes the entire "Code objects and
files, debugger etc." section from "Undocumented Modules"!
Barry Warsaw [Wed, 27 Jan 1999 16:39:40 +0000 (16:39 +0000)]
err_input(): Nailed a small memory leak. If the error is E_INTR, the
v temporary variable was never decref'd. Test this by starting up the
interpreter, hitting C-c, then immediately exiting.
Same potential leak can occur if error is E_NOMEM, since the return is
done in the case block. Added Py_XDECREF(v); to both blocks, just
before the return.
Barry Warsaw [Wed, 27 Jan 1999 16:33:19 +0000 (16:33 +0000)]
_PySys_Init(): Nailed small memory leak. The stringobject created for
sys.version was missing a Py_XDECREF().
Fred Drake [Wed, 27 Jan 1999 15:48:23 +0000 (15:48 +0000)]
Don't say that the module defines the "following functions" and then
only describe one; say "following function" instead!
Merge the two one-sentence paragraphs into a single paragraph, so it
doesn't look too stupid.
Just van Rossum [Wed, 27 Jan 1999 14:22:11 +0000 (14:22 +0000)]
cleaned up ugly hack related to activate events and suspend/resume -- jvr
Barry Warsaw [Tue, 26 Jan 1999 22:01:37 +0000 (22:01 +0000)]
Re-format the module docstring and document the new get() argument.
Fred Drake [Tue, 26 Jan 1999 21:49:05 +0000 (21:49 +0000)]
Incorporate changes for patched version of ConfigParser.
Guido van Rossum [Tue, 26 Jan 1999 19:29:25 +0000 (19:29 +0000)]
Patch by Chris Petrilli (not really tested since I don't know this
module myself) to accept an option keyword argument (vars) that is
substituted on top of the defaults that were setup in __init__. The
patch also fixes the problem where you can't have recusive references
inside your configuration file.
Fred Drake [Tue, 26 Jan 1999 19:23:09 +0000 (19:23 +0000)]
\py@modindex: Format the index entry for the module index more like
that used in the "normal" index. No visual difference, but
more easily processed by helper scripts.
Fred Drake [Tue, 26 Jan 1999 15:47:59 +0000 (15:47 +0000)]
Documentation for the ConfigParser module, by Christopher G. Petrilli
(petrilli@amber.org).
Jack Jansen [Tue, 26 Jan 1999 13:09:59 +0000 (13:09 +0000)]
Added Sherlock source for Python documentation, and added icons to them all.
Barry Warsaw [Tue, 26 Jan 1999 02:15:50 +0000 (02:15 +0000)]
expandtabs__doc__: blank line which was not terminated with \n\ caused
the SunPro C compiler to choke. Removed this redundant line.
Guido van Rossum [Mon, 25 Jan 1999 23:20:23 +0000 (23:20 +0000)]
Add spawnv and spawnve functions for Win32 platforms.
Guido van Rossum [Mon, 25 Jan 1999 22:36:24 +0000 (22:36 +0000)]
A gift from Fredrik Lundh: fast C implementation of expandtabs().
I've reformatted it, added a few comments, a test for tabsize <= 0,
and used the AS_STRING macro.
Guido van Rossum [Mon, 25 Jan 1999 22:31:53 +0000 (22:31 +0000)]
Document the default for tabsize in expandtabs().
Guido van Rossum [Mon, 25 Jan 1999 21:57:29 +0000 (21:57 +0000)]
The usual.
Fred Drake [Mon, 25 Jan 1999 21:57:07 +0000 (21:57 +0000)]
Allow recognition of attributes even if they don't have space in front
of them. I.e., '<a name="foo"href="bar.html">' will now have two
attributes recognized.
Based on comments from newgroup.
Guido van Rossum [Mon, 25 Jan 1999 21:48:56 +0000 (21:48 +0000)]
Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.
Guido van Rossum [Mon, 25 Jan 1999 21:43:51 +0000 (21:43 +0000)]
Make sure not to call realloc() with a NULL pointer -- call malloc()
in that case. Tamito Kajiyama.
Guido van Rossum [Mon, 25 Jan 1999 21:39:03 +0000 (21:39 +0000)]
Include myselect.h -- needed on some platforms.
Guido van Rossum [Mon, 25 Jan 1999 21:38:29 +0000 (21:38 +0000)]
Rearrange the -I flags for compiling _tkinter.c so that
/usr/local/include comes before /usr/X11R1/include. On some Linux
distributions the latter apparently contains (standard!) a bad tcl.h
or tk.h.
Guido van Rossum [Mon, 25 Jan 1999 21:37:02 +0000 (21:37 +0000)]
Don't die if CodeType doesn't exist -- ignore the error. This could
happen in restricted mode.
Guido van Rossum [Mon, 25 Jan 1999 21:36:13 +0000 (21:36 +0000)]
There's a macro PycString_IMPORT which the documentation listed as
PycStringIO_IMPORT. While arguably the name used in the documentation
is more consistent, I think it's probably safer not to change the
macro definition and instead fix the doco.
Guido van Rossum [Mon, 25 Jan 1999 20:56:33 +0000 (20:56 +0000)]
Correct typo in new function get_breaks().
Guido van Rossum [Mon, 25 Jan 1999 20:56:07 +0000 (20:56 +0000)]
Change clear syntax to support three alternatives:
clear
clear file:line
clear bpno bpno ...
Also print the breakpoint data after calling set_break(), because the
print statement in set_break() has gone.
Guido van Rossum [Mon, 25 Jan 1999 20:51:34 +0000 (20:51 +0000)]
Change clear_break() to the old signature clear_break(file, line).
Add new clear_bpbynumber() with single bpno argument. (Adapted from
a patch by Richard Wolff.)
Also some cleanup in error messages and moved some comments into a
docstring.
Guido van Rossum [Mon, 25 Jan 1999 19:42:19 +0000 (19:42 +0000)]
Ai! complex_nonzero() has && which should be ||, else decidedly
non-zero things like 5j and complex(1,0) are considered to be
zero/false. Tim Peters.
Guido van Rossum [Mon, 25 Jan 1999 16:12:23 +0000 (16:12 +0000)]
Only do ttyname() when HAVE_TTYNAME is defined.
Also define F_OK etc. when not already defined, when doing access().
Jack Jansen [Mon, 25 Jan 1999 15:11:15 +0000 (15:11 +0000)]
Adding sherlock search templates for Python and Python FAQ.
Jack Jansen [Mon, 25 Jan 1999 12:39:39 +0000 (12:39 +0000)]
Added Icn module to toolboxmodules
Jack Jansen [Mon, 25 Jan 1999 12:24:27 +0000 (12:24 +0000)]
Set PythonCore version number to sys.hexversion, and removed version
numbers in all other projects/libraries.
Just van Rossum [Sun, 24 Jan 1999 23:24:21 +0000 (23:24 +0000)]
Script to synchronize files with / in their name and their _s_ counterparts.
Needed to keep CWGUSI under cvs because of filesnames with slashes.
Just van Rossum [Sat, 23 Jan 1999 00:06:06 +0000 (00:06 +0000)]
Test checkin, to see whether I really can do it. --jvr schpeaking.
Just van Rossum [Fri, 22 Jan 1999 23:58:04 +0000 (23:58 +0000)]
Test checkin, to see whether I really can do it. --jvr schpeaking.
Fred Drake [Fri, 22 Jan 1999 22:48:24 +0000 (22:48 +0000)]
Add "term" to AUTOCLOSE.
Guido van Rossum [Fri, 22 Jan 1999 20:10:49 +0000 (20:10 +0000)]
Header for PyObject_DelItem() mentioned non-existing 3rd argument.
Jack Jansen [Fri, 22 Jan 1999 13:26:45 +0000 (13:26 +0000)]
Updated for 1.5.2b1
Jack Jansen [Fri, 22 Jan 1999 13:23:12 +0000 (13:23 +0000)]
In unpackevent, get the direct object (----) before asking for missed parameters.
The documentation is unclear on this, but the old implementation caused problems
with Default Folder.
Jack Jansen [Fri, 22 Jan 1999 13:14:06 +0000 (13:14 +0000)]
Select the whole default input field in AskString (Joe Strout)
Barry Warsaw [Thu, 21 Jan 1999 17:06:11 +0000 (17:06 +0000)]
(py-mode-map): Add back force of RET (aka C-m) to
py-newline-and-indent.
Jack Jansen [Thu, 21 Jan 1999 14:30:55 +0000 (14:30 +0000)]
Added examples/testcode for the Icn module.
Jack Jansen [Thu, 21 Jan 1999 13:34:26 +0000 (13:34 +0000)]
Don't qualify local symbols with aetools...
Jack Jansen [Thu, 21 Jan 1999 13:31:30 +0000 (13:31 +0000)]
Manually added definitions for normal, bold, etc. These are in MacTypes (of all
places) which isn't worth bgenning.
Jack Jansen [Thu, 21 Jan 1999 12:51:36 +0000 (12:51 +0000)]
Updated for 1.5.2b1
Jack Jansen [Thu, 21 Jan 1999 12:50:47 +0000 (12:50 +0000)]
Updated for 1.5.2b1 (better late than never:-)
Jack Jansen [Thu, 21 Jan 1999 12:50:19 +0000 (12:50 +0000)]
Updated the version number in the vers and preffilename resources.
Jack Jansen [Thu, 21 Jan 1999 12:49:20 +0000 (12:49 +0000)]
Removed warnings for packages (Just implemented support for freezing
them, so the warning is obsolete).
Fred Drake [Wed, 20 Jan 1999 20:35:05 +0000 (20:35 +0000)]
convert(): Added parameter "autoclose", which should be a sequence of
general identifiers for which closing tags will be omitted
when SGML is generated. This can be used to tell the markup
generator to drop stuff like </para>. Note that it needs to
be possible for the closing tag to *always* be omitted for it
to be included in "autoclose".
main(): Added command-line option "-a" / "--autoclose" to set the
list of general identifiers passed to the convert() function
as the "autoclose" parameter. The list may only be specified
once (not additive) and GIs should be comma-separated. The
default list includes only "para".
Fred Drake [Wed, 20 Jan 1999 17:26:56 +0000 (17:26 +0000)]
Modified the "sgml" and "xml" targets to stop if the sub-makes fail in
any subdirectory; don't continue with remaining subdirs.
Added "api", "ext", "lib", "mac", "ref", and "tut" targets to only do
submakes in those directories. This is just a lot easier to use than
to cd into the subdir and use make.rules directly.
Fred Drake [Wed, 20 Jan 1999 16:26:09 +0000 (16:26 +0000)]
Add caveat on partial dependence on the "cl" module, only available on
IRIX systems.
Fred Drake [Wed, 20 Jan 1999 15:55:20 +0000 (15:55 +0000)]
Move the jpeg module to the SGI section; it is dependent on the "cl"
module available on IRIX.
Fred Drake [Tue, 19 Jan 1999 23:09:31 +0000 (23:09 +0000)]
create_module_info(): If there's a \moduleauthor, move it to an
<author> inside the <moduleinfo> element.
Fix problems with paragraph identification.
Fred Drake [Tue, 19 Jan 1999 23:03:04 +0000 (23:03 +0000)]
isnmtoken(), istoken(): Fix to ensure the regex has to match the
entire attribute value.
Add ability to save list of "empty" elements to a file -- enabled by
constant in the code.
Fred Drake [Tue, 19 Jan 1999 21:46:48 +0000 (21:46 +0000)]
handle_labels(): Fix problem for document fragments containing more
than one "root" that prevented all the <label id=...> items
from being promoted to id attributes on the enclosing chapter/
section/... properly.
Fred Drake [Tue, 19 Jan 1999 20:00:08 +0000 (20:00 +0000)]
Revised comments on null bytes in pattern string.
Removed "New" from module synopsis.
Fred Drake [Tue, 19 Jan 1999 19:35:18 +0000 (19:35 +0000)]
Fix second description of handling 2-digit years (last item in
introductory text).
Fred Drake [Tue, 19 Jan 1999 17:11:23 +0000 (17:11 +0000)]
convert(): Change the element name remapping to convert <refmodule>
to <module link>.
Fred Drake [Tue, 19 Jan 1999 17:10:31 +0000 (17:10 +0000)]
format_attrs(): Attempt a bit more minimization for SGML output.
Fred Drake [Tue, 19 Jan 1999 16:30:10 +0000 (16:30 +0000)]
add_module_idx(), add_idx_hook():
Change the message printed before running buildindex.py;
"Doing the index..." wasn't clear and could be misinterpreted
with an inappropriate mindset. ;-)