public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/andrewlmurray/gitnub.git
Use %M for minutes instead of %m to keep conspiracy theories to a minimum
Caged (author)
Tue Mar 11 18:43:58 -0700 2008
commit  c3f2eec404072965b74e45a16cf8a273dd83ce0d
tree    36b6ef5a2bf98d7f99569ff962a36c7e3221a26a
parent  3d288f753cd342990860b9d9d45b933eba60df45
...
97
98
99
100
 
101
102
103
 
 
 
104
105
106
 
 
107
108
109
...
114
115
116
 
 
 
 
 
 
 
 
 
 
 
 
117
118
119
...
127
128
129
130
 
131
132
133
...
97
98
99
 
100
101
102
103
104
105
106
107
 
 
108
109
110
111
112
...
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
...
142
143
144
 
145
146
147
148
0
@@ -97,13 +97,16 @@ class CommitsController < OSX::NSObject
0
   end
0
   
0
   def secondaryTextForCell_data(cell, data)
0
- %(by #{data.committer.name} on #{data.committed_date.strftime("%A, %b %d, %I:%m %p")})
0
+ %(by #{data.committer.name} on #{data.committed_date.strftime("%A, %b %d, %I:%M %p")})
0
   end
0
   
0
   def iconForCell_data(icon, data)
0
+ #request = NSURLRequest.requestWithURL(NSURL.URLWithString("http://www.gravatar.com/avatar.php?gravatar_id=#{MD5.hexdigest(data.committer.email)}&size=36"))
0
+ #connection = NSURLConnection.alloc.initWithRequest_delegate(request, self)
0
+ @image_data = NSMutableData.data
0
     gravatar = NSURL.URLWithString("http://www.gravatar.com/avatar.php?gravatar_id=#{MD5.hexdigest(data.committer.email)}&size=36")
0
- @icons[MD5.hexdigest(data.committer.email)] ||= NSImage.alloc.initWithContentsOfURL(gravatar)
0
- #NSImage.imageNamed('committer')
0
+ NSImage.alloc.initWithContentsOfURL(gravatar)
0
+ #@icons[MD5.hexdigest(data.committer.email)] = NSImage.alloc.initWithData(@image_data)
0
   end
0
   
0
   def dataElementForCell(cell)
0
@@ -114,6 +117,18 @@ class CommitsController < OSX::NSObject
0
     select_latest_commit
0
   end
0
   
0
+ # def connection_didRecieveResponse(connection, response)
0
+ # @image_data.length = 0
0
+ # end
0
+ #
0
+ # def connection_didReceiveData(connection, data)
0
+ # #@image_data.appendData(data)
0
+ # end
0
+ #
0
+ # def connectionDidFinishLoading(connection)
0
+ # puts @icons[MD5.hexdigest(data.committer.email)]
0
+ # end
0
+
0
   def select_latest_commit
0
     @commits_table.selectRowIndexes_byExtendingSelection(NSIndexSet.indexSetWithIndex(0), false)
0
   end
0
@@ -127,7 +142,7 @@ class CommitsController < OSX::NSObject
0
     if Time.now.day == active_commit.committed_date.day
0
       cdate = active_commit.committed_date.strftime("Today %I:%m %p")
0
     else
0
- cdate = active_commit.committed_date.strftime("%A, %B %d %I:%m %p")
0
+ cdate = active_commit.committed_date.strftime("%A, %B %d %I:%M %p")
0
     end
0
     set_html("date", cdate)
0
 
...
62
63
64
65
 
66
67
68
...
358
359
360
361
 
362
363
364
365
366
367
 
368
369
370
371
 
 
372
373
374
...
532
533
534
535
 
536
537
538
...
540
541
542
543
 
544
545
546
547
548
 
 
549
550
551
...
784
785
786
787
 
788
789
790
...
800
801
802
803
 
804
805
806
...
847
848
849
850
 
851
852
853
...
857
858
859
860
 
861
862
863
...
1111
1112
1113
1114
 
1115
1116
1117
 
1118
1119
1120
1121
1122
1123
1124
 
 
1125
1126
1127
1128
 
1129
1130
1131
 
1132
1133
1134
1135
1136
1137
 
1138
1139
1140
 
1141
1142
 
1143
1144
1145
1146
1147
 
 
1148
1149
1150
...
62
63
64
 
65
66
67
68
...
358
359
360
 
361
362
363
364
365
366
 
367
368
369
 
 
370
371
372
373
374
...
532
533
534
 
535
536
537
538
...
540
541
542
 
543
544
545
546
 
 
547
548
549
550
551
...
784
785
786
 
787
788
789
790
...
800
801
802
 
803
804
805
806
...
847
848
849
 
850
851
852
853
...
857
858
859
 
860
861
862
863
...
1111
1112
1113
 
1114
1115
1116
 
1117
1118
1119
1120
1121
1122
 
 
1123
1124
1125
1126
1127
 
1128
1129
1130
 
1131
1132
1133
1134
1135
1136
 
1137
1138
1139
 
1140
1141
 
1142
1143
1144
1145
 
 
1146
1147
1148
1149
1150
0
@@ -62,7 +62,7 @@
0
                 <reference key="NSControlView" ref="60591724"/>
0
                 <int key="NSButtonFlags">-2038284033</int>
0
                 <int key="NSButtonFlags2">35</int>
0
- <object class="NSFont" key="NSAlternateImage" id="330611078">
0
+ <object class="NSFont" key="NSAlternateImage" id="333987">
0
                   <string key="NSName">LucidaGrande</string>
0
                   <double key="NSSize">1.300000e+01</double>
0
                   <int key="NSfFlags">16</int>
0
@@ -358,17 +358,17 @@
0
               <bool key="NSIsVertical">YES</bool>
0
               <int key="NSDividerStyle">2</int>
0
             </object>
0
- <object class="NSSegmentedControl" id="607988311">
0
+ <object class="NSSegmentedControl" id="1072506144">
0
               <reference key="NSNextResponder" ref="831824449"/>
0
               <int key="NSvFlags">289</int>
0
               <string key="NSFrame">{{905, 11}, {71, 25}}</string>
0
               <reference key="NSSuperview" ref="831824449"/>
0
               <bool key="NSEnabled">YES</bool>
0
- <object class="NSSegmentedCell" key="NSCell" id="761055213">
0
+ <object class="NSSegmentedCell" key="NSCell" id="544428244">
0
                 <int key="NSCellFlags">67239424</int>
0
                 <int key="NSCellFlags2">0</int>
0
- <reference key="NSSupport" ref="330611078"/>
0
- <reference key="NSControlView" ref="607988311"/>
0
+ <reference key="NSSupport" ref="333987"/>
0
+ <reference key="NSControlView" ref="1072506144"/>
0
                 <object class="NSMutableArray" key="NSSegmentImages">
0
                   <bool key="EncodedWithXMLCoder">YES</bool>
0
                   <object class="NSSegmentItem">
0
@@ -532,7 +532,7 @@
0
               <string key="NSName">_NSAppleMenu</string>
0
             </object>
0
           </object>
0
- <object class="NSMenuItem" id="90956091">
0
+ <object class="NSMenuItem" id="81969329">
0
             <reference key="NSMenu" ref="613528524"/>
0
             <string key="NSTitle">View</string>
0
             <string key="NSKeyEquiv"/>
0
@@ -540,12 +540,12 @@
0
             <reference key="NSOnImage" ref="598266614"/>
0
             <reference key="NSMixedImage" ref="785466528"/>
0
             <string key="NSAction">submenuAction:</string>
0
- <object class="NSMenu" key="NSSubmenu" id="180167339">
0
+ <object class="NSMenu" key="NSSubmenu" id="921429221">
0
               <string key="NSTitle">View</string>
0
               <object class="NSMutableArray" key="NSMenuItems">
0
                 <bool key="EncodedWithXMLCoder">YES</bool>
0
- <object class="NSMenuItem" id="894050157">
0
- <reference key="NSMenu" ref="180167339"/>
0
+ <object class="NSMenuItem" id="747516014">
0
+ <reference key="NSMenu" ref="921429221"/>
0
                   <string key="NSTitle">Refresh Commits</string>
0
                   <string key="NSKeyEquiv">r</string>
0
                   <int key="NSKeyEquivModMask">1048576</int>
0
@@ -784,7 +784,7 @@
0
           <object class="IBActionConnection" key="connection">
0
             <string key="label">perform_utility_action:</string>
0
             <reference key="source" ref="53201312"/>
0
- <reference key="destination" ref="607988311"/>
0
+ <reference key="destination" ref="1072506144"/>
0
           </object>
0
           <int key="connectionID">377</int>
0
         </object>
0
@@ -800,7 +800,7 @@
0
           <object class="IBActionConnection" key="connection">
0
             <string key="label">refresh_commits:</string>
0
             <reference key="source" ref="53201312"/>
0
- <reference key="destination" ref="894050157"/>
0
+ <reference key="destination" ref="747516014"/>
0
           </object>
0
           <int key="connectionID">401</int>
0
         </object>
0
@@ -847,7 +847,7 @@
0
               <reference ref="869639466"/>
0
               <reference ref="421922180"/>
0
               <reference ref="476771339"/>
0
- <reference ref="607988311"/>
0
+ <reference ref="1072506144"/>
0
             </object>
0
             <reference key="parent" ref="469667931"/>
0
           </object>
0
@@ -857,7 +857,7 @@
0
             <object class="NSMutableArray" key="children">
0
               <bool key="EncodedWithXMLCoder">YES</bool>
0
               <reference ref="273211888"/>
0
- <reference ref="90956091"/>
0
+ <reference ref="81969329"/>
0
             </object>
0
             <reference key="parent" ref="269908025"/>
0
             <string key="objectName">MainMenu</string>
0
@@ -1111,40 +1111,40 @@
0
           </object>
0
           <object class="IBObjectRecord">
0
             <int key="objectID">374</int>
0
- <reference key="object" ref="607988311"/>
0
+ <reference key="object" ref="1072506144"/>
0
             <object class="NSMutableArray" key="children">
0
               <bool key="EncodedWithXMLCoder">YES</bool>
0
- <reference ref="761055213"/>
0
+ <reference ref="544428244"/>
0
             </object>
0
             <reference key="parent" ref="831824449"/>
0
           </object>
0
           <object class="IBObjectRecord">
0
             <int key="objectID">375</int>
0
- <reference key="object" ref="761055213"/>
0
- <reference key="parent" ref="607988311"/>
0
+ <reference key="object" ref="544428244"/>
0
+ <reference key="parent" ref="1072506144"/>
0
           </object>
0
           <object class="IBObjectRecord">
0
             <int key="objectID">396</int>
0
- <reference key="object" ref="90956091"/>
0
+ <reference key="object" ref="81969329"/>
0
             <object class="NSMutableArray" key="children">
0
               <bool key="EncodedWithXMLCoder">YES</bool>
0
- <reference ref="180167339"/>
0
+ <reference ref="921429221"/>
0
             </object>
0
             <reference key="parent" ref="613528524"/>
0
           </object>
0
           <object class="IBObjectRecord">
0
             <int key="objectID">397</int>
0
- <reference key="object" ref="180167339"/>
0
+ <reference key="object" ref="921429221"/>
0
             <object class="NSMutableArray" key="children">
0
               <bool key="EncodedWithXMLCoder">YES</bool>
0
- <reference ref="894050157"/>
0
+ <reference ref="747516014"/>
0
             </object>
0
- <reference key="parent" ref="90956091"/>
0
+ <reference key="parent" ref="81969329"/>
0
           </object>
0
           <object class="IBObjectRecord">
0
             <int key="objectID">398</int>
0
- <reference key="object" ref="894050157"/>
0
- <reference key="parent" ref="180167339"/>
0
+ <reference key="object" ref="747516014"/>
0
+ <reference key="parent" ref="921429221"/>
0
           </object>
0
         </object>
0
       </object>
...
231
232
233
 
 
234
235
236
...
294
295
296
297
 
298
299
300
...
331
332
333
334
 
335
336
337
...
339
340
341
342
343
344
345
346
...
353
354
355
356
 
357
358
359
...
377
378
379
380
 
381
382
 
383
384
385
...
513
514
515
 
 
516
517
518
519
 
520
521
522
...
546
547
548
549
 
550
551
552
...
570
571
572
573
 
574
575
576
...
593
594
595
596
 
597
598
599
600
601
602
603
 
604
605
606
...
687
688
689
690
 
691
692
693
 
694
695
696
...
713
714
715
716
 
717
718
719
720
721
722
 
 
 
 
 
723
724
725
726
727
 
728
729
730
...
231
232
233
234
235
236
237
238
...
296
297
298
 
299
300
301
302
...
333
334
335
 
336
337
338
339
...
341
342
343
 
 
344
345
346
...
353
354
355
 
356
357
358
359
...
377
378
379
 
380
381
 
382
383
384
385
...
513
514
515
516
517
518
519
520
 
521
522
523
524
...
548
549
550
 
551
552
553
554
...
572
573
574
 
575
576
577
578
...
595
596
597
 
598
599
600
601
602
603
604
 
605
606
607
608
...
689
690
691
 
692
693
694
 
695
696
697
698
...
715
716
717
 
718
719
 
 
 
 
 
720
721
722
723
724
725
726
727
728
 
729
730
731
732
0
@@ -231,6 +231,8 @@
0
       <key>Layout</key>
0
       <array>
0
         <dict>
0
+ <key>BecomeActive</key>
0
+ <true/>
0
           <key>ContentConfiguration</key>
0
           <dict>
0
             <key>PBXBottomSmartGroupGIDs</key>
0
@@ -294,7 +296,7 @@
0
               <real>186</real>
0
             </array>
0
             <key>RubberWindowFrame</key>
0
- <string>224 359 746 431 0 0 1440 878 </string>
0
+ <string>908 575 746 431 0 0 1920 1178 </string>
0
           </dict>
0
           <key>Module</key>
0
           <string>PBXSmartGroupTreeModule</string>
0
@@ -331,7 +333,7 @@
0
                 <key>Frame</key>
0
                 <string>{{0, 0}, {538, 0}}</string>
0
                 <key>RubberWindowFrame</key>
0
- <string>224 359 746 431 0 0 1440 878 </string>
0
+ <string>908 575 746 431 0 0 1920 1178 </string>
0
               </dict>
0
               <key>Module</key>
0
               <string>PBXNavigatorGroup</string>
0
@@ -339,8 +341,6 @@
0
               <string>0pt</string>
0
             </dict>
0
             <dict>
0
- <key>BecomeActive</key>
0
- <true/>
0
               <key>ContentConfiguration</key>
0
               <dict>
0
                 <key>PBXProjectModuleGUID</key>
0
@@ -353,7 +353,7 @@
0
                 <key>Frame</key>
0
                 <string>{{0, 5}, {538, 385}}</string>
0
                 <key>RubberWindowFrame</key>
0
- <string>224 359 746 431 0 0 1440 878 </string>
0
+ <string>908 575 746 431 0 0 1920 1178 </string>
0
               </dict>
0
               <key>Module</key>
0
               <string>XCDetailModule</string>
0
@@ -377,9 +377,9 @@
0
       </array>
0
       <key>TableOfContents</key>
0
       <array>
0
- <string>28DA55110D84BE2C00D39FBF</string>
0
+ <string>28DA552A0D85135E00D39FBF</string>
0
         <string>1CE0B1FE06471DED0097A5F4</string>
0
- <string>28DA55120D84BE2C00D39FBF</string>
0
+ <string>28DA552B0D85135E00D39FBF</string>
0
         <string>1CE0B20306471E060097A5F4</string>
0
         <string>1CE0B20506471E060097A5F4</string>
0
       </array>
0
@@ -513,10 +513,12 @@
0
   <integer>5</integer>
0
   <key>WindowOrderList</key>
0
   <array>
0
+ <string>1CD10A99069EF8BA00B06720</string>
0
+ <string>286F10A50D7A49D20055A0D1</string>
0
     <string>/Users/Caged/dev/git/gitnub/GitNub.xcodeproj</string>
0
   </array>
0
   <key>WindowString</key>
0
- <string>224 359 746 431 0 0 1440 878 </string>
0
+ <string>908 575 746 431 0 0 1920 1178 </string>
0
   <key>WindowToolsV3</key>
0
   <array>
0
     <dict>
0
@@ -546,7 +548,7 @@
0
                 <key>Frame</key>
0
                 <string>{{0, 0}, {500, 218}}</string>
0
                 <key>RubberWindowFrame</key>
0
- <string>301 216 500 500 0 0 1440 878 </string>
0
+ <string>301 216 500 500 0 0 1920 1178 </string>
0
               </dict>
0
               <key>Module</key>
0
               <string>PBXNavigatorGroup</string>
0
@@ -570,7 +572,7 @@
0
                 <key>Frame</key>
0
                 <string>{{0, 223}, {500, 236}}</string>
0
                 <key>RubberWindowFrame</key>
0
- <string>301 216 500 500 0 0 1440 878 </string>
0
+ <string>301 216 500 500 0 0 1920 1178 </string>
0
               </dict>
0
               <key>Module</key>
0
               <string>PBXBuildResultsModule</string>
0
@@ -593,14 +595,14 @@
0
       <key>TableOfContents</key>
0
       <array>
0
         <string>286F10A50D7A49D20055A0D1</string>
0
- <string>28DA55060D84BE2800D39FBF</string>
0
+ <string>28DA552C0D85135E00D39FBF</string>
0
         <string>1CD0528F0623707200166675</string>
0
         <string>XCMainBuildResultsModuleGUID</string>
0
       </array>
0
       <key>ToolbarConfiguration</key>
0
       <string>xcode.toolbar.config.buildV3</string>
0
       <key>WindowString</key>
0
- <string>301 216 500 500 0 0 1440 878 </string>
0
+ <string>301 216 500 500 0 0 1920 1178 </string>
0
       <key>WindowToolGUID</key>
0
       <string>286F10A50D7A49D20055A0D1</string>
0
       <key>WindowToolIsVisible</key>
0
@@ -687,10 +689,10 @@
0
                   <key>Frame</key>
0
                   <string>{{316, 0}, {378, 203}}</string>
0
                   <key>RubberWindowFrame</key>
0
- <string>324 170 694 422 0 0 1440 878 </string>
0
+ <string>324 170 694 422 0 0 1920 1178 </string>
0
                 </dict>
0
                 <key>RubberWindowFrame</key>
0
- <string>324 170 694 422 0 0 1440 878 </string>
0
+ <string>324 170 694 422 0 0 1920 1178 </string>
0
               </dict>
0
               <key>Module</key>
0
               <string>PBXDebugSessionModule</string>
0
@@ -713,18 +715,18 @@
0
       <key>TableOfContents</key>
0
       <array>
0
         <string>1CD10A99069EF8BA00B06720</string>
0
- <string>285BB5540D849F220027980C</string>
0
+ <string>28DA55740D85E21700D39FBF</string>
0
         <string>1C162984064C10D400B95A72</string>
0
- <string>285BB5550D849F220027980C</string>
0
- <string>285BB5560D849F220027980C</string>
0
- <string>285BB5570D849F220027980C</string>
0
- <string>285BB5580D849F220027980C</string>
0
- <string>285BB5590D849F220027980C</string>
0
+ <string>28DA55750D85E21700D39FBF</string>
0
+ <string>28DA55760D85E21700D39FBF</string>
0
+ <string>28DA55770D85E21700D39FBF</string>
0
+ <string>28DA55780D85E21700D39FBF</string>
0
+ <string>28DA55790D85E21700D39FBF</string>
0
       </array>
0
       <key>ToolbarConfiguration</key>
0
       <string>xcode.toolbar.config.debugV3</string>
0
       <key>WindowString</key>
0
- <string>324 170 694 422 0 0 1440 878 </string>
0
+ <string>324 170 694 422 0 0 1920 1178 </string>
0
       <key>WindowToolGUID</key>
0
       <string>1CD10A99069EF8BA00B06720</string>
0
       <key>WindowToolIsVisible</key>
...
116
117
118
119
120
 
 
121
122
123
...
116
117
118
 
 
119
120
121
122
123
0
@@ -116,8 +116,8 @@
0
           PBXFileDataSource_Warnings_ColumnID,
0
         );
0
       };
0
- PBXPerProjectTemplateStateSaveDate = 226803240;
0
- PBXWorkspaceStateSaveDate = 226803240;
0
+ PBXPerProjectTemplateStateSaveDate = 226825037;
0
+ PBXWorkspaceStateSaveDate = 226825037;
0
     };
0
     sourceControlManager = 2804BC860D7A467A00A0FAA7 /* Source Control */;
0
     userBuildSettings = {

Comments

    No one has commented yet.