1. Ronald Oussoren
  2. pyobjc

Source

pyobjc / setup.py

Author Commit Message Date Builds
Ronald Oussoren
GNUstep: AppKit and AddressBook now "work" on GNUstep (barely tested, the regression-tests work fine but I haven't tried GUI programming on GNUstep yet) Also some minor cleanup
Branches
pyobjc-ancient
Bob Ippolito
demonstrate bug-958093: pointer support interferes with initialization
Branches
pyobjc-ancient
Ronald Oussoren
* Enable PYOBJC_NEW_INITIALIZER_PATTERN code, it's much better then the alternative * Remove some #if-def-ed code * Reintroduce PyMem_Malloc and friends, except in places where that would not be safe * Fix some minor memory management bugs * Remove a speed-hack in class-list.m
Branches
pyobjc-ancient
Ronald Oussoren
the objc_object field of an PyObjCObject may be nil, make sure the getattro and setattro methods don't crash when this happens. ReSTEdit still doesn't work, but at least we get a nice python exception :-) BTW. This patch is needed even when we enable PYOBJC_NEW_INITIALIZER_PATTERN
Branches
pyobjc-ancient
Bob Ippolito
Contrive a bizarre really hard to debug situation that works with the new initializer pattern but not the old. p.s. Ronald, turn on -O0 before even trying to track it down .. ;)
Branches
pyobjc-ancient
Ronald Oussoren
Disable PYOBJC_NEW_INITIALIZER_PATTERN, (1) it is too close to a release to make functional changes and (2) I'm not sure this is a good idea.
Branches
pyobjc-ancient
Bob Ippolito
Ignore "returnsSelf" and "isInitializer" when PYOBJC_NEW_INITIALIZATION_PATTERN is defined. This makes PyObjC use the canonical designated initializer pattern, namely, anything called after alloc should be considered the designated initializer. Pros: - It makes PyObjC behave more like ObjC. - Correct code no longer crashes or requires selector wrappers. Cons: - Code that does not initialize properly is probably going to crash, where it was previously throwing a warning and leaking some memory.
Branches
pyobjc-ancient
Ronald Oussoren
- Change all calls to PyMem_ to regular C memory allocation calls. Note that most memory allocation could by done using PyMem_, I just don't feel like checking which are not safe at the moment. Without this change I cannot use a --with-pydebug build of python. - Fix errors found by a --with-pydebug build of python. The reason I wanted a --with-pydebug build in the first place is that PyObjC crashes on Jaguar (when running the unittests, both Py2.3 and Py…
Branches
pyobjc-ancient
Ronald Oussoren
- Work-around for KVO problems seen in Examples/kvo-debugging.py - What this does: the __getattribute__ of objc_object instances checks if the actual ISA is different from its Python equivalent. If so, check the dict of the wrapper of the actual ISA before doing the normal lookup. - There is at least one, and possibly two problems left: 1. (Verified): objects that have ever been observed won't get deallocated 2. I'm not sure what happens when the only …
Branches
pyobjc-ancient
Ronald Oussoren
- Change my e-mail address - Python 2.2 work: - revive autoGIL - don't give up GIL when calling into Objective-C - both only for Python 2.2 - Fix compile time warnings - PyObjCGILState_Ensure is an alias for PyGILState_Ensure again, the additional work should no longer be necessary now that we don't use autoreleased objects when converting strings to Python.
Branches
pyobjc-ancient
Ronald Oussoren
- Code cleanup - Don't release/dealloc objects that are uninitialized, there is no reliable way to free memory.
Branches
pyobjc-ancient
Bob Ippolito
Added ExceptionHandler
Branches
pyobjc-ancient
Bob Ippolito
Moved GIL macros to pyobjc-api.h, because they're useful outside of objc core Added _machsignals and PyObjCTools.MachSignals: mach port magic to safely and efficiently handle signals from event loops
Branches
pyobjc-ancient
Bob Ippolito
autoGIL no longer necessary
Branches
pyobjc-ancient
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…
Branches
pyobjc-ancient
Ronald Oussoren
Make sure GNUstep works again (mostly)
Branches
pyobjc-ancient
Ronald Oussoren
- Give a more usefull error message when a method implementation runs of the end of the function - Recreate HTML files - Create seperate directories for the 10.2 and 10.3 installer - Version is now 1.1a0 - Add wrapper for SecurityInterface (Panther) This is not very usefull, but it is an Apple defined Objective-C framework. - Make CodeGen scripts smart enough to detect enums in SecurityInterface
Branches
pyobjc-ancient
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…
Branches
pyobjc-ancient
Ronald Oussoren
- Move creation of CIFs and closures to seperate functions (libffi_support.m) - Use those functions to remove the need for find_real_superclass in class-builder.m - Make sure users cannot delete selectors from classes, we cannot remove them from the Objective-C runtime either. - the IMPs for python-based methods in class-builder.m should contain a hard binding to the python callable (needed for Key-Value Observing). - Update the wrappers for Foundation and AppKit to u…
Branches
pyobjc-ancient
Ronald Oussoren
- Add test-cases that check the DeprecationWarnings for the NSAutoreleasePool addition and syncFromNSString - Silence these deprecation-warnings in the regular tests - Make sure setting DeprecationWarnings to errors actually work in the NSAutoreleasePool additions. - Add more missing function wrappers
Branches
pyobjc-ancient
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 :-(
Branches
pyobjc-ancient
Bob Ippolito
tabs -> spaces, better check for bug#839536
Branches
pyobjc-ancient
Bob Ippolito
Quick fix for bug#839536
Branches
pyobjc-ancient
Ronald Oussoren
- Update documentation for the new example - Deprecate objc.pyobjc_unicode.syncNSString - Some gnustep fixes
Branches
pyobjc-ancient
Bob Ippolito
test for bug #836247
Branches
pyobjc-ancient
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…
Branches
pyobjc-ancient
Ronald Oussoren
- Fix NSRectFillList - Prepare for 1.0rc3
Branches
pyobjc-ancient
Ronald Oussoren
Getting ready for 1.0rc2
Branches
pyobjc-ancient
Ronald Oussoren
- Try to clear up a number of exception messages - OC_PythonObject methods -valueForKey and -takeValue:forKey: are now implemented using getKey and setKey from PyObjCTools.KeyValueCoding. - Remove the KeyValueCodingMixIn class from that module, it's not necessary. - Make Doc/wrapping.txt slightly less confusing, based on input by Pierce T. Wetter III <pierce (at) twinforces (dot) com> - the getKey function now checks if object.key is a metho…
Branches
pyobjc-ancient
Bill Bumgarner
Added tests for key/value coding compliance that is in line with the Objective-C implementation. Added mix-in class to KeyValueCoding.py that can be added to any Python class to make it compatible with key/value coding when passed across the bridge into Python-- for performance reasons, it might make more sense to implement said code in the bridge itself.
Branches
pyobjc-ancient
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. Next