Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split macglue.c into two: a new mactoolboxglue.c (in ./Python) | Jack Jansen | 2001-08-08 | 1 | -376/+0 |
| | | | | | | | | | | | | 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). | ||||
* | Got rid of 68k-Mac and other outdated ifdefs. | Jack Jansen | 2001-08-07 | 3 | -26/+0 |
| | |||||
* | Bit the bullet and enabled garbage collection (finally). | Jack Jansen | 2001-08-07 | 1 | -1/+7 |
| | | | | Also updated pyconfig.h to the current state of pyconfig.h.in. | ||||
* | PyMac_GetFSSpec must be called via the dylib glue code on OSX. | Jack Jansen | 2001-08-03 | 1 | -0/+1 |
| | |||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 2 | -1/+6 |
| | |||||
* | config.h renamed to pyconfig.h | Jack Jansen | 2001-07-27 | 1 | -1/+1 |
| | |||||
* | Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh... | Jack Jansen | 2001-07-12 | 1 | -1/+1 |
| | |||||
* | Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs ↵ | Jack Jansen | 2001-07-08 | 1 | -61/+0 |
| | | | | | | | | and pathnames where applicable. PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue. These mods are untested on OSX. | ||||
* | Set the default 8-bit encoding based on the system script and language. | unknown | 2001-07-04 | 1 | -0/+2 |
| | |||||
* | Don't promise mac-japanese encoding as we don't have a codec for it. | unknown | 2001-07-04 | 1 | -1/+4 |
| | | | | Return a reasonable name for the general macos exception (MacOS.Error). | ||||
* | Fixed bug that prevented shared libs that are submodules of a | Just van Rossum | 2001-06-26 | 1 | -1/+1 |
| | | | | package to be loaded from a PYD resource. | ||||
* | Adapted for Universal Headers 3.4: refcon type has changed (sigh) and use ↵ | Jack Jansen | 2001-06-20 | 1 | -6/+12 |
| | | | | modern (UPP in stead of Proc) names for callback object creation. | ||||
* | removed a routine that has moved to macglue.c | Jack Jansen | 2001-05-22 | 1 | -21/+0 |
| | |||||
* | Fixed a nasty slowdown in imports in frozen applications: the shortcut | Jack Jansen | 2001-05-22 | 1 | -18/+32 |
| | | | | | | for loading modules from the application resource fork stopped working when sys.path component normalization was implemented. Comparison of sys.path components is now done by FSSpec in stead of by pathname. | ||||
* | Another include Carbon/Carbon.h | Jack Jansen | 2001-05-19 | 1 | -0/+4 |
| | |||||
* | Moved PyMac_GetFullPath from macgetargv.c to macglue.c. It should | Jack Jansen | 2001-05-19 | 2 | -40/+60 |
| | | | | have been there in the first place. | ||||
* | Merged mactoolboxglue.c into macglue.c. A later step will be to separate out | Jack Jansen | 2001-05-19 | 2 | -108/+106 |
| | | | | the stuff that is only needed on classic-MacOS. | ||||
* | Glue code to connect obj_New and obj_Convert routines (the PyArg_Parse and ↵ | Jack Jansen | 2001-05-17 | 1 | -0/+108 |
| | | | | Py_BuildTuple helpers) from one dynamically imported module to another. | ||||
* | Got the first MacPython module working under MacOSX/MachO (gestalt). Main ↵ | Jack Jansen | 2001-05-12 | 1 | -51/+41 |
| | | | | | | | | changes are including Carbon/Carbon.h in stead of the old headers (unless WITHOUT_FRAMEWORKS is defined, as it will be for classic MacPython) and selectively disabling all the stuff that is unneeded in a unix-Python (event handling, etc). | ||||
* | Be more sensible about when to use TARGET_API_MAC_OS8 in stead of ↵ | Jack Jansen | 2001-05-12 | 1 | -11/+11 |
| | | | | !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation. | ||||
* | - Raise console window on input. Fixes Carbon hang. | Jack Jansen | 2001-04-25 | 3 | -4/+32 |
| | | | | | - Better handling of menu bar save/restore. - Override abort() so it honours the "keep console window" flag. | ||||
* | Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not ↵ | Jack Jansen | 2001-02-28 | 1 | -0/+1 |
| | | | | sure why this wasn't a problem before... | ||||
* | Release a PYC resource after reading it. No need to keep it incore. | Jack Jansen | 2001-02-21 | 1 | -0/+2 |
| | |||||
* | More changes to attempt to get the menubar back on exit. Without success:-( | Jack Jansen | 2001-02-17 | 2 | -2/+14 |
| | |||||
* | Made version string shorter for Carbon so it fits on one line. | Jack Jansen | 2001-02-17 | 1 | -13/+5 |
| | |||||
* | Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵ | Jack Jansen | 2001-02-11 | 3 | -12/+258 |
| | | | | delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this. | ||||
* | On MacOSX StackSpace() may lie because it doesn't know about the stack ↵ | Jack Jansen | 2001-02-02 | 1 | -2/+19 |
| | | | | rlimit. For now we set a hard limit of 256K (default rlimit is 512K). | ||||
* | Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the ↵ | Jack Jansen | 2001-01-16 | 1 | -3/+3 |
| | | | | previous complicated expression. | ||||
* | Fixed Carbon command-dot handling. There is still a problem, though, and you ↵ | Jack Jansen | 2001-01-12 | 1 | -2/+2 |
| | | | | may have to hit it repeatedly. | ||||
* | Got rid of ifdefs to enable MacTCP GUSI support, Open Transport always works ↵ | Jack Jansen | 2001-01-12 | 1 | -4/+0 |
| | | | | fine nowadays. | ||||
* | When compiling for GUSI and Carbon disable te "keep open on unseen output", ↵ | Jack Jansen | 2001-01-11 | 1 | -2/+2 |
| | | | | for the time being. | ||||
* | Disabled a few other routines that are available in CarbonLib. | Jack Jansen | 2001-01-11 | 1 | -2/+4 |
| | |||||
* | FSSpec names may be longer on carbon (1024 chars), cater for that in buffer ↵ | Jack Jansen | 2001-01-09 | 1 | -2/+2 |
| | | | | sizes. | ||||
* | Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib. | Jack Jansen | 2001-01-09 | 1 | -0/+2 |
| | |||||
* | If we're not using GUSI the "keep open on unseen output" becomes the same as ↵ | Jack Jansen | 2001-01-09 | 1 | -0/+6 |
| | | | | "always keep open". | ||||
* | Added a c2pstrcpy() function. | Jack Jansen | 2000-12-12 | 1 | -0/+11 |
| | |||||
* | Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵ | Jack Jansen | 2000-10-19 | 1 | -0/+9 |
| | | | | window, i.e. it acts like input has been read insofar as the keep-console-open option is interested. | ||||
* | Made options global (as PyMac_options) so macosmodule can access it. | Jack Jansen | 2000-10-12 | 1 | -16/+16 |
| | |||||
* | Keepconsole is now a 4-way option: never/errorexit/unseen output/always. ↵ | Jack Jansen | 2000-09-22 | 1 | -11/+44 |
| | | | | Default is "unseen output". Upped the Popt version number. | ||||
* | PyOS_CheckStack now understands multiple threads. Other threads are not ↵ | Jack Jansen | 2000-09-08 | 1 | -2/+14 |
| | | | | stack-checked, but at least they don't appear to always be out of stack. | ||||
* | Use same short banner message as unix/win Python. | Jack Jansen | 2000-09-08 | 1 | -3/+7 |
| | |||||
* | Removed debug output. | Jack Jansen | 2000-08-25 | 1 | -3/+0 |
| | |||||
* | Cheaper implementation of PyOS_CheckStack: only call StackSpace once and ↵ | Jack Jansen | 2000-08-25 | 1 | -3/+6 |
| | | | | keep a sentinel in a static variable. | ||||
* | Removed temporary code to disable OT networking (this was a workaround for ↵ | Jack Jansen | 2000-08-17 | 1 | -1/+1 |
| | | | | getpeername() not working in a previous release of GUSI, but it has been fixed). | ||||
* | Removed temporary code that always set creator to SimpleText. | Jack Jansen | 2000-08-17 | 1 | -2/+7 |
| | |||||
* | Added more prototypes. | Jack Jansen | 2000-07-24 | 2 | -5/+9 |
| | |||||
* | Added PyMac_getscript() which returns the pythonic name of the current ↵ | Jack Jansen | 2000-07-24 | 1 | -0/+34 |
| | | | | script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund. | ||||
* | MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵ | Jack Jansen | 2000-07-18 | 1 | -1/+16 |
| | | | | (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name. | ||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 4 | -10/+10 |
| | |||||
* | include macdefs.h for declaration of getwd, if non-gusi python. | Jack Jansen | 2000-07-14 | 1 | -0/+1 |
| |