Commits

Author Commit Message Labels Comments Date
Ronald Oussoren
Better support for numbers - Convert python floats and longs to NSNumber when translating to Objective-C objects (just like python ints) - Add support for __add__ and the like to the NSNumber proxy. This actually adds then to NSCFNumber, that's the only way I've found to do this without losing information.
Ronald Oussoren
[object respondsToSelector:aSel] should not be used to check if object responds to aSel, use ([object methodSignatureForSelector:aSel] != nil) instead, especially because we use that method anyway.
Ronald Oussoren
Make sure that negative indices work as expected for the __getitem__ of NSArray
Bill Bumgarner
Added autoreadme.py example-- this is a part of an upcoming article on PyObjC.
Ronald Oussoren
- Make libffi_support.m slightly cleaner - Convert 'self' argument to an objective-C object when it isn't already (just like for normal arguments, except we don't wrap normal python objects). - Added test_nsstring.py that uses the previous feature
Ronald Oussoren
Brown paper bag patch... Really disable libffi support this time. Also do not strip libraries, it is better to do that when building standalone .app bundles (if needed at all).
Just van Rossum
- printTemplate: use 4 spaces to indent instead of tabs - normpath nib path so it also accepts nib paths of the form "path/to/myproject.nib/" (with trailing path sep)
Ronald Oussoren
Added documentation on libffi.
Ronald Oussoren
libffi support should be off by default
Ronald Oussoren
- setup.py: By default strip the .so files, this seriously reduces the size of module objc._objc. - First stab at support for libffi, off by default. * Edit setup.py to enable. * Needs libffi from GCC (NOT the libffi-release on sources.redhat.com) - Minor bugfix for execute_and_pythonify_objc_method (copy-paste error)
Bill Bumgarner
Thought I already committed these...
Ronald Oussoren
Change version string to make it different from the latest release.
Ronald Oussoren
- If the 'verbose' flag is on we print a traceback when translating an exception from Python to Objective-C. This should make it easier to debug GUI programs. - Lazily initialize the class method list in proxy classes. This significantly speeds up importing AppKit (from 3 to 1 seconds on my machine).
Ronald Oussoren
- Completely disable recognizition of methods that don't 'autorelease' their return value, because that flag wasn't used anyway. - Speed up looking for replacement signatures.
Ronald Oussoren
Code cleanup: write nicer messages to stderr and use snprintf instead of sprintf
Ronald Oussoren
Fix compiletime warning due to incomplete prototype.
Ronald Oussoren
Use objc.loadBundle when loading the Objective-C bundle.
Ronald Oussoren
- (pyobjc*.h) Better #if tests guarding the definitions of PyBool_* compatibility macros - Added a verbosity level. This will be used to control wether some messages should be printed (usefull while debugging PyObjC based programs) - add objc.loadBundle, a C function for loading a bundle (slightly faster than Foundation.load_bundle).
Ronald Oussoren
Minor code cleanup. This also adds an NSEnumerator subclass for [OC_PythonDictionary -keyEnumerator], which removes a memory leak.
Ronald Oussoren
Add missing buildapp.py to iClass example.
Ronald Oussoren
Disable -O0 flag, use the default python optimisation flags. Should be slightly faster.
Ronald Oussoren
setup.py is complaining about objc.test and Foundation.test not being packages. These dummy files silence these warnings.
Bill Bumgarner
announced 0.8
Bill Bumgarner
Final 0.8 version.
Tags
pyobjc-0.8
Bill Bumgarner
added 0.8 release candidate... this is admittedly wrong.
Bill Bumgarner
Changes to packaging and templates; 0.8 release candidate.
Ronald Oussoren
Remove reference to the python object when destroying the objective-C half of a python/objective-C hybrid object.
Ronald Oussoren
Print outlets even when the class doesn't have actions.
Bill Bumgarner
Many, many changes in preparation for a 0.8 release. ChangeLog should contain a brief description of all of the changes.
Bill Bumgarner
Added a NSAutoreleasePool test that is currently failing.
  1. Prev
  2. Next