Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | return old value of PyMac_DoYieldEnabled; -1 means do not even check for ↵ | Guido van Rossum | 1995-02-26 | 1 | -5/+6 |
| | | | | interrupts | ||||
* | change SC ifdef to MPW | Guido van Rossum | 1995-02-21 | 1 | -1/+1 |
| | |||||
* | Minor bug fix | Jack Jansen | 1995-02-20 | 1 | -1/+1 |
| | |||||
* | cfm 68k support | Guido van Rossum | 1995-02-18 | 1 | -0/+4 |
| | |||||
* | Added HandleEvent method to macos, so python programs can hand back | Jack Jansen | 1995-02-02 | 1 | -0/+14 |
| | | | | events they don't want to handle to stdio | ||||
* | - Moved interrupt code to macglue.c | Jack Jansen | 1995-01-27 | 1 | -0/+15 |
| | | | | | | | - Added possibility to turn off mainloop event handling - Check interrupts even when not handling events - Be more carefulabout which events we want - Use different method to determine fg/bg | ||||
* | Added eventhandling in mainloop/busywait routine plus leaving some | Jack Jansen | 1995-01-26 | 1 | -0/+23 |
| | | | | | cycles for background apps. MacOS has a new method to set the amount of time for bg apps. | ||||
* | Got rid of the Resource and Sound interfaces, in favor of the ones | Guido van Rossum | 1995-01-25 | 1 | -410/+3 |
| | | | | generated from the header files (with some hand-holding :-). | ||||
* | ported CW5 changes back to Think | Guido van Rossum | 1995-01-22 | 1 | -0/+1 |
| | |||||
* | Got rid of {Get,Set}FileType in favor of {Get,Set}CreatorAndType -- | Guido van Rossum | 1995-01-22 | 1 | -37/+19 |
| | | | | | | | | | | | the former had their arguments reversed compared to all Apple's routines (e.g. FSpOpenResFile()). Also fixed the SoundMgr UserRoutine (Jack fixed it but put the fix between #ifdef __MWERKS__ ... #endif :-( ). NB eventually this module should disappear in favor of separate modules per manager (e.g. Resources, Sound, Files, ...). | ||||
* | Ported to CW5/new universal headers | Jack Jansen | 1995-01-22 | 1 | -2/+2 |
| | |||||
* | renamed Get routines to PyMac_Get; added macfs to config.c | Guido van Rossum | 1995-01-21 | 1 | -4/+4 |
| |