summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/cydia/encoding.diff15
-rw-r--r--data/cydia/nssize.diff13
-rw-r--r--data/cydia/zooms.diff12
3 files changed, 40 insertions, 0 deletions
diff --git a/data/cydia/encoding.diff b/data/cydia/encoding.diff
new file mode 100644
index 000000000..5b3b5cdf5
--- /dev/null
+++ b/data/cydia/encoding.diff
@@ -0,0 +1,15 @@
+diff -ru cydia-1.0.3032/cydia/Cydia.mm cydia-1.0.3032+iPhone/cydia/Cydia.mm
+--- cydia-1.0.3032/cydia/Cydia.mm 2009-09-09 22:03:03.000000000 +0000
++++ cydia-1.0.3032+iPhone/cydia/Cydia.mm 2009-09-10 03:46:28.000000000 +0000
+@@ -1932,6 +1932,11 @@
+ CYString &rhi(PackageName(rhs, @selector(cyname)));
+ CFStringRef lhn(lhi), rhn(rhi);
+
++ if (lhn == NULL)
++ return rhn == NULL ? NSOrderedSame : NSOrderedAscending;
++ else if (rhn == NULL)
++ return NSOrderedDescending;
++
+ _profile(PackageNameCompare$NumbersLast)
+ if (!lhi.empty() && !rhi.empty()) {
+ UniChar lhc(CFStringGetCharacterAtIndex(lhn, 0));
diff --git a/data/cydia/nssize.diff b/data/cydia/nssize.diff
new file mode 100644
index 000000000..4cda29cbd
--- /dev/null
+++ b/data/cydia/nssize.diff
@@ -0,0 +1,13 @@
+diff -ru cydia-1.0.3032/cydia/Cydia.mm cydia-1.0.3032+iPhone/cydia/Cydia.mm
+--- cydia-1.0.3032/uicaboodle.m/BrowserView.mm 2009-09-09 22:03:03.000000000 +0000
++++ cydia-1.0.3032+iPhone/uicaboodle.m/BrowserView.mm 2009-09-10 03:46:28.000000000 +0000
+@@ -309,8 +309,7 @@
+ subrect.size.height -= extra;
+ [scroller_ setScrollerIndicatorSubrect:subrect];
+
+- NSSize visible(NSMakeSize(subrect.size.width, subrect.size.height));
+- [webview_ setValue:[NSValue valueWithSize:visible] forGestureAttribute:UIGestureAttributeVisibleSize];
++ [webview_ setValue:[NSValue valueWithSize:NSMakeSize(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize];
+
+ CGSize size(size_);
+ size.height += extra;
diff --git a/data/cydia/zooms.diff b/data/cydia/zooms.diff
new file mode 100644
index 000000000..742603584
--- /dev/null
+++ b/data/cydia/zooms.diff
@@ -0,0 +1,12 @@
+diff -ru cydia-1.0.3032/cydia/Cydia.mm cydia-1.0.3032+iPhone/cydia/Cydia.mm
+--- cydia-1.0.3032/uicaboodle.m/BrowserView.mm 2009-09-09 22:03:03.000000000 +0000
++++ cydia-1.0.3032+iPhone/uicaboodle.m/BrowserView.mm 2009-09-10 03:46:28.000000000 +0000
+@@ -1208,7 +1207,7 @@
+
+ [webview_ _setDocumentType:0x4];
+
+- if ([webview_ respondsToSelector:@selector(UIWebDocumentView:)])
++ if ([webview_ respondsToSelector:@selector(setZoomsFocusedFormControl:)])
+ [webview_ setZoomsFocusedFormControl:YES];
+ [webview_ setContentsPosition:7];
+ [webview_ setEnabledGestures:0xa];