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
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
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
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
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
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
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
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
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
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
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
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
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
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
Adam Fedor
d15a55ee08
Fix static linking
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11167 72102866-910b-0410-8b05-ffd578937521
2001-10-17 03:53:55 +00:00
Pierre-Yves Rivaille
2ad9cdfca2
([selectColumn:byExtendingSelection]):
...
Do not send NSTableViewSelectionDidChangeNotification when selection
is not changed (was not always working with flag=NO)
([selectRow:byExtendingSelection]): Likewise
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11163 72102866-910b-0410-8b05-ffd578937521
2001-10-16 21:01:28 +00:00
Adam Fedor
168db2ce11
Make shared instance var static
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11159 72102866-910b-0410-8b05-ffd578937521
2001-10-16 03:20:01 +00:00
Adam Fedor
ce2dfc8d5f
Fix scaling factor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11158 72102866-910b-0410-8b05-ffd578937521
2001-10-16 03:06:26 +00:00
Adam Fedor
4ed9a1a4d7
Fix option panem handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11157 72102866-910b-0410-8b05-ffd578937521
2001-10-16 03:03:30 +00:00
Adam Fedor
9b37962d29
FIx comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11156 72102866-910b-0410-8b05-ffd578937521
2001-10-16 02:11:30 +00:00
Adam Fedor
22741391dc
Rewrite NSPrintPanel and NSPageLayout, prepare for printing improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11155 72102866-910b-0410-8b05-ffd578937521
2001-10-16 02:09:09 +00:00
Fred Kiefer
8e82e5c3b9
Added methods [setAction:] and [setTarget:], which call the super
...
implementation and also update the menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11142 72102866-910b-0410-8b05-ffd578937521
2001-10-14 21:36:12 +00:00
Nicola Pero
79904c9ae1
Fixed memory leak of target object; tiny useless optm in method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11124 72102866-910b-0410-8b05-ffd578937521
2001-10-11 10:15:52 +00:00
Adam Fedor
734669301f
Fix saving print file to path.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11122 72102866-910b-0410-8b05-ffd578937521
2001-10-09 04:22:13 +00:00
Nicola Pero
49f6931245
Fixes for case _document == nil
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11114 72102866-910b-0410-8b05-ffd578937521
2001-10-08 10:49:29 +00:00
Nicola Pero
53ad3452ff
Indentation tidy up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11113 72102866-910b-0410-8b05-ffd578937521
2001-10-08 10:26:44 +00:00
Fred Kiefer
8f884a5434
[insertItemWithTitle:atIndex:] don't set the action and target for
...
the item, so it will use the action from the popup button.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11110 72102866-910b-0410-8b05-ffd578937521
2001-10-08 08:19:50 +00:00
Fred Kiefer
92a36a93b8
Changed all calls to [NSMenu _setOwnedByPopUp:] and added missing
...
one in [setMenu:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11108 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:44:24 +00:00
Fred Kiefer
a3febc44f3
Adopted to changes in header. In [update] check for popup buttons
...
also the action of the popup itself, if there is non for the item.
In [performActionForItemAtIndex:] if we are owned by a popup
button, send this action, if the menu item does not have an action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11107 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:43:43 +00:00
Fred Kiefer
8e59dbb8ca
Removed function _screenNumbers. Moved class method to front. Use
...
[screens] in method [mainScreen]. Cache screens in mehtod
[screens]. Use the context from NSApp instead of the current
context in all calls. In [deepestScreen] replace NSScreen by self.
Added method [resetScreens].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11104 72102866-910b-0410-8b05-ffd578937521
2001-10-07 22:47:00 +00:00
Adam Fedor
9e7640459b
Implement print panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11100 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:22:41 +00:00
Fred Kiefer
4854b4cad2
Protected all initXXX methods so that for empty input nil will be
...
returned.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11098 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:30:54 +00:00
Fred Kiefer
a4a08c2811
Compile NSRulerMarker and NSRulerView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11097 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:30:20 +00:00
Fred Kiefer
ae558ee576
Some basic implementation of these class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11096 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:29:57 +00:00
Fred Kiefer
263b6bf5a6
Adopted to changes in header and added some code for displaying
...
indeterminate progress.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11094 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:26:28 +00:00
Nicola Pero
cd967093fd
Raise an exception in init methods when called with nil nib file name
...
or nil owner
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11087 72102866-910b-0410-8b05-ffd578937521
2001-10-06 13:27:46 +00:00
Adam Fedor
1b792f83c7
New GSCustomView class
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11077 72102866-910b-0410-8b05-ffd578937521
2001-10-03 17:05:57 +00:00
Adam Fedor
c7ac9f7827
setFrame: to new constrained rect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11075 72102866-910b-0410-8b05-ffd578937521
2001-10-02 17:38:21 +00:00
Fred Kiefer
a47397006b
Removed all ivars and cleaned up the rest.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11034 72102866-910b-0410-8b05-ffd578937521
2001-09-28 23:37:37 +00:00
Nicola Pero
74c17b5c36
Indentation tidyups - added { } in if, else, switch etc clauses
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11023 72102866-910b-0410-8b05-ffd578937521
2001-09-26 22:51:51 +00:00
Nicola Pero
fcbf4d11a9
Fix for saving the filename when writing to file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11009 72102866-910b-0410-8b05-ffd578937521
2001-09-26 21:58:51 +00:00
Adam Fedor
9ad5bc7fd1
Set up print context and view coords for priting
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11006 72102866-910b-0410-8b05-ffd578937521
2001-09-26 03:47:20 +00:00