Commit graph

146 commits

Author SHA1 Message Date
Felipe A. Rodriguez
d093540668 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3260 72102866-910b-0410-8b05-ffd578937521
1998-11-20 02:14:22 +00:00
Lyndon Tremblay
fdff9084d0 Loads "SavePanel" instead of "/usr/GNUstep/Library/Model/SavePanel.gmodel"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3258 72102866-910b-0410-8b05-ffd578937521
1998-11-20 00:19:19 +00:00
Lyndon Tremblay
8c8b46ac00 Fake class for gmodel loading, loads from gmodel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3254 72102866-910b-0410-8b05-ffd578937521
1998-11-19 21:55:18 +00:00
Lyndon Tremblay
001c19b2fb nothing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3253 72102866-910b-0410-8b05-ffd578937521
1998-11-19 21:54:38 +00:00
Adam Fedor
f522ea1fe6 Fix window release when closed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3237 72102866-910b-0410-8b05-ffd578937521
1998-11-19 01:34:45 +00:00
Richard Frith-MacDonald
b4d60228d8 Run make_services if necessary
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3234 72102866-910b-0410-8b05-ffd578937521
1998-11-18 09:41:47 +00:00
Richard Frith-MacDonald
7648ae6b8d Make pasteboard types conform to docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3226 72102866-910b-0410-8b05-ffd578937521
1998-11-18 03:36:39 +00:00
Richard Frith-MacDonald
b67f49b12c Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3223 72102866-910b-0410-8b05-ffd578937521
1998-11-17 17:09:59 +00:00
Adam Fedor
2ec2e70df2 Preliminary drawing engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3222 72102866-910b-0410-8b05-ffd578937521
1998-11-16 20:32:48 +00:00
Felipe A. Rodriguez
f56ca9b4bd * NSApplication.m sendEvent: add test for menu to right mouse display of.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3214 72102866-910b-0410-8b05-ffd578937521
1998-11-12 21:46:24 +00:00
Felipe A. Rodriguez
3e44e5e0dc gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3208 72102866-910b-0410-8b05-ffd578937521
1998-11-12 10:49:00 +00:00
Richard Frith-MacDonald
4387bd1179 Update to Rhapsody DR2 spec
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3186 72102866-910b-0410-8b05-ffd578937521
1998-11-09 20:09:26 +00:00
Felipe A. Rodriguez
b08fa89ee5 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3175 72102866-910b-0410-8b05-ffd578937521
1998-11-06 04:01:33 +00:00
Felipe A. Rodriguez
5ae8cd4c80 fix minor glitch in NSWindow's performClose
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3174 72102866-910b-0410-8b05-ffd578937521
1998-11-05 00:02:13 +00:00
Felipe A. Rodriguez
b2820c8fe0 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3172 72102866-910b-0410-8b05-ffd578937521
1998-11-04 22:50:08 +00:00
Felipe A. Rodriguez
35bbbfdb6b * NSMenuItem.h ADDITIONAL_WIDTH increase defined size (fix overlap in Edit)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3169 72102866-910b-0410-8b05-ffd578937521
1998-11-03 21:04:55 +00:00
Felipe A. Rodriguez
dafd348e5d gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3164 72102866-910b-0410-8b05-ffd578937521
1998-11-02 17:42:23 +00:00
Richard Frith-MacDonald
5f7a30972f pushFocusView: must be given an object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3134 72102866-910b-0410-8b05-ffd578937521
1998-10-27 16:01:33 +00:00
Richard Frith-MacDonald
1c6e5aa062 Implement view stack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3133 72102866-910b-0410-8b05-ffd578937521
1998-10-27 15:24:42 +00:00
Richard Frith-MacDonald
4250e4a439 Threading fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3132 72102866-910b-0410-8b05-ffd578937521
1998-10-27 15:06:07 +00:00
Richard Frith-MacDonald
bbef3a7d03 Thread fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3131 72102866-910b-0410-8b05-ffd578937521
1998-10-27 14:59:05 +00:00
Felipe A. Rodriguez
75b8e3cdaa optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3084 72102866-910b-0410-8b05-ffd578937521
1998-10-19 06:10:49 +00:00
Richard Frith-MacDonald
d5caf57564 Removed bad attempt to set nil into image name dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3076 72102866-910b-0410-8b05-ffd578937521
1998-10-17 06:18:14 +00:00
Felipe A. Rodriguez
388f29cf3c * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3071 72102866-910b-0410-8b05-ffd578937521
1998-10-15 12:04:53 +00:00
Adam Fedor
cc6591f99e Update docs. Redo MIN,MAX macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2982 72102866-910b-0410-8b05-ffd578937521
1998-09-18 13:51:00 +00:00
Felipe A. Rodriguez
d785d16a4a * NSEvent.m extensive optimization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2979 72102866-910b-0410-8b05-ffd578937521
1998-09-14 20:56:55 +00:00
Felipe A. Rodriguez
57f24b45de update changeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2974 72102866-910b-0410-8b05-ffd578937521
1998-09-09 17:02:21 +00:00
Felipe A. Rodriguez
215358fca3 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2973 72102866-910b-0410-8b05-ffd578937521
1998-09-08 21:50:33 +00:00
Richard Frith-MacDonald
886387a5eb Minor efficiency hacks and tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2969 72102866-910b-0410-8b05-ffd578937521
1998-09-08 14:56:29 +00:00
Adam Fedor
f38f3a21ae Fix up dps configuration (again).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2958 72102866-910b-0410-8b05-ffd578937521
1998-09-03 18:50:11 +00:00
Adam Fedor
2e1c63979e Remove slash at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2957 72102866-910b-0410-8b05-ffd578937521
1998-09-03 15:47:49 +00:00
Felipe A. Rodriguez
8132c8826a * NSMenuItem.m in copyWithZone: fixed bug which crashed menus two or more
deep when said menus are opened and detached twice


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2955 72102866-910b-0410-8b05-ffd578937521
1998-09-03 15:00:37 +00:00
Adam Fedor
18bffd34b0 Better configuration, gui will compile without DPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2954 72102866-910b-0410-8b05-ffd578937521
1998-09-03 14:35:49 +00:00
Felipe A. Rodriguez
74e179a05d * 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
	* Tools/gpbs.m added dummy defines of some backend function


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2952 72102866-910b-0410-8b05-ffd578937521
1998-09-02 15:05:13 +00:00
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
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
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
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
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