[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Next GNUstep release?
From: |
Gregory Casamento |
Subject: |
Re: Next GNUstep release? |
Date: |
Mon, 29 Mar 2010 12:49:49 -0400 |
Wolfgang...
The patch looks good. Please go ahead and apply it and make the
change in GSNibLoading.m as well, if you wish.
Thanks, GC
On Sun, Mar 28, 2010 at 4:45 PM, Wolfgang Lux <address@hidden> wrote:
> Gregory Casamento wrote:
>
>> Top level objects in the nib are the responsibility of the controller.
>> That is to say that if you load a nib from MyController then any and
>> all top level objects in that nib should be released by MyController
>> when it deallocates itself.
>
> Indeed. What I tried to point out (but maybe failed to do properly) is that
> GNUstep does not implement this policy when the controller explicitly asks
> for the top level objects using the NS(Nib)TopLevelObjects key. If one uses
> that key, GNUstep passes ownership of the top level objects exclusively to
> the array that is used to return the objects and when the controller
> releases the top level objects, the application will crash. In fact, it is
> even documented in the code that GSNibLoading and GSGormLoading are
> implemented that way. However, this is incompatible with both Apple's
> documentation and implementation. Attached below is a patch to fix
> GSGormLoading. A similar change will be necessary in GSNibLoading.
>
> Wolfgang
>
>
>
>
>
>
--
Gregory Casamento - GNUstep Lead/Principal Consultant, OLC, Inc.
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
- Next GNUstep release?, Fred Kiefer, 2010/03/26
- Re: Next GNUstep release?, David Chisnall, 2010/03/26
- Re: Next GNUstep release?, Riccardo Mottola, 2010/03/27
- Re: Next GNUstep release?, Wolfgang Lux, 2010/03/27
- Re: Next GNUstep release?, Gregory Casamento, 2010/03/27
- Re: Next GNUstep release?, Wolfgang Lux, 2010/03/28
- Re: Next GNUstep release?,
Gregory Casamento <=
- Re: Next GNUstep release?, Fred Kiefer, 2010/03/29
- Re: Next GNUstep release?, Wolfgang Lux, 2010/03/30
- Re: Next GNUstep release?, Fred Kiefer, 2010/03/30
- Re: Next GNUstep release?, Wolfgang Lux, 2010/03/30
- Re: Next GNUstep release?, Fred Kiefer, 2010/03/30
Re: Next GNUstep release?, David Chisnall, 2010/03/27
Re: Next GNUstep release?, Quentin Mathé, 2010/03/27