Commits

Author Commit Message Labels Comments Date
Ronald Oussoren
Ensure tests for CFNetwork pass on OSX 10.8
Ronald Oussoren
Ensure tests pass on OSX 10.8. Als disable tests for 32-bit because the framework is not available there
Ronald Oussoren
Port wrappers to OSX 10.8
Ronald Oussoren
Fix most test failures on OSX 10.8 (still missing fix for a formal-protocol issue
Ronald Oussoren
merge
Ronald Oussoren
Initial scan of 10.8 headers for Accounts framework
Ronald Oussoren
Add missing metadata
Ronald Oussoren
Deprecate addConvenienceForSelector to enable work on issue #3 objc.addConvenienceForSelector makes it harder to implement the optimization mentioned in issue #3, I'm therefore deprecating this function. Also started work on removing the current use of that functionality from pyobjc-core, although much more work it needed.
Ronald Oussoren
Ensure that pyobjc-core is pip installable Without this patch you cannot install pyobjc-core using pip because pip assumes that 'egg_info' in setup.py refers to the setuptools command module, before this patch 'egg_info' was a local class in setup.py. Patch by Marc Abramowitz
Ronald Oussoren
Use runtime APIs for creating formal protocols With this patch PyObjC uses the OSX 10.7 runtime API for creating formal protocols. A compatibility API for doing this on OSX 10.6 (32-bit) is also provided.
Ronald Oussoren
Revert earlier change that only works with very recent clang snapshots
Ronald Oussoren
Use -getCharacters:range: instead of -getCharacers: The latter is both deprecated and unsave.
Ronald Oussoren
Always use an NSString as helper for OC_PythonUnicode * When sizeof(Py_UNICODE) == sizeof(unichar) we could work without the NSString, but for some reason that causes problems with some CFString APIs * Provide a number of __realObject__ implementations to optimize the creation of the NSString: don't copy actual string data unless really necessary * This checkin also adds caching for selector lookups, should slightly improve performance Thi…
Ronald Oussoren
Some string updates * Ensure !FAST_PATH works for python 2.x (already did so for 3.x) * Remove (already disabled) implementation for some private APIs in the NSString class cluster * Disable FAST_PATH support for now, I get unexplained test failures when FAST_PATH is enabled (in particular: CFStringTrim fails when running on OSX with the x86_64 architecture when the second argument is an OC_PythonUnicode ob…
Ronald Oussoren
Some more bugfixes, after testing on 3.3 as well
Ronald Oussoren
More work on python3 compatibility (with 2to3) * Fixes a number of issues in NSDecimal support, including some interpreter crashes * Almost all tests now pass on OSX 10.7 with python 2.7 and 3.2 (3.3 should also work, need to rerun the entire suite there), both x86_64 and i386
Ronald Oussoren
More py3k fixes
Ronald Oussoren
Ensure saner conversion from negative double to unsigned integers (the conversion is undefined by C according to information found on google, the current PyObjC implementation ensures that the conversion behaves simular to the conversion from signed integers to unsigned integers)
Ronald Oussoren
working on 2to3-less bootstrap
Ronald Oussoren
ensure code is valid python 2 and 3
Ronald Oussoren
Ensure tests pass
Ronald Oussoren
Add support for four-character-codes
Ronald Oussoren
Small metadata tweaks
Ronald Oussoren
Remove old metadata files, no longer needed
Ronald Oussoren
Fix test failure
Ronald Oussoren
Migrate to new metadata
Ronald Oussoren
Ensure code does what it promises Don't return NULL when typeid is 0, but return the wrapper for CFTypeRef, as promised by the comment. Without this we'd return NULL (error state), without raising a python exception.
Ronald Oussoren
Slightly better error checking Explicitly check the results of a Python API call instead of relying on the argument checking of the next call.
Ronald Oussoren
Move metadata file to seperate directory
Ronald Oussoren
Make doc argument optional
  1. Prev
  2. Next