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
This commit is contained in:
Nicola Pero 2001-01-16 12:35:00 +00:00
parent 1ff9444b52
commit f861ed56f7

View file

@ -1,3 +1,40 @@
Tue Jan 16 11:54:30 2001 Nicola Pero <n.pero@mi.flashnet.it>
* 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 <nicola@brainstorm.co.uk> Tue Jan 16 11:47:58 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSMenu.m ([NSMenuWindowTitleView -drawRect:]): Fixed bug * Source/NSMenu.m ([NSMenuWindowTitleView -drawRect:]): Fixed bug