Mon Mar 1 20:06:00 1999 Richard Frith-Macdonald Removed PSMatrix - replaced by NSAffineTransform * Headers/AppKit/NSAffineTransform.h: New file based on PSMatrix.h * Source/NSAffineTransform.m: New file based on PSMatrix.m * Source/NSView.m: Modified to use NSAffineTransformAffineTransform * Source/GNUmakefile: Added NSAffineTransform * Source/NSCell.m: Don't include PSMatrix.h * Source/NSScroller.m: Don't include PSMatrix.h * Source/NSView.m: Use NSAffineTransform * Source/NSWindow.m: Don't include PSMatrix.h Mon Mar 1 17:12:00 1999 Richard Frith-Macdonald * Headers/AppKit/NSCell.h: Added MacOS-X cell state constants. Thu Feb 25 15:00:00 1999 Richard Frith-Macdonald Added support for the new (MacOS-X) NSGraphicsContext class by incorporating stuff from Adam Fedors xgps and replacing GSContext * Headers/AppKit/DPSOperators.h: New file * Headers/AppKit/PSOperators.h: New file * Headers/AppKit/GSMethodTable.h: New file * Headers/AppKit/NSGraphicsContext.h: New file * Source/NSGraphicsContext.m: New class implementation * Headers/AppKit/AppKit.h: Updated for NSGraphicsContext * Headers/AppKit/NSApplication.h: ditto * Headers/AppKit/NSEvent.h: ditto * Headers/AppKit/NSImage.h: ditto * Headers/AppKit/NSPrintOperation.h: ditto * Headers/AppKit/NSView.h: ditto * Headers/AppKit/NSWindow.h: ditto * Source/Functions.m: ditto * Source/GNUmakefile: ditto * Source/NSApplication.m: ditto * Source/NSButtonCell.m: ditto * Source/NSCell.m: ditto * Source/NSEvent.m: ditto * Source/NSPrintOperation.m: ditto * Source/NSScrollView.m: ditto * Source/externs.m: ditto Wed Feb 24 Felipe A. Rodriguez * NSSliderCell.m: knobRectFlipped: fix draw bugs in slider.app example. Mon Feb 22 8:30:00 1999 Richard Frith-Macdonald * NSView.m: Tidied coordinate conversion code to use new system with a cached conversion matrix to convert to/from window coordinates. * NSView.h: Cache conversion matrices. Mon Feb 22 6:06:00 1999 Richard Frith-Macdonald * NSView.m: Tidied coordinate conversion code to use new system with a cached conversion matrix to convert to/from window coordinates. 1999-02-21 Michael Hanni * Headers/gnustep/gui/NSRulerView.h: added (note: not implemented) * Headers/gnustep/gui/NSRulerMarker.h: added (note: not implemented) Sun Feb 21 20:36:00 1999 Richard Frith-Macdonald * Headers/gnustep/gui/NSCell.h: tidyup * Headers/gnustep/gui/NSView.h: Added matrix for coordinate conversion * Source/NSView.m: Bugfix in update, plus partial code for improved coordinate handling. Fri Feb 19 20:00:00 1999 Richard Frith-Macdonald * Source/NSClipView.m: coordinate fixes. * Source/NSScrollView.m: ditto * Source/NSTextField.m: bugfix for redisplay * Source/PSMatrix.m: minor tidyup * Source/tiff.m: fix a warning * Testing/GNUmakefile: fixup * Testing/GNUmakefile.preamble: fixup * Testing/testpb.m: incomplet attempt to get this linking properly Thu Feb 18 13:12:00 1999 Richard Frith-Macdonald * Headers/AppKit/NSView.h: Listed all private methods allong with a warning that they shouldn't be overridden. Removed a couple of unused ivars. Added two new ivars - a cache for the visible rectangle and a flag to say whether it (and when we add it, a matrix to map to and from window coordinates) is currently valid. Added ([-_invalidateCoordinates]) method declaration. * Source/NSView.m: Much tidying up. Added ([-__invalidateCoordinates]). Modified ([-visibleRect]) to cache the visible rect and to clip the invalid rect. Speeded up iterations over all subviews etc. Fix error in redisplay causing occasional excess redisplay. * Source/NSSplitView.m: Corrected orientation of dividers. * Source/NSBrowser.m: Tidied - use setNeedsDisplay. * Source/NSBrowserCell.m: Tidied and fixed bugs in decoding. * Source/NSCell.m: Tidied and fixed bugs in decoding and setting editable/selectable status. * Source/NSScroller.m: Tidy a little. Thu Feb 18 1999 Felipe A. Rodriguez * NSView.m display: fix for display bug in buttons example * NSCell.m endEditing: fix for display bug in buttons example * NSTextField.m textShouldEndEditing: The changes to these three classes fix a display bug visible in the buttons example when the top text field is selected for editing and then asked to resign when the user clicks on say the bottom text field. This causes a rect encompassing both views to be invalidated and displayed. Beyond being inefficient this also causes a display glitch given the current drawing methodology. Wed Feb 17 11:50:00 1999 Richard Frith-Macdonald * Source/NSView.m: Tidyup - visibleRect is empty if we have no window. * Source/NSText.m: ([-redisplayForLineRange:]) fixed error drawing into wrong view. * Source/NSCell.m: When starting to edit cell text, set the frame of the text object after adding to the view so it gets sized correctly. Wed Feb 17 9:04:00 1999 Richard Frith-Macdonald * Tools/make_services.m: Updated for change in NSProcessInfo * Tools/set_show_service.m: Updated for change in NSProcessInfo Wed Feb 17 8:38:00 1999 Richard Frith-Macdonald * Source/NSSplitView.m: ([-setDelegate:]) corrected to register delegate to recieve notifications. * Source/NSText.m: ([-setDelegate:]) corrected to register delegate to recieve notifications. * Source/NSTextView.m: ([-setDelegate:]) implemented to register delegate to recieve notifications. * Source/externs.m: Added missing TextView notifications. Wed Feb 17 4:06:00 1999 Richard Frith-Macdonald * Source/NSApplication.m: ([-setDelegate:]) remove old delegate as observer of application notifications. * Source/NSWindow.m: ([-setDelegate:]) add delegate as observer for window notifications. Tue Feb 16 17:06:00 1999 Richard Frith-Macdonald Additions provided by mgiddings@ypc.net - * Headers/AppKit/NSNibDeclarations.h: New file * Headers/AppKit/AppKit.h: Added NSNibDeclarations.h * Source/GNUmakefile: Added NSNibDeclarations.h Tue Feb 16 10:45:00 1999 Richard Frith-Macdonald * Tools/gpbs.m: Improve handling of loss of connections - don't remove data from a pasteboard unless it was owned by the connection lost. * Source/NSPanel.m: Override NSWindows initDefaults to make sure panels aren't shown in windows menu by default. * Source/NSApplication.m: Make NSApp a global variable. * Source/NSPasteboard.m: Fix recursivre dealloc. * Headers/AppKit/NSApplication.h: Make NSApp a global variable. Tue Feb 16 5:30:00 1999 Richard Frith-Macdonald * Source/NSView.m: Optimise coordinate conversion. * Headers/AppKit/PSMatrix.h: ditto 1999-02-15 Michael Hanni * Source/NSBox.m Source/NSButtonCell.m Source/NSCell.m Source/NSColorWell.m Source/NSMatrix.m Source/NSPrintInfo.m Source/NSScroller.m Source/NSSliderCell.m: fixed compilation warnings by including proper includes. * Tools/Functions.m: Defined NSRectClip(). Fixes fatal linking errors in Tools/ Mon Feb 15 12:20:00 1999 Richard Frith-Macdonald * Source/NSBrowserCell.m: Code by Benhur to handle flipped views * Source/NSButtonCell.m: ditto * Source/NSCell.m: ditto * Source/NSScrollView.m: ditto 1999-02-13 Michael Hanni * Small change to gui/Tools/GNUmakefile.preamble to allow for easy linking on FreeBSD 3.x. (added -ljpeg) Fri Feb 12 21:00:00 1999 Richard Frith-Macdonald * Source/NSView.m: Tidied some more. * Source/NSText.m: Don't use display - use setNeedsDisplay: instead so that drawing gets done automatically. Fri Feb 12 16:20:00 1999 Richard Frith-Macdonald * Source/NSView.m: Improve window flushing * Source/NSWindow.m: ditto Fri Feb 12 13:37:00 1999 Richard Frith-Macdonald * Source/NSCell.m: Fixes to draw text using NSText (by Benhur) Fri Feb 12 12:56:00 1999 Richard Frith-Macdonald * Headers/AppKit/NSView.h: Added missing method declarations for display methods. * Source/NSView.m: Rewrote all the display methods to the current spec (I hope). Thu Feb 11 14:10:00 1999 Richard Frith-Macdonald Coordinate fixes by Benhur to - * Source/NSClipView.m: Coordinate fixes by Benhur * Source/NSColor.m: Retain things properly when decoding. * Source/NSMatrix.m: Matrix coordinate system is flipped. * Source/NSScroller.m: Coordinate fixes Wed Feb 10 12:35:00 1999 Richard Frith-Macdonald * Source/NSClipView.m: Tidy flip-view errors by Benhur * Source/NSText.m: Lock focus around drawing insertion point while becoming/resiging first responder. Wed Feb 10 10:32:00 1999 Richard Frith-Macdonald * Source/NSCell.m: ([-copyWithZone:]) Fixed memory leak - was copying AND retaining contents. Tue Feb 9 12:20:00 1999 Richard Frith-Macdonald * Source/NSView.m: Various tidyups suggested by Benhur * Source/PSMatrix.m: ([-rectInMatrixSpace:]) and ([-sizeInMatrixSpace:]) fixed for negative values. * Source/NSScrollView.m: Resize code fix. Fri Feb 5 19:46:00 1999 Richard Frith-Macdonald * Source/NSView.m: Coordinate conversion fixe by Benhur-de-Oliveira.Stein@imag.fr * Source/NSClipView.m: turn copy-on-scroll off by defualt until it's working properly. * Headers/.../NSView.h: Fixed superview methods Fri Feb 5 6:00:00 1999 Richard Frith-Macdonald * Source/NSScroller.m: ([-knobRect:]) Correctd code so that the knob doesn't jump if you click on it. Thu Feb 4 18:50:00 1999 Richard Frith-Macdonald * Source/NSScroller.m: More fixes by Benhur-de-Oliveira.Stein@imag.fr * Source/NSClipView.m: ditto Thu Feb 4 9:35:00 1999 Richard Frith-Macdonald * Tools/dummy.m: renamed to Functions.m * Tools/Functions.m: created from dummy.m -some functions added * Tools/GNUmakefile: updated dummy.m to Functions.m * Source/NSApplication.m: Fixed to update all only when necessary. * Source/NSWindow.m: Fix to tell application when update required. The following files revised by Benhur-de-Oliveira.Stein@imag.fr * Source/NSScroller.m: Drawing fixes * Source/NSScrollView.m: Drawing fixes * Source/NSClipViem.m: Drawing fixes 1999-02-01 Adam Fedor * Model/test.m (main): Fix LIB_FOUNDATION ifdef. * Source/GSContext.m (-wait): New method. (Bug report from Eric Norum ). Mon Feb 1 13:35:00 1999 Richard Frith-Macdonald * Source/GSServicesManager.m: Replace call to getpid() with use of globallyUniqueString as a unique process name. Fri Jan 29 15:32:48 1999 Adam Fedor * Documentation/todo.tmpl.texi: Update. 1999-01-28 Adam Fedor * Model/GNUmakefile (libgmodel_OBJC_FILES): Add GMArchiver.m. (ADDITIONAL_TOOL_LIBS): Remove FoundationExt. * Headers/gnustep/gui/GMAppKit.h: Update GMArchiver include. * Model/IBClasses.m: Likewise. * Model/IMConnectors.m: Likewise. * Model/IMCustomObject.m: Likewise. * Model/IMConnectors.m: Likewise. * Model/IMLoading.m: Likewise. * Model/Translator.m: Likewise. * Source/NSPanel.m: Likewise. * Source/NSSavePanel.m: Likewise. Fri Jan 22 20:00:00 1999 Richard Frith-Macdonald * Source/NSView: Rewrote all the coordinate conversion methods to take account of flipped views correctly. Should be a major improvement. Thu Jan 21 10:05:00 1999 Richard Frith-Macdonald * Source/NSColor.m: Fixed initWithCoder: - was decoding an ivar twice (bug report by Benhur-de-Oliveira.Stein@imag.fr) - also used @encode() everywhere. Tue Jan 19 10:00:00 1999 Richard Frith-Macdonald * Source/NSScrollView.m: Tidied ([-tile]) and other stuff to do with resizing - removed some redundant code. * Source/NSSplitView.m: ([-adjustSubviews]) complete rewrite in an attempt to get things working as specified in documentation. Subviews are now scaled proportionately. * Source/NSBrowser.m: ([-selectedRowInColumn:]) implemented as suggested by Dirk Olmes. * Headers/AppKit/NSBrowser.h: ditto * Source/NSView.m: Raise exception if supplied with illegal bounds size (reported by Benhur-de-Oliveira.Stein@imag.fr) * Source/NSControl.m: Corrected ([-sendActionon:]) as suggested by Benhur-de-Oliveira.Stein@imag.fr * Source/NSClipView.m: General tidying and fix code to constrain the scroll point. Get everything to work correctly. Mon Jan 18 5:00:00 1999 Richard Frith-Macdonald * Source/NSColor.m: Fixed error in decoding color from defaults string - was only reading the first (red) color component. Fri Jan 15 10:00:00 1999 Richard Frith-Macdonald * Source/NSPasteboard.m: Removed unused (and erroneous) header. * Source/GSServicesManager.m: Fixed include path for fast.x as suggested by dirk@object-factory.com Fri Jan 15 9:30:00 1999 Richard Frith-Macdonald * Headers/AppKit/NSNibLoading.h: Added interface for new class - GSNibContainer - to manage the contents of a nib. * Source/NSBundleAdditions.m: Added implementation of GSNibContainer and implemented the nib loading methods using it and NSArchiver. This should give us a fast and simple alternative to gmodel files where portability (and the ability to edit by hand) is not a issue. Tue Jan 12 11:57:00 1999 Richard Frith-Macdonald * Source/NSWindow.m: ([-sendEvent:]) fix cursor update code to set cursors as it should. Mon Jan 11 17:00:00 1999 Richard Frith-Macdonald * Source/NSColor.m: ([-colorWithAlphaComponent:]) bugfix from Benhur-de-Oliveira.Stein@imag.fr Sat Jan 9 21:10:00 1999 Richard Frith-Macdonald * Source/NSWindow.m: ([-setcontentView:]) Corrected to resize the new content view to fill the window. Sat Jan 9 6:10:00 1999 Richard Frith-Macdonald * Source/NSApplication.m: ([-run]) reorganize so that the app can be terminated before entry to the run loop (in finishLaunching) and to make the event loop slightly more efficient. * Source/GSServicesManager.m: ([-registerAsServiceProvider:]) added checks to raise alert panel to let the application continue when it conflicts with an already running application or when the DO system is not working. Fri Jan 8 14:25:00 1999 Richard Frith-Macdonald * Images/GNUmakefile: Added common_WMClose.tiff and common_WMCloseBroken.tiff images. * Source/NSApplication.m: Use specific images for denoting state of documents in windows menu. Thu Jan 7 16:15:18 1999 Adam Fedor * Headers/gnustep/gui/GSContext.h: Add new backend instance variable for storing method pointers. Thu Jan 7 15:15:00 1999 Richard Frith-Macdonald * Tools/make_services.m: Extended to build a map of extensions to application names in the applications cache. * Source/GSServicesManager.m: Extensions for opening files. * Source/NSWorkspaceManager.m: Initial code for handling opening files. * GSServicesManager.m: GSConnectToApplication() function added to connect to, and if necessary launch, an application. Wed Jan 6 21:45:00 1999 Richard Frith-Macdonald * Source/NSCell.m: ([-endEditing]) modified as suggested by stark@easynet.fr to prevent recursion - clear delegate at start. Wed Jan 6 17:35:00 1999 Richard Frith-Macdonald * Source/NSApplication.m: minor fix for updating windows menu items. * Source/NSWindow.m: Update windows menu when document edit state is changed. Tue Jan 5 18:05:00 1999 Richard Frith-Macdonald * Source/NSMatrix.m: bugfix growing matrix - from stark@easynet.fr * Source/NSApplication.m: Modified -init method to return the shared application object so that +new is effectively a synonym for the [+sharedApplication] method - from stark@easynet.fr Tue Dec 22 12:30:00 1998 Richard Frith-Macdonald * Source/GSServicesManager.m: ([-rebuildServicesMenu:]) release submenu once it's added to main menu.a ([-update]) Don't force a display - let the autodisplay mechanism do it. * Source/NSMenu.m: ([-update]) Check to see if autoupdate is enabled properly and don't force a redisplay unnecessarily. * Source/NSApplication.m: ([-run]) update main menu items. * Source/NSMenuItem.m: Fix memory leak when copying an item with a submenu - the submenu was never released. * Source/NSWindow.m: Don't add window to windows menu in ([-initWithContentRect:styleMask:backing:defer:screen:]). ([-setMiniwindowTitle:]) Don't change windows menu if excluded. ([-makeKeyAndOrderFront:]) Make main window as well as key window. ([-initWithCoder:]) Don't put in windows menu automatically. * Source/NSpanel.m: Implemented ([canBecomeMainWindow]) to return NO. Sat Dec 19 01:26:06 1998 Matthias Klose * Images/Makefile.postamble: Use macro MKDIRS. * Headers/gnustep/gui/NSStringDrawing.h: Remove preface.h include. Sun Dec 20 6:30:00 1998 Richard Frith-Macdonald NSApplication.h: Removed windows_menu_count again - and removed window_list ivar - backend should return window list in ([-windows]). NSApplication.m: Removed window_list ivar - use calls to ([-windows]) instead. Remove code dealing with adding/removing windows - done in backend instead. Fri Dec 18 10:32300 1998 Richard Frith-Macdonald NSApplication.h: New instance variable to give reasonable perfomance with windows menu. Omitted by error in last update. Thu Dec 17 22:55:00 1998 Richard Frith-Macdonald * NSMenu.m: ([-update]) removed code to search responder chain - get NSApplication to do it for us. * NSApplication.m: Implemented more of the windows menu stuff. Almost complete barring wierd glitches due to the menu implementation. 1998-12-17 Matthias Klose * {,*}/GNUmakefile: Include Version and GNUmakefile.local. * Tools/GNUmakefile.preamble: Set ADDITIONAL_LIB_DIRS. Thu Dec 17 13:20:00 1998 Richard Frith-Macdonald * NSWindow.m: Reinstated changes lost in last update (to fix recursion problem on menu creation) and added acceptsFirstResponder. Wed Dec 16 1998 Felipe A. Rodriguez * NSWindow.m acceptsFirstResponder implement. * NSView.m: removeFromSuperview remove view from responder chain. Wed Dec 16 15:30:00 1998 Richard Frith-Macdonald * NSResponder.m: bugfix - now beeps when it can't handle a key down. * NSPanel.m: Panels are not released when closed. * NSWindow.m: Removed ([-keyDown:]) - functionality moved to point where keyDown events are sent to first responder. Fixed code for setting window titles to work with windows menu. Reinstated hack to shut down app when window closed and no main menu exists. * NSMenu.m: Removed redundant action dispatch code - use NSApplication Send notifications. * NSApplication.m: Implemented and rewrote loads of methods - windows menu now supported. Wed Dec 16 09:22:06 1998 Adam Fedor * Source/NSApplication.m (NSOpenStepRootDirectory): Remove duplicate function (also in base). Wed Dec 16 1998 Felipe A. Rodriguez * NSCell.m acceptsFirstResponder implement, editWithFrame: adjust further, selectWithFrame: preliminary implementation. * NSButton.m: acceptsFirstResponder implement. * NSText.m: shouldDrawInsertionPoint test for field editor status. * NSTextField.m: mouseDown: use field editor instead of previous non OS text field cell editor code, textShouldEndEditing: implement. Tue Dec 15 16:30:00 1998 Richard Frith-Macdonald * NSApplication.m: Terminate modal loop if the window goes away. * NSButton.m: Handle key equivalents. * NSButtonCell.m: Handle key equivalents. * NSCell.m: implement ([-performClick:]) method. * NSPanel.m: Close closable panels when user hits escape key. handle keyboard shortcut for default option. * NSWindow.m: Fix bug causing app to terminate when it shouldn't. Mon Dec 14 16:15:00 1998 Richard Frith-Macdonald * GSServicesMnager.m: Added alert panels to display error messages when services fail. Tested and fixed code for submenus of the services menu. Everything I know of is now implemented and working - now to wait for bug reports... Mon Dec 14 1998 Felipe A. Rodriguez * NSWindow.m renmae captureMouse: to _captureMouse: (designate as non OS), various methods add fieldEditor support. * GSContext.m/GSContext.h revert to previous code as solution discussed with Adam Fedor regarding backends had problems I had not forseen. * NSBrowserCell.h/.m specify text subcell as an NSCell, eliminate image cell, copyWithZone: optimize and eliminate use of ASSIGN (fixes serious dealloc bug), highlight: eliminate method (fixes dup display bug). * NSButtonCell.m copyWithZone: optimize and eliminate use of ASSIGN * NSStringDrawing.h/.m remove unimplemented draw methods from Category (these are backend specific, can't be defined twice and are already implemented in xraw). * NSApplication.h redefine initialize_gnustep_backend () per Adam's redefinition in the backend. * Functions.m/.h remove initialize_gnustep_backend() * NSCell.m preliminary implementation of fieldEditor mechanism, copyWithZone: optimize and eliminate use of ASSIGN * NSControl.m rename cell class global to _NSCONTROL_CELL_CLASS * NSMatrix.m implement NSControl's updateCell: to prevent unecessary matrix drawing if possible. * NSView.m -resizeWithOldSuperviewSize reverted code to my own once more (fewer lines and no if/else logic), changed code to use view frame instead of bounds per 3.3/4.2 docs, optimize to avoid floating point math and scale adjustment unless view has been scaled. * NSScrollView.m define as externs various PS* functions for use in drawing, polish drawing, move all backend code to front. * Tools/dummy.m define dummy PS* functions employed in gui. Mon Dec 14 9:10:00 1998 Richard Frith-Macdonald * NSPanel.m: Implemented all the alert panel functions * NSPanel.h: Added prototypes for MacOS-X alert panel functions. Sat Dec 12 10:10:00 1998 Richard Frith-Macdonald * NSView.m: Fixed bug and added comment about the (deliberately) wrong code that rounds view sizes down to an integer number of points. Commented out debug prointfs * NSPanel.m: Minor tidying - fixed size of alert panel and made message text be centered. Sat Dec 12 7:00:00 1998 Richard Frith-Macdonald * NSView.m: ([-resizeWithOldSuperviewSize:]) revert to previous code (in order to fix error in logic of handling cases whare MaxX or MaxY are specified). Added reliable code to avoid fractional values (floors final values rather than deltas - so gives right results even when a frame with fractional values was passed into the method). Yes, I know it's more lines of code - but it's better to have longer code that works correctly than shorter code that doesn't :-) Fri Dec 11 08:52:03 1998 Adam Fedor * Headers/gnustep/gui/GSContext.h: Remove method table. * Source/GSContext.m: Remove method table initialization. (+initializeMethodTable): Remove. Thu Dec 10 1998 Felipe A. Rodriguez * GNUAlertPanel rename to GSAlertPanel (to maintain a common naming style along the NS* lines within the AppKit public API). Move code to NSPanel as it is conceptually a private panel class for the sake of the public NS* panel functions. * GNUServicesManager.m/.h rename to GSServicesManager (to maintain a common naming style along the NS* lines within the AppKit public API). Thu Dec 10 15:03:05 1998 Adam Fedor * Headers/gnustep/gui/GSContext.h: New backend initialization. * Headers/gnustep/gui/NSApplication.h: Remove backend initialization declaration. * Source/Functions.m (initialize_gnustep_backend): New function. * Source/GSContext.m (+initialize): Set up method table. (+initializeGUIBackend): New method. (+initializeMethodTable): Likewise. * Headers/gnustep/gui/NSScreen.h: New ivars. * Source/NSScreen.m: Use them. * Headers/gnustep/gui/NSStringDrawing.h: New methods. * Source/NSStringDrawing.m: Implement stub. * Source/GNUServicesManager.m (-registerAsServiceProvider): Add exception handler. * Tools/GNUmakefile: Don't make example tool. Thu Dec 10 1998 Felipe A. Rodriguez * NSWindow.h change window style enum to match WindowMaker's definition. * GNUAlertPanel.m NSGetAlertPanel() replace centering code with call to center method, change window style mask, add class initialize. * libgnustep-gui.m rename to Functions.m. * Functions.m add new file as location for generic NS* and GS* functions, move backend NSEventMaskFromType() into it. * NSApplication.m discardEventsMatchingMask:.. rewrite (fix bugs), runModalSession: dump all events not for modal window (fixes modal panel button display bug), arrangeInFront: preliminary implemenation. * NSCell.m: Polish. * NSWindow.m: center method remove display invocation per 4.2 docs. Wed Dec 9 1998 Felipe A. Rodriguez * NSView.m resizeWithOldSuperviewSize: revert to previous code and add bug fixes from new. Fixes bugs in new code when MaxX or Y is specified but not Min. Avoids fractional values and fewer lines of code. Wed Dec 9 7:00:00 1998 Richard Frith-Macdonald * NSView.m: Complete rewrite of auto-resize code - now works! * NSBox.m: Fix to make auto-resize work. * GNUAlertPanel.m: Minor tidying for auto-resize. Tue Dec 8 1998 Felipe A. Rodriguez * NSScroller.m move backend code into frontend, polish code, remove ifdefs. * TrackingRectangle.m/.h rename class to GS* prefix (GSTrackingRect). * NSView.m resizeWithOldSuperviewSize: floor possibly fractional results. displayIfNeededIgnoringOpacity: rewrite to fix obscure bugs in auto display. Minor tweaks in other display methods for same reasons. * NSView.h rename invalidatedRectangle to invalidRect. * NSApplication.m: polish, eliminate a couple of compiler warnings. Tue Dec 8 20:50:00 1998 Richard Frith-Macdonald * Headers/gnustep/gui/NSWindow.h: fixed designated initialiser to use NSScreen type. * Source/NSApplication.m: bugfix for modal sessioin - now works * Source/GNUAlertPanel.m: hard-coded initialiser - seems to work ok. Mon Dec 7 15:55:00 1998 Richard Frith-Macdonald * Model/GMAppKit.m: Fix errors in creating new objects - was messing up subclasses by creating new objects of the superclass instead. Mon Dec 7 12:15:00 1998 Richard Frith-Macdonald * Tools/make_services.m: Serialize cache info in compact format (uniquing dictionary key strings) for better performance. Sun Dec 6 20:35:00 1998 Richard Frith-Macdonald * NSWorkspace.m: Fixed error in application cache path setup. * GNUServicesManager.m: Fixed error in application cache path setup. Sat Dec 5 1998 Felipe A. Rodriguez * NSView.m resizeWithOldSuperviewSize: fully implement. Fri Dec 4 11:10:00 1998 Richard Frith-Macdonald * GNUmakefile: Added GNUAlertPanel.m * GNUAlertPanel.m: Outline of framework for handling alert panels. Thu Dec 3 1998 Felipe A. Rodriguez * NSView.m resizeSubviewsWithOldSize: check whether view has ever been rotated (per 4.2 docs). * NSStringDrawing.m sizeWithAttributes: fix minor bug introduced while optimizing tab calc. * NSCell.m: drawInteriorWithFrame: minor optimization Tue Dec 3 7:00:00 1998 Richard Frith-Macdonald * NSApplication.m: Fixed include for GNUServicesManager.h Implemented all the modal loop methods (untested). * NSApplication.h: Added 'session' ivar for modal loop support. Tue Dec 1 21:00:00 1998 Richard Frith-Macdonald * NSApplication.m: Moved services code out to GNUServiceManager.m * NSPasteboard.m: Moved services code out to GNUServiceManager.m * NSWorkspace.m: Moved services code out to GNUServiceManager.m * GNUServicesManager.m: All services stuff in here - now full implementation of services functions. * GNUServicesManager.h: Header for services manager class. * GNUmakefile: Added services manager stuff * Tools/set_show_service.m: New tool to enable/disable services. * Tools/GNUmakefile: Added set_show_service.m * Tools/dummy.m: More dummy backend functions. * Tools/make_services.m: Update for new directory structure. Tue Dec 1 1998 Felipe A. Rodriguez * NSWindow.m rename windowWithNumber to _windowWithTag per backend * NSEvent.m call to windowWithNumber. Tue Dec 1 09:58:20 1998 Adam Fedor * Source/NSWorkspace.m ([NSWorkspace -findApplications]): Check for data before calling deserializer. Tue Dec 1 10:25:00 1998 Richard Frith-Macdonald * NSApplication.m: Fixed auto-enable of services menu. * NSMenu.m: Rewrote auto-enable code to work as specified in docs. * NSMenuItem.m: Removed bogus implementation of -isEnabled Mon Nov 30 10:43:09 1998 Adam Fedor * Panels/GNUmakefile: Use normal install rules. Mon Nov 30 1998 Felipe A. Rodriguez * NSAttributedString.m and NSAttributedString.h remove. * NSStringDrawing.m and NSStringDrawing.h add NSAttributedString interface and implementation. Implement NSAttributedString's size method and optimize tab width calculation. Sat Nov 28 18:25:00 1998 Richard Frith-Macdonald * Tools/example.m: Add very crude code to open a URL in netscape. * Tools/exampleInfo.plist: Add opnURL service definition. Sat Nov 28 8:00:00 1998 Richard Frith-Macdonald * NSColor.m: Mod for system colors to work nicely with backend * NSColor.h: ditto * NSColorPrivate.h: ditto Fri Nov 27 1998 Felipe A. Rodriguez * GSContext.m/.h second rewrite and polish of API. * NSView.m displayrect add flushWindow at end. Thu Nov 26 1998 Felipe A. Rodriguez * NSApplication.m add updateServicesMenu invocation accidently deleted during merge. Move method from _eventMatchingMask to tail of run method for performance reasons. * Tools/dummy.m add various new dummy functions. * Panels/GNUmakefile make local targets double colon, add local clean to fix make clean failure. Wed Nov 25 1998 Felipe A. Rodriguez * move DPSOperators.h to XDPS. * move GPS headers into a new backend. * define GSContext.h/GSContext.m as abstract super for all drawing destinations (eliminates the need for DPS, GPS, DGS at the root of the AppKit) add appropriate defintion to various classes. * NSMatrix.m add abstract backend code from xraw (eliminate backend). * NSSlider.m add abstract backend code from xraw (eliminate backend). * NSSliderCell.m add abstract backend code from xraw (eliminate backend). * NSSplitView.m add abstract backend code from xraw (eliminate backend). replace private divider highlight method with NSHighlightRect() * NSWindow.m add class method to create backend specific window view. * NSTextField.m add abstract backend code from xraw (eliminate backend). * NSForm.m add abstract backend code from xraw (eliminate backend). * NSFormCell.m add abstract backend code from xraw (eliminate backend). * NSColorWell.m add abstract backend code from xraw (eliminate backend). * NSButton.m add abstract backend code from xraw (eliminate backend). * NSControl.m add abstract backend code from xraw (eliminate backend). * NSBox.m add abstract backend code from xraw (eliminate backend). * NSBrowser.m add abstract backend code from xraw (eliminate backend). * NSBrowserCell.m add abstract backend code from xraw (eliminate backend). * NSWorkspace.m add NSProcessInfo include. Tue Nov 24 15:40:001998 Richard Frith-Macdonald * NSApplication.h: updates for services * NSApplication.m: major updates - new private class etc to support services. * NSWindow.m: Bugfix for services menu enable/disable Mon Nov 23 22:10:001998 Richard Frith-Macdonald * NSWorkspace.m: partial implementation - can launch apps. * NSPasteboard.m: partial support for services. * Tools/make_services.m: new file - moven in from base library * Tools/example.m: new example service provider * Tools/dummy.m: dummy functions for linking without backend. * Tools/gpbs.m: Tidied indentatione etc. * Tools/GNUmakefile: Added new files * Testing/testpb.m: Added rudimentary services test. Sun Nov 22 1998 Richard Frith-Macdonald * NSClipView.m: ([-setDocumentView:]) Ignore attempt to assign a view that is already the document view - could previously result in the current document view being deallocated before it was put back in place - thus crashing the app. 1998-11-22 03:44 Lyndon Tremblay * GMAppKit.m: [-_unconditionallyResetNeedsDisplayInAllViews] was not working, message could not be found, commented out calls to it. Fixed NSBrowser loading. 1998-11-20 16:32 Lyndon Tremblay * GMAppKit.m: Fixed browser loading * NSSavePanel.m: Added NSBrowser delegate * GNUmakefile: added 'Panels' subproject * Panels/SavePanel.gmode: Moved from gstep-make * Panels/GNUmakefile: New file Fri Nov 20 10:59:55 1998 Adam Fedor * Source/NSDPSContext.m: Moved to xdps backend. 1998-11-20 01:50 Lyndon Tremblay * GMAppKit.h: Added NSBrowser * GMAppKit.m: Added NSBrowser archiving methods 1998-11-19 Lyndon Tremblay * GMAppKit.m: Fixed isBezeled and isBordered in NSTextField. Thu Nov 19 1998 Felipe A. Rodriguez * NSWindowView.m, NSScrollView.m and NSClipView.m add view isOpaque method. * NSWindow.m and NSView.m remove non OS display and flushing methods (move them to XDPS) reimplement these per the OS 4.2 docs. * NSText.m setSelectedRange: test that view is in a window first. * NSScroller.m add view isOpaque method. * NSScrollView.m reflectScrolledClipView: tweak auto display of scrollers. * NSApplication.m replace ASSIGN with CONVEY macro. 1998-11-19 16:40 Lyndon Tremblay * Model/IMLoading.m: -loadIMFile automatically searches in GNUSTEP_SYSTEM_ROOT/Library/Model/ for gmodels 1998-11-19 14:13 Lyndon Tremblay * Headers/GMAppKit.h: Added NSPanel and NSSavePanel. * Headers/NSSavePanel.h: Cleaned up instance variables. * Model/GMAppKit.m: Implemented NSPanel and NSSavePanel. * Model/GNUmakefile: Disabled test.app, missing NSDPSContext * Source/NSSavePanel.m: Added controller class for loading of gmodels, loads gmodels. Wed Nov 18 20:55:53 1998 Adam Fedor * Source/NSWindow.m ([-close]): Release only when proper flag is set. Wed Nov 18 1998 Richard Frith-Macdonald * Source/NSPasteboard.m: make filename and file content pasteboard types conform to documentation. Mon Nov 16 15:13:39 1998 Adam Fedor * Preliminary implementation of a device independant drawing engine. * Headers/gnustep/gui/GPSDefinitions.h: New file. * Headers/gnustep/gui/GPSDrawContext.h: Likewise. * Headers/gnustep/gui/GPSDrawContextOps.h: Likewise. * Headers/gnustep/gui/GPSOperators.h: Likewise. * Headers/gnustep/gui/gpsdefs.h: Likewise. * Headers/gnustep/gui/gpsops.h: Likewise. * Source/GPSDrawContext.m: Likewise. * Source/gpsops.m: Likewise. * Headers/gnustep/gui/DPSOperators.h: Revert to old imp. * Headers/gnustep/gui/NS*: Change NSDPSContext to GPSDrawContext. * Source/NS*: Likewise. * Source/externs.m: Add new externs. * Source/NS*: Remove ASSIGN definitions. Thu Nov 12 1998 Felipe A. Rodriguez * GNUmakefile rearrange subprojects so that Source is built first. * NSMenu.h and NSMenu.m add support for right mouse display of menu. * NSApplication.m implement deque of events test in nextEventMatchingMask.. * NSApplication.m implement discardEventsMatchingMask method * NSApplication.m add support for right mouse display of menu. * NSCell.m move non OS method calls to back ends. * NSView.m move non OS XDPS specific method calls to XDPS back ends. * NSWindow.m move various non OS XDPS specific methods to XDPS, move various front end methods out of XRWindow and into NSWindow, fix center method. * NSApplication.m sendEvent: add test for menu to right mouse display of. Mon Nov 9 1998 Richard Frith-Macdonald * Source/NSColor.m: update to Rhapsody DR2 docs - added system colors * Headers/NSColor.h: update to add system colors etc. Thu Nov 5 1998 Felipe A. Rodriguez * Model/GNUmakefile enable build of test app, fix resource files ref. * Model/test.gmodel remove ref to IMCustomView. * Model/GMAppKit.m add test for XRAW backend. * Testing/testpb.m added dummy definition functions needed for compile. Wed Nov 4 1998 Felipe A. Rodriguez * NSApplication.h/NSApplication.m remove unused ivar recycledEventsQueue. * NSApplication.m terminate: fix call to applicationShouldTerminate, should use self not sender. * NSMenuItem.h and NSMenu.m aesthetic tweaks. * NSWindow.m implement performClose and close per OS 4.2 docs. Tue Nov 3 1998 Felipe A. Rodriguez * NSMenuItem.h ADDITIONAL_WIDTH increase defined size (fix overlap in Edit) Mon Nov 2 1998 Felipe A. Rodriguez * NSApplication.m optimize event translation, matching and dispatch. Add a possible temporary regulation hack to control event translation in backend. * NSApplication.h remove unused private methods * NSAttributedString.m polish * NSScrollView.m _doScroll: fix button scrolling direction when view is not flipped. Tue Oct 27 15:20:00 1998 Richard Frith-Macdonald * Source/NSDPSContext.m: Fixed per-thread code to be OpenStep complient and less inefficient. * Source/NSEvent.m: Fixed per-thread code to be OpenStep complient and less inefficient. * Source/NSView.m: Fixed per-thread code to be OpenStep complient and less inefficient. Mon Oct 26 13:20:00 1998 Richard Frith-Macdonald * Tools/gpbs.m: Changed cStringNoCopy to cString. Sat Oct 17 08:30:00 1998 Richard Frith-Macdonald * NSImage.m: removed erroneous attempt to set nil in image dictionary. Thu Oct 15 1998 Felipe A. Rodriguez * NSApplication.m minor optimiztions. * NSAttributedString.m sizeWithAttributes: implement tab support. * NSStringDrawing.m sizeWithAttributes: implement tab support. * NSScroller.m trackScrollButtons: add temporary hack in support of XRAW's heavily optimized scrolling machinery. * NSScroller.m remove sendAction:to: * NSScrolView.m _doScroll: implement scroller update when scrolling via buttons * NSScrolView.m reflectScrolledClipView comment out setNeedsDisplay as it causes display flicker. * NSText.m add changes from Daniel Bðhringer, set initFrame to default values to prevent infinite loop in rebuildLineLayout, minor tweaks * NSView.m minor optimiztions. Fri Sep 18 10:21:38 1998 Adam Fedor * Source/NSClipView.m (MIN, MAX): Remove. * Source/NSMatrix.c: Likewise. Mon Sep 14 1998 Felipe A. Rodriguez * NSEvent.m extensive optimization. Tue Sep 8 1998 Felipe A. Rodriguez * NSMenu.m->NSMenuMatrix in insertItemWithTitle: removed call to _resizeMenuForCellSize for performance reasons. _resizeMenuForCellSize is called later on a sizeToFit. * NSMenu.m->NSMenuMatrix in removeItem: removed call to _resizeMenuForCellSize for performance reasons. _resizeMenuForCellSize is called later on a sizeToFit. * NSMenu.m->NSMenu in insertItemWithTitle: replaced call to _menuChanged with menuHasChanged=YES for performance reasons. * NSMenu.m->NSMenu in removeItem: replaced call to _menuChanged with menuHasChanged=YES for performance reasons. * NSStringDrawing.h: reformat for clarity Tue Sep 8 16:30:00 1998 Richard Frith-Macdonald * Source/NSScroller.m: Minor efficiency hacks (inspired by xraw) plus tidying. Thu Sep 3 15:18:39 1998 Adam Fedor * Source/GNUmakefile.postamble: Don't move config.h * Source/GNUmakefile.preamble: Don't include special config.h dir. (ADDITONAL_CPPFLAGS): Add DPS_DEFINE. Thur Sept 3 1998 Felipe A. Rodriguez * NSMenuItem.m in copyWithZone: fixed bug which crashed menus two or more deep when said menus are opened and detached twice Mon Aug 31 16:31:12 1998 Adam Fedor * Headers/gnustep/gui/DPSOperators.h: Define enough stuff so that when we don't have DPS, gui will still compile. * configure.in, configure: New files. * Header/gnuste/gui/config.h.in: Likewise. * Source/GNUmakefile.postamble: Config config.h to proper target dir. * Source/GNUmakefile.preamble: Add config.h include dirs Weds Sept 2 1998 Felipe A. Rodriguez * NSFileWrapper.m and NSFileWrapper.h added preliminary implementations in support of Daniel Bðhringer's work on the text classes * NSText.m added changes by Daniel Bðhringer * NSText.h removed text_contents ivar * Tools/gpbs.m added dummy defines of some backend functions Tues Sept 1 1998 Felipe A. Rodriguez * GNUmakefile added NSAttributedString.m, NSAttributedString.h, NSParagraphStyle.m, NSTextAttachment.h, NSTextContainer.h, NSTextStorage.h, NSLayoutManager.h and NSParagraphStyle.h. * Source added NSParagraphStyle.m. * Headers/Appkit added NSTextAttachment.h, NSTextContainer.h, NSTextStorage.h, NSLayoutManager.h and NSParagraphStyle.h files. * NSText.m and NSText.h. added numerous changes by Daniel Bðhringer * NSTextView.m and NSTextView.h. added numerous changes by Daniel Bðhringer Sun Aug 30 1998 Felipe A. Rodriguez * NSApplication.h added windows_need_update as autodisplay ivar. * NSApplication.m in init set default for main_menu, windows_need_update. * NSApplication.m in run added support for OPENSTEP autodisplay mechanism. * NSApplication.m _eventMatchingMask: reformat. * NSApplication.m nextEventMatchingMask:untilDate:inMode:dequeue: move calls to _flushWindows to XDPS backend. * NSApplication.m implemented updateWindows. * NSApplication.m implemented setWindowsNeedUpdate:. * NSApplication.m setMainMenu: test for menu prior to release. * NSActionCell.m removed setState: method. * NSActionCell.m copyWithZone: optimized ivar copying. * NSButtonCell.m added _init and moved common defaults to this method. * NSButtonCell.m initImageCell: and initTextCell: minor optimizations. * NSButtonCell.m setAlternateTitle: optimize and use ASSIGN macro. * NSButtonCell.m setKeyEquivalent: remove [copy release]. * NSButtonCell.m setKeyEquivalentFont:size: optimize. * NSButtonCell.m copyWithZone: optimized ivar copying where possible. * NSCell.m _init removed call to [super init]. * NSCell.m initTextCell: removed duplicate default initializers. * NSCell.m setImage: rewrote to use ASSIGN macro. * NSCell.m setDoubleValue: rewrote to use ASSIGN macro. * NSCell.m setFloatValue: rewrote to use ASSIGN macro. * NSCell.m setIntValue: rewrote to use ASSIGN macro. * NSCell.m setStringValue: rewrote to use ASSIGN macro. * NSCell.m setFont: rewrote to use ASSIGN macro. * NSCell.m setRepresentedObject: rewrote to use ASSIGN macro. * NSCell.m copyWithZone: optimized ivar copying where possible. * NSClipView.m viewBoundsChanged: minor optimization. * NSClipView.m viewFrameChanged: minor optimization. * NSClipView.m scaleUnitSquareToSize: minor optimization. * NSClipView.m setBoundsOrigin: minor optimization. * NSClipView.m setBoundsSize: minor optimization. * NSClipView.m setFrameSize: minor optimization. * NSClipView.m setFrameOrigin: minor optimization. * NSClipView.m setFrame: minor optimization. * NSClipView.m translateOriginToPoint: minor optimization. * NSMatrix.m eliminate retain/release of selected cell via ASSIGN. * NSMatrix.m initWithFrame: remove duplicate setting of selected row and column. * NSMatrix.m removeColumn: rewrite so that col is removed before new selection is attempted (needed because selected cell is not retained). * NSMatrix.m removeRow: rewrite so that row is removed before new selection is attempted (needed because selected cell is not retained). * NSMatrix.m deselectAllCells per OS spec try to select a cell at end if empty selection is not allowed. * NSMatrix.m deselectSelectedCell set default selected row/col to 0. * NSMatrix.m mouseDown: optimize for new drawing behaviour. * NSMenu.m setSelectedCell: eliminate use of retain/release of selected cell via ASSIGN. * NSMenuItem.m copyWithZone: optimized ivar copying where possible. * NSMenuItem.m dealloc minor optimization. * NSMenuItem.m setTarget: minor optimization. * NSScroller.m trackScrollButtons: heavily optimized. * NSScroller.m sendAction: reimplemented to use sendAction: per spec also optimized. * NSText.m implemented init method. * NSText.m initWithFrame: fixed initialization of ivars which are released to retain. * NSText.m dealloc add release of retained ivars. * NSView.m dealloc add release of retained ivars. * NSView.m displayRect: and _addSubviewForNeedingDisplay reformatted code and rewrote comments. * NSWindow.m setFrame:display: rewrote for clarity. * NSWindow.m implemented update method per OPENSTEP spec. Thurs Aug 20 1998 Felipe A. Rodriguez * NSTextView.m commented out references to defaultTypingAttributes Thurs Aug 20 1998 Felipe A. Rodriguez * NSSplitView.m in drawRect moved NSRectFill() to backend * NSSavePanel.m commented out call to NSRunAlertPanel * NSText.h and NSText.m integrated source from Daniel Bðhringer. * NSTextView.h and NSTextView.m integrated source from Daniel Bðhringer. Weds Aug 19 1998 Felipe A. Rodriguez * NSView.h added specific values and comments to resize constants enum. * NSView.m implemented resizeWithOldSuperviewSize (needs work). * NSMatrix.m mousedown clarified description comment. * NSSavePanel.m integrated source from Daniel Bðhringer into premliminary implementations provided by Scott Christley. * NSSavePanel.h integrated source from Daniel Bðhringer into premliminary implementations provided by Scott Christley. * NSOpenPanel.m integrated source from Daniel Bðhringer into premliminary implementations provided by Scott Christley. * NSOpenPanel.h integrated source from Daniel Bðhringer into premliminary implementations provided by Scott Christley. * NSStringDrawing.h defined NSAttributedString portion of extension. * NSAttributedString.h created preliminary implementation of extension. * Appkit.h added includes for NSAttributedString and NSStringDrawing. * NSPasteboard.h added extern NSRTFDPboardType define. * externs.m defined NSRTFDPboardType. * NSText.h integrated source from Daniel Bðhringer * NSTextView.m preliminary implementation from Daniel Bðhringer * NSTextView.h preliminary implementation from Daniel Bðhringer * NSSplitView.m in drawRect use NSRectFill() Weds Aug 12 1998 Richard Frith-Macdonald * NSCell.m: Modified ([-copyWithZone:]) to use alloc-init to create new cell so that it works properly for subclasses that need to be initialised. Tues Aug 11 1998 Felipe A. Rodriguez * externs.m further defined the NSStringAdditions globals. Sat Aug 8 1998 Felipe A. Rodriguez * added NSStringDrawing.m and NSStringDrawing.h which implement the frontend portion of the NSString additions Category from 4.1. Tues Aug 4 1998 Felipe A. Rodriguez * NSSplitView in initWithFrame changed default back color to light gray. * NSSavePanel modified to inherit from NSPanel per OS spec. Sun Aug 2 1998 Felipe A. Rodriguez * NSText implemented setFont. * NSText fixed setUsesFontPanel. * NSText reformatted code again in certain places. Sat Aug 1 1998 Felipe A. Rodriguez * NSText in setText modified to use ASSIGN macro. * NSText added draws_background ivar and implemented it's set method. * NSText reformatted code. Weds July 29 1998 Felipe A. Rodriguez * NSMatrix.m in mouseDown adjusted the selection process when in List mode Tue Jul 28 13:02:43 1998 Adam Fedor * Source/NSSplitView.m: Implemention from Robert Vasvari . * Headers/gnustep/gui/NSSplitView.h: Likewise. Tues July 28 1998 Felipe A. Rodriguez * NSScroller.m in trackScrollButtons method added code to highlight cell prior to calling trackMouse. In keeping with new behaviour of NSCell. Sat July 25 1998 Felipe A. Rodriguez * NSCell.m removed highlight/unhighlight behaviour from trackMouse method per OS spec. Behaviour is now as described for this method in NSControl, NSMatrix and NSCell. * NSMatrix.m: rewrote mouseDown to more closely follow the OS spec. There are still some very subtle differences. * NSButton.m: now highlights it's cell before invoking Cell's trackMouse. Mon Jul 20 10:37:22 1998 Adam Fedor * config.h: Use NSDebugLog def from Foundation/NSObjCRuntime.h Tues July 18 1998 Felipe A. Rodriguez * Source/NSBrowser.m fixed bug where column matrix was getting released twice in method _performLoadOfColumn. * NSCell.m: isOpaque returns whether cell is bezeled per NS docs. * NSText.m: implemented setBackground and back color release in dealloc. * NSMenu.m: insertItemWithTitle moved set font position for performance Fri May 29 13:30:14 1998 Adam Fedor * Headers/gnustep/gui/AppKit.h: Include Foundation.h. Wed May 13 15:59:32 1998 Adam Fedor * Model/IBClasses.m: Fix header includes. * Translator.m: Likewise. * test.m: Likewise. Mon Apr 6 16:38:40 1998 Scott Christley * Documentation/status.tmpl.texi: Update. * Add Adobe printer definition files. * PrinterTypes/English.lproj/*.ppd: New files. * PrinterTypes/French.lproj/*.ppd: New files. * PrinterTypes/German.lproj/*.ppd: New files. * PrinterTypes/Italian.lproj/*.ppd: New files. * PrinterTypes/Spanish.lproj/*.ppd: New files. * PrinterTypes/Swedish.lproj/*.ppd: New files. Mon Apr 6 16:38:40 1998 Simon Frankau * Headers/gnustep/gui/NSPrinter.h (+printerNames): Add method. * Source/NSPrinter.m: Major rewrite. Wed Mar 11 10:47:31 1998 Scott Christley * Version: Version 0.5.0 * Documentation/announce.tmpl.texi: Update. * Documentation/news.tmpl.texi: Update. * Documentation/status.tmpl.texi: Update. * ANNOUNCE: Regenerate. * FAQ: Regenerate. * INSTALL: Regenerate. * NEWS: Regenerate. * README: Regenerate. * STATUS: Regenerate. * Source/NSCell.m (-drawWithFrame:inView:): Mark the cell's frame as needing flush. (-highlight:withFrame:inView:): Likewise. Sat Feb 14 16:34:22 1998 Scott Christley * Model/GNUmakefile (HEADER_FILES_DIR): Correct definition. Thu Feb 5 09:44:38 1998 Adam Fedor * GNUmakefile.postamble (header-links): Remove non-package links. Link DPSClient to gnustep/gui. * Souce/GNUmakefile: Include GNUmakefile.local. * Tools/GNUmakefile: Likewise. * Tools/GNUmakefile.preamble (ADDITIONAL_LIB_DIRS): Removed previous change. Wed Feb 4 09:11:49 1998 Adam Fedor * Changes to allow library to be compiled in a GNUstep package without having previous libraries installed. * GNUmakefile (GNUSTEP_MAKEFILES): New variable. Use it to include makefiles. (SUBPROJECTS): Remove Testing. * GNUmakefile.postamble (before-all): Add header-links depend. (header-links): New target to link in various header dirs. * Documentation/GNUmakefile (GNUSTEP_MAKEFILES): New variable. Use it to include makefiles. * Images/GNUmakefile: Likewise. * Model/GNUmakefile: Likewise. * Testing/GNUmakefile: Likewise. * Source/GNUmakefile: Likewise. * Tools/GNUmakefile: Likewise. * Source/GNUmakefile.postamble (header-links): Removed. * Model/GNUmakefile (APP_NAME): Comment out. (ADDITIONAL_INCLUDE_DIRS): New variable. * Tools/GNUmakefile.preamble (ADDITIONAL_LIB_DIRS): Include Model lib dir. Also include extensions and Foundation dirs. (ADDITIONAL_TOOL_LIBS): Include lgmodel, FoundationExt. * Tools/gpbs.m (initialize_gnustep_backend): New function. * Headers/gnustep/gui/IMCustomObject.h: Add Appkit/NSView.h. * Headers/gnuste/NSDPSContext.h: Add stdarg.h * Model/GMAppKit.m: Update includes. * Model/IMConnectors.m: Likewise. * Model/IMCustomObject.m: Likewise. * Model/IMLoading.m: Likewise. Thu Jan 29 12:02:08 Ovidiu Predescu * Model/IBClasses.h: New class NSCustomView. * Model/IBClasses.m: Likewise. * Model/GMAppKit.h: Moved to Headers/AppKit. * Model/IMCustomObject.m: Likewise. * Model/IMLoading.h: Likewise. * Model/GMAppKit.m ([NSApplication -encodeWithModelArchiver:]): Encode the delegate. (NSBox): Support for encoding and decoding it. ([NSCell -initWithModelUnarchiver:]): Check for the font. (NSClipView): Support for encoding and decoding. (NSImage): Return a dummy image in case the requested one doesn't exist. Don't return nil as it breaks the code, maybe we should raise an exception. (NSPopUpButton): Code to support encoding and decoding. Unfortunately it doesn't work properly, it causes a crash when loading. * Model/test.nib: Added a custom view to test loading. * Source/GNUmakefile: Added NSTextView.m. * Source/NSApplication.m ([NSApplication -finishLaunching]): Add support for loading the model file. * Source/NSBrowser.m: Fixed several allocation bugs. * Source/NSClipView.m ([NSClipView -setDocumentView:]): Check for invalid document view. * Source/NSPopUpButton.m: Minimaly fill out the implementation so we don't get a crash at the loading time. * Source/NSTextView.m: Define the class so we don't linking errors while trying to link with OPENSTEP converted applications. Fri Jan 9 14:06:57 1998 Ovidiu Predescu * Model/GNUmakefile: Copy the header files to the AppKit directory first. Fri Jan 9 12:25:41 1998 Ovidiu Predescu * 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 * 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 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 . (dealloc, setContentView:): Clean up the code. (setAutodisplay): Fixed typo. Fri Nov 14 09:34:45 1997 Scott Christley * 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 * 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 * 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 * 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 Bug fixes for NSForm and NSFormCell from Benhur Stein . * 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 * 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 * Source/NSBox.m (-initWithFrame:): Call super's addSubview: method (bug fix from Benhur Stein ). (setContentView:): Fixed. Tue Oct 21 18:25:14 1997 Ovidiu Predescu * Incorporated some bug fixes from Benhur Stein . * 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 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 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 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 * 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 * 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 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 * 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 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * Source/NSColorList.m: Fill out implementation. * Source/NSColorWell.m: Initial implementation. Thu Dec 05 09:56:25 1996 Scott Christley * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * Headers/AppKit/NSText.h: Removed WIN32 instance variables Sun Feb 11 14:17:15 1996 Scott Christley * 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 * *.m: Conforms to NSCoding protocol * *.h: Added NSCoding protocol methods