From f861ed56f761d69955052d33c93f15b7758915c3 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 16 Jan 2001 12:35:00 +0000 Subject: [PATCH] Bug fixing in NSView and NSBrowser; little speedups related to scrolling git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8617 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5a5437de9..b3a4ba4e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,40 @@ +Tue Jan 16 11:54:30 2001 Nicola Pero + + * Source/NSAffineTransform.m ([-getMatrixFromTransform:]): New + method to get quickly the matrix from another transform. + * Headers/gnustep/gui/NSAffineTransform.h: Added corresponding + declaration. + * Source/NSView.m ([-_rebuildCoordinates]): Use it to spare a + couple of method calls per invocation. + + * Source/NSBrowser.m ([-pathToColumn:]): Bug fix - stop computing + path as soon as a column with no selected cells in it is found. + + * Headers/gnustep/gui/NSClipView.h: Added ivar to cache whether we + are opaque or not. + * Source/NSClipView.m ([-isOpaque]): Returne cached info. + ([-setDrawsBackground:]), ([-setBackgroundColor:]): Update opaque + cache info. + + * Source/NSClipView.m ([-setDocumentView:]): As a safety check, + update _rFlags.flipped_view before setting the bounds. + ([-setBoundsOrigin:]): Use [self documentVisibleRect] to get the + document view area to be redrawn when redrawing everything. + * Source/NSScrollView.m ([-tile]): Removed reflectScrolledClipView + call in excess. + * Source/NSView.m ([-_rebuildCoordinates]): Use _frame.height, not + _bounds.height when flipping coordinates. + + * Source/NSView.m: Cache the default notification center for + the whole class. + + * Source/NSView.m ([-resizeWithOldSuperviewSize:]): Bug fix - + removed hackish code which manually attempted to `restore' bounds + after setFrame: updated them. This fixes the rubbish drawn when + resizing a textview inside a scrollview - a bug which escaped + debugging attempts for more than one year I think. I am glad it's + fixed now. + Tue Jan 16 11:47:58 2001 Nicola Pero * Source/NSMenu.m ([NSMenuWindowTitleView -drawRect:]): Fixed bug