summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2010-04-08 19:14:45 +0000
committerJay Freeman <saurik@saurik.com>2010-04-08 19:14:45 +0000
commit0ad7afcea649b8dd91ea2939d24b5d64dfd8f3c6 (patch)
tree97c9ac2476c155e15bab552fd7da125469cde571
parentd887e6af6c6d687f7501e7349d957686b6260f1d (diff)
Checkpoint: random patches.
git-svn-id: http://svn.telesphoreo.org/trunk@713 514c082c-b64e-11dc-b46d-3d985efe055d
-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];