[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:21:41 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 2606124726112872c9af39d2e508bc71d48c0a6d
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Jan 10 20:10:03 2004 +0000

            Reviewed by John.
    
            - fixed 3525468: REGRESSION (114-115): HOMEPAGE: after hitting textarea limit, backspace key is ignored
    
            * kwq/KWQEvent.mm:
            (keyIdentifierForKeyEvent): Treat 7F as 08; matches other browsers.
            (QKeyEvent::QKeyEvent): Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5885 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index cd404de..d683945 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2004-01-10  Darin Adler  <darin at apple.com>
+
+        Reviewed by John.
+
+        - fixed 3525468: REGRESSION (114-115): HOMEPAGE: after hitting textarea limit, backspace key is ignored
+
+        * kwq/KWQEvent.mm:
+        (keyIdentifierForKeyEvent): Treat 7F as 08; matches other browsers.
+        (QKeyEvent::QKeyEvent): Ditto.
+
 2004-01-09  David Hyatt  <hyatt at apple.com>
 
 	Fixes for 3510669 and 3515442, blank frame problems caused by WebKit's use of a separate needsLayout boolean.
diff --git a/WebCore/kwq/KWQEvent.mm b/WebCore/kwq/KWQEvent.mm
index df568a4..46526a7 100644
--- a/WebCore/kwq/KWQEvent.mm
+++ b/WebCore/kwq/KWQEvent.mm
@@ -259,6 +259,10 @@ static QString keyIdentifierForKeyEvent(NSEvent *event)
         // "Win"
         // "Zoom"
 
+        // Turn 0x7F into 0x08, because backspace needs to always be 0x08.
+        case 0x7F:
+            return "U+000008";
+
         default:
             return QString().sprintf("U+%06X", toupper(c));
     }
@@ -753,4 +757,11 @@ QKeyEvent::QKeyEvent(NSEvent *event, bool forceAutoRepeat)
       _isAccepted(false),
       _WindowsKeyCode(WindowsKeyCodeForKeyEvent(event))
 {
+    // Turn 0x7F into 0x08, because backspace needs to always be 0x08.
+    if (_text == "\x7F") {
+        _text = "\x8";
+    }
+    if (_unmodifiedText == "\x7F") {
+        _unmodifiedText = "\x8";
+    }
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list