Source

pyobjc / pyobjc / Modules / objc / unittest.m

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
- 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
- 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
2 major changes: - Support for GNUstep - Support for PEP311 Also: - Add wrappers for SecurityInterface framework - Add simple unittests for all frameworks, to be sure that the wrappers can be used. - Add wrappers for newly introduced difficult methods (and some old) - Add annotation to method signatures (in, out, inout) where applicable. - Add partial support for PEP311: it is now always save to call from Objective-C into Python using easy methods (e.g…