summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-03-07 10:45:24 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:53 +0000
commite590d1ff0e28b577012d6d98d9600d2f86a7459f (patch)
treed4b8b9cdb767175a625c6988bc798afedcbd4b0d
parent12b59862f7a47c1608644aa8d6e44a3bd0efdf61 (diff)
I hate subtle issues.
-rw-r--r--Cydia.mm4
-rw-r--r--UICaboodle/BrowserView.m12
-rw-r--r--control2
3 files changed, 14 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index be05533..5e9d33a 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -382,8 +382,8 @@ extern NSString * const kCAFilterNearest;
#define lprintf(args...) fprintf(stderr, args)
#define ForRelease 1
-#define ForSaurik (1 && !ForRelease)
-#define LogBrowser (0 && !ForRelease)
+#define ForSaurik (0 && !ForRelease)
+#define LogBrowser (1 && !ForRelease)
#define ManualRefresh (1 && !ForRelease)
#define ShowInternals (1 && !ForRelease)
#define IgnoreInstall (0 && !ForRelease)
diff --git a/UICaboodle/BrowserView.m b/UICaboodle/BrowserView.m
index 08dd698..0f95a04 100644
--- a/UICaboodle/BrowserView.m
+++ b/UICaboodle/BrowserView.m
@@ -71,7 +71,9 @@
}
+ (NSString *) webScriptNameForSelector:(SEL)selector {
- if (selector == @selector(getPackageById:))
+ if (selector == @selector(close))
+ return @"close";
+ else if (selector == @selector(getPackageById:))
return @"getPackageById";
else if (selector == @selector(setAutoPopup:))
return @"setAutoPopup";
@@ -161,6 +163,10 @@
return value;
}
+- (void) close {
+ [indirect_ close];
+}
+
- (void) setAutoPopup:(BOOL)popup {
[indirect_ setAutoPopup:popup];
}
@@ -517,6 +523,10 @@
[book_ close];
}
+- (void) close {
+ [book_ close];
+}
+
- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame {
[window setValue:cydia_ forKey:@"cydia"];
}
diff --git a/control b/control
index 260451d..2d9c962 100644
--- a/control
+++ b/control
@@ -4,7 +4,7 @@ Priority: required
Section: Packaging
Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
Architecture: iphoneos-arm
-Version: 1.0.2789-43
+Version: 1.0.2780-43
Replaces: com.sosiphone.addcydia
Depends: apt, darwintools, pcre, shell-cmds
Conflicts: com.sosiphone.addcydia