summaryrefslogtreecommitdiff
path: root/Mac/Modules/cf
Commit message (Collapse)AuthorAgeFilesLines
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-092-3619/+3619
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-092-18/+18
| | | | | | | 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-262-18/+18
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.Georg Brandl2007-09-123-0/+3
|
* 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
|
* Fix a couple of warnings on Mac OS X.Neal Norwitz2006-02-241-1/+1
|
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-032-126/+136
| | | | they are now _self, _args and _kwds.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-182-408/+407
|
* The CF inheritance could cause double frees of the underlying objects.Jack Jansen2004-07-152-0/+11
| | | | Fixed.
* 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).