summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cf/_CFmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-15/+15
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-15/+15
|
* bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.Georg Brandl2007-09-121-0/+1
|
* Fix bug #1000914 (again).Ronald Oussoren2006-05-201-9/+9
| | | | | | | | | This patches a file that is generated by bgen, however the code is now the same as a current copy of bgen would generate. Without this patch most types in the Carbon.CF module are unusable. I haven't managed to coax bgen into generating a complete copy of _CFmodule.c yet :-(, hence the manual patching.
* Get rid of some warnings.Neal Norwitz2006-03-201-2/+2
|
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-122/+132
| | | | they are now _self, _args and _kwds.
* The CF inheritance could cause double frees of the underlying objects.Jack Jansen2004-07-151-0/+10
| | | | Fixed.
* CFStringGetUnicode() returned an extra null character at the end of the string.Jack Jansen2004-07-151-1/+1
| | | | fixed.
* Make CF module PEP253 based (finally).Jack Jansen2004-07-151-100/+631
|
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-5/+0
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-191-11/+0
| | | | MacOS9isms.
* Forgot the code to initialize the glue for the new CFObj_ routines.Jack Jansen2003-05-311-2/+2
|
* Added functions CFObj_New and CFObj_Convert, general functions to convertJack Jansen2003-05-271-2/+50
| | | | between CF objects and their Python representation. Fixes 734695.
* Accept only the system default encoding when converting PythonJack Jansen2003-03-031-4/+4
| | | | strings to CF strings. Fixes 682215.
* - Various tweaks to forestall compiler warnings.Jack Jansen2002-12-231-13/+25
|
* 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
|
* Added CFPreferences support. Added these as functions, not methods, which ↵Jack Jansen2002-05-131-0/+357
| | | | seemed counter-intuitive.
* - Better exception when a NULL CF object is encountered.Jack Jansen2002-05-121-11/+133
| | | | - Manually generate a routine with funny error semantics.
* More support for bridging between Python and CoreFoundation objects. Still ↵Jack Jansen2002-05-071-0/+38
| | | | untested.
* Regenerated.Jack Jansen2002-04-231-10/+10
|
* 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-011-0/+69
|
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* Adapted for Universal Headers 3.4Jack Jansen2001-12-161-33/+408
|
* 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-051-19/+70
| | | | modules. Idea by Donovan Preston, implementaion by me.
* Shut up many more gcc warnings.Jack Jansen2001-09-051-16/+14
|
* Shut up a few more gcc warnings.Jack Jansen2001-09-041-1/+1
|
* Regenerated without default int return types.Jack Jansen2001-09-041-10/+11
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+3179