Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CGMainDisplayID() doesn't exist on 10.1, so don't try to call it when | Jack Jansen | 2004-06-02 | 1 | -0/+7 |
| | | | | building for that platform. | ||||
* | Got rid of macglue.h, replacing it by pymactoolbox.h where relevant. | Jack Jansen | 2003-11-20 | 1 | -2/+1 |
| | | | | Cleaned up various things in the toolbox modules. | ||||
* | Getting rid of code conditional on TARGET_API_MAC_*. | Jack Jansen | 2003-11-19 | 1 | -185/+1 |
| | |||||
* | WITHOUT_FRAMEWORKS conditional code bites the dust: this was for | Jack Jansen | 2003-11-19 | 1 | -8/+0 |
| | | | | pre-carbon MacOS9 support. | ||||
* | Getting rid of support for the ancient Apple MPW compiler. | Jack Jansen | 2003-11-19 | 1 | -5/+0 |
| | |||||
* | GetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted by | Jack Jansen | 2003-03-19 | 1 | -2/+2 |
| | | | | Just. | ||||
* | Added a linkmodel attribute, showing how Python was built. This is so | Jack Jansen | 2003-02-23 | 1 | -0/+13 |
| | | | | | | | | | packages can check that extension modules are built for the right type of python. Current values can be static, framework, shared and cfm (for completeness, for MacPyton-OS9). Closes bug #691889. The reporter suggests backporting this to 2.2.3 and I think I agree. | ||||
* | Added a method WMAvailable(). This will return True if and only if there | Jack Jansen | 2003-02-21 | 1 | -0/+43 |
| | | | | | | | is a window manager and we can connect to it, i.e. if it is safe to try and put up windows. As a side effect the first call will make the current process frontmost. | ||||
* | - Various tweaks to shut up compiler warnings. | Jack Jansen | 2002-12-23 | 1 | -1/+1 |
| | | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls. | ||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 1 | -48/+0 |
| | | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9). | ||||
* | staticforward bites the dust. | Jeremy Hylton | 2002-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation. | ||||
* | Replaced lots of PyMem_DEL() calls with PyObject_DEL(). | Jack Jansen | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | Got rid of obsolete appearance flag. | Jack Jansen | 2002-04-11 | 1 | -5/+0 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' | Jack Jansen | 2001-09-10 | 1 | -4/+8 |
| | | | | | | 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. | ||||
* | - Don't return mac-style pathnames in unix-Python. | Jack Jansen | 2001-08-08 | 1 | -38/+24 |
| | | | | | - Fixed up a lot more prototypes (gcc also wants them on static routines) - Fixed various other gcc warnings. | ||||
* | Ifdeffed a few more sections. All functionality that is relevant on MacOSX | Jack Jansen | 2001-05-19 | 1 | -4/+13 |
| | | | | now appears to work. | ||||
* | Include Carbon/Carbon.h in stead of universal headers, if appropriate. | Jack Jansen | 2001-05-19 | 1 | -1/+5 |
| | | | | | Test for TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON where appropriate. | ||||
* | Be more sensible about when to use TARGET_API_MAC_OS8 in stead of ↵ | Jack Jansen | 2001-05-12 | 1 | -4/+7 |
| | | | | !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation. | ||||
* | Added an attribute runtimemodel, which is either "ppc" or "carbon" and is ↵ | Jack Jansen | 2001-01-23 | 1 | -0/+9 |
| | | | | the runtime model of the current interpreter. Will have to ad another value later for real MacOSX MachO, I guess. | ||||
* | Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵ | Jack Jansen | 2000-10-19 | 1 | -0/+13 |
| | | | | window, i.e. it acts like input has been read insofar as the keep-console-open option is interested. | ||||
* | Added a method KeepConsole so programs can override the Keep console open ↵ | Jack Jansen | 2000-10-12 | 1 | -0/+16 |
| | | | | option. | ||||
* | Got rid of Py_FatalError calls. | Jack Jansen | 2000-09-08 | 1 | -4/+4 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -2/+2 |
| | |||||
* | Removed USE_STDWIN support. | Jack Jansen | 2000-06-04 | 1 | -58/+0 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 1 | -9/+17 |
| | | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there. | ||||
* | Added FreeMem, MaxBlock and CompactMem calls. The values returned by these ↵ | Jack Jansen | 2000-02-21 | 1 | -0/+43 |
| | | | | are lower bounds in the Python case (as malloc doesn't return memory to the heap) but they can be used to decide when to give low-memory warnings. | ||||
* | First bits and pieces of appearance support: an init routine, a global flag ↵ | Jack Jansen | 1999-12-07 | 1 | -0/+3 |
| | | | | | | PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0). | ||||
* | Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. | Jack Jansen | 1998-10-12 | 1 | -1/+1 |
| | |||||
* | The init routine for MacOS had a non-standard name. Changed to | Jack Jansen | 1998-07-01 | 1 | -1/+1 |
| | | | | initMacOS(). | ||||
* | Fixed double-dispose of splash() dialog | Jack Jansen | 1998-02-20 | 1 | -0/+2 |
| | |||||
* | Export type objects to Python | Jack Jansen | 1997-09-20 | 1 | -1/+5 |
| | |||||
* | Added SysBeep | Jack Jansen | 1997-09-08 | 1 | -7/+22 |
| | |||||
* | Added GetTicks() here, so profiling can use a decent timer | Jack Jansen | 1997-09-01 | 1 | -0/+9 |
| | |||||
* | added SetEventHandler | Jack Jansen | 1997-06-20 | 1 | -12/+25 |
| | |||||
* | Removed SetScheduleTimes | Jack Jansen | 1997-06-03 | 1 | -26/+66 |
| | | | | | Added SchedParams Added docstrings for most routines | ||||
* | Don't free the MacOS_Splash() dialog twice... | Jack Jansen | 1997-05-13 | 1 | -2/+4 |
| | |||||
* | - Changed the m# format for PyArg_ParseTuple back to s# | Jack Jansen | 1997-05-07 | 1 | -1/+1 |
| | | | | - c2pstr has moved to a different include file | ||||
* | Added an attribute string_id_to_buffer, which gives the offset you | Jack Jansen | 1997-04-03 | 1 | -0/+12 |
| | | | | | | | | have to add to the id() of a string to get the address of the data. This is a horrible and error-prone hack, but unfortunately it is one that is needed for playing audio and crearing pixmaps. Having the constant here is at least marginally better than the previous practice of having the constant 16 all over the place... | ||||
* | - Changed GestaltEqu.h to Gestalt.h | Jack Jansen | 1997-02-24 | 1 | -1/+1 |
| | | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit) | ||||
* | Added/updated copyright notices | Jack Jansen | 1997-01-31 | 1 | -1/+1 |
| | | | | (and the &*^$%@ resource files got binhexed again, sigh) | ||||
* | Got rid of nfullpath() | Jack Jansen | 1996-11-09 | 1 | -1/+1 |
| | |||||
* | removed unused var | Jack Jansen | 1996-10-23 | 1 | -1/+0 |
| | |||||
* | Added DebugStr method to drop into low-level debugger | Jack Jansen | 1996-09-30 | 1 | -0/+16 |
| | |||||
* | Added dialog-centering code to splash() | Jack Jansen | 1996-09-23 | 1 | -1/+16 |
| | |||||
* | Fixed macos.splash to actually *draw* the splash box:-) | Jack Jansen | 1996-09-15 | 1 | -3/+7 |
| | |||||
* | Added splash method (to quickly display splash screen without first | Jack Jansen | 1996-05-20 | 1 | -0/+20 |
| | | | | having to load a zillion extension modules) | ||||
* | Removed unused vars | Jack Jansen | 1996-03-05 | 1 | -3/+0 |
| | |||||
* | Added openrf method, which opens resource fork. The resulting object | Jack Jansen | 1996-02-29 | 1 | -0/+330 |
| | | | | supports a subset of normal file functionality. | ||||
* | Added GetErrorString method (convert OSErr number to string) | Jack Jansen | 1995-07-17 | 1 | -0/+11 |
| |