Commits

Show all
Author Commit Message Labels Comments Date
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.
Ronald Oussoren
- Updates for the 10.1 port. - The generator scripts work just fine on 10.1, therefore the generated files can be removed from CVS. The 10.1 port is not fully functional (it crashes during the unittests), but should be good enough to write usefulll programs.
Ronald Oussoren
- detab the CodeGenerator scripts - add some missing files - make sure buildpkg.py works with the newly added InstallationCheck (untested)
Just van Rossum
add another refcounting gotcha
Ronald Oussoren
Import new version of FieldGraph Make sure CodeGenerator scripts work when the target doesn't exist Add self attribute to selectors
Just van Rossum
added link to buildapp.py explanation
Just van Rossum
Converted to reST. Cocoa examples link to the example directories; this does just what you want in Safari: it opens the directory in the Finder.
  1. Prev
  2. Next