Commit graph

3482 commits

Author SHA1 Message Date
Matt Rice
49923f47c7 * Source/NSSlider.m (-keyDown:): Implement, Fixes bug #14000.
* Source/NSSliderCell.m (-trackMouse:...): Fix allows tick marks
        only mouse tracking.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24031 72102866-910b-0410-8b05-ffd578937521
2006-11-05 19:22:00 +00:00
Matt Rice
ef92c9d9b9 * Source/NSColorPanel.m: Implement -worksWhenModal:. Fixes bug #9417.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24030 72102866-910b-0410-8b05-ffd578937521
2006-11-05 11:13:29 +00:00
Matt Rice
a138f13d9c * Source/NSTableView (_editNextCellAfterRow:inColumn:):
Wrap around when number of rows is exceeded.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24019 72102866-910b-0410-8b05-ffd578937521
2006-11-03 09:44:05 +00:00
Richard Frith-MacDonald
47363b2182 merge in some theme branch changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24017 72102866-910b-0410-8b05-ffd578937521
2006-11-02 19:42:42 +00:00
Matt Rice
ece0182c72 * Source/NSTableView.m:
(-editColumn:row:withEvent:select:): Raise when passed an unselected
        row.
        (-textDidEndEditing:): Handle NSReturnTextMovement.
        (_editNextCellAfterRow:inColumn:): New private method.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24008 72102866-910b-0410-8b05-ffd578937521
2006-11-01 10:17:55 +00:00
Matt Rice
3d20848a26 * Source/NSTableView.m: Add new private methods.
(-mouseDown:): Reorganize and don't track cells until dragging
        has been ruled out.
        * Source/NSCell.m (trackMouse:inRect:ofView:untilMouseUp:):
        Handle events no longer in the queue.
        * Source/GSDragView.m: Change NSLog to NSDebugLLog.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24007 72102866-910b-0410-8b05-ffd578937521
2006-11-01 09:50:00 +00:00
Matt Rice
1a7c5c309c * Tools/gopen.m
*  Source/NSView.m
        *  Source/GSPDFPrintOperation.m
        *  Source/NSHelpManager.m
        *  Source/GSHelpManagerPanel.m: Add missing includes.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24006 72102866-910b-0410-8b05-ffd578937521
2006-10-31 13:38:00 +00:00
Richard Frith-MacDonald
12ffc72df9 Add missing include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24004 72102866-910b-0410-8b05-ffd578937521
2006-10-31 13:14:59 +00:00
Matt Rice
2436c6b7c5 * Source/NSComboBoxCell.m (validateSelection): Test for invalid row.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23999 72102866-910b-0410-8b05-ffd578937521
2006-10-30 20:25:50 +00:00
Adam Fedor
6ae514bf25 Partial fix for #16453
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23985 72102866-910b-0410-8b05-ffd578937521
2006-10-29 02:45:34 +00:00
Matt Rice
564a2e859b * Source/NSAlert.m: Add GSRunExceptionPanel function
and GSExceptionPanel class.
        * Headers/AppKit/NSPanel.h: Declare GSRunExceptionPanel.
        * Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler):
        Use GSRunExceptionPanel.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23973 72102866-910b-0410-8b05-ffd578937521
2006-10-27 19:10:07 +00:00
Matt Rice
d1397ca777 * Source/NSTableView.m (-setFrame:,-setFrameSize:): Use
documentVisibleRect. Shrink if table is larger than needed height.
        fixes bug #18117.
        (-drawBackgroundInClipRect:): Draw the background.
        * Source/NSClipView.m (-documentVisibleRect:): Return the clip views
        visible rect converted to the document views coordinate system.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23972 72102866-910b-0410-8b05-ffd578937521
2006-10-27 17:48:54 +00:00
Matt Rice
37f70188f1 * Source/NSApplication.m (NSAppIcon -mouseDown:): Call unhide:
regardless of whether we're hidden or not.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23961 72102866-910b-0410-8b05-ffd578937521
2006-10-24 23:09:58 +00:00
Matt Rice
36e68226f8 * Source/NSTableView.m (-mouseDown:): Check for empty selection.
when adding to the current selection. Fixes bug #15261.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23945 72102866-910b-0410-8b05-ffd578937521
2006-10-22 18:26:31 +00:00
Matt Rice
a197607128 * Headers/AppKit/NSGraphics.h: Add GSOrderedWindows function.
* Source/NSApplication.m (NSAppIconView -mouseDown:): Use
        GSOrderedWindows.
        (NSApplication -deactivate): Ditto.
        (-hide:): Ditto.
        (-unhideWithoutActivation:): Ditto.
        (-makeWindowsPerform:inOrder): Ditto.
        (-orderedWindows:): Ditto.
        (-windowWillClose:): Ditto.
        * Source/GSDisplayServer.m: Implement -windowlist.
        * Source/NSWindow.m (NSCountWindowList,NSWindowList): Use 
	-windowlist.
        (GSOrderedWindows): Initial implementation.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23936 72102866-910b-0410-8b05-ffd578937521
2006-10-21 19:13:42 +00:00
Gregory John Casamento
c687a15b00 Minor indentation cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23932 72102866-910b-0410-8b05-ffd578937521
2006-10-21 15:41:51 +00:00
Gregory John Casamento
f4cd637e0d Correction for #bug9608 and bug#18073.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23931 72102866-910b-0410-8b05-ffd578937521
2006-10-21 15:34:16 +00:00
Gregory John Casamento
efcfc85f6b * Source/NSMenuItemCell.m: Correct menu highlighting issue
found by applying changes suggested by Jeff Teunissen.   This
        change causes the menu to use the correct text color when
        highlighted.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23916 72102866-910b-0410-8b05-ffd578937521
2006-10-20 01:21:38 +00:00
Richard Frith-MacDonald
5f0ece8834 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23910 72102866-910b-0410-8b05-ffd578937521
2006-10-19 06:12:03 +00:00
Richard Frith-MacDonald
f32270e66c Tweak new theme method and fix up indentation errors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23909 72102866-910b-0410-8b05-ffd578937521
2006-10-19 06:06:00 +00:00
Gregory John Casamento
5b14579bdd * Source/NSView.m: Applied patch from Banlu Kemiyatorn. Corrects
issue with detection of events in a rotated view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23908 72102866-910b-0410-8b05-ffd578937521
2006-10-19 05:47:36 +00:00
Gregory John Casamento
a2cc8db82d * Source/NSFont.m: Apply slightly modified version of patch
from Jeff Teunissen deek@d2dc.net to setNSFont().  Setting
	a font should set its size.
	* Source/NSImage.m: Set the alpha on the background when printing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23894 72102866-910b-0410-8b05-ffd578937521
2006-10-17 01:00:47 +00:00
Richard Frith-MacDonald
c7aab12987 Scale drawing of tiles in matrix, for easier preview.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23888 72102866-910b-0410-8b05-ffd578937521
2006-10-16 08:50:37 +00:00
Richard Frith-MacDonald
b21c2bedd4 Fix error drawing matrix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23883 72102866-910b-0410-8b05-ffd578937521
2006-10-15 18:27:35 +00:00
Gregory John Casamento
3c63c09716 Applied patch given by Mark Tracy for printing improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23877 72102866-910b-0410-8b05-ffd578937521
2006-10-15 15:30:27 +00:00
Richard Frith-MacDonald
57435da7d5 tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
Richard Frith-MacDonald
6ed7d47dae Improve current theme information display
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23858 72102866-910b-0410-8b05-ffd578937521
2006-10-12 17:14:26 +00:00
Richard Frith-MacDonald
4526afc00a Get drag position right
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23854 72102866-910b-0410-8b05-ffd578937521
2006-10-12 14:10:27 +00:00
Richard Frith-MacDonald
1995529b8a Tooltip rect handling improvments ... reasonable behavior when coordinates
of the view change


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23790 72102866-910b-0410-8b05-ffd578937521
2006-10-08 17:50:19 +00:00
Gregory John Casamento
4828fe82c3 * Source/GSNibCompatibility.m: Implement init in NSIBHelpConnector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23787 72102866-910b-0410-8b05-ffd578937521
2006-10-07 14:20:53 +00:00
Gregory John Casamento
55c4004157 * Source/GSNibCompatibility.m: Implement establishConnection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23786 72102866-910b-0410-8b05-ffd578937521
2006-10-07 14:17:29 +00:00
Gregory John Casamento
6a3e445d78 Slight reorg of file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23785 72102866-910b-0410-8b05-ffd578937521
2006-10-07 14:08:32 +00:00
Gregory John Casamento
b6d305f622 * Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Declaration
for NSIBHelpConnector ivars and methods.
	* Source/GSNibCompatibility.m: Implemented NSIBHelpConnector.
	* Source/NSBundleAdditions.m: Added check to initWithCoder so that
	values aren't decoded, if there's no value in the coder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23784 72102866-910b-0410-8b05-ffd578937521
2006-10-07 14:03:50 +00:00
Richard Frith-MacDonald
0e6b15b3e9 polish behavior of tool tips and reduce meory footprint.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23777 72102866-910b-0410-8b05-ffd578937521
2006-10-06 16:00:46 +00:00
Richard Frith-MacDonald
ac3da2c4ca Make sure tooltip window starts off on screen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23756 72102866-910b-0410-8b05-ffd578937521
2006-10-04 13:36:56 +00:00
Eric Sersale
b9fd9f40ea * Source/NSView.m: In -setToolTip: sets the has_tooltips flag.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23754 72102866-910b-0410-8b05-ffd578937521
2006-10-04 11:32:51 +00:00
Richard Frith-MacDonald
f17b3f5143 minor tool tip tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23751 72102866-910b-0410-8b05-ffd578937521
2006-10-04 08:07:21 +00:00
Richard Frith-MacDonald
21e2ff8447 revert accidentally added change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23750 72102866-910b-0410-8b05-ffd578937521
2006-10-04 05:28:28 +00:00
Richard Frith-MacDonald
f07b4d16bd Add help key support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23749 72102866-910b-0410-8b05-ffd578937521
2006-10-04 05:26:47 +00:00
Richard Frith-MacDonald
ab9ac7d741 IUmplement tool tip help
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23732 72102866-910b-0410-8b05-ffd578937521
2006-10-02 19:22:22 +00:00
Nicola Pero
2c011d4cb4 Use GNUSTEP_IS_FLATTENED and work around a compiler bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23723 72102866-910b-0410-8b05-ffd578937521
2006-10-02 16:30:52 +00:00
Gregory John Casamento
f6924da4be * Source/NSDocumentController.m: Correct grammar in
reviewUnsavedDocumentsWithAlertTitle:...  "Quit Anyways" should
	be "Quit Anyway".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23713 72102866-910b-0410-8b05-ffd578937521
2006-10-02 12:21:58 +00:00
Richard Frith-MacDonald
e779b4215b Fix tracking rect bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23711 72102866-910b-0410-8b05-ffd578937521
2006-10-02 12:07:35 +00:00
Richard Frith-MacDonald
c201ae734e Add support for the context help cursor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23708 72102866-910b-0410-8b05-ffd578937521
2006-10-02 08:42:04 +00:00
Richard Frith-MacDonald
3005771e57 Add headers to avoid warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23706 72102866-910b-0410-8b05-ffd578937521
2006-10-02 05:13:37 +00:00
Richard Frith-MacDonald
c033d17a2d merge in themes branch to keep in sync
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23705 72102866-910b-0410-8b05-ffd578937521
2006-10-02 05:09:48 +00:00
Richard Frith-MacDonald
c8e6566831 Cosmetic tweaks to conform to coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23631 72102866-910b-0410-8b05-ffd578937521
2006-09-26 19:09:13 +00:00
Richard Frith-MacDonald
7b45601256 Tidy icon usage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23630 72102866-910b-0410-8b05-ffd578937521
2006-09-26 18:29:11 +00:00
Matt Rice
07eeaa998d * Source/NSTableView.m (_shouldEditTableColumn:row:):
Dont invert delegate return value.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23629 72102866-910b-0410-8b05-ffd578937521
2006-09-26 16:03:10 +00:00
Richard Frith-MacDonald
125411a8e9 Flush window after expose.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23607 72102866-910b-0410-8b05-ffd578937521
2006-09-24 18:59:08 +00:00