mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 10:41:55 +00:00
Lot of fixes for memory management of menu views and menu item cells. Menus
seem to dealloc properly (or at least dealloc and dealloc on components) now git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12701 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
526728e522
commit
148f4a994d
1 changed files with 19 additions and 1 deletions
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,22 @@
|
||||||
|
Sat Feb 23 12:11:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
|
|
||||||
|
Patches by Alexander Malmberg <alexander@malmber.org> with many
|
||||||
|
changes -
|
||||||
|
* Source/NSMenuView.m ([-setMenu:]): Do not retain menu.
|
||||||
|
([-dealloc]): Do not release menu.
|
||||||
|
* Source/NSMenuItemCell.m ([-setMenuView:]): Do not retain the menu view.
|
||||||
|
([-dealloc]): Do not release the menu view.
|
||||||
|
([-copyWithZone:]): Set the menuView of the new cell to nil.
|
||||||
|
* Source/NSMenuItemCell.m ([+initialize]): Set version to 2.
|
||||||
|
([-encodeWithCoder:]): Do not encode the menu view.
|
||||||
|
([-initWithCoder:]): Do not decode the menu view. Retain the
|
||||||
|
decoded menu item. Do not bother with decoding old versions since
|
||||||
|
this is unused when encoding/decoding menus anyway. :-)
|
||||||
|
* Source/NSMenuView.m ([-dealloc]): Set the menuView of all the
|
||||||
|
menu item cells to nil before releasing them.
|
||||||
|
* Source/NSMenuView.m ([-initWithCoder:]): Set the menu view of
|
||||||
|
all the menu item cells to self after decoding.
|
||||||
|
|
||||||
Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
|
|
||||||
* Source/NSTableView.m ([-editColumn:row:withEvent:select:]):
|
* Source/NSTableView.m ([-editColumn:row:withEvent:select:]):
|
||||||
|
@ -318,7 +337,6 @@ Sun Feb 3 11:53:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
* Source/GSTextStorage.m: Use new GSI API from latest CVS base
|
* Source/GSTextStorage.m: Use new GSI API from latest CVS base
|
||||||
* library.
|
* library.
|
||||||
|
|
||||||
>>>>>>> 1.1333
|
|
||||||
2002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
2002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||||
|
|
||||||
* Source/NSCell.m
|
* Source/NSCell.m
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue