Commit graph

5242 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
1658cb1dee ChangeLog correction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23935 72102866-910b-0410-8b05-ffd578937521
2006-10-21 16:01:09 +00:00
Gregory John Casamento
c3a645cd6b ChangeLog correction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23934 72102866-910b-0410-8b05-ffd578937521
2006-10-21 16:00:29 +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
97f5dfaf39 Minor correction on changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23895 72102866-910b-0410-8b05-ffd578937521
2006-10-17 01:01:16 +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
4225c9f33c Minor white space fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23889 72102866-910b-0410-8b05-ffd578937521
2006-10-16 09:05:46 +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
Nicola Pero
e439399f59 Use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23848 72102866-910b-0410-8b05-ffd578937521
2006-10-11 09:30:35 +00:00
Richard Frith-MacDonald
da0ba1aa6b Update documentation dtd version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23798 72102866-910b-0410-8b05-ffd578937521
2006-10-09 15:18:44 +00:00
Gregory John Casamento
38fa285e75 * Images/GNUmakefile: Copy GSStop.tiff and GSSearch.tiff to the
installation directory.  They were previously missing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23792 72102866-910b-0410-8b05-ffd578937521
2006-10-09 04:14:05 +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
dadd5a0230 Bump library version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23757 72102866-910b-0410-8b05-ffd578937521
2006-10-04 13:53:41 +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
Gregory John Casamento
cec544afa1 * Resources/Esperanto.lproj/Localizable.strings
* Resources/German.lproj/Localizable.strings
	* Resources/Italian.lproj/Localizable.strings
	* Resources/Lojban.lproj/Localizable.strings: Correct grammar
	in localization bundles as well.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23733 72102866-910b-0410-8b05-ffd578937521
2006-10-03 00:43:37 +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