Commit graph

68 commits

Author SHA1 Message Date
Adam Fedor
1ff4d1c990 Load backend as a bundle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9580 72102866-910b-0410-8b05-ffd578937521
2001-04-13 20:04:04 +00:00
Nicola Pero
630ee9a923 Added void implementation of NSDottedFrameRect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9477 72102866-910b-0410-8b05-ffd578937521
2001-03-22 22:12:51 +00:00
Nicola Pero
c329757a88 New nice way to tell gnustep-make to use the local make_services rather
than the installed one


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9433 72102866-910b-0410-8b05-ffd578937521
2001-03-18 15:59:00 +00:00
Nicola Pero
d71f8763c1 Commented out all empty settings of variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9406 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:32:19 +00:00
Nicola Pero
c66d0946aa Commented out unused rule
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9405 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:31:35 +00:00
Nicola Pero
23d31670b8 Abort if GNUmakefile.preamble or GNUmakefile.postamble is not found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9404 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:30:47 +00:00
Adam Fedor
39daab7bef Re-add untrasnfered files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9273 72102866-910b-0410-8b05-ffd578937521
2001-03-02 15:37:20 +00:00
Adam Fedor
2cd1a5b967 FIx rpm dependancies
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8951 72102866-910b-0410-8b05-ffd578937521
2001-01-30 23:26:41 +00:00
Nicola Pero
82c6a1cab4 Include local gui.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8891 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:49:03 +00:00
Richard Frith-MacDonald
d329613085 Minor pasteboard fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8831 72102866-910b-0410-8b05-ffd578937521
2001-01-27 06:57:21 +00:00
Fred Kiefer
fb668eea4a Undid last change and removed Function GSWSetMatrix().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8579 72102866-910b-0410-8b05-ffd578937521
2001-01-12 19:45:19 +00:00
Nicola Pero
910fff911e Include DPSOperators.h so it compiles again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8535 72102866-910b-0410-8b05-ffd578937521
2001-01-09 11:58:40 +00:00
Nicola Pero
2cab24d43f Include GNUmakefile.local.service if present
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7812 72102866-910b-0410-8b05-ffd578937521
2000-10-13 15:58:57 +00:00
Mirko Viviani
05a9cab8f7 2000-09-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSBrowser.m ([NSBrowser -_performLoadOfColumn:]): fixed
	intercell space values.

	* Source/NSText.m ([NSText -keyDown:]): removed forward for illegal
	text field events.

	* Source/NSSavePanel.m ([NSSavePanel -controlTextDidEndEditing:]):
	implemented for text field movement.
	([NSSavePanel -_performReturn:]): new private method.
	([NSSavePanel -_initWithoutGModel]): set form cell action to
	_performReturn:

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]): call
	super.
	([NSOpenPanel -_selectCellName:]):,
	([NSOpenPanel -controlTextDidChange:]): enable okButton if there is
	text in the text field.
	([NSOpenPanel -ok:]): returns if nothing selected.

	* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): removed workaround.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7506 72102866-910b-0410-8b05-ffd578937521
2000-09-13 20:18:01 +00:00
Mirko Viviani
df00948e11 2000-09-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): workaround to avoid
	core dump due to NSConnection bug.

	* Source/NSWindow.m ([NSWindow -keyDown:]): discard and do not perform
	key equivalent for null character events. Triggered return key for
	default button cell.
	([NSWindow -defaultButtonCell]), ([NSWindow -setDefaultButtonCell:]),
	([NSWindow -disableKeyEquivalentForDefaultButtonCell]),
	([NSWindow -enableKeyEquivalentForDefaultButtonCell]): implemented.
	([NSWindow -dealloc]): release _defaultButtonCell

	* Headers/AppKit/NSWindow.h: added ivar and flag.

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]),
	([NSOpenPanel -controlTextDidChange:]), ([NSOpenPanel -ok:]):
	implemented keyboard navigation.
	([NSOpenPanel -runModalForDirectory:file:types:]): do not allow
	branch selection if can't choose directories.
	([NSOpenPanel -_selectTextInColumn:]),
	([NSOpenPanel -_selectCellName:]): new private methods.
	([NSOpenPanel -filenames]): change for choose dirs.

	* Source/NSText.m ([NSText -keyDown:]): forwards text field illegal
	events to the next responder.

	* Source/NSBrowser.m ([NSBrowser -moveUp:]), ([NSBrowser -moveDown:]),
	([NSBrowser -moveLeft:]), ([NSBrowser -moveRight:]),
	([NSBrowser -keyDown:]): implemented keyboard navigation
	([NSBrowser -selectedCell]), ([NSBrowser -selectedCells]),
	([NSBrowser -columnOfMatrix:]), ([NSBrowser -selectedColumn]):
	changed return value from NSNotFound to -1 to conforms to NSMatrix
	([NSBrowser -doClick:]): fix for new return values, added support for
	multiple and branch selection.
	([NSBrowser -setLastColumn:]): mark column titles need display
	([NSBrowser -_getTitleOfColumn:]): fix for multiple selection.

	* Source/NSCell.m ([NSCell -setState:]): bug fix: set value to
	NSOnState if someone try to set NSMixedState in a two state cell.
	([NSCell -performClick:]): do not perform click if the cell is
	disabled.

	* Source/NSMatrix.m ([NSMatrix
	-_privateFrame:mode:numberOfRows:numberOfColumns:]),
	([NSMatrix -deselectAllCells]), ([NSMatrix -deselectSelectedCell]),
	([NSMatrix -selectAll:]): bug fix: set _selectRow and _selectColumn
	to -1 when no cells are selected
	([NSMatrix -performKeyEquivalent:]): saves _selectedRow and
	_selectedColumn.
	([NSMatrix -getRow:column:ofCell:]): check for null values for row and
	column.
	([NSMatrix -selectCellAtRow:column:]): deselect the current selection
	only in NSRadioModeMatrix mode.
	([NSMatrix -mouseDown:]): use the new code also for NSRadioModeMatrix
	and fix for this mode.

	* Source/NSSavePanel.m ([NSSavePanel -selectCellWithString:]): select
	text of the cell and enable okButton.
	([NSSavePanel -controlTextDidChange:]): implemented.
	([NSSavePanel -controlTextDidEndEditing:]): removed.
	([NSSavePanel -browser:createRowsForColumn:inMatrix:]): follows
	symbolic links.
	([NSSavePanel -_initWithoutGModel]): set browser doubleAction to
	performClick: of the _okButton. Set _okButton as default window button.
	Disable _okButton.
	([NSSavePanel -browser:selectCellWithString:inColumn:]),
	([NSSavePanel -selectText:]), ([NSSavePanel -keyDown:]): implemented
	keyboard navigation.
	([NSSavePanel -runModalForDirectory:file:]): enable _okButton if
	filename is valid.
	([NSSavePanel -_selectTextInColumn:]), ([NSSavePanel -_selectText:]),
	([NSSavePanel -_selectCellName:]): new private methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7468 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:55:17 +00:00
Richard Frith-MacDonald
589e219147 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6879 72102866-910b-0410-8b05-ffd578937521
2000-07-06 05:44:14 +00:00
Richard Frith-MacDonald
a3c6fd3651 Make OPENSTEP complient
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6864 72102866-910b-0410-8b05-ffd578937521
2000-07-03 13:19:11 +00:00
Adam Fedor
136417828c Use GS_PASS_ARGUMENTS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6844 72102866-910b-0410-8b05-ffd578937521
2000-06-29 14:25:07 +00:00
Richard Frith-MacDonald
44945db528 colorspace support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6515 72102866-910b-0410-8b05-ffd578937521
2000-04-25 20:26:51 +00:00
Richard Frith-MacDonald
9f9aa26d04 Open url in new window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4788 72102866-910b-0410-8b05-ffd578937521
1999-09-01 10:03:19 +00:00
Richard Frith-MacDonald
33c1be1a1f Some minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4784 72102866-910b-0410-8b05-ffd578937521
1999-09-01 08:14:16 +00:00
Richard Frith-MacDonald
f7c5413b7d Abort properly on exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4634 72102866-910b-0410-8b05-ffd578937521
1999-07-23 10:39:20 +00:00
Adam Fedor
3382630788 Upate of xdps from xgps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4512 72102866-910b-0410-8b05-ffd578937521
1999-07-03 22:20:08 +00:00
Michael Silva
4482beba44 More broken and ugly classes for Popup by michael. Sorry. ;-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4430 72102866-910b-0410-8b05-ffd578937521
1999-06-19 00:31:39 +00:00
Michael Silva
27853bc47b NSPopUpButton/XGPopUpButton additions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4424 72102866-910b-0410-8b05-ffd578937521
1999-06-17 21:07:38 +00:00
Adam Fedor
f794f819cf Implement gstates in Windows and Views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4414 72102866-910b-0410-8b05-ffd578937521
1999-06-16 21:55:23 +00:00
Richard Frith-MacDonald
4a347e1cfe Updates to correct usage of NSNotificationCenter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4409 72102866-910b-0410-8b05-ffd578937521
1999-06-15 20:02:58 +00:00
Richard Frith-MacDonald
d49691dc88 Use GNUSTEP_PATHPREFIX_LIST if available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4334 72102866-910b-0410-8b05-ffd578937521
1999-06-02 07:14:45 +00:00
Richard Frith-MacDonald
804b24cbb8 Fix for file extensions map
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4251 72102866-910b-0410-8b05-ffd578937521
1999-05-14 18:21:59 +00:00
Richard Frith-MacDonald
c76d0e6e60 Use NSBundle to get info.plist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4206 72102866-910b-0410-8b05-ffd578937521
1999-05-06 08:46:03 +00:00
Richard Frith-MacDonald
c83a95fd38 Update to move header file into main library headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4163 72102866-910b-0410-8b05-ffd578937521
1999-04-29 10:06:32 +00:00
Richard Frith-MacDonald
52b3275a9e Updates for better handling of files by extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4155 72102866-910b-0410-8b05-ffd578937521
1999-04-28 11:17:11 +00:00
Richard Frith-MacDonald
425fe89709 Deal with Info.plist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4072 72102866-910b-0410-8b05-ffd578937521
1999-04-13 21:14:53 +00:00
Richard Frith-MacDonald
2c74111c9e Update for change to NSProcessInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3734 72102866-910b-0410-8b05-ffd578937521
1999-02-17 09:36:25 +00:00
Richard Frith-MacDonald
f1833d783f Build example services tool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3721 72102866-910b-0410-8b05-ffd578937521
1999-02-16 11:18:10 +00:00
Richard Frith-MacDonald
e55dfd2d9c Bugfix for pasteboard server - error exposed by fix in DO support for
triangel connections.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3717 72102866-910b-0410-8b05-ffd578937521
1999-02-16 10:51:07 +00:00
Michael Silva
d6da78443c * 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/


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3712 72102866-910b-0410-8b05-ffd578937521
1999-02-15 19:35:02 +00:00
Richard Frith-MacDonald
3af798bd4f Corrected copyrights
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3650 72102866-910b-0410-8b05-ffd578937521
1999-02-04 13:06:58 +00:00
Richard Frith-MacDonald
2e129872c7 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3648 72102866-910b-0410-8b05-ffd578937521
1999-02-04 10:14:49 +00:00
Richard Frith-MacDonald
4ad3a984eb Build filename extensions map.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3536 72102866-910b-0410-8b05-ffd578937521
1999-01-07 13:04:21 +00:00
Richard Frith-MacDonald
49b1a3e9f1 1998-12-17 Matthias Klose <doko@cs.tu-berlin.de>
* {,*}/GNUmakefile: Include Version and GNUmakefile.local.
        * Tools/GNUmakefile.preamble: Set ADDITIONAL_LIB_DIRS.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3483 72102866-910b-0410-8b05-ffd578937521
1998-12-17 16:16:03 +00:00
Richard Frith-MacDonald
57f59001f8 Added NSEraseRect() and tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3457 72102866-910b-0410-8b05-ffd578937521
1998-12-14 11:47:49 +00:00
Felipe A. Rodriguez
f29476bc08 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3454 72102866-910b-0410-8b05-ffd578937521
1998-12-14 09:54:38 +00:00
Adam Fedor
81abcf1f75 Change backend initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3428 72102866-910b-0410-8b05-ffd578937521
1998-12-10 19:53:41 +00:00
Richard Frith-MacDonald
b0146d57c0 Small performance hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3401 72102866-910b-0410-8b05-ffd578937521
1998-12-07 11:58:44 +00:00
Richard Frith-MacDonald
141a4d603a Major revision of services - all menu services stuff in place now.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3363 72102866-910b-0410-8b05-ffd578937521
1998-12-01 20:54:23 +00:00
Felipe A. Rodriguez
558b6da8c2 * NSWindow.m rename windowWithNumber to _windowWithTag per backend
* NSEvent.m call to windowWithNumber.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3362 72102866-910b-0410-8b05-ffd578937521
1998-12-01 19:42:35 +00:00
Richard Frith-MacDonald
5c39f6f65c Change command-line for netscape 'cos it didn't work for Felipes version
of netscape and the new command line works for both his and mine.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3359 72102866-910b-0410-8b05-ffd578937521
1998-11-30 20:35:07 +00:00
Richard Frith-MacDonald
583ba54365 Add (very crude) netscape open url.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3350 72102866-910b-0410-8b05-ffd578937521
1998-11-28 18:05:01 +00:00
Felipe A. Rodriguez
d075ae5aa6 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3334 72102866-910b-0410-8b05-ffd578937521
1998-11-26 16:22:17 +00:00