summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added an attribute runtimemodel, which is either "ppc" or "carbon" and is ↵Jack Jansen2001-01-231-0/+9
| | | | the runtime model of the current interpreter. Will have to ad another value later for real MacOSX MachO, I guess.
* Treat an empty kwdict argument the same as a missing one.Jack Jansen2001-01-191-20/+20
|
* Undefine and redefine PRAGMA_ALIGN_SUPPORTED under Carbon. Apple's ↵Jack Jansen2001-01-191-0/+8
| | | | "solution" of a funny define makes portable code impossible:-(
* The interruptRoutine attribute is gone under Carbon. Luckily it appears that ↵Jack Jansen2001-01-122-2/+10
| | | | nothing used it.
* SetpopupData and GetPopupData are gone under Carbon, use ↵Jack Jansen2001-01-122-29/+7
| | | | | | {Get,Set}PopupMenu{Handle,ID} in stead. The UserPane routines appear to be fixed in the current Universal Headers, so they're re-enabled.
* xstat() will never be implemented under Carbon. Fortunately it also doesn't ↵Jack Jansen2001-01-121-5/+5
| | | | appear to be used anywhere.
* Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on ↵Jack Jansen2001-01-093-21/+22
| | | | {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-(
* Various tweaks to make it everything build and compile again under carbon. ↵Jack Jansen2001-01-095-0/+86
| | | | Mainly greylisted functions.
* Fixed a few declarations.Jack Jansen2001-01-032-0/+6
|
* Remove (unused) regex imports.Jack Jansen2001-01-022-2/+0
|
* Regenerated so that NewGWorld is included.Jack Jansen2000-12-191-0/+66
|
* Emulate a few more non-carbon calls in carbon and the other way around.Jack Jansen2000-12-193-93/+163
|
* Added hash() and compare() functions. Needed because multiple WinObj's can ↵Jack Jansen2000-12-192-2/+35
| | | | now refer to the same underlying WindowRef.
* Blacklisted a few constants with funny definitions (and they're not ↵Jack Jansen2000-12-191-0/+7
| | | | important anyway: backward compatible error numbers).
* Set autodispose only if RefCon isn't set yet on the window. This way we ↵Jack Jansen2000-12-142-6/+117
| | | | don't accidentally dispose of windows that are actually dialogs-in-disguise.
* More toolbox modules adapted to Universal Headers 3.3.2.Jack Jansen2000-12-1220-491/+2240
|
* Use new multi-input-file feature of bgen in stead of @-file hack to parse ↵Jack Jansen2000-12-123-247/+339
| | | | multiple header files. A side effect is that the ObjectSupportLib routines are now also available in Python.
* Drag moved to core toolbox modules (Win uses it).Jack Jansen2000-12-121-2/+2
|
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-1028-546/+3034
|
* Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵Jack Jansen2000-10-191-0/+13
| | | | window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.
* Added sha module, it's needed by the unicode stuff, it seems.Jack Jansen2000-10-121-0/+2
|
* Added a method KeepConsole so programs can override the Keep console open ↵Jack Jansen2000-10-121-0/+16
| | | | option.
* Fixes that should make it possible to run Python on machines without ↵Jack Jansen2000-09-141-0/+5
| | | | NavServices installed.
* Added Qdoffs and (optionally) icglue modules.Jack Jansen2000-09-141-0/+8
|
* Some of the types are signed 8 bit ints. Fixed.Jack Jansen2000-09-082-10/+10
|
* Got rid of Py_FatalError calls.Jack Jansen2000-09-085-12/+6
|
* Added routine DlgObj_ConvertToWindow().Jack Jansen2000-08-253-2/+43
| | | | | GetDialogWindow() returns an existing window. Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(
* Added a prototype for mstats().Jack Jansen2000-08-251-0/+2
|
* Window objects now also have an AutoDispose funcpointer (set for our ↵Jack Jansen2000-08-253-23/+61
| | | | | | windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs). Fixed a few calls that return an ExistingWindow.
* HMGetBalloonWindow should try to return an existing window.Jack Jansen2000-08-252-1/+3
|
* - Added pyexpat.Jack Jansen2000-08-251-3/+9
| | | | - Renamed socket to _socket.
* Updated for new AppleScript structure and moved to Lib (it's far too useful ↵Jack Jansen2000-08-201-71/+0
| | | | to lurk in the source folder).
* Fixed again to work with the old scripting interface (so we can test the new ↵Jack Jansen2000-08-201-1/+1
| | | | one actually still works).
* ANSIfied.Jack Jansen2000-07-311-6/+6
|