Commit graph

31 commits

Author SHA1 Message Date
Wolfgang Lux
606df8c1b1 Ensure that new windows properly show their document edited status.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27292 72102866-910b-0410-8b05-ffd578937521
2008-12-14 19:15:18 +00:00
Fred Kiefer
25353583be Made all initialisation methods on NSWindowController a bit safer. Solves bug #25004.
Don't draw an empty rect in NSCachedImageRep. Fixes the remaining issue of #22282.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27250 72102866-910b-0410-8b05-ffd578937521
2008-12-07 21:22:13 +00:00
Fred Kiefer
2b3ec299c9 In NSMenu compare target for identity not equality.
Decoding and encoding for NSWindowController.
Extend the responder chain of a window beyond itself.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26959 72102866-910b-0410-8b05-ffd578937521
2008-10-24 07:59:42 +00:00
Fred Kiefer
56388864db Make window controller a subclass of NSResponder and manage the
responder chain. Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26956 72102866-910b-0410-8b05-ffd578937521
2008-10-23 08:17:23 +00:00
Fred Kiefer
2505d01c74 Correct retain/release issues in NSScrollView and NSWindowController.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26799 72102866-910b-0410-8b05-ffd578937521
2008-08-02 17:34:04 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Richard Frith-MacDonald
03a4a96a40 Update includes ... closer MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25635 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:28:03 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fred Kiefer
34b0abf4d0 Added MacOS 10.4 methods for NSDocument, NSDocumentController,
NSPrintOperation, NSResponder and NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
2007-01-17 12:09:41 +00:00
Matt Rice
9e50ac657d * Source/NSWindowController.m (_windowDidLoad:): Pass an NSZeroPoint to
cascadeTopLeftFromPoint: on the first call.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24157 72102866-910b-0410-8b05-ffd578937521
2006-11-24 13:58:37 +00:00
Richard Frith-MacDonald
65b175b904 Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +00:00
Richard Frith-MacDonald
56ac5a9236 Revert pointelss changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22417 72102866-910b-0410-8b05-ffd578937521
2006-02-03 10:07:01 +00:00
Richard Frith-MacDonald
34d79dd427 Fix BOOL accessors to return a genuine boolean (YES or NO)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22413 72102866-910b-0410-8b05-ffd578937521
2006-02-02 21:16:55 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Adam Fedor
4ecf1a67d3 set released when closed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17703 72102866-910b-0410-8b05-ffd578937521
2003-09-22 21:07:22 +00:00
Adam Fedor
50b7d5288b Revert last doc close and fix releaseWhenClosed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17691 72102866-910b-0410-8b05-ffd578937521
2003-09-21 02:27:50 +00:00
Fred Kiefer
6878b86f27 Changed [setWindow:] to manage the notification connection to the window.
[initWithWindow:], [dealloc] and [_windowWillClose:] now use [setWindow:].
[setDocument:] now no longer retains the document, as this is
already retaining the window controller. Simplified [loadWindow]
by using the method [windowNibPath].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17574 72102866-910b-0410-8b05-ffd578937521
2003-08-30 19:13:10 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Nicola Pero
96a872ad09 Fixed dealloc laziness in releasing stuff as soon as possible
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15767 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:44:51 +00:00
Adam Fedor
52b116f1f4 Add dragging of ruler markers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14907 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:17:23 +00:00
Nicola Pero
ac9c3ecf8a Tidied up to prevent compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12853 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:10:19 +00:00
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Fred Kiefer
11a71ac8c3 Implemented new methods and renamed some old which are now public.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11542 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:27:21 +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
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
Nicola Pero
e9a2dd5b78 Use ASSIGN
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10529 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:19:47 +00:00
Nicola Pero
1109a03bb6 Indentation, and use ASSIGN in a couple of places
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10528 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:18:31 +00:00
Nicola Pero
ce3b319c5a Added FIXME for memory problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10290 72102866-910b-0410-8b05-ffd578937521
2001-07-04 17:30:11 +00:00
Jonathan Gapen
ed92f00777 Document system change to NSWindow, GC update for NSWindowController
New method implemented in NSWorkspace


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6434 72102866-910b-0410-8b05-ffd578937521
2000-04-07 23:49:10 +00:00
Michael Silva
dd6369058e Added NSWindowController and the NSDocument* classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4868 72102866-910b-0410-8b05-ffd578937521
1999-09-11 00:52:04 +00:00