Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mass ANSIfication of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 1 | -4/+1 |
| | | | | declarations yet, those come later. | ||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Cleanup patches from Greg Stein: | Guido van Rossum | 1999-12-22 | 1 | -65/+13 |
| | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Moved most of the platform-specific code to dynload_<platform>.c files. | Guido van Rossum | 1999-12-20 | 1 | -1029/+26 |
| | | | | | | (A few nite remain, these will probably disappear soon.) This is part of a set of patches by Greg Stein. | ||||
* | Patch by Vladimir Marangozov, inspired by a bug report from Gary | Guido van Rossum | 1999-11-16 | 1 | -1/+7 |
| | | | | | | | Duzan, for AIX, to support C++ objects with static initializers, when using the genuine IBM C++ compiler (namely xlC/xlC_r). See accompanying patches to configure.in and acconfig.h. | ||||
* | Vladimir Marangozov fixes an AIX-specific problem, writing: | Guido van Rossum | 1999-08-04 | 1 | -4/+7 |
| | | | | | | | | | | | | | """ Following up Robin Dunn's troubles with freeze, here's a patch that fixes an oddity regarding the import logic of shared modules on AIX. Symbol resolution of shared modules is now handled properly for the cases when the python library is linked to a binary with an arbitrary name. This includes the standard python[version] executable, but also applications that are embedding the python core (i.e. linked with libpython[version].a, the latter being static or shared). """ | ||||
* | Patches by William Lewis for Nextstep descendants. | Guido van Rossum | 1999-01-27 | 1 | -4/+71 |
| | |||||
* | Ty Sarna writes: | Guido van Rossum | 1999-01-07 | 1 | -1/+1 |
| | | | | | | | | | The following patches (relative to 1.5.2b1) enable Python dynamic loading to work on NetBSD platforms that use ELF (presnetly mips and alpha systems). They automaticly determine wether the system is ELF or a.out rather than using astatic list of platforms so that when other NetBSD platforms move to ELF, python will continue to work without change. | ||||
* | Chris Herborth writes: | Guido van Rossum | 1999-01-04 | 1 | -38/+4 |
| | | | | Donn Cave tells me the PyImport_BeImageID() function isn't needed anymore. | ||||
* | Thanks to Chris Herborth, the thread primitives now have proper Py* | Guido van Rossum | 1998-12-21 | 1 | -1/+1 |
| | | | | | names in the source code (they already had those for the linker, through some smart macros; but the source still had the old, un-Py names). | ||||
* | Replace fprintf(stderr, ...) with PySys_WriteStderr(...). | Guido van Rossum | 1998-10-12 | 1 | -1/+1 |
| | |||||
* | On Win32, use | Guido van Rossum | 1998-10-08 | 1 | -1/+4 |
| | | | | | LoadLibraryEx(pathname, NULL, LOAD_WITH_ALTERED_SEARCH_PATH) to search dependent DLLs in the directory of the pathname. | ||||
* | Renamed thread.h to pythread.h. | Guido van Rossum | 1998-10-01 | 1 | -15/+15 |
| | | | | (Also removed whitespace after # in some BEOS related cpp directives.) | ||||
* | In FreeBSD when using ELF, an underscore is needed in front of the | Guido van Rossum | 1998-09-30 | 1 | -1/+1 |
| | | | | function name. (Vladimir Kushnir by way of Thomas Gellekum.) | ||||
* | Mac-specific mod to enable aliases on import paths. | Guido van Rossum | 1998-09-14 | 1 | -0/+9 |
| | | | | (Jack Jansen and/or Just van Rossum) | ||||
* | Ted Horst writes in psa-members@python.org: | Guido van Rossum | 1998-08-24 | 1 | -0/+41 |
| | | | | | | This is a patch that Bill Bummgarner did for 1.4 that hasn't made its way into the distribution yet. This is important if you want to use the ObjC module. | ||||
* | Changes for BeOS, QNX and long long, by Chris Herborth. | Guido van Rossum | 1998-08-04 | 1 | -0/+285 |
| | |||||
* | Reindented some OS/2 and hpux code that looked ugly or at least | Guido van Rossum | 1998-07-08 | 1 | -29/+28 |
| | | | | inconsistent. | ||||
* | Windows-specific hack to make sure that when LoadLibrary() is called, | Guido van Rossum | 1998-06-27 | 1 | -0/+22 |
| | | | | | | the filename contains at least a rudimentary pathname. (The bad part is that we need to call getcwd() because only a prefix of ".\\" is not enough -- we prefix the drive letter.) | ||||
* | Remove use of RTLD_GLOBAL. | Guido van Rossum | 1998-05-18 | 1 | -6/+4 |
| | |||||
* | In debug mode on MS Windows, DLLs are called foo_d.pyd or foo_d.dll. | Guido van Rossum | 1998-05-15 | 1 | -0/+5 |
| | |||||
* | Support for OpenBSD :-( | Guido van Rossum | 1998-04-13 | 1 | -1/+1 |
| | |||||
* | Move #include <sys/param.h> to before osdefs.h (Donn Cave). | Guido van Rossum | 1998-04-10 | 1 | -4/+5 |
| | |||||
* | Protect PyErr_Format format string argument from overflow. | Guido van Rossum | 1998-01-19 | 1 | -1/+1 |
| | |||||
* | Better #ifdefs for NetBSD, taking into account that at least on netBSD | Guido van Rossum | 1998-01-19 | 1 | -3/+8 |
| | | | | | 1.3, dlopen() etc. are fully implemented, including dlerror(). From Jaromir Dolecek and Ty Sarna. | ||||
* | Add the flag RTLD_GLOBAL to the dlopen() options. | Guido van Rossum | 1997-12-02 | 1 | -3/+7 |
| | | | | | | | This exports symbols defined by the loaded extension to other extensions (loaded later). (I'm not quite sure about this but suppose it can't hurt...) | ||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -0/+38 |
| | |||||
* | Fix importing of shared libraries from inside packages. | Guido van Rossum | 1997-11-19 | 1 | -3/+16 |
| | | | | | | | | This is a bit of a hack: when the shared library is loaded, the module name is "package.module", but the module calls Py_InitModule*() with just "module" for the name. The shared library loader squirrels away the true name of the module in _Py_PackageContext, and Py_InitModule*() will substitute this (if the name actually matches). | ||||
* | Shared libraries didn't quite work under AIX because of the change in | Guido van Rossum | 1997-10-10 | 1 | -0/+11 |
| | | | | | status of the GNU readline interface. Here's a patch, by Vladimir Marangozov. | ||||
* | set sharedlib extensions properly for NeXT (Ted Horst) | Guido van Rossum | 1997-08-16 | 1 | -0/+2 |
| | |||||
* | The last of the mass checkins for separate (sub)interpreters. | Guido van Rossum | 1997-08-02 | 1 | -4/+10 |
| | | | | | | | Everything should now work again. See the comments for the .h files mass checkin (e.g. pystate.h) for more detail. | ||||
* | Removed some variables that are used to exchange data between import.c and | Guido van Rossum | 1997-07-21 | 1 | -9/+2 |
| | | | | | | | | importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and the modules dictionary is now passed using PyImport_GetModuleDict(). Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists but we don't want to use it. | ||||
* | One last rename glitch: import_modules -> _PyImport_Modules. | Guido van Rossum | 1997-05-14 | 1 | -1/+1 |
| | |||||
* | Remove 2 out of 3 __FreeBSD__ tests. | Guido van Rossum | 1997-05-05 | 1 | -2/+2 |
| | | | | | These are no longer needed as of FreeBSD 2.0.5, according to Thomas Gellekum <tg@ihf.rwth-aachen.de>. | ||||
* | Avoid some potential (though unlikely) sprintf buffer overflows. | Guido van Rossum | 1997-04-30 | 1 | -3/+6 |
| | |||||
* | Quickly renamed the remaining files -- this directory is done. | Guido van Rossum | 1997-04-29 | 1 | -66/+84 |
| | |||||
* | (Jack:) On the Mac, don't automatically enable dynamic loading. | Guido van Rossum | 1997-04-11 | 1 | -8/+0 |
| | |||||
* | Tweaks to keep the Microsoft compiler quier. | Guido van Rossum | 1997-04-09 | 1 | -0/+3 |
| | |||||
* | Some extra flags that an HPUX user wants me to add. | Guido van Rossum | 1996-12-05 | 1 | -2/+2 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Rationalized MS ifdefs | Guido van Rossum | 1996-09-11 | 1 | -15/+7 |
| | |||||
* | Don't require <dlfcn.h> -- rely on existence of dlopen(). | Guido van Rossum | 1996-08-20 | 1 | -1/+3 |
| | |||||
* | Many little fixes: | Guido van Rossum | 1996-08-19 | 1 | -3/+19 |
| | | | | | | | | - support for SCO_SV dynamic loading - on Mac, auto-detect dynamic loading by __CFM68K__ or _powerc) - on Mac, long shared library extension is .cfm68k.slb or .ppc.slb - on hp, don't redefine hpux if already defined - add __file__ property to successfully loaded module | ||||
* | Insert "./" in front of pathname when it contains no '/' (if USE_SHLIB) | Guido van Rossum | 1996-08-09 | 1 | -0/+6 |
| | |||||
* | Changes for AIX sharedlibs. | Guido van Rossum | 1996-07-31 | 1 | -14/+120 |
| | |||||
* | If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail. | Guido van Rossum | 1996-07-31 | 1 | -0/+4 |
| | |||||
* | Corrections to aix_loaderror(), by Manus Hand. | Guido van Rossum | 1996-06-26 | 1 | -5/+7 |
| | |||||
* | removed verbose decl; added win3.1 dynamic linking. | Guido van Rossum | 1996-05-23 | 1 | -3/+19 |
| | |||||
* | Under NT, change "long" sharedlib extension to ".dll". (Mark H.) | Guido van Rossum | 1996-04-09 | 1 | -1/+1 |
| |