Commit graph

3872 commits

Author SHA1 Message Date
nico
e82bd8f387 Fixed NSMatrix sizeToFit without degrading performance of NSBrowser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11349 72102866-910b-0410-8b05-ffd578937521
2001-11-08 22:53:19 +00:00
nico
6cf789288e Replaced inefficient call to [matrix sizeToFit] with much more efficient
determination of the browsercell height


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11348 72102866-910b-0410-8b05-ffd578937521
2001-11-08 22:49:56 +00:00
nico
fdb1fa74af Fixed sizeToFit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11347 72102866-910b-0410-8b05-ffd578937521
2001-11-08 22:48:58 +00:00
fedor
611005755b Simple printint implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11341 72102866-910b-0410-8b05-ffd578937521
2001-11-08 18:26:39 +00:00
ljulliar
1882cdfe9a NSDrawFramePhoto added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11340 72102866-910b-0410-8b05-ffd578937521
2001-11-08 13:34:23 +00:00
pyr
5256961369 Source/NSTableView.m [-sizeToFit]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11315 72102866-910b-0410-8b05-ffd578937521
2001-11-05 23:18:08 +00:00
pyr
57b5f2a41b [NSTableView -sizeToFit]: replace floorf with floor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11314 72102866-910b-0410-8b05-ffd578937521
2001-11-05 23:14:44 +00:00
nico
3f5026ae0e Minor indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11313 72102866-910b-0410-8b05-ffd578937521
2001-11-05 11:47:29 +00:00
nico
90efc6192d Little indentation tidyupy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11312 72102866-910b-0410-8b05-ffd578937521
2001-11-05 11:46:24 +00:00
FredKiefer
33a8a6ac63 Corrections for NSSplitView and NSTabView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11309 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:11:55 +00:00
FredKiefer
bf72c90bd9 Adopted to changes in header. Use [insertTabViewItem:atIndex:] in
[addTabViewItem:]. Corrected [selectNextTabViewItem:] and
[selectPreviousTabViewItem:]. In [selectTabViewItem:] set the
first responder of the tab view. Other small cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11308 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:10:46 +00:00
FredKiefer
0a49cfbdde Renamed all ivars and added some new MacOSX methods. Added two new
unsupported NSTabViewType values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11307 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:02:56 +00:00
FredKiefer
e65d2893f9 Adopted to changes in header. Dummy implementation of new
methods. Changed incudes. In [mouseDown:] also check for new delegate
methods. [_adjustSubviews:] now takes the old size as an argument
to hand it on to delegate. Changed all places that call
this. En-/decode the image instead of the cursor.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11306 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:02:24 +00:00
FredKiefer
e02a8261c8 In [performActionForItemAtIndex:] select the item of the popup
before sending the action.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11305 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:01:53 +00:00
FredKiefer
68b7935de8 Removed unused ivar _splitCursor. Added some MacOSX methods. Moved
extension methods to separate category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11304 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:01:17 +00:00
FredKiefer
6405c71b3b 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
FredKiefer
295022c274 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
FredKiefer
d7eea20d57 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
FredKiefer
ca14662d3d 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
fedor
559f8bccce 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
FredKiefer
319ecb578a 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
FredKiefer
e9d8a1f3e9 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
FredKiefer
df5cfb7e02 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
FredKiefer
df0ea4cfdd 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
FredKiefer
5c1f2bc376 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
FredKiefer
5345c32c0d 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
nico
8bbdf3247d 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
nico
2484ce8c55 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
nico
7c40458129 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
pyr
368b309326 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
pyr
14dadd09a6 -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
pyr
f90c48104b 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
pyr
6dbf391435 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
pyr
0c6c9248df 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
pyr
dc98bf2106 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
CaS
90a732eb5a 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
gcasa
dab1ab0c88 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
nico
2bc4e57f82 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
nico
9e2c88b938 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
pyr
332de13a20 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
pyr
f6fffa7aba [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
nico
ff7cace057 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
nico
2fdf56fb71 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
nico
5c3f24d5ac 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
nico
530854f134 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
nico
cbe216e58e 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
nico
e5737f3f76 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
nico
ece8ffbc76 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
nico
7e18e24dd8 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
nico
a652d9ae98 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