summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't call PyMac_HandleEvent if we're in unix-Python.Jack Jansen2001-09-012-0/+4
|
* Include Carbon/Carbon.h if we're on OSX.Jack Jansen2001-09-012-2/+2
|
* exceptions was missing from the module list. Added.Jack Jansen2001-08-271-0/+1
|
* Last renamed module that wasn't removed yet.Jack Jansen2001-08-241-1168/+0
|
* Renamed.Jack Jansen2001-08-2322-40152/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-2323-0/+41479
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-2323-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 Jansen2001-08-111-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 Jansen2001-08-082-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 Jansen2001-08-071-6/+0
|
* Got rid of mactcp cruft, added Mlte and CF modules.Jack Jansen2001-08-071-8/+6
|
* Removed unused variable.Jack Jansen2001-08-071-2/+0
|
* Bit another bullet: all toolbox modules are now in dynamically loaded ↵Jack Jansen2001-08-071-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 Jansen2001-08-061-1/+1
|
* PyMac_GetFSSpec must be called via the dylib glue code on OSX.Jack Jansen2001-08-031-1/+16
|
* If we use frameworks we should include CoreServices/CoreServices.h, not theJack Jansen2001-08-032-2/+2
| | | | old-style CoreFoundation.h.
* TXNTSMCheck isn't available under Mach-O Carbon.Jack Jansen2001-08-032-2/+10
|
* Merging appropriate 2.1.1 fixes back into the main trunk.Jack Jansen2001-08-033-3/+26
|
* (Finally) converted to new-style args.Jack Jansen2001-08-031-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 Jansen2001-07-173-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 Jansen2001-07-163-2/+35
|
* Various small fixes. The demo now starts to limp along.Jack Jansen2001-07-143-2/+36
|
* Fixed the mis-guessed parameters and added support for a few optional ↵Jack Jansen2001-07-133-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 Jansen2001-07-133-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 Jansen2001-07-081-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.unknown2001-07-042-43/+255
|
* - Use weaklink generators so we can support OSX-only calls without crashing ↵Jack Jansen2001-07-012-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 Jansen2001-06-283-46/+547
|
* CFArray, CFData and CFDictonary are now covered, but mainly opaque.Jack Jansen2001-06-273-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 Jansen2001-06-263-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 Rossum2001-06-211-0/+6
|
* Got rid of a silly #if.Jack Jansen2001-06-201-1/+1
|
* Don't use extern when we mean staticforward (OSX gcc is picky about it).Jack Jansen2001-06-203-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 Jansen2001-06-202-36/+5
| | | | now: cop out and blacklist them.
* ANSIfied function headers to shut up compiler warnings on OSX/Mach-o.Jack Jansen2001-06-204-4/+4
|
* Added a const to shut up a compiler warning.Jack Jansen2001-06-202-2/+2
|
* Reversed the order of the checks for None or a Dialog where a Window is ↵Jack Jansen2001-06-202-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 Jansen2001-06-201-0/+3
|
* Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead ↵Jack Jansen2001-06-202-3/+18
| | | | of Proc names for callback creation.
* Fixed an error in the signature of the QdRGB converter routines.Jack Jansen2001-06-132-4/+4
|
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-2241-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 Jansen2001-05-221-3/+7
|
* Ifdeffed a few more sections. All functionality that is relevant on MacOSXJack Jansen2001-05-191-4/+13
| | | | now appears to work.
* Include Carbon/Carbon.h in stead of universal headers, if appropriate.Jack Jansen2001-05-193-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 Jansen2001-05-1726-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 Jansen2001-05-121-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 Jansen2001-05-122-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 Jansen2001-04-252-2/+4
| | | | dereferencing it (carbon only).
* Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported ↵Jack Jansen2001-03-201-0/+28
| | | | under Carbon.
* FindFolder argument is a short, not an unsigned short.Jack Jansen2001-03-151-1/+1
|