]> granicus.if.org Git - python/log
python
24 years agoPatch from Joe Van Andel: fix arg to % operator in warning.
Greg Ward [Wed, 2 Feb 2000 00:07:14 +0000 (00:07 +0000)]
Patch from Joe Van Andel: fix arg to % operator in warning.

24 years agoComment fix.
Greg Ward [Wed, 2 Feb 2000 00:05:14 +0000 (00:05 +0000)]
Comment fix.
Always use normalized (with os.path.normpath()) versions of prefix and
  exec_prefix.

24 years agoSjoerd Mullender writes:
Guido van Rossum [Tue, 1 Feb 2000 23:36:55 +0000 (23:36 +0000)]
Sjoerd Mullender writes:

Fixed a TypeError: not enough arguments; expected 4, got 3.
When authentication is needed, the default http_error_401 method calls
retry_http_basic_auth.  The default version of that method expected a
data argument which wasn't provided, so now we provide the argument if
it was given and we also made the data argument optional.

Also changed other calls where data was optional to not pass data if
it was not passed to the calling method (in line with other similar
occurances).

24 years agoAdded docstring to crypt.crypt() based on the documentation.
Fred Drake [Tue, 1 Feb 2000 20:12:39 +0000 (20:12 +0000)]
Added docstring to crypt.crypt() based on the documentation.

24 years agoThe initialization of posix_putenv_garbage should only be done when it
Guido van Rossum [Mon, 31 Jan 2000 18:41:26 +0000 (18:41 +0000)]
The initialization of posix_putenv_garbage should only be done when it
is defined...

25 years agoAllow either README or README.txt as a "standard file".
Greg Ward [Sun, 30 Jan 2000 20:22:27 +0000 (20:22 +0000)]
Allow either README or README.txt as a "standard file".

25 years agoFixed broken list extend in 'copy_tree()'.
Greg Ward [Sun, 30 Jan 2000 19:57:48 +0000 (19:57 +0000)]
Fixed broken list extend in 'copy_tree()'.

25 years agoAdded 'description' class attribute to every command class (to help the
Greg Ward [Sun, 30 Jan 2000 18:34:15 +0000 (18:34 +0000)]
Added 'description' class attribute to every command class (to help the
  '--help-commands' option).
Shuffled imports around in a few command modules to avoid expensive
  up-front import of sysconfig (and resulting delays in generating list
  of all commands).

25 years agoAdded 'dist' command.
Greg Ward [Sun, 30 Jan 2000 18:31:34 +0000 (18:31 +0000)]
Added 'dist' command.

25 years agoImprovements to the help system:
Greg Ward [Sun, 30 Jan 2000 18:30:32 +0000 (18:30 +0000)]
Improvements to the help system:
  * "--help" can now come either before or after particular commands
    to get help on and can give help on multiple commands, eg.
    "--help install dist" gives help on those two commands
  * added "--help-commands" option, implemented by the 'print_commands()'
    and 'print_command_list()' methods

25 years agoAdded missing run of corresponding 'build' command.
Greg Ward [Sun, 30 Jan 2000 15:07:56 +0000 (15:07 +0000)]
Added missing run of corresponding 'build' command.

25 years agoBig oops: macfs has always been using a private exception but calling it mac.error.
Jack Jansen [Mon, 24 Jan 2000 10:37:59 +0000 (10:37 +0000)]
Big oops: macfs has always been using a private exception but calling it mac.error.
It now uses MacOS.Error (the OSErr valued error) and advertises that too. This
fix shouldn't break anything, I guess.

25 years agoHmm, the project wasn't a 5.3 file, despite the log msg. Now it is.
Jack Jansen [Mon, 24 Jan 2000 10:21:07 +0000 (10:21 +0000)]
Hmm, the project wasn't a 5.3 file, despite the log msg. Now it is.

25 years agoBuild the Nav module too.
Jack Jansen [Mon, 24 Jan 2000 10:15:59 +0000 (10:15 +0000)]
Build the Nav module too.

25 years agoIf there's an error in an fsspec argument raise MacOS.Error, not ValueError.
Jack Jansen [Mon, 24 Jan 2000 09:56:06 +0000 (09:56 +0000)]
If there's an error in an fsspec argument raise MacOS.Error, not ValueError.

25 years agoTrent Mick: Setup PC configuration so that MSDEV chooses the x86
Guido van Rossum [Fri, 21 Jan 2000 00:03:42 +0000 (00:03 +0000)]
Trent Mick: Setup PC configuration so that MSDEV chooses the x86
release project config as the default.

25 years agoDon't insert extra indentation before <title> elements.
Fred Drake [Thu, 20 Jan 2000 22:51:14 +0000 (22:51 +0000)]
Don't insert extra indentation before <title> elements.

25 years agoThe rest of the changes by Trent Mick and Dale Nagata for warning-free
Guido van Rossum [Thu, 20 Jan 2000 22:32:56 +0000 (22:32 +0000)]
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha.  Mostly added casts etc.

25 years agoFix some broken links.
Guido van Rossum [Thu, 20 Jan 2000 21:37:19 +0000 (21:37 +0000)]
Fix some broken links.

25 years agoChanges by Trent Mick (of ActiveState) and Dale Nagata to support
Guido van Rossum [Thu, 20 Jan 2000 21:31:41 +0000 (21:31 +0000)]
Changes by Trent Mick (of ActiveState) and Dale Nagata to support
building for NT Alpha as well as NT x86.

25 years agoTwo patches from Jack Jansen:
Guido van Rossum [Thu, 20 Jan 2000 20:49:28 +0000 (20:49 +0000)]
Two patches from Jack Jansen:

Three bgen mods:
- support for FSSpecs passed-by-value and points-passed-by-reference added.
- strip single-line comments when parsing header files
- if a definition is blacklisted _do_ output it, but in comment

25 years agoEXPERIMENTAL
Jeremy Hylton [Thu, 20 Jan 2000 18:19:08 +0000 (18:19 +0000)]
EXPERIMENTAL

An extensible library for opening URLs using a variety protocols.
Intended as a replacement for urllib.

25 years agoChange two occurrences of type(x) <> types.CodeType into
Guido van Rossum [Wed, 19 Jan 2000 21:57:30 +0000 (21:57 +0000)]
Change two occurrences of type(x) <> types.CodeType into
isinstance(x, types.CodeType).

Suggested by Finn Bock.

25 years agoMade all textfields in message and question boxes minimal height and invisible, and...
Jack Jansen [Tue, 18 Jan 2000 13:36:02 +0000 (13:36 +0000)]
Made all textfields in message and question boxes minimal height and invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction.

25 years agoFix indentation bug.
Greg Ward [Mon, 17 Jan 2000 21:58:07 +0000 (21:58 +0000)]
Fix indentation bug.

25 years agoCatch OSError from 'spawnv()' in '_spawn_nt()'.
Greg Ward [Mon, 17 Jan 2000 21:57:55 +0000 (21:57 +0000)]
Catch OSError from 'spawnv()' in '_spawn_nt()'.
Tweaked error messages in '_spawn_posix()'.

25 years agoRemoved /GD switch -- currently ignored by MSVC.
Greg Ward [Mon, 17 Jan 2000 21:57:17 +0000 (21:57 +0000)]
Removed /GD switch -- currently ignored by MSVC.

25 years agoAdded compiler flags suggested by Thomas Heller: optimize, use multi-threaded
Greg Ward [Mon, 17 Jan 2000 20:40:48 +0000 (20:40 +0000)]
Added compiler flags suggested by Thomas Heller: optimize, use multi-threaded
RT library.

25 years agoAdded missing import.
Greg Ward [Mon, 17 Jan 2000 20:23:34 +0000 (20:23 +0000)]
Added missing import.
Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist.

25 years agoAdded code to use Jim Ahlstrom's zipfile.py module if the external zip
Greg Ward [Mon, 17 Jan 2000 18:04:04 +0000 (18:04 +0000)]
Added code to use Jim Ahlstrom's zipfile.py module if the external zip
command wasn't found or failed.  (Code supplied by Thomas Heller
<thomas.heller@ion-tof.com>.)

25 years agoFix library filename methods -- there is no 'lib' prefix under DOS/Windows.
Greg Ward [Mon, 17 Jan 2000 18:00:04 +0000 (18:00 +0000)]
Fix library filename methods -- there is no 'lib' prefix under DOS/Windows.

25 years agoAlways run sys.prefix and sys.exec_prefix through 'os.path.normpath()'
Greg Ward [Mon, 17 Jan 2000 16:25:59 +0000 (16:25 +0000)]
Always run sys.prefix and sys.exec_prefix through 'os.path.normpath()'
before storing or using.

25 years agoDitch unneeded imports.
Greg Ward [Mon, 17 Jan 2000 16:25:17 +0000 (16:25 +0000)]
Ditch unneeded imports.

25 years agoFix by Nick Russo in processing of timezone in test program; the
Guido van Rossum [Mon, 17 Jan 2000 14:11:04 +0000 (14:11 +0000)]
Fix by Nick Russo in processing of timezone in test program; the
ParsedDate didn't have the correct day of week.

25 years agoAccording to Ron Bickers, and with apparent approval of Chris
Guido van Rossum [Fri, 14 Jan 2000 16:33:09 +0000 (16:33 +0000)]
According to Ron Bickers, and with apparent approval of Chris
Herborth, the code in list2set() that sets max unconditionally to 0
should not be used on BeOS.  So be it.  Anybody using BeOS, please
test!

25 years ago- Actually _implemented_ SetFolder()
Jack Jansen [Thu, 13 Jan 2000 16:26:35 +0000 (16:26 +0000)]
- Actually _implemented_ SetFolder()
- Fixed StandardPutFile: prompt, default
- Check explicitly for userCanceledErr, pass other Nav.error exceptions through.

25 years agoHandling of defaultLocation argument was wrong, causing a crash when used. Fixed.
Jack Jansen [Thu, 13 Jan 2000 16:24:32 +0000 (16:24 +0000)]
Handling of defaultLocation argument was wrong, causing a crash when used. Fixed.

25 years agoList objects obtained through as_List(resource) are not auto-disposed upon
Jack Jansen [Thu, 13 Jan 2000 16:23:39 +0000 (16:23 +0000)]
List objects obtained through as_List(resource) are not auto-disposed upon
Python object freeing.

25 years agoGet/set sys.path initializer in new appearance way.
Jack Jansen [Thu, 13 Jan 2000 16:22:12 +0000 (16:22 +0000)]
Get/set sys.path initializer in new appearance way.

25 years agoFix a bug in exec_statement() noted incidentally by Tim Peters in
Guido van Rossum [Wed, 12 Jan 2000 22:45:54 +0000 (22:45 +0000)]
Fix a bug in exec_statement() noted incidentally by Tim Peters in
PR#175 -- when exec is passed a code object, it didn't sync the locals
from the dictionary back into their fast representation.

Also took the time to remove some repetitive code there and to do the
syncing even when an exception is raised (since a partial effect
should still be synced).

25 years agoThe functions asctime() and mktime() are documented to take a 9-tuple
Guido van Rossum [Wed, 12 Jan 2000 16:38:20 +0000 (16:38 +0000)]
The functions asctime() and mktime() are documented to take a 9-tuple
only.  Through some mysterious interaction, they would take 9 separate
arguments as well.  This misfeature is now disabled (to end a
difference with JPython).

25 years agoOn Linux, one sometimes sees spurious errors after interrupting
Guido van Rossum [Wed, 12 Jan 2000 16:28:58 +0000 (16:28 +0000)]
On Linux, one sometimes sees spurious errors after interrupting
previous output.  Call clearerr() to prevent past errors affecting our
ferror() test later, in PyObject_Print().  Suggested by Marc Lemburg.

25 years ago'newer_group()' can now deal with missing files, in a way specified by
Greg Ward [Sun, 9 Jan 2000 22:48:59 +0000 (22:48 +0000)]
'newer_group()' can now deal with missing files, in a way specified by
the 'missing' parameter.

25 years agoAbstracted '_fix_link_args()' out of 'link_shared_object()'.
Greg Ward [Sun, 9 Jan 2000 22:47:53 +0000 (22:47 +0000)]
Abstracted '_fix_link_args()' out of 'link_shared_object()'.
Added 'link_static_lib()' method, and 'archiver' and 'archiver_options'
  class attributes to support it.
Added 'link_executable()' method, and 'ld_exec' instance attribute
  to support it.
'newer_group()' is now able to handle missing files, so we don't have
  to kludge it by catching OSError when calling it.
'object_filenames()' and 'shared_object_filename()' now take 'keep_dir'
  flag parameters.
'library_filename()' and 'shared_library_filename()' now respect
  a directory component in the library name.
Various comment updates/deletions.

25 years agoRemoved a bunch of irrelevant parameters from 'link_static_lib()' signature.
Greg Ward [Sun, 9 Jan 2000 22:41:02 +0000 (22:41 +0000)]
Removed a bunch of irrelevant parameters from 'link_static_lib()' signature.
Added 'link_executable()' signature.

25 years agoTypo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.
Greg Ward [Sun, 9 Jan 2000 22:39:32 +0000 (22:39 +0000)]
Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.

25 years agoTwo constants were missing.
Jack Jansen [Fri, 7 Jan 2000 14:55:40 +0000 (14:55 +0000)]
Two constants were missing.

25 years agoAdded initializer routine optionally to be used as PEF fragment initialization routin...
Jack Jansen [Fri, 7 Jan 2000 14:53:31 +0000 (14:53 +0000)]
Added initializer routine optionally to be used as PEF fragment initialization routine, which allows us to get at our own resource fork even if some shared library init routine opens other resource files.

25 years agoThe correct RFC to reference is RFC-1521 (MIME part one), not 1421 (PEM).
Guido van Rossum [Mon, 3 Jan 2000 15:44:40 +0000 (15:44 +0000)]
The correct RFC to reference is RFC-1521 (MIME part one), not 1421 (PEM).

25 years agoredesign/rebuild around the ImportManager concept.
Greg Stein [Mon, 3 Jan 2000 02:38:29 +0000 (02:38 +0000)]
redesign/rebuild around the ImportManager concept.

25 years agoCW Pro 5.3 projects.
Jack Jansen [Sat, 1 Jan 2000 23:20:39 +0000 (23:20 +0000)]
CW Pro 5.3 projects.

25 years agosetup_confname_table(): Use size_t instead of int for an index when
Fred Drake [Thu, 30 Dec 1999 18:05:43 +0000 (18:05 +0000)]
setup_confname_table():  Use size_t instead of int for an index when
        building the dicts used to inform the user about the defined
        constants when using the *conf*() APIs.

Thanks to Mark Hammond <mhammond@skippinet.com.au>.

25 years agoNasty error: handle parameters are passed by _address_ to SetControlData.
Jack Jansen [Wed, 29 Dec 1999 12:37:22 +0000 (12:37 +0000)]
Nasty error: handle parameters are passed by _address_ to SetControlData.

25 years agoRenamed USE_MAC_DYNAMIC_LOADING to HAVE_DYNAMIC_LOADING
Jack Jansen [Wed, 29 Dec 1999 12:33:52 +0000 (12:33 +0000)]
Renamed USE_MAC_DYNAMIC_LOADING to HAVE_DYNAMIC_LOADING

25 years agoModified for new dll import source organisation by Greg.
Jack Jansen [Fri, 24 Dec 1999 13:41:31 +0000 (13:41 +0000)]
Modified for new dll import source organisation by Greg.

25 years agoModified for appearance.
Jack Jansen [Fri, 24 Dec 1999 13:39:23 +0000 (13:39 +0000)]
Modified for appearance.

25 years agoOops, forgot & in ParseTuple argument in ControlGetDataHandle.
Jack Jansen [Thu, 23 Dec 1999 23:06:07 +0000 (23:06 +0000)]
Oops, forgot & in ParseTuple argument in ControlGetDataHandle.

25 years agoskip CVS folders when building the Scripts menu -- jvr
Just van Rossum [Thu, 23 Dec 1999 21:50:26 +0000 (21:50 +0000)]
skip CVS folders when building the Scripts menu -- jvr

25 years agoupdated copyright string
Just van Rossum [Thu, 23 Dec 1999 21:49:44 +0000 (21:49 +0000)]
updated copyright string

25 years agoImplement the other easy thing: repr() of a float now uses %.17g,
Guido van Rossum [Thu, 23 Dec 1999 19:00:28 +0000 (19:00 +0000)]
Implement the other easy thing: repr() of a float now uses %.17g,
while str() uses %.12g as before.

25 years agoAdded item about specific missing entries in the C API manual.
Fred Drake [Thu, 23 Dec 1999 17:22:13 +0000 (17:22 +0000)]
Added item about specific missing entries in the C API manual.

25 years agochanged the "method find" algorithm so the function/class/method popup menu also...
Just van Rossum [Thu, 23 Dec 1999 15:46:57 +0000 (15:46 +0000)]
changed the "method find" algorithm so the function/class/method popup menu also works with space-indented source files -- jvr

25 years agolong_format(): Now takes a third parameter, addL; iff true, a
Fred Drake [Thu, 23 Dec 1999 15:41:28 +0000 (15:41 +0000)]
long_format():  Now takes a third parameter, addL; iff true, a
                trailing 'L' is appended to the representation,
                otherwise not.

                All existing call sites are modified to pass true for
                addL.

                Remove incorrect statement about external use of this
                function from elsewhere; it's static!

long_str():     Handler for the tp_str slot in the type object.
                Identical to long_repr(), but passes false as the addL
                parameter of long_format().

25 years agoRevise tests to support str(<long int object>) not appending "L".
Fred Drake [Thu, 23 Dec 1999 15:36:42 +0000 (15:36 +0000)]
Revise tests to support str(<long int object>) not appending "L".

25 years agoAdded a reference to oldPICTbrowse.py.
Jack Jansen [Thu, 23 Dec 1999 14:45:41 +0000 (14:45 +0000)]
Added a reference to oldPICTbrowse.py.

25 years agoConverted to Appearance and using a List control in stead of manually creating the...
Jack Jansen [Thu, 23 Dec 1999 14:45:02 +0000 (14:45 +0000)]
Converted to Appearance and using a List control in stead of manually creating the List and putting it in a useritem. The old version is in oldPICTbrowse, for documentary purposes.

25 years agoPartially converted to Appearance, the dialog still has the old ugly layout and
Jack Jansen [Thu, 23 Dec 1999 14:34:07 +0000 (14:34 +0000)]
Partially converted to Appearance, the dialog still has the old ugly layout and
interaction.

25 years agoConverted to Appearance.
Jack Jansen [Thu, 23 Dec 1999 14:33:20 +0000 (14:33 +0000)]
Converted to Appearance.

25 years agoUnified handle-conversion scheme to
Jack Jansen [Thu, 23 Dec 1999 14:32:06 +0000 (14:32 +0000)]
Unified handle-conversion scheme to
  handle = Ctl.as_Resource(ctl)
  ctl = Ctl.as_Control(handle)
and similarly for List, Menu, TE. The old handle.as_Control() methods are
still there for backward compatability.

25 years agoAdjusted apply() docstring based on comments from Gerrit Holl
Fred Drake [Thu, 23 Dec 1999 14:16:55 +0000 (14:16 +0000)]
Adjusted apply() docstring based on comments from Gerrit Holl
<gerrit.holl@pobox.com>.

25 years agoDon't call len() if the value is already cached! Caught by Gerrit
Fred Drake [Wed, 22 Dec 1999 21:52:32 +0000 (21:52 +0000)]
Don't call len() if the value is already cached!  Caught by Gerrit
Holl <gerrit.holl@pobox.com>.

25 years agoFor ZlibError and ZLIB_VERSION, only attempt to add entry to the
Fred Drake [Wed, 22 Dec 1999 16:13:54 +0000 (16:13 +0000)]
For ZlibError and ZLIB_VERSION, only attempt to add entry to the
module dict if the inserted object isn't NULL (basic defensive
programming!).

25 years agoCleanup patches from Greg Stein:
Guido van Rossum [Wed, 22 Dec 1999 14:09:35 +0000 (14:09 +0000)]
Cleanup patches from Greg Stein:

* in import.c, #ifdef out references to dynamic loading based on
  HAVE_DYNAMIC_LOADING

* clean out the platform-specific crud from importdl.c.
  [ maybe fold this function into import.c and drop the importdl.c file? Greg.]

* change GetDynLoadFunc's "funcname" parameter to "shortname". change
  "name" to "fqname" for clarification.

* each GetDynLoadFunc now creates its own funcname value.

  WARNING: as I mentioned previously, we may run into an issue with a
  missing "_" on some platforms. Testing will show this pretty quickly,
  however.

* move pathname munging into dynload_shlib.c

25 years agoRemoved a couple of items that got done(!).
Fred Drake [Tue, 21 Dec 1999 23:02:38 +0000 (23:02 +0000)]
Removed a couple of items that got done(!).

Moved a couple to a new "Not worth it" section (explanations were
already there).

25 years agoDocument GetoptError and label error an alias.
Fred Drake [Tue, 21 Dec 1999 22:50:05 +0000 (22:50 +0000)]
Document GetoptError and label error an alias.

25 years agoContribution from Gerrit Holl:
Guido van Rossum [Tue, 21 Dec 1999 22:38:40 +0000 (22:38 +0000)]
Contribution from Gerrit Holl:

This patch changes the string-based exceptions to class-based
exceptions, so that you can fetch the unknown option as an
attribute.  As far as I know, it is backward compatible.

[The new exception class is called GetoptError; the name error is an
alias for compatibility.]

25 years agoDocument 1.5.2+ aspects of the NotANumber exception. (Note that this
Fred Drake [Tue, 21 Dec 1999 18:45:16 +0000 (18:45 +0000)]
Document 1.5.2+ aspects of the NotANumber exception.  (Note that this
is in the development branch, not the maintenance branch!)

25 years agoDocument that the |mode| parameter to open() is optional and explain how
Fred Drake [Tue, 21 Dec 1999 18:31:30 +0000 (18:31 +0000)]
Document that the |mode| parameter to open() is optional and explain how
the default value is determined.

25 years agoVladimir Marangozov:
Guido van Rossum [Tue, 21 Dec 1999 15:55:47 +0000 (15:55 +0000)]
Vladimir Marangozov:

Here's a patch that avoids a warning caused by the "const char* pathname"
declaration for _PyImport_GetDynLoadFunc (in dynload_aix). The "aix_load"
function's 1st arg is prototyped as "char *pathname".

25 years agoAdded setargv.obj to the link link.
Guido van Rossum [Mon, 20 Dec 1999 23:02:41 +0000 (23:02 +0000)]
Added setargv.obj to the link link.
This causes * etc. on the command line to be expanded, link on Unix.

25 years agoAdd dynload_win.c to project.
Guido van Rossum [Mon, 20 Dec 1999 23:00:10 +0000 (23:00 +0000)]
Add dynload_win.c to project.

25 years agoAdd HAVE_DYNAMIC_LOADING.
Guido van Rossum [Mon, 20 Dec 1999 22:57:41 +0000 (22:57 +0000)]
Add HAVE_DYNAMIC_LOADING.
Define Py_DEBUG when compiling in debug mode.  (Is that a good idea?)

25 years agoFor Windows, need to add #include <windows.h>.
Guido van Rossum [Mon, 20 Dec 1999 22:55:03 +0000 (22:55 +0000)]
For Windows, need to add #include <windows.h>.

25 years agoFix typo in docstring: wbites -> wbits
Andrew M. Kuchling [Mon, 20 Dec 1999 22:13:38 +0000 (22:13 +0000)]
Fix typo in docstring: wbites -> wbits

25 years agoChanges to auto-detect the correct dynload_<platform>.c file.
Guido van Rossum [Mon, 20 Dec 1999 21:27:22 +0000 (21:27 +0000)]
Changes to auto-detect the correct dynload_<platform>.c file.
NOTE: Windows, Mac and OS/2 build procedures must be adapted manually!

This is part of a set of patches by Greg Stein.

25 years agoAdd line for HAVE_DYNAMIC_LOADING (result of editing acconfig.h).
Guido van Rossum [Mon, 20 Dec 1999 21:25:59 +0000 (21:25 +0000)]
Add line for HAVE_DYNAMIC_LOADING (result of editing acconfig.h).

This is part of a set of patches by Greg Stein.

25 years agoDefine HAVE_DYNAMIC_LOADING.
Guido van Rossum [Mon, 20 Dec 1999 21:24:37 +0000 (21:24 +0000)]
Define HAVE_DYNAMIC_LOADING.

This is part of a set of patches by Greg Stein.

25 years agoSupport for selecting the correct dynload_<platform>.c file.
Guido van Rossum [Mon, 20 Dec 1999 21:24:09 +0000 (21:24 +0000)]
Support for selecting the correct dynload_<platform>.c file.

This is part of a set of patches by Greg Stein.

25 years agoIn _PyImport_Init(), dynamically construct the table of legal suffixes
Guido van Rossum [Mon, 20 Dec 1999 21:23:41 +0000 (21:23 +0000)]
In _PyImport_Init(), dynamically construct the table of legal suffixes
from two static tables (one standard, one provided by the platform's
dynload_*.c variant).

This is part of a set of patches by Greg Stein.

25 years agoSome rearrangements for the importdl.c restructuring.
Guido van Rossum [Mon, 20 Dec 1999 21:22:24 +0000 (21:22 +0000)]
Some rearrangements for the importdl.c restructuring.

This is part of a set of patches by Greg Stein.

25 years agoMoved most of the platform-specific code to dynload_<platform>.c files.
Guido van Rossum [Mon, 20 Dec 1999 21:20:42 +0000 (21:20 +0000)]
Moved most of the platform-specific code to dynload_<platform>.c files.
(A few nite remain, these will probably disappear soon.)

This is part of a set of patches by Greg Stein.

25 years agoThe old platform-specific contents of importdl.c, broken down into one
Guido van Rossum [Mon, 20 Dec 1999 21:18:49 +0000 (21:18 +0000)]
The old platform-specific contents of importdl.c, broken down into one
file per platform (really: per style of Dl API; e.g. all platforms
using dlopen() are grouped together in dynload_shlib.c.).

This is part of a set of patches by Greg Stein.

25 years agoThe cleanup code in com-init() at label fail_0000 should remove
Guido van Rossum [Mon, 20 Dec 1999 20:40:12 +0000 (20:40 +0000)]
The cleanup code in com-init() at label fail_0000 should remove
c_varnames, not c_lnotab.

25 years agoSupport keys that have a Handle as parameter, by using the new GetControlDataHandle...
Jack Jansen [Sun, 19 Dec 1999 00:06:52 +0000 (00:06 +0000)]
Support keys that have a Handle as parameter, by using the new GetControlDataHandle and SetControlDataHandle methods.

25 years agoAdded {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData for
Jack Jansen [Sun, 19 Dec 1999 00:05:50 +0000 (00:05 +0000)]
Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData for
keys that expect a Handle, and have a ResObj as parameter.

25 years agoStandardFile compatability routines. For the time being calling macfsn._install()
Jack Jansen [Sat, 18 Dec 1999 16:57:33 +0000 (16:57 +0000)]
StandardFile compatability routines. For the time being calling macfsn._install()
will install these in macfs (if Navigation is available).

25 years agoIncrease applet minimal memory size by a megabyte.
Jack Jansen [Sat, 18 Dec 1999 16:56:16 +0000 (16:56 +0000)]
Increase applet minimal memory size by a megabyte.

25 years agoAdded a line about passing None as eventProc to the docstring to get movable
Jack Jansen [Fri, 17 Dec 1999 23:01:44 +0000 (23:01 +0000)]
Added a line about passing None as eventProc to the docstring to get movable
dialogs.

25 years agoPyMac_BuildOptStr255 and PyMac_BuildFSSpec added to exports.
Jack Jansen [Fri, 17 Dec 1999 23:00:49 +0000 (23:00 +0000)]
PyMac_BuildOptStr255 and PyMac_BuildFSSpec added to exports.

25 years agoAdded PyMac_BuildOptStr255, which returns None on a null pointer.
Jack Jansen [Fri, 17 Dec 1999 17:15:50 +0000 (17:15 +0000)]
Added PyMac_BuildOptStr255, which returns None on a null pointer.