libs-gui/ChangeLog
Ovidiu Predescu 2f0a46a41c Copy the model files into the AppKit headers directory first.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2691 72102866-910b-0410-8b05-ffd578937521
1998-01-09 23:51:46 +00:00

1562 lines
64 KiB
Text

Fri Jan 9 14:06:57 1998 Ovidiu Predescu <ovidiu@net-community.com>
* Model/GNUmakefile: Copy the header files to the AppKit directory
first.
Fri Jan 9 12:25:41 1998 Ovidiu Predescu <ovidiu@net-community.com>
* Headers/gnustep/gui/NSImageView.h: New file.
* Source/NSImageView.m: New file.
* Headers/gnustep/gui/NSApplication.h
(NSApplicationWillTerminateNotification): New notification.
(NSApplicationMain): New function.
(NSOpenStepRootDirectory): Likewise.
* Model/GMAppKit.h: New categories for NSCStringText and NSPopUpButton.
* Model/GMAppKit.m: Likewise.
(-[NSImage createObjectForModelUnarchiver:]): Return a dummy image in
case the image requested does not exist. This prevents a crash later.
* Model/IBClasses.h: Define the NSWindowTemplate class, which is used
internally by the NeXT's IB. I simply remove it from the generated
model file since it has no equivalent.
* Model/IBClasses.m (NSWindowTemplate): Remove all the instances that
appear in the NIB file and encode the window it points to.
* Model/IMConnectors.m: When assigning an object to an instance
variable directly retain the object automatically so it doesn't get
released accidentally.
* Model/IMLoading.m: Search for model files in the Resources directory
of the app wrapper. Automatically append the gmodel extension if not
present.
* Source/NSApplication.m (finishLaunching): Load the main model file if
any. Define the NSOpenStepRootDirectory to be the value of
GNUSTEP_SYSTEM_ROOT.
* Model/GNUmakefile: Define the GNUSTEP_INSTALLATION_DIR to be the
system root. Define the header files that get installed (in the AppKit
directory).
* Source/externs.m: Define the NSApplicationWillTerminateNotification
notification.
* Source/libgnustep-gui.m: Changed the name of the GNUstepMain function
to NSApplicationMain. Implement the NSApplicationMain function to do
something useful ;-).
Mon Jan 5 15:15:34 1998 Ovidiu Predescu <ovidiu@net-community.com>
* Headers/gnustep/DPSClient/DPSOperators.h: Moved to the AppKit header
directory.
* Headers/gnustep/DPSClient/NSDPSContext.h: Likewise.
* Headers/gnustep/DPSClient/TypesandConstants.h: Removed.
* Headers/gnustep/AppKit/NSApplication.h (NSOpenStepRootDirectory):
New function.
Wed Dec 3 14:12:35 1997 Ovidiu Predescu <ovidiu@net-community.com>
Added the code to support the loading of model files (similar to nib
files under OPENSTEP). The model file is a human readable and
modifiable file which is portable across many OpenStep implementations.
* Model: New directory.
* Model/GMAppKit.h: New file.
* Model/GMAppKit.m: Likewise.
* Model/GNUmakefile: Likewise.
* Model/IBClasses.h: Likewise.
* Model/IBClasses.m: Likewise.
* Model/IMConnectors.h: Likewise.
* Model/IMConnectors.m: Likewise.
* Model/IMCustomObject.h: Likewise.
* Model/IMCustomObject.m: Likewise.
* Model/IMLoading.h: Likewise.
* Model/IMLoading.m: Likewise.
* Model/Translator.h: Likewise.
* Model/Translator.m: Likewise.
* Model/nib2gmodel.m: Likewise.
* Model/test.nib: Likewise.
* Model/test.m: Likewise.
* Model/test.gmodel: Likewise.
* Model/Controller.h: Likewise.
* Model/Controller.m: Likewise.
Support the standard OpenStep images in NSImage:
* Images/nsmapping.strings: New file. It contains the mapping between
the OpenStep name to the GNUstep file name that contains the image.
* Images/GNUmakefile: Added nsmapping.strings to the list of files that
get installed.
* Source/NSImage.m: Support the above modification.
* Headers/gnustep/gui/NSView.h
(_unconditionallyResetNeedsDisplayInAllViews): Define the method.
(setAutoDisplay:): Fixed typo.
* Source/NSView.m: New method that unconditionally sets the additional
pointers needed for display and flush in NSView.
* Source/NSApplication.m (nextEventMatchingMask:untilDate:inMode:
dequeue:): Flush the communication channel after the while loop ends.
* Source/NSMenu.m: Changed the definition of MAX.
(_resizeMenuForCellSize): Resize the menu cells matrix to fit all the
cells.
(sizeToFit): Call _resizeMenuForCellSize to resize the cells matrix.
* Source/NSTextField.m (selectedCell): New method.
* Source/NSWindow.m: Include <Foundation/NSException.h>.
(dealloc, setContentView:): Clean up the code.
(setAutodisplay): Fixed typo.
Fri Nov 14 09:34:45 1997 Scott Christley <scottc@net-community.com>
* Headers/gnustep/gui/NSApplication.h (-getNextEvent): Method
no longer returns a value.
* Headers/gnustep/gui/NSWindowView.h: New file.
* Source/NSWindowView.m: New file.
* Source/NSView.m (-displayRect:): Remove debug code.
* Source/NSWindow.m: Use new class which represents the
view the window uses to draw its frame and title. Many
changes throughout the file to update the window view instead
of the content view.
* Source/GNUmakefile: Don't install the config.h file. Compile
and install NSWindowView.
* Source/NSApplication.m
(-nextEventMatchingMask:untilDate:inMode:dequeue:): Rearrange
code so that that the flushing of windows is done before
runloop's limit date is retrieved.
(-getNextEvent): Method no longer returns a value.
Sat Nov 1 11:30:40 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/GNUmakefile: Don't compile NSPasteboard.m if using
libFoundation.
* Source/NSBrowser.m: Include NSTextFieldCell.h to elimate compiler
warning.
(setCellClass:): Autorelease the newly created cell.
(addColumn): Autorelease the column.
(doClick:): Use respondsToSelector: instead of respondsTo:.
* Source/NSCell.m (initImageCell:): Changed the font size to be 0 so
that the font size from the defaults database is taken if it's
specified.
(initTextCell:): Likewise.
* Source/NSTextFieldCell.m (initTextCell:): Likewise.
* Headers/gnustep/gui/NSView.h: Add a definition for
_removeSubviewFromViewsThatNeedDisplay:.
Thu Oct 30 15:51:43 1997 Scott Christley <scottc@net-community.com>
* GNUmakefile: Add Tools directory.
* Headers/gnustep/gui/NSBrowser.h: Initial implementation.
* Headers/gnustep/gui/NSBrowserCell.h: Initial implementation.
* Source/NSBrowser.m: Initial implementation.
* Source/NSBrowserCell.m: Initial implementation.
* Documentation/news.tmpl.texi: Update.
* Documentation/status.tmpl.texi: Update.
* Source/NSCell.m (-initImageCell:, -initTextCell:): init super.
* Source/NSClipView.m (-init): Set background to gray as we may not
have a window yet.
* Source/NSMatrix.m: Fix column and row range checks.
* Source/NSTextFieldCell.m (-copyWithZone:): Set draws
background flag for new cell.
* Source/NSView.m: Reset subview needs display variables
when view is removed from superview.
* Source/GNUmakefile: Add NSPasteboard.m.
* Testing/GNUmakefile: Use test.make
* Testing/GNUmakefile.postamble: Remove install code.
* Testing/GNUmakefile.preamble: Add directory and library.
* Tools/GNUmakefile: Make system root the default install dir.
* Tools/GNUmakefile.postamble: Install after instead of before.
* Tools/GNUmakefile.preamble: Add directory and library.
Wed Oct 29 13:02:53 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSView.m (_removeSubviewFromViewsThatNeedDisplay:): New
method to remove a view from its super view linked list of views that
need display.
(removeFromSuperview): Invoke the above method to remove itself from
the list of views that need display.
(replaceSubview:with:): Likewise.
Wed Oct 29 12:22:22 1997 Ovidiu Predescu <ovidiu@net-community.com>
Bug fixes for NSForm and NSFormCell from Benhur Stein
<Benhur-de-Oliveira.Stein@imag.fr>.
* Headers/gnustep/gui/NSFormCell.h: The text field cell is keeping the
value now not the title. Changed drawInteriorWithFrame:inView: to
drawWithFrame:inView:.
* Source/NSForm.m: Likewise.
* Source/NSFormCell.m: Likewise.
(drawInteriorWithFrame:inView:): Changed to drawWithFrame:inView:.
* Source/NSCell.m (init): Make a text cell by default.
(_init): Invoke super's init.
* Source/NSView.m (opaqueAncestor): Implemented.
(visibleRect): Intersect the super view's visible rectangle with the
receiver's bounds instead of the receiver's frame.
* GNUmakefile: Fixed typo.
* Source/GNUmakefile: Changed the name of the variables to work with
the new multi-library building capabilities of library.make.
Tue Oct 28 11:24:40 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Makefile: Changed to GNUmakefile.
* Makefile.postamble: Changed to GNUmakefile.postamble.
* Documentation/Makefile: Changed to GNUmakefile.
* Images/Makefile: Changed to GNUmakefile.
* Images/Makefile.postamble: Changed to GNUmakefile.postamble.
* Source/Makefile: Changed to GNUmakefile.
* Source/Makefile.preamble: Changed to GNUmakefile.preamble.
* Source/Makefile.postamble: Changed to GNUmakefile.postamble.
* Testing/Makefile: Changed to GNUmakefile.
* Testing/Makefile.preamble: Changed to GNUmakefile.preamble.
* Testing/Makefile.postamble: Changed to GNUmakefile.postamble.
Mon Oct 27 09:33:17 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSBox.m (-initWithFrame:): Call super's addSubview: method
(bug fix from Benhur Stein <Benhur-de-Oliveira.Stein@imag.fr>).
(setContentView:): Fixed.
Tue Oct 21 18:25:14 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Incorporated some bug fixes from Benhur Stein
<Benhur-de-Oliveira.Stein@imag.fr>.
* Source/NSApplication.m (setDelegate:): Register the delegate for
receiving notifications.
(hide:): Post the NSApplicationWillHideNotification and
NSApplicationDidHideNotification notifications.
(unhideWithoutActivation:): Post NSApplicationWillUnhideNotification
and NSApplicationDidUnhideNotification notifications.
* Source/NSView.m (visibleRect): Implemented.
* Source/NSColorWell.m (initWithFrame:): Assign the color without
using ASSIGN.
* Source/NSForm (+initialize): New method.
(+cellClass): Likewise.
(+setCellClass:): Likewise.
* Source/NSView.m (addSubview:): Invoke windowWillMoveToWindow:.
(replaceSubview:): Likewise.
Tue Oct 21 16:21:06 1997 Ovidiu Predescu <ovidiu@net-community.com>
Fixed display optimization and the scrolling behavior in the presence
of optimizations.
* Source/NSView.m (_collectInvalidatedRectanglesInArray): Changed the
order in which the matrices are multiplyied to be able to correctly
convert the rectangles between views.
* Source/NSWindow.m (_collectFlushRectangles): Changed the matrices
that are passed to _collectInvalidatedRectanglesInArray:originMatrix:
sizeMatrix: to be the identity matrix.
* Source/PSMatrix.m (sizeInMatrixSpace:): Removed adding TX and TY to
the new size.
(rectInMatrixSpace:): Likewise.
* Source/NSClipView.m (-viewFrameChanged:): Update the bounds origin.
* Source/NSScrollView.m (reflectScrolledClipView:): Changed the
'documentRect' name of the variable to 'documentFrame' to better match
its usage.
* Source/NSScroller.m: Delete unnecessary commented out portions of
code.
* Documentation/news.tmpl.texi: Updated.
Mon Oct 20 14:32:55 1997 Scott Christley <scottc@net-community.com>
* Fill out NSBox implementation.
* Headers/gnustep/gui/NSCell.h (+sizeForBorderType:): New method.
* Source/NSCell.m (+sizeForBorderType:): New method.
* Source/NSBox.m: Fill out implementation.
* Source/NSTextField.m (-initWithFrame:,-setTextCursor:,-dealloc):
Correct retain/release behavior of cursor.
* Source/NSTextFieldCell.m (-cellSize): Implement.
* Source/NSView.m (-removeTrackingRect:): Comment out release
of object as we haven't retained it.
Thu Oct 16 12:28:00 1997 Scott Christley <scottc@net-community.com>
* config.mak.in: Delete.
* Headers/gnustep/gui/NSScrollView.h: Correct datatype.
* Headers/gnustep/gui/NSWindow.h: Declare NSMutableArray.
* Source/NSMenu.m (-drawRect:): Handle rounding errors.
* Source/NSScrollView.m: Correct datatype.
Mon Oct 13 16:17:45 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSMatrix.m: Removed commented out portions of code.
* Headers/gnustep/gui/NSApplication.h: Added a definition for
initialize_gnustep_backend.
* Documentation/Makefile: Remove dependency on Makefile.in.
* Documentation/news.tmpl.texi: Updated.
* Documentation/status.tmpl.texi: Updated.
Mon Oct 13 12:08:51 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Headers/gnustep/gui/config.h: Added to repository.
* Makefile.postamble: Don't delete config.h file since it's no longer
automatically generated.
Wed Oct 8 15:38:22 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Heavy display and window flushing optimizations have been
implemented.
* Source/NSView.m (-setDisplayInRect:): Now is implemented to work
optimized.
(-displayRect:): Likewise.
(-setNeedsDisplay:): Likewise.
(-setNeedsDisplayInRect:): Likewise.
(-_addSubviewForNeedingDisplay:): New method.
(-_recursivelyResetNeedsDisplayInAllViews): Likewise.
(-_displayNeededViews): Likewise.
(-_collectFlushRectangles): Likewise.
(-_setNeedsDisplay): Likewise.
(-_setNeedsFlush): Likewise.
(-_needsFlush): Likewise.
(+_flushWindows): Likewise.
* Headers/gnustep/gui/NSWindow.h: Important optimization for window
flushing has been implemented.
* Source/NSWindow.m: Likewise.
* Headers/gnustep/gui/PSMatrix.h (boundingRectFor:): New method.
(isRotated): New method.
(rectInMatrixSpace:): New method.
* Source/NSApplication.m (-nextEventMatchingMask:untilDate:inMode:
dequeue:): Call the NSWindow class to flush the windows, then flush the
communication channels.
(-_flushCommunicationChannels): New method.
* Source/NSWindow.m (-disableFlushWindow): New method.
* Source/PSMatrix.m (-boundingRectFor:result:): New method.
(-rectInMatrixSpace:): Likewise.
* NSSlider has been implemented.
* Headers/gnustep/gui/NSSlider.h: New implementation.
* Source/NSSlider.m: Likewise.
* Headers/gnustep/gui/NSSliderCell.h: Likewise.
* Source/NSSliderCell.m: Likewise.
* Source/NSButton.m: Use -setNeedsDisplay: instead of display.
* Source/NSCell.m: Likewise.
* Source/NSControl.m: Likewise.
* Source/NSScroller.m: Likewise.
* Source/NSMatrix.m: Likewise. Removed all lock focuses because display
occurs at a later time. It is still possible to improve the
performance, but at least selection in the list mode works quite quick
under Solaris, not counting in radio mode which is (very) fast.
* Source/NSMenu.m (-drawRect:): Fixed code that determines what cells
need display.
Several cleanups.
* Source/NSActionCell.m: Remove commented out sequences of code.
* Source/NSApplication.m: Likewise.
* Source/NSPopUpButton.m: Likewise.
* Source/NSView.m: Likewise.
* Source/NSApplication.m: Fixed memory allocation problems by
retaining instance variables.
* Source/NSButtonCell.m: Likewise.
* Source/NSCachedImageRep.m: Likewise.
* Source/NSCell.m: Likewise.
* Source/NSColorList.m: Likewise.
* Source/NSColorWell.m: Likewise.
* Source/NSCursor.m: Likewise.
* Source/NSEvent.m: Likewise.
* Source/NSDPSContext.m: Likewise.
* Source/NSPopUpButton.m: Likewise.
* Source/NSWindow.m: Likewise.
(-dealloc): New method: release all instance variables.
* Source/NSColor.m (-dealloc): Likewise.
* Source/NSView.m (-dealloc): Release other two additional ivars.
* Source/NSApplication.m (-dealloc): Cleanup the windows array
deallocation. Other memory allocation problems have been fixed.
(-hide): Don't use an enumerator, iterate instead over the array.
(-unhide): Likewise.
(-miniaturizeAll): Likewise.
(-updateWindows): Likewise.
(-postEvent:atStart:): Fixed condition.
* Source/NSColorList.m (-colorListNamed:): Don't use an enumerator.
* Source/NSCell.m: Changed the size of the default font back to 12.
* Source/NSText.m: Likewise.
* Source/NSTextFieldCell.m: Likewise.
* Source/NSClipView.m (-scrollToPoint:): Fixed the code that moves the
bounds to a new point.
* Source/NSScrollView.m (-_doScroll:): Fixed the code that computes the
moving direction and step. Fixed the way the scroller position is
updated when a scroll button is pressed.
* Headers/gnustep/gui/NSApplication.h: Removed the backend category
because of the problems it presents with calling super in its methods.
* Source/NSApplication.m: Likewise.
(-handleNullEvent): New method.
* Headers/gnustep/gui/NSCell.h (-setControlView:): New method.
* Source/NSCell.m (-setControlView:): New method.
* Source/NSCell.m: Likewise.
* Headers/gnustep/gui/NSPrintInfo.h: Replaced with Simon Frankau's
implementation.
* Source/NSPrintInfo.m: Likewise.
* Headers/gnustep/gui/NSScrollView.h (_knobMoved): New instance
variable.
* Source/Makefile: Temporary exclude NSPasteboard from compiling.
* Source/Makefile.preamble: Add -Wall to the compile flags. Define the
libraries the GUI library depends upon.
* Source/NSApplication.m: Conditionally include NSConnection.h. Include
NSTimer.h. Define ASSIGN.
(+sharedApplication): Use two consecutive calls to initialize the NSApp
global variable.
(-nextEventMatchingMask:untilDate:inMode:dequeue:): Change the order in
which the expiration date is computed to avoid unnecessary operations.
* Source/NSView.m: Mark the view as being rotated and/or scaled when
setting bounds or frame.
(-sortSubviewsUsingFunction:context:): Implemented.
* Source/externs.m: Define NSPrintHorizontalPagination.
Wed Oct 8 10:33:52 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Headers/gnustep/gui/config.h.in: Changed to config.h.
* Headers/gnustep/gui/config.sed.nt: Removed.
* Images/common_SliderHoriz.tiff: New file.
* Images/common_SliderVert.tiff: New file.
* Images/Makefile: Added the above two files.
* aclocal.m4: Removed.
* configure: Removed.
* configure.in: Removed.
* configure.bat: Removed.
* config.guess: Removed.
* config.mak.in: Removed.
* config.sub: Removed.
* COPYING: Removed.
* install-sh: Removed.
* mkinstalldirs: Removed.
* Documentation/Makefile.in: Removed.
Tue Sep 23 14:28:14 1997 Scott Christley <scottc@net-community.com>
* Convert to the GNUstep makefile package.
* Makefile: New file.
* Makefile.postamble: New file.
* config.mak.in: New file.
* Makefile.in: Delete.
* Makefile.sed.net: Delete.
* configure.in (AC_OUTPUT): Do not create makefiles. Eliminate
checks for TIFF and DPS.
* configure: Regnerate for configure.in changes.
* Source/Makefile: New file.
* Source/Makefile.preamble: New file.
* Source/Makefile.postamble: New file.
* Source/Makefile.in: Delete.
* Source/Makefile.sed.nt: Delete.
* Testing/Makefile.sed.nt: Delete.
* gnustep/gui/config.h.in: Remove TIFF and DPS macros.
* Images/Makefile: New file.
* Images/Makefile/postamble: New file.
* Images/Makefile.in: Delete.
* The config.h files should not be installed with the other
header files; it is only used for compilation, so the source
files should include it not the header files.
* gnustep/dps/DPSOperators.h: Do not include config.h.
* gnustep/dps/TypesandConstants.h: Likewise.
* gnustep/gui/NSCell.h: Likewise.
* gnustep/gui/NSColor.h: Likewise.
* gnustep/gui/NSColorList.h: Likewise.
* gnustep/gui/NSColorPicker.h: Likewise.
* gnustep/gui/NSCursor.h: Likewise.
* gnustep/gui/NSDataLink.h: Likewise.
* gnustep/gui/NSDataLinkManager.h: Likewise.
* gnustep/gui/NSEvent.h: Likewise.
* gnustep/gui/NSFont.h: Likewise.
* gnustep/gui/NSFontManager.h: Likewise.
* gnustep/gui/NSImage.h: Likewise.
* gnustep/gui/NSImageRep.h: Likewise.
* gnustep/gui/NSPasteboard.h: Likewise.
* gnustep/gui/NSPrintInfo.h: Likewise.
* gnustep/gui/NSPrintOperation.h: Likewise.
* gnustep/gui/NSResponder.h: Likewise.
* gnustep/gui/NSScreen.h: Likewise.
* gnustep/gui/NSSelection.h: Likewise.
* gnustep/gui/NSSpellChecker.h: Likewise.
* gnustep/gui/NSSpellServer.h: Likewise.
* gnustep/gui/NSWorkspace.h: Likewise.
* gnustep/gui/NSPasteboardServer.h: Likewise.
* gnustep/gui/nimage-tiff.h: Likewise.
* Source/NSActionCell.m: Include config.h.
* Source/NSApplication.m: Likewise.
* Source/NSBitmapImageRep.m: Likewise.
* Source/NSBox.m: Likewise.
* Source/NSBrowser.m: Likewise.
* Source/NSBrowserCell.m: Likewise.
* Source/NSBundleAdditions.m: Likewise.
* Source/NSButton.m: Likewise.
* Source/NSButtonCell.m: Likewise.
* Source/NSCStringText.m: Likewise.
* Source/NSCachedImageRep.m: Likewise.
* Source/NSCell.m: Likewise.
* Source/NSClipView.m: Likewise.
* Source/NSColor.m: Likewise.
* Source/NSColorList.m: Likewise.
* Source/NSColorPanel.m: Likewise.
* Source/NSColorPicker.m: Likewise.
* Source/NSColorWell.m: Likewise.
* Source/NSControl.m: Likewise.
* Source/NSCursor.m: Likewise.
* Source/NSCustomImageRep.m: Likewise.
* Source/NSNSDPSContext.m: Likewise.
* Source/NSDataLink.m: Likewise.
* Source/NSDataLinkManager.m: Likewise.
* Source/NSDataLinkPanel.m: Likewise.
* Source/NSEPSImageRep.m: Likewise.
* Source/NSEvent.m: Likewise.
* Source/NSFont.m: Likewise.
* Source/NSFontManager.m: Likewise.
* Source/NSFontPanel.m: Likewise.
* Source/NSForm.m: Likewise.
* Source/NSFormCell.m: Likewise.
* Source/NSHelpPanel.m: Likewise.
* Source/NSImage.m: Likewise.
* Source/NSImageRep.m: Likewise.
* Source/NSMatrix.m: Likewise.
* Source/NSMenu.m: Likewise.
* Source/NSMenuItem.m: Likewise.
* Source/NSOpenPanel.m: Likewise.
* Source/NSPageLayout.m: Likewise.
* Source/NSPanel.m: Likewise.
* Source/NSPasteboard.m: Likewise.
* Source/NSPopUpButton.m: Likewise.
* Source/NSPrintInfo.m: Likewise.
* Source/NSPrintOperation.m: Likewise.
* Source/NSPrintPanel.m: Likewise.
* Source/NSPrinter.m: Likewise.
* Source/NSResponder.m: Likewise.
* Source/NSSavePanel.m: Likewise.
* Source/NSScreen.m: Likewise.
* Source/NSScrollView.m: Likewise.
* Source/NSScroller.m: Likewise.
* Source/NSSelection.m: Likewise.
* Source/NSSlider.m: Likewise.
* Source/NSSpellChecker.m: Likewise.
* Source/NSSpellServer.m: Likewise.
* Source/NSSplitView.m: Likewise.
* Source/NSText.m: Likewise.
* Source/NSTextField.m: Likewise.
* Source/NSTextFieldCell.m: Likewise.
* Source/NSView.m: Likewise.
* Source/NSWindow.m: Likewise.
* Source/NSWorkspace.m: Likewise.
* Source/PSMatrix.m: Likewise.
* Source/TrackingRectangle.m: Likewise.
* Source/externs.m: Likewise.
* Source/gpbs.m: Likewise.
* Source/tiff.m: Likewise.
* Source/NSPasteboard.m: Move global strings to externs.m
* Source/gpbs.m: Add copyright and license information.
Wed Aug 27 14:04:38 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Headers/gnustep/gui/config.h.in (OBJC_MALLOC, OBJC_FREE): New defines
to make the GUI library compile with NeXT PDO.
* Source/NSApplication.m: Include Foundation/NSConnection.h for symbols
needed by NSRunLoop.
* Source/NSApplication.m: Changed perform:... with performSelector:.. .
* Source/NSCustomImageRep.m: Likewise.
* gui/Source/NSImage.m: Likewise.
* Source/NSMatrix.m: Likewise.
* Source/NSMenu.m: Likewise.
* Source/NSResponder.m: Likewise.
* Source/NSScroller.m: Likewise.
* Source/NSBitmapImageRep.m: Include config.h to get the OBJC_MALLOC
and OBJC_FREE definitions.
* Source/PSMatrix.m: Include Foundation/NSString.h.
* Source/NSMenu.m: Likewise.
* Source/NSMatrix.m: Likewise.
* gui/Source/NSImage.m: Likewise.
Fri Aug 22 11:40:45 1997 Ovidiu Predescu <ovidiu@net-community.com>
Fixed scrolling to work with the new scalation/rotation code.
* Source/PSMatrix.m (-scaleTo:): New method.
* Source/NSCell.m (-trackMouse:...): Check if done before asking if
needs to continue tracking.
* Source/NSClipView.m (-scrollToPoint:): Set the bounds origin to the
oposite point.
* Source/NSScrollView.m (-_doScroll:): Take into consideration the
bounds origin which is in the third quadrant.
* Source/NSView.m (-setBounds:): Use scaleTo: rather than scaleBy:.
(-setBoundsSize:): Likewise.
(-hitTest:): Fixed to work with views that have the bounds origin other
that (0, 0).
Mon Aug 18 09:38:27 1997 Ovidiu Predescu <ovidiu@net-community.com>
Start the port to NeXT's PDO under Solaris.
* Headers/gnustep/gui/NSCStringText.h: Include Foundation/NSString.h.
* Headers/gnustep/gui/NSScreen.h: Declare NSArray.
* Headers/gnustep/gui/NSText.h: Include Foundation/NSRange.h.
* Source/NSBox.m: Include Foundation/NSString.h.
* Source/NSButtonCell.m: Likewise.
* Source/NSCachedImageRep.m: Likewise.
* Source/NSCell.m: Likewise.
* Source/NSColor.m: Likewise.
* Source/NSFont.m: Likewise.
* Source/NSImage.m: Likewise.
* Source/NSMenuItem.m: Likewise.
* Source/NSOpenPanel.m: Likewise.
* Source/NSSavePanel.m: Likewise.
* Source/NSSliderCell.m: Likewise.
* Source/NSText.m: Likewise.
* Source/NSTextField.m: Likewise.
* Source/libgnustep-gui.m: Likewise.
* Source/NSDPSContext.m: Likewise. Also declare -copyWithZone: for
NSThread to make possible adding it to Foundation containers.
Added scaling and rotation support.
* Headers/gnustep/gui/NSView.h: Remove frame_rotation. Add frameMatrix
and boundsMatrix instance variables.
* Source/PSMatrix.m: New file.
* Headers/gnustep/gui/PSMatrix.h: New file.
* Source/Makefile.in: Added PSMatrix.m.
* Source/NSView.m: Use two PSMatrix to do all the scaling and rotation
stuff instead of dealing with angles and scale factors. Change the
implementation of methods that convert points and sizes to use these
matrices.
* Source/NSWindow.m (-checkCursorRectangles:forEvent:): Changed to work
with scaled and rotated views.
* Headers/gnustep/gui/config.h.in: Declare initialize_gnustep_backend.
* Source/NSMenu.m (-copyWithZone:): Create a proper copy of
NSMenuMatrix.
Sat Aug 16 16:28:31 1997 Scott Christley <scottc@net-community.com>
* Headers/gnustep/gui/NSApplication.h (+setNullEvent:): New method.
(+getNullEvent): New method.
(NSApp): Eliminate global variable.
* Headers/gnustep/gui/NSWindow.h (-performDeminiaturize:): New method.
(-performHide:): New method.
(-performUnhide:): New method.
* Source/Makefile.in: Rename variables.
* Source/NSApplication.m (+setNullEvent:): New method.
(+getNullEvent): New method.
(-peekEventMatchingMask:untilDate:inMode:dequeue:): Modify to be
more like the nextEvent.. method.
(-hide:): Call performHide: method.
(-unhide:): Call performUnhide: method.
* Source/NSButton.m (mouseDown:): Add method calls to capture and
release the mouse. Set the action mask.
* Source/NSCell.m (-setDoubleValue:): Don't set the cell type.
(-setFloatValue:, -setIntValue:, -setStringValue:): Likewise.
* Source/NSEvent.m: Don't access application object through
the global variable, use method instead.
* Source/NSFont.m (getFont, setFont): Rename to getNSFont and
setNSFont and make non-static so that they can be called
from the backend implementation.
* Source/NSMatrix.m (-initWithFrame:mode:prototype:numberOfRows:
numberOfColumns:): Call super's initWithFrame:
(mouseDown:): Capture and release the mouse when tracking. Don't
access application object through the global variable, use
method instead.
* Source/NSMenu.m: Don't access application object through the
global variable, use method instead.
* Source/NSScroller.m: Likewise.
* Source/NSTextFieldCell.m (-dealloc, -copyWithZone:): New method.
Fix retain/release on colors.
* Source/NSWindow.m (-deminiaturize:): Call performDeminiaturize.
(-makeFirstResponder:): Check that first responder exists before
telling it to resign.
(-performDeminiaturize:): New method.
(-performHide:): New method.
(-performUnhide:): New method.
* Source/externs.m: Add global variables.
* Source/libgnustep-gui.def: Add functions.
* Source/libgnustep-gui.m: Eliminate unneeded code.
Wed Aug 6 13:27:53 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSApplication (-nextEventMatchingMask:untilDate:inMode:
dequeue:): Restored the old behavior of getting time events from the
queue because otherwise the scroll view class works slowly; I have to
find some other way to put such events on the events queue.
* Source/NSButton.m (mouseDown:): Don't send the action to the target
since it is already done in trackMouse:inRect:ofView:untilMouseUp:.
* Source/NSCell.m (getPeriodicDelay:interval:): Set the delay to 0.05.
* Source/NSDPSContext.m (+initialize): Create a retained dictionary
for GNU_CONTEXT_THREAD_DICT instead of an autoreleased one.
* Source/NSClipView.m: Turned NSLog into NSDebugLog.
* Source/NSScrollView.m: Likewise.
* Source/NSScroller.m (drawParts): Set the scroller buttons delay and
repeat interval.
Tue Aug 5 14:39:29 1997 Ovidiu Predescu <ovidiu@net-community.com>
Implementation of scroll views.
* Source/NSClipView.m: The initial implementation.
* Source/NSScrollView.m: Likewise.
* NSScroller completely reworked.
* Source/NSScroller.m: Optimized to work with time events to gain speed
in user interaction.
* Images/common_ArrowLeftH.tiff: New file.
* Images/common_ArrowRightH.tiff: Likewise.
* Images/common_ArrowUpH.tiff: Likewise.
* Images/common_ArrowDownH.tiff: Likewise.
* Source/NSApplication.m (-nextEventMatchingMask:untilDate:inMode:
dequeue:): Do not pop-up the time events from the queue immediately
after -limitDateForMode: to avoid loosing the normal events.
* Source/NSCell.m: Handle sending action continuously while the user
tracks the mouse.
* Source/NSButtonCell.m: Likewise.
* Source/NSButton.m: Likewise.
* Source/NSView.m: Post notifications if needed when a frame or bound
change.
* Source/externs.m: Changed the name of NSView notification to conform
to the new ones in OS 4.x.
Mon Aug 04 13:16:54 1997 Scott Christley <scottc@ruth.net-community.com>
* Source/externs.m: New file.
* Source/libgnustep-gui.def: New file.
* Source/win32-def.top: New file.
* Source/win32-entry.c: New file.
* config.sub: New file.
* config.guess: Update.
* aclocal.m4: Rearrange checking of foundation library so that
it works properly on Windows.
* configure.in (DLLTOOL): Add support for building a DLL.
(enable-shared): New option to enable build of shared library.
(disable-static): New option to disable build of static library.
* configure: Regenerate.
* Headers/gnustep/gui/NSApplication.h (USE_RUN_LOOP): Delete macro.
* Headers/gnustep/gui/NSGraphics.h (NSGray): New global.
* Headers/gnustep/gui/NSMenuItem.h (be_mi_reserved): New
instance variable.
* Source/Makefile.in: Add support for building a DLL.
* Source/NSApplication.m: Move global variables to externs.m.
* Source/NSColor.m: Likewise.
* Source/NSColorList.m: Likewise.
* Source/NSColorPanel.m: Likewise.
* Source/NSControl.m: Likewise.
* Source/NSDataLink.m: Likewise.
* Source/NSFont.m: Likewise.
* Source/NSImageRep.m: Likewise.
* Source/NSPasteboard.m: Likewise.
* Source/NSPrinter.m: Likewise.
* Source/NSScreen.m: Likewise.
* Source/NSSplitView.m: Likewise.
* Source/NSText.m: Likewise.
* Source/NSView.m: Likewise.
* Source/NSWindow.m: Likewise.
* Source/NSWorkspace.m: Likewise.
* Source/libgnustep-gui.m: Likewise.
Thu Jun 12 19:05:24 1997 Ovidiu Predescu <ovidiu@net-community.com>
Finished the second attempt in implementing menus.
* Headers/gnustep/gui/NSMenuCell.h: Removed.
* Headers/gnustep/gui/NSMenuPrivate.h: Removed.
* Headers/gnustep/gui/NSMenuItem.h: New file.
* Headers/gnustep/gui/NSMenu.h: Completely reworked.
* Headers/gnustep/gui/AppKit.h: Include NSMenuItem.h.
* Source/NSMenu.m: Completely reworked.
* Source/NSMenuCell.m: Removed.
* Source/NSMenuItem.m: New file.
Fixed objects retain/release policy.
* Source/NSView.m: Likewise.
* Source/NSWindow.m: Likewise.
* Source/NSImage.m: Likewise.
* Source/NSWindow.m: Changed the way in which the windows are
identified by number. The NSWindow class should keep track of them
instead of NSApplication.
* Source/NSApplication.m (-run): Create a local autorelease pool.
(-_eventMatchingMask:): New method.
(-nextEventMatchingMask:untilDate:inMode:dequeue:): Changed the way
in which the events are get off the queue to better handle time events.
(-setMainMenu:): Properly handle the assignment of aMenu to main_menu.
* Source/NSEvent.m (-windowNumber): Send -windowWithNumber: to NSWindow
class instead of using the shared application instance.
* Source/NSView.m (-dealloc): Simply release the arrays instead of
doing other strange things.
(-removeCursorRect:cursor:, -viewWithTag:) Several cleanups.
* Source/NSWindow.m (flushWindowIfNeeded): Flush the window if it needs
flush.
(+windowWithNumber:): New method; its implementation should be in the
backend library.
Mon Apr 21 18:57:30 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Implement NSCopying protocol to cell classes.
* Headers/gnustep/gui/NSCell.h: Declare class to conform to
NSCopying.
* Headers/gnustep/gui/NSActionCell.h: Likewise.
* Headers/gnustep/gui/NSButtonCell.h: Likewise.
* Source/NSCell.m: Implement copyWithZone:.
* Source/NSActionCell.m: Likewise.
* Source/NSButtonCell.m: Likewise.
* Use NSRunLoop to get the events.
* Headers/gnustep/gui/NSApplication.h: Define USE_RUN_LOOP macro if you
want NSRunLoop class to be used instead of the default busy wait. Note
that some classes will not work with the "default" loop. This macro
should be removed eventually.
(-setupRunLoopInputSourcesForMode:): New method to be implemented in
backend. In this method the backend should register to run loop the
input sources it uses.
* Source/NSApplication.m (-init): Call backend method
-setupRunLoopInputSourcesForMode: to setup the input source is several
modes used by NSApp.
(-run): Get the events from NSDefaultRunLoopMode mode instead of nil.
(-nextEventMatchingMask:untilDate:inMode:dequeue:): Check for a
matching event into the events queue in the order in which the events
occured. Temporary retain the event found before removing it from the
events queue to avoid an unneeded deallocation.
Inside the loop fire the timers then wait for inputs on the input
sources of run loop.
* Source/NSButton.m: Call the nextEventMatchingMask:... using the
NSEventTrackingRunLoopMode mode instead of nil.
* Source/NSCell.m: (-trackMouse:inRect:ofView:untilMouseUp:): Likewise.
(-trackScrollButtons:): Likewise.
* Source/NSScroller.m (-trackKnob:): Likewise.
* Source/NSWindow.m (-nextEventMatchingMask:): Likewise.
* NSMatrix class completely reworked to be compliant with the OpenStep
specification.
* Source/NSMatrix.m: The second implementation.
* Headers/gnustep/gui/NSMatrix.h: Likewise.
* Implementation of NSForm, not tested.
* Source/NSForm.m: Initial implementation.
* Headers/gnustep/gui/NSForm.h: Likewise.
* Source/NSFormCell.m: Initial implementation.
* Headers/gnustep/gui/NSFormCell.h: Likewise.
* Added support in configure and makefiles for libFoundation.
* configure.in: Configure checks now for the underlaying Foundation
library and the Objective-C runtime for whom the library was compiled
for. The code is copied with copy/paste from libFoundation sources.
* aclocal.m4: Likewise.
* Source/Makefile.in: New OBJC_RUNTIME_FLAG that gets replaced by
configure. Remove OBJC_LIB since the runtime library is added to LIBS
by configure.
* Source/NSButton.m: Comment out captureMouse: method call to make
possible debugging. Anyway it seems we don't need to capture the mouse.
* Source/NSButtonCell.m: Remove the -prefersTrackingUntilMouseUp
method.
* Source/NSCell.m: Changed the way in which a cell gets initialized.
Moved all the common things into the -_init method.
* Added support for periodic events.
* Source/NSEvent.m: (+startPeriodicEventsAfterDelay:withPeriod:,
+stopPeriodicEvents): New public methods.
(+_timerFired:, +_registerRealTimer:): New private methods.
Fri Apr 04 14:03:40 1997 Scott Christley <scottc@net-community.com>
* Source/NSSlider.m (MB_NSSLIDER_CLASS): Rename to follow GNU
coding standards.
* Source/NSTextField.m (MB_NSTEXTFIELDCELL_CLASS): Likewise.
Sat Mar 29 11:58:31 1997 GNUstep Development <gnustep@net-community.com>
* Source/NSApplication.m (NullEvent): Rename global variable to
be unique and conform to GNUstep standards.
(nextEventMatchingMatchingMask:untilDate:inMode:dequeue:): Don't
unhide the cursor for null events.
(peekEventMatchingMatchingMask:untilDate:inMode:dequeue:): Likewise.
Fri Mar 28 14:15:52 1997 GNUstep Development <gnustep@net-community.com>
* Release version 0.2.0
* Version: Update with new version number.
* Update documentation.
* Documentation/announce.tmpl.texi: Likewise.
* Documentation/faq.tmpl.texi: Likewise.
* Documentation/gnustep-gui.tmpl.texi: Likewise.
* Documentation/install.tmpl.texi: Likewise.
* Documentation/news.tmpl.texi: Likewise.
* Documentation/readme.tmpl.texi: Likewise.
* Documentation/status.tmpl.texi: Likewise.
* Documentation/todo.tmpl.texi: Likewise.
* ANNOUNCE: Likewise.
* FAQ: Likewise.
* INSTALL: Likewise.
* NEWS: Likewise.
* README: Likewise.
* STATUS: Likewise.
* SUPPORT: Likewise.
* TODO: Likewise.
* Documentation/Makefile.in (update-top): New target.
Thu Mar 27 09:43:02 1997 GNUstep Development <gnustep@net-community.com>
* Source/NSTextFieldCell.m: Change default point size to 16.
* Source/NSCell.m: Likewise.
* Source/libgnustep-gui.m: Likewise.
* Source/NSText.m: Likewise.
* Headers/gnustep/gui/NSApplication.h (-peekNextEvent): New method.
(-peekEventMatchingMask:untilDate:inMode:dequeue:): New method.
* Source/NSApplication.m (-peekNextEvent): New method.
(-peekEventMatchingMask:untilDate:inMode:dequeue:): New method.
* Source/NSControl.m (-setAlignment:): Display if needed.
* Source/NSScroller.m (-trackKnob:): Set the value of the cell
manually to prevent automatic redisplay of scroller.
Thu Mar 20 10:40:51 1997 GNUstep Development <gnustep@net-community.com>
* Source/NSControl.m: Call displayIfNeeded after setting the
contents of the cell.
(-copyWithZone:): Copy the object instead of
allocating so that instance variable values are copied. Retain
the cell because it will be released when we set a new one.
(-drawCell:, -drawCellInside:): Lock and unlock the focus
when drawing the cell.
* Source/NSImage.m (_base_name, extension): Delete functions;
functionality is now provided by NSString.
(+imageNamed:) Use NSString methods instead of local functions for
obtaining base name and extension. Check if extension is one of
the image types before deleting.
(-useFromFile:): Use NSString methods instead of local functions
for obtaining the extension.
* Source/NSScroller.m (-setFloatValue:knobProportion:): Set knob
proportion first before setting float value.
(-setFloatValue:): Indicate needs display.
(-drawRect:): Remove method.
(-drawParts): Flush window.
(-trackKnob:): Correct position of knob relative to pointer. Lock
and unlock the focus; make sure it is unlocked before sending action.
(-trackScrollButtons:): Fill out implementation.
(-mouseDown:): Lock and unlock focus in the tracking methods instead.
* Source/NSTextField.m (-setTextCursor:, -copyWithZone:): New methods.
* Source/NSTextFieldCell.m (-initTextCell:): By default
it draws the background.
* Source/NSView.m (-ancestoreSharedWithView:): Implement.
(-lockFocus, -unlockFocus): Make sure our superview locks or unlocks
the focus before us.
(-display): Unlock focus before drawing subviews.
(+popFocusView): Returned poped view.
* Source/NSButton.m (-mouseDown:): Remove unneeded code; rearrange
so that the focus is unlocked before sending the action.
Fri Mar 14 18:23:18 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Flush the view's window after a redraw.
* Source/NSButton.m (-mouseDown:): Likewise.
* Source/NSCell.m (-trackMouse:inRect:ofView:untilMouseUp:): Likewise.
* Source/NSView.m (-display): Likewise.
* Source/NSControl.m (-updateCell:): Don't redraw imediately the cell,
just mark it as needs display.
* Source/NSControl.m (-updateCellInside:): Likewise.
* Source/NSFont.m (getFont): Renamed the variables to better match the
code.
* Source/NSImage.m (+imageNamed:): After creating an image don't set it
into the nameDict dictionary; this operation was already made in
-setName:.
* Source/NSResponder.m (-noResponderFor:): Commented out the NSBeep()
call to make possible to build the GUI library as a shared library
under OpenStep 4.x. The code should be in the backend libraries.
* Source/NSScroller.m (-initWithFrame:): Fixed the code that sets up
our cell to use an autoreleased cell.
* Source/NSView.m (-initWithFrame:): Make a view opaque by default.
* Source/NSView.m (-displayIfNeeded): After display mark the view as
clean.
* Source/NSView.m (-displayIfNeededIgnoringOpacity): Likewise.
Wed Mar 5 17:43:34 1997 GNUstep Development <gnustep@net-community.com>
* Headers/gnustep/gui/nsimage-tiff.h: Include gnustep-gui config.
* Source/tiff.m: Include header file.
Tue Mar 4 18:05:24 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSFont.m (-minimumAdvancement): New method.
* Source/NSButton.m (-initWithFrame:): Use an autoreleased cell.
* Source/NSButtonCell.m (+prefersTrackingUntilMouseUp): New method.
* Source/NSCell.m: Retain the objects we set in instance variables.
* Source/NSControl.m (-initWithFrame:): Use an autoreleased cell.
* Source/NSEvent.m (-description): New method.
* Source/NSSlider.m (-initWithFrame:): Use an autoreleased cell.
* Source/NSTextField.m (-initWithFrame:): Likewise.
* Source/NSTextFieldCell.m (-drawWithFrame:inView:): Call super's
implementation.
Tue Mar 4 17:28:58 1997 GNUstep Development <gnustep@net-community.com>
* Make sure gnustep-gui config.h file is included.
* Headers/gnustep/gui/AppKit.h: Likewise.
* Headers/gnustep/gui/NSCell.h: Likewise.
* Headers/gnustep/gui/NSColor.h: Likewise.
* Headers/gnustep/gui/NSColorList.h: Likewise.
* Headers/gnustep/gui/NSColorPicker.h: Likewise.
* Headers/gnustep/gui/NSCursor.h: Likewise.
* Headers/gnustep/gui/NSDataLink.h: Likewise.
* Headers/gnustep/gui/NSDataLinkManager.h: Likewise.
* Headers/gnustep/gui/NSEvent.h: Likewise.
* Headers/gnustep/gui/NSFont.h: Likewise.
* Headers/gnustep/gui/NSFontManager.h: Likewise.
* Headers/gnustep/gui/NSImage.h: Likewise.
* Headers/gnustep/gui/NSImageRep.h: Likewise.
* Headers/gnustep/gui/NSPasteboard.h: Likewise.
* Headers/gnustep/gui/NSPrintInfo.h: Likewise.
* Headers/gnustep/gui/NSPrintOperation.h: Likewise.
* Headers/gnustep/gui/NSPrinter.h: Likewise.
* Headers/gnustep/gui/NSResponder.h: Likewise.
* Headers/gnustep/gui/NSScreen.h: Likewise.
* Headers/gnustep/gui/NSSelection.h: Likewise.
* Headers/gnustep/gui/NSSpellChecker.h: Likewise.
* Headers/gnustep/gui/NSSpellServer.h: Likewise.
* Headers/gnustep/gui/NSWorkspace.h: Likewise.
* Source/Makefile.in: Remove non-existent header files.
* Source/tiff.m: Remove unneeded header file.
* Source/NSDPSContext.m: Remove unneeded header file.
* Headers/gnustep/gui/config.h.in: Define NSDebugLog if not defined.
Tue Mar 4 17:04:16 1997 GNUstep Development <gnustep@net-community.com>
* Reinstate NSCursor and NSColorWell changes that got lost.
* configure.in: Utilize config.h file instead of compiler defines.
* configure: Regenerate for configure.in changes.
* Headers/gnustep/dps/DPSOperators.h: Correct name.
* Headers/gnsutep/gui/Headers/TypesandConstants.h: Correct name.
* Headers/gnustep/gui/config.h.in: Correct names.
* Headers/gnustep/gui/nsimage-tiff.h: Correct name.
* Source/NSCell.m: Redraw cell when needed during tracking.
* Initial NSScroller implementation.
* Headers/gnustep/gui/NSScroller.h: Likewise.
* Source/NSScroller.m: Likewise.
Tue Mar 4 09:28:57 1997 GNUstep Development <gnustep@net-community.com>
* Headers/gnustep/gui/NSEvent.h: Include needed header file.
* Headers/gnustep/gui/NSNibLoading.h: Likewise.
* Headers/gnustep/gui/NSPasteboard.h: Likewise.
* Headers/gnustep/gui/NSSpellServer.h: Likewise.
* Remove internal NSLog() implementation.
* Source/Functions.m: Remove file.
* Headers/gnustep/gui/LogFile.h: Remove file.
* Headers/gnustep/gui/NSWindow.h: Remove include file.
* Source/LogFile.m: Remove file.
* Source/NSActionCell.m: Remove include file.
* Source/NSApplication.m: Likewise.
* Source/NSButton.m: Likewise.
* Source/NSCell.m: Likewise.
* Source/NSControl.m: Likewise.
* Source/NSEvent.m: Likewise.
* Source/NSFontManager.m: Likewise.
* Source/NSResponder.m: Likewise.
* Source/tiff.m: Likewise.
* Source/Makefile.in: Remove LogFile and Functions.
* Source/NSFont.m (getFont): Return font not font name.
* Images/Makefile.in: Install common_Dimple.tiff.
* Source/NSBundle.m (+imageNamed:): Create a bundle with
gnustep library install path for searching system resources.
Mon Feb 17 19:30:50 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSButton.m: New methods -setAlignment: and -alignment,
setIntValue:, setFloatValue:, setDoubleValue:, setAlignment:,
alignment.
* Source/NSButtonCell.m: setType: changed to setButtonType:. Changed
the way in which the button types are handled (use highlightsBy and
showsStateBy attributes). Fixed some object allocation retain/release
problems. setHighlightsBy: and setShowsStateBy: implemented. New
methods setIntValue:, setFloatValue:, setDoubleValue:, intValue,
floatValue, doubleValue. Fixed coding methods.
* Source/NSCell.m: Fixed some object allocation problems. Changed the
way in which setIntValue:, setFloatValue: and setDoubleValue: work.
Commented out a point conversion that works wrong (why?).
Sat Feb 15 23:12:35 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Major reorganization of header files. Types and constants were moved
in the files they belong (too many to enumerate here). Each header
file includes only the headers it really needs. Use @class to forward
class definitions instead of including the corresponding class file.
* Headers/gnustep/gui/Functions.h: Removed.
* Headers/gnustep/gui/NSBundle.h: Removed.
* Headers/gnustep/gui/NSFontPrivate.h: Removed.
* Headers/gnustep/gui/TypesandConstants.h: Removed.
* Headers/gnustep/gui/stdappkit.h: Removed.
* Headers/gnustep/gui/NSGraphichs.h: New file.
* Headers/gnustep/gui/AppKitExceptions.h: New file. A place to put
exception strings that don't belong elsewhere.
* Headers/gnustep/gui/NSNibLoading.h: Added category to NSBundle that
deals with nib loading.
Wed Feb 12 14:14:47 1997 GNUstep Development <gnustep@net-community.com>
* Initial implementation of NSCursor.
* Headers/gnustep/gui/NSCursor.h: Likewise.
* Source/NSCursor.m: Likewise.
* Headers/gnustep/gui/NSWindow.h: Implement cursor rectangles.
* Source/NSView.m: Likewise.
* Source/NSWindow.m: Likewise.
* Source/Makefile.in: Clean up variables
* Source/NSApplication.m: Fixes to event posting. Unhide the
cursor when a mouse event occurs.
* Source/NSEvent.m: NSCursorUpdate events are implemented
as enter/exit events instead of other events.
* Headers/gnustep/gui/NSTextField.h: Add text field cursor.
* Source/NSTextField.m: Likewise.
Thu Feb 6 19:31:54 1997 GNUstep Development <gnustep@net-community.com>
* Fill out implementation of NSColorWell.
* Headers/gnustep/gui/NSColorWell.h: Add backend instance variable
and backend method.
* Source/NSColorWell.m: Initial implementation.
* NSView.m: Don't use -isKindOfClass: because it isn't working
as we expect with the backend classes doing a +poseAs:
Mon Feb 10 17:23:06 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/NSFont.m: Completely reworked. Get the default fonts using
the NSUserDefaults class instead of hard-coding them. Almost all the
methods have to be overwritten in the true backend class.
* Headers/gnustep/gui/NSFont.h: Removed unnecessary instance variables.
Define some particular glyph types.
* Source/NSFontManager.m: Commented out the methods that converts
between different fonts and traits.
* Source/Makefile: Define GNUSTEP_INSTALL_LIBDIR directly as string.
* Source/NSImage.m: GNUSTEP_INSTALL_LIBDIR is passed as string during
compilation so don't use OBJC_STRINGIFY. Use an OpenStep method to
search for a resource instead of the particular gnustep-base method.
Fri Jan 31 05:30:40 1997 Scott Christley <scottc@net-community.com>
* Move and install resources to a more appropriate place.
* gnustep/gui/resource: Remove directory and files.
* Images: New directory.
* Images/GNUstep_Images_Copyright: New file.
* Images/Makefile.in: New file.
* Makefile.in: Clean up code.
* configure.in: Update ftp messages; add Images directory.
* configure: Regenerate based upon configure.in changes.
* Headers/gnustep/gui/NSCell.h (support): Remove instance variable.
(cell_image, cell_font): New instance variables.
* Source/Makefile.in (GNUSTEP_RESOURCE, install-resource): Remove.
(GNUSTEP_INSTALL_LIBDIR): Add definition.
Correct some minor errors.
* Source/NSButtonCell.m: Modify for NSCell instance variables changes.
* Source/NSCell.m: Likewise.
* Source/NSTextFieldCell.m: Likewise.
* Headers/gnustep/gui/NSBitmapImageRep.h (back_end_reserved):
New instance variable for backend use.
* Source/NSImage.m (NSImage_PATH): Default path for where NSImage
tries to find system image resources.
(-_displayEraseRect:view:color:): Eliminate method.
(-_doImageCache): Remove drawing code and place in proper methods.
Thu Jan 30 12:34:30 1997 Scott Christley <scottc@net-community.com>
* Headers/gnustep/gui/NSDragging.h (NSDraggingInfo): Define
protocol before it is used by the NSObject category.
* Headers/gnustep/dps/DPSOperators.h: Eliminate unneeded code.
* Source/NSControl.m (-copyWithZone:): New method.
* Source/NSFontManager.m (-fontWithFamily:traits:weight:size:):
Add log error message when requesting invalid font.
Thu Jan 29 13:07:11 1997 Adam Fedor <fedor@boulder.Colorado.edu>
* Headers/gnustep/gui/AppKit.h: Add NSBundle definitions.
* Source/NSBitmapImageRep.m ([NSBitmapImageRep -bitmapData]):
planes instance variable always contains image data.
([NSBitmapImageRep -getBitmapDataPlanes]): Check for data in
imagePlanes before allocating data.
* Source/NSEPSImageRep.m ([NSEPSImageRep +imageRepWithData:]): Just
return nil instead of not implementing.
([NSEPSImageRep +imageRepsWithData:]): New method.
Wed Jan 29 07:44:32 1997 Simon Frankau <sgf@frankau.demon.co.uk>
* Headers/gnustep/gui/NSCStringText.h: New file.
* Headers/gnustep/gui/NSDragging.h: New file.
* Headers/gnustep/gui/NSColorPicking.h: New file.
* Headers/gnustep/gui/NSNibLoading.h: New file.
* Headers/gnustep/gui/NSSpellProtocol.h: New file.
* Headers/gnustep/gui/AppKit.h: Include new files.
* Headers/gnustep/gui/Application.h: Add NSServicesRequests category.
* Headers/gnustep/gui/NSColor.h (-decodeNXColor:): New method.
* Headers/gnustep/gui/NSColorPicker.h (-alphaControlAddedOrRemoved:):
New method.
* Headers/gnustep/gui/NSMenu.h (-validateCell:): New method.
* Source/Makefile.in: Add new files.
* Source/NSBundle.m: New file.
* Source/NSCStringText.m: New file.
* SourceNSColor.m (-decodeNXColor:): New method.
* Source/NSColorPicker.m (-alphaControlAddedOrRemoved:):
New method.
* Source/NSText.m (-changeSpelling:, -ignoreSpelling:): New methods.
Thu Jan 23 15:10:13 1997 Scott Christley <scottc@net-community.com>
* Makefile.in (install): Don't force make of source.
* Source/Makefile.in: Use configure variables for libdir,
includedir, bindir, and links.
* Source/NSCell.m (-stringValue, -setStringValue:): Make copies.
* Source/NSColorList.m (NSColorListNotEditableException): Already
defined in NSApplication.
* Source/NSTextFieldCell.m (-initWithFrame:): Bezeled by default.
Tue Jan 14 9:33:04 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Source/Functions.m: Exclude from compiling the NSLog functions when
working with libFoundation.
* Source/NSBundle.m: Renamed to NSBundleAdditions.m to make possible
create a shared library under OS 4.1.
* Changed the -encodeWithCoder: and -initWithCoder: methods in all
classes to work with the basic NSCoder methods.
Thu Dec 5 06:58:51 1996 GNUstep Development <gnustep@net-community.com>
* Source/NSColorList.m: Fill out implementation.
* Source/NSColorWell.m: Initial implementation.
Thu Dec 05 09:56:25 1996 Scott Christley <scottc@net-community.com>
* Headers/gnustep/gui/NSMenu.h: Newer release of OpenStep
specification indicates NSMenu subclasses from NSObject.
* Headers/gnustep/gui/NSFontManager.h (-enumerateFontsAndFamilies):
New method that backend must implement.
(-enumerateFamilies): Delete old method.
* Source/NSColor.m: Reverse usage of global variables for common
colors as it causes havoc with archiving.
* Source/NSFont.m: Encode additional instance variables.
* Source/NSFontManager.m: Rename global variables.
(-enumerateFamilies): Replaced by -enumerateFontsAndFamilies.
* Source/NSMenu.m: Encode additional instance variables.
* Source/NSWindow.m: Likewise.
Fri Oct 18 12:56:14 1996 GNUstep Development <gnustep@duncan.ocbi.com>
* SUPPORT: New file.
* Makefile.in: Corrected FSF address and moved comment about
NET-Community support into SUPPORT file.
* aclocal.m4: Likewise.
* configure.in: Likewise.
* config.guess: Likewise.
* Headers/gnustep/dps/*.h: Likewise.
* Headers/gnustep/gui/*.h: Likewise.
* Headers/gnustep/gui/config.h.in: Likewise.
* Source/*.m: Likewise.
* Source/Makefile.in: Likewise.
* Testing/Makefile.in: Likewise.
* configure: Regenerate with autoconf for configure.in changes.
* Testing/nsarchiver.dat: Remove file.
* Testing/nsarchiver.m: Remove file.
* Source/NSImageRep.m: Additional NSImage work.
* Source/NSImage.m: Likewise.
* Source/tiff.m: Likewise.
Thu Oct 17 18:11:39 1996 GNUstep Development <gnustep@duncan.ocbi.com>
* Headers/gnustep/resource/gui/README: New file.
* Headers/gnustep/resource/gui/common_ArrowDown.tiff: New file.
* Headers/gnustep/resource/gui/common_ArrowLeft.tiff: New file.
* Headers/gnustep/resource/gui/common_ArrowRight.tiff: New file.
* Headers/gnustep/resource/gui/common_ArrowUp.tiff: New file.
* Headers/gnustep/resource/gui/common_Dimple.tiff: New file.
* Headers/gnustep/resource/gui/common_RadioOff.tiff: New file.
* Headers/gnustep/resource/gui/common_RadioOn.tiff: New file.
* Headers/gnustep/resource/gui/common_SwitchOff.tiff: New file.
* Headers/gnustep/resource/gui/common_SwitchOn.tiff: New file.
* Headers/gnustep/resource/gui/common_ret.tiff: New file.
* Source/Makefile: Add targets for installing and uninstalling
resource directory and files.
Mon Oct 07 16:09:57 1996 Scott Christley <scottc@net-community.com>
* Headers/gnustep/gui/config.sed.nt: Set appropriate definitions.
* Source/NSBitmapImageRep.m: Correct definition.
* Source/tiff.m: Renamed from tiff.c.
Thu Oct 3 19:36:07 1996 GNUstep Development <gnustep@duncan.ocbi.com>
* Version (GNUSTEP_GUI_SUBMINOR_VERSION): Release version 0.1.1.
* Documentation/install.tmpl.texi: Update for new version.
* Documentation/news.tmpl.texi: Update for new version.
* Documentation/status.tmpl.texi: Update for new version.
* ANNOUNCE: Regenerate from documentation files.
* FAQ: Likewise.
* INSTALL: Likewise.
* NEWS: Likewise.
* README: Likewise.
* STATUS: Likewise.
* Documentation/*.texi.orig: Rename files to *.tmpl.texi.
* Documentation/Makefile.in: Changes for renamed files.
Wed Oct 2 10:40:23 1996 GNUstep Development <gnustep@duncan.ocbi.com>
* Headers/gnustep/gui/NSWindow.h: Add additional instance variables
to fill out implementation.
(-initDefaults): New method.
* Source/NSApplication.m: Assign values to the global exception and
notification strings. Post notifications to the default notification
center. Fixed bug where the first event was being removed from the
queue versus removing the event actually being processed.
* Source/NSMatrix.m: Fill out implementation, reimplement many
methods, and fix lots of bugs.
* Source/NSMenu.m: Don't create NSView as content view, just make
the menu matrix the content view.
* Source/NSWindow.m: Assign values to the notification strings.
Implement many unimplemented methods. Post notifications to the
default notification center.
Sat Sep 21 12:25:23 1996 GNUstep Development <gnustep@ocbi.com>
* Source/NSButtonCell.m (-initTextCell:): Make default font
be the user font instead of the user fixed pitch font.
* Source/NSColor.m: Use global variables for common colors.
* Source/NSView.m (+popFocusView): Remove dictionary object.
* Source/NSWindow.m: Make default background color light gray.
Thu Sep 12 13:49:53 1996 GNUstep Development <gnustep@ocbi.com>
* Headers/gnustep/gui/NSFontPrivate.h: New file.
* Headers/gnustep/gui/NSFont.h: Add typeface and weight variables.
* Source/NSFont.m: Fill out implementation.
* Source/NSFontManager.m: Likewise.
* Headers/gnustep/gui/NSMenuPrivate.h: New file.
* Headers/gnustep/gui/NSMenu.h: Add instance variables to fill
out implementation.
* Source/NSMenu.m: Fill out implementation.
* Version (GNUSTEP_GUI_LIBTIFF): Required tiff library version.
(GNUSTEP_GUI_DPSCLIENT): Required DPSclient library version.
* configure: Run autoconf for configure.in changes.
* configure.in: Add check for tiff library. Add check for
DPSclient library.
* Headers/gnustep/dps/DPSOperators.h: include in header
file from DPSclient library.
* Headers/gnustep/dps/NSDPSContext.h: Include DPS operators.
* Headers/gnustep/dps/TypesandConstants.h: Don't define some
typedefs if we have the DPSclient library.
* Headers/gnustep/gui/Functions.h (NSRectFill): Correct definition.
* Headers/gnustep/gui/config.h.in (HAVE_TIFF): Add definition for
tiff library.
(HAVE_DPSCLIENT): Add definition for DPSclient library.
* Headers/gnustep/gui/nsimage-tiff.h (HAVE_TIFF): Correct definition.
* Source/Makefile.in: Remove definition.
* Source/NSDPSContext.m: Specify default language and name encoding.
* Source/tiff.c: Delete include of non-existent header file.
* Source/Functions.m: Remove all function declarations that
belong in the backend implementation.
* Source/NSBox.m (-drawRect:): Remove use of DPS functions that
should be in backend.
* Source/NSView.m (-drawRect:): Likewise.
* Headers/gnustep/gui/NSApplication.h: Correct method definitions
that should be using NSNotification.
* Headers/gnustep/gui/NSWindow.h: Likewise.
* Source/NSApplication.m: Likewise.
* Source/NSWindow.m: Likewise.
* Headers/gnustep/gui/NSClipView.h: Include NSNotification.
* Headers/gnustep/gui/NSControl.h: Likewise.
* Headers/gnustep/gui/NSMatrix.h: Likewise.
* Headers/gnustep/gui/NSSplitView.h: Likewise.
* Headers/gnustep/gui/NSTextField.h: Likewise.
* Headers/gnustep/gui/NSWorkspace.h: Likewise.
* Headers/gnustep/gui/NSColorPrivate.h: New file.
* Headers/gnustep/gui/NSColor.h: Implement HSB colors.
* Source/NSColor.m: Implement HSB, CMYK, and grayscale methods.
Tue Sep 3 15:24:41 1996 Adam Fedor <fedor@pulse.Colorado.edu>
* NSBitmapImageRep.h: "Hide" instance variable names.
* NSImageRep.h: Likewise.
* NSBitmapImageRep.m: Change all pertinent methods to use these new
names.
* NSImageRep.m: Likewise.
* NSBitmapImageRep.m (-initWithBitmapDataPlanes:...): Alloc
planes array and copy pointers into it.
(-dealloc]): Don't free image planes.
-bitmapData): retain image data. Alloc planes array if not
already there. Fix typo.
* NSImage.m (extension): Get one copy of cString.
* NSImageRep.m (extension): Likewise.
* NSImage.m (-initWithSize:): Fix typo.
(iterate_reps_for_types): Use correct indices.
* NSImageRep.m (+initialize): Perform only if we are
NSImageRep class.
(-imageRepsWithContentsOfFile:): Comment out non-working code.
Tue Sep 3 13:47:52 1996 GNUstep Development <gnustep@ocbi.com>
Create initial documentation set.
* Documentation/Makefile.in: New file.
* Documentation/announce.texi.orig: New file.
* Documentation/faq.texi.orig: New file.
* Documentation/gnustep-gui.texi.orig: New file.
* Documentation/install.texi.orig: New file.
* Documentation/news.texi.orig: New file.
* Documentation/readme.texi.orig: New file.
* Documentation/status.texi.orig: New file.
* Documentation/todo.texi.orig: New file.
* ANNOUNCE: Now based upon Documentation/announce.texi.orig file.
* INSTALL: Now based upon Documentation/install.texi.orig file.
* NEWS: Now based upon Documentation/news.texi.orig file.
* README: Now based upon Documentation/readme.texi.orig file.
* FAQ: New file
* STATUS: New file
* TODO: New file
* configure.in (CONFIG_FILES): Add Documentation/Makefile.
* configure: Run autoconf for changes to configure.in.
* Version: Correct variable names.
Mon Aug 12 14:16:12 1996 GNUstep Development <gnustep@ocbi.com>
* Headers/gnustep/gui/NSBitmapImageRep.h: Initial implementation
based upon Adam's Feodor work.
* Headers/gnustep/gui/NSCachedImageRep.h: Likewise.
* Headers/gnustep/gui/NSCustomImageRep.h: Likewise.
* Headers/gnustep/gui/NSEPSImageRep.h: Likewise.
* Headers/gnustep/gui/NSImage.h: Likewise.
* Headers/gnustep/gui/NSImageRep.h: Likewise.
* Source/NSBitmapImageRep.m: Likewise.
* Source/NSCachedImageRep.m: Likewise.
* Source/NSCustomImageRep.m: Likewise.
* Source/NSEPSImageRep.m: Likewise.
* Source/NSImage.m: Likewise.
* Source/NSImageRep.m: Likewise.
* Headers/gnustep/gui/NSApplication.h (-reportException:): Uncomment
method now that NSExceptions are implemented.
* Source/NSApplication.m (-reportException:): Likewise.
* Headers/gnustep/gui/NSText.h: Include NSNotification header file
now that class is implemented.
* Headers/gnustep/gui/config.h.in: Don't define NSNotification and
NSNotificationCenter to void as classes are now implemented.
* Headers/gnustep/gui/NSWindow.h: Uncomment methods now that NSScreen
class has been implemented.
* Source/NSWindow.m: Likewise.
* Source/Makefile.in: Changes to use TIFF library.
* Source/tiff.c: New file.
* Headers/gnustep/gui/nsimage-tiff.h: New file.
Wed Jul 10 17:11:53 1996 Scott Christley <scottc@net-community.com>
* Source/NSView.m: Use NSDebugLog instead of NSLog.
* Source/NSWindow.m: Likewise.
* Source/NSResponder.m: Likewise.
* Source/NSMatrix.m: Likewise.
* Source/NSFontPanel.m: Likewise.
* Source/NSFontManager.m: Likewise.
* Source/NSFont.m: Likewise.
* Source/NSEvent.m: Likewise.
* Source/NSControl.m: Likewise.
* Source/NSButtonCell.m: Likewise.
* Source/NSApplication.m: Likewise.
* Source/NSActionCell.m: Likewise.
* Source/Makefile.sed.nt: Disable debugging by default.
Wed Jun 26 12:43:17 1996 GNUstep Development <gnustep@ocbi.com>
* Source/NSButton.m (mouseDown:): Correct cell state changes for
the different cell types.
* Source/NSActionCell.m (setState:): Update the cell.
* Source/NSControl.m (drawCell:, drawCellInside:): Pass the
control's bounds not its frame.
* Source/NSTextFieldCell.m (initTextCell:): Make the default
background color be white.
* Source/NSWindow.m: Corrections to key and main window
notification and first responder handling.
Fri Jun 21 11:09:50 1996 GNUstep Development <gnustep@ocbi.com>
* Headers/gnustep/gui/NSScreen.h: Add instance variables for
a screen's device dictionary and for the backend.
* Source/NSButton.m (highlight:): Implement method.
(mouseDown:): Add mouse dragged events to tracking event mask.
* Source/NSCell.m (trackMouse:inRect:ofView:untilMouseUp:): Likewise.
* Source/NSMatrix.m (createInitialMatrix): Wrong initial capacity.
* Source/NSScreen.m: Initial implementation.
* Source/NSView.m (convertRectToWindow:): New method.
(convertPointToWindow:): New method.
(convertPoint:fromView:, convertPoint:toView:): Implement method.
Wed Jun 19 14:25:46 1996 Scott Christley <scottc@net-community.com>
* Source/NSView.m (resizeSubviewsWithOldSize:): Implement method.
(setFrame:): Notify subviews that size has changed.
(initWithFrame:): Automatically resize subviews.
* Source/Makefile.sed.nt: Have the library automatically contain
COFF debugging information.
* Source/NSButton.m (mouseDown:): Ignore the mouse if the button
is not enabled.
* Source/NSFont.m (MB_USER_FIXED_FONT, MB_USER_FONT): Rename
global variables to correspond with coding standards.
Thu Jun 6 09:20:51 1996 GNUstep Development <gnustep@ocbi.com>
* Headers/gnustep/gui/NSApplication.h (-context): New method.
* Source/Makefile.sed.nt (install): Delete AppKit and DPSClient
headers directories before installing headers.
* Source/NSApplication.m (gnustep_gui_app_is_in_dealloc): New
global variable to flag when the application is being dealloced
so it can prevent -release loops.
(+initialize, -dealloc, -removeWindowsItem:): Likewise.
(-context): New method.
* Source/NSView.m (+pushFocusView, +focusView): Remove
debugging information.
Mon Jun 3 10:54:28 1996 GNUstep Development <gnustep@ocbi.com>
* Makefile.in (clean-top, distclean): Correct targets and clean
all header subdirectories.
* Makefile.sed.nt: Modify for Makefile.in changes.
* Source/Makefile.in (clean): Remove additional temporary files.
* Source/NSDPSContext.m: Add some log messages.
* Source/NSView.m (+pushFocusView, +popFocusView): New methods.
* Source/NSView.m: Initial implementation of view focusing.
Thu May 30 18:37:51 1996 Scott Christley <scottc@net-community.com>
* configure.bat: Modifications for new directory structure.
* Source/Makefile.in (uninstall): New target.
* Source/Makefile.sed.nt: Modifications for Source/Makefile.in
changes and new directory structure.
Tue Feb 13 09:52:02 1996 Scott Christley <scottc@net-community.com>
* Headers/AppKit/NSText.h: Removed WIN32 instance variables
Sun Feb 11 14:17:15 1996 Scott Christley <scottc@net-community.com>
* Makefile.in: Changed library name from libAppKit to libgnustep
* Renamed file libAppKit.m to libgnustep.m
* Changed terminology "Application Kit Library" to
"Application Library" to eliminate trademark conflicts with NeXT.
Thu Feb 8 04:53:45 1996 Scott Christley <scottc@net-community.com>
* *.m: Conforms to NSCoding protocol
* *.h: Added NSCoding protocol methods