diff options
-rw-r--r-- | Cydia.app/Sources/modmyifone.com.png | bin | 3285 -> 5186 bytes | |||
-rw-r--r-- | Cydia.app/package.html | 2 | ||||
-rw-r--r-- | Cydia.app/package.js | 2 | ||||
-rw-r--r-- | Cydia.mm | 15 |
4 files changed, 11 insertions, 8 deletions
diff --git a/Cydia.app/Sources/modmyifone.com.png b/Cydia.app/Sources/modmyifone.com.png Binary files differindex a7ca470..18885ea 100644 --- a/Cydia.app/Sources/modmyifone.com.png +++ b/Cydia.app/Sources/modmyifone.com.png diff --git a/Cydia.app/package.html b/Cydia.app/package.html index a31d7db..5ea2f48 100644 --- a/Cydia.app/package.html +++ b/Cydia.app/package.html @@ -161,7 +161,7 @@ </div> </fieldset> -<label class="source">Source Infomation</label> +<label class="source">Source Information</label> <fieldset class="source"> <div><label id="source-name"></label></div> <div class="source-description" id="source-description"></div> diff --git a/Cydia.app/package.js b/Cydia.app/package.js index 0dfa6dc..6f9ccf1 100644 --- a/Cydia.app/package.js +++ b/Cydia.app/package.js @@ -39,7 +39,7 @@ $(function () { $("#author-href").href("mailto:" + author.address + "?subject=" + regarding); } - $("#notice-src").src("http://cydia.saurik.com/notice/" + encodeURIComponent(id) + ".html"); + $("#notice-src").src("http://apt.saurik.com/notice/" + encodeURIComponent(id) + ".html"); var depiction = package.depiction; if (depiction == null) @@ -149,6 +149,8 @@ extern "C" { #import "UICaboodle.h" /* }}} */ +static const NSStringCompareOptions CompareOptions_ = NSCaseInsensitiveSearch | NSNumericSearch | NSDiacriticInsensitiveSearch | NSWidthInsensitiveSearch | NSForcedOrderingSearch; + @interface WebView (Cydia) - (void) _setLayoutInterval:(float)interval; @end @@ -924,7 +926,7 @@ class Progress : return NSOrderedDescending; } - return [lhs caseInsensitiveCompare:rhs]; + return [lhs compare:rhs options:CompareOptions_]; } - (NSDictionary *) record { @@ -1473,7 +1475,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { NSRange range; - range = [[self id] rangeOfString:text options:NSCaseInsensitiveSearch]; + range = [[self id] rangeOfString:text options:NSCaseInsentiveSearch]; if (range.location != NSNotFound) return YES; @@ -1524,7 +1526,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { return NSOrderedDescending; } - return [lhs caseInsensitiveCompare:rhs]; + return [lhs compare:rhs options:CompareOptions_]; } - (NSComparisonResult) compareBySection:(Package *)package { @@ -1536,7 +1538,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { else if (lhs != NULL && rhs == NULL) return NSOrderedDescending; else if (lhs != NULL && rhs != NULL) { - NSComparisonResult result = [lhs caseInsensitiveCompare:rhs]; + NSComparisonResult result = [lhs compare:rhs options:CompareOptions_]; if (result != NSOrderedSame) return result; } @@ -1671,7 +1673,7 @@ NSString *Scour(const char *field, const char *begin, const char *end) { return NSOrderedDescending; } - return [lhs caseInsensitiveCompare:rhs]; + return [lhs compare:rhs options:CompareOptions_]; } - (Section *) initWithName:(NSString *)name { @@ -6085,7 +6087,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { readlink("/Library/Wallpaper", NULL, 0) == -1 && errno == EINVAL || readlink("/usr/include", NULL, 0) == -1 && errno == EINVAL || readlink("/usr/libexec", NULL, 0) == -1 && errno == EINVAL || - readlink("/usr/share", NULL, 0) == -1 && errno == EINVAL + readlink("/usr/share", NULL, 0) == -1 && errno == EINVAL /*|| + readlink("/var/lib", NULL, 0) == -1 && errno == EINVAL*/ ) { [self setIdleTimerDisabled:YES]; |