Wolfgang Lux
786f376f1b
Fix various issues when drawing controls with edited cells. This
...
includes a fix for the problem of properly resizing and redrawing the
editor when the cell is resized or moved during editing (bug #22678 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29133 72102866-910b-0410-8b05-ffd578937521
2009-12-17 01:03:07 +00:00
Wolfgang Lux
f3c7d70152
Change drawing of text field cells so that they can display multiple
...
lines of text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29132 72102866-910b-0410-8b05-ffd578937521
2009-12-16 22:25:59 +00:00
Wolfgang Lux
93c18dfe7d
Do better job on validating the OK button of the Open panel. Replaces
...
the previous "fix" for bug #25471 , which made it impossible to use the
open panel for choosing directories (except by entering a fake file
name into the panel) and actually did not fix that bug other than by
coincidence.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29129 72102866-910b-0410-8b05-ffd578937521
2009-12-15 23:56:51 +00:00
Wolfgang Lux
66d5ee1935
Fix NSBrowser so that branch cells are really deselected when multiple
...
selection is enabled and allowsBranchSelection is set to NO. Also
replace the workaround for bug #18881 by a better fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29128 72102866-910b-0410-8b05-ffd578937521
2009-12-15 23:21:16 +00:00
Wolfgang Lux
103671a71e
Avoid a bogus warning that was shown when a Save panel requires a file
...
type extension and the user has entered a file name without an
extension. In addition fix the filename method so that setting
allowsOtherFileTypes to YES works as advertised.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29126 72102866-910b-0410-8b05-ffd578937521
2009-12-15 22:52:40 +00:00
Riccardo Mottola
c99387f5f5
removed c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29125 72102866-910b-0410-8b05-ffd578937521
2009-12-15 22:22:01 +00:00
Fred Kiefer
fff49a33bf
Another patch by Eric Wasylishen correcting the GSThemeTools tile
...
rectangles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29121 72102866-910b-0410-8b05-ffd578937521
2009-12-14 14:02:09 +00:00
Fred Kiefer
b8d68dcdbb
Apply patch by Eric Wasylishen to correct the orientation of colorAtX:y:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29120 72102866-910b-0410-8b05-ffd578937521
2009-12-14 13:26:26 +00:00
Riccardo Mottola
cacdad6f44
Only add windows that are either visible or miniaturized.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29117 72102866-910b-0410-8b05-ffd578937521
2009-12-12 10:10:40 +00:00
Gregory John Casamento
483044e48c
* Source/GSNibLoader.m: Added logging to help debugging of issues
...
with nib loading.
* Source/NSTextContainer.m: -[NSTextContainer initWithCoder:]
removed call to unarchive the textview to prevent a leak. Also
don't set the textview as the text container. Currently we
just get the contents of the text container and rebuild it
in NSTextView.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29116 72102866-910b-0410-8b05-ffd578937521
2009-12-11 18:12:46 +00:00
Quentin Mathe
416dcffdb4
Added NSWindow 'title' binding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29113 72102866-910b-0410-8b05-ffd578937521
2009-12-10 12:43:35 +00:00
Quentin Mathe
ce7ea4a7c1
Fixed missing release in -dealloc for _sortDescriptorPrototype ivar
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29108 72102866-910b-0410-8b05-ffd578937521
2009-12-08 17:07:25 +00:00
Quentin Mathe
29d831a62f
Added all the new table column methods and constants up to Mac OS X 10.6.
...
These new additions remain to be fully implemented and the archiving code to be
updated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29107 72102866-910b-0410-8b05-ffd578937521
2009-12-08 17:01:01 +00:00
Hans Baier
8a86e63b77
* Source/NSColorWell.m (-mouseDragged:, -mouseDown:): Applied patch from Eric Wasylishen to activate it on click inside the colored rectangle (same behavior as in OS X)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29106 72102866-910b-0410-8b05-ffd578937521
2009-12-08 07:55:39 +00:00
Quentin Mathe
cd8dd3494f
Fixed drop above indicator when the insertion level doesn't match the previous
...
row and is based on the horizontal pointer position.
NSOutlineView drag and drop behavior matches Mac OS X very closely now and all
the bugs I was aware of have been corrected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29103 72102866-910b-0410-8b05-ffd578937521
2009-12-06 01:36:26 +00:00
Quentin Mathe
19dad5cba6
Modified the drag code to call -canDragRowsWithIndexes:atPoint: as expected
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29100 72102866-910b-0410-8b05-ffd578937521
2009-12-05 23:22:39 +00:00
Quentin Mathe
fe1ba4f005
Further simplified outline view drag and drop code and wrote detailed documentation.
...
Added drop on root indicator support.
Fixed exception with auto-expand and root area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29098 72102866-910b-0410-8b05-ffd578937521
2009-12-05 18:28:45 +00:00
Richard Frith-MacDonald
6949ffef21
minor simplification
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29088 72102866-910b-0410-8b05-ffd578937521
2009-12-01 09:53:54 +00:00
Richard Frith-MacDonald
6a6c7c23ae
Make outline view DnD fully functioual.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29083 72102866-910b-0410-8b05-ffd578937521
2009-11-30 18:56:51 +00:00
Richard Frith-MacDonald
4d5f2cec93
First hack at expand/collapse as we drag over expandable items
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29082 72102866-910b-0410-8b05-ffd578937521
2009-11-29 18:02:06 +00:00
Wolfgang Lux
2ebe9f4335
Fix bug where NSView's -dealloc could break the key view chain.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29081 72102866-910b-0410-8b05-ffd578937521
2009-11-29 14:25:54 +00:00
Wolfgang Lux
c9ae01cb7a
Present a warning when the user enters a filename with a wrong
...
extension in NSSavePanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29080 72102866-910b-0410-8b05-ffd578937521
2009-11-29 14:07:29 +00:00
Richard Frith-MacDonald
4de733d2b0
improve display
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29079 72102866-910b-0410-8b05-ffd578937521
2009-11-29 13:51:15 +00:00
Richard Frith-MacDonald
7bfd156173
remove misleading comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29078 72102866-910b-0410-8b05-ffd578937521
2009-11-29 07:35:06 +00:00
Richard Frith-MacDonald
9c5f81ac5f
Fix removal of quit item from info menu
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29077 72102866-910b-0410-8b05-ffd578937521
2009-11-28 17:31:24 +00:00
Richard Frith-MacDonald
0a106c8679
improve menu loading
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29076 72102866-910b-0410-8b05-ffd578937521
2009-11-28 15:48:59 +00:00
Richard Frith-MacDonald
28e25fe2db
Fix storing of splitter locations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29072 72102866-910b-0410-8b05-ffd578937521
2009-11-27 09:22:57 +00:00
Richard Frith-MacDonald
8a7cfaf918
fix drawing bug when number of rows decreases
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29065 72102866-910b-0410-8b05-ffd578937521
2009-11-26 20:33:44 +00:00
Wolfgang Lux
9ee683802f
Avoid writing back an unchanged string to the cell's field editor.
...
Fix bug where an attributed string would not be considered a valid
object value of a cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29059 72102866-910b-0410-8b05-ffd578937521
2009-11-24 23:53:58 +00:00
Wolfgang Lux
3ebf818958
Merge bug fix from Doug Simons to trunk.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29058 72102866-910b-0410-8b05-ffd578937521
2009-11-24 23:30:45 +00:00
David Chisnall
3c7a52388a
Made GSTheme implement fast forwarding. Should speed things up a lot with the new ABI.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29052 72102866-910b-0410-8b05-ffd578937521
2009-11-23 23:13:26 +00:00
David Chisnall
8143a35330
... and the same change in NSResponder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29051 72102866-910b-0410-8b05-ffd578937521
2009-11-23 23:06:00 +00:00
David Chisnall
bf300b6950
Replaced two superfluous NSInvocation construction occurrences with direct calls to the IMP in question. According to Riccardo 'it is really snappier in most user operations'.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29050 72102866-910b-0410-8b05-ffd578937521
2009-11-23 23:01:23 +00:00
Richard Frith-MacDonald
a518eeea1c
revert accidental change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29045 72102866-910b-0410-8b05-ffd578937521
2009-11-20 13:43:02 +00:00
Richard Frith-MacDonald
47f9930e07
tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29044 72102866-910b-0410-8b05-ffd578937521
2009-11-20 13:36:46 +00:00
Richard Frith-MacDonald
9abe733e93
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29043 72102866-910b-0410-8b05-ffd578937521
2009-11-20 12:55:57 +00:00
Richard Frith-MacDonald
2f3ba4d843
Support overriding of methods in any class by the theme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29042 72102866-910b-0410-8b05-ffd578937521
2009-11-20 12:13:10 +00:00
Richard Frith-MacDonald
f2a8d1d58c
api cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29039 72102866-910b-0410-8b05-ffd578937521
2009-11-19 20:37:43 +00:00
Richard Frith-MacDonald
38cd3d8edb
more documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29037 72102866-910b-0410-8b05-ffd578937521
2009-11-19 09:38:34 +00:00
Richard Frith-MacDonald
d3de4d56a7
improve documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29036 72102866-910b-0410-8b05-ffd578937521
2009-11-19 08:19:34 +00:00
Richard Frith-MacDonald
09c902f201
theming cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29024 72102866-910b-0410-8b05-ffd578937521
2009-11-16 14:28:11 +00:00
Fred Kiefer
73f0d0ca88
Clean up for NSSlider and NSSliderCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29022 72102866-910b-0410-8b05-ffd578937521
2009-11-16 12:26:38 +00:00
Fred Kiefer
40a81ac812
Attempt to correct side effect of last NSActionCell change.
...
Small cleanup in NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29020 72102866-910b-0410-8b05-ffd578937521
2009-11-16 11:40:14 +00:00
Fred Kiefer
8bd9424ef9
Move the validateUserIntefaceItem back to NSTextView.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29019 72102866-910b-0410-8b05-ffd578937521
2009-11-16 11:17:20 +00:00
Fred Kiefer
0e3632608f
Remove validateUserIntefaceItem:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29018 72102866-910b-0410-8b05-ffd578937521
2009-11-15 18:20:57 +00:00
Fred Kiefer
6c1bfef9f3
Merge changes from Doug Simons to trunk.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29017 72102866-910b-0410-8b05-ffd578937521
2009-11-15 18:04:17 +00:00
Wolfgang Lux
8c9b9aff31
Improve key view loop processing by always shifting keyboard focus to
...
the next and previous key view, respectively, upon receving Ctrl-Tab
and Ctrl-Shift-Tab keyboard events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29013 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:45:23 +00:00
Wolfgang Lux
84a6777ed7
Implement menu and user interface item validation for NSTextView. The
...
list of validated actions is incomplete but at least includes all
items from a standard Edit menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29012 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:25:22 +00:00
Wolfgang Lux
036a78c32d
Fix NSActionCell implementation so that -setObjectValue: and
...
-setStringValue: have an effect while the cell is edited.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29010 72102866-910b-0410-8b05-ffd578937521
2009-11-14 22:15:31 +00:00
David Chisnall
1e0478fc15
Fixed signed integer overflow in font traits.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29005 72102866-910b-0410-8b05-ffd578937521
2009-11-14 12:55:07 +00:00