]> granicus.if.org Git - python/log
python
25 years agoFix how we run 'zip' -- give explicit .zip extension.
Greg Ward [Sat, 23 Oct 1999 19:06:20 +0000 (19:06 +0000)]
Fix how we run 'zip' -- give explicit .zip extension.

25 years agoDocumented Beep() function.
Fred Drake [Fri, 22 Oct 1999 21:08:56 +0000 (21:08 +0000)]
Documented Beep() function.

25 years agoIn helo() and ehlo(), Don't fail when gethostbyaddr() fails -- just
Guido van Rossum [Fri, 22 Oct 1999 13:09:20 +0000 (13:09 +0000)]
In helo() and ehlo(), Don't fail when gethostbyaddr() fails -- just
keep whatever gethostname() returns.  After a suggestion by Doug Wyatt.

25 years agoModule/script to parse the reference count data file and make the
Fred Drake [Wed, 20 Oct 1999 21:50:31 +0000 (21:50 +0000)]
Module/script to parse the reference count data file and make the
information accessible to Python.

When run as a script, just dumps the information back out in the data
format, with functions in sorted order and a blank line between
different functions.

Still need to apply the information somehow.

25 years agoAdded note that Skip created the initial version of this file.
Fred Drake [Wed, 20 Oct 1999 16:03:38 +0000 (16:03 +0000)]
Added note that Skip created the initial version of this file.

Fixed up a few of his ??? comments.

25 years agoInitial version as provided by Skip Montanaro <skip@mojam.com>.
Fred Drake [Wed, 20 Oct 1999 15:06:24 +0000 (15:06 +0000)]
Initial version as provided by Skip Montanaro <skip@mojam.com>.

25 years agoFix PR#107: wm_colormapwindows() did the wrong thing when presented
Guido van Rossum [Wed, 20 Oct 1999 12:29:56 +0000 (12:29 +0000)]
Fix PR#107: wm_colormapwindows() did the wrong thing when presented
more than one window argument.

25 years agoTest output.
Guido van Rossum [Tue, 19 Oct 1999 19:09:00 +0000 (19:09 +0000)]
Test output.
(XXX perhaps a bit too verbose; in particular it is sensitive to
all the doc strings.)

25 years agoRewritten -- this now tests the binascii *except* for the binhex
Guido van Rossum [Tue, 19 Oct 1999 19:08:13 +0000 (19:08 +0000)]
Rewritten -- this now tests the binascii *except* for the binhex
module, which is tested by test_binhex.py.

25 years agoTest output for test_binhex.py.
Guido van Rossum [Tue, 19 Oct 1999 19:07:33 +0000 (19:07 +0000)]
Test output for test_binhex.py.

25 years agoPatch by Jason Trowbridge. (Followup to his PR#110.) (Slightly
Guido van Rossum [Tue, 19 Oct 1999 19:05:14 +0000 (19:05 +0000)]
Patch by Jason Trowbridge.  (Followup to his PR#110.)  (Slightly
reformatted.)

- Illegal padding is now ignored.  (Recommendation by GvR.)

- Padding no longer removes characters from data string (resulting in
lost data/strings with negative lengths).

- Illegal characters outside the ASCII range are now ignored, instead
of possibly being remapped to a valid character.

25 years agoThis test really only tests the binhex module.
Guido van Rossum [Tue, 19 Oct 1999 17:48:54 +0000 (17:48 +0000)]
This test really only tests the binhex module.
Renamed it and adapted a comment and an error message.

25 years agoJohn DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3
Guido van Rossum [Tue, 19 Oct 1999 13:29:23 +0000 (13:29 +0000)]
John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3
before it reveals the needed definitions in sys/statvfs.h.

25 years agoFix PR#110 -- bad input ("====") for a2b_base64() caused it to call
Guido van Rossum [Tue, 19 Oct 1999 04:47:13 +0000 (04:47 +0000)]
Fix PR#110 -- bad input ("====") for a2b_base64() caused it to call
_PyString_Resize() with a negative size.

25 years agoprint a warning if the password will be echoed.
Jeremy Hylton [Mon, 18 Oct 1999 22:25:22 +0000 (22:25 +0000)]
print a warning if the password will be echoed.

At import time, getpass will be bound to the appropriate
platform-specific function.  If the platform's echo-disabler is not
available, default_getpass, which prints the warning, will be used

25 years agoFixed PR#106: winfo_visualsavailable() with the includeids=1 option
Guido van Rossum [Mon, 18 Oct 1999 22:06:38 +0000 (22:06 +0000)]
Fixed PR#106: winfo_visualsavailable() with the includeids=1 option
didn't properly handle the hex numbers returned.

25 years agoFix for PR#111: when using the inplace option, give the new file the
Guido van Rossum [Mon, 18 Oct 1999 21:41:43 +0000 (21:41 +0000)]
Fix for PR#111: when using the inplace option, give the new file the
same permissions as the old file, plugging a security hole.
(Not using exactly the suggested bugfix.)

25 years agoFixed typo in explanation of abspath(); noticed by Paul Prescod
Fred Drake [Mon, 18 Oct 1999 14:10:06 +0000 (14:10 +0000)]
Fixed typo in explanation of abspath(); noticed by Paul Prescod
<paul@prescod.net>.

25 years agoos.fork raises AttributeError, not NameError, if fork() isn't
Fred Drake [Mon, 18 Oct 1999 13:43:44 +0000 (13:43 +0000)]
os.fork raises AttributeError, not NameError, if fork() isn't
supported.  Pointed out by Moshe Zadka <moshez@math.huji.ac.il>.

25 years agoBased on comments from Paul Prescod:
Fred Drake [Sat, 16 Oct 1999 02:07:50 +0000 (02:07 +0000)]
Based on comments from Paul Prescod:

If os.fork() doesn't exist, raise SystemError with an explanation at
the top of the module.  Added a note to the module docstring.

25 years agoMainlining the string_methods branch. See branch revision log
Barry Warsaw [Tue, 12 Oct 1999 19:54:53 +0000 (19:54 +0000)]
Mainlining the string_methods branch.  See branch revision log
messages for specific changes.

25 years agoupdate to use threading module instead of thread.
Jeremy Hylton [Tue, 12 Oct 1999 16:20:13 +0000 (16:20 +0000)]
update to use threading module instead of thread.

25 years agofixed a typo in a docstring, and slightly expanded the module
Barry Warsaw [Tue, 12 Oct 1999 16:12:48 +0000 (16:12 +0000)]
fixed a typo in a docstring, and slightly expanded the module
docstring info for readfp().

25 years agoFix PR#66. Solution: add error checking around l_divmod() calls in
Guido van Rossum [Mon, 11 Oct 1999 22:34:41 +0000 (22:34 +0000)]
Fix PR#66.  Solution: add error checking around l_divmod() calls in
long_pow().

25 years agoFix PR#31 -- zfill() mishandles empty string.
Guido van Rossum [Mon, 11 Oct 1999 22:15:41 +0000 (22:15 +0000)]
Fix PR#31 -- zfill() mishandles empty string.

25 years agoFix for PR#98 (Adrian Eyre) -- in instancemethod_repr, the funcname
Guido van Rossum [Mon, 11 Oct 1999 14:03:12 +0000 (14:03 +0000)]
Fix for PR#98 (Adrian Eyre) -- in instancemethod_repr, the funcname
object is DECREFed too early.

25 years agoJeremy writes:
Guido van Rossum [Sun, 10 Oct 1999 21:14:25 +0000 (21:14 +0000)]
Jeremy writes:

I found the following patch helpful in tracking down a bug in some
code.  I had appended time, the module, instead of time.time().  Not
sure if it is generally true that printing the repr of the object is
good, but I expect that most unpicklable things will have fairly
information and concise reprs (like files or sockets or modules).

25 years agomain(): Arg! I wasn't properly ignoring EINVAL; now only re-raise the
Barry Warsaw [Thu, 7 Oct 1999 20:00:01 +0000 (20:00 +0000)]
main(): Arg!  I wasn't properly ignoring EINVAL; now only re-raise the
exception if code <> errno.EINVAL.  Jeremy this should fix your
problem.

25 years agoFix PR#3, submitted by Skip Montanaro: if no space appears after the
Guido van Rossum [Wed, 6 Oct 1999 15:19:19 +0000 (15:19 +0000)]
Fix PR#3, submitted by Skip Montanaro: if no space appears after the
colon, the first character of the value is lost.

25 years agoIn PySys_GetObject(), it's possible that tstate->interp->sysdict is
Guido van Rossum [Tue, 5 Oct 1999 22:17:41 +0000 (22:17 +0000)]
In PySys_GetObject(), it's possible that tstate->interp->sysdict is
NULL.  In that case, return NULL rather than dumping core.

This fixes PR#91, submitted by Lele Gaifax.

25 years agoAdd -v flag. Comment duplicate Py_Finalize().
Guido van Rossum [Tue, 5 Oct 1999 22:16:07 +0000 (22:16 +0000)]
Add -v flag.  Comment duplicate Py_Finalize().

25 years agoDynamic linking support for BSD/OS 4.x as suggested by Vivek Khera
Guido van Rossum [Tue, 5 Oct 1999 21:59:33 +0000 (21:59 +0000)]
Dynamic linking support for BSD/OS 4.x as suggested by Vivek Khera

25 years agoAskString always set the dialog id to 257. Fixed.
Jack Jansen [Tue, 5 Oct 1999 08:54:17 +0000 (08:54 +0000)]
AskString always set the dialog id to 257. Fixed.

25 years agoAdded has_option(); fix bug in get() which botched interpolation if
Guido van Rossum [Mon, 4 Oct 1999 19:58:22 +0000 (19:58 +0000)]
Added has_option(); fix bug in get() which botched interpolation if
'%(' was found in first position (found by Fred Drake).

25 years agoUrmpfh!
Guido van Rossum [Mon, 4 Oct 1999 18:57:27 +0000 (18:57 +0000)]
Urmpfh!

Withdraw the change that Fred just checked in -- it was a poorly
documented feature, not a bug, to ignore I/O errors in read().

The new docstring explains the reason for the feature:
"""
this is designed so that you can specifiy a list of potential
configuration file locations (e.g. current directory, user's home
directory, systemwide directory), and all existing configuration files
in the list will be read.
"""

Also add a lower-level function, readfp(), which takes an open file
object (and optionally a filename).

XXX There are some other problems with this module, but I don't have
time to dig into these; in particular, there are complaints that the
%(name)s substitution from the [DEFAULTS] section doesn't work
correctly.

25 years agoConfigParser.read(): Don't mask IOError exceptions.
Fred Drake [Mon, 4 Oct 1999 18:11:56 +0000 (18:11 +0000)]
ConfigParser.read():  Don't mask IOError exceptions.

25 years agoFilter 'glob()' results so we only look at regular files.
Greg Ward [Sun, 3 Oct 1999 21:09:14 +0000 (21:09 +0000)]
Filter 'glob()' results so we only look at regular files.

25 years agoPass 'force' flag to 'new_compiler()'.
Greg Ward [Sun, 3 Oct 1999 21:08:42 +0000 (21:08 +0000)]
Pass 'force' flag to 'new_compiler()'.

25 years agoDon't import what we don't use.
Greg Ward [Sun, 3 Oct 1999 21:07:21 +0000 (21:07 +0000)]
Don't import what we don't use.

25 years agoTweaked verbosity messages for byte-compilation.
Greg Ward [Sun, 3 Oct 1999 21:03:26 +0000 (21:03 +0000)]
Tweaked verbosity messages for byte-compilation.

25 years agoAdded 'force' and 'quiet' (negative alias for 'verbose') to the
Greg Ward [Sun, 3 Oct 1999 21:02:48 +0000 (21:02 +0000)]
Added 'force' and 'quiet' (negative alias for 'verbose') to the
  global options table.
Every Command instance now has its own copies of the global options,
  which automatically fallback to the Distribution instance.  Changes:
  - initialize them in constructor
  - added '__getattr__()' to handle the fallback logic
  - changed every 'self.distribution.{verbose,dry_run}' in Command to
    'self.{verbose,dry_run}'.
  - filesystem utility methods ('copy_file()' et al) don't take 'update'
    parameter anymore -- instead we pass 'not force' to the underlying
    function as 'update'
Changed parsing of command line so that global options apply to all
  commands as well -- that's how (eg.) Command.verbose will be initialized.
Simplified 'make_file()' to use 'newer_group()' (from util module).
Deleted some cruft.
Some docstring tweaks.

25 years agoFixed 'mkpath()' to normalize the path right off the bat -- cleans up
Greg Ward [Sun, 3 Oct 1999 20:50:41 +0000 (20:50 +0000)]
Fixed 'mkpath()' to normalize the path right off the bat -- cleans up
  the code a bit and should make it work under Windows even with trailing
  backslash.
Fixed a couple of docstrings.
Added comment about 'make_file()' possibly being redundant and unnecessary.

25 years agoHacked to support the notion of "negative alias" options, to handle
Greg Ward [Sun, 3 Oct 1999 20:48:53 +0000 (20:48 +0000)]
Hacked to support the notion of "negative alias" options, to handle
-q/--quiet reasonably elegantly.

25 years agoCatch up with changes in 'gen_lib_options()':
Greg Ward [Sun, 3 Oct 1999 20:47:52 +0000 (20:47 +0000)]
Catch up with changes in 'gen_lib_options()':
  - change how we call it
  - added methods 'library_dir_option()', 'library_option()', and
    'find_library_file()' that it calls
Added 'force' flag; it's automatically "respected", because this class
  always rebuilds everything!  (Which it to say, "force=0" is not respected.)

25 years agoFixed order of link options: object files now precede library stuff.
Greg Ward [Sun, 3 Oct 1999 20:45:33 +0000 (20:45 +0000)]
Fixed order of link options: object files now precede library stuff.
Catch up with changes in 'gen_lib_options()':
  - change how we call it
  - added methods 'library_dir_option()', 'library_option()', and
    'find_library_file()' that it calls
Added 'force' flag and changed compile/link methods to respect it.

25 years agoSlight change to the meaning of the 'libraries' list: if a library name
Greg Ward [Sun, 3 Oct 1999 20:41:02 +0000 (20:41 +0000)]
Slight change to the meaning of the 'libraries' list: if a library name
  has a directory component, then we only search for the library in
  that one directory, ie. ignore the 'library_dirs' lists for that
  one library.
Changed calling convention to 'gen_lib_options()' again: now, it takes
  a CCompiler instance and calls methods on it instead of taking
  format strings.  Also implemented the new "library name" semantics
  using the 'find_library_file()' method in the CCompiler instance.
Added 'force' flag to CCompiler; added to constructor and 'new_compiler()'.
Added 'warn()' method.

25 years agoMark Hammond writes:
Guido van Rossum [Fri, 1 Oct 1999 14:29:17 +0000 (14:29 +0000)]
Mark Hammond writes:

Attached is a context diff to winsound.c that adds a Beep() function
to play a sound through the PC speaker.  Seems to make sense to have
this added, so I just went and did it!

25 years agoOptionally bracket all external declarations of init functions with "ifndef"s.
Jack Jansen [Fri, 1 Oct 1999 08:28:01 +0000 (08:28 +0000)]
Optionally bracket all external declarations of init functions with "ifndef"s.

25 years agovec_longjmp added to list of "forbidden" functions in .exp file.
Jack Jansen [Thu, 30 Sep 1999 19:48:49 +0000 (19:48 +0000)]
vec_longjmp added to list of "forbidden" functions in .exp file.

25 years agoCW Pro 5 projects.
Jack Jansen [Thu, 30 Sep 1999 19:47:33 +0000 (19:47 +0000)]
CW Pro 5 projects.

25 years agoPatches by Jack Jansen: new type OptionalInBuffer allows
Guido van Rossum [Thu, 30 Sep 1999 14:15:14 +0000 (14:15 +0000)]
Patches by Jack Jansen: new type OptionalInBuffer allows
passing either a string/input buffer or None.

25 years agoPatch by Jack Jansen to add with_ifdef option, which places #ifndef
Guido van Rossum [Thu, 30 Sep 1999 14:12:44 +0000 (14:12 +0000)]
Patch by Jack Jansen to add with_ifdef option, which places #ifndef
around external decls.

25 years agoAdded module "ce" to list of modules known not to exist on the mac.
Jack Jansen [Thu, 30 Sep 1999 11:21:24 +0000 (11:21 +0000)]
Added module "ce" to list of modules known not to exist on the mac.

25 years agoBigger buffer size for C profiler (if profiling is enabled).
Jack Jansen [Thu, 30 Sep 1999 11:20:11 +0000 (11:20 +0000)]
Bigger buffer size for C profiler (if profiling is enabled).

25 years agoOptimization: don't try to get a tabsize resource if we know the file
Jack Jansen [Thu, 30 Sep 1999 11:19:16 +0000 (11:19 +0000)]
Optimization: don't try to get a tabsize resource if we know the file
doesn't have one (stdin and such), OpenRF appears to be an expensive call.

25 years agoRegenerated, no significant diferences.
Jack Jansen [Thu, 30 Sep 1999 11:17:15 +0000 (11:17 +0000)]
Regenerated, no significant diferences.

25 years agoMake macglue.h C++ compatible.
Jack Jansen [Thu, 30 Sep 1999 11:14:49 +0000 (11:14 +0000)]
Make macglue.h C++ compatible.

25 years agoDistribution files for 1.5.1c1.
Jack Jansen [Thu, 30 Sep 1999 11:13:31 +0000 (11:13 +0000)]
Distribution files for 1.5.1c1.

25 years ago1.5.2c1 version.
Jack Jansen [Thu, 30 Sep 1999 11:12:13 +0000 (11:12 +0000)]
1.5.2c1 version.

25 years agoDuncan Grisby noted a typo in _DummyThread.
Guido van Rossum [Wed, 29 Sep 1999 15:26:52 +0000 (15:26 +0000)]
Duncan Grisby noted a typo in _DummyThread.

25 years agoAdded 'list_only' option (and modified 'run()' to respect it).
Greg Ward [Wed, 29 Sep 1999 13:14:27 +0000 (13:14 +0000)]
Added 'list_only' option (and modified 'run()' to respect it).

25 years agoAdded all documentation.
Greg Ward [Wed, 29 Sep 1999 13:03:32 +0000 (13:03 +0000)]
Added all documentation.
Slightly improved the code for dealing with newline on a comment line,
  and for stripping whitespace.

25 years agoNew command to generate source distribution based on a manifest file.
Greg Ward [Wed, 29 Sep 1999 12:50:13 +0000 (12:50 +0000)]
New command to generate source distribution based on a manifest file.

25 years agoAdded 'package' option.
Greg Ward [Wed, 29 Sep 1999 12:49:35 +0000 (12:49 +0000)]
Added 'package' option.
Catch up with renamed 'platdir' -> 'build_platlib' option in 'build'.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
  guaranteed to be taken care of for us by the Distribution instance.
If 'include_dirs' is a string, split it on os.pathsep (this is half-
  hearted -- support for setting compile/link options on the command
  line is totally lame and probably won't work at all).
Added 'get_source_files()' for use by 'dist' command.
Added code to 'build_extensions()' to figure out the "def file" to use
  with MSVC++ and add it to the linker command line as an "extra_postarg".

25 years agoRenamed 'dir' option to be consistent with other commands.
Greg Ward [Wed, 29 Sep 1999 12:44:57 +0000 (12:44 +0000)]
Renamed 'dir' option to be consistent with other commands.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
  guaranteed to be taken care of for us by the Distribution instance.
Rearranged to bit to allow outsiders (specifically, the 'dist' command)
  to find out what modules we would build:
  - 'find_modules()' renamed to 'find_package_modules()'
  - most of 'build_modules()' abstracted out to 'find_modules()'
  - added 'get_source_files()' (for the 'dist' command to use)
  - drastically simplified 'build_modules()' -- now just a wrapper around
    'find_modules()' and 'build_module()'

25 years agoRenamed many options to be consistent across commands.
Greg Ward [Wed, 29 Sep 1999 12:38:18 +0000 (12:38 +0000)]
Renamed many options to be consistent across commands.
Tweaked some help strings to be consistent with documentation.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
  guaranteed to be taken care of for us by the Distribution instance.

25 years agoCatch up with latest changes in CCompiler:
Greg Ward [Wed, 29 Sep 1999 12:29:10 +0000 (12:29 +0000)]
Catch up with latest changes in CCompiler:
  - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
  - got rid of 'build_info' kludge parameter
  - added 'compiler_type' class attribute
  - respect reordered arguments to 'gen_lib_options()'
Also added 'output_dir' parameter (catching up with older change in
  CCompiler) -- BUT this is presently ignored by all methods!
Deleted some more docstrings redundant with CCompiler.
Dropped generated of "/DEF:" argument --- that's now done by
  the 'build_ext' command.

25 years agoCatch up with latest changes in CCompiler:
Greg Ward [Wed, 29 Sep 1999 12:22:50 +0000 (12:22 +0000)]
Catch up with latest changes in CCompiler:
  - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
  - added 'compiler_type' class attribute
  - respect reordered arguments to 'gen_lib_options()'

25 years agoAdded 'extra_preargs' and 'extra_postargs' parameters to most methods,
Greg Ward [Wed, 29 Sep 1999 12:20:55 +0000 (12:20 +0000)]
Added 'extra_preargs' and 'extra_postargs' parameters to most methods,
  which allowed us to get rid of the 'build_info' used in some places
  (a temporary kludge to support MSVC++ "def" files).
Deleted big comment whining about that kludge.
Added 'compiler_type' class attribute.
Overhauled 'new_compiler()': now takes 'compiler' argument along with
  'plat' (both optional with sensible defaults), and looks them both up
  in the new 'default_compiler' and 'compiler_class' dictionaries to
  figure out where to get the concrete compiler class from.
Reordered arguments to 'gen_lib_options()' to match the order in
  which the arguments are generated (ie. -L before -l).

25 years agoMore tweaks to 'mkpath()':
Greg Ward [Wed, 29 Sep 1999 12:14:16 +0000 (12:14 +0000)]
More tweaks to 'mkpath()':
  - deal with empty tail from os.path.split() (eg. from trailing slash,
    or backslash, or whatever)
  - check PATH_CREATED hash inside loop as well

25 years agoAdded 'ready' flag and 'ensure_ready()' method to Command: together
Greg Ward [Wed, 29 Sep 1999 12:12:19 +0000 (12:12 +0000)]
Added 'ready' flag and 'ensure_ready()' method to Command: together
  they make sure that 'set_final_options()' has been called, but isn't
  called redundantly.
Changed Distribution to call 'ensure_ready()' where it used to call
  'set_final_options()', and in a few extra places as well.
Lots of comment/docstring revisions and additions in both classes.
New one-liner utility methods in Command: 'find_peer()', 'spawn()'.

25 years agoPatch by Tim Peters fixing PR#88:
Guido van Rossum [Mon, 27 Sep 1999 17:12:47 +0000 (17:12 +0000)]
Patch by Tim Peters fixing PR#88:

Integer division can crash under Windows.

25 years agoPatch by Tim Peters fixing PR#89:
Guido van Rossum [Mon, 27 Sep 1999 17:11:52 +0000 (17:11 +0000)]
Patch by Tim Peters fixing PR#89:

long(+/- infinity) returns nonsense.

25 years agoInitial checkin of IDE scripts. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:25:06 +0000 (12:25 +0000)]
Initial checkin of IDE scripts. (jvr)

25 years agoAdded support for global default font settings. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:21:32 +0000 (12:21 +0000)]
Added support for global default font settings. (jvr)

25 years ago1) added "typingcasesens" keyword arg to constructor, and support for case sensitive...
Just van Rossum [Sun, 26 Sep 1999 12:20:08 +0000 (12:20 +0000)]
1) added "typingcasesens" keyword arg to constructor, and support for case sensitive typing in lists.
2) minor cleanups
(jvr)

25 years agoadded do_setwindowfont() menu callback: brings up a font selection dialog. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:18:19 +0000 (12:18 +0000)]
added do_setwindowfont() menu callback: brings up a font selection dialog. (jvr)

25 years agoadded getdefaultfont() function. Returns default font settings. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:17:04 +0000 (12:17 +0000)]
added getdefaultfont() function. Returns default font settings. (jvr)

25 years ago1 - added "set default window font" menu
Just van Rossum [Sun, 26 Sep 1999 12:16:22 +0000 (12:16 +0000)]
1 - added "set default window font" menu
2 - updated scripts folder location
(jvr)

25 years agominor cleanup, avoiding rare traceback (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:11:50 +0000 (12:11 +0000)]
minor cleanup, avoiding rare traceback (jvr)

25 years ago"make clobber" should remove modindex.html as well.
Fred Drake [Fri, 24 Sep 1999 13:51:19 +0000 (13:51 +0000)]
"make clobber" should remove modindex.html as well.

Added realclean and distclean as synonyms for clobber.

25 years agoicons/ should not be ignored here now that this is it's real home.
Fred Drake [Fri, 24 Sep 1999 13:48:38 +0000 (13:48 +0000)]
icons/ should not be ignored here now that this is it's real home.

25 years agoAdded --about option to specify the file to load "About this
Fred Drake [Thu, 23 Sep 1999 16:55:09 +0000 (16:55 +0000)]
Added --about option to specify the file to load "About this
document..." text from, defaulting to ../html/about.dat.

25 years agoTell mkhowto to use stdabout.dat for the documents it processes here.
Fred Drake [Thu, 23 Sep 1999 16:54:06 +0000 (16:54 +0000)]
Tell mkhowto to use stdabout.dat for the documents it processes here.

25 years agoRemove some <SPAN> elements that were used only to carry a CLASS
Fred Drake [Thu, 23 Sep 1999 16:53:09 +0000 (16:53 +0000)]
Remove some <SPAN> elements that were used only to carry a CLASS
attribute; stick the CLASS on an existing element.

Use a variable for the name of the file to get "About this
document..." text from.

25 years agoRemove the "Comments and Questions" section, allowing this to be used
Fred Drake [Thu, 23 Sep 1999 16:48:54 +0000 (16:48 +0000)]
Remove the "Comments and Questions" section, allowing this to be used
for non-standard Python documentation.

25 years agoVersion of about.dat that should only be used for the standard
Fred Drake [Thu, 23 Sep 1999 16:48:05 +0000 (16:48 +0000)]
Version of about.dat that should only be used for the standard
documentation.

25 years agoRemove some <SPAN> elements that were used only to carry a CLASS
Fred Drake [Thu, 23 Sep 1999 16:45:08 +0000 (16:45 +0000)]
Remove some <SPAN> elements that were used only to carry a CLASS
attribute; stick the CLASS on an existing element.

25 years agoOops, missed this one!
Fred Drake [Thu, 23 Sep 1999 15:38:14 +0000 (15:38 +0000)]
Oops, missed this one!

25 years agoimg_tag(): Tighten up the generated SRC attribute a bit; if the image
Fred Drake [Thu, 23 Sep 1999 15:29:45 +0000 (15:29 +0000)]
img_tag():  Tighten up the generated SRC attribute a bit; if the image
            relative URL starts with "./", remove "./".

25 years agodo_cmd_rfc(): Simplify the generated markup.
Fred Drake [Wed, 22 Sep 1999 19:58:51 +0000 (19:58 +0000)]
do_cmd_rfc():  Simplify the generated markup.

25 years agoAdded --image-type option to allow use of either GIF or PNG images.
Fred Drake [Wed, 22 Sep 1999 19:55:35 +0000 (19:55 +0000)]
Added --image-type option to allow use of either GIF or PNG images.

Job.warning():  New method; use this instead of writing to sys.stderr
                directly.  Ensures warnings are also sent to the log
                file.

Job.log():  New method; write a message to the log file.  Use from
            .message() and .warning().

25 years agoSome updates to allow ../tools/mkhowto to add various bits to the
Fred Drake [Wed, 22 Sep 1999 19:50:51 +0000 (19:50 +0000)]
Some updates to allow ../tools/mkhowto to add various bits to the
supplemental l2h initialization file it creates and still get all the
right behavior.  In particular, it can change the image type and icon
location and not get inconsistent results.

Some code to help suppress various navigational pages; this might be
interesting when generating HTML to create HTML Help documents, since
the navigation support creates confusing hits in the full text
search.  HTML Help also provides a lot of the navigational
infrastructure, so duplicating it makes it more tedious to use.

25 years agomain(): wrap the device.setinfo() call around an exception handler.
Barry Warsaw [Wed, 22 Sep 1999 15:45:51 +0000 (15:45 +0000)]
main(): wrap the device.setinfo() call around an exception handler.
It's possible to get a sunaudiodev.error (errno == EINVAL), although
I'm not exactly sure why, this at least won't crash the application.

25 years agoAdded docstring and RCS id (apparently some Windows tar extractors
Greg Ward [Wed, 22 Sep 1999 15:24:04 +0000 (15:24 +0000)]
Added docstring and RCS id (apparently some Windows tar extractors
ignore zero-byte files: grr...).

25 years agoPNG version of the icons, converted from the GIFs
Fred Drake [Wed, 22 Sep 1999 14:38:25 +0000 (14:38 +0000)]
PNG version of the icons, converted from the GIFs
by Michael Hudson <mwh21@cam.ac.uk>.

25 years agoDitched the whole notion of "alias options": this meant dropping the
Greg Ward [Tue, 21 Sep 1999 18:41:36 +0000 (18:41 +0000)]
Ditched the whole notion of "alias options": this meant dropping the
  'alias_options' table and getting rid of some hairy code in the
  Distribution constructor.
Resurrected the distribution options that describe the modules present
  in the module distribution ('py_modules', 'ext_modules'), and added
  a bunch more: 'packages', 'package_dir', 'ext_package', 'include_dirs',
  'install_path'.
Updated some comments.
Added 'warn()' method to Command.
'Command.get_command_name()' now stores generated command name in
  self.command_name.

25 years agoAdded 'write_file()' function.
Greg Ward [Tue, 21 Sep 1999 18:37:51 +0000 (18:37 +0000)]
Added 'write_file()' function.
Added global cache PATH_CREATED used by 'mkpath()' to ensure it doesn't
  try to create the same path more than once in a session (and, more
  importantly, to ensure that it doesn't print "creating X" more than
  once for each X per session!).

25 years agoIn 'link_shared_object()', try to be less sensitive to missing input files
Greg Ward [Tue, 21 Sep 1999 18:36:15 +0000 (18:36 +0000)]
In 'link_shared_object()', try to be less sensitive to missing input files
in dry-run mode.

25 years agoTypecheck elements of 'macros' parameter in 'gen_preprocess_options().
Greg Ward [Tue, 21 Sep 1999 18:35:09 +0000 (18:35 +0000)]
Typecheck elements of 'macros' parameter in 'gen_preprocess_options().