Changeset 3785

Show
Ignore:
Timestamp:
07/12/08 21:02:10 (4 months ago)
Author:
timothy
Message:

Merge the mcolloquy project from http://code.google.com/p/mcolloquy. With changes to work with the iPhone SDK.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Chat Core/InterThreadMessaging.m

    r3778 r3785  
    2222} 
    2323 
    24 #if !defined(TARGET_OS_ASPEN) || !TARGET_OS_ASPEN 
     24#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 
    2525 
    2626#import <pthread.h> 
     
    8282@implementation NSThread (InterThreadMessaging) 
    8383+ (void) prepareForInterThreadMessages { 
    84 #if !defined(TARGET_OS_ASPEN) || !TARGET_OS_ASPEN 
     84#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 
    8585        if(useSystemThreadPerformSelector()) 
    8686                return; 
     
    9191@end 
    9292 
    93 #if !defined(TARGET_OS_ASPEN) || !TARGET_OS_ASPEN 
     93#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 
    9494 
    9595@implementation InterThreadManager 
     
    135135        } 
    136136 
    137 #ifndef TARGET_OS_ASPEN 
     137#ifndef TARGET_OS_IPHONE 
    138138        InterThreadMessage *msg = (InterThreadMessage *)malloc(sizeof(struct InterThreadMessage)); 
    139139        bzero(msg, sizeof(struct InterThreadMessage)); 
  • trunk/Chat Core/MVChatConnection.m

    r3778 r3785  
    140140                _localUser = nil; 
    141141 
    142 #if !defined(TARGET_OS_ASPEN) || !TARGET_OS_ASPEN 
     142#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 
    143143                [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector( _systemDidWake: ) name:NSWorkspaceDidWakeNotification object:[NSWorkspace sharedWorkspace]]; 
    144144                [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector( _systemWillSleep: ) name:NSWorkspaceWillSleepNotification object:[NSWorkspace sharedWorkspace]]; 
     
    235235        [[NSNotificationCenter defaultCenter] removeObserver:self]; 
    236236 
    237 #if !defined(TARGET_OS_ASPEN) || !TARGET_OS_ASPEN 
     237#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 
    238238        [[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver:self]; 
    239239#endif 
  • trunk/Colloquy.xcodeproj/project.pbxproj

    r3776 r3785  
    641641                1C9982050603F097006C6417 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = Languages/English.lproj/JVNotificationPreferences.nib; sourceTree = "<group>"; }; 
    642642                1C9982AC0604BA1F006C6417 /* sound.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = sound.png; path = Resources/sound.png; sourceTree = "<group>"; }; 
    643                 1C9982AF0604BEAA006C6417 /* notifications.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = notifications.plist; path = Resources/notifications.plist; sourceTree = "<group>"; }; 
     643                1C9982AF0604BEAA006C6417 /* notifications.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = notifications.plist; path = Resources/notifications.plist; sourceTree = "<group>"; }; 
    644644                1C9D85190C9869DD00BB6C58 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = Japanese; path = Languages/Japanese.lproj/Credits.rtf; sourceTree = "<group>"; }; 
    645645                1C9D851E0C9869F000BB6C58 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Japanese; path = Languages/Japanese.lproj/Localizable.strings; sourceTree = "<group>"; }; 
     
    694694                1C9D855B0C986A2C00BB6C58 /* nb */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = nb; path = Languages/nb.lproj/MVSoftwareUpdate.nib; sourceTree = "<group>"; }; 
    695695                1C9D855C0C986A2C00BB6C58 /* nb */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = nb; path = Languages/nb.lproj/TSCustomBan.nib; sourceTree = "<group>"; }; 
    696                 1CA75A260652537A000141D5 /* styleOptions.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = styleOptions.plist; path = Resources/styleOptions.plist; sourceTree = "<group>"; }; 
     696                1CA75A260652537A000141D5 /* styleOptions.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = styleOptions.plist; path = Resources/styleOptions.plist; sourceTree = "<group>"; }; 
    697697                1CA7CA6305FEC88500887614 /* activity.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = activity.png; path = "Resources/Toolbar Icons/activity.png"; sourceTree = "<group>"; }; 
    698698                1CA7CA6405FEC88500887614 /* activityNew.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = activityNew.png; path = "Resources/Toolbar Icons/activityNew.png"; sourceTree = "<group>"; }; 
     
    10091009                CBF685300820190D00F498FB /* English */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.strings; name = English; path = schema.strings; sourceTree = "<group>"; }; 
    10101010                CBF685310820190D00F498FB /* GetMetadataForFile.m */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.objc; fileEncoding = 30; name = GetMetadataForFile.m; path = Importer/GetMetadataForFile.m; sourceTree = "<group>"; }; 
    1011                 CBF685320820190D00F498FB /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; name = Info.plist; path = Importer/Info.plist; sourceTree = "<group>"; }; 
     1011                CBF685320820190D00F498FB /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; name = Info.plist; path = Importer/Info.plist; sourceTree = "<group>"; }; 
    10121012                CBF685330820190D00F498FB /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = main.c; path = Importer/main.c; sourceTree = "<group>"; }; 
    10131013                CBF685340820190D00F498FB /* schema.xml */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; name = schema.xml; path = Importer/schema.xml; sourceTree = "<group>"; }; 
     
    10491049                F599994901890E4601EE70DE /* MVTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MVTextView.m; path = Views/MVTextView.m; sourceTree = "<group>"; }; 
    10501050                F599994A01890E4601EE70DE /* MVTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MVTextView.h; path = Views/MVTextView.h; sourceTree = "<group>"; }; 
    1051                 F5BC17DD019655DC01A35792 /* info.colloquy.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = info.colloquy.plist; path = Resources/info.colloquy.plist; sourceTree = "<group>"; }; 
     1051                F5BC17DD019655DC01A35792 /* info.colloquy.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = info.colloquy.plist; path = Resources/info.colloquy.plist; sourceTree = "<group>"; }; 
    10521052                F5BC17DF019656E901A35792 /* info.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = info.png; path = Resources/info.png; sourceTree = "<group>"; }; 
    10531053                F5BEC20D01F1EF1901EE70DE /* admin.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = admin.png; path = Resources/admin.png; sourceTree = "<group>"; };