Once again the NSOutlineView

2004-02-12 Thread Andreas Heppel
Hi list, I have again stumbled across some strange behaviour in NSOutlineView. This time it has to do with reloading items. The method -reloadItem:reloadChildren is using another method called _findItem:childIndex:ofParent:. I suppose that this method is intended to return the parent and the ind

Re: Once again the NSOutlineView

2004-02-14 Thread Fred Kiefer
Andreas Heppel wrote: I have again stumbled across some strange behaviour in NSOutlineView. This time it has to do with reloading items. The method -reloadItem:reloadChildren is using another method called _findItem:childIndex:ofParent:. I suppose that this method is intended to return the paren

Re: Once again the NSOutlineView

2004-02-14 Thread Andreas Heppel
On 2004-02-14 14:11:51 +0100 Fred Kiefer <[EMAIL PROTECTED]> wrote: [snip] I did (hopefully) resolve this problem in a different way, by removing the helper method and inlining the code into reloadItem:reloadChildren:. This allowed for a few more corrections/simplifications (and would allow for

Re: Once again the NSOutlineView

2004-02-14 Thread Gregory John Casamento
Fred/Andreas, --- Andreas Heppel <[EMAIL PROTECTED]> wrote: > On 2004-02-14 14:11:51 +0100 Fred Kiefer <[EMAIL PROTECTED]> wrote: > > [snip] > > > > I did (hopefully) resolve this problem in a different way, by removing the > > helper method and inlining the code into reloadItem:reloadChildren:

Re: Once again the NSOutlineView

2004-02-15 Thread Fred Kiefer
Gregory John Casamento wrote: P.S. Fred, I'm aware of no place in the code where it replaces items with NULL if they are nil. :) Sorry, my fault, I used the word NULL as a short hand for [NSNull null], as can be see in the following line (used about five times in the code of NSOutlineView): id

Re: Once again the NSOutlineView

2004-02-15 Thread Gregory John Casamento
--- Fred Kiefer <[EMAIL PROTECTED]> wrote: > Gregory John Casamento wrote: > > > > P.S. Fred, I'm aware of no place in the code where it replaces items with > NULL > > if they are nil. :) > > > > Sorry, my fault, I used the word NULL as a short hand for [NSNull null], > as can be see in the fo

Re: Once again the NSOutlineView

2004-02-16 Thread Andreas Heppel
Gregory, On 2004-02-15 00:35:23 +0100 Gregory John Casamento <[EMAIL PROTECTED]> wrote: [snip] > Perhaps you may want to take over the maintainance this class? If there is noone else to do it right now, I will, yes. In particular as it seems like I was the only app developer who is intensely us

Re: Once again the NSOutlineView

2004-02-16 Thread Andreas Heppel
Hi Fred, On 2004-02-14 14:11:51 +0100 Fred Kiefer <[EMAIL PROTECTED]> wrote: I did (hopefully) resolve this problem in a different way, by removing the helper method and inlining the code into reloadItem:reloadChildren:. This allowed for a few more corrections/simplifications (and would allow f

Re: Once again the NSOutlineView

2004-02-16 Thread Fred Kiefer
> Hi Fred, > > On 2004-02-14 14:11:51 +0100 Fred Kiefer <[EMAIL PROTECTED]> wrote: > > > I did (hopefully) resolve this problem in a different way, by removing > the > > helper method and inlining the code into reloadItem:reloadChildren:. > This > > allowed for a few more corrections/simplifica

Re: Once again the NSOutlineView

2004-02-16 Thread Gregory John Casamento
Andreas, --- Fred Kiefer <[EMAIL PROTECTED]> wrote: > > Hi Fred, > > > > On 2004-02-14 14:11:51 +0100 Fred Kiefer <[EMAIL PROTECTED]> wrote: > > > > > I did (hopefully) resolve this problem in a different way, by removing > > the > > > helper method and inlining the code into reloadItem:reloadC

Re: Once again the NSOutlineView

2004-02-17 Thread fabien
Gregory John Casamento <[EMAIL PROTECTED]> wrote: > Fabien worked on NSTableView mainly, he and I cooperated when I wrote > NSOutlineView to make the code more efficient. There is a lot of complex > code in both of these classes, so change them with care. It was Pierre-Yves Rivaille... not m

Re: Once again the NSOutlineView

2004-02-17 Thread Andreas Heppel
Gregory, On 2004-02-17 03:53:41 +0100 Gregory John Casamento <[EMAIL PROTECTED]> wrote: [snip] a > part of my patch is missing, and I wonder why. At the end of the reloadItem... method I updated _items and _levelOfItems to > ensure that those containers reflect the possible change of the item ob

Re: Once again the NSOutlineView

2004-02-17 Thread Gregory John Casamento
I don't seem to have received the patch. --- Andreas Heppel <[EMAIL PROTECTED]> wrote: > Gregory, > > On 2004-02-17 03:53:41 +0100 Gregory John Casamento > <[EMAIL PROTECTED]> > wrote: > > [snip] > >>> a > part of my patch is missing, and I wonder why. > >>> At the end of the reloadItem... meth

Re: Once again the NSOutlineView

2004-02-17 Thread Andreas Heppel
On 2004-02-18 04:25:58 +0100 Gregory John Casamento <[EMAIL PROTECTED]> wrote: I don't seem to have received the patch. You din't. I forgot to attach it :-) -- Andreas Heppel Mail: aheppel at web dot de Home: http://www.andreasheppel.de Check out Burn.app - the CD burning frontend for GNUstep