Commit graph

8334 commits

Author SHA1 Message Date
Felipe A. Rodriguez
6352f5f571 * 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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2944 72102866-910b-0410-8b05-ffd578937521
1998-09-01 13:23:23 +00:00
Felipe A. Rodriguez
1ea46e22c7 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2941 72102866-910b-0410-8b05-ffd578937521
1998-08-30 16:06:47 +00:00
Adam Fedor
4f5e2fdac5 Better build procedure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2940 72102866-910b-0410-8b05-ffd578937521
1998-08-24 12:47:27 +00:00
Adam Fedor
baa1f85805 configure and library-combo fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2938 72102866-910b-0410-8b05-ffd578937521
1998-08-20 17:48:46 +00:00
Felipe A. Rodriguez
03a5e921d4 * NSTextView.m commented out references to defaultTypingAttributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2937 72102866-910b-0410-8b05-ffd578937521
1998-08-20 10:43:36 +00:00
Felipe A. Rodriguez
2b9b066fcc * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2936 72102866-910b-0410-8b05-ffd578937521
1998-08-20 09:56:26 +00:00
Felipe A. Rodriguez
3c3d8b4aef update changelog and add NSAttributedString.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2935 72102866-910b-0410-8b05-ffd578937521
1998-08-19 09:05:31 +00:00
Felipe A. Rodriguez
fd64d9ffb9 * 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()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2934 72102866-910b-0410-8b05-ffd578937521
1998-08-19 09:00:26 +00:00
Richard Frith-MacDonald
80825f3b17 Fix copyWithZone:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2917 72102866-910b-0410-8b05-ffd578937521
1998-08-12 10:02:44 +00:00
Felipe A. Rodriguez
1dc2f4ce80 * externs.m further defined the NSStringAdditions globals.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2916 72102866-910b-0410-8b05-ffd578937521
1998-08-12 03:57:08 +00:00
Felipe A. Rodriguez
3769b37842 * added NSStringDrawing.m and NSStringDrawing.h which implement the
frontend portion of the NSString additions Category from 4.1.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2915 72102866-910b-0410-8b05-ffd578937521
1998-08-08 16:09:35 +00:00
Richard Frith-MacDonald
035b3fa393 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2907 72102866-910b-0410-8b05-ffd578937521
1998-08-04 15:43:00 +00:00
Richard Frith-MacDonald
fc6e6ad1e9 Moved NSDebugLog to NSDebug.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2902 72102866-910b-0410-8b05-ffd578937521
1998-08-04 12:30:45 +00:00
Felipe A. Rodriguez
ddfdb35ec3 * NSSplitView in initWithFrame changed default back color to light gray.
* NSSavePanel modified to inherit from NSPanel per OS spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2896 72102866-910b-0410-8b05-ffd578937521
1998-08-04 08:33:31 +00:00
Felipe A. Rodriguez
dd443b1caa * NSText in setText modified to use ASSIGN macro.
* NSText added draws_background ivar and implemented it's set method.
	* NSText reformatted code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2889 72102866-910b-0410-8b05-ffd578937521
1998-08-01 15:41:49 +00:00
Adam Fedor
920075c667 RB->NS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2886 72102866-910b-0410-8b05-ffd578937521
1998-07-30 20:37:55 +00:00
Felipe A. Rodriguez
40a755eeb5 * NSMatrix.m in mouseDown adjusted the selection process when in List mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2877 72102866-910b-0410-8b05-ffd578937521
1998-07-29 10:28:36 +00:00
Adam Fedor
8d2cc1717c New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
Felipe A. Rodriguez
b2a8e958e6 * NSScroller.m in trackScrollButtons method added code to highlight cell
prior to calling trackMouse.  In keeping with new behaviour of NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2867 72102866-910b-0410-8b05-ffd578937521
1998-07-28 09:30:51 +00:00
Felipe A. Rodriguez
b8c99d7204 updated ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2866 72102866-910b-0410-8b05-ffd578937521
1998-07-26 01:44:29 +00:00
Felipe A. Rodriguez
753def7785 * NSCell.m: changed implementation of trackMouse method so that it does
not hightlight the cell.  The new behavior is as described in the spec
		for NSControl, NSMatrix and NSCell.  According to the spec it is the
		responsibility of the control to highlight the cell prior to calling
		cell's track method.
	* NSMatrix.m: rewrote mousedown to more closely mimic the NS/OS behavior.
	* NSButton.m: modified to support new behavior of NSCell's track mode.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2865 72102866-910b-0410-8b05-ffd578937521
1998-07-26 01:15:17 +00:00
Adam Fedor
dbf75faa59 Improved making.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2858 72102866-910b-0410-8b05-ffd578937521
1998-07-20 15:25:47 +00:00
Felipe A. Rodriguez
68df7a7ebf * 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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2856 72102866-910b-0410-8b05-ffd578937521
1998-07-18 19:21:22 +00:00
Felipe A. Rodriguez
67e0ab8be0 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2835 72102866-910b-0410-8b05-ffd578937521
1998-07-14 17:51:44 +00:00
Felipe A. Rodriguez
f07bf17280 added check for a valid view in NSView's _pathBetweenSubview... method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2834 72102866-910b-0410-8b05-ffd578937521
1998-07-12 15:15:36 +00:00
Felipe A. Rodriguez
8f5db092d8 added field editor instance variable to NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2831 72102866-910b-0410-8b05-ffd578937521
1998-07-10 18:48:18 +00:00
Felipe A. Rodriguez
df43649637 change in NSBrowser because oldmatrix was getting released twice
various changes to NSMatrix's mousedown to support double clicks
added field editor instance variable to NSWindow


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2830 72102866-910b-0410-8b05-ffd578937521
1998-07-10 18:44:18 +00:00
Adam Fedor
bb62c80de9 Update docs, todo list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2829 72102866-910b-0410-8b05-ffd578937521
1998-06-30 16:03:52 +00:00
Adam Fedor
e56b4efe32 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2807 72102866-910b-0410-8b05-ffd578937521
1998-05-29 18:24:07 +00:00
Scott Christley
7f6c3474ce *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2802 72102866-910b-0410-8b05-ffd578937521
1998-05-23 23:20:57 +00:00
Adam Fedor
30ad15a10d Doc changes. Other minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2797 72102866-910b-0410-8b05-ffd578937521
1998-05-13 20:56:38 +00:00
Scott Christley
4e4828f122 * Documentation/status.tmpl.texi: Update.
* Add Adobe printer definition files.
	* PrinterTypes/English.lproj/*.ppd: New file.s
	* PrinterTypes/French.lproj/*.ppd: New file.s
	* PrinterTypes/German.lproj/*.ppd: New file.s
	* PrinterTypes/Italian.lproj/*.ppd: New file.s
	* PrinterTypes/Spanish.lproj/*.ppd: New file.s
	* PrinterTypes/Swedish.lproj/*.ppd: New file.s

	* Headers/gnustep/gui/NSPrinter.h (+printerNames): Add method.
	* Source/NSPrinter.m: Major rewrite.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2786 72102866-910b-0410-8b05-ffd578937521
1998-04-07 01:03:24 +00:00
Scott Christley
b0a80fbf9d Version 0.5.0 release.
Minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2773 72102866-910b-0410-8b05-ffd578937521
1998-03-11 22:00:50 +00:00
Scott Christley
4b95b24298 Correct definition of HEADER_FILES_DIR.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2756 72102866-910b-0410-8b05-ffd578937521
1998-02-15 01:12:27 +00:00
Adam Fedor
e476d477b3 Change GNUSTEP_MAKEFILE_DIR to GNUSTEP_MAKEFILES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2738 72102866-910b-0410-8b05-ffd578937521
1998-02-06 19:12:03 +00:00
Adam Fedor
f59806d975 Revised method for compiling GNUstep package.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2732 72102866-910b-0410-8b05-ffd578937521
1998-02-05 16:48:59 +00:00
Adam Fedor
c0a05de9da Add Foundation and extensions lib dirs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2729 72102866-910b-0410-8b05-ffd578937521
1998-02-05 00:17:58 +00:00
Adam Fedor
9e5d9ef72b Allow library to be compiled without installing supporting libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2726 72102866-910b-0410-8b05-ffd578937521
1998-02-04 17:46:08 +00:00
Ovidiu Predescu
8f9aad2c38 Fixes to make the code work with the BaseFinderOpen port to GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2713 72102866-910b-0410-8b05-ffd578937521
1998-01-30 00:34:25 +00:00
Ovidiu Predescu
5557196f20 Print a message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2703 72102866-910b-0410-8b05-ffd578937521
1998-01-21 00:57:01 +00:00
Ovidiu Predescu
93f1e589e5 Commented out the archiving of NSPopUpButton since it crashes the translator; probably it interferes with NeXT's NIB handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2700 72102866-910b-0410-8b05-ffd578937521
1998-01-16 00:57:21 +00:00
Ovidiu Predescu
6507878974 Added support for NSPopUpButton.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2699 72102866-910b-0410-8b05-ffd578937521
1998-01-15 21:01:41 +00:00
Ovidiu Predescu
9543e0213e Convert all NSColor subclasses to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2698 72102866-910b-0410-8b05-ffd578937521
1998-01-15 00:55:50 +00:00
Ovidiu Predescu
391f9cec43 Fixed serios bug that affected establishing connections. Support for NSBox.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2697 72102866-910b-0410-8b05-ffd578937521
1998-01-14 23:03:44 +00:00
Ovidiu Predescu
eeea6dfbeb Added delegate to NSApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2696 72102866-910b-0410-8b05-ffd578937521
1998-01-14 03:39:14 +00:00
Ovidiu Predescu
4663fa26bc Created.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2692 72102866-910b-0410-8b05-ffd578937521
1998-01-09 23:54:04 +00:00
Ovidiu Predescu
2f0a46a41c Copy the model files into the AppKit headers directory first.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2691 72102866-910b-0410-8b05-ffd578937521
1998-01-09 23:51:46 +00:00
Ovidiu Predescu
83942f9a80 Several changes to support porting of an OPENSTEP application to GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2689 72102866-910b-0410-8b05-ffd578937521
1998-01-09 22:28:14 +00:00
Ovidiu Predescu
298d5644e0 Moved from DPSClient.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2684 72102866-910b-0410-8b05-ffd578937521
1998-01-06 00:52:16 +00:00
Ovidiu Predescu
484fdc5998 Moved to the AppKit directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2683 72102866-910b-0410-8b05-ffd578937521
1998-01-06 00:51:34 +00:00