Commit graph

195 commits

Author SHA1 Message Date
far
652ad541db 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
far
24eac4c538 * 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
e77403ce70 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
c7abca82c0 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
fedor
4247f4ca1a 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
fedor
b45bcb9585 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
far
6bbde41d9c * 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
fedor
649eea0083 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
far
7db84ce039 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
far
c5d8b82392 * 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
far
601cac5d1b 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
far
ea0a0e722a * 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
far
48b8e5aa73 * 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
fedor
ada8279bee 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
fedor
de4323c514 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
far
97048db112 * 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
far
913e88217d * 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
far
edf0be966a 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
far
85583b8e23 * 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
b8c4dc4964 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
far
32acf03f3f * 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
far
3f1288ba8e * 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
15ec1b45c6 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
2503952ac5 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
far
6dead11c87 * 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
far
3803d50e89 * 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
fedor
08e26e278c 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
far
fb68347d27 * 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
fedor
bbdc19e7be 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
far
430b72325a * 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
far
8b61e05895 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
far
05fcf354f4 * 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
fedor
c70c7321e0 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
far
6759387bf1 * 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
far
05cca82b8e * 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
far
5d589124bb 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
far
adcfd5fb0f 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
far
98e2fbfa63 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
fedor
e2d02f8bae 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
fedor
bfa9787d32 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
scottc
d298dd8359 *** 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
fedor
8a7c86e9c4 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
scottc
db063e93fd * 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
scottc
c17d56e93b 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
scottc
5ce3df419d 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
fedor
bbdc0f2343 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
fedor
68c164b703 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
fedor
81d4f63f8d 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
fedor
a4bbb73e3e 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
fcf1b5e522 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