Source

pyobjc / pyobjc / Doc / TODO

Author Commit Message Labels Comments Date
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…
Tags
pyobjc-1.1b1
Ronald Oussoren
Make sure GNUstep works again (mostly)
Ronald Oussoren
Prepare for 1.1a0 release
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…
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…
Ronald Oussoren
- Add support for KeyValueCoding observations (MacOS X 10.3). That is, observeValueForKeyPath:ofObject:change:context: will now be called for "pure python" keys. - Add unittests for the first item - Don't convert NSDecimalNumber to a Python float, we loose information that way. Todo: special methods (__add__ and the like) for this class.
Ronald Oussoren
- Fix indentation in the new OpenGL code - Use PyObjC_PythonToObjC instead of the numeric conversion functions from Python.h (also in the OpenGL code). - Assume NSOpenGLPixelFormat.getValues_forAttribute_forVirtualScreen_ has a single output parameter. I don't really understand what the documentation tries to tell me, but this should be mostly correct. - Fix PyObjC_CallPython, is used to abort when calling class methods, that's n…
Ronald Oussoren
- Fix bug #830342 (NSNib.instantiateNibWithOwner:topLevelObjects: signature) - Fix bug #830343 (Type in PyObjCTools.AppHelper) - Fix bug #828911 (Bad wrapping for NSModalSession type) - check if the signature passed to objc.selector is valid. - fix some in-line documentation - fix Examples/HelloWorld.py - remove call to abort in objc_support.m - add a test for the fix for #828911, this is not yet part of the unittests because it requires full GUI access.
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…
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
- 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…
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
Minor code cleanup: - fix indentation - use PyObjCUnsupportedMethod_IMP for some non-implemented method wrappers, instead of hard-coding aborting implementations. - fix NSFillRects: it now accepts lists of NSRects. The old implementation is still present. - move custom mappings for NSBitmap to a seperate file.
Ronald Oussoren
- Much improved NSKeyValueCoding support, including a python module that makes it possible to use Key-Value Coding with unmodified plain python classes. Lightly tested, but including unittests. - Adapted Scripts/CodeGenerators to deal with 'static inline' functions (in Foundation), and some more basic C types. - Fix names in objc.module (recycle_autorelease_pool -> recycleAutoreleasePool, and simularly for some other internal functions) - Move some 'convert' functions from Scripts/CodeGenerators to the PyObjC API. - Start documentation for PyObjCTools package, and updates for the…
Ronald Oussoren
- Add some tests for the custom wrappers of methods in the Foundation frameworks. This is work in progress, more tests are needed (see next item for an example of why tests are usefull). - Fix the bugs found by these tests, including a cut&paste bug that affects lots of calls to PyArg_ParseTuple. Previous version would crash if you use the API incorrectly (wrong number of arguments, wrong values). - Add a Cocoa-Python-ObjC Document-based Application template…
Ronald Oussoren
- Methods with output parameters and a 'void' return type are wrapped slightly differently from normal methods with output parameters: 1) The 'original' return value is no longer part of the tuple, this is a more natural translation to Python 2) If there is only 1 output parameter the method returns the value of that parameter instead of a tuple containing that value. TODO: update documentation - Also update the Todo example to deal with this change - Also …
Ronald Oussoren
- Add a freelist for PyObjCObject, I'm not yet sure if this really helps, a freelist for PyObjCSelector would probably be more usefull. - Fix bug in previous patch: we'd sometimes try to free the '-1' methodlist :-( - Update TODO
Ronald Oussoren
- Minor documentation updates, the real updates have to wait for a print-out - Fix the key-value encoding stuff (that is: uninttest pass). I don't like the solution yet. - Make sure examples actually work. - CodeGenerator script should only emit code if the current version is stale, hack this in using 'dupfile'.
Ronald Oussoren
- Make the generator script less verbose, to avoid scaring users - Make sure the generator script works correctly on systems without PyObjC - Get ready for a 1.0b1 release - Find NSString constants using CFBundle functions, this way a PyObjC build on a system with WebCore SDK can be used on a system without Safari 1.0
Ronald Oussoren
- Some documentation cleanups - Localized Examples/EnvironmentPrefs (English and Dutch) - __dict__ of 'uninitialized' classes is no longer empty - Added custom wrappers for NSWindow (-windowRef and -initWithWindowRef:) - Regenerated wrappers scripts on a system with Safari 1.0 & WebCore SDK, this adds the constants that are necessary for development using webcore. NOTE: This means you have to install webcore SDK before bui…
Ronald Oussoren
- Documentation updates - Some more work on adding helper functions for difficult methods - AddressBook/__init__.py now imports AppKit, this is needed to correctly load the AppKit helper functions and definitions. I've also added an item to the TODO list for this, it should be fixed in a less fragile way.
Ronald Oussoren
- Added simple tests for pyobjc_instanceMethods and pyobjc_classMethods attributes of classes and instances. Also fixed the bugs indicated by these tests. - Worked my way through the output of Scripts/find-raw-pointers.py and added stubs for the difficult methods to Modules/{AppKit,Foundation}, most of these have not been implemented. Also added text related to this to Doc/api-notes-macosx.txt - Removed mapping of reverseObjectEnumerator on __iter__, that is…
Ronald Oussoren
- Added functions to the pyobjc-api that can be used to tell that some difficult methods are not supported. - PyObjCTools.pluginbuilder is an extension to bundlebuilder that makes it easy to build python-based plugin bundles. This is fairly experimental, and should probably be merged into bundlebuilder after it stabelizes and is cleaned up. - Examples/PrefPane uses this to build a simple System Preferences plugin.
Ronald Oussoren
/tmp/cvs9NJIkx
Ronald Oussoren
- Enable more warnings during compilation, and fix the resulting messages - Add wrappers for decoding of plain ObjC types (NSCoding) - Add NS{Mutable,}Dictionary.items() - Regenerate Doc/*.html - Add a document that will contain information about how the Cocoa API's as exposed by PyObjC are different from the Objective-C API's. - Add script to run all tests in 1 python session, this is a script by Dinu Gherman with minor updates by me.
Ronald Oussoren
+-----+ | * * | <-- Ronald in a brown paper bag :-( | | I found the culprit for the problems I was having with the +-----+ move of instance state to Objective-C: Some bogus code in | | class-builder.m. This patch also cleans up the unittests (remove 'suite' definitions, these weren't used anyway). Dinu's allTestsTogether.py caused some crashes, these are also fixed.
Ronald Oussoren
- More cleanups - This also fixes some refcounting problems in objc_util.m Python 2.2 builds are horribly broken at the moment, this looks refcount related.
Ronald Oussoren
- More documentation updates - Remove unnecessary comment from addressbook.py - Cleanup iClass example - method-accessor.py now recognizes special attributes ('__name') and shortcuts there evaluation (only __class__ is really supported, others will raise an AttributeError. Needed for iClass: type(NSFault.pyobjc_instanceMethods) would crash. - AppHelper: Move call to NSLog inside the if-statement, for slightly nicer en…
Ronald Oussoren
More prerelease documentation work: - Merge what's left of BUGS and FIXME into Doc/TODO - INSTALL -> Install.txt, with some updates - Rewrite ReadMe.txt, move older readmes to HISTORIC.txt (that used to be README-OLD.txt) - Rewrite ReadMe in the installer, modified version of the main ReadMe. - Update version in Description.plist - make_distrib.py makes sure that we'll install the HTML version of the documentation and includes H…
  1. Prev
  2. 1
  3. 2
  4. Next