Skip to content

Commit

Permalink
elif fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parmanoir committed Aug 19, 2009
1 parent e9bcd97 commit eccf37f
Show file tree
Hide file tree
Showing 7 changed files with 407 additions and 10,992 deletions.
2 changes: 1 addition & 1 deletion JSCocoa/JSCocoaController.m
Expand Up @@ -1137,7 +1137,7 @@ + (BOOL)addMethod:(NSString*)methodName class:(Class)class jsFunction:(JSValueRe
[jsFunctionClasses setObject:class forKey:keyForFunction];

return YES;
#elif
#else
if (!encoding) return NSLog(@"addMethod called with null encoding"), NO;

SEL selector = NSSelectorFromString(methodName);
Expand Down
8 changes: 1 addition & 7 deletions JSCocoa/iPhone/BurksPool.m
Expand Up @@ -24,7 +24,7 @@ @implementation BurksPool


//
// Instance methods : use their implementation as callbacks for new methods
// Instance methods : JSCocoaController's addMethod uses their implementation as callbacks for new methods
//
- (id)id_
{
Expand Down Expand Up @@ -73,12 +73,6 @@ - (void)drawRect:(CGRect)p1
{
[BurksPool callSelector:_cmd ofInstance:self writeContext:NULL withArguments:&p1, NULL];
}
/*
2009-08-19 19:06:01.819 iPhoneTest2[38357:20b] No encoding found when adding iPhoneTest2ViewController.tableView:numberOfRowsInSection:(i@:@i)
2009-08-19 19:06:01.820 iPhoneTest2[38357:20b] No encoding found when adding iPhoneTest2ViewController.tableView:cellForRowAtIndexPath:(@@:@@)
2009-08-19 19:06:01.833 iPhoneTest2[38357:20b] No encoding found when adding PolygonView.drawRect:(v24@0:4{CGRect={CGPoint=ff}{CGSize=ff}}8)
*/



Expand Down
50 changes: 26 additions & 24 deletions TestsRunner/TestsRunner.xcodeproj/mini.mode2v3
Expand Up @@ -216,10 +216,10 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>3DED28281037AF770093C660</string>
<string>3DA4A961103C73780062930D</string>
<key>history</key>
<array>
<string>3DED281E1037AF6E0093C660</string>
<string>3DED28281037AF770093C660</string>
</array>
</dict>
<key>SplitCount</key>
Expand Down Expand Up @@ -256,10 +256,10 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>3DED282A1037AF770093C660</string>
<string>3DA4A962103C73780062930D</string>
<key>history</key>
<array>
<string>3DED27BF1037ACE60093C660</string>
<string>3DED282A1037AF770093C660</string>
</array>
</dict>
<key>SplitCount</key>
Expand Down Expand Up @@ -296,10 +296,10 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>3DED282B1037AF770093C660</string>
<string>3DA4A963103C73780062930D</string>
<key>history</key>
<array>
<string>3DED27C01037ACE60093C660</string>
<string>3DED282B1037AF770093C660</string>
</array>
</dict>
<key>SplitCount</key>
Expand Down Expand Up @@ -336,10 +336,10 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>3DED282C1037AF770093C660</string>
<string>3DA4A964103C73780062930D</string>
<key>history</key>
<array>
<string>3DED27C11037ACE60093C660</string>
<string>3DED282C1037AF770093C660</string>
</array>
</dict>
<key>SplitCount</key>
Expand Down Expand Up @@ -466,7 +466,7 @@
<real>43</real>
</array>
<key>RubberWindowFrame</key>
<string>1171 758 350 420 0 0 1920 1178 </string>
<string>1574 758 350 420 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
Expand Down Expand Up @@ -606,8 +606,8 @@
</array>
<key>TableOfContents</key>
<array>
<string>3DED27EE1037AE3C0093C660</string>
<string>3DED27EF1037AE3C0093C660</string>
<string>3DA4A951103C73600062930D</string>
<string>3DA4A952103C73600062930D</string>
<string>1C9437FD063B20B00039CFAC</string>
<string>1C9437FE063B20B00039CFAC</string>
<string>1C9437FF063B20B00039CFAC</string>
Expand Down Expand Up @@ -640,17 +640,17 @@
<integer>0</integer>
<key>WindowOrderList</key>
<array>
<string>1C530D52069F1CE1000CFCEE</string>
<string>3D266D41102E49D200D74D1F</string>
<string>3DDEAF621031CBD30077CB20</string>
<string>3DDEAFF41031D2B60077CB20</string>
<string>1C530D54069F1CE1000CFCEE</string>
<string>3DED27B11037ACDD0093C660</string>
<string>1C530D5B069F1CE1000CFCEE</string>
<string>/Users/mini/Software Inexdo/JSCocoa/TestsRunner/TestsRunner.xcodeproj</string>
<string>1C530D52069F1CE1000CFCEE</string>
<string>1C530D5B069F1CE1000CFCEE</string>
</array>
<key>WindowString</key>
<string>1171 758 350 420 0 0 1920 1178 </string>
<string>1574 758 350 420 0 0 1920 1178 </string>
<key>WindowToolsV3</key>
<array>
<dict>
Expand Down Expand Up @@ -803,12 +803,14 @@
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CD0528F0623707200166675</string>
<key>PBXProjectModuleLabel</key>
<string></string>
<string>JSCocoaController.m</string>
<key>StatusBarVisibility</key>
<true/>
</dict>
Expand Down Expand Up @@ -864,7 +866,7 @@
<key>TableOfContents</key>
<array>
<string>1C530D52069F1CE1000CFCEE</string>
<string>3DED280E1037AEC60093C660</string>
<string>3DA4A957103C73600062930D</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
Expand All @@ -875,7 +877,7 @@
<key>WindowToolGUID</key>
<string>1C530D52069F1CE1000CFCEE</string>
<key>WindowToolIsVisible</key>
<false/>
<true/>
</dict>
<dict>
<key>FirstTimeWindowDisplayed</key>
Expand Down Expand Up @@ -984,13 +986,13 @@
<key>TableOfContents</key>
<array>
<string>1C530D54069F1CE1000CFCEE</string>
<string>3DED27F41037AE3C0093C660</string>
<string>3DA4A958103C73600062930D</string>
<string>1C162984064C10D400B95A72</string>
<string>3DED27F51037AE3C0093C660</string>
<string>3DED27F61037AE3C0093C660</string>
<string>3DED27F71037AE3C0093C660</string>
<string>3DED27F81037AE3C0093C660</string>
<string>3DED27F91037AE3C0093C660</string>
<string>3DA4A959103C73600062930D</string>
<string>3DA4A95A103C73600062930D</string>
<string>3DA4A95B103C73600062930D</string>
<string>3DA4A95C103C73600062930D</string>
<string>3DA4A95D103C73600062930D</string>
</array>
<key>ToolbarConfiguration</key>
<string>xcode.toolbar.config.debugV3</string>
Expand Down Expand Up @@ -1146,7 +1148,7 @@
<key>TableOfContents</key>
<array>
<string>1C530D5B069F1CE1000CFCEE</string>
<string>3DED280F1037AEC60093C660</string>
<string>3DA4A95E103C73600062930D</string>
<string>1C78EAAC065D492600B07095</string>
</array>
<key>ToolbarConfiguration</key>
Expand Down
127 changes: 105 additions & 22 deletions TestsRunner/TestsRunner.xcodeproj/mini.pbxuser
Expand Up @@ -63,18 +63,26 @@
PBXFileDataSource_Target_ColumnID,
);
};
PBXPerProjectTemplateStateSaveDate = 272084492;
PBXWorkspaceStateSaveDate = 272084492;
PBXPerProjectTemplateStateSaveDate = 272397123;
PBXWorkspaceStateSaveDate = 272397123;
};
perUserProjectItems = {
3DED27BF1037ACE60093C660 /* PBXTextBookmark */ = 3DED27BF1037ACE60093C660 /* PBXTextBookmark */;
3DED27C01037ACE60093C660 /* PBXTextBookmark */ = 3DED27C01037ACE60093C660 /* PBXTextBookmark */;
3DED27C11037ACE60093C660 /* PBXTextBookmark */ = 3DED27C11037ACE60093C660 /* PBXTextBookmark */;
3DED281E1037AF6E0093C660 /* PBXTextBookmark */ = 3DED281E1037AF6E0093C660 /* PBXTextBookmark */;
3DED28281037AF770093C660 /* PBXTextBookmark */ = 3DED28281037AF770093C660 /* PBXTextBookmark */;
3DED282A1037AF770093C660 /* PBXTextBookmark */ = 3DED282A1037AF770093C660 /* PBXTextBookmark */;
3DED282B1037AF770093C660 /* PBXTextBookmark */ = 3DED282B1037AF770093C660 /* PBXTextBookmark */;
3DED282C1037AF770093C660 /* PBXTextBookmark */ = 3DED282C1037AF770093C660 /* PBXTextBookmark */;
3DA4A953103C73600062930D /* PBXTextBookmark */ = 3DA4A953103C73600062930D /* PBXTextBookmark */;
3DA4A954103C73600062930D /* PBXTextBookmark */ = 3DA4A954103C73600062930D /* PBXTextBookmark */;
3DA4A955103C73600062930D /* PBXTextBookmark */ = 3DA4A955103C73600062930D /* PBXTextBookmark */;
3DA4A956103C73600062930D /* PBXTextBookmark */ = 3DA4A956103C73600062930D /* PBXTextBookmark */;
3DA4A961103C73780062930D /* PBXTextBookmark */ = 3DA4A961103C73780062930D /* PBXTextBookmark */;
3DA4A962103C73780062930D /* PBXTextBookmark */ = 3DA4A962103C73780062930D /* PBXTextBookmark */;
3DA4A963103C73780062930D /* PBXTextBookmark */ = 3DA4A963103C73780062930D /* PBXTextBookmark */;
3DA4A964103C73780062930D /* PBXTextBookmark */ = 3DA4A964103C73780062930D /* PBXTextBookmark */;
3DED27BF1037ACE60093C660 = 3DED27BF1037ACE60093C660 /* PBXTextBookmark */;
3DED27C01037ACE60093C660 = 3DED27C01037ACE60093C660 /* PBXTextBookmark */;
3DED27C11037ACE60093C660 = 3DED27C11037ACE60093C660 /* PBXTextBookmark */;
3DED281E1037AF6E0093C660 = 3DED281E1037AF6E0093C660 /* PBXTextBookmark */;
3DED28281037AF770093C660 = 3DED28281037AF770093C660 /* PBXTextBookmark */;
3DED282A1037AF770093C660 = 3DED282A1037AF770093C660 /* PBXTextBookmark */;
3DED282B1037AF770093C660 = 3DED282B1037AF770093C660 /* PBXTextBookmark */;
3DED282C1037AF770093C660 = 3DED282C1037AF770093C660 /* PBXTextBookmark */;
};
sourceControlManager = 3D89158A0EA8F4BA00BE4E70 /* Source Control */;
userBuildSettings = {
Expand Down Expand Up @@ -177,6 +185,86 @@
sepNavWindowFrame = "{{313, 97}, {1325, 863}}";
};
};
3DA4A953103C73600062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DED27BE1037ACE60093C660 /* 32 new class syntax.js */;
name = "32 new class syntax.js: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 1376;
vrLoc = 0;
};
3DA4A954103C73600062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DB065A80F28D7A60043C238 /* JSCocoaController.m */;
name = "JSCocoaController.m: 1662";
rLen = 0;
rLoc = 56941;
rType = 0;
vrLen = 2594;
vrLoc = 55024;
};
3DA4A955103C73600062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DB065A40F28D7A60043C238 /* class.js */;
name = "class.js: 251";
rLen = 4;
rLoc = 7195;
rType = 0;
vrLen = 2495;
vrLoc = 6058;
};
3DA4A956103C73600062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DED27C21037ACE60093C660 /* 36 safe dealloc.js */;
name = "36 safe dealloc.js: 80";
rLen = 50;
rLoc = 1456;
rType = 0;
vrLen = 2009;
vrLoc = 692;
};
3DA4A961103C73780062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DED27BE1037ACE60093C660 /* 32 new class syntax.js */;
name = "32 new class syntax.js: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 1351;
vrLoc = 0;
};
3DA4A962103C73780062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DB065A80F28D7A60043C238 /* JSCocoaController.m */;
name = "JSCocoaController.m: 1662";
rLen = 0;
rLoc = 56941;
rType = 0;
vrLen = 2583;
vrLoc = 55024;
};
3DA4A963103C73780062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DB065A40F28D7A60043C238 /* class.js */;
name = "class.js: 251";
rLen = 4;
rLoc = 7195;
rType = 0;
vrLen = 2429;
vrLoc = 6058;
};
3DA4A964103C73780062930D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 3DED27C21037ACE60093C660 /* 36 safe dealloc.js */;
name = "36 safe dealloc.js: 80";
rLen = 50;
rLoc = 1456;
rType = 0;
vrLen = 1974;
vrLoc = 692;
};
3DB065A30F28D7A60043C238 /* BridgeSupportController.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {907, 2068}}";
Expand All @@ -187,9 +275,9 @@
};
3DB065A40F28D7A60043C238 /* class.js */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1009, 8371}}";
sepNavIntBoundsRect = "{{0, 0}, {1009, 8360}}";
sepNavSelRange = "{7195, 4}";
sepNavVisRange = "{6058, 2495}";
sepNavVisRange = "{6058, 2429}";
sepNavWindowFrame = "{{669, 59}, {1068, 890}}";
};
};
Expand All @@ -211,9 +299,9 @@
};
3DB065A80F28D7A60043C238 /* JSCocoaController.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1224, 46354}}";
sepNavIntBoundsRect = "{{0, 0}, {1224, 47168}}";
sepNavSelRange = "{56941, 0}";
sepNavVisRange = "{55265, 2199}";
sepNavVisRange = "{55024, 2583}";
sepNavWindowFrame = "{{122, 100}, {1283, 915}}";
};
};
Expand Down Expand Up @@ -341,8 +429,7 @@
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {904, 1287}}";
sepNavSelRange = "{1456, 50}";
sepNavVisRange = "{692, 2009}";
sepNavWindowFrame = "{{809, 56}, {963, 1007}}";
sepNavVisRange = "{692, 1974}";
};
};
3DED281E1037AF6E0093C660 /* PBXTextBookmark */ = {
Expand All @@ -367,15 +454,10 @@
};
3DED28291037AF770093C660 /* 32 new class syntax.js */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.javascript;
name = "32 new class syntax.js";
path = "/Users/mini/Software Inexdo/JSCocoa/Tests/32 new class syntax.js";
sourceTree = "<absolute>";
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {904, 1815}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 1376}";
sepNavWindowFrame = "{{107, 82}, {963, 1007}}";
};
};
3DED282A1037AF770093C660 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
Expand Down Expand Up @@ -409,6 +491,7 @@
};
3DED282D1037AF770093C660 /* 36 safe dealloc.js */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.javascript;
name = "36 safe dealloc.js";
path = "/Users/mini/Software Inexdo/JSCocoa/Tests/36 safe dealloc.js";
sourceTree = "<absolute>";
Expand Down

0 comments on commit eccf37f

Please sign in to comment.