From dbe0f181b36d25deb786ba3c8a3b30c77c2cbbfc Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 14 Oct 2008 07:41:23 +0000 Subject: [PATCH] Checkpointing Cydia before Package Settings. --- Cydia.app/commercial.png | Bin 0 -> 2379 bytes Cydia.app/console.png | Bin 0 -> 1225 bytes Cydia.app/expanded.png | Bin 0 -> 6180 bytes Cydia.app/filesystem.png | Bin 0 -> 7852 bytes Cydia.app/package.html | 105 +++++++++++++++++++--- Cydia.app/package.js | 44 +++++++-- Cydia.app/settings.png | Bin 0 -> 2259 bytes Cydia.app/signature.html | 15 ++++ Cydia.app/web.png | Bin 0 -> 8234 bytes Cydia.mm | 186 +++++++++++++++++++++++++++++++++------ 10 files changed, 301 insertions(+), 49 deletions(-) create mode 100644 Cydia.app/commercial.png create mode 100644 Cydia.app/console.png create mode 100644 Cydia.app/expanded.png create mode 100644 Cydia.app/filesystem.png create mode 100644 Cydia.app/settings.png create mode 100644 Cydia.app/signature.html create mode 100644 Cydia.app/web.png diff --git a/Cydia.app/commercial.png b/Cydia.app/commercial.png new file mode 100644 index 0000000000000000000000000000000000000000..9c411ccf35417eb9d232292fc6aaafba0991c4d8 GIT binary patch literal 2379 zcmV-R3AFZ!P)QvRO`|Q4b-S%y_`!U^iJmX}>o_HoC&P0(y07VlZPenpJ#2O)ikb+nt zBqXw6%Lc(BAP|U=0tl30Mu{RaQ8FPUwx{ReZnr(YcDvi%eQ)2}^{zVSV{uzf7Fk3{ zXf_<_+n(>I|M#zdoll7f@8xmc)9(Kd0BC@xKk)RQeemklFW5_V>tf`!%E-6H+UtM!k6(TC(;9yE#V?#K zO?BBy^-B|Gh~udBSOG^lVU}hjQHJYi@@ztSJVbC& zj^A^%^9k2=KH<79uIr6I^@}gQ5go^`o66ix;>53o!D_SJe7@0WJlSm58;xdzX0w6s z`=AuoSO6+2%Dkjfh8pU}07plo@Y3ar{LU}`8XK>@OICjYFPvd=|2p|-n<9xRvH~0z zM|+(t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@!vmUg>EmS;>RW5!2g9^Btyd^ABssEna3GDJY+1fW%C zQh?S9C$I1WpN3d`pjGo}*F4TIpP@=8RK}pS=HOtcp1bmMY6>8NF^2RwN5mpPtI>u& z?C$OH>Z`ASf-)~i^At}{-7g}b6m?J2c3p6Uu%XG0hCH};hqH@|wCfGZDyHF|#%uI2 zmBCs|o~6N`|HW6D(-DZlSRqR?K=8FkQB5s9*X<$3G8`RFKRL%i;UHp=laaVtOgNr^ zHIzj`G@fwbiB%?(V=lb!0=^&MYLC~y`(Nzs?SVj=rf#n{-#SsiVvHe+bF2uir;(x{ z&kKyH@ci1eu~Mj$BoPq=i{pBDo=3acq!!kw)dKRY#8}JmIOgmB_6m3J++}BHm%W`` zjI}t9Ls6D&Zr*C0L@}TgX`G=>{#Jn>Ff4{x5y~zT zcb~yvhrOL$hQlFwQ6M6?u7@!tQ4(QAXmr|?;~_u%@9WbX*xBBroKz%nhQ$)cF>~E6 z+S5eGF-4xkNrWoY)PM-S?{nk&8~o{?e1#-Rs7iyQT^z?nL@2U?D2Ykpgd~Y6iX1DJ zJkJn>-Q9;hB_ed1bE0dC`Pl`=Men?uyVLkX5k8dX>HF%9 z`hqofW;~i;MX!H6zWLeD{pvp}5n*HFX7K3I!Q9Ty&eGkxch~RSxqJS>;K5VF;b`4j=^u}y zZklFZQRI|)L6)bKWl0z|sE2j(BB!hhtXQ<3z6D#YR(|SKZxn{%&Z+s{*7EAgt+ln) zt(BFP+x`CO!RgcegI=$ftDo2nos;rJY_Pw--@JEkFuS$2b!KyOb9sCF&f4JKVEy6F z?&`s#{j*V=bP@5DQaG-Y&vv`Rg@yjkxuwN-S65fI*UzutU0Yiltgf!^_51y!TCElV z8IS`dPytr`49lqlxW*WNZ*RA;b^CT_`%M=X94&>J@5H$_&@2<@v~evt|kBg002ovPDHLkV1mM^&guXF literal 0 HcmV?d00001 diff --git a/Cydia.app/console.png b/Cydia.app/console.png new file mode 100644 index 0000000000000000000000000000000000000000..08d186924b16be71ab62e9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zl_%8p2z!HXawwKJH}Xc}%|!cfL;vLuJKYvQ_HBBI`uq8@wY0R<6&Q=GAD>N<<8vK_ zl1;90XAdd>20i#2XmN=F$>GLfJg?o#lyw86Wc)^(h;k3+r09(bjQ7ZbK2S8{;j5wl zRPzlhPD5>OWeww?2%s(tLKm>|(_GZd8s_zlqBaH!AFdtupL54x6s)YQh9fjO_s%Yg zOG-)#t2U`nC|?|$Jzm6?%KF3oHlbtAJz1!uD?>ho2Iy%SBC8Nj GBL4?B1MIv2 literal 0 HcmV?d00001 diff --git a/Cydia.app/package.html b/Cydia.app/package.html index fbeb037b..ee8597da 100644 --- a/Cydia.app/package.html +++ b/Cydia.app/package.html @@ -71,26 +71,98 @@ #warnings > div > label { color: red; } + + #boundry { + float: left; + width: 60px; + } + + #icon { + height: 59px; + max-width: 60px; + width: auto; + } + + #reflection { + height: 59px; + max-width: 60px; + opacity: 0.4; + position: absolute; + -webkit-transform: matrix(1, 0, 0, -1, 0, 0); + width: auto; + } + + #id { + white-space: nowrap; + } + + #header { + background: transparent; + border: none; + } + + #header > div { + padding: 0; + margin-left: 2px; + } + + #content { + float: right; + margin: auto 0; + } + + #content > div { + margin: 8px; + } + + #name { + font-weight: bold; + } + + #latest { + color: #335588; + }
+
@@ -172,14 +248,21 @@ - + + +
+ + +
This package has been signed.
+
diff --git a/Cydia.app/package.js b/Cydia.app/package.js index c44e7dd3..e409aa98 100644 --- a/Cydia.app/package.js +++ b/Cydia.app/package.js @@ -30,9 +30,13 @@ $(function () { var regarding = encodeURIComponent("Cydia/APT: " + name); $("#icon").src("cydia://package-icon/" + idc); + $("#reflection").src("cydia://package-icon/" + idc); + $("#name").html(name); $("#latest").html(package.latest); + $("#settings").href("cydia://package-settings/" + idc); + var warnings = package.warnings; var length = warnings == null ? 0 : warnings.length; if (length == 0) @@ -51,12 +55,12 @@ $(function () { var applications = package.applications; var length = applications == null ? 0 : applications.length; - if (length == 0) - $(".applications").remove(); - else { + + var child = $("#application"); + child.remove(); + + /*if (length != 0) { var parent = $("#actions"); - var child = $("#application"); - child.remove(); for (var i = 0; i != length; ++i) { var application = applications[i]; @@ -65,9 +69,24 @@ $(function () { clone.href("cydia://launch/" + application[0]); clone.xpath("label").html("Run " + $.xml(application[1])); clone.xpath("img").src(application[2]); - console.log(0); } - } + }*/ + + var purposes = package.purposes; + var commercial = false; + var _console = false; + if (purposes != null) + for (var i = 0, e = purposes.length; i != e; ++i) { + var purpose = purposes[i]; + if (purpose == "commercial") + commercial = true; + else if (purpose == "console") + _console = true; + } + if (!commercial) + $(".commercial").remove(); + if (!_console) + $(".console").remove(); var author = package.author; if (author == null) @@ -111,7 +130,14 @@ $(function () { $("#files-href").href("cydia://files/" + idc); } - $("#id").html(id); + var nid = $("#id"); + nid.html(id); + var width = nid.width(); + + if (width > 240) { + var spacing = (240.0 - nid.width()) / (id.length - 1) + "px"; + nid.css("letter-spacing", spacing); + } var section = package.section; if (section == null) @@ -152,7 +178,7 @@ $(function () { $("#source-name").html(source.name); if (source.trusted) - /*$("#trusted").href("cydia:///" + idc)*/; + $("#trusted").href("cydia://package-signature/" + idc); else $(".trusted").remove(); diff --git a/Cydia.app/settings.png b/Cydia.app/settings.png new file mode 100644 index 0000000000000000000000000000000000000000..56a5bd7f90105eea278fd66c6e17f28067bd2b16 GIT binary patch literal 2259 zcmV;^2rT!BP);UPp?-l!PfEmkUOQ5j1*sH0UV6d#Q!6vR@IL28{+ z1X0AI8S#-o1Cof48eR!$LLO{@kj-u$o9rXIn|v5rJbeI+ueb(C2My+`GW`uAy>q--@cIaTG8RN zwstRVcKPU`>T?J89<4j%@rM*&UzA2-aa!N%^1XfF`1WR}r!^wPX-{8-KJ)sAZ+zc+ z{lyh8Bt=0)l(1pDu@bI2%&-`)3~hAxFl0aCX^6D1u;PbQGpUd=(q*T zAG=Y2Z&^@YeLmxrT?edb8Kd=aNz$b0v`9Ac2#X?I-Y`79Q8cu;;OO=vBnSu#aVUg< zC4iVvAjUhGU9VMsJ8bmwHGju0e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_dYdi9-#FAtP7jh-?s zr|9)nlhe%x)*Xmo`h8D6Wk2@8wr|St%J#~!>3Q>>e&xL~Z)JmB(hna0oF;wDQ^l2y z;o8t!k`GIFkj9F6(iYpr;y`dQW{a@cb2jD>f;{n_~ zbIIB-C0U^-8rziA;WOr5^-6Xr6hZ)%akR=fbRhs80Pgv%pPo6{?4*?qZ8U4j!Y2tK z0H@F6^h54W8##OSTlQ=;88YwGSZ;YNX~3w(;PeA8A9LHH!e)$DDWwirS zFMWSuTk-x5Zy!BU+d{j1VLE^5rX7sNl6FN7{7@MNj~{!yvb08sODdNqfcx^t;&_vz zZu^Jj`+hZZ;_dlAA3mqX=0KavE2?=l)~|i_VOQP$Pj4Ck%kqrII`V#i4tsjt%YV!p zo;7e}_8?eO3~&b`IBR#o(;JMfTDJ6=g#W@>fU6=zO7weD-G~TDPyiouT8rhL8RJ*z zwMnS4IdJY`r;?drVRJIAOm>Dv%ki2jLP*^=;5Q54k{E`gJNACwZqOvb8;rDVT=DQj zpBy||7LJN|ansH+G0^4x*7%!c!R2CEHr13pb#Xi#=n}lPk6E>G1e;{aCb8~ggplZu h4sav7=@#6m{s*q(z;}Tmu7Lmm002ovPDHLkV1gpVG(i9W literal 0 HcmV?d00001 diff --git a/Cydia.app/signature.html b/Cydia.app/signature.html new file mode 100644 index 00000000..0e3a811e --- /dev/null +++ b/Cydia.app/signature.html @@ -0,0 +1,15 @@ + + + Signature + + + + + +
+
+
+ +
+
+
diff --git a/Cydia.app/web.png b/Cydia.app/web.png new file mode 100644 index 0000000000000000000000000000000000000000..a4f04e3210ee19603c5a57ebbd02b309da0f452d GIT binary patch literal 8234 zcmV+_Al2WAP)Hd;`<~^u-F=oj<1MJ<_Y+ zz2~0a)%$#(@3X$o5mn{uecg4c<%j;qSxAwX6jj~pLcHn7ihbF|adrJ<-dvTU+oLfI zH7Uc=_{OEJChB>gf(wCJRg+so?L3#pb0$q>mI`9N1m)7BX!u=R```5c{P_8=*Pg#F03=2J z^wIb|@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oU&Tpb> cU(nwFFX;DpL7z!_3IG5A07*qoM6N<$f^=lkzyJUM literal 0 HcmV?d00001 diff --git a/Cydia.mm b/Cydia.mm index aa809a7d..52b7fc90 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -758,6 +758,8 @@ class Progress : FILE *input_; } ++ (Database *) sharedInstance; + - (void) _readCydia:(NSNumber *)fd; - (void) _readStatus:(NSNumber *)fd; - (void) _readOutput:(NSNumber *)fd; @@ -766,7 +768,6 @@ class Progress : - (Package *) packageWithName:(NSString *)name; -- (Database *) init; - (pkgCacheFile &) cache; - (pkgDepCache::Policy *) policy; - (pkgRecords *) records; @@ -1105,7 +1106,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { - (NSString *) id; - (NSString *) name; - (NSString *) tagline; -- (NSString *) icon; +- (UIImage *) icon; - (NSString *) homepage; - (NSString *) depiction; - (Address *) author; @@ -1123,6 +1124,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { - (bool) hasSupportingRole; - (BOOL) hasTag:(NSString *)tag; - (NSString *) primaryPurpose; +- (NSArray *) purposes; - (NSComparisonResult) compareByName:(Package *)package; - (NSComparisonResult) compareBySection:(Package *)package; @@ -1175,7 +1177,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { } + (NSArray *) _attributeKeys { - return [NSArray arrayWithObjects:@"applications", @"author", @"depiction", @"description", @"essential", @"homepage", @"icon", @"id", @"installed", @"latest", @"maintainer", @"name", @"section", @"size", @"source", @"sponsor", @"tagline", @"warnings", nil]; + return [NSArray arrayWithObjects:@"applications", @"author", @"depiction", @"description", @"essential", @"homepage", @"icon", @"id", @"installed", @"latest", @"maintainer", @"name", @"purposes", @"section", @"size", @"source", @"sponsor", @"tagline", @"warnings", nil]; } - (NSArray *) attributeKeys { @@ -1433,8 +1435,21 @@ NSString *Scour(const char *field, const char *begin, const char *end) { return tagline_; } -- (NSString *) icon { - return icon_; +- (UIImage *) icon { + NSString *section = [self section]; + if (section != nil) + section = Simplify(section); + + UIImage *icon(nil); + if (NSString *icon = icon_) + icon = [UIImage imageAtPath:[icon_ substringFromIndex:6]]; + if (icon == nil) if (section != nil) + icon = [UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, section]]; + if (icon == nil) if (source_ != nil) if (NSString *icon = [source_ defaultIcon]) + icon = [UIImage imageAtPath:[icon substringFromIndex:6]]; + if (icon == nil) + icon = [UIImage applicationImageNamed:@"unknown.png"]; + return icon; } - (NSString *) homepage { @@ -1605,6 +1620,14 @@ NSString *Scour(const char *field, const char *begin, const char *end) { return nil; } +- (NSArray *) purposes { + NSMutableArray *purposes([NSMutableArray arrayWithCapacity:2]); + for (NSString *tag in tags_) + if ([tag hasPrefix:@"purpose::"]) + [purposes addObject:[tag substringFromIndex:9]]; + return [purposes count] == 0 ? nil : purposes; +} + - (NSComparisonResult) compareByName:(Package *)package { NSString *lhs = [self name]; NSString *rhs = [package name]; @@ -1805,6 +1828,13 @@ static NSArray *Finishes_; /* Database Implementation {{{ */ @implementation Database ++ (Database *) sharedInstance { + static Database *instance; + if (instance == nil) + instance = [[Database alloc] init]; + return instance; +} + - (void) dealloc { _assert(false); [super dealloc]; @@ -2352,8 +2382,6 @@ static NSArray *Finishes_; [super dealloc]; } -#include "internals.h" - - (void) mailComposeControllerWillAttemptToSend:(MailComposeController *)controller { NSLog(@"will"); } @@ -2425,6 +2453,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { @end @interface ConfirmationView : BrowserView { + _transient Database *database_; UIActionSheet *essential_; NSArray *changes_; NSArray *issues_; @@ -2483,7 +2512,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (id) initWithBook:(RVBook *)book database:(Database *)database { - if ((self = [super initWithBook:book database:database]) != nil) { + if ((self = [super initWithBook:book]) != nil) { + database_ = database; + NSMutableArray *installing = [NSMutableArray arrayWithCapacity:16]; NSMutableArray *reinstalling = [NSMutableArray arrayWithCapacity:16]; NSMutableArray *upgrading = [NSMutableArray arrayWithCapacity:16]; @@ -3196,17 +3227,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if (section != nil) section = Simplify(section); - icon_ = nil; - if (NSString *icon = [package icon]) - icon_ = [UIImage imageAtPath:[icon substringFromIndex:6]]; - if (icon_ == nil) if (section != nil) - icon_ = [UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, section]]; - if (icon_ == nil) if (NSString *icon = [source defaultIcon]) - icon_ = [UIImage imageAtPath:[icon substringFromIndex:6]]; - if (icon_ == nil) - icon_ = [UIImage applicationImageNamed:@"unknown.png"]; - - icon_ = [icon_ retain]; + icon_ = [[package icon] retain]; name_ = [[package name] retain]; description_ = [[package tagline] retain]; @@ -3549,6 +3570,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { /* }}} */ /* Package View {{{ */ @interface PackageView : BrowserView { + _transient Database *database_; Package *package_; NSString *name_; NSMutableArray *buttons_; @@ -3639,7 +3661,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (id) initWithBook:(RVBook *)book database:(Database *)database { - if ((self = [super initWithBook:book database:database]) != nil) { + if ((self = [super initWithBook:book]) != nil) { database_ = database; buttons_ = [[NSMutableArray alloc] initWithCapacity:4]; } return self; @@ -4616,9 +4638,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if ([href hasPrefix:@"apptapp://package/"]) page = [delegate_ pageForPackage:[href substringFromIndex:18]]; - else if ([scheme isEqualToString:@"cydia"]) + else if ([scheme isEqualToString:@"cydia"]) { page = [delegate_ pageForURL:url hasTag:NULL]; - else if (![scheme isEqualToString:@"apptapp"]) + if (page == nil) + return false; + } else if (![scheme isEqualToString:@"apptapp"]) return false; if (page != nil) @@ -4720,7 +4744,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (WebView *) _createWebViewWithRequest:(NSURLRequest *)request pushed:(BOOL)pushed { [self setBackButtonTitle:title_]; - BrowserView *browser = [[[BrowserView alloc] initWithBook:book_ database:database_] autorelease]; + BrowserView *browser = [[[BrowserView alloc] initWithBook:book_] autorelease]; [browser setDelegate:delegate_]; if (pushed) { @@ -4825,9 +4849,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { #endif } -- (id) initWithBook:(RVBook *)book database:(Database *)database { +- (id) initWithBook:(RVBook *)book { if ((self = [super initWithBook:book]) != nil) { - database_ = database; loading_ = false; struct CGRect bounds = [self bounds]; @@ -4905,7 +4928,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { indicator_ = [[UIProgressIndicator alloc] initWithFrame:CGRectMake(281, 12, indsize.width, indsize.height)]; [indicator_ setStyle:UIProgressIndicatorStyleMediumWhite]; - Package *package([database_ packageWithName:@"cydia"]); + Package *package([[Database sharedInstance] packageWithName:@"cydia"]); NSString *application = package == nil ? @"Cydia" : [NSString stringWithFormat:@"Cydia/%@", [package installed] @@ -5899,6 +5922,108 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { @end +@interface CydiaURLProtocol : NSURLProtocol { +} + +@end + +@implementation CydiaURLProtocol + ++ (BOOL) canInitWithRequest:(NSURLRequest *)request { + NSURL *url([request URL]); + if (url == nil) + return NO; + NSString *scheme([[url scheme] lowercaseString]); + if (scheme == nil || ![scheme isEqualToString:@"cydia"]) + return NO; + return YES; +} + ++ (NSURLRequest *) canonicalRequestForRequest:(NSURLRequest *)request { + return request; +} + +- (void) startLoading { + id client([self client]); + NSURLRequest *request([self request]); + + NSURL *url([request URL]); + NSString *href([url absoluteString]); + + NSString *path([href substringFromIndex:8]); + NSRange slash([path rangeOfString:@"/"]); + + NSString *command; + if (slash.location == NSNotFound) { + command = path; + path = nil; + } else { + command = [path substringToIndex:slash.location]; + path = [path substringFromIndex:(slash.location + 1)]; + } + + Database *database([Database sharedInstance]); + + if ([command isEqualToString:@"package-icon"]) { + if (path == nil) + goto fail; + Package *package([database packageWithName:path]); + if (package == nil) + goto fail; + + NSURLResponse *response([[[NSURLResponse alloc] initWithURL:[request URL] MIMEType:@"image/png" expectedContentLength:-1 textEncodingName:nil] autorelease]); + + UIImage *icon([package icon]); + NSData *data(UIImagePNGRepresentation(icon)); + + [client URLProtocol:self didReceiveResponse:response cacheStoragePolicy:NSURLCacheStorageNotAllowed]; + [client URLProtocol:self didLoadData:data]; + [client URLProtocolDidFinishLoading:self]; + } else fail: { + [client URLProtocol:self didFailWithError:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorResourceUnavailable userInfo:nil]]; + } +} + +- (void) stopLoading { +} + +@end + +@interface SignatureView : BrowserView { + _transient Database *database_; + NSString *package_; +} + +- (id) initWithBook:(RVBook *)book database:(Database *)database package:(NSString *)package; + +@end + +@implementation SignatureView + +- (void) dealloc { + [package_ release]; + [super dealloc]; +} + +- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame { + // XXX: dude! + [super webView:sender didClearWindowObject:window forFrame:frame]; +} + +- (id) initWithBook:(RVBook *)book database:(Database *)database package:(NSString *)package { + if ((self = [super initWithBook:book]) != nil) { + database_ = database; + package_ = [package retain]; + [self reloadData]; + } return self; +} + +- (void) reloadData { + [self loadURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"signature" ofType:@"html"]]]; +} + +@end + @interface Cydia : UIApplication < ConfirmationViewDelegate, ProgressViewDelegate, @@ -6186,7 +6311,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (RVPage *) _pageForURL:(NSURL *)url withClass:(Class)_class { - BrowserView *browser = [[[_class alloc] initWithBook:book_ database:database_] autorelease]; + BrowserView *browser = [[[_class alloc] initWithBook:book_] autorelease]; [browser loadURL:url]; return browser; } @@ -6531,6 +6656,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { return [self _pageForURL:[NSURL URLWithString:[href substringFromIndex:12]] withClass:[BrowserView class]]; else if ([href hasPrefix:@"cydia://launch/"]) [self launchApplicationWithIdentifier:[href substringFromIndex:15] suspended:NO]; + else if ([href hasPrefix:@"cydia://package-signature/"]) + return [[[SignatureView alloc] initWithBook:book_ database:database_ package:[href substringFromIndex:26]] autorelease]; else if ([href hasPrefix:@"cydia://package/"]) return [self pageForPackage:[href substringFromIndex:16]]; else if ([href hasPrefix:@"cydia://files/"]) { @@ -6571,6 +6698,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { essential_ = [[NSMutableArray alloc] initWithCapacity:4]; broken_ = [[NSMutableArray alloc] initWithCapacity:4]; + [NSURLProtocol registerClass:[CydiaURLProtocol class]]; + CGRect screenrect = [UIHardware fullScreenApplicationContentRect]; window_ = [[UIWindow alloc] initWithContentRect:screenrect]; @@ -6578,7 +6707,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [window_ makeKey:self]; [window_ setHidden:NO]; - database_ = [[Database alloc] init]; + database_ = [Database sharedInstance]; progress_ = [[ProgressView alloc] initWithFrame:[window_ bounds] database:database_ delegate:self]; [database_ setDelegate:progress_]; [window_ setContentView:progress_]; @@ -6621,7 +6750,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } + (BOOL) isSelectorExcludedFromWebScript:(SEL)selector { - NSLog(@"exc:%s", sel_getName(selector)); return selector != @selector(supports:); } -- 2.45.2