summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res/Resmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed.Jack Jansen2001-08-231-1579/+0
|
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-221-222/+90
| | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
* First step in porting MacPython modules to OSX/unix: break all references ↵Jack Jansen2001-05-171-0/+15
| | | | | | 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.
* Enable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly ↵Jack Jansen2001-03-021-0/+6
| | | | correct: OS9 InterfaceLib has it, but enabling it will make Python refuse to run on 8.6 and earlier.
* More toolbox modules adapted to Universal Headers 3.3.2.Jack Jansen2000-12-121-1/+181
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-141-12/+12
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-37/+1
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-021-0/+36
| | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
* Handles were never disposed. Added an AutoDispose(onoff) method to control this.Jack Jansen2000-03-081-4/+66
| | | | Also added a Handle() function which is like Resource() but has auto-dispose on by default.
* In places where a ResObj is expected for PyArg_Parse and the object passed ↵Jack Jansen1999-12-121-5/+25
| | | | | | in isn't but it does have an as_Resource method use that. This makes life a lot easier for appearance portability (and was needed anyway).
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-121-0/+12
|
* Grmpf, a lot more routines have gotten a "Mac" prefix for theirJack Jansen1998-04-241-0/+19
| | | | | | declaration, probably so the universal headers are useable on windows/unix too. Have to think of a more definite workaround later, for now we manually declare the old names in the *edit.py files.
* Re-generated from new (3.1) universal headersJack Jansen1998-04-211-3/+3
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-2/+2
| | | | | | blacklisted, because they are not available in classic 68k programs, and bgen doesn't have a way to put #ifdef/#endif in the generated code. For now we only implement calls that work on all three models.
* Export type objects to PythonJack Jansen1997-09-201-0/+4
|
* Added #include <string.h> for memcpy()Jack Jansen1997-08-151-0/+1
|
* Removed unused varJack Jansen1996-08-011-4/+0
|
* bgen-generators now drop the python definition file straight in theJack Jansen1996-04-121-0/+3
| | | | Lib:toolbox folder.
* - Added color window/pixmap supportJack Jansen1995-12-121-2/+28
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* New universal headers, a few bit-flags were added.Jack Jansen1995-11-141-0/+1
|
* New universal headersJack Jansen1995-10-091-1/+0
|
* Generated anewJack Jansen1995-08-171-0/+14
|
* Added methods as_Menu and as_Control to convert a resourceJack Jansen1995-06-181-1/+50
| | | | | | | to those object types You can now set the data attribute of a resource with the expected semantics (but you have to call ChangedResource yourself)
* Ported to Universal Header 2.0.1f (i.e. CW6)Jack Jansen1995-06-091-21/+0
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-15/+56
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* the usualGuido van Rossum1995-03-101-1/+1
|
* added Resource(), to create new resources from PythonGuido van Rossum1995-02-051-0/+28
|
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+1256