summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cf
Commit message (Collapse)AuthorAgeFilesLines
* CFStringGetUnicode() returned an extra null character at the end of the string.Jack Jansen2004-07-152-2/+2
| | | | fixed.
* Make CF module PEP253 based (finally).Jack Jansen2004-07-152-110/+669
|
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-202-6/+1
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-193-32/+0
| | | | MacOS9isms.
* Forgot the code to initialize the glue for the new CFObj_ routines.Jack Jansen2003-05-312-4/+4
|
* Added functions CFObj_New and CFObj_Convert, general functions to convertJack Jansen2003-05-272-2/+98
| | | | between CF objects and their Python representation. Fixes 734695.
* Mod to previous checkin: we must require ascii, not system defautl encoding,Jack Jansen2003-03-032-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 PythonJack Jansen2003-03-033-8/+11
| | | | strings to CF strings. Fixes 682215.
* - Various tweaks to forestall compiler warnings.Jack Jansen2002-12-232-16/+30
|
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-10/+10
|
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-031-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 Jansen2002-08-161-152/+152
|
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-151-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 Jansen2002-08-051-2/+1
|
* Added typechecking to the individual python->CF converters, so we can use ↵Jack Jansen2002-05-131-2/+16
| | | | them in the CF object initializers safely.
* Added CFPreferences support. Added these as functions, not methods, which ↵Jack Jansen2002-05-133-3/+372
| | | | seemed counter-intuitive.
* - Better exception when a NULL CF object is encountered.Jack Jansen2002-05-123-16/+168
| | | | - Manually generate a routine with funny error semantics.
* - Get data from CFData objects as Python strings and vv.Jack Jansen2002-05-102-1/+34
| | | | - Started on supporting CFPropertyLists.
* Fixed string and dict conversion, and implemented booleans and numbers (int ↵Jack Jansen2002-05-081-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 Jansen2002-05-081-2/+4
|
* More support for bridging between Python and CoreFoundation objects. Still ↵Jack Jansen2002-05-073-6/+131
| | | | untested.
* First steps towards a generalized converter of Python objectJack Jansen2002-05-052-0/+217
| | | | hierarchies to CoreFoundation object hierarchies and vice versa.
* Regenerated.Jack Jansen2002-04-231-10/+10
|
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-241-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 toJack Jansen2002-03-181-1/+1
| | | | | | Py_BuildValue by address, not by value. 2.2.1 candidate.
* Added some support for unicode arguments.Jack Jansen2002-01-013-5/+75
|
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* Adapted for Universal Headers 3.4Jack Jansen2001-12-162-33/+410
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-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 (theJack Jansen2001-11-301-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 Jansen2001-11-052-38/+140
| | | | modules. Idea by Donovan Preston, implementaion by me.
* Shut up many more gcc warnings.Jack Jansen2001-09-052-26/+24
|
* Shut up a few more gcc warnings.Jack Jansen2001-09-042-2/+2
|
* Regenerated without default int return types.Jack Jansen2001-09-042-10/+12
|
* Renamed.Jack Jansen2001-08-231-3179/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+3179
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-231-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 theJack Jansen2001-08-032-2/+2
| | | | old-style CoreFoundation.h.
* Used an adapted MethodGenerator to generate methods too for functions that ↵Jack Jansen2001-07-173-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.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.