Commits

Author Commit Message Labels Comments Date
Ronald Oussoren
Decreasing a refcount where we shouldn't
Ronald Oussoren
- Fix bug in _AppKitMapping_NSBezierPath (+unittest) - Don't run some NSFont tests on Jaguar (due to bug in Cocoa)
Ronald Oussoren
- Fix NSRectFillList - Prepare for 1.0rc3
Bill Bumgarner
worked around bug in gcc by reformatting warning. oops.
Bill Bumgarner
array.array('f', ...) style arguments now work with NSRectFillList() again. Added a fudge factor a malloc() call in the tuple-style NSRectFillList() that causes it not to crash. The real reason why it crashes should be determined and fixed.
Ronald Oussoren
- Updated HTML files - Update NEWS (after doing the 1.0rc2 upload :-() - Add wrapper for -getLineDash:count:phase: in NSBezierPath (bug #789209)
Ronald Oussoren
Getting ready for 1.0rc2
Ronald Oussoren
NS*WindowLevel is a define in Objective-C. We had some code for explicitly adding those definitions to the python wrapper, but never tested that. Guess what, it didn't work :-(
Just van Rossum
as discussed on the list, privide modulefinder.py for 2.2 compatibility
Ronald Oussoren
- Add unittest for calling methods on unitialized objects - Swallow warnings in the test of the methods in our category on NSAutoreleasePool. This makes the output of the unittests nicer.
Ronald Oussoren
- The comment in NSAutoreleasePoolSupport.m was no longer up-to-date - Issue a warning instead of always printing something when someone calls a method of uninitialized object.
Ronald Oussoren
Make the code generator more platform independent
Ronald Oussoren
- add wrapper for NSCoder decodeBytesWithReturnedLength: + more tests - don't realloc(NULL, ...) in class-list.m, use malloc instead.
Ronald Oussoren
- Work better with type 'bool' (Objective-C) - Other workaround for bug #77308 PyTuple_Type is not 'Ready' when entering init_objc, that's normal. It is also not ready during calls to _convenience.py while __dict__ is set. That is not normal and causes a crash. Calling PyType_Ready on the tuple type makes sure the type is ready, which means we no longer get a crash.
Ronald Oussoren
- Don't disable the wrapper for initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel: in _AppKitMapping_NSBitmapImageRep.m - Remove unused variable in OC_PythonObject.m - Add support for type bool in objc_support.[hm].
Ronald Oussoren
- Minor documentation updates - Wrapper for -getTIFFCompressionTypes:count: in NSBitmapImageRep, solves bug #789205 - Fix regexp used in strconst_generator.py, which means we can now access even more constants from Python :-)
Ronald Oussoren
- Slightly strengthen the test for instance methods in PyObjCTools.KeyValueCoding.getKey - Fix bug #789193, this turned out to be a bug in the PyObjC core (also added a unittest for this)
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…
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.
Ronald Oussoren
- add correct support for NSFont.fontWithName_matrix_ and NSFont.matrix - also add NSFontIdentityMatrix - and add a testcase for this
Ronald Oussoren
Updates for 1.0rc1 + remove bad link in Doc/index.txt
Ronald Oussoren
Avoid warning about missing package init
Ronald Oussoren
Multiple-inheritance didn't work if the base-class is an old-style class. (bug #785980) The original poster seems to have been lucky, I got segmentation faults on the new testcase.
Jack Jansen
Updated the tutorial to include Bob's comments, and added the most important missing information. Navigating an Apple example still remains to be done.
Ronald Oussoren
Test that the addressbook framework can be used.
Ronald Oussoren
More documentation updates. The end-user documentation should be fairly complete by now.
Ronald Oussoren
disable a dependency on an installed version of PyObjC
Ronald Oussoren
- Remove users.txt and warts.txt (+ HTML version), the information in these files has been transfered to intro.txt - Update PyObjCTools.txt - Clearly state the pyobjc-api.h is not yet a stable api in wrapping.txt and C-API.txt. - Add a note about triple-quoted strings to PB-SytaxHighlighting.txt - Update TODO - Regenerate HTML
Ronald Oussoren
- Fix typo in AppKit.__init__ - NSSelectorFromString, NSStringFromSelector, NSStringFromClass: these are automaticly wrapped, don't bother with pure python version (silences warning of epydoc, and saves us a discussion on the merits of that warning) - Fix typo in objc.__init__ - Workaround for crash in 'pydoc Foundation' (in objc._convenience). This isn't a real bugfix, but I can't find the actual bug at the moment. - …
Ronald Oussoren
- objc.objc_class.__name__ didn't work, that caused problems with pydoc. - NSMake{Rect,Size,Point} are functions in Foundation, not AppKit. Keep the definitions in AppKit for backward compatibility. - Optimize PyObjSelector_FindNative: __foo__ methods will never be found in native classes. This is very helpfull with pydoc.
  1. Prev
  2. Next