Commits

Show all
Author Commit Message Labels Comments Date
Ronald Oussoren
fix py3k issues in the testsuite
Ronald Oussoren
Ensure that 'bundle' argument of 'loadBundleFunctions' can be None Use this to remove the 'bundle' argument from 'parseBridgeSupport()', that function was new in 2.5 and changed the public API of 2.3. Also adds hash slot to python selectors, needed because and earlier check-in added a richcmp slot.
Ronald Oussoren
Finish tests for bridgesupport parser, still need to test the public API
Ronald Oussoren
start work on bridgesupport tests for function metadata
Ronald Oussoren
bridgesupport test: finish testing class metadata
Ronald Oussoren
More work on bridgesupport tests (with some bugfixes)
Ronald Oussoren
Work on stricter tests for bridgesupport format The new test is incomplete, when it is done all supported metadata nodes will be parsed and verified.
Ronald Oussoren
more test updates
Ronald Oussoren
* Improved test coverage * Start splitting metadata documentation from the main documentation (and while doing that add more information). The metadata documentation is far from complete right now.
Ronald Oussoren
Futher improvements in testsuite, with cleanups
Ronald Oussoren
yet more tests
Ronald Oussoren
More tests and documentation tweak
Ronald Oussoren
More tests
Ronald Oussoren
Add tests for objc.context
Ronald Oussoren
merge
Ronald Oussoren
Remove call to objc.setVerbose from testcase The calls makes the bridge more verbose, and that breaks a later test.
Branches
pyobjc-2.4.x
Ronald Oussoren
merge
Ronald Oussoren
Fix metadata for copy methods
Branches
pyobjc-2.4.x
Ronald Oussoren
Fix some py3k issues
Ronald Oussoren
Improvements to the struct wrappers * Add _asdict(), _replace() and _fields to struct wrappers These mirror the namedtuple API. The long term goal is to make struct wrappers immutable, these new additions allow experimentation w.r.t. the feasability of that goal and provide a smooth migration path. * Improve documentation for createStructType
Ronald Oussoren
Improve testing for _compat * full test coverage for (deprecated) objc.runtime * remove Runtime.__eq__, as it has the same semantics as the default __eq__ * fix objc.splitStruct backward compatibility alias and add tests
Ronald Oussoren
Use DeprecationWarning for deprecated API
Ronald Oussoren
* Slightly better testing for objc.protocolNamed (now 100% coverage according to coverage.py) * Surpress some warnings during testing
Ronald Oussoren
Use DeprecationWarning for deprecated API
Ronald Oussoren
Updates * Good test coverage for objc.accessor (as well as Accessor and typedAccessor) * All functions in Lib/objc/_decorators.py are now properly documented NOTE: callbackFor and selectorFor are not yet tested
Ronald Oussoren
Improved testing and documentation for functions in objc._descriptors Documentation update is incomplete, not yet at 100% test coverage.
Ronald Oussoren
Fix py3k issues in bridgesupport code Also fixes python 2 data types when metadata contains a string constant that contains unicode characters but claims to be a C string (not NSString)
Ronald Oussoren
- Struct types created by the framework wrappers once again create class methods on :class:`objc.ivar` to generate instance variables of that type:: myLocation = objc.ivar.NSPoint() This has the same result as:: myLocation = objc.ivar(typer=NSPoint.__typestr__) - Added :func:`objc.createStructAlias`, and deprecated :func:`objc.registerStructAlias`. The new function has a "name" argument and can register types with the :class:`objc.ivar` type (see previous item) NOTE: This restores some (undocumented) functionality from PyObj…
Ronald Oussoren
Validate the metadata generated from bridgesuport files (Tests for objc._bridgesupport are not complete yet, this only checks that bridgesupport files get parsed into something we can use)
Ronald Oussoren
Some small changes that ensure all bridgesupport files on OSX 10.8 can be parsed * Testing is not complete * Remove the regression test from test_splitsig, that wasn't a regression but a broken encoding in a bridgesupport file (see also Lib/objc/_bridgesupport.py for a rant)
  1. Prev
  2. Next