Commits

Show all
Author Commit Message Labels Comments Date
Ronald Oussoren
- Check output from Scripts/find-raw-pointers.py, and fix issues - Rename objc.Accessor to objc.accessor. objc.Accessor still exists, to but generates a warning. - Move all extension modules to toplevel for consistency, and remove leftover extension modules from older releases when installing. - Add a note about Cocoa Bindings to the documentation. - Sync MPCompat with current Python version - Some Python2.2/Jaguar related fixes - Fix struct-wrapper (t…
Tags
pyobjc-1.1b1
Ronald Oussoren
Updates for the 1.1b1 release
Bob Ippolito
Bring in NSString* constants guarded with availability macros, such as NSStreamSocketSecurityLevelNone
Bill Bumgarner
Added Accessor() for creating signatures for KVC compliant method.
Bill Bumgarner
Fixed a typo.
Ronald Oussoren
- Add 'File Templates' for various types of Python files (Xcode) - make_distrib.py: * Install the file templates where they will be picked up by Xcode * Make the release-dir more usefull - Update version number to 1.1a1 - Add getObjects:inRange: to OC_PythonArray Cocoa calls this method when an instance of OC_PythonArray is used as the value for setObject:forKey: in NSUserDefaults. Never mind that this method is not documented...
Ronald Oussoren
Make sure GNUstep works again (mostly)
Ronald Oussoren
Partial fix for bug #888270. The right solution would call a post-build script that copies the right files (less fragile).
Ronald Oussoren
AppKit.NSViewFrameDidChangeNotification had disappeared due to a buglet in the CodeGenerator scripts.
Ronald Oussoren
This fixes the symptoms(sp?) of a bug, not sure if this is the correct fix... The bug: I sometimes get 'SystemError: error return without exception set' when I have a typo in the name of an initialiser method. This never happens on the toplevel, but in a callback. The bug is always triggered by code like this: foo = SomeClass.alloc().inti() # Oops can't spell init The "fix" saves the exception information before actually deallocating the uninitialized Objective-C object …
Ronald Oussoren
- Better fix for addressbook.py: explicitly access the type of the object instead of hardcoding a class name - Use PyMem_Malloc et. al. instead of malloc We were sometimes PyMem_Free-ing malloc-ed data :-( - Minor fix for GNU runtime: in class-list.m GNU runtime support is not working at the moment, it is not possible to define new classes.
Bill Bumgarner
Fixed bug in addressbook.py. It was using the properties() class method invoked through an instance reference. While this used to work, it was broken and fixing PyObjC broke the addressbook.py script.
Ronald Oussoren
Prepare for 1.1a0 release
Ronald Oussoren
Prepare for the 1.1a0 release: - Recreate the PyObjC documentation PHP - Update the news file - Add an 'unstable' packman database Also: add some more historic information (there really was an ObjC interface in the Python core once: python 1.3).
Ronald Oussoren
- Give a more usefull error message when a method implementation runs of the end of the function - Recreate HTML files - Create seperate directories for the 10.2 and 10.3 installer - Version is now 1.1a0 - Add wrapper for SecurityInterface (Panther) This is not very usefull, but it is an Apple defined Objective-C framework. - Make CodeGen scripts smart enough to detect enums in SecurityInterface
Bob Ippolito
fixed keyword to match documentation, fixed documentation to match order
Bob Ippolito
(formatting only) detabbed, removed end of line whitespace and \ continuation
Ronald Oussoren
Forgot to add two new files in my last checkin.
Ronald Oussoren
- Scripts/gen_test_methods.py now creates testbndl2.m and test_methods2.py with some conditional code to make sure we can perform all tests on MacOS X, while not causing problems on GNUstep (which doesn't have a 'bool' type at the moment). - Add 'MAC_OS_X_VERSION*' values to the objc module, allows easier version checking in Python (probably only usefull in the unittests). - Remove ObjCErr_Set, which was basically a reimplementation of PyErr_Format - Remove Scrip…
Ronald Oussoren
- Various changes to the CodeGenerator scripts to help building on GNUstep systems. - Move some tests from objc.test to AppKit.test - Fix some tests to make sure they work correctly on GNUstep - GNUstep portability fixes, PyObjC should be fairly usable on GNUstep now. - Fix bug in super-call.m: the Class for which special method-wrappers are registered was ignored. - Make sure the code compiles on MacOS X 10.1, it also passes most unittests. I'll probably erase my …
Ronald Oussoren
- Move creation of CIFs and closures to seperate functions (libffi_support.m) - Use those functions to remove the need for find_real_superclass in class-builder.m - Make sure users cannot delete selectors from classes, we cannot remove them from the Objective-C runtime either. - the IMPs for python-based methods in class-builder.m should contain a hard binding to the python callable (needed for Key-Value Observing). - Update the wrappers for Foundation and AppKit to u…
Ronald Oussoren
- Add test-cases that check the DeprecationWarnings for the NSAutoreleasePool addition and syncFromNSString - Silence these deprecation-warnings in the regular tests - Make sure setting DeprecationWarnings to errors actually work in the NSAutoreleasePool additions. - Add more missing function wrappers
Bill Bumgarner
Added unit test for grey scale images...
Ronald Oussoren
- Class methods are no longer callable through instances - Use PyObjC_PythonToCArray for more method implementations in Foundation - Slightly smarter code generators - Fix for bug 854294, by restructering some code we can make sure that ObjC classes are fully initialized before we use them. Before this checkin some classes were not fully initialized during subclassing :-(
Ronald Oussoren
- Add information about the user-visible effects of PyObjC_PythonToCArray - Fix bug 853553: Bad path for bundlebuilder.py on Panther
Bob Ippolito
Corrected signature for -[NSView knowsPageRange:]
Just van Rossum
rename ClassInfo.__slots__ to attrNames: it's an old style class so __slots__ has no effect, it's only for introspection here
Bill Bumgarner
Maybe really added the Xcode project template.
Ronald Oussoren
This adds a number of functions to the pyobjc-api that make it easier to convert variable-length arrays to and from ObjC. This API is used in the implementation of NSRectFill. The implementation of PyObjC_PythonToCArray contains special support for array.array, and numarray/Numeric support should be added in the future. TODO: - Use the new API whenever an array + length is passed - Add documentation that describes the user-visible behaviour of the new code.
Bob Ippolito
NSStream signature fixes NSInputStream helpers (replacing the old) NSOutputStream helpers Fixed some typos, more apple event support
  1. Prev
  2. Next