mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 02:21:05 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5798 72102866-910b-0410-8b05-ffd578937521
572 lines
24 KiB
Text
572 lines
24 KiB
Text
2000-01-18 Adam Fedor <fedor@gnu.org>
|
||
|
||
* Source/NSCachedImageRep.m: Make "ImageCompositing" on by default.
|
||
* Souce/NSImageRep.m: Likewise.
|
||
|
||
Mon Jan 17 21:15:00 2000 Enrico Sersale <enrico@imago.ro>
|
||
|
||
* Source/NSBezierPath.m (-elementTypeAtIndex:associatedPoints:]):
|
||
Changed to set the associatedPoints correctly.
|
||
|
||
Mon Jan 17 6:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSBundleAdditions.m: Catch exceptions when loading nib so
|
||
we simply return YES or NO. Fix suggested by karl@nfox.com
|
||
|
||
Sun Jan 16 8:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSWindow.m: Don't log DnD stuff unless NSDragging logging
|
||
is requested using '--GNU-Debug=NSDragging'
|
||
|
||
Sat Jan 15 11:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSBrowser.m: Don't permit scrolling by negative values.
|
||
|
||
Sat Jan 15 07:29:37 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Source/NSSavePanel.m ([-_initWithoutGModel]): Tidyup for
|
||
readability; use a NSButton for the application icon.
|
||
|
||
Fri Jan 14 07:03:14 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Source/NSSliderCell.m ([-isFlipped]): Fixed typo, this method
|
||
was called 'isFliped'.
|
||
|
||
Fri Jan 14 04:33:21 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
Work to improve appearance.
|
||
* Source/NSBox.m ([-sizeToFit]): More space around title.
|
||
([-calcSizesAllowingNegative:]): idem.
|
||
* Source/NSBrowserCell.m ([-drawInteriorWithFrame:inView:]): Skip
|
||
2 points from left border before drawing text.
|
||
* Source/NSButtonCell.m ([-cellSize]): Changed space between borders
|
||
and contents if needed; fixed font height.
|
||
([-drawInteriorWithFrame:inView:]): When drawing both image and
|
||
text, add space between image and border.
|
||
* Source/NSCell.m ([-cellSize]): Fixed font height; removed
|
||
additional height; added space between border and contents if needed.
|
||
([NSCell -editWithFrame:inView:editor:delegate:event:]): Added
|
||
spacing between border and contents.
|
||
([-selectWithFrame:inView:editor:delegate:start:length:]):
|
||
idem. ([-drawInteriorWithFrame:inView:]): Added spacing between
|
||
border and contents.
|
||
* Source/NSFormCell.m ([-cellSize]): Use super's cellSize.
|
||
([-cellSize]), ([-drawingRectForBounds:]),
|
||
([-drawWithFrame:inView:]): Changed spacing between title and
|
||
editable field to 3.
|
||
* Source/NSForm.m
|
||
([-initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:]),
|
||
([-initWithFrame:mode:prototype:numberOfRows:numberOfColumns:]):
|
||
Added methods to set the standard interline spacing to 4 during
|
||
initialization.
|
||
* Source/NSPanel.m (GSAlertPanel): Added ivar originalSize,
|
||
updated encoding/decoding methods.
|
||
([GSAlertPanel
|
||
-initWithContentRect:styleMask:backing:defer:screen:]): Fixed
|
||
autoresizingMask and position of messageField, changed
|
||
autoresizingMask of titleField to suit our needs.
|
||
([GSAlertPanel -setTitle:message:def:alt:other:]): Implemented
|
||
advanced automatic resizing of buttons and of the panel. All
|
||
buttons are made of a same size computed to be comfortable for
|
||
all, and panel is resized whenever needed to display long messages
|
||
or big buttons.
|
||
* Source/NSPopUpButtonCell.m ([-drawWithFrame:inView:]): Skip 5
|
||
points from left side before drawing text.
|
||
* Source/NSSavePanel.m ([-_initWithoutGModel]): Fixed heights
|
||
of buttons and of the form; fixed position of title.
|
||
|
||
Code to have NSForm's editable fields aligned in a row. This was
|
||
tricky.
|
||
* Headers/AppKit/NSForm.h: Added ivar _title_width_needs_update.
|
||
* core/gui/Source/NSForm.m ([-insertEntry:atIndex:]): We observe
|
||
each added cell for messages _NSFormCellDidChangeTitleWidth.
|
||
([-removeEntryAtIndex:]): Remove notification for removed cell.
|
||
([-dealloc]): Added method to remove self from notification
|
||
center. ([-_setTitleWidthNeedsUpdate:]): Added private method
|
||
invoke by the notification center. ([-drawRect:]): Added method;
|
||
needs to invoke calcSize if needed before drawing.
|
||
([-setValidateSize:]): Added method. ([-calcSize]): Added method.
|
||
* Headers/AppKit/NSFormCell.h: Changed ivar name; added declaration
|
||
of notification _NSFormCellDidChangeTitleWidthNotification.
|
||
* Source/NSFormCell.m ([-initTextCell:]): Minor optimizations.
|
||
([-setTitleWidth:]): Fixed bug. ([-calcDrawInfo:]): New method.
|
||
([-setTitle:]), ([-setTitleFont:]), ([-setTitleWidth:]): Post
|
||
notification _NSFormCellDidChangeTitleWidthNotification.
|
||
([-initWithCoder:]), ([-encodeWithCoder:]): Implemented.
|
||
* Source/externs.m: Added
|
||
_NSFormCellDidChangeTitleWidthNotification.
|
||
|
||
Thu Jan 13 20:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSMenu.m: minor tidyups and fixes for Gorm
|
||
* Source/NSMenuView.m: minor coding fixes
|
||
* Source/NSBundleAdditions.m: support for setting main menu from nib.
|
||
|
||
Mon Jan 10 00:32:44 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Headers/AppKit/NSView.h: Prefixed all ivars with underscores;
|
||
removed old unused ivar.
|
||
* Source/NSApplication.m: Updated for ivar name change.
|
||
* Source/NSBox.m: idem.
|
||
* Source/NSBrowser.m: idem.
|
||
* Source/NSButton.m: idem.
|
||
* Source/NSClipView.m: idem.
|
||
* Source/NSColorWell.m: idem.
|
||
* Source/NSControl.m: idem.
|
||
* Source/NSMatrix.m: idem.
|
||
* Source/NSMenu.m: idem.
|
||
* Source/NSMenuView.m: idem.
|
||
* Source/NSPopUpButton.m: idem.
|
||
* Source/NSProgressIndicator.m: idem.
|
||
* Source/NSScroller.m: idem.
|
||
* Source/NSScrollView.m: idem.
|
||
* Source/NSSlider.m: idem.
|
||
* Source/NSSplitView.m: idem.
|
||
* Source/NSTabView.m: idem.
|
||
* Source/NSTableHeaderView.m: idem.
|
||
* Source/NSTableView.m: idem.
|
||
* Source/NSTextField.m: idem.
|
||
* Source/NSTextView.m: idem.
|
||
* Source/NSView.m: idem.
|
||
* Source/NSWindow.m: idem.
|
||
* Model/GMAppKit.m: idem.
|
||
|
||
* Source/NSApplication.m ([NSAppIconView -drawRect:]): Fixed bug
|
||
in app icon images drawing.
|
||
* Source/NSBrowser.m ([-_performLoadOfColumn:]): Tiny tidy ups.
|
||
* Source/NSColor.m ([+colorFromString:]): Fixed typo.
|
||
* Source/NSScroller.m ([-drawRect:]): Fixed bug: should fill
|
||
_bounds, not _frame.
|
||
* Source/NSTableView.m: Some code added.
|
||
* Source/NSText.m: Access ivars _frame, _bounds, _window directly.
|
||
* Source/NSWindow.m ([-sendEvent:]), ([-setFrame:display:]),
|
||
([-orderWindow:relativeTo:]), ([-becomeKeyWindow]): Access ivar
|
||
window_num.
|
||
* Source/GSTable.m ([-resizeWithOldSuperviewSize:]): Don't access
|
||
ivar _frame directly, so that the class can be easily ported to
|
||
other OpenStep implementations.
|
||
|
||
Sun Jan 9 15:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/GSTextStorage.m: ([-attributesAtIndex:effectiveRange:])
|
||
fixed illegal parameter - reported by jagapen@whitewater.chem.wisc.edu
|
||
|
||
Sat Jan 8 23:50:38 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Source/NSColorList.m: Implemented reading available color lists
|
||
from disk. ([+_loadAvailableColorLists]): New private method to
|
||
defer scanning of standard directories and loading available color
|
||
lists till really needed. Related changings and fixes in the
|
||
whole class.
|
||
|
||
Sat Jan 8 02:40:12 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Headers/AppKit/NSColorList.h: Prefixed ivars with underscores,
|
||
changed names.
|
||
* Source/NSColorList.m: Class rewritten; untested.
|
||
|
||
Fri Jan 7 20:30:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSResponder.m: Changed _rightMouseDisplay to take the event
|
||
as a parameter.
|
||
* Source/NSMenu.m: Implemented ([-_rightMouseDisplay:]) with various
|
||
minor supporting changes.
|
||
* Source/NSMenuView.m: Lots of messing with mouse tracking in support
|
||
of right-mouse menu popup and somewhat smoother operation.
|
||
|
||
Fri Jan 7 18:09:15 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Headers/AppKit/NSBrowser.h: Fixed typo.
|
||
* Headers/AppKit/NSText.h: Tiny check in enum.
|
||
|
||
* Source/NSCell.m ([-initImageCell:]), ([-initTextCell:]): Minor
|
||
optimization: do not initialize variables already initialized by
|
||
allocation.
|
||
|
||
* Headers/AppKit/NSCell.h: Changed _cell.is_enabled to
|
||
_cell.is_disabled, so that it does not need initialization.
|
||
* Source/NSActionCell.m ([-setEnabled:]): Updated for the changing.
|
||
* Source/NSButtonCell.m ([-textColor]): idem.
|
||
* Source/NSCell.m: idem.
|
||
* Source/NSComboBoxCell.m ([-_didClick:]): idem.
|
||
* Source/NSMenuItemCell.m ([-drawTitleWithFrame:inView:]): idem.
|
||
|
||
* Source/NSBrowserCell.m ([-initTextCell:]), ([-initImageCell:]):
|
||
Further optimization: initialize everything directly without
|
||
invoking super's initialization; do not initialize variables
|
||
already initialized by allocation.
|
||
* Source/NSButtonCell.m ([-_init]): Tiny optm.
|
||
|
||
* Headers/AppKit/NSControl.h: Added ivar _ignoresMultiClick.
|
||
* Source/NSControl.m ([-setIgnoresMultiClick:]),
|
||
([-ignoresMultiClick]): Implemented. ([-mouseDown:]): Added
|
||
ignoresMultiClick support.
|
||
|
||
* Source/NSCell.m ([-trackMouse:inRect:ofView:untilMouseUp:]):
|
||
Bug fix: honour the argument of untilMouseUp:.
|
||
* Source/NSControl.m ([-mouseDown:]): Invoke the cell's
|
||
+prefersTrackingUntilMouseUp to decide if it's the case to track
|
||
mouse until up.
|
||
* Source/NSMatrix.m ([-_mouseDownNonListMode:]), ([-mouseDown:]):
|
||
Invoke cell mouse tracking with untilMouseUp: NO.
|
||
|
||
* Source/NSMatrix.m ([-sendDoubleAction]): Fixed.
|
||
([-sendAction]): Fixed. ([-sendAction:to:]): Use _action,
|
||
_target. ([-mouseDown:]): Rewritten double/multi-click support.
|
||
|
||
Fri Jan 7 16:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSWindow.m: Removed spurious code for setting menu window
|
||
locations.
|
||
* Source/NSMenu.m: Implemented 'correct' save/restore of menu locations
|
||
conforming to MacOS-X implementation details.
|
||
|
||
Fri Jan 7 10:32:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/Functions.m: NSApplicationMain() added suggestions from
|
||
karl@nfox.com to destroy application before exit and log if the
|
||
info file contains an invalid class.
|
||
|
||
Fri Jan 7 8:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSApplication.m: ([-finishLoading]) add support for loading
|
||
main nib.
|
||
* Source/Functions.m: NSApplicationMain() trivial update to make use
|
||
of NSPrincipalClass info.
|
||
|
||
Wed Jan 5 20:04:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSMenuView.m: Changes to mouse tracking loop to provide more
|
||
sophisticated handling of opening/closing of submenus in an attempt to
|
||
mimic the behavior of NeXTstep.
|
||
|
||
Wed Jan 5 16:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSMenuItem.m: minor fixes and tidying.
|
||
* Source/NSMenuView.m: reverted to previous version - last change
|
||
broke much more than it fixed.
|
||
Also tidied coding style a bit and fixed a couple of encode/decode bugs.
|
||
|
||
Mon Jan 3 18:35:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSBundleAdditions.m: Added ([-awakeWithContext:]) method for
|
||
nib containers to wake up a newly unarchived nib.
|
||
|
||
2000-01-03 Adam Fedor <fedor@gnu.org>
|
||
|
||
* Source/NSBitmapImageRep.m ([NSBitmapImageRep -draw]): Use
|
||
size of image when passing rect to NSDrawBitmap.
|
||
|
||
Sun Jan 2 20:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSApplication.m: Fixes for focusm handling.
|
||
* Source/NSWindow.m: ditto
|
||
|
||
Fri Dec 31 17:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSSlider.m: ([drawRect:]) minor drawing fix to ensure that
|
||
the slider knob is drawn in the correct place.
|
||
|
||
Fri Dec 31 10:49:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSBundleAdditions.m: When decoding nib container, check for a
|
||
'NSVisible' array, and order the windows it contains to the front.
|
||
|
||
Wed Dec 29 7:11:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSSliderCell.m: Fix so that setting and taking values from the
|
||
cell work properly - removed unused ivar.
|
||
* Headers/AppKit/NSSliderCell.h: removed unused ivar.
|
||
|
||
1999-12-29 David Lazaro <khelekir@encomix.es>
|
||
|
||
Changed name of function so GNUstep GUI library can be linked again.
|
||
* Source/tiff.m (NSTiffWrite): Changed name of NSWriteTiff to
|
||
NSTiffWrite.
|
||
* Source/libgnustep-gui.def: Same change here.
|
||
|
||
1999-12-28 Adam Fedor <fedor@gnu.org>
|
||
|
||
* Source/NSBitmapImageRep.m ([NSBitmapImageRep
|
||
-initWithBitmapDataPlanes:...]): Move check for opaqueness to here
|
||
from backend.
|
||
|
||
* Headers/gnustep/gui/DPSOperators.h: New operators colorimage
|
||
and alphaimage.
|
||
* Headers/gnustep/gui/NSGraphicsContext.h: Likewise.
|
||
* Source/NSGraphicsContex.m: Add stubs.
|
||
|
||
* Source/NSBitmapImageRep.m (-draw): Implement using NSDrawBitmap.
|
||
* Source/NSCachedImageRep.m: Conditional use of PScomposite functions
|
||
for drawing methods (set user default "ImageCompositing" to YES
|
||
for this to work).
|
||
|
||
Tue Dec 28 15:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
Initial hack of support for encoding/decoding images - untested.
|
||
* Source/NSBitmapImageRep.m: Code for writing tiffs etc.
|
||
* Source/NSImage.m: Archiving support and tifying.
|
||
* Source/NSImageRep.m: Archiving support and tifying.
|
||
* Source/tiff.m: modifications for compression and for writing.
|
||
* Headers/gnustep/gui/NSBitmapImageRep.h: tidy and support writing.
|
||
* Headers/gnustep/gui/NSImage.h: ditto
|
||
* Headers/gnustep/gui/NSImageRep.h: ditto
|
||
* Headers/gnustep/gui/nsimage-tiff.h: ditto
|
||
|
||
1999-12-24 David Lazaro <khelekir@encomix.es>
|
||
|
||
* Source/NSMenuView.m ([NSMenuView -trackWithEvent:]): Added hysteresis
|
||
to the item selection code.
|
||
|
||
Wed Dec 22 12:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSImage.m: When creating an off-screen cache, fill with
|
||
the background color (so having multiple caches for different
|
||
backgrounds will work).
|
||
Set 'NSImageDoesCaching' to 'YES' by default - we do image caching
|
||
as standard now.
|
||
|
||
Wed Dec 22 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSWindow.m: ([-sendEvent:]) reset _lastDragView on exit from
|
||
a view or on completion of dragging operation. This ensures that if
|
||
you do two drags into the same view, the view gets two draggingEntered
|
||
messages (one for each session).
|
||
|
||
Wed Dec 22 5:24:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSPanel.m: Fixed image display in alert panel.
|
||
|
||
Tue Dec 21 01:25:00 1999 Enrico Sersale <enrico@imago.ro>
|
||
|
||
* Added Source/NSBezierPath.m and Headers/AppKit/NSBezierPath.h
|
||
|
||
Mon Dec 20 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSView.m: Fix removal of view from window such that we reset
|
||
the windows first responder if any of the removed views in first
|
||
responder (avoid crash iv views subsequently deallocated).
|
||
* Source/NSBundleAdditions.m: Removed excess release of bundle data.
|
||
* Source/NSPanel.m: Call ([-sizeToFit]) for fields in alert panels
|
||
so they are big enough for their contents.
|
||
|
||
Mon Dec 20 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSSavePanel.m: Use symbolic constants for resize mask.
|
||
* Source/NSBrowser.m: size the matrix to fit when it is created.
|
||
|
||
Sat Dec 18 16:05:46 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Headers/AppKit/NSSplitView.h: Prefixed ivars with underscores;
|
||
changed widths' type from int to float; removed method
|
||
-setDividerThickNess:.
|
||
* Source/NSSplitView.m: Updated for ivar name change; access ivars
|
||
directly. ([-dividerThickness]): Return 6, our default
|
||
dividerThickness. ([-setDividerThickness:]): Removed method.
|
||
Subclasses need to ovverride -dividerThickness to do this (or else
|
||
use the GNUstep extension -setDimpleImage:resetDividerThickness:).
|
||
([-initWithFrame:]): invoke dividerThickness to set the ivar
|
||
_dividerWidth, used everywhere else when needed. Changed things
|
||
so that overriding dividerThickness should actually work;
|
||
untested. ([-initWithCoder:]), ([-encodeWithCoder:]): Fixed.
|
||
Tempor. commented out lines about encoding/decoding of dimple
|
||
image (which is anyway a GNUstep extension) till encoding/decoding
|
||
of images is implemented.
|
||
|
||
Sat Dec 18 5:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSView.m: ([-initWithCoder:]) small optimisation and
|
||
consistency check when decoding and adding subviews.
|
||
|
||
Fri Dec 17 23:44:53 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Headers/AppKit/NSBox.h: Prefixed ivars with underscores.
|
||
* Source/NSBox.m: Updated for ivar name change.
|
||
* Source/NSBox.m ([-initWithCoder:]): Set the first subview as the
|
||
content view; make sure that _title_rect and _border_rect are
|
||
automatically computed on decoding. ([-encodeWithCoder:]): Do not
|
||
encode the content view, which is already encoded by NSView; do
|
||
not encode title_rect and border_rect. ([-drawRect:]): Tiny
|
||
semplification. ([-sizeToFit]): Access directly super_view ivar.
|
||
([-setFrameFromContentFrame:]): idem.
|
||
* Source/NSMatrix.m ([-getRow:column:forPoint:]): Bug fix: manage
|
||
the case of no rows, no columns.
|
||
* Source/NSSavePanel.m
|
||
([-browser:selectCellWithString:inColumn:]): Now that
|
||
setNeedsDisplay: works, use it instead of display.
|
||
* Source/NSTextField.m ([-initWithCoder:]): Added setting of
|
||
delegate.
|
||
* Source/NSView.m ([-initWithCoder:]): Don't invoke self's
|
||
-addSubview: to set the subviews, because NSBox overrides that
|
||
method to do another job. Interesting bit to reflect upon btw.
|
||
|
||
Fri Dec 17 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSWindow.m: Remove some inefficient code that was calling
|
||
([content_view superview]) when we now have the _wv ivar.
|
||
* Source/NSView.m: Fix another autodisplay problem - when an opaque
|
||
subview was being set as needing display AND another non-overlapping
|
||
subview was set for display, the opaque subview didn't get redrawn.
|
||
* Source/NSPopUpButton.m: removed an NSLog
|
||
|
||
1999-12-16 Adam Fedor <fedor@gnu.org>
|
||
|
||
* New RTF parser from Stefan B<>hringer
|
||
<stefan.boehringer@uni-bochum.de>. May not work because
|
||
of incomplete implementation of NSFontManager and others.
|
||
* Source/Parsers/attributedStringConsumer.m New file.
|
||
* Source/Parsers/rtfScanner.c: Likewise.
|
||
* Source/Parsers/rtfGrammer.y: Likewise.
|
||
* Source/NSFontManager.m: Stubs for some unimplemented functions.
|
||
|
||
Thu Dec 16 04:09:20 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Headers/AppKit/NSControl.h: Prefixed ivars with underscore;
|
||
added declaration of copyWithZone:.
|
||
* Source/NSControl.m: Updated for change in ivar names;
|
||
([-drawCellInside:]): Fixed bug.
|
||
* Source/NSButton.m: Updated for change in control ivar names.
|
||
* Source/NSPopUpButton.m: idem.
|
||
* Source/NSSecureTextField.m: idem.
|
||
* Source/NSSlider.m: idem.
|
||
* Source/NSTextField.m: idem.
|
||
|
||
* Source/NSScroller.m ([-drawRect:]): Fill also the space between
|
||
the knobslot and the frame.
|
||
* Source/NSScrollView.m: Access ivars bounds, borderType directly.
|
||
* Source/NSView.m ([-removeFromSuperview]): Access ivar frame
|
||
directly.
|
||
|
||
Wed Dec 15 17:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSCell.m: encode/decode some missing ivars.
|
||
* Source/NSButtonCell.m: encode/decode some missing ivars.
|
||
|
||
Wed Dec 15 15:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSWindow.m: ([-setFrameAutosaveName:]) bugfix for setting a
|
||
nil name (and removing the old name).
|
||
* Source/NSMenu.m: ([-close]) close attached menus too.
|
||
([-display]) display attached menus too.
|
||
|
||
Wed Dec 15 11:13:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSResponder.m: Don't try to encode/decode next responder -
|
||
this info should be reconstructed by subclasses.
|
||
* Source/NSWindow.m: Remove code to save/restore next responder in
|
||
order to defeat NSResponder archiving.
|
||
* Source/NSView.m: Rewrite encoding/decoding.
|
||
|
||
Tue Dec 14 19:40:12 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
||
* Source/NSBrowserCell.m: Tiny tidings in initialization;
|
||
([-drawInteriorWithFrame:inView:]): Rewritten so that
|
||
alternateImage is correctly supported. If the cell is of type
|
||
NSImageCellType, and alternate image is set, it is drawn instead
|
||
of the standard image when the cell is highlighted. Untested.
|
||
* Source/NSCell.m ([-_init]): Removed method; code moved
|
||
to ([-initTextCell:]),([-initImageCell:]); redundancies
|
||
removed.
|
||
|
||
Tue Dec 14 19:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||
|
||
* Source/NSApplication.m: modal session fixes (and tidying) suggested
|
||
by georg@mondoshawan.unix.cslab.tuwien.ac.at
|
||
|
||
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).
|
||
|
||
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 <fedor@gnu.org>
|
||
|
||
* Source/NSWindow.m (-_processResizeEvent): Add DPScurrentgstate
|
||
so DPS server knows we updated the backing buffer.
|
||
|
||
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.
|
||
|
||
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.
|
||
|
||
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
|
||
longer an auxiliary cell each, thus hugely reducing time and
|
||
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.
|
||
|