]> git.saurik.com Git - cydia.git/commitdiff
I hate subtle issues.
authorJay Freeman (saurik) <saurik@saurk.com>
Sat, 7 Mar 2009 10:45:24 +0000 (10:45 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:09:53 +0000 (07:09 +0000)
Cydia.mm
UICaboodle/BrowserView.m
control

index be055333c107c906995530fb7a21301512748baa..5e9d33a71d0768cfa527f4abb52bdacf930950a6 100644 (file)
--- 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)
index 08dd698b131b76f7ff789a9d496ca2104b07859a..0f95a049e2efe19be8d336b138a561d3b58cb9c4 100644 (file)
@@ -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";
     return value;
 }
 
+- (void) close {
+    [indirect_ close];
+}
+
 - (void) setAutoPopup:(BOOL)popup {
     [indirect_ setAutoPopup:popup];
 }
     [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 260451dd58aff9e4fbc947f789c99deab21e863e..2d9c962ce7fd770f0ce93c572d3045284ac9cebc 100644 (file)
--- 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