* Source/GSNibLoading.m: Make the log ino debug in awakeFromNib

* Source/NSApplication.m: Allow modal to end multiple times, per spec
        there is no exception for doing this.
        * Source/NSPasteboard.m: Allow multiple threads in pasteboard
        communication.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27306 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-12-16 18:59:26 +00:00
parent e9aba06b34
commit 21cf915c13
4 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2008-12-16 13:58-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: Make the log ino debug in awakeFromNib
* Source/NSApplication.m: Allow modal to end multiple times, per spec
there is no exception for doing this.
* Source/NSPasteboard.m: Allow multiple threads in pasteboard
communication.
2008-12-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m (-drawRepresentation:inRect:,

View file

@ -815,7 +815,7 @@ static BOOL _isInInterfaceBuilder = NO;
- (void) awakeFromNib
{
NSLog(@"Called awakeFromNib on an NSCustomObject instance: %@", self);
NSDebugLog(@"Called awakeFromNib on an NSCustomObject instance: %@", self);
if([_object respondsToSelector: @selector(awakeFromNib)])
{
[_object awakeFromNib];

View file

@ -1779,8 +1779,10 @@ See -runModalForWindow:
{
if (_session == 0)
{
[NSException raise: NSInvalidArgumentException
format: @"stopModalWithCode: when not in a modal session"];
// According to the spec, there is no exception which is thrown if we are not
// currently in a modal session. While it is not good practice to call this
// when we're not, we shouldn't throw an exception.
return;
}
else if (returnCode == NSRunContinuesResponse)
{

View file

@ -959,6 +959,7 @@ static NSString *namePrefix = @"NSTypedFilenamesPboardType:";
NSConnection *connection;
connection = [(NSDistantObject*)provider connectionForProxy];
[connection enableMultipleThreads];
seconds = [finishBy timeIntervalSinceNow];
[connection setRequestTimeout: seconds];
[connection setReplyTimeout: seconds];
@ -1964,6 +1965,7 @@ static NSMapTable *mimeMap = NULL;
NSConnection *conn = [(id)the_server connectionForProxy];
Protocol *p = @protocol(GSPasteboardSvr);
[conn enableMultipleThreads];
[(id)the_server setProtocolForProxy: p];
[[NSNotificationCenter defaultCenter]
addObserver: self