Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 2 | -3619/+3619 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 2 | -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 PyBytes | Christian Heimes | 2008-05-26 | 2 | -18/+18 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+0 |
| | |||||
* | bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier. | Georg Brandl | 2007-09-12 | 3 | -0/+3 |
| | |||||
* | Fix bug #1000914 (again). | Ronald Oussoren | 2006-05-20 | 1 | -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 Norwitz | 2006-03-20 | 1 | -2/+2 |
| | |||||
* | Fix a couple of warnings on Mac OS X. | Neal Norwitz | 2006-02-24 | 1 | -1/+1 |
| | |||||
* | Updated (and regenerated) for name change in tp_init method arguments: | Jack Jansen | 2005-07-03 | 2 | -126/+136 |
| | | | | they are now _self, _args and _kwds. | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 2 | -408/+407 |
| | |||||
* | The CF inheritance could cause double frees of the underlying objects. | Jack Jansen | 2004-07-15 | 2 | -0/+11 |
| | | | | Fixed. | ||||
* | 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). |