Commit graph

21 commits

Author SHA1 Message Date
Nicola Pero
0c1afe29eb Include wgetopt.h - so it compiles on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11120 72102866-910b-0410-8b05-ffd578937521
2001-10-08 13:53:43 +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
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
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
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
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
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
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
528ae2a9e0 Preliminary stuff for services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3306 72102866-910b-0410-8b05-ffd578937521
1998-11-23 15:03:41 +00:00
Richard Frith-MacDonald
5cbecc80fd Tidied source.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3304 72102866-910b-0410-8b05-ffd578937521
1998-11-23 13:36:58 +00:00
Richard Frith-MacDonald
087bd3a593 Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3228 72102866-910b-0410-8b05-ffd578937521
1998-11-18 08:48:26 +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
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
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
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
Richard Frith-MacDonald
6234dbc967 Moved header file into this directory so that it is not visible to
normal applications.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2569 72102866-910b-0410-8b05-ffd578937521
1997-10-28 12:57:28 +00:00
Richard Frith-MacDonald
f2e26a1e15 Created directory for AppKit tools like the pasteboard server.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2559 72102866-910b-0410-8b05-ffd578937521
1997-10-28 12:13:52 +00:00