1999-12-14 16:53:23 +00:00
|
|
|
Tue Dec 14 16:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
|
|
|
|
|
|
|
* Source/NSWindow.m: ([-becomeKeyWindow]) Don't ask the backend to
|
|
|
|
make us key unless we are visible.
|
|
|
|
([-orderWindow:relativeTo:]) ask backned to make us key when we order
|
|
|
|
in (if we should be key that is).
|
|
|
|
|
1999-12-14 11:18:11 +00:00
|
|
|
Tue Dec 14 11:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
|
|
|
|
|
|
|
* Headers/AppKit/NSMenuitemCell.h: Removed implementation cache ivars
|
|
|
|
and added an ivar for temporary storage of background color.
|
|
|
|
* Source/NSMenuItemCell.m: Removed draw implementation caching to
|
|
|
|
decrease memory footprint, but added color and image class caching
|
|
|
|
which will more than compensate in performance. Also added use of
|
|
|
|
highlight version of menu arrow.
|
|
|
|
* Source/NSImage.m: minor image caching fixes and more debug statements.
|
|
|
|
|
1999-12-13 22:14:20 +00:00
|
|
|
1999-12-13 <fedor@gnu.org>
|
|
|
|
|
|
|
|
* Source/NSWindow.m (-_processResizeEvent): Add DPScurrentgstate
|
|
|
|
so DPS server knows we updated the backing buffer.
|
|
|
|
|
1999-12-13 19:48:18 +00:00
|
|
|
Mon Dec 13 20:00:29 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
|
|
|
|
* Headers/AppKit/NSBrowserCell.h: Removed two ivars.
|
|
|
|
* Source/NSBrowserCell.m: Made allocation/deallocation faster;
|
|
|
|
added untested alternateImage support.
|
|
|
|
|
1999-12-13 16:23:14 +00:00
|
|
|
Mon Dec 13 16:06:36 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
|
|
|
|
* Headers/AppKit/NSActionCell.h: Added ivar _control_view.
|
|
|
|
* Headers/AppKit/NSBrowserCell.h: Use two bits to store two BOOL.
|
|
|
|
* Headers/AppKit/NSButtonCell.h: Use a bit to store a BOOL.
|
|
|
|
* Headers/AppKit/NSCell.h: Moved ivar _control_view to
|
|
|
|
NSActionCell. Packed more ivars into the bitfield.
|
|
|
|
Added two bits in the bitfield for subclass use. Removed
|
|
|
|
unused ivar _cell_size.
|
|
|
|
* Headers/AppKit/NSFormCell.h: Use a bit to store a BOOL.
|
|
|
|
* Headers/AppKit/NSTextFieldCell.h: Use two bits for two BOOL.
|
|
|
|
* Source/NSActionCell.m ([-drawWithFrame:inView:]): Added
|
|
|
|
method, per spec.
|
|
|
|
* core/gui/Source/NSButtonCell.m: Updated.
|
|
|
|
* Source/NSBrowser.m: Tiny optms in GSBrowserTitleCell.
|
|
|
|
* Source/NSBrowserCell.m: Updated.
|
|
|
|
* Source/NSButtonCell.m: Updated.
|
|
|
|
* Source/NSCell.m ([NSCell -setControlView:]): Removed, this
|
|
|
|
method should not exist. Moved actual implementation of
|
|
|
|
([-controlView]) to NSActionCell, as per spec. Moved any
|
|
|
|
reference to _control_view to NSActionCell; in ([-performClick:]),
|
|
|
|
invoke [self controlView].
|
|
|
|
* Source/NSControl.m ([-setCell:]): Updated.
|
|
|
|
* Source/NSFormCell.m: Updated.
|
|
|
|
* Source/NSImageCell.m: idem.
|
|
|
|
* Source/NSMenuItemCell.m: idem.
|
|
|
|
* Source/NSPopUpButtonCell.m: idem.
|
|
|
|
* Source/NSTableHeaderCell.m: idem.
|
|
|
|
* Source/NSTextFieldCell.m: idem.
|
|
|
|
|
|
|
|
* Headers/AppKit/NSColorWell.h: Removed unused ivar.
|
|
|
|
* Headers/AppKit/NSScroller.h: Removed unused ivar.
|
|
|
|
* Headers/AppKit/NSView.h: Removed unused ivar needs_display.
|
|
|
|
|
1999-12-13 02:56:57 +00:00
|
|
|
Mon Dec 13 03:51:30 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
|
|
|
|
Cell optimizations: use a bitfield in NSCell to reduce memory
|
|
|
|
consumption; access cell ivars directly while drawing; minor speed
|
|
|
|
tricks here and there for cells; browser cells do not create any
|
1999-12-13 03:06:55 +00:00
|
|
|
longer an auxiliary cell each, thus hugely reducing time and
|
1999-12-13 02:56:57 +00:00
|
|
|
memory required to create browser cells. To my great delight some
|
|
|
|
things are much faster now.
|
|
|
|
* Headers/AppKit/NSActionCell.h: Prefixed all ivars with
|
|
|
|
underscores.
|
|
|
|
* Headers/AppKit/NSBrowserCell.h: Removed unused ivar.
|
|
|
|
* Headers/AppKit/NSButtonCell.h: Prefixed all ivars with
|
|
|
|
underscores; removed unused ivar.
|
|
|
|
* Headers/AppKit/NSCell.h: Introduced a bitfield; prefixed all
|
|
|
|
ivars with underscores.
|
|
|
|
* Headers/AppKit/NSSliderCell.h: Removed unused ivar.
|
|
|
|
* Source/NSActionCell.m: Optimizations.
|
|
|
|
* NSBrowserCell.m: Important optimizations, rewritten.
|
|
|
|
([-setTextFieldCell:]), ([-setBranchImageCell:]),
|
|
|
|
([-setHighlightBranchImageCell:]): Removed unused private methods.
|
|
|
|
* Source/NSButtonCell.m: Updated.
|
|
|
|
* Source/NSCell.m: Important optimizations.
|
|
|
|
* Source/NSComboBoxCell.m: Updated.
|
|
|
|
* Source/NSFormCell.m: Optimizations.
|
|
|
|
* Source/NSImageCell.m: Optimizations.
|
|
|
|
* Source/NSMenuItemCell.m: Updated.
|
|
|
|
* Source/NSPopUpButtonCell.m: Updated; ([-dismissPopUp]): Use
|
|
|
|
GNUstep close menu method.
|
|
|
|
* Source/NSSliderCell.m: Tiny optimization.
|
|
|
|
* Source/NSTableHeaderCell.m: Updated.
|
|
|
|
* Source/NSTextFieldCell.m: Updated.
|
|
|
|
* Source/NSBox.m: Updated for new way of getting border sizes.
|
|
|
|
* Source/NSBrowser.m: idem.
|
|
|
|
* Source/NSSlider.m: Minor optimization.
|
1999-12-13 03:06:55 +00:00
|
|
|
|