Commits

Show all
Author Commit Message Labels Comments Date
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.
Ronald Oussoren
- Fix signature for a method in NSSavePanel - Add testcase for this - Noticed, but didn't fix, that we increase a reference count without releasing it in objc-class.m. Should be fixed later, this could cause problems with long-living applications.
Ronald Oussoren
- Disable the free-list for PyObjCObjects, the code is causing crashes with Python 2.2 and isn't enough of a win to bother with fixing it right now. - don't forget to update the version number and release date during a release. - PyObjCTools.KeyValueCodingSupport is already gone, also remove its testcases. - Don't create a full proxy object for self during the call to __del__ of proxied ObjC objects.
Just van Rossum
typo fix
Ronald Oussoren
ReST-ified NEWS, generate NEWS.html
Ronald Oussoren
- Fix markup error in 00README.txt (PB Templates), and likewise in C-API.txt - Enhance intro.txt - Add TODO note to api-notes-macosx.txt, because of previous item - update_html.py adds HTML version of PB Template readme to Docs - run update_html.py
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
A fairly new, incomplete module and made redudant by the new Key-Value coding support: just remove it.
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
Remove the documentation for the C-API from users.txt (not that there was a lot of documentation). Add a new file containing more elaborate documentation.
Ronald Oussoren
- Fix the test for -copy(WithZone:) - Make sure copy(WithZone:) actually works, this is needed to write custom NSCell for use in NSTableViews - The problem was that -copy and -copyWithZone: should return a new reference, but did return a borrowed reference (like all ObjC methods that are implemented in Python). Fixed this by checking the ObjCSelector object for the PyObjCSelector_kDONATE_REF flag and adjusting the reference …
Ronald Oussoren
- Add a testcase for 'copy' (and indirectly for 'copyWithZone:'). This testcase causes a crash at the moment because all methods implemetned in Python return borrowed references, whereas copy should return a new reference.
Just van Rossum
repair rulers: the view didn't _have_ rulers anymore.
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…
Just van Rossum
sync with Python tree, fix app docking bug
Just van Rossum
sync with Python tree
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
- unicode-object.m, NEWS: Add pickling support, we pickle in such way that our unicode objects are restored as normal unicode objects - objc-object.m, NEWS: Add __reduce__ method to make sure pickling won't work, not even with protocol version 2. Without this fix, pickling with protocol version 2 would dump incomplete objects. - setup.py: Fix dependencies and PyPI information - class-builder.m: Workaround for undocumented runtime feature: the method lists us…
Ronald Oussoren
Update version number, 1.0b1 is released
Ronald Oussoren
- Fix release-date in the NEWS file - Add notes about WebKit to the Install.txt - coding-style.html was updated when I recreated the HTML (?) - website.lst: Update for the 1.0b1 release on our website - make_distrib.py, postflight: Move nibclassbuilder to the right location after installation, instead of installing it directly into /usr/local/bin (solves #741782) - update setup.py to enable builds on system with Safari 1.0 but w…
Ronald Oussoren
Buglet in the deploy script: the files/directories on the server should be group-writable, otherwise the other maintainers cannot upload changed documentation.
Ronald Oussoren
Updates for the 1.0b1 release: - Add announcment - Move old news-items to the archive - Upload 1.0b1 documentation - Make sure there are no dead links in the examples - Remove our only, and no longer relevant, FAQ :-( Add note about CVS snapshots
Ronald Oussoren
- Updated installer: Install only the PyObjC python package and the PB templates - Updates release package: Add 'PyObjC Documentation & Examples' - Add custom readme for the disk-image.
Ronald Oussoren
Don't clobber the cvs snapshots.
  1. Prev
  2. Next