Commits

Author Commit Message Labels Comments Date
Ronald Oussoren
UniChar is typedef for unsigned short, not signed short.
Ronald Oussoren
Add implementation of NSDictionaryOfVariableBindings This adds a trivial implementation of NSDictionaryOfVariableBindings. The difference with ObjC is that the arguments are strings, not identifiers. The latter cannot be implemented in Python. Fixes issue #8
Ronald Oussoren
PyObjCTools.Debugging doesn't work with Python 3.x (issue #14) This checking ensures that PyObjCTools.Debugging can work with python 3.x, by removing "u" prefixes before unicode literals, adding "b" prefixes before bytes literals and moving to print-as-a-function. Also adds a minimal testsuite for the Debugging module, which is far from perfect right now (it doesn't actually test that exception logging works)
Ronald Oussoren
Also compile without warnings with python 3.2 and 3.3 also: add 'pragma message' for the testproperties.m file to tell users that the warnings are expected also: update distribute version in distribute_setup.py to 0.6.28 because that's needed for python 3.3 support
Ronald Oussoren
Ensure code compiles without warnings Some minor code changes and addition off 'pragma ... diagnostic ignore ...' to avoid compiler warnings. The whole build for python 2.7 is now without warnings, except for some warnings in Modules/objc/test/properties.m that cannot be silenced using a pragma (and cannot be fixed by code changes because the current code is intentional and needed for the tests)
Ronald Oussoren
Fix test failure for the creation of formal protocols
Ronald Oussoren
Surpress deprecation warning in the FSRef bindings
Ronald Oussoren
merge with CPython repository
Ronald Oussoren
Fix refcounting issue in manual wrapper The custom wrapper incorrectly assumed that the returned value was owned by the caller and therefore called CFRetain too much. This caused crashes on OSX 10.8 (and for some reason happened to work fine on earlier OSX releases)
Ronald Oussoren
Add missing calls to [super init] in the initializers for OC_PythonString and OC_PythonUnicode
Ronald Oussoren
avoid test failure
David Euresti
Fix slow import of AppHelper Because AppKit now lazy loads all its modules, the 'from AppKit import *' at the beginning of this file was taking around 5 seconds on my machine. The solution is to get rid of the import * and only import the stuff you need.
Dwayne Litzenberger
Fix importing CoreFoundation on OSX 10.4 (Tiger) when using a newer SDK. PyObjC binaries fail to load on 10.4 if they were built against the 10.5 SDK, even if -mmacosx-version-min=10.4 was set, because they're still linked to symbols from CFFileDescriptor[1], which was introduced in OS X v10.5. The error happens when the CoreFoundation module is imported, and the backtrace looks something like this: File "CoreFoundation/_CoreFoundation.pyc", line 11, in __load …
Ronald Oussoren
Tests are now complete, 2 test failures
Ronald Oussoren
Initial wrappers for EventKit framework Tests are incomplete, will change soon
Ronald Oussoren
Documentation update
Ronald Oussoren
Use /System/Library/Frameworks/CFNetwork.framework when available (This is the location on OSX 10.8 or later, the old location also works but might fail in later releases)
Ronald Oussoren
Avoid ResourceWarning
Ronald Oussoren
Remove partial update A previous check-in accidently commited a work-in-progress update to the AddressBook bindings
Ronald Oussoren
Don't use deprecated functionality
Ronald Oussoren
typo fix
Ronald Oussoren
Use ``with open(...)`` to explictly close files
Ronald Oussoren
Fix NSObject comparison issue
Ronald Oussoren
merge
Ronald Oussoren
fix metadata
Ronald Oussoren
XgridFoundation is gone in OSX 10.8
Ronald Oussoren
Test tweaks
Ronald Oussoren
A number of ML related changed 1) Be explicit about the return type of methods, don't rely on the implict 'id' result This avoids warnings with recent versions of clang. 2) Start using 'instancetype' return type for class methods that create new instances Allows for better warnings with recent clang versions. Also add backward compatibility define that ensures that the code still compiles with older compilers. …
Ronald Oussoren
Improve API Notes
Ronald Oussoren
Add some missing CoreText testcases (with incomplete implementation)
  1. Prev
  2. Next