mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/GSStandardWindowDecorationView.m: Live window resize changes
for when using GNUstep decorations in resizeWindowStartingWithEvent:. * Source/NSLayoutManager.m: Unarchive the text containers into an array in initWithCoder:. * Source/NSTextContainer.m: Get the layout manager in initWithCoder:. * Source/NSTextView.m: Changes to include text container from nib file into the nib loading process in initWithCoder:. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
242eb12644
commit
4991a29743
5 changed files with 32 additions and 8 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2009-05-23 11:48-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSStandardWindowDecorationView.m: Live window resize changes
|
||||
for when using GNUstep decorations in resizeWindowStartingWithEvent:.
|
||||
* Source/NSLayoutManager.m: Unarchive the text containers into an
|
||||
array in initWithCoder:.
|
||||
* Source/NSTextContainer.m: Get the layout manager in initWithCoder:.
|
||||
* Source/NSTextView.m: Changes to include text container from nib
|
||||
file into the nib loading process in initWithCoder:.
|
||||
|
||||
2009-05-22 Nicolas Roard <nicolas@roard.com>
|
||||
Add a live resize for splitviews. Users can revert to the old behaviour
|
||||
by doing: defaults write NSGlobalDomain GSUseGhostResize YES
|
||||
|
@ -5,7 +15,8 @@
|
|||
|
||||
2009-05-14 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSApplication.m: fixed allocation of Mutable array instead of Array
|
||||
* Source/NSApplication.m: fixed allocation of Mutable array instead of
|
||||
Array
|
||||
|
||||
2009-05-14 14:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
|
@ -2425,8 +2436,8 @@
|
|||
2008-05-03 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTableView.m (-selectRow:byExtendingSelection:,
|
||||
-selectColumn:byExtendingSelection:, -rectOfColumn:, -rectOfRow:): Don't
|
||||
raise an exception for invalid indexes.
|
||||
-selectColumn:byExtendingSelection:, -rectOfColumn:, -rectOfRow:):
|
||||
Don't raise an exception for invalid indexes.
|
||||
|
||||
2008-05-01 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
|
|
|
@ -467,6 +467,7 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
|||
NSPoint firstPoint, point;
|
||||
NSRect newFrame, frame;
|
||||
NSSize minSize, maxSize;
|
||||
int num = 0;
|
||||
|
||||
/*
|
||||
0 drag lower left corner
|
||||
|
@ -513,6 +514,13 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
|||
untilDate: [NSDate distantFuture]
|
||||
inMode: NSEventTrackingRunLoopMode
|
||||
dequeue: YES];
|
||||
|
||||
num++;
|
||||
if(num == 5)
|
||||
{
|
||||
[window setFrame: newFrame display: YES];
|
||||
num = 0;
|
||||
}
|
||||
} while ([currentEvent type] != NSLeftMouseUp);
|
||||
[window _releaseMouse: nil];
|
||||
|
||||
|
|
|
@ -2292,7 +2292,6 @@ no_soft_invalidation:
|
|||
|
||||
if ([aDecoder allowsKeyedCoding])
|
||||
{
|
||||
/*
|
||||
int i;
|
||||
int flags;
|
||||
NSArray *array = [aDecoder decodeObjectForKey: @"NSTextContainers"];
|
||||
|
@ -2312,7 +2311,6 @@ no_soft_invalidation:
|
|||
{
|
||||
[self addTextContainer: [array objectAtIndex: i]];
|
||||
}
|
||||
*/
|
||||
return self;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -473,7 +473,11 @@ framework intact.
|
|||
}
|
||||
|
||||
// decoding the manager adds this text container automatically...
|
||||
[aDecoder decodeObjectForKey: @"NSLayoutManager"];
|
||||
if ([aDecoder containsValueForKey: @"NSLayoutManager"])
|
||||
{
|
||||
_layoutManager = [aDecoder decodeObjectForKey: @"NSLayoutManager"];
|
||||
}
|
||||
|
||||
[self setTextView: view];
|
||||
return self;
|
||||
}
|
||||
|
|
|
@ -852,16 +852,19 @@ that makes decoding and encoding compatible with the old code.
|
|||
|
||||
// currently not used....
|
||||
if ([aDecoder containsValueForKey: @"NSTextContainer"])
|
||||
{
|
||||
{
|
||||
/*
|
||||
NSSize size = NSMakeSize(0,_maxSize.height);
|
||||
NSTextContainer *aTextContainer = [self buildUpTextNetwork: NSZeroSize];
|
||||
[aTextContainer setTextView: (NSTextView *)self];
|
||||
/* See initWithFrame: for comments on this RELEASE */
|
||||
// See initWithFrame: for comments on this RELEASE
|
||||
RELEASE(self);
|
||||
|
||||
[aTextContainer setContainerSize: size];
|
||||
[aTextContainer setWidthTracksTextView: YES];
|
||||
[aTextContainer setHeightTracksTextView: NO];
|
||||
*/
|
||||
_textContainer = [aDecoder decodeObjectForKey: @"NSTextContainer"];
|
||||
}
|
||||
|
||||
if ([aDecoder containsValueForKey: @"NSTVFlags"])
|
||||
|
|
Loading…
Reference in a new issue