Skip to content
Browse files

A few bugfixes to the demo project

  • Loading branch information...
1 parent a281531 commit e8c883d7598a2c0659736e1362124eba2efa6ce3 @mattpat committed Oct 19, 2010
Showing with 114 additions and 35 deletions.
  1. +15 −15 Blackbox.xcodeproj/matt.mode1v3
  2. +80 −14 Blackbox.xcodeproj/matt.pbxuser
  3. +10 −6 English.lproj/MainMenuHBC.xib
  4. +3 −0 HBCDemoController.h
  5. +6 −0 HBCDemoController.m
View
30 Blackbox.xcodeproj/matt.mode1v3
@@ -229,8 +229,6 @@
<key>Layout</key>
<array>
<dict>
- <key>BecomeActive</key>
- <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
@@ -281,8 +279,8 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>18</integer>
- <integer>16</integer>
+ <integer>30</integer>
+ <integer>28</integer>
<integer>0</integer>
</array>
</array>
@@ -317,24 +315,26 @@
<key>Dock</key>
<array>
<dict>
+ <key>BecomeActive</key>
+ <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>HBResponder.m</string>
+ <string>HBCDemoController.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>HBResponder.m</string>
+ <string>HBCDemoController.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>C991CF9A126E4CD500DEB793</string>
+ <string>C991CFA8126E4E7100DEB793</string>
<key>history</key>
<array>
<string>C952E4A5114F28CB00FB1C20</string>
@@ -362,18 +362,14 @@
<string>C9D501871239AC3200E365CE</string>
<string>C991CF08126E3BDA00DEB793</string>
<string>C991CF1C126E3C3C00DEB793</string>
- <string>C991CF7E126E4CA800DEB793</string>
<string>C991CF7F126E4CA800DEB793</string>
<string>C991CF80126E4CA800DEB793</string>
<string>C991CF81126E4CA800DEB793</string>
<string>C991CF82126E4CA800DEB793</string>
<string>C991CF84126E4CA800DEB793</string>
<string>C991CF85126E4CA800DEB793</string>
- <string>C991CF86126E4CA800DEB793</string>
<string>C991CF87126E4CA800DEB793</string>
<string>C991CF88126E4CA800DEB793</string>
- <string>C991CF89126E4CA800DEB793</string>
- <string>C991CF8A126E4CA800DEB793</string>
<string>C991CF8B126E4CA800DEB793</string>
<string>C991CF8C126E4CA800DEB793</string>
<string>C991CF8D126E4CA800DEB793</string>
@@ -382,7 +378,11 @@
<string>C991CF90126E4CA800DEB793</string>
<string>C991CF91126E4CA800DEB793</string>
<string>C991CF98126E4CD500DEB793</string>
- <string>C991CF99126E4CD500DEB793</string>
+ <string>C991CFA3126E4E7100DEB793</string>
+ <string>C991CFA4126E4E7100DEB793</string>
+ <string>C991CFA5126E4E7100DEB793</string>
+ <string>C991CFA6126E4E7100DEB793</string>
+ <string>C991CFA7126E4E7100DEB793</string>
</array>
</dict>
<key>SplitCount</key>
@@ -580,13 +580,13 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>C991CF9B126E4CD500DEB793</string>
+ <string>C991CFA9126E4E7100DEB793</string>
<string>C991CF13126E3BDA00DEB793</string>
<string>C991CF14126E3BDA00DEB793</string>
+ <string>1C78EAAD065D492600B07095</string>
<string>1CD10A99069EF8BA00B06720</string>
<string>C92AE0D6115063CF0049F7F2</string>
<string>C9CBAEC4114F27FD0030D309</string>
- <string>1C78EAAD065D492600B07095</string>
<string>/Users/matt/Blackbox/Blackbox.xcodeproj</string>
</array>
<key>WindowString</key>
@@ -963,7 +963,7 @@
<key>WindowToolGUID</key>
<string>1C78EAAD065D492600B07095</string>
<key>WindowToolIsVisible</key>
- <true/>
+ <false/>
</dict>
<dict>
<key>Identifier</key>
View
94 Blackbox.xcodeproj/matt.pbxuser
@@ -170,6 +170,12 @@
C991CF99126E4CD500DEB793 /* PBXTextBookmark */ = C991CF99126E4CD500DEB793 /* PBXTextBookmark */;
C991CF9A126E4CD500DEB793 /* PBXTextBookmark */ = C991CF9A126E4CD500DEB793 /* PBXTextBookmark */;
C991CF9E126E4D4700DEB793 /* PBXTextBookmark */ = C991CF9E126E4D4700DEB793 /* PBXTextBookmark */;
+ C991CFA3126E4E7100DEB793 /* PBXTextBookmark */ = C991CFA3126E4E7100DEB793 /* PBXTextBookmark */;
+ C991CFA4126E4E7100DEB793 /* PBXTextBookmark */ = C991CFA4126E4E7100DEB793 /* PBXTextBookmark */;
+ C991CFA5126E4E7100DEB793 /* PBXTextBookmark */ = C991CFA5126E4E7100DEB793 /* PBXTextBookmark */;
+ C991CFA6126E4E7100DEB793 /* PBXTextBookmark */ = C991CFA6126E4E7100DEB793 /* PBXTextBookmark */;
+ C991CFA7126E4E7100DEB793 /* PBXTextBookmark */ = C991CFA7126E4E7100DEB793 /* PBXTextBookmark */;
+ C991CFA8126E4E7100DEB793 /* PBXTextBookmark */ = C991CFA8126E4E7100DEB793 /* PBXTextBookmark */;
C9D501871239AC3200E365CE = C9D501871239AC3200E365CE /* PBXTextBookmark */;
C9D501881239AC3200E365CE = C9D501881239AC3200E365CE /* PBXTextBookmark */;
C9D5018C1239AC3200E365CE = C9D5018C1239AC3200E365CE /* PBXTextBookmark */;
@@ -819,17 +825,17 @@
};
C9692A3B1224D5D000CDC4FB /* HBResponder.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1146, 3679}}";
- sepNavSelRange = "{8928, 0}";
- sepNavVisRange = "{8419, 754}";
+ sepNavIntBoundsRect = "{{0, 0}, {1258, 3510}}";
+ sepNavSelRange = "{3216, 0}";
+ sepNavVisRange = "{2982, 657}";
sepNavWindowFrame = "{{61, 183}, {1011, 648}}";
};
};
C9692A521224E3BD00CDC4FB /* HBResponderDelegate.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {952, 546}}";
- sepNavSelRange = "{1442, 0}";
- sepNavVisRange = "{29, 1682}";
+ sepNavIntBoundsRect = "{{0, 0}, {929, 546}}";
+ sepNavSelRange = "{1328, 114}";
+ sepNavVisRange = "{722, 989}";
sepNavWindowFrame = "{{61, 183}, {1011, 648}}";
};
};
@@ -1232,16 +1238,16 @@
};
C991CF53126E47F900DEB793 /* HBCDemoController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {999, 676}}";
- sepNavSelRange = "{1406, 0}";
- sepNavVisRange = "{538, 875}";
+ sepNavIntBoundsRect = "{{0, 0}, {999, 715}}";
+ sepNavSelRange = "{945, 153}";
+ sepNavVisRange = "{578, 984}";
};
};
C991CF54126E47F900DEB793 /* HBCDemoController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {992, 1742}}";
- sepNavSelRange = "{2699, 0}";
- sepNavVisRange = "{2411, 847}";
+ sepNavIntBoundsRect = "{{0, 0}, {929, 1794}}";
+ sepNavSelRange = "{2469, 0}";
+ sepNavVisRange = "{2009, 753}";
};
};
C991CF61126E4C4500DEB793 /* PBXTextBookmark */ = {
@@ -1433,7 +1439,7 @@
fRef = C991CF53126E47F900DEB793 /* HBCDemoController.h */;
name = "HBCDemoController.h: 49";
rLen = 0;
- rLoc = 1406;
+ rLoc = 1561;
rType = 0;
vrLen = 875;
vrLoc = 538;
@@ -1443,7 +1449,7 @@
fRef = C991CF54126E47F900DEB793 /* HBCDemoController.m */;
name = "HBCDemoController.m: 106";
rLen = 0;
- rLoc = 2562;
+ rLoc = 2742;
rType = 0;
vrLen = 847;
vrLoc = 2411;
@@ -1584,6 +1590,66 @@
vrLen = 509;
vrLoc = 1922;
};
+ C991CFA3126E4E7100DEB793 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = C969297E1224C3B800CDC4FB /* HBDemoController.m */;
+ name = "HBDemoController.m: 15";
+ rLen = 4307;
+ rLoc = 231;
+ rType = 0;
+ vrLen = 543;
+ vrLoc = 26;
+ };
+ C991CFA4126E4E7100DEB793 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = C9692A3B1224D5D000CDC4FB /* HBResponder.m */;
+ name = "HBResponder.m: 109";
+ rLen = 0;
+ rLoc = 3216;
+ rType = 0;
+ vrLen = 657;
+ vrLoc = 2982;
+ };
+ C991CFA5126E4E7100DEB793 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = C9692A521224E3BD00CDC4FB /* HBResponderDelegate.h */;
+ name = "HBResponderDelegate.h: 34";
+ rLen = 114;
+ rLoc = 1328;
+ rType = 0;
+ vrLen = 989;
+ vrLoc = 722;
+ };
+ C991CFA6126E4E7100DEB793 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = C991CF53126E47F900DEB793 /* HBCDemoController.h */;
+ name = "HBCDemoController.h: 42";
+ rLen = 153;
+ rLoc = 945;
+ rType = 0;
+ vrLen = 984;
+ vrLoc = 578;
+ };
+ C991CFA7126E4E7100DEB793 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = C991CF54126E47F900DEB793 /* HBCDemoController.m */;
+ name = "HBCDemoController.m: 98";
+ rLen = 0;
+ rLoc = 2471;
+ rType = 0;
+ vrLen = 868;
+ vrLoc = 2009;
+ };
+ C991CFA8126E4E7100DEB793 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = C991CF54126E47F900DEB793 /* HBCDemoController.m */;
+ name = "HBCDemoController.m: 100";
+ rLen = 0;
+ rLoc = 2469;
+ rType = 0;
+ vrLen = 753;
+ vrLoc = 2009;
+ };
C9CBAEB5114F27FB0030D309 /* Blackbox Demo */ = {
isa = PBXExecutable;
activeArgIndices = (
View
16 English.lproj/MainMenuHBC.xib
@@ -12,8 +12,8 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="368"/>
<integer value="29"/>
+ <integer value="368"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -2452,6 +2452,14 @@
</object>
<int key="connectionID">848</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="1022527688"/>
+ <reference key="destination" ref="263679571"/>
+ </object>
+ <int key="connectionID">849</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -3946,8 +3954,6 @@
<string>834.IBPluginDependency</string>
<string>835.IBPluginDependency</string>
<string>836.IBPluginDependency</string>
- <string>837.IBPluginDependency</string>
- <string>838.IBPluginDependency</string>
<string>92.IBPluginDependency</string>
<string>92.ImportedFromIB2</string>
</object>
@@ -4193,8 +4199,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>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
</object>
</object>
@@ -4214,7 +4218,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">848</int>
+ <int key="maxID">849</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
View
3 HBCDemoController.h
@@ -39,6 +39,9 @@
- (IBAction)startStopServer:(id)sender;
- (IBAction)pushStringToSelectedChannel:(id)sender;
+// HaleBopp responder delegate methods
+- (BOOL)responder:(HBResponder *)responder allowConnectionToNonexistentChannelWithRequest:(BBRequest *)theRequest;
+
// Channel management methods
- (IBAction)addChannel:(id)sender;
- (IBAction)removeChannel:(id)sender;
View
6 HBCDemoController.m
@@ -94,6 +94,12 @@ - (IBAction)pushStringToSelectedChannel:(id)sender
}
}
+#pragma mark HaleBopp responder delegate methods
+- (BOOL)responder:(HBResponder *)responder allowConnectionToNonexistentChannelWithRequest:(BBRequest *)theRequest
+{
+ return NO;
+}
+
#pragma mark Channel management methods
- (IBAction)addChannel:(id)sender
{

0 comments on commit e8c883d

Please sign in to comment.
Something went wrong with that request. Please try again.