summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Enable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly ↵Jack Jansen2001-03-022-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 Jansen2001-02-282-0/+14
|
* SetListCellIndent() argument was guessed incorrectly. Fixed.Jack Jansen2001-02-272-15/+10
|
* Soundex has gone.Jack Jansen2001-02-271-2/+0
|
* On OSX passing NULL to NewUniversalFilterProc() does not return NULL but a ↵Jack Jansen2001-02-202-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 Jansen2001-02-112-1/+19
|
* Added DlgObj_WhichDialog, analoguous to WhichWindow, and use this to get at ↵Jack Jansen2001-02-062-11/+107
| | | | dialogs.
* QDFlushPortBuffer() has an optional region argument.Jack Jansen2001-02-062-1/+5
|
* Also recognize DragRef as a method-argument.Jack Jansen2001-02-052-275/+221
|
* Accept Dialogs and Windows where Grafports are expected (such as in SetPort) ↵Jack Jansen2001-02-022-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 Jansen2001-01-302-8/+46
| | | | the screenBits bitmap.
* Got ZeroScrap() and PutScrap() to work under Carbon.Jack Jansen2001-01-291-10/+21
|
* Accessor functions for regions and such expect an existing region as ↵Jack Jansen2001-01-293-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 Jansen2001-01-292-0/+53
| | | | front of their name in the include files).
* Re-enabled Scrap (even though it's mostly empty right now).Jack Jansen2001-01-291-2/+0
|
* Ported the icglue module to carbon.Jack Jansen2001-01-291-1/+5
|
* ucnhash module has gone, xreadlines module added.Jack Jansen2001-01-251-6/+2
|
* Regenerated (and manually massaged for PutScrap) so it can be byuilt both ↵Jack Jansen2001-01-243-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 Jansen2001-01-241-1/+1
|
* Blacklisted (for the time being) the functions that have a component ↵Jack Jansen2001-01-242-100/+6
| | | | argument. Don't want to drag the Cm module into the core set too.
* Implemented direct attribute access for Carbon builds and accessor functions ↵Jack Jansen2001-01-243-14/+1478
| | | | for non-carbon builds.