summaryrefslogtreecommitdiff
path: root/Python/mactoolboxglue.c
AgeCommit message (Collapse)AuthorLines
2001-12-04More sprintf -> PyOS_snprintf.Tim Peters-1/+1
2001-11-05Make the CoreFoundation object _New and _Convert routines available to other ↵Jack Jansen-0/+22
modules. Idea by Donovan Preston, implementaion by me.
2001-10-31Link the core with CoreServices, not with Carbon, and don't use any CarbonJack Jansen-0/+8
routines. As of 10.1 using Carbon will crash Python if no window server is available (ssh connection, console mode, MacOSX Server). This fixes bug #466907. A result of this mod is that the default 8bit encoding on OSX is now ASCII, for the time being. Also, the extension modules that need the Carbon framework now explicitly include it in setup.py.
2001-09-10Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'Jack Jansen-1/+41
parameter for the return string (as unix pathnames are not limited by the 255 char pstring limit). Implemented the function for MachO-Python, where it returns unix pathnames.
2001-09-01Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef.Jack Jansen-0/+4
Moved the declarations to pymactoolbox.h.
2001-08-27Refer to the toolbox modules by their official name (Carbon.AE), not the ↵Jack Jansen-47/+47
internal name (_AE). This can slow things down (once) but it's the only way I can get things to work on OSX, OS9 dynamically loaded and OS9 frozen.
2001-08-23Mac toolbox modules have gotten an _ prepended to their name.Jack Jansen-46/+46
2001-08-08Got rid of unused includes.Jack Jansen-22/+2
2001-08-08Split macglue.c into two: a new mactoolboxglue.c (in ./Python)Jack Jansen-0/+430
with functionality needed for both unix-Python and MacPython and a new smaller ./Mac/Python/macglue.c which contains MacPython stuff only. pymactoolbox.h has moved to ./Include from ./Mac/Include and now also contains the relevant stuff from macglue.h. The net effect of this is that the ./Mac subdirectory is not needed anymore for building the unix-Python core on MacOSX (it is needed for building the extension modules).