Commits

Show all
Author Commit Message Labels Comments Date
Ronald Oussoren
- Add _workerThread to the __slots__ list - Add list of application modules to buildapp.py, makes it easier to build the app.
Ronald Oussoren
- Temporarily move instance state back into Python, the newer code is not stable enough. - Enable more compiler warnings, and fix at least some of them
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
Rename Level1Class, that name is already used by one of the other tests. This should make it possible to run all tests in 1 interpreter session.
Ronald Oussoren
- Remove stale comments in libffi_support - Add some debug code to libffi_support, for debugging the structure-passing problems. - Fix reference counting in the implementation of respondsToSelector: in class-builder.m.
Ronald Oussoren
- Remove OC_PythonInt, the class is not used. - __del__ of objC subclasses works again. - some python refcount updates
Just van Rossum
added NSTextViewDelegate
Just van Rossum
add NSTextViewDelegate todo item
Ronald Oussoren
- Instance-state is completely stored in Objective-C, we no longer have a "siamese twin" pair of ObjC and Python objects. - As a side-effect of the previous item it is now possible to use poseAs: (as in "it doesn't crash", I haven't tested if this actually works). - Pure objective-C objects no longer have a __dict__, the __dict__ of proxies was a bug. This code is pretty rough, and there are some bugs left. Most importantly: __del__ is called when the last reference from Python goes away, and not when the object dies. As a work-around you can use __pyobjcdel__ instead, I'm working on a better fix.
Just van Rossum
- fixed broken WorkerThread __init__ - be smarter about what to show when (the description should now always be the right one for the selection)
Just van Rossum
don't lie
Just van Rossum
More refactoring: made a proper WorkerThread class (pretty reusable, if I'm going to need it again I'll propose to add it to PyObjCTools.py...)
Just van Rossum
formatting
Just van Rossum
explain what features WST demos
Just van Rossum
more notes, hard-wrapped readme
Just van Rossum
added threading note
Just van Rossum
more comments, minor refactoring
Just van Rossum
fiddle about
Just van Rossum
- Get rid of the worker thread when the window closes. This has some interesting consequences if the thread is actually still working: - if we simply let it run, the controller will be deallocated in the worker thread, but at that time there is no longer an autorelease pool, so things don't behave as nicely. - instead, we try to stop the work as soon as possible (which is not instantly, as you can't kill a thread from another thread), then wait …
Just van Rossum
Use the delegate method tableViewSelectionDidChange_ instead of the selectMethodAction_ action: the former also works when the user changes the selection with the keyboard, the latter does not. Removed the action from the nib as well.
Just van Rossum
- added buildapp.py script - Made WST multi-threaded. This is a bit rough, I refactored a bit wildly, readability didn't improve. Note: multi-threading works *much* better with CVS Python (not even 2.3b2!) since until recently the GIL wasn't released around getaddrinfo calls, meaning the entire app blocks. Kinda hurts when your DNS isn't that great or when you're on a slow line. I guess I should write this in th…
Just van Rossum
disallow editing of table cells, and declare the class to be an NSTableViewDelegate (otherwise it goes boom)
Just van Rossum
- fixed indentation - pythonified somewhat: - use Python lists and dicts instead of NSMutableArray and -Dictionary - use classmethod() instead of objc.selector(..., isClassMEthod=1): this method is called from Python only anyway. (But: it would be nice if classmethod() would also work to define a "proper" ObjC class method. Perhaps it doesm but I didn't try, nor do I know _how_ to try ;-)
Just van Rossum
nah, I shouldn't return self from awakeFromNib()...
Just van Rossum
show alternative way to set an action
Just van Rossum
don't depend on the position of the column in the columns array, but use the column identifier as set in IB
Just van Rossum
added some comments, changed editable behavior
Just van Rossum
add double-click support
Just van Rossum
return bools where appropriate
Ronald Oussoren
- Completely remove non-libffi support, including some code cleanups. This removes a lot of code (not only the entire file register.m, but also lots of duplicate code in Modules/{Foundation,AppKit}. - Minor update to test_nsnumber.py to make sure it works on MacOS X 10.1 - Added tests for Objective-C instance variables. - Add custom wrappers for NSMovie.initWithMovie_ and NSMovie.QTMovie. Actually using these requires MacPython 2.3. - Update NEWS file for thes…
  1. Prev
  2. Next