Commit graph

2707 commits

Author SHA1 Message Date
Fred Kiefer
f19d155d72 Some cleanup on NSSpellChecker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11302 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:56:53 +00:00
Fred Kiefer
cc9acbc54a Adopted implemtantion of [checkSpelling:] to changes in
NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now
called from here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11301 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:56:02 +00:00
Fred Kiefer
4a1e318a22 Implement [guessesForWord:] and use it in
[browser:createRowsForColumn:inMatrix:]. Don't create the server
in [init], but check it before each use. Check if ther server
proxy exists before all method calls that return a NSRange.
In [checkSpellingOfString:...wordCount:] don't call
[updateSpellingPanelWithMisspelledWord:]. Beep in this method,
when the string is empty. [_findNext:], [_ignore:] and [_correct:]
now use [[NSApp sendAction:to:from:] instead of explicit responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11300 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:55:32 +00:00
Fred Kiefer
232704a73c Added [guessesForWord:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11299 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:54:59 +00:00
Adam Fedor
6144cd5471 Set dir only if nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11297 72102866-910b-0410-8b05-ffd578937521
2001-11-02 23:21:13 +00:00
Fred Kiefer
ca80454326 Improvements to NSSlider, NSTextView and the declaration of functions in
the header files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11296 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:10:06 +00:00
Fred Kiefer
f50b23d869 Added APPKIT_DECLARE for all functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11295 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:08:48 +00:00
Fred Kiefer
b5a89fa0ba Replaced APPKIT_EXPORT with APPKIT_DECLARE for all functions and
added some missing APPKIT_DECLARE.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11294 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:08:13 +00:00
Fred Kiefer
25c24f5cc1 Added APPKIT_DECLARE for GSCurrentContext().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11293 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:07:38 +00:00
Fred Kiefer
6f2e0bf7a7 Added include for NSScrollView to avoid compiler warning.
[_blink] don't call [NSApp updateWindows], just redisplay our
window.
[mouseDown:] replaces all [_window flushWindow] with [self
displayIfNeeded].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11292 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:07:09 +00:00
Fred Kiefer
4796b2e906 Added methods to handle ticks with a dummy implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11291 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:06:20 +00:00
Nicola Pero
18858f1cfe Implemented blinking insertion point in NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11288 72102866-910b-0410-8b05-ffd578937521
2001-10-31 01:10:49 +00:00
Nicola Pero
b9e1b6d6ed Implemented blinking insertion point
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11287 72102866-910b-0410-8b05-ffd578937521
2001-10-31 01:09:07 +00:00
Nicola Pero
b6957f43f0 Added ivars for blinking insertion point
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11286 72102866-910b-0410-8b05-ffd578937521
2001-10-31 01:06:59 +00:00
Pierre-Yves Rivaille
33aafe61be Headers/gnustep/gui/NSTableView.h
Source/NSTableView.m
Source/NSClipView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11278 72102866-910b-0410-8b05-ffd578937521
2001-10-29 12:39:01 +00:00
Pierre-Yves Rivaille
6bd75c41bc -dealloc and -setDocumentView:
Support for NSTableView superviewFrameChanged method


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11277 72102866-910b-0410-8b05-ffd578937521
2001-10-29 12:30:35 +00:00
Pierre-Yves Rivaille
1291ab4df1 Two new ivars : _autoresizesAllColumnsToFit and _superview_width
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11276 72102866-910b-0410-8b05-ffd578937521
2001-10-29 11:12:09 +00:00
Pierre-Yves Rivaille
62f5b9a819 sizeLastColumnToFit, sizeToFit, setAutoresizesAllColumnToFit,
autoresizesAllColumnsToFit implementation
sizeToFit now behaves like OS4.2
Various changes for speed improvements (drawRect, updateCell)
New internal method (superviewFrameChanged:) called by NSClipView
(conforms to OS4.2)
initWithCoder: support for previously archived NSTableView


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11275 72102866-910b-0410-8b05-ffd578937521
2001-10-29 11:10:16 +00:00
Pierre-Yves Rivaille
18186a105f NSStepperCell.m
NSStepper.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11270 72102866-910b-0410-8b05-ffd578937521
2001-10-28 20:04:23 +00:00
Pierre-Yves Rivaille
c035933889 Major rewrites of both classes so that they behave like they should
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11269 72102866-910b-0410-8b05-ffd578937521
2001-10-28 20:00:13 +00:00
Richard Frith-Macdonald
5011e9feee Tiny format tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11265 72102866-910b-0410-8b05-ffd578937521
2001-10-28 10:18:50 +00:00
Gregory John Casamento
ef8619cb63 Adding implementation for NSSelection and skeletal implementation for NSOutlineView. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11248 72102866-910b-0410-8b05-ffd578937521
2001-10-25 21:41:03 +00:00
Nicola Pero
764d34c0c3 Updated NSBrowser code for change in NSCell API to prevent crashes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11234 72102866-910b-0410-8b05-ffd578937521
2001-10-24 10:06:42 +00:00
Nicola Pero
74ce36e003 Updated for change in NSCell API to prevent crashes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11233 72102866-910b-0410-8b05-ffd578937521
2001-10-24 10:05:56 +00:00
Pierre-Yves Rivaille
aa9dc05668 Source/NSButtonCell.m: [NSButtonCell -_init]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11232 72102866-910b-0410-8b05-ffd578937521
2001-10-23 22:47:29 +00:00
Pierre-Yves Rivaille
410c6189e6 [NSButtonCell _init]: assign @"" to _keyEquivalent and to _altContents
This behaviour is more consistent with other OPENSTEP implementations.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11231 72102866-910b-0410-8b05-ffd578937521
2001-10-23 22:42:55 +00:00
Nicola Pero
80b15499dd Fixed click on text attachments in text views to be processed also if
set imports graphics is NO


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11228 72102866-910b-0410-8b05-ffd578937521
2001-10-23 20:59:50 +00:00
Nicola Pero
e9f5fe627b Check if an attachment was clicked every time we have attachments, not
only if we import graphics


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11227 72102866-910b-0410-8b05-ffd578937521
2001-10-23 20:58:11 +00:00
Nicola Pero
2457806223 Fixed spelling mistake in my last changelog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11226 72102866-910b-0410-8b05-ffd578937521
2001-10-23 20:36:54 +00:00
Nicola Pero
1086c28783 Updated code in save panel and open panel for last change in NSCell API
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11225 72102866-910b-0410-8b05-ffd578937521
2001-10-23 14:13:10 +00:00
Nicola Pero
ae31bc8fce Updated calls to setStringValue: to use @"" rather than nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11224 72102866-910b-0410-8b05-ffd578937521
2001-10-23 14:12:41 +00:00
Nicola Pero
8f802c0d1c Do not allow to set nil string values in NSCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11219 72102866-910b-0410-8b05-ffd578937521
2001-10-23 09:39:43 +00:00
Nicola Pero
b469c9f9b6 Added comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11218 72102866-910b-0410-8b05-ffd578937521
2001-10-23 09:39:03 +00:00
Nicola Pero
f7e4554107 Use an assertion to force setStringValue: to reject nil as argument
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11217 72102866-910b-0410-8b05-ffd578937521
2001-10-23 09:37:59 +00:00
Nicola Pero
d4b1464e3e Fixed deallocation of window when views are deallocated after the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11216 72102866-910b-0410-8b05-ffd578937521
2001-10-22 17:52:17 +00:00
Nicola Pero
244738ba03 Fixed deallocation when views are deallocated after the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11215 72102866-910b-0410-8b05-ffd578937521
2001-10-22 17:50:07 +00:00
Fred Kiefer
f18f8c0cd2 Some ruler additions to NSScrollView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11213 72102866-910b-0410-8b05-ffd578937521
2001-10-21 23:31:46 +00:00
Fred Kiefer
e5249cfa0c Added some MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11212 72102866-910b-0410-8b05-ffd578937521
2001-10-21 23:30:52 +00:00
Fred Kiefer
8409642d2f Dummy implementation for new MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11211 72102866-910b-0410-8b05-ffd578937521
2001-10-21 23:30:26 +00:00
Fred Kiefer
2fdcec8859 Implemented [setRulerViewClass:] and preset to NSRulerView. Cache
the scrollerWidth in a class var, use this in all methods.
Use _sizeForBorderType() from NSCell to determine the border size
in all methods that handle borderType. Replaced all uses of
AUTORELEASE with explicit RELEASE calls. In [setContentView:]
don't RETAIN the content view, as this is handled by the normal
subview mechanism. (Don't RELEASE it in [dealloc] and
[removeSubview:]) Added dummy method [scrollWheel:].
Implemented the ruler methods, but this are still not handled in
[tile] and [drawRect:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11210 72102866-910b-0410-8b05-ffd578937521
2001-10-21 23:29:29 +00:00
Nicola Pero
424c51335e Indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11205 72102866-910b-0410-8b05-ffd578937521
2001-10-18 15:33:23 +00:00
Nicola Pero
b0663eeb9a Fixed bug in deallocation of NSTextContainer and NSClipView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11204 72102866-910b-0410-8b05-ffd578937521
2001-10-18 15:28:49 +00:00
Nicola Pero
967a2f2177 Fixed bug in deallocation process where we were not removign us from
observing the document view notificatiosn


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11203 72102866-910b-0410-8b05-ffd578937521
2001-10-18 15:28:05 +00:00
Nicola Pero
6864a9769f Fixed bug in deallocation process where we were not removing us from
observing the text view's notifications


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11202 72102866-910b-0410-8b05-ffd578937521
2001-10-18 15:26:59 +00:00
Adam Fedor
a9d48edd44 Set size to zero if image does not exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11200 72102866-910b-0410-8b05-ffd578937521
2001-10-18 02:21:33 +00:00
Nicola Pero
1962cf341f Fixed crash upon deallocation of a tab view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11177 72102866-910b-0410-8b05-ffd578937521
2001-10-17 21:25:47 +00:00
Nicola Pero
52fe2e528e Fixed crash on deallocating the NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11176 72102866-910b-0410-8b05-ffd578937521
2001-10-17 21:24:11 +00:00
Nicola Pero
d8caceef8e Do not retain/release the data source for a NSTableView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11172 72102866-910b-0410-8b05-ffd578937521
2001-10-17 17:25:54 +00:00
Nicola Pero
449ae8ff09 Do not retain/release the data source; it's like a delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11171 72102866-910b-0410-8b05-ffd578937521
2001-10-17 17:25:25 +00:00
Adam Fedor
9ba621a145 Static linking file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11168 72102866-910b-0410-8b05-ffd578937521
2001-10-17 03:55:18 +00:00