mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
* 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:
parent
e9aba06b34
commit
21cf915c13
4 changed files with 15 additions and 3 deletions
|
@ -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:,
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue