Skip to content

Commit

Permalink
Implemented new method for accessing Canary's timelines. Hopefully be…
Browse files Browse the repository at this point in the history
…tter looking and more usable.

Fixed a bug with getting messages.
Also added menus and shortcuts for the timelines.
  • Loading branch information
nicktoumpelis committed Aug 18, 2009
1 parent 55885fc commit e9394de
Show file tree
Hide file tree
Showing 10 changed files with 1,941 additions and 1,026 deletions.
2,371 changes: 1,439 additions & 932 deletions Canary.xcodeproj/genesis.pbxuser

Large diffs are not rendered by default.

157 changes: 95 additions & 62 deletions Canary.xcodeproj/genesis.perspectivev3
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>ActivePerspectiveName</key>
<string>Debug</string>
<string>Project</string>
<key>AllowedModules</key>
<array>
<dict>
Expand Down Expand Up @@ -280,7 +280,7 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
<integer>6</integer>
<integer>4</integer>
<integer>2</integer>
<integer>1</integer>
<integer>0</integer>
Expand All @@ -303,6 +303,8 @@
<string>MainColumn</string>
<real>301</real>
</array>
<key>RubberWindowFrame</key>
<string>260 122 1021 656 0 0 1280 778 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
Expand All @@ -313,24 +315,26 @@
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>0573D6CD0DA66271002D1CCF</string>
<key>PBXProjectModuleLabel</key>
<string>ORSCanaryController+Growl.m</string>
<string>ORSCanaryController.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>0573D6CE0DA66271002D1CCF</string>
<key>PBXProjectModuleLabel</key>
<string>ORSCanaryController+Growl.m</string>
<string>ORSCanaryController.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>05656D12103ACBFE0095BF38</string>
<string>05BBA23C103AF2450089F49D</string>
<key>history</key>
<array>
<string>05372D9D0E7EE8CC008ABD85</string>
Expand Down Expand Up @@ -379,8 +383,6 @@
<string>05163A670FDBE9B500C15851</string>
<string>05163A690FDBE9B500C15851</string>
<string>05163A6A0FDBE9B500C15851</string>
<string>05163A6B0FDBE9B500C15851</string>
<string>05163A6C0FDBE9B500C15851</string>
<string>05163A6D0FDBE9B500C15851</string>
<string>05163A6E0FDBE9B500C15851</string>
<string>05163A990FDC321D00C15851</string>
Expand Down Expand Up @@ -414,16 +416,23 @@
<string>0597FF0810170B21009CCA14</string>
<string>0597FF0910170B21009CCA14</string>
<string>0597FF0A10170B21009CCA14</string>
<string>05CFA29B102A9E5200520202</string>
<string>05ADB8C91039C1AB0094AE7A</string>
<string>055D45E91039C4C7007B23B0</string>
<string>05656C9D103AC6B60095BF38</string>
<string>05656CF4103ACB930095BF38</string>
<string>05656CF5103ACB930095BF38</string>
<string>05656CF6103ACB930095BF38</string>
<string>05656CF7103ACB930095BF38</string>
<string>05656CF8103ACB930095BF38</string>
<string>05656D0D103ACBBD0095BF38</string>
<string>05656D2B103AD6090095BF38</string>
<string>05656D2F103AD6090095BF38</string>
<string>05656D3C103ADB6F0095BF38</string>
<string>05656D3E103ADB6F0095BF38</string>
<string>05656D40103ADB6F0095BF38</string>
<string>05656D4C103ADC590095BF38</string>
<string>05656D4D103ADC590095BF38</string>
<string>05656D54103ADEA40095BF38</string>
<string>05BBA1B9103AE35D0089F49D</string>
<string>05BBA20A103AEA3A0089F49D</string>
<string>05BBA21F103AEBF30089F49D</string>
<string>05BBA236103AF17C0089F49D</string>
<string>05BBA237103AF17C0089F49D</string>
</array>
<key>prevStack</key>
<array>
Expand Down Expand Up @@ -516,27 +525,53 @@
<string>059E05F31007B66300C1C6D3</string>
<string>059B82CA1010803D008925FF</string>
<string>0597FF1110170B21009CCA14</string>
<string>05656A7F103AB5D10095BF38</string>
<string>05656C9F103AC6B60095BF38</string>
<string>05656CA0103AC6B60095BF38</string>
<string>05656CEE103AC8A40095BF38</string>
<string>05656CEF103AC8A40095BF38</string>
<string>05656CFA103ACB930095BF38</string>
<string>05656CFB103ACB930095BF38</string>
<string>05656CFC103ACB930095BF38</string>
<string>05656CFD103ACB930095BF38</string>
<string>05656CFE103ACB930095BF38</string>
<string>05656CFF103ACB930095BF38</string>
<string>05656D00103ACB930095BF38</string>
<string>05656D01103ACB930095BF38</string>
<string>05656D02103ACB930095BF38</string>
<string>05656D03103ACB930095BF38</string>
<string>05656D04103ACB930095BF38</string>
<string>05656D05103ACB930095BF38</string>
<string>05656D06103ACB930095BF38</string>
<string>05656D07103ACB930095BF38</string>
<string>05656D08103ACB930095BF38</string>
<string>05656D09103ACB930095BF38</string>
<string>05656D32103AD6090095BF38</string>
<string>05656D33103AD6090095BF38</string>
<string>05656D34103AD6090095BF38</string>
<string>05656D35103AD6090095BF38</string>
<string>05656D36103AD6090095BF38</string>
<string>05BBA1BC103AE35D0089F49D</string>
<string>05BBA1BD103AE35D0089F49D</string>
<string>05BBA1BE103AE35D0089F49D</string>
<string>05BBA1BF103AE35D0089F49D</string>
<string>05BBA1C0103AE35D0089F49D</string>
<string>05BBA1C1103AE35D0089F49D</string>
<string>05BBA1C2103AE35D0089F49D</string>
<string>05BBA1C3103AE35D0089F49D</string>
<string>05BBA1C4103AE35D0089F49D</string>
<string>05BBA1C5103AE35D0089F49D</string>
<string>05BBA1C6103AE35D0089F49D</string>
<string>05BBA1C7103AE35D0089F49D</string>
<string>05BBA1D5103AE3E80089F49D</string>
<string>05BBA1F2103AE9740089F49D</string>
<string>05BBA1F3103AE9740089F49D</string>
<string>05BBA1F4103AE9740089F49D</string>
<string>05BBA1F5103AE9740089F49D</string>
<string>05BBA1F6103AE9740089F49D</string>
<string>05BBA1F7103AE9740089F49D</string>
<string>05BBA1F8103AE9740089F49D</string>
<string>05BBA1F9103AE9740089F49D</string>
<string>05BBA1FA103AE9740089F49D</string>
<string>05BBA1FB103AE9740089F49D</string>
<string>05BBA1FC103AE9740089F49D</string>
<string>05BBA1FD103AE9740089F49D</string>
<string>05BBA1FE103AE9740089F49D</string>
<string>05BBA1FF103AE9740089F49D</string>
<string>05BBA200103AE9740089F49D</string>
<string>05BBA201103AE9740089F49D</string>
<string>05BBA20C103AEA3A0089F49D</string>
<string>05BBA20D103AEA3A0089F49D</string>
<string>05BBA20E103AEA3A0089F49D</string>
<string>05BBA222103AEBF30089F49D</string>
<string>05BBA223103AEBF30089F49D</string>
<string>05BBA224103AEBF30089F49D</string>
<string>05BBA225103AEBF30089F49D</string>
<string>05BBA226103AEBF30089F49D</string>
<string>05BBA22F103AF0DC0089F49D</string>
<string>05BBA230103AF0DC0089F49D</string>
<string>05BBA231103AF0DC0089F49D</string>
<string>05BBA238103AF17C0089F49D</string>
</array>
</dict>
<key>SplitCount</key>
Expand All @@ -551,6 +586,8 @@
<dict>
<key>Frame</key>
<string>{{0, 0}, {698, 610}}</string>
<key>RubberWindowFrame</key>
<string>260 122 1021 656 0 0 1280 778 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
Expand All @@ -573,7 +610,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{10, 27}, {744, 157}}</string>
<string>{{10, 27}, {698, -27}}</string>
<key>RubberWindowFrame</key>
<string>260 122 1021 656 0 0 1280 778 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
Expand All @@ -589,7 +628,7 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{10, 27}, {698, -27}}</string>
<string>{{10, 27}, {698, 156}}</string>
</dict>
<key>Module</key>
<string>PBXProjectFindModule</string>
Expand Down Expand Up @@ -627,7 +666,7 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{10, 27}, {698, 157}}</string>
<string>{{10, 27}, {698, -27}}</string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
Expand Down Expand Up @@ -655,11 +694,11 @@
</array>
<key>TableOfContents</key>
<array>
<string>05656A81103AB5D10095BF38</string>
<string>05BBA1C9103AE35D0089F49D</string>
<string>1CA23ED40692098700951B8B</string>
<string>05656A82103AB5D10095BF38</string>
<string>05BBA1CA103AE35D0089F49D</string>
<string>0573D6CD0DA66271002D1CCF</string>
<string>05656A83103AB5D10095BF38</string>
<string>05BBA1CB103AE35D0089F49D</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
Expand Down Expand Up @@ -706,14 +745,12 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{0, 0}, {1021, 209}}</string>
<key>RubberWindowFrame</key>
<string>260 122 1021 656 0 0 1280 778 </string>
<string>{{0, 0}, {1021, 301}}</string>
</dict>
<key>Module</key>
<string>PBXDebugCLIModule</string>
<key>Proportion</key>
<string>209pt</string>
<string>301pt</string>
</dict>
<dict>
<key>ContentConfiguration</key>
Expand All @@ -732,8 +769,8 @@
<string>yes</string>
<key>sizes</key>
<array>
<string>{{0, 0}, {519, 204}}</string>
<string>{{519, 0}, {502, 204}}</string>
<string>{{0, 0}, {519, 157}}</string>
<string>{{519, 0}, {502, 157}}</string>
</array>
</dict>
<key>VerticalSplitView</key>
Expand All @@ -748,8 +785,8 @@
<string>yes</string>
<key>sizes</key>
<array>
<string>{{0, 0}, {1021, 204}}</string>
<string>{{0, 204}, {1021, 197}}</string>
<string>{{0, 0}, {1021, 157}}</string>
<string>{{0, 157}, {1021, 152}}</string>
</array>
</dict>
</dict>
Expand All @@ -769,7 +806,7 @@
<key>DebugSTDIOWindowFrame</key>
<string>{{200, 200}, {500, 300}}</string>
<key>Frame</key>
<string>{{0, 214}, {1021, 401}}</string>
<string>{{0, 306}, {1021, 309}}</string>
<key>PBXDebugSessionStackFrameViewKey</key>
<dict>
<key>DebugVariablesTableConfiguration</key>
Expand All @@ -782,17 +819,13 @@
<real>218</real>
</array>
<key>Frame</key>
<string>{{519, 0}, {502, 204}}</string>
<key>RubberWindowFrame</key>
<string>260 122 1021 656 0 0 1280 778 </string>
<string>{{519, 0}, {502, 157}}</string>
</dict>
<key>RubberWindowFrame</key>
<string>260 122 1021 656 0 0 1280 778 </string>
</dict>
<key>Module</key>
<string>PBXDebugSessionModule</string>
<key>Proportion</key>
<string>401pt</string>
<string>309pt</string>
</dict>
</array>
<key>Name</key>
Expand All @@ -810,14 +843,14 @@
</array>
<key>TableOfContents</key>
<array>
<string>05656BE7103ABA410095BF38</string>
<string>05BBA1CC103AE35D0089F49D</string>
<string>1CCC7628064C1048000F2A68</string>
<string>1CCC7629064C1048000F2A68</string>
<string>05656BE8103ABA410095BF38</string>
<string>05656BE9103ABA410095BF38</string>
<string>05656BEA103ABA410095BF38</string>
<string>05656BEB103ABA410095BF38</string>
<string>05656BEC103ABA410095BF38</string>
<string>05BBA1CD103AE35D0089F49D</string>
<string>05BBA1CE103AE35D0089F49D</string>
<string>05BBA1CF103AE35D0089F49D</string>
<string>05BBA1D0103AE35D0089F49D</string>
<string>05BBA1D1103AE35D0089F49D</string>
</array>
<key>ToolbarConfiguration</key>
<string>xcode.toolbar.config.debugV3</string>
Expand Down Expand Up @@ -847,8 +880,8 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
<string>05656CA3103AC6B60095BF38</string>
<string>05656CA4103AC6B60095BF38</string>
<string>05BBA1E2103AE7A50089F49D</string>
<string>05BBA1E3103AE7A50089F49D</string>
<string>/Users/genesis/Projects/Ocean Road Software/Canary/source/Canary.xcodeproj</string>
</array>
<key>WindowString</key>
Expand Down
16 changes: 16 additions & 0 deletions Canary.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
05656BA5103AB7A70095BF38 /* BWToolkitFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05656BA4103AB7A70095BF38 /* BWToolkitFramework.framework */; };
05656BA8103AB7B30095BF38 /* BWToolkitFramework.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 05656BA4103AB7A70095BF38 /* BWToolkitFramework.framework */; };
05656C5D103ABBC20095BF38 /* BWToolkit.ibplugin in Resources */ = {isa = PBXBuildFile; fileRef = 05656BF1103ABBC20095BF38 /* BWToolkit.ibplugin */; };
05656D27103AD5C50095BF38 /* favoritesTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 05656D23103AD5C50095BF38 /* favoritesTemplate.pdf */; };
05656D28103AD5C50095BF38 /* repliesTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 05656D24103AD5C50095BF38 /* repliesTemplate.pdf */; };
05656D29103AD5C50095BF38 /* messagesTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 05656D25103AD5C50095BF38 /* messagesTemplate.pdf */; };
05656D2A103AD5C50095BF38 /* friendsTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 05656D26103AD5C50095BF38 /* friendsTemplate.pdf */; };
0573D7340DA6650B002D1CCF /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0573D7330DA6650B002D1CCF /* Security.framework */; };
057E321C0F91E19A0055B843 /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 057E321B0F91E19A0055B843 /* ScriptingBridge.framework */; };
05A216A70FDD3FB1004748C4 /* ORSCanaryPreferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 05A216A60FDD3FB1004748C4 /* ORSCanaryPreferences.m */; };
Expand Down Expand Up @@ -262,6 +266,10 @@
053FBC660FA516A600DA370E /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
05656BA4103AB7A70095BF38 /* BWToolkitFramework.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = BWToolkitFramework.framework; path = Additional/BWToolkitFramework.framework; sourceTree = "<group>"; };
05656BF1103ABBC20095BF38 /* BWToolkit.ibplugin */ = {isa = PBXFileReference; lastKnownFileType = folder; name = BWToolkit.ibplugin; path = Resources/BWToolkit.ibplugin; sourceTree = "<group>"; };
05656D23103AD5C50095BF38 /* favoritesTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = favoritesTemplate.pdf; path = Resources/Images/favoritesTemplate.pdf; sourceTree = "<group>"; };
05656D24103AD5C50095BF38 /* repliesTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = repliesTemplate.pdf; path = Resources/Images/repliesTemplate.pdf; sourceTree = "<group>"; };
05656D25103AD5C50095BF38 /* messagesTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = messagesTemplate.pdf; path = Resources/Images/messagesTemplate.pdf; sourceTree = "<group>"; };
05656D26103AD5C50095BF38 /* friendsTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = friendsTemplate.pdf; path = Resources/Images/friendsTemplate.pdf; sourceTree = "<group>"; };
0573D7330DA6650B002D1CCF /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
057E321B0F91E19A0055B843 /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; };
05A216A50FDD3FB1004748C4 /* ORSCanaryPreferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ORSCanaryPreferences.h; path = Classes/Controller/ORSCanaryPreferences.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -395,14 +403,18 @@
053FBAFC0FA514E100DA370E /* email.png */,
053FBAFD0FA514E100DA370E /* error.png */,
053FBAFE0FA514E100DA370E /* fave_star.png */,
05656D23103AD5C50095BF38 /* favoritesTemplate.pdf */,
05656D26103AD5C50095BF38 /* friendsTemplate.pdf */,
05FF7472103AAE0200E053E0 /* filterTemplate.pdf */,
053FBAFF0FA514E100DA370E /* Gradient1.png */,
053FBB000FA514E100DA370E /* Gradient2.png */,
053FBB010FA514E100DA370E /* information.png */,
053FBB020FA514E100DA370E /* isgd.png */,
053FBB030FA514E100DA370E /* LightGradient.png */,
053FBB040FA514E100DA370E /* message.png */,
05656D25103AD5C50095BF38 /* messagesTemplate.pdf */,
053FBB050FA514E100DA370E /* picture_link.png */,
05656D24103AD5C50095BF38 /* repliesTemplate.pdf */,
05FF7473103AAE0200E053E0 /* sieveTemplate.pdf */,
053FBB060FA514E100DA370E /* tinyurl.png */,
053FBB070FA514E100DA370E /* trim.png */,
Expand Down Expand Up @@ -690,6 +702,10 @@
053FBC1B0FA5154000DA370E /* About.xib in Resources */,
05FF7474103AAE0200E053E0 /* filterTemplate.pdf in Resources */,
05FF7475103AAE0200E053E0 /* sieveTemplate.pdf in Resources */,
05656D27103AD5C50095BF38 /* favoritesTemplate.pdf in Resources */,
05656D28103AD5C50095BF38 /* repliesTemplate.pdf in Resources */,
05656D29103AD5C50095BF38 /* messagesTemplate.pdf in Resources */,
05656D2A103AD5C50095BF38 /* friendsTemplate.pdf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
9 changes: 9 additions & 0 deletions Classes/Controller/ORSCanaryController.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@

BOOL firstFollowingTimelineRun;
BOOL showScreenNames;

NSInteger activeSegment;

IBOutlet NSSegmentedControl *timelineSegControl;
}

+ (ORSCanaryController *) sharedController;
Expand All @@ -156,6 +160,11 @@
- (IBAction) sendUpdate:sender;
- (IBAction) retypePreviousUpdate:sender;
- (IBAction) changeTimeline:sender;
- (IBAction) changeSegmentedControlTimeline:sender;
- (IBAction) friendsTimelineMenuItemClicked:sender;
- (IBAction) repliesTimelineMenuItemClicked:sender;
- (IBAction) messagesTimelineMenuItemClicked:sender;
- (IBAction) favoritesTimelineMenuItemClicked:sender;
- (void) scrollToTop;
- (void) updateTimer;
- (void) setupReceivedDMTimer;
Expand Down
Loading

0 comments on commit e9394de

Please sign in to comment.