summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Document GetoptError and label error an alias.Fred Drake1999-12-211-2/+9
|
* Contribution from Gerrit Holl:Guido van Rossum1999-12-211-8/+26
| | | | | | | | | 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.]
* Document 1.5.2+ aspects of the NotANumber exception. (Note that thisFred Drake1999-12-211-2/+5
| | | | is in the development branch, not the maintenance branch!)
* Document that the |mode| parameter to open() is optional and explain howFred Drake1999-12-212-10/+14
| | | | the default value is determined.
* Vladimir Marangozov:Guido van Rossum1999-12-211-1/+1
| | | | | | 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".
* Added setargv.obj to the link link.Guido van Rossum1999-12-201-2/+2
| | | | This causes * etc. on the command line to be expanded, link on Unix.
* Add dynload_win.c to project.Guido van Rossum1999-12-201-7/+4
|
* Add HAVE_DYNAMIC_LOADING.Guido van Rossum1999-12-201-0/+4
| | | | Define Py_DEBUG when compiling in debug mode. (Is that a good idea?)
* For Windows, need to add #include <windows.h>.Guido van Rossum1999-12-201-0/+1
|
* Fix typo in docstring: wbites -> wbitsAndrew M. Kuchling1999-12-201-1/+1
|
* Changes to auto-detect the correct dynload_<platform>.c file.Guido van Rossum1999-12-202-105/+223
| | | | | | NOTE: Windows, Mac and OS/2 build procedures must be adapted manually! This is part of a set of patches by Greg Stein.
* Add line for HAVE_DYNAMIC_LOADING (result of editing acconfig.h).Guido van Rossum1999-12-201-0/+3
| | | | This is part of a set of patches by Greg Stein.
* Define HAVE_DYNAMIC_LOADING.Guido van Rossum1999-12-201-0/+3
| | | | This is part of a set of patches by Greg Stein.
* Support for selecting the correct dynload_<platform>.c file.Guido van Rossum1999-12-201-0/+12
| | | | This is part of a set of patches by Greg Stein.
* In _PyImport_Init(), dynamically construct the table of legal suffixesGuido van Rossum1999-12-201-5/+33
| | | | | | | 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.
* Some rearrangements for the importdl.c restructuring.Guido van Rossum1999-12-201-2/+27
| | | | This is part of a set of patches by Greg Stein.
* Moved most of the platform-specific code to dynload_<platform>.c files.Guido van Rossum1999-12-201-1029/+26
| | | | | | (A few nite remain, these will probably disappear soon.) This is part of a set of patches by Greg Stein.
* The old platform-specific contents of importdl.c, broken down into oneGuido van Rossum1999-12-2010-0/+1347
| | | | | | | 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.
* The cleanup code in com-init() at label fail_0000 should removeGuido van Rossum1999-12-201-1/+1
| | | | c_varnames, not c_lnotab.
* Support keys that have a Handle as parameter, by using the new ↵Jack Jansen1999-12-191-0/+21
| | | | GetControlDataHandle and SetControlDataHandle methods.
* Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData forJack Jansen1999-12-192-1/+148
| | | | keys that expect a Handle, and have a ResObj as parameter.
* StandardFile compatability routines. For the time being calling ↵Jack Jansen1999-12-181-0/+130
| | | | | | macfsn._install() will install these in macfs (if Navigation is available).
* Increase applet minimal memory size by a megabyte.Jack Jansen1999-12-181-0/+0
|
* Added a line about passing None as eventProc to the docstring to get movableJack Jansen1999-12-171-0/+1
| | | | dialogs.
* PyMac_BuildOptStr255 and PyMac_BuildFSSpec added to exports.Jack Jansen1999-12-172-36/+50
|
* Added PyMac_BuildOptStr255, which returns None on a null pointer.Jack Jansen1999-12-172-0/+15
|
* Finished (I think), but only very lightly tested. Should now have full ↵Jack Jansen1999-12-171-104/+413
| | | | | | interface: all calls, callbacks, arguments, etc. Also added docstrings.
* Project for Nav module.Jack Jansen1999-12-172-0/+1
|
* Added NavJack Jansen1999-12-161-0/+0
|
* Allow keyword arguments, and the dialog is now actually shown. No way toJack Jansen1999-12-161-29/+53
| | | | get at the result yet, though:-)
* Added Nav moduleJack Jansen1999-12-161-0/+2
|
* Patch and new file by Geoff Furnish for C++ compilation.Guido van Rossum1999-12-162-2/+17
|
* Patch by Geoff Furnish to make compiling with C++ more gentle.Guido van Rossum1999-12-162-284/+362
| | | | (The configure script is regenerated, not from his patch.)
* Regenerated after new acconfig.h.Guido van Rossum1999-12-161-0/+3
|
* Correct stupid typo (HAVE_GETHOSTBTNAME).Guido van Rossum1999-12-161-1/+1
|
* Navigation Services module. Started from scratch, as Joe's module exported ↵Jack Jansen1999-12-161-0/+618
| | | | too little for my needs.
* When emitting a command-line error message, *say* it's an error.Greg Ward1999-12-161-1/+1
|
* Catch errors from 'rmtree' and emit a warning.Greg Ward1999-12-161-2/+10
|
* Document getgroups(), getlogin(), fpathconf(), pathconf(),Fred Drake1999-12-151-1/+107
| | | | pathconf_names, confstr(), confstr_names, sysconf(), sysconf_names.
* Rip out the code to check the ordering of the tables used to mapFred Drake1999-12-151-31/+65
| | | | | | | | | | | | strings to integers for the *conf*() functions. Added code to sort the tables at module initialization. Three dictionaries, confstr_names, sysconf_names, and pathconf_names, are added to the module as well. These map known configuration setting names to the numeric value which is used to represent the setting in the system call. This code is always called. Updated related comments.
* Fixed menu glyph stuff.Jack Jansen1999-12-151-15/+10
| | | | Use MenuEvent in stead of MenuKey.
* Added kind resources (in US-english and dutch, sigh).Jack Jansen1999-12-151-0/+0
|
* Added table entries for Irix 6.5 names for confstr()/sysconf()/Fred Drake1999-12-151-0/+174
| | | | | | | | pathconf() names, from Sjoerd. Added code to verify that these tables are properly ordered, only included and used when CHECK_CONFNAME_TABLES is defined. This is only needed to test the tables, so I haven't enabled this by default.
* Fixed buglet in Application.do_suspendresume(), it took the wrong flag to ↵Just van Rossum1999-12-151-1/+1
| | | | determine suspend/resume -- jvr
* do_strip(): Fixed cut-and-paste error; this function should check forBarry Warsaw1999-12-151-3/+1
| | | | zero arguments (found by Marc Lemburg).
* Only set msg.fp to None when there are no extra arguments; if thereGuido van Rossum1999-12-141-1/+2
| | | | are, we must keep the file around so we can print the body.
* Added support for getlogin(); does *not* use getlogin_r() whereFred Drake1999-12-141-44/+73
| | | | | | | | | | | | | | | available since the interface is poorly defined on at least one major platform (Solaris). Moved table of constant names for fpathconf() & pathconf() into the conditional that defines the conv_path_confname() helper; Mark Hammond reported that defining the table when none of the constants were defined causes the compiler to complain (won't allow 0-length array, imagine that!). In posix_fpathconf(), use conv_path_confname() as the O& conversion function, instead of the conv_confname() helper, which has the wrong signature (posix_pathconf() already used the right thing).
* Remove test for getlogin_r(); the interface is not clearly defined, atFred Drake1999-12-143-125/+120
| | | | | | | | least on Solaris (sometimes it's Unix98, sometimes it conforms to an early draft). Properly generate config.h.in using autoheader instead of editing it manually; thanks, Guido!
* Added detection of getlogin() and getlogin_r().Fred Drake1999-12-143-106/+114
|
* Bgen now understands more constant definitions, but that means that a few ↵Jack Jansen1999-12-147-2/+32
| | | | which are not parseable in Python have to be blacklisted.