Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't call PyMac_HandleEvent if we're in unix-Python. | Jack Jansen | 2001-09-01 | 2 | -0/+4 | |
| | ||||||
* | Include Carbon/Carbon.h if we're on OSX. | Jack Jansen | 2001-09-01 | 2 | -2/+2 | |
| | ||||||
* | exceptions was missing from the module list. Added. | Jack Jansen | 2001-08-27 | 1 | -0/+1 | |
| | ||||||
* | Last renamed module that wasn't removed yet. | Jack Jansen | 2001-08-24 | 1 | -1168/+0 | |
| | ||||||
* | Renamed. | Jack Jansen | 2001-08-23 | 22 | -40152/+0 | |
| | ||||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 23 | -0/+41479 | |
| | ||||||
* | The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵ | Jack Jansen | 2001-08-23 | 23 | -90/+90 | |
| | | | | usage is through a wrapper module (without underscore) which lives in the Carbon package. | |||||
* | test_glob found a nasty bug in GUSI opendir(): it will not fail when called ↵ | Jack Jansen | 2001-08-11 | 1 | -0/+18 | |
| | | | | on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise. | |||||
* | - Don't return mac-style pathnames in unix-Python. | Jack Jansen | 2001-08-08 | 2 | -168/+79 | |
| | | | | | - Fixed up a lot more prototypes (gcc also wants them on static routines) - Fixed various other gcc warnings. | |||||
* | Got rid of 68k-Mac and other outdated ifdefs. | Jack Jansen | 2001-08-07 | 1 | -6/+0 | |
| | ||||||
* | Got rid of mactcp cruft, added Mlte and CF modules. | Jack Jansen | 2001-08-07 | 1 | -8/+6 | |
| | ||||||
* | Removed unused variable. | Jack Jansen | 2001-08-07 | 1 | -2/+0 | |
| | ||||||
* | Bit another bullet: all toolbox modules are now in dynamically loaded ↵ | Jack Jansen | 2001-08-07 | 1 | -2/+2 | |
| | | | | modules. Everything still seems to work, but the ConfigurePythonXXX on initial install may still need work. | |||||
* | Oops, arg type for the glue routine was wrong. | Jack Jansen | 2001-08-06 | 1 | -1/+1 | |
| | ||||||
* | PyMac_GetFSSpec must be called via the dylib glue code on OSX. | Jack Jansen | 2001-08-03 | 1 | -1/+16 | |
| | ||||||
* | If we use frameworks we should include CoreServices/CoreServices.h, not the | Jack Jansen | 2001-08-03 | 2 | -2/+2 | |
| | | | | old-style CoreFoundation.h. | |||||
* | TXNTSMCheck isn't available under Mach-O Carbon. | Jack Jansen | 2001-08-03 | 2 | -2/+10 | |
| | ||||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 3 | -3/+26 | |
| | ||||||
* | (Finally) converted to new-style args. | Jack Jansen | 2001-08-03 | 1 | -37/+136 | |
| | | | | | | | Added an optional (and ignored) 3d parameter to open() to make the signature compatible with posixmodule. Added the various O_ constants (by stealing the code from posixmodule). test_fileinput now passes. | |||||
* | Used an adapted MethodGenerator to generate methods too for functions that ↵ | Jack Jansen | 2001-07-17 | 3 | -326/+300 | |
| | | | | have the object as the second arg after a first CFAllocatorRef arg (which we pass as NULL always anyway). | |||||
* | The TNXDraw gworld argument is optional. | Jack Jansen | 2001-07-16 | 3 | -2/+35 | |
| | ||||||
* | Various small fixes. The demo now starts to limp along. | Jack Jansen | 2001-07-14 | 3 | -2/+36 | |
| | ||||||
* | Fixed the mis-guessed parameters and added support for a few optional ↵ | Jack Jansen | 2001-07-13 | 3 | -20/+143 | |
| | | | | parameter types. There's a good chance that this is usable now (but there's no test code yet). | |||||
* | First stab at an interface to the Multi Language Text Editor. It compiles ↵ | Jack Jansen | 2001-07-13 | 3 | -0/+1528 | |
| | | | | and imports, but that's about all. Apple didn't put const in front of their input-only by-reference args, so that needs fixing first. | |||||
* | Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs ↵ | Jack Jansen | 2001-07-08 | 1 | -10/+274 | |
| | | | | | | | | and pathnames where applicable. PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue. These mods are untested on OSX. | |||||
* | Do conversion of CFStrings to/from unicode. | unknown | 2001-07-04 | 2 | -43/+255 | |
| | ||||||
* | - Use weaklink generators so we can support OSX-only calls without crashing ↵ | Jack Jansen | 2001-07-01 | 2 | -5/+41 | |
| | | | | | | on OS9. - Convert CFString to/from Python strings. Currently always MacRoman, to be fixed later (as is unicode support). Python->CFString conversion is automatic. | |||||
* | Added CFURL support, and got base chaining to really work. | Jack Jansen | 2001-06-28 | 3 | -46/+547 | |
| | ||||||
* | CFArray, CFData and CFDictonary are now covered, but mainly opaque. | Jack Jansen | 2001-06-27 | 3 | -9/+2372 | |
| | | | | CFStrings are in better shape, but Unicode support and automatic conversion to/from Python strings remains to be done. | |||||
* | First small step towards bgen-generated CoreFoundation. there is hardly any ↵ | Jack Jansen | 2001-06-26 | 3 | -0/+666 | |
| | | | | real functionality yet, but method chains seem to work, and so do Retain/Release semantics. | |||||
* | Added support for the gc module (!). | Just van Rossum | 2001-06-21 | 1 | -0/+6 | |
| | ||||||
* | Got rid of a silly #if. | Jack Jansen | 2001-06-20 | 1 | -1/+1 | |
| | ||||||
* | Don't use extern when we mean staticforward (OSX gcc is picky about it). | Jack Jansen | 2001-06-20 | 3 | -24/+5 | |
| | | | | Blacklist SendControlMessage: it's signature has changed between Universal Headers 3.3 and 3.4. | |||||
* | {Is,Set}AntiAliasedTextEnabled don't exist on MacOS 8.5.5 and earlier. For ↵ | Jack Jansen | 2001-06-20 | 2 | -36/+5 | |
| | | | | now: cop out and blacklist them. | |||||
* | ANSIfied function headers to shut up compiler warnings on OSX/Mach-o. | Jack Jansen | 2001-06-20 | 4 | -4/+4 | |
| | ||||||
* | Added a const to shut up a compiler warning. | Jack Jansen | 2001-06-20 | 2 | -2/+2 | |
| | ||||||
* | Reversed the order of the checks for None or a Dialog where a Window is ↵ | Jack Jansen | 2001-06-20 | 2 | -22/+8 | |
| | | | | expected so it doesn't crash under OSX/Mach-o. | |||||
* | Removed some unused routines under Carbon. They caused compile errors with UH34. | Jack Jansen | 2001-06-20 | 1 | -0/+3 | |
| | ||||||
* | Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead ↵ | Jack Jansen | 2001-06-20 | 2 | -3/+18 | |
| | | | | of Proc names for callback creation. | |||||
* | Fixed an error in the signature of the QdRGB converter routines. | Jack Jansen | 2001-06-13 | 2 | -4/+4 | |
| | ||||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 41 | -5765/+2230 | |
| | | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python. | |||||
* | Fixed changed UPP routines names. The module now compiles and loads. | Jack Jansen | 2001-05-22 | 1 | -3/+7 | |
| | ||||||
* | 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 | 3 | -8/+28 | |
| | | | | | Test for TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON where appropriate. | |||||
* | First step in porting MacPython modules to OSX/unix: break all references ↵ | Jack Jansen | 2001-05-17 | 26 | -2/+463 | |
| | | | | | | between modules except for the obj_New() and obj_Convert() routines, the PyArg_Parse and Py_BuildValue helpers. And these can now be vectored through glue routines (by defining USE_TOOLBOX_OBJECT_GLUE) which will do the necessary imports, whereupon the module's init routine will tell the glue routine about the real conversion routine address and everything is fine again. | |||||
* | Got the first MacPython module working under MacOSX/MachO (gestalt). Main ↵ | Jack Jansen | 2001-05-12 | 1 | -0/+4 | |
| | | | | | | | | 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 | 2 | -10/+13 | |
| | | | | !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation. | |||||
* | Check RefCon backpointer to python object with IsPointerValid() before ↵ | Jack Jansen | 2001-04-25 | 2 | -2/+4 | |
| | | | | dereferencing it (carbon only). | |||||
* | Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported ↵ | Jack Jansen | 2001-03-20 | 1 | -0/+28 | |
| | | | | under Carbon. | |||||
* | FindFolder argument is a short, not an unsigned short. | Jack Jansen | 2001-03-15 | 1 | -1/+1 | |
| |