Changeset 3785
- Timestamp:
- 07/12/08 21:02:10 (4 months ago)
- Files:
-
- trunk/Chat Core/InterThreadMessaging.m (modified) (4 diffs)
- trunk/Chat Core/MVChatConnection.m (modified) (2 diffs)
- trunk/Colloquy.xcodeproj/project.pbxproj (modified) (4 diffs)
- trunk/Mobile (added)
- trunk/Mobile Colloquy.xcodeproj (added)
- trunk/Mobile Colloquy.xcodeproj/project.pbxproj (added)
- trunk/Mobile/ChatCore (added)
- trunk/Mobile/Controllers (added)
- trunk/Mobile/Controllers/CQChatController.h (added)
- trunk/Mobile/Controllers/CQChatController.m (added)
- trunk/Mobile/Controllers/CQChatRoomController.h (added)
- trunk/Mobile/Controllers/CQChatRoomController.m (added)
- trunk/Mobile/Controllers/CQChatsViewController.h (added)
- trunk/Mobile/Controllers/CQChatsViewController.m (added)
- trunk/Mobile/Controllers/CQColloquyApplication.h (added)
- trunk/Mobile/Controllers/CQColloquyApplication.m (added)
- trunk/Mobile/Controllers/CQConnectionCreationViewController.h (added)
- trunk/Mobile/Controllers/CQConnectionCreationViewController.m (added)
- trunk/Mobile/Controllers/CQConnectionEditViewController.h (added)
- trunk/Mobile/Controllers/CQConnectionEditViewController.m (added)
- trunk/Mobile/Controllers/CQConnectionsController.h (added)
- trunk/Mobile/Controllers/CQConnectionsController.m (added)
- trunk/Mobile/Controllers/CQConnectionsViewController.h (added)
- trunk/Mobile/Controllers/CQConnectionsViewController.m (added)
- trunk/Mobile/Controllers/CQDirectChatController.h (added)
- trunk/Mobile/Controllers/CQDirectChatController.m (added)
- trunk/Mobile/Mobile Colloquy.pch (added)
- trunk/Mobile/Resources (added)
- trunk/Mobile/Resources/Colloquy.xib (added)
- trunk/Mobile/Resources/ConnectionEdit.xib (added)
- trunk/Mobile/Resources/ConnectionsView.xib (added)
- trunk/Mobile/Resources/Default.png (added)
- trunk/Mobile/Resources/Defaults.plist (added)
- trunk/Mobile/Resources/Info.plist (added)
- trunk/Mobile/Resources/base.html (added)
- trunk/Mobile/Resources/buddies.png (added)
- trunk/Mobile/Resources/colloquies.png (added)
- trunk/Mobile/Resources/connectedBadgeDim.png (added)
- trunk/Mobile/Resources/connectedBadgeGlow.png (added)
- trunk/Mobile/Resources/connectingBadgeDim.png (added)
- trunk/Mobile/Resources/connectingBadgeGlow.png (added)
- trunk/Mobile/Resources/connections.png (added)
- trunk/Mobile/Resources/directChatIcon.png (added)
- trunk/Mobile/Resources/errorBadgeDim.png (added)
- trunk/Mobile/Resources/errorBadgeGlow.png (added)
- trunk/Mobile/Resources/gradientHighlight.png (added)
- trunk/Mobile/Resources/icon.png (added)
- trunk/Mobile/Resources/members.png (added)
- trunk/Mobile/Resources/roomIcon.png (added)
- trunk/Mobile/Resources/server.png (added)
- trunk/Mobile/Resources/standard.css (added)
- trunk/Mobile/Resources/user-admin.png (added)
- trunk/Mobile/Resources/user-founder.png (added)
- trunk/Mobile/Resources/user-half-op.png (added)
- trunk/Mobile/Resources/user-normal.png (added)
- trunk/Mobile/Resources/user-op.png (added)
- trunk/Mobile/Resources/user-super-op.png (added)
- trunk/Mobile/Resources/user-voice.png (added)
- trunk/Mobile/Views (added)
- trunk/Mobile/Views/CQChatInputField.h (added)
- trunk/Mobile/Views/CQChatInputField.m (added)
- trunk/Mobile/Views/CQChatTableCell.h (added)
- trunk/Mobile/Views/CQChatTableCell.m (added)
- trunk/Mobile/Views/CQConnectionTableCell.h (added)
- trunk/Mobile/Views/CQConnectionTableCell.m (added)
- trunk/Mobile/Views/CQInputBarView.h (added)
- trunk/Mobile/Views/CQInputBarView.m (added)
- trunk/Mobile/Views/CQPreferencesTextCell.h (added)
- trunk/Mobile/Views/CQPreferencesTextCell.m (added)
- trunk/Mobile/Views/CQStyleView.h (added)
- trunk/Mobile/Views/CQStyleView.m (added)
- trunk/Mobile/main.m (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Chat Core/InterThreadMessaging.m
r3778 r3785 22 22 } 23 23 24 #if !defined(TARGET_OS_ ASPEN) || !TARGET_OS_ASPEN24 #if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 25 25 26 26 #import <pthread.h> … … 82 82 @implementation NSThread (InterThreadMessaging) 83 83 + (void) prepareForInterThreadMessages { 84 #if !defined(TARGET_OS_ ASPEN) || !TARGET_OS_ASPEN84 #if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 85 85 if(useSystemThreadPerformSelector()) 86 86 return; … … 91 91 @end 92 92 93 #if !defined(TARGET_OS_ ASPEN) || !TARGET_OS_ASPEN93 #if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 94 94 95 95 @implementation InterThreadManager … … 135 135 } 136 136 137 #ifndef TARGET_OS_ ASPEN137 #ifndef TARGET_OS_IPHONE 138 138 InterThreadMessage *msg = (InterThreadMessage *)malloc(sizeof(struct InterThreadMessage)); 139 139 bzero(msg, sizeof(struct InterThreadMessage)); trunk/Chat Core/MVChatConnection.m
r3778 r3785 140 140 _localUser = nil; 141 141 142 #if !defined(TARGET_OS_ ASPEN) || !TARGET_OS_ASPEN142 #if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 143 143 [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector( _systemDidWake: ) name:NSWorkspaceDidWakeNotification object:[NSWorkspace sharedWorkspace]]; 144 144 [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector( _systemWillSleep: ) name:NSWorkspaceWillSleepNotification object:[NSWorkspace sharedWorkspace]]; … … 235 235 [[NSNotificationCenter defaultCenter] removeObserver:self]; 236 236 237 #if !defined(TARGET_OS_ ASPEN) || !TARGET_OS_ASPEN237 #if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE 238 238 [[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver:self]; 239 239 #endif trunk/Colloquy.xcodeproj/project.pbxproj
r3776 r3785 641 641 1C9982050603F097006C6417 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = Languages/English.lproj/JVNotificationPreferences.nib; sourceTree = "<group>"; }; 642 642 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>"; }; 644 644 1C9D85190C9869DD00BB6C58 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = Japanese; path = Languages/Japanese.lproj/Credits.rtf; sourceTree = "<group>"; }; 645 645 1C9D851E0C9869F000BB6C58 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Japanese; path = Languages/Japanese.lproj/Localizable.strings; sourceTree = "<group>"; }; … … 694 694 1C9D855B0C986A2C00BB6C58 /* nb */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = nb; path = Languages/nb.lproj/MVSoftwareUpdate.nib; sourceTree = "<group>"; }; 695 695 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>"; }; 697 697 1CA7CA6305FEC88500887614 /* activity.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = activity.png; path = "Resources/Toolbar Icons/activity.png"; sourceTree = "<group>"; }; 698 698 1CA7CA6405FEC88500887614 /* activityNew.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = activityNew.png; path = "Resources/Toolbar Icons/activityNew.png"; sourceTree = "<group>"; }; … … 1009 1009 CBF685300820190D00F498FB /* English */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.strings; name = English; path = schema.strings; sourceTree = "<group>"; }; 1010 1010 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>"; }; 1012 1012 CBF685330820190D00F498FB /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = main.c; path = Importer/main.c; sourceTree = "<group>"; }; 1013 1013 CBF685340820190D00F498FB /* schema.xml */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; name = schema.xml; path = Importer/schema.xml; sourceTree = "<group>"; }; … … 1049 1049 F599994901890E4601EE70DE /* MVTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MVTextView.m; path = Views/MVTextView.m; sourceTree = "<group>"; }; 1050 1050 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>"; }; 1052 1052 F5BC17DF019656E901A35792 /* info.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = info.png; path = Resources/info.png; sourceTree = "<group>"; }; 1053 1053 F5BEC20D01F1EF1901EE70DE /* admin.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = admin.png; path = Resources/admin.png; sourceTree = "<group>"; };
