]> git.saurik.com Git - cydget.git/commitdiff
Fixed a silly (but unfortunately non-fatal) error in the keyboard handling.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 5 Jan 2010 09:07:53 +0000 (09:07 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 5 Jan 2010 09:07:53 +0000 (09:07 +0000)
LockScreen.mm
control

index fc8cc25ace5ff141e1a655613ea68720395827c1..b3509357b86375545ef2be14fd2a85a251e8c99b 100644 (file)
@@ -311,6 +311,8 @@ class Pcre {
     NSMutableSet *loading_;
     bool error_;
     bool reloading_;
+
+    //UIKeyboard *keyboard_;
 }
 
 @end
@@ -357,6 +359,8 @@ class Pcre {
     if (confirm_ != nil)
         [confirm_ release];
 
+    //[keyboard_ release];
+
     [scroller_ release];
     [indicator_ release];
     [loading_ release];
@@ -557,6 +561,16 @@ class Pcre {
 
         NSString *homepage([configuration objectForKey:@"Homepage"]);
         [self loadURL:[NSURL URLWithString:homepage]];
+
+        /*[UIKeyboard initImplementationNow];
+        CGSize keysize = [UIKeyboard defaultSize];
+        CGRect keyrect = {{0, [self bounds].size.height - 100}, keysize};
+        keyboard_ = [[UIKeyboard alloc] initWithFrame:keyrect];
+        [self addSubview:keyboard_];
+
+        [self addSubview:[[UITextView alloc] initWithFrame:CGRectMake(200, 0, 100, 100)]];
+        [self addSubview:[[UITextView alloc] initWithFrame:CGRectMake(200, 150, 100, 100)]];
+        [self addSubview:[[UITextView alloc] initWithFrame:CGRectMake(200, 300, 100, 100)]];*/
     } return self;
 }
 
@@ -644,6 +658,13 @@ class Pcre {
     [self view:sender didSetFrame:frame];
 }
 
+- (void) formAssistant:(id)sender didBeginEditingFormNode:(id)node {
+}
+
+- (void) formAssistant:(id)sender didEndEditingFormNode:(id)node {
+    [self fixScroller];
+}
+
 - (void) webView:(WebView *)sender willBeginEditingFormElement:(id)element {
     editing_ = true;
 }
diff --git a/control b/control
index e0deae1d0fa1c37239dc9ffe9aa619aa2f7c9704..dc4a9f430c22d1925111fca2b89614a022049ef5 100644 (file)
--- a/control
+++ b/control
@@ -3,7 +3,7 @@ Priority: optional
 Section: Development
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 Architecture: iphoneos-arm
-Version: 0.9.3105-1
+Version: 0.9.3106-1
 Description: framework for managing lock screen plugins
 Name: Cydget
 Depends: mobilesubstrate (>= 0.9.2587-1), firmware (>= 2.2), preferenceloader, apr-lib, pcre, cycript (>= 0.9.292-1)