1. Ronald Oussoren
  2. pyobjc

Commits

Author Commit Message Date Builds
Ronald Oussoren
Some more changes to get this branch closer to full functionality. Some (most?) of these changes are hacks, I'm going into cleanup mode soon.
Branches
selector-cleanup
Ronald Oussoren
Look for copyWithZone_ in the class __dict__ instead of doing a getattr on the class, the latter will find the copyWithZone_ method in the meta class.
Branches
selector-cleanup
Ronald Oussoren
Rewrite tp_getattro of class objects. As with normal objects we need to call CheckMethodLists to pick up new categories.
Branches
selector-cleanup
Ronald Oussoren
- staticmethods are moved into the meta class to get the right behaviour [XXX: not 100% sure if this the correct, staticmethods are now no longer accessible through instances] - found an incompatibility: calls to super() in class methods should be changed in user code because class methods are now normal methods in the meta class.
Branches
selector-cleanup
Ronald Oussoren
The custom wrappers for class methods have been updated, luckily this was a change in one function in pyobjc-api.m (and a simular change in alloc_hack.m). Als update 'selector.isClassMethod', this is now True for all methods of a meta class (mostly for limited backward compatibility). The unittests no longer hang the interpreter, but not every tests passes at the moment. Some of these are to be expected (if an ObjC class has a class and instance method with the same name: MyClass.selector is now a class method instead of an instance method), others…
Branches
selector-cleanup
Ronald Oussoren
Getting closer... * Add metaclasses for python subclasses * Fix issues with signature replacement All custom wrappers for class methods must still be updated, they will now be called as if they are normal methods (self is a class, the class is a meta class) The new functionality also brings new opportunities for simplifying code. I want to get the functionality working and with full unittests before I start refa…
Branches
selector-cleanup
Ronald Oussoren
<Work-in-progress/> This is an initial stab at fixing bug #836247 by adding a parallel hierarchy of metaclasses (that is type(NSObject) is a subclass of objc.objc_class, not objc_class itself). This version is unstable and incomplete (see the news file for details).
Branches
selector-cleanup
Ronald Oussoren
Test for opaque pointers to structures (e.g. the NSModalSession mess).
Branches
pyobjc-ancient
Bob Ippolito
update NEWS
Branches
pyobjc-ancient
Bob Ippolito
spelling correction in comment
Branches
pyobjc-ancient
Bob Ippolito
remove Project Builder template initialization junk(!!)
Branches
pyobjc-ancient
Bob Ippolito
correct -hash to __hash__ mapping
Branches
pyobjc-ancient
Bob Ippolito
remove traces of project builder and old Xcode junk
Branches
pyobjc-ancient
Ronald Oussoren
Reneable code that recognizes pointers-to-structs in pointer-support.m. Someone had disabled this code without understanding why the code was there. This code recognizes that '^{NSModalSession}' is the same as '^{NSModalSession=ffff}'. This is needed because @encode(structPtr) returns the second result when the full declaration of a struct is seen while the first result is returned when there's just a forward declaration.
Branches
pyobjc-ancient
Ronald Oussoren
Hide Object, Protocol and List in loadBundle. These classes have been deprecated way, way back (when Cocoa was still named OpenStep) and shouldn't be used in real code.
Branches
pyobjc-ancient
Ronald Oussoren
* Add svn:ignore property to the examples and to the project root. In both cases to avoid messages about 'dist' and 'build' in svn status. * Move AppKit/test_bitmap.py to AppKit/test/ * Surpress messages to stderr in the unittests, anything that is printed during 'python setup.py test' is now cause for concern :-)
Branches
pyobjc-ancient
Bob Ippolito
tweaks to try and get Mail to work with it, but no luck. Mail sucks.
Branches
pyobjc-ancient
Bob Ippolito
Update news/readme for TinyURLService
Branches
pyobjc-ancient
Bob Ippolito
New TinyURLService
Branches
pyobjc-ancient
Ronald Oussoren
Change the interface of PyObjCObject_New, and drop the variants that are no longer needed. Also use PyObjCObject_NewTransient in more places. TODO: review all uses of PyObjCObject_New to see if those should use the transient API's as well.
Branches
pyobjc-ancient
Ronald Oussoren
Clean up the fix for bug 1206669 and use the same mechanism in custom IMP implementations.
Branches
pyobjc-ancient
Ronald Oussoren
A (partial?) fix for bug 1206669. This changes the generic IMP to not -retain self unless the Python proxy will stay alive when the IMP returns. This patch passes all unittests (including the one I added earlier today), but I haven't tested using real applications yet.
Branches
pyobjc-ancient
Ronald Oussoren
spurious test failure
Branches
pyobjc-ancient
Ronald Oussoren
Add a testcase for bug #1206669
Branches
pyobjc-ancient
Bob Ippolito
Should be called Key-Value Observing
Branches
pyobjc-ancient
Bob Ippolito
Integrate "classes" and "intro", toss the largely redundant "classes"
Branches
pyobjc-ancient
Bob Ippolito
bump version, fix typo in OutlineEdit example
Branches
pyobjc-ancient
Ronald Oussoren
spurious test-failure in the signature of python special methods
Branches
pyobjc-ancient
Bob Ippolito
Fix plugin bug, should be done as a "1.3.6" release.. doh
Bob Ippolito
Bump version to 1.3.9 Remove references to Project Builder
Branches
pyobjc-ancient
  1. Prev
  2. Next