Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Getting rid of support for MacOS9 and earlier. This is the first step, | Jack Jansen | 2003-11-19 | 1 | -617/+0 |
| | | | | | and the biggest in size, but probably the easiest. Hunting through the source code comes next. | ||||
* | MacPython-OS9 has its own copy of the interrupt handling code. Added ↵ | Jack Jansen | 2003-07-23 | 1 | -0/+6 |
| | | | | PyErr_SetInterrupt() here too. | ||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 1 | -205/+5 |
| | | | | | | 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). | ||||
* | Changed some prototypes to match the exact definition in some faraway Apple | Jack Jansen | 2002-06-26 | 1 | -3/+3 |
| | | | | header files. If we're building with precompiled headers these are in scope. | ||||
* | Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is ↵ | Jack Jansen | 2002-04-11 | 1 | -91/+0 |
| | | | | now standard (appearance, interned strings) | ||||
* | Merging changes from release22-branch. | Jack Jansen | 2001-12-27 | 1 | -0/+11 |
| | |||||
* | The new menu initialization code would also add the SIOUX menus if a ↵ | Jack Jansen | 2001-12-10 | 1 | -1/+6 |
| | | | | (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it. | ||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -7/+2 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Fixed various problems with command-dot handling (some very old): | Jack Jansen | 2001-11-10 | 1 | -45/+52 |
| | | | | | | | | | | - Don't scan for cmd-. unless in the foreground - Scan before switching out to other processes, not after - don't scan if SchedParams.check_interrupt is false (!) - But: do scan if we're blocked on I/O One problem remains: in the last case KeyboardInterrupt is raised too late. | ||||
* | We always install the Sioux menubar, in stead of only when no menubar | Jack Jansen | 2001-11-01 | 1 | -0/+8 |
| | | | | | | was installed previously. This fixes bug #476904, but I'm not 100% sure it doesn't break anything else. But if it does I'll notice tomorrow when I try to build GRiNS:-) | ||||
* | Implemented PyMac_GetFullPathname for MacPython. | Jack Jansen | 2001-09-11 | 1 | -3/+13 |
| | |||||
* | Added preferences/startup options for division warning | Jack Jansen | 2001-09-01 | 1 | -17/+0 |
| | | | | | | | | and accepting unix-style newlines on input. Also (finally) added a startup option to get -vv behaviour. Moved __convert_to_newlines to main.c because that's easier with the newline option. | ||||
* | Experimental feature: allow \n as well as \r as newline for text files, by ↵ | Jack Jansen | 2001-08-27 | 1 | -0/+17 |
| | | | | breaking in to the lowlevel I/O system. Can be disabled by defining WITHOUT_UNIX_NEWLINES. | ||||
* | PATCHLEVEL is outdated, use PY_VERSION. | Jack Jansen | 2001-08-19 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -16/+0 |
| | |||||
* | 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 | 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. | ||||
* | 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). | ||||
* | Moved PyMac_GetFullPath from macgetargv.c to macglue.c. It should | Jack Jansen | 2001-05-19 | 1 | -0/+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 | 1 | -0/+106 |
| | | | | the stuff that is only needed on classic-MacOS. | ||||
* | 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 | 1 | -3/+19 |
| | | | | | - Better handling of menu bar save/restore. - Override abort() so it honours the "keep console window" flag. | ||||
* | More changes to attempt to get the menubar back on exit. Without success:-( | Jack Jansen | 2001-02-17 | 1 | -2/+10 |
| | |||||
* | Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵ | Jack Jansen | 2001-02-11 | 1 | -0/+19 |
| | | | | 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). | ||||
* | 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. | ||||
* | Disabled a few other routines that are available in CarbonLib. | Jack Jansen | 2001-01-11 | 1 | -2/+4 |
| | |||||
* | Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib. | Jack Jansen | 2001-01-09 | 1 | -0/+2 |
| | |||||
* | Added a c2pstrcpy() function. | Jack Jansen | 2000-12-12 | 1 | -0/+11 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -6/+6 |
| | |||||
* | PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython. | Jack Jansen | 2000-07-14 | 1 | -5/+2 |
| | |||||
* | ANSIfication step 2: make sure all needed prototypes are available, and all ↵ | Jack Jansen | 2000-07-11 | 1 | -10/+18 |
| | | | | | | needed header files included. | ||||
* | ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO. | Jack Jansen | 2000-07-11 | 1 | -3/+3 |
| | |||||
* | Removed THINK_C support. | Jack Jansen | 2000-06-04 | 1 | -3/+0 |
| | |||||
* | Removed (within an #ifdef) Carbon-incompatabilities: | Jack Jansen | 2000-06-02 | 1 | -0/+25 |
| | | | | | | | - Use TickCount() in stead of LMGetTicks() - Don't use xxxGetFile event filter - Don't call SystemTask or HandleSysWindowEvent (is this also automatically handled under os9??) - Don't scan event queue for cmd-. (to be fixed at some point). | ||||
* | Started on GUSI2 and threading support. | Jack Jansen | 2000-04-07 | 1 | -7/+10 |
| | |||||
* | If there's an error in an fsspec argument raise MacOS.Error, not ValueError. | Jack Jansen | 2000-01-24 | 1 | -1/+1 |
| | |||||
* | Added PyMac_BuildOptStr255, which returns None on a null pointer. | Jack Jansen | 1999-12-17 | 1 | -0/+14 |
| | |||||
* | Oops, PLstring funcs should be "pascal". Funny this never caused problems ↵ | Jack Jansen | 1999-12-12 | 1 | -3/+9 |
| | | | | before... | ||||
* | First bits and pieces of appearance support: an init routine, a global flag ↵ | Jack Jansen | 1999-12-07 | 1 | -0/+5 |
| | | | | | | PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0). | ||||
* | New about box, with the version mesage filled in in a text item, and | Jack Jansen | 1998-07-31 | 1 | -13/+14 |
| | | | | PLstrcmp() fixed. (Just) | ||||
* | All import-related code has moved to macimport.c. | Jack Jansen | 1998-07-13 | 1 | -224/+0 |
| | | | | | | | | | There's also new support for importing code fragments: if a file on sys.path contains a PYD resource with resourcename equal to the name of the module to be imported this PYD resource should contain a (pascal) string with the name of a code fragment to load. This allows freezing Python programs without access to source or a development environment. | ||||
* | Print message when we load a PYC resource, if verbose import flag is on. | Jack Jansen | 1998-06-26 | 1 | -0/+3 |
| |