Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Enable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly ↵ | Jack Jansen | 2001-03-02 | 2 | -0/+7 |
| | | | | correct: OS9 InterfaceLib has it, but enabling it will make Python refuse to run on 8.6 and earlier. | ||||
* | Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon. | Jack Jansen | 2001-02-28 | 2 | -0/+14 |
| | |||||
* | SetListCellIndent() argument was guessed incorrectly. Fixed. | Jack Jansen | 2001-02-27 | 2 | -15/+10 |
| | |||||
* | Soundex has gone. | Jack Jansen | 2001-02-27 | 1 | -2/+0 |
| | |||||
* | On OSX passing NULL to NewUniversalFilterProc() does not return NULL but a ↵ | Jack Jansen | 2001-02-20 | 2 | -12/+20 |
| | | | | crashing UPP. This made ModalDialog (and, hence EditPythonPrefs and EasyDialogs and many others) crash. Fixed. | ||||
* | Oops, repr didn't allocate the memory it used... | Jack Jansen | 2001-02-11 | 2 | -1/+19 |
| | |||||
* | Added DlgObj_WhichDialog, analoguous to WhichWindow, and use this to get at ↵ | Jack Jansen | 2001-02-06 | 2 | -11/+107 |
| | | | | dialogs. | ||||
* | QDFlushPortBuffer() has an optional region argument. | Jack Jansen | 2001-02-06 | 2 | -1/+5 |
| | |||||
* | Also recognize DragRef as a method-argument. | Jack Jansen | 2001-02-05 | 2 | -275/+221 |
| | |||||
* | Accept Dialogs and Windows where Grafports are expected (such as in SetPort) ↵ | Jack Jansen | 2001-02-02 | 2 | -4/+16 |
| | | | | and do a MacOSX compatible cast. Bit of a hack, but good enough for now. | ||||
* | New internal function BMObj_NewCopied() which copies the BitMap. Used to get ↵ | Jack Jansen | 2001-01-30 | 2 | -8/+46 |
| | | | | the screenBits bitmap. | ||||
* | Got ZeroScrap() and PutScrap() to work under Carbon. | Jack Jansen | 2001-01-29 | 1 | -10/+21 |
| | |||||
* | Accessor functions for regions and such expect an existing region as ↵ | Jack Jansen | 2001-01-29 | 3 | -15/+29 |
| | | | | | | parameter. Fixed for grafport attribute access. Got GetPortBitMapForCopyBits() and port.portBits to work. | ||||
* | Added generators for EnableMenuItem and CheckMenuItem (which have Mac in ↵ | Jack Jansen | 2001-01-29 | 2 | -0/+53 |
| | | | | front of their name in the include files). | ||||
* | Re-enabled Scrap (even though it's mostly empty right now). | Jack Jansen | 2001-01-29 | 1 | -2/+0 |
| | |||||
* | Ported the icglue module to carbon. | Jack Jansen | 2001-01-29 | 1 | -1/+5 |
| | |||||
* | ucnhash module has gone, xreadlines module added. | Jack Jansen | 2001-01-25 | 1 | -6/+2 |
| | |||||
* | Regenerated (and manually massaged for PutScrap) so it can be byuilt both ↵ | Jack Jansen | 2001-01-24 | 3 | -57/+148 |
| | | | | for Carbon and Classic. The Carbon module is rather empty, though, for now. | ||||
* | Quick (manual) fix to make the module compile with Waste 2.0. TBD later. | Jack Jansen | 2001-01-24 | 1 | -1/+1 |
| |