Commit graph

3872 commits

Author SHA1 Message Date
nico
af8758c499 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
FredKiefer
955fd31056 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
FredKiefer
9c1ac1a85a 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
FredKiefer
b3180712ba 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
FredKiefer
930556e006 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
nico
f9fbfbdbe1 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
nico
4a6a37bf7a 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
nico
d80d068759 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
nico
c6e931213a 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
fedor
761ada3e09 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
nico
6abceeca91 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
nico
3504e37042 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
nico
4ce7eb9b17 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
nico
e4af172ea3 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
fedor
83067345eb 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
fedor
cfb13cc185 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
pyr
1b2f8dae39 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11164 72102866-910b-0410-8b05-ffd578937521
2001-10-16 21:04:08 +00:00
pyr
e113fb5b04 ([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
fedor
afe180cd35 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
fedor
2694146215 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
fedor
2125063ed7 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
fedor
d064748eb2 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
fedor
6303663d59 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
FredKiefer
6082cee42e Update the menu when action or target change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11143 72102866-910b-0410-8b05-ffd578937521
2001-10-14 21:37:10 +00:00
FredKiefer
d238102721 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
nico
1bb5c04da4 Fixed memory leak in NSMatrix; minor useless optm in NSMatrix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11125 72102866-910b-0410-8b05-ffd578937521
2001-10-11 10:24:30 +00:00
nico
d9fd6a4644 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
fedor
915a203705 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
nico
9fb8668219 Little changes to compile on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11121 72102866-910b-0410-8b05-ffd578937521
2001-10-08 13:54:19 +00:00
nico
5809b27517 Include wgetopt.h - so it compiles on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11120 72102866-910b-0410-8b05-ffd578937521
2001-10-08 13:53:43 +00:00
nico
0d874709ed New file for porting to migw32, copied from base/Testing/wgetopt.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11119 72102866-910b-0410-8b05-ffd578937521
2001-10-08 13:53:08 +00:00
nico
f6cc5d6032 Tiny indentation tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11118 72102866-910b-0410-8b05-ffd578937521
2001-10-08 13:50:00 +00:00
nico
bda920310b Fixes to NSWindowController for closing window behaviour
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11115 72102866-910b-0410-8b05-ffd578937521
2001-10-08 10:53:08 +00:00
nico
9a2ba1994e 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
nico
ee2ecb2b8a 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
FredKiefer
77009329ba Missing part of last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11111 72102866-910b-0410-8b05-ffd578937521
2001-10-08 08:21:07 +00:00
FredKiefer
84fd8e85d7 [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
FredKiefer
32a57d2d1d Corrected popup button action sending to be the same as in OpenStep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11109 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:45:37 +00:00
FredKiefer
2786deab42 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
FredKiefer
d21f892aa8 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
FredKiefer
73211c38d3 Replace ivar _isBeholden_byPopup with _popUpButtonCell. Change
method [_setOwnedByPopUp:] to take an NSPopUpButtonCell instead
of a Bool.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11106 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:43:06 +00:00
FredKiefer
f1c6bb04e2 Corrections for NSScreen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11105 72102866-910b-0410-8b05-ffd578937521
2001-10-07 22:47:51 +00:00
FredKiefer
b69b7ed526 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
FredKiefer
200db9e755 Added method [resetScreens].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11103 72102866-910b-0410-8b05-ffd578937521
2001-10-07 22:46:17 +00:00
fedor
5472787cb0 Simplify BUNDLE_LIBS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11102 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:47:19 +00:00
fedor
f959b94590 Add BUNDLE_LIBS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11101 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:45:58 +00:00
fedor
5faed85607 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
FredKiefer
6719793aa9 Basic implementation of rulers and some small corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11099 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:32:46 +00:00
FredKiefer
4fbe4469d1 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
FredKiefer
9bdd7027a3 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