Skip to content

Commit

Permalink
Beginnings of github network support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Palmer committed Jun 7, 2008
1 parent 571feaa commit 909b80b
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 150 deletions.
176 changes: 112 additions & 64 deletions English.lproj/MainMenu.xib
Expand Up @@ -8,8 +8,8 @@
<string key="IBDocument.HIToolboxVersion">352.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="491"/>
<integer value="517"/>
<integer value="2"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -250,7 +250,7 @@
<object class="NSTabViewItem" id="22598373">
<string key="NSIdentifier">commits</string>
<object class="NSView" key="NSView" id="339403319">
<reference key="NSNextResponder" ref="1049027428"/>
<nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -355,6 +355,7 @@
</object>
<string key="NSFrameSize">{285, 639}</string>
<reference key="NSSuperview" ref="1052727212"/>
<reference key="NSNextKeyView" ref="95565757"/>
<reference key="NSDocView" ref="95565757"/>
<reference key="NSBGColor" ref="1046813822"/>
<int key="NScvFlags">4</int>
Expand All @@ -381,6 +382,7 @@
</object>
<string key="NSFrameSize">{285, 639}</string>
<reference key="NSSuperview" ref="476771339"/>
<reference key="NSNextKeyView" ref="648361966"/>
<int key="NSsFlags">528</int>
<reference key="NSVScroller" ref="728533113"/>
<reference key="NSHScroller" ref="439200232"/>
Expand All @@ -402,7 +404,6 @@
</object>
</object>
<string key="NSFrameSize">{1045, 664}</string>
<reference key="NSSuperview" ref="1049027428"/>
</object>
<string key="NSLabel">Commits</string>
<reference key="NSColor" ref="227031787"/>
Expand All @@ -411,32 +412,74 @@
<object class="NSTabViewItem" id="210041055">
<string key="NSIdentifier">network</string>
<object class="NSView" key="NSView" id="856932408">
<nil key="NSNextResponder"/>
<reference key="NSNextResponder" ref="1049027428"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomView" id="48941844">
<object class="WebView" id="219857869">
<reference key="NSNextResponder" ref="856932408"/>
<int key="NSvFlags">274</int>
<string key="NSFrameSize">{990, 639}</string>
<int key="NSvFlags">4370</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Apple HTML pasteboard type</string>
<string>Apple PICT pasteboard type</string>
<string>Apple URL pasteboard type</string>
<string>Apple Web Archive pasteboard type</string>
<string>NSColor pasteboard type</string>
<string>NSFilenamesPboardType</string>
<string>NSStringPboardType</string>
<string>NeXT RTFD pasteboard type</string>
<string>NeXT Rich Text Format v1.0 pasteboard type</string>
<string>NeXT TIFF v4.0 pasteboard type</string>
<string>WebURLsWithTitlesPboardType</string>
<string>public.url</string>
<string>public.url-name</string>
</object>
</object>
<string key="NSFrameSize">{989, 638}</string>
<reference key="NSSuperview" ref="856932408"/>
<string key="NSClassName">VisualizationView</string>
<reference key="NSNextKeyView"/>
<string key="FrameName"/>
<string key="GroupName"/>
<object class="WebPreferences" key="Preferences" id="301908327">
<string key="Identifier"/>
<object class="NSMutableDictionary" key="Values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>WebKitDefaultFixedFontSize</string>
<string>WebKitDefaultFontSize</string>
<string>WebKitMinimumFontSize</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="12" id="629867304"/>
<reference ref="629867304"/>
<integer value="1" id="9"/>
</object>
</object>
</object>
<bool key="UseBackForwardList">NO</bool>
<bool key="AllowsUndo">YES</bool>
</object>
</object>
<string key="NSFrameSize">{1045, 664}</string>
<reference key="NSSuperview" ref="1049027428"/>
</object>
<string key="NSLabel">Network</string>
<reference key="NSColor" ref="227031787"/>
<reference key="NSTabView" ref="1049027428"/>
</object>
</object>
<reference key="NSSelectedTabViewItem" ref="22598373"/>
<reference key="NSSelectedTabViewItem" ref="210041055"/>
<reference key="NSFont" ref="98627494"/>
<int key="NSTvFlags">6</int>
<bool key="NSAllowTruncatedLabels">YES</bool>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="339403319"/>
<reference ref="856932408"/>
</object>
</object>
<object class="NSSegmentedControl" id="637722390">
Expand Down Expand Up @@ -971,26 +1014,10 @@
</object>
<string key="NSFrameSize">{481, 404}</string>
<reference key="NSSuperview" ref="591982567"/>
<reference key="NSNextKeyView"/>
<string key="FrameName"/>
<string key="GroupName"/>
<object class="WebPreferences" key="Preferences">
<string key="Identifier"/>
<object class="NSMutableDictionary" key="Values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>WebKitDefaultFixedFontSize</string>
<string>WebKitDefaultFontSize</string>
<string>WebKitMinimumFontSize</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="12" id="629867304"/>
<reference ref="629867304"/>
<integer value="1" id="9"/>
</object>
</object>
</object>
<reference key="Preferences" ref="301908327"/>
<bool key="UseBackForwardList">YES</bool>
<bool key="AllowsUndo">YES</bool>
</object>
Expand All @@ -1001,6 +1028,9 @@
<object class="NSCustomObject" id="498734212">
<string key="NSClassName">SUUpdater</string>
</object>
<object class="NSCustomObject" id="580042981">
<string key="NSClassName">NetworkController</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
Expand Down Expand Up @@ -1389,14 +1419,6 @@
</object>
<int key="connectionID">504</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">application_controller</string>
<reference key="source" ref="48941844"/>
<reference key="destination" ref="620275248"/>
</object>
<int key="connectionID">506</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">local_branches_menu</string>
Expand All @@ -1421,6 +1443,22 @@
</object>
<int key="connectionID">524</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">application_controller</string>
<reference key="source" ref="580042981"/>
<reference key="destination" ref="620275248"/>
</object>
<int key="connectionID">527</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">network_view</string>
<reference key="source" ref="580042981"/>
<reference key="destination" ref="219857869"/>
</object>
<int key="connectionID">529</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
Expand Down Expand Up @@ -2008,7 +2046,7 @@
<reference key="object" ref="856932408"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="48941844"/>
<reference ref="219857869"/>
</object>
<reference key="parent" ref="210041055"/>
</object>
Expand All @@ -2026,11 +2064,6 @@
<reference key="object" ref="523062467"/>
<reference key="parent" ref="637722390"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">505</int>
<reference key="object" ref="48941844"/>
<reference key="parent" ref="856932408"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">512</int>
<reference key="object" ref="725203171"/>
Expand Down Expand Up @@ -2087,6 +2120,17 @@
</object>
<reference key="parent" ref="975322591"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">525</int>
<reference key="object" ref="219857869"/>
<reference key="parent" ref="856932408"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">526</int>
<reference key="object" ref="580042981"/>
<reference key="parent" ref="269908025"/>
<string key="objectName">NetorkController</string>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
Expand Down Expand Up @@ -2209,7 +2253,6 @@
<string>485.IBAttributePlaceholdersKey</string>
<string>496.IBPluginDependency</string>
<string>497.IBPluginDependency</string>
<string>505.IBPluginDependency</string>
<string>512.IBPluginDependency</string>
<string>513.IBEditorWindowLastContentRect</string>
<string>513.IBPluginDependency</string>
Expand All @@ -2220,6 +2263,8 @@
<string>519.IBPluginDependency</string>
<string>520.IBEditorWindowLastContentRect</string>
<string>520.IBPluginDependency</string>
<string>525.IBPluginDependency</string>
<string>526.IBPluginDependency</string>
<string>56.IBPluginDependency</string>
<string>56.ImportedFromIB2</string>
<string>57.IBEditorWindowLastContentRect</string>
Expand Down Expand Up @@ -2382,7 +2427,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{794, 798}, {64, 6}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
Expand All @@ -2392,6 +2436,8 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{794, 778}, {64, 6}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.WebKitIBPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
<string>{{488, 641}, {218, 193}}</string>
Expand Down Expand Up @@ -2422,7 +2468,7 @@
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">524</int>
<int key="maxID">529</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
Expand Down Expand Up @@ -2558,6 +2604,27 @@
<string key="minorKey"/>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NetworkController</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>application_controller</string>
<string>network_view</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">NetworkController.rb</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">SUUpdater</string>
<string key="superclassName">NSObject</string>
Expand Down Expand Up @@ -2586,25 +2653,6 @@
<string key="minorKey"/>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">VisualizationView</string>
<string key="superclassName">NSView</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">application_controller</string>
<string key="NS.object.0">id</string>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">VisualizationView.rb</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">VisualizationView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBUserSource</string>
<string key="minorKey"/>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
Expand Down
8 changes: 4 additions & 4 deletions GitNub.xcodeproj/project.pbxproj
Expand Up @@ -9,6 +9,7 @@
/* Begin PBXBuildFile section */
0A4023590D949E0E00659E01 /* ImageLoadOperation.rb in Resources */ = {isa = PBXBuildFile; fileRef = 0A4023580D949E0E00659E01 /* ImageLoadOperation.rb */; };
0ABA3B1B0D89E53E004B6667 /* nub in Resources */ = {isa = PBXBuildFile; fileRef = 0ABA3B1A0D89E53E004B6667 /* nub */; };
281F627E0DF7D99600D454A1 /* NetworkController.rb in Resources */ = {isa = PBXBuildFile; fileRef = 281F627D0DF7D99600D454A1 /* NetworkController.rb */; };
283254680D8B792500D99366 /* lib in Resources */ = {isa = PBXBuildFile; fileRef = 283254650D8B792500D99366 /* lib */; };
285BB5320D849C890027980C /* TexturedWindow.rb in Resources */ = {isa = PBXBuildFile; fileRef = 285BB52F0D849C890027980C /* TexturedWindow.rb */; };
285BB53D0D849DD20027980C /* added.png in Resources */ = {isa = PBXBuildFile; fileRef = 285BB5380D849DD20027980C /* added.png */; };
Expand All @@ -19,7 +20,6 @@
285BB5490D849EA60027980C /* CommitsController.rb in Resources */ = {isa = PBXBuildFile; fileRef = 285BB5460D849EA60027980C /* CommitsController.rb */; };
285BB54A0D849EA60027980C /* InfoWindowController.rb in Resources */ = {isa = PBXBuildFile; fileRef = 285BB5470D849EA60027980C /* InfoWindowController.rb */; };
286F109E0D7A49380055A0D1 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 286F109D0D7A49380055A0D1 /* WebKit.framework */; };
28851B970DB147AA00FA9C7D /* VisualizationView.rb in Resources */ = {isa = PBXBuildFile; fileRef = 28851B960DB147AA00FA9C7D /* VisualizationView.rb */; };
288853050D7CE2E500862D67 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = 288853040D7CE2E500862D67 /* LICENSE */; };
2888530D0D7CEA5200862D67 /* gitnub-icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 2888530C0D7CEA5200862D67 /* gitnub-icon.icns */; };
288853C90D7E06A600862D67 /* commit.html in Resources */ = {isa = PBXBuildFile; fileRef = 288853C80D7E06A600862D67 /* commit.html */; };
Expand Down Expand Up @@ -55,6 +55,7 @@
0A4023580D949E0E00659E01 /* ImageLoadOperation.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = ImageLoadOperation.rb; sourceTree = "<group>"; };
0ABA3B1A0D89E53E004B6667 /* nub */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = nub; sourceTree = "<group>"; };
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
281F627D0DF7D99600D454A1 /* NetworkController.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = NetworkController.rb; sourceTree = "<group>"; };
283254650D8B792500D99366 /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; path = lib; sourceTree = "<group>"; };
285BB52F0D849C890027980C /* TexturedWindow.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = TexturedWindow.rb; sourceTree = "<group>"; };
285BB5380D849DD20027980C /* added.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = added.png; sourceTree = "<group>"; };
Expand All @@ -65,7 +66,6 @@
285BB5460D849EA60027980C /* CommitsController.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = CommitsController.rb; sourceTree = "<group>"; };
285BB5470D849EA60027980C /* InfoWindowController.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = InfoWindowController.rb; sourceTree = "<group>"; };
286F109D0D7A49380055A0D1 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
28851B960DB147AA00FA9C7D /* VisualizationView.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = VisualizationView.rb; sourceTree = "<group>"; };
288853040D7CE2E500862D67 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
2888530C0D7CEA5200862D67 /* gitnub-icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "gitnub-icon.icns"; sourceTree = "<group>"; };
288853C80D7E06A600862D67 /* commit.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = commit.html; sourceTree = "<group>"; };
Expand Down Expand Up @@ -108,6 +108,7 @@
285BB5470D849EA60027980C /* InfoWindowController.rb */,
4D922CA60D8889DB002A5539 /* CommitSummaryCell.h */,
4D922CA70D8889DB002A5539 /* CommitSummaryCell.m */,
281F627D0DF7D99600D454A1 /* NetworkController.rb */,
);
name = Classes;
sourceTree = "<group>";
Expand Down Expand Up @@ -159,7 +160,6 @@
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
children = (
28851B960DB147AA00FA9C7D /* VisualizationView.rb */,
283254650D8B792500D99366 /* lib */,
285BB52F0D849C890027980C /* TexturedWindow.rb */,
29B97316FDCFA39411CA2CEA /* main.m */,
Expand Down Expand Up @@ -268,7 +268,7 @@
0ABA3B1B0D89E53E004B6667 /* nub in Resources */,
283254680D8B792500D99366 /* lib in Resources */,
0A4023590D949E0E00659E01 /* ImageLoadOperation.rb in Resources */,
28851B970DB147AA00FA9C7D /* VisualizationView.rb in Resources */,
281F627E0DF7D99600D454A1 /* NetworkController.rb in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

0 comments on commit 909b80b

Please sign in to comment.