Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CFStringGetUnicode() returned an extra null character at the end of the string. | Jack Jansen | 2004-07-15 | 2 | -2/+2 |
| | | | | fixed. | ||||
* | Make CF module PEP253 based (finally). | Jack Jansen | 2004-07-15 | 2 | -110/+669 |
| | |||||
* | Got rid of macglue.h, replacing it by pymactoolbox.h where relevant. | Jack Jansen | 2003-11-20 | 2 | -6/+1 |
| | | | | Cleaned up various things in the toolbox modules. | ||||
* | Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS: | Jack Jansen | 2003-11-19 | 3 | -32/+0 |
| | | | | MacOS9isms. | ||||
* | Forgot the code to initialize the glue for the new CFObj_ routines. | Jack Jansen | 2003-05-31 | 2 | -4/+4 |
| | |||||
* | Added functions CFObj_New and CFObj_Convert, general functions to convert | Jack Jansen | 2003-05-27 | 2 | -2/+98 |
| | | | | between CF objects and their Python representation. Fixes 734695. | ||||
* | Mod to previous checkin: we must require ascii, not system defautl encoding, | Jack Jansen | 2003-03-03 | 2 | -2/+2 |
| | | | | | because we have no easy way to convert the python encoding string to a CF encoding parameter. | ||||
* | Accept only the system default encoding when converting Python | Jack Jansen | 2003-03-03 | 3 | -8/+11 |
| | | | | strings to CF strings. Fixes 682215. | ||||
* | - Various tweaks to forestall compiler warnings. | Jack Jansen | 2002-12-23 | 2 | -16/+30 |
| | |||||
* | Regenerated with inheritance-aware xxxx_Check() macros. | Jack Jansen | 2002-12-19 | 1 | -10/+10 |
| | |||||
* | Added PEP253 support to most Carbon modules. This isn't complete yet: | Jack Jansen | 2002-12-03 | 1 | -20/+40 |
| | | | | | | some of the more compilcated cases (CF, Res) haven't been done yet. Also, various types should inherit from each other (anything with an as_Resource method should be a Resource subtype, the CF types should become one family). | ||||
* | Regenerated with PyDoc_STR() around docstrings. | Jack Jansen | 2002-08-16 | 1 | -152/+152 |
| | |||||
* | After generating the Python file with definitions try to run it, so | Jack Jansen | 2002-08-15 | 1 | -0/+2 |
| | | | | we catch errors during the build process in stead of later during runtime. | ||||
* | Enable building of Carbon toolbox modules with unix-Python. | Jack Jansen | 2002-08-05 | 1 | -2/+1 |
| | |||||
* | Added typechecking to the individual python->CF converters, so we can use ↵ | Jack Jansen | 2002-05-13 | 1 | -2/+16 |
| | | | | them in the CF object initializers safely. | ||||
* | Added CFPreferences support. Added these as functions, not methods, which ↵ | Jack Jansen | 2002-05-13 | 3 | -3/+372 |
| | | | | seemed counter-intuitive. | ||||
* | - Better exception when a NULL CF object is encountered. | Jack Jansen | 2002-05-12 | 3 | -16/+168 |
| | | | | - Manually generate a routine with funny error semantics. | ||||
* | - Get data from CFData objects as Python strings and vv. | Jack Jansen | 2002-05-10 | 2 | -1/+34 |
| | | | | - Started on supporting CFPropertyLists. | ||||
* | Fixed string and dict conversion, and implemented booleans and numbers (int ↵ | Jack Jansen | 2002-05-08 | 1 | -14/+49 |
| | | | | | | and float). I think we now have enough CFType support to start on plists and CFpreferences! Transparent handling of unknown CFType objects still TBD. | ||||
* | Partial fix for string handling. Null byte TBD. | Jack Jansen | 2002-05-08 | 1 | -2/+4 |
| | |||||
* | More support for bridging between Python and CoreFoundation objects. Still ↵ | Jack Jansen | 2002-05-07 | 3 | -6/+131 |
| | | | | untested. | ||||
* | First steps towards a generalized converter of Python object | Jack Jansen | 2002-05-05 | 2 | -0/+217 |
| | | | | hierarchies to CoreFoundation object hierarchies and vice versa. | ||||
* | Regenerated. | Jack Jansen | 2002-04-23 | 1 | -10/+10 |
| | |||||
* | Weaklink most toolbox modules, improving backward compatibility. Modules ↵ | Jack Jansen | 2002-03-24 | 1 | -0/+1 |
| | | | | | | | | will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception. Should finally fix 531398. 2.2.1 candidate. Also blacklisted some constants with definitions that were not Python-compatible. | ||||
* | Lurking bug found by patch for 531291: FSSpecs should be passed to | Jack Jansen | 2002-03-18 | 1 | -1/+1 |
| | | | | | | Py_BuildValue by address, not by value. 2.2.1 candidate. | ||||
* | Added some support for unicode arguments. | Jack Jansen | 2002-01-01 | 3 | -5/+75 |
| | |||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 1 | -0/+4 |
| | |||||
* | Adapted for Universal Headers 3.4 | Jack Jansen | 2001-12-16 | 2 | -33/+410 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -10/+10 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -14/+200 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Make the CoreFoundation object _New and _Convert routines available to other ↵ | Jack Jansen | 2001-11-05 | 2 | -38/+140 |
| | | | | modules. Idea by Donovan Preston, implementaion by me. | ||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 2 | -26/+24 |
| | |||||
* | Shut up a few more gcc warnings. | Jack Jansen | 2001-09-04 | 2 | -2/+2 |
| | |||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 2 | -10/+12 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 1 | -3179/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+3179 |
| | |||||
* | The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵ | Jack Jansen | 2001-08-23 | 1 | -2/+2 |
| | | | | usage is through a wrapper module (without underscore) which lives in the Carbon package. | ||||
* | If we use frameworks we should include CoreServices/CoreServices.h, not the | Jack Jansen | 2001-08-03 | 2 | -2/+2 |
| | | | | old-style CoreFoundation.h. | ||||
* | 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). | ||||
* | 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. |