Commit graph

8571 commits

Author SHA1 Message Date
Felipe A. Rodriguez
7cd0ae9f9c update changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3210 72102866-910b-0410-8b05-ffd578937521
1998-11-12 11:07:19 +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
bc99fd9e3c Added system colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3187 72102866-910b-0410-8b05-ffd578937521
1998-11-09 20:15:51 +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
8cd74d9728 change changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3176 72102866-910b-0410-8b05-ffd578937521
1998-11-06 04:03:32 +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
779f1285f5 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3173 72102866-910b-0410-8b05-ffd578937521
1998-11-04 22:59:47 +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
Adam Fedor
c684daffc7 Updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3170 72102866-910b-0410-8b05-ffd578937521
1998-11-03 21:12:49 +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
be7fb430f7 update changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3165 72102866-910b-0410-8b05-ffd578937521
1998-11-02 17:54:02 +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
Richard Frith-MacDonald
eb65c9433b Don't use cStringNoCopy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3118 72102866-910b-0410-8b05-ffd578937521
1998-10-26 12:52:20 +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
92978c29e6 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3077 72102866-910b-0410-8b05-ffd578937521
1998-10-17 06:22:11 +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
Richard Frith-MacDonald
a5ddb67158 Added missing files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2986 72102866-910b-0410-8b05-ffd578937521
1998-09-26 05:25:55 +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
Adam Fedor
c6f6857c19 Add todos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2978 72102866-910b-0410-8b05-ffd578937521
1998-09-14 14:54:23 +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
7516296a72 Monor hacks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2971 72102866-910b-0410-8b05-ffd578937521
1998-09-08 14:58:47 +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
dc8d5a7b03 update ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2953 72102866-910b-0410-8b05-ffd578937521
1998-09-02 15:07:12 +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
c33b6deced changed changlog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2945 72102866-910b-0410-8b05-ffd578937521
1998-09-01 13:28:42 +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
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