OSDN Git Service

android-x86/external-webkit.git
13 years agoGenerate files correctly
Kristian Monsen [Tue, 5 Oct 2010 12:15:29 +0000 (13:15 +0100)]
Generate files correctly

Instead of creating them at . and moving to the right place, just
create them at the right place. This way any additional files
created will be in the right place as well.

Change-Id: I6102bbcee2b4bec3f780fdbed20ba15c9d1a6017

13 years agoMerge "When a page fails to load, notify that the page is finished"
Leon Scroggins III [Tue, 5 Oct 2010 13:43:54 +0000 (06:43 -0700)]
Merge "When a page fails to load, notify that the page is finished"

13 years agob/3039749 resolving the conflicts for WebKit.
Huahui Wu [Mon, 4 Oct 2010 22:23:22 +0000 (15:23 -0700)]
b/3039749 resolving the conflicts for WebKit.

Change-Id: If67e444a050d2a96e7d076c4faee8a160e08d4d5

13 years agoAdd AA to the border radius
Teng-Hui Zhu [Thu, 30 Sep 2010 22:32:21 +0000 (15:32 -0700)]
Add AA to the border radius

In order to enable AA for the border radius, add an extra layer for drawing and then clearing by using AA paint. The reason why clipping can't show AA is that it is 1-bit clip.

Change-Id: Ic9fa99915fb908e502dcb90cfe1428bb4d8e136b
http://b/3003023

13 years agoWhen a page fails to load, notify that the page is finished
Leon Scroggins III [Mon, 4 Oct 2010 15:34:43 +0000 (11:34 -0400)]
When a page fails to load, notify that the page is finished

Bug:2974418
Change-Id: I55f8ee1c235004da9ea6bed13af0758f10b715a8

13 years agoMerge "Use SelectionController to determine whether to open IME."
Leon Scroggins III [Mon, 4 Oct 2010 14:47:16 +0000 (07:47 -0700)]
Merge "Use SelectionController to determine whether to open IME."

13 years agoMerge "Add failing test expectations for DumpRenderTree2 for tests which rely on...
Steve Block [Mon, 4 Oct 2010 11:35:49 +0000 (04:35 -0700)]
Merge "Add failing test expectations for DumpRenderTree2 for tests which rely on being served from file://"

13 years agoUse SelectionController to determine whether to open IME.
Leon Scroggins III [Fri, 1 Oct 2010 22:30:49 +0000 (18:30 -0400)]
Use SelectionController to determine whether to open IME.

Bug: 2863136

Previously we were checking the focused Node, which does
not always tell properly whether the current selection is
in a contentEditable location.  Check the
SelectionController instead, which seems to be more
accurate.

Change-Id: Ibb64ad13275470da722529891f85f9dc347f9e8d

13 years agoMerge "Build fix for the simulator."
Patrick Scott [Fri, 1 Oct 2010 18:39:33 +0000 (11:39 -0700)]
Merge "Build fix for the simulator."

13 years agoBuild fix for the simulator.
Patrick Scott [Fri, 1 Oct 2010 17:33:40 +0000 (13:33 -0400)]
Build fix for the simulator.

Change-Id: Id6d2fa0d5b9ee9641466ee119ced28cfcda2f8ca

13 years agoMerge "Bug2811469 - wide space in RTL layout"
claireho [Fri, 1 Oct 2010 16:04:54 +0000 (09:04 -0700)]
Merge "Bug2811469 - wide space in RTL layout"

13 years agoam 8dd042ec: (-s ours) am 8180f816: Do not merge: fix array overwrite crasher
Cary Clark [Fri, 1 Oct 2010 14:03:37 +0000 (07:03 -0700)]
am 8dd042ec: (-s ours) am 8180f816: Do not merge: fix array overwrite crasher

Merge commit '8dd042ec5ff3a28fd7e0291b0b092a98306229f7'

* commit '8dd042ec5ff3a28fd7e0291b0b092a98306229f7':
  Do not merge: fix array overwrite crasher

13 years agoam 8180f816: Do not merge: fix array overwrite crasher
Cary Clark [Fri, 1 Oct 2010 13:57:35 +0000 (06:57 -0700)]
am 8180f816: Do not merge: fix array overwrite crasher

Merge commit '8180f8161470f2d0d6080c64149cf25ed3b755a5' into gingerbread-plus-aosp

* commit '8180f8161470f2d0d6080c64149cf25ed3b755a5':
  Do not merge: fix array overwrite crasher

13 years agoUpdate AndroidURLRequestContextGetter to take a pointer to the getter function
Steve Block [Thu, 30 Sep 2010 11:10:26 +0000 (12:10 +0100)]
Update AndroidURLRequestContextGetter to take a pointer to the getter function

This allows users of AndroidURLRequestContextGetter to instantiate a
URLRequestContext lazilly.

When used in AutoFill++, this means that when the URLRequestContext is
first initialized, the WebCore thread is set-up and the necessary
settings are available.

Also re-enables AutoFill++

The corresponding external/chromium change is
https://android-git.corp.google.com/g/71275

Bug: 3044989
Change-Id: I4b577f08717775bce5268f3f4b4f5fcf23e54536

13 years agoUpdate WebRequestContext static getters to return pointers to the base class
Steve Block [Thu, 30 Sep 2010 10:53:33 +0000 (11:53 +0100)]
Update WebRequestContext static getters to return pointers to the base class

This allows us to use these static getters with Chromium APIs which
can use only the Chromium base class, not the Android derived class.

Change-Id: I9690ef00a775cff2b580ae5c0c745d7b24021a4c

13 years agoDo not merge: fix array overwrite crasher
Cary Clark [Thu, 30 Sep 2010 19:14:40 +0000 (15:14 -0400)]
Do not merge: fix array overwrite crasher

If two nodes have the same coordinates, one is deleted.
If either has focus, the focus needs to be transfered
to the other, and the focus index recomputed, so the
index won't point to the wrong node.

If the two nodes are at the end of the list, the
index may point off the end of the array, subsequently
crashing on access.

This is a possible security issue.

Change-Id: I1ca934074637fbf68e40318fbc354e28c6b474ba
http://b/3043268

13 years agoFix the compiler error while disabling overflow scroll.
Shimeng (Simon) Wang [Wed, 29 Sep 2010 19:22:10 +0000 (12:22 -0700)]
Fix the compiler error while disabling overflow scroll.

Change-Id: I4d74ac00a6d348ce00b551572da6ceb5f2793b1f

13 years agoPrelink libwebcore.so, fix for b 2917906
Kristian Monsen [Thu, 30 Sep 2010 11:23:08 +0000 (12:23 +0100)]
Prelink libwebcore.so, fix for b 2917906

After switching to thumb mode for external/chromium, libwebcore.so now fits in the reserved
space in the prelink map. Enabling prelinking with the Chrome HTTP stack.

Change-Id: I69a798a66a32ab3efb46e8728a3e276877c328e0

13 years agoJSC build fix
Kristian Monsen [Wed, 29 Sep 2010 20:20:19 +0000 (21:20 +0100)]
JSC build fix

Need by this webkit CL:
http://trac.webkit.org/changeset/67898

Change-Id: Ic6180c845bf2d51036925e9329be6cb9a0cc0ab6

13 years agoBug2811469 - wide space in RTL layout
claireho [Wed, 29 Sep 2010 15:41:26 +0000 (08:41 -0700)]
Bug2811469 - wide space in RTL layout

1. Fixed extra wide space in RTL pages.
2. Removed the tailing space in FontAndroid.cpp.

Change-Id: I73b6cd7a7bed7a92929d3c4ef8af3b2c84020d0f

13 years agoAdd failing test expectations for DumpRenderTree2 for tests which rely on being serve...
Steve Block [Wed, 29 Sep 2010 14:34:04 +0000 (15:34 +0100)]
Add failing test expectations for DumpRenderTree2 for tests which rely on being served from file://

Change-Id: I6b13741412125edaf856d24a369e7a0a4d40a7d5

13 years agoReclassify failing multi-touch tests in test_expectations.txt
Steve Block [Wed, 29 Sep 2010 09:18:58 +0000 (10:18 +0100)]
Reclassify failing multi-touch tests in test_expectations.txt

Change-Id: If0fc3da76b46a7c45dabfa0f25f2e440d27ffd62

13 years agoMerge WebKit at r67908: Update WebKit merge revision
Steve Block [Tue, 21 Sep 2010 17:59:18 +0000 (18:59 +0100)]
Merge WebKit at r67908: Update WebKit merge revision

Change-Id: Iba3c15bea94293909b64145f5f2d67eab240d2d4

13 years agoMerge WebKit at r67908: FrameView zoom methods renamed and moved
Steve Block [Wed, 22 Sep 2010 13:53:38 +0000 (14:53 +0100)]
Merge WebKit at r67908: FrameView zoom methods renamed and moved

See http://trac.webkit.org/changeset/67274 and
http://trac.webkit.org/changeset/67762

Change-Id: I3842c599327b564550a2f76ae4ae3628f70a7aff

13 years agoMerge WebKit at r67908: ResourceLoader now makes use of NetworkingContext
Steve Block [Wed, 22 Sep 2010 13:50:30 +0000 (14:50 +0100)]
Merge WebKit at r67908: ResourceLoader now makes use of NetworkingContext

See http://trac.webkit.org/changeset/67291

Change-Id: I620cba25ea40451830b86df90631a2c88792ce16

13 years agoMerge WebKit at r67908: ColumnInfo no longer provides columnRectAt()
Steve Block [Wed, 22 Sep 2010 13:46:42 +0000 (14:46 +0100)]
Merge WebKit at r67908: ColumnInfo no longer provides columnRectAt()

See http://trac.webkit.org/changeset/67660

Change-Id: Ia3c17881d27919b20d62a47218cdb95293736b2e

13 years agoMerge WebKit at r67908: FrameLoaderClient now commits data directly to Loader
Steve Block [Wed, 22 Sep 2010 13:25:39 +0000 (14:25 +0100)]
Merge WebKit at r67908: FrameLoaderClient now commits data directly to Loader

See http://trac.webkit.org/changeset/67223 and
http://trac.webkit.org/changeset/67253

Change-Id: I46eb23df9a216f2d5a7b0dce857fd5fc323c2fb7

13 years agoMerge WebKit at r67908: Frame::revealSelection() moved to SelectionController
Steve Block [Wed, 22 Sep 2010 13:10:16 +0000 (14:10 +0100)]
Merge WebKit at r67908: Frame::revealSelection() moved to SelectionController

See http://trac.webkit.org/changeset/67238

Change-Id: Ie2e1feb0f63acc90397bccd78b55811d1d58be28

13 years agoMerge WebKit at r67908: Implement new FrameLoaderClient::canShowMIMETypeAsHTML()
Steve Block [Wed, 22 Sep 2010 13:05:32 +0000 (14:05 +0100)]
Merge WebKit at r67908: Implement new FrameLoaderClient::canShowMIMETypeAsHTML()

See http://trac.webkit.org/changeset/67403

Change-Id: I1407f44baf0b97f3fd8445528b49297a65a0b7bb

13 years agoMerge WebKit at r67908: ResourceHandleClient::didFinishLoading() now takes finish...
Steve Block [Wed, 22 Sep 2010 11:53:55 +0000 (12:53 +0100)]
Merge WebKit at r67908: ResourceHandleClient::didFinishLoading() now takes finish time

See http://trac.webkit.org/changeset/67551

Change-Id: Ie8c470f86ee7919495ae24e460f81952f75a0f1f

13 years agoMerge WebKit at r67908: Remove GraphicsLayer::compositingCoordinatesOrientation()
Steve Block [Wed, 22 Sep 2010 11:47:50 +0000 (12:47 +0100)]
Merge WebKit at r67908: Remove GraphicsLayer::compositingCoordinatesOrientation()

See http://trac.webkit.org/changeset/67576

Change-Id: I2f212e6591b4d7c1a48cae5be9e8e4911d9c3a50

13 years agoMerge WebKit at r67908: Remove call to SharedGraphicsContext3D::removeTexturesFor()
Steve Block [Wed, 22 Sep 2010 11:09:32 +0000 (12:09 +0100)]
Merge WebKit at r67908: Remove call to SharedGraphicsContext3D::removeTexturesFor()

See http://trac.webkit.org/changeset/67412

Change-Id: I327df5aa81770a4eab885933ac6339ae26aca62a

13 years agoMerge WebKit at r67908: HTMLInputElement::InputType renamed
Steve Block [Wed, 22 Sep 2010 10:40:10 +0000 (11:40 +0100)]
Merge WebKit at r67908: HTMLInputElement::InputType renamed

InputType renamed to DeprecatedInputType

See http://trac.webkit.org/changeset/67903

Change-Id: I9efb9889588523dd2b9489809fb2c44bd799d2ba

13 years agoMerge WebKit at r67908: Fix Makefiles
Steve Block [Wed, 22 Sep 2010 13:54:19 +0000 (14:54 +0100)]
Merge WebKit at r67908: Fix Makefiles

Change-Id: I2ce222e3f946987d9d544df5f015e06a2e5c7f4d

13 years agoMerge WebKit at r67908: Fix conflicts
Steve Block [Tue, 21 Sep 2010 18:03:24 +0000 (19:03 +0100)]
Merge WebKit at r67908: Fix conflicts

Whitespace difference in config.h - http://trac.webkit.org/changeset/67323
- WebCore/config.h

Conflict due to ANDROID_LAYOUT - http://trac.webkit.org/changeset/67882
- WebCore/css/CSSComputedStyleDeclaration.cpp

Conflict due to ANDROID_INSTRUMENT - http://trac.webkit.org/changeset/67704
- WebCore/css/CSSParser.cpp

Conflict due to ANDROID_CSS_RING - http://trac.webkit.org/changeset/67667
- WebCore/css/CSSParser.cpp
- WebCore/css/CSSStyleSelector.cpp

Conflict due to axObjectCache - http://trac.webkit.org/changeset/67292
- WebCore/dom/Document.cpp

Conflict due to ANDROID_ACCEPT_CHANGES_TO_FOCUSED_TEXTFIELDS - http://trac.webkit.org/changeset/67903
- WebCore/html/HTMLInputElement.cpp

Conflict due to ARCHIVE - http://trac.webkit.org/changeset/67198
- WebCore/loader/DocumentLoader.cpp
- WebCore/loader/FrameLoader.cpp

Conflict due to ARCHIVE - http://trac.webkit.org/changeset/67253
- WebCore/loader/FrameLoader.cpp

Conflict due to actualWidth() vs width() - http://trac.webkit.org/changeset/67762
- WebCore/page/DOMWindow.cpp

Conflict due to ANDROID_PLUGINS - http://trac.webkit.org/changeset/67890
- WebCore/page/Settings.cpp
- WebCore/page/Settings.h

Conflict due to Android MIME types - http://trac.webkit.org/changeset/67375
- WebCore/platform/MIMETypeRegistry.cpp

Android fix in PluginView no longer needed after http://trac.webkit.org/changeset/67325
- WebCore/plugins/PluginView.cpp

Conflict due to ANDROID_FLATTEN_IFRAME and ANDROID_FLATTEN_FRAMESET - http://trac.webkit.org/changeset/67660
- WebCore/rendering/RenderBlockLineLayout.cpp

Conflict due to ANDROID_LAYOUT - http://trac.webkit.org/changeset/67660
- WebCore/rendering/RenderBox.h
- WebCore/rendering/RenderTable.cpp

Android fix in RenderTableCell no longer needed after http://trac.webkit.org/changeset/67862
- WebCore/rendering/RenderTableCell.cpp

Conflict due to ANDROID_CSS_RING - http://trac.webkit.org/changeset/67889 and http://trac.webkit.org/changeset/67667
- WebCore/rendering/style/RenderStyle.h

Change-Id: Ie36bd7de6d89a1f873c91984048f2507cabd864c

fix conflicts

Change-Id: I3acaba9492f6f39869e69fa24270cefbb74ba673

13 years agoMerge WebKit at r67908: Initial merge by Git
Steve Block [Wed, 29 Sep 2010 16:32:26 +0000 (17:32 +0100)]
Merge WebKit at r67908: Initial merge by Git

Change-Id: I43a553e7b3299b28cb6ee8aa035ed70fe342b972

13 years agoAdd fast/encoding layout tests.
Iain Merrick [Wed, 29 Sep 2010 09:59:30 +0000 (10:59 +0100)]
Add fast/encoding layout tests.

Merged from WebKit at r67178.

The vast majority of these are passing. The exceptions:
- Three Mac-specific tests, won't fix.
- Four failures in the Java HTTP stack (no problem for the Chrome HTTP stack).
- fast/encoding/mailto-always-utf-8 needs a new LayoutTestController callback.

Change-Id: I16c613d42acd0ea2dc146909d514376d0a2e5aaa

13 years agoAdd a cleanspec for the makefile change.
Shimeng (Simon) Wang [Wed, 29 Sep 2010 01:04:35 +0000 (18:04 -0700)]
Add a cleanspec for the makefile change.

Change-Id: I64fa67c042b8510d79dee6fda613e98e531fa23b

13 years agoDisable autofill for now to let browser start.
Shimeng (Simon) Wang [Tue, 28 Sep 2010 22:25:34 +0000 (15:25 -0700)]
Disable autofill for now to let browser start.

Change-Id: I16167069d902bf3aba79de5d9e9d90a6a8667672

13 years agoMerge "Turn autofill on by default at compile time and make it a browser setting."
Steve Block [Tue, 28 Sep 2010 18:11:48 +0000 (11:11 -0700)]
Merge "Turn autofill on by default at compile time and make it a browser setting."

13 years agoTurn autofill on by default at compile time and make it a browser setting.
Ben Murdoch [Fri, 10 Sep 2010 21:00:37 +0000 (22:00 +0100)]
Turn autofill on by default at compile time and make it a browser setting.

Make autofill a runtime option configured through the browser.

Required a corresponding change in frameworks/base -
https://android-git.corp.google.com/g/65573
and packages/apps/browser -
https://android-git.corp.google.com/g/65579

Change-Id: I905b464a6338ff27b02f16d0b9a718154c3c98c1

13 years agoHide the soft keyboard when a blur happens.
Leon Scroggins [Fri, 24 Sep 2010 19:30:24 +0000 (15:30 -0400)]
Hide the soft keyboard when a blur happens.

Bug: 2953257

Requires a change in frameworks/base.

Change-Id: Ib0e7976cd5eb585be991b265087bff9ee7c4f4fd

13 years agoMerge "Update the storage locations used by the Chromium HTTP stack"
Steve Block [Tue, 28 Sep 2010 11:34:05 +0000 (04:34 -0700)]
Merge "Update the storage locations used by the Chromium HTTP stack"

13 years agoUpdate the storage locations used by the Chromium HTTP stack
Steve Block [Mon, 27 Sep 2010 17:44:53 +0000 (18:44 +0100)]
Update the storage locations used by the Chromium HTTP stack

This updates the strorage locations to better match those used by the
Android HTTP stack.

Corresponding frameworks/base change is
https://android-git.corp.google.com/g/70644

Bug: 3039536
Change-Id: I49162eb4d47791d4f42996650cc88bcf4aa2e330

13 years agoMerge "Bug: 2372180"
Huahui Wu [Mon, 27 Sep 2010 17:22:17 +0000 (10:22 -0700)]
Merge "Bug: 2372180"

13 years agoBug: 2372180
Huahui Wu [Thu, 2 Sep 2010 20:14:24 +0000 (13:14 -0700)]
Bug: 2372180

This CL adds support to pass multi-touch event from browser to webkit.
PlatformTouchEvent.h and PlatformTouchEventAndroid.cpp:
    changed the android constructor to take multiple touch points.
PlatformTouchPoint.h and PlatformTouchPointAndroid.cpp:
    changed the android constructor to take a touch point ID.
WebViewCore.h and WebViewCore.cpp:
    1. Updated handleTouchEvent(), HandleTouchEvent(), and jni interface
       to take multiple points.
    2. Added support of action
       MotionEvent.ACTION_POINTER_DOWN & MotionEvent.ACTION_POINTER_UP.

Change-Id: I79cffdba12a60ced9a571b4c1fd5b520a0fb6074

13 years agoMerge "Double Buffered Texture Support for WebKit."
Derek Sollenberger [Mon, 27 Sep 2010 16:18:15 +0000 (09:18 -0700)]
Merge "Double Buffered Texture Support for WebKit."

13 years agoFix the Android expected result for LayoutTest http/tests/appcache/local-content...
Steve Block [Mon, 27 Sep 2010 14:15:53 +0000 (15:15 +0100)]
Fix the Android expected result for LayoutTest http/tests/appcache/local-content.html

This change adds a trailing line to the Android expected result. The
actual output and thus the generic expected result has such a trailing
line. This discrepancy does not matter with DumpRenderTree, as it
ignores trailing whitespace when comparing results, but this is not
true of DumpRenderTree2.

Change-Id: Ib3ee6670ea4b4cbe07030ed7dddc97fe23128167

13 years agoDouble Buffered Texture Support for WebKit.
Derek Sollenberger [Wed, 22 Sep 2010 15:27:36 +0000 (11:27 -0400)]
Double Buffered Texture Support for WebKit.

This CL adds support for the DoubleBufferedTexture class which
can be used to pass textures between threads.

Bug-Id: 3034088
Change-Id: Idf4a5d367c02eae0cedb08f2167b9af370173851

13 years agoIntegrate AutoFill with WebTextView in Java.
Ben Murdoch [Fri, 10 Sep 2010 20:21:28 +0000 (21:21 +0100)]
Integrate AutoFill with WebTextView in Java.

Adds the necessary JNI hooks so that when the user focuses a form
field that AutoFill has identified as "autofillable", the Java side
WebTextView will show an option in the auto complete drop down box
that when selected will call back to AutoFill in native code and
actually fill out the form.

AutoFill is still disabled at compile time by default. To test the
feature set ENABLE_AUTOFILL=true and rebuild WebKit.

Needs a corresponding frameworks/base change.

Change-Id: Ie76ff9cbf0b44f3f3644079ed64ce71bfbc9859a

13 years agoRemove #if USE(CHROME_NETWORK_STACK) guards from headers
Kristian Monsen [Thu, 23 Sep 2010 14:31:45 +0000 (15:31 +0100)]
Remove #if USE(CHROME_NETWORK_STACK) guards from headers

Change-Id: Ib3c3037ab3f62d0c9c49f53850be5ff5c4f2a525

13 years agoMerge changes I359a952c,Idcafae15
Steve Block [Thu, 23 Sep 2010 15:10:47 +0000 (08:10 -0700)]
Merge changes I359a952c,Idcafae15

* changes:
  Fix a bug that would cause the AutoFill server to return an error.
  Add more profile data to the canned profile.

13 years agoFix a bug that would cause the AutoFill server to return an error.
Ben Murdoch [Tue, 14 Sep 2010 15:59:00 +0000 (16:59 +0100)]
Fix a bug that would cause the AutoFill server to return an error.

We were pushing the <option> elements associated with <select> tags
into the form field vector that AutoFill uses. This is not correct
as they are not used by the server and result in duplicate field
signatures in the XML requests. As the signatures should be unique,
the server returns an error response.

Change-Id: I359a952cf219e088c2cae886907f563d86756688

13 years agoAdd more profile data to the canned profile.
Ben Murdoch [Tue, 14 Sep 2010 15:56:38 +0000 (16:56 +0100)]
Add more profile data to the canned profile.

Change-Id: Idcafae151f6635394883fa45720cedd3b38bd9c8

13 years agoMake sure we don't try to build WebKit with incompatible options
Steve Block [Thu, 23 Sep 2010 11:32:52 +0000 (12:32 +0100)]
Make sure we don't try to build WebKit with incompatible options

In particular, make sure we don't build with JSC on the simulator or
the Chrome HTTP stack with JSC.

Change-Id: I446212e54a3751577f8c408a0b6ba2180a9a02fc

13 years agoMerge "Fix a compiler warning in WebResourceRequest"
Steve Block [Wed, 22 Sep 2010 15:13:44 +0000 (08:13 -0700)]
Merge "Fix a compiler warning in WebResourceRequest"

13 years agoMerge "Remove a superfluous comment from HTMLInputElement.cpp"
Steve Block [Wed, 22 Sep 2010 15:13:30 +0000 (08:13 -0700)]
Merge "Remove a superfluous comment from HTMLInputElement.cpp"

13 years agoFix a compiler warning in WebResourceRequest
Steve Block [Wed, 22 Sep 2010 14:51:56 +0000 (15:51 +0100)]
Fix a compiler warning in WebResourceRequest

Change-Id: Ie76a1abc87aa34486ca9724bcf87718e8722d315

13 years agoMerge "Fix WebStorage's DeleteAllData() to clear all AppCache entries from memory"
Steve Block [Wed, 22 Sep 2010 14:29:24 +0000 (07:29 -0700)]
Merge "Fix WebStorage's DeleteAllData() to clear all AppCache entries from memory"

13 years agoMerge "Fix a couple of WebSettings JNI getters to use GetLongField()"
Steve Block [Wed, 22 Sep 2010 14:28:49 +0000 (07:28 -0700)]
Merge "Fix a couple of WebSettings JNI getters to use GetLongField()"

13 years agoRemove a superfluous comment from HTMLInputElement.cpp
Steve Block [Wed, 22 Sep 2010 09:05:55 +0000 (10:05 +0100)]
Remove a superfluous comment from HTMLInputElement.cpp

This is an Android addition

Change-Id: I2784049bd97d970c5a21a08b256a2eb528700cd1

13 years agoMerge "GL utilities"
Nicolas Roard [Wed, 22 Sep 2010 00:25:19 +0000 (17:25 -0700)]
Merge "GL utilities"

13 years agoGL utilities
Nicolas Roard [Thu, 16 Sep 2010 20:01:02 +0000 (13:01 -0700)]
GL utilities

Change-Id: I5b4a008c51f409639059d2e47d5c8624c96b2981

13 years agoFix WebStorage's DeleteAllData() to clear all AppCache entries from memory
Steve Block [Tue, 21 Sep 2010 11:21:24 +0000 (12:21 +0100)]
Fix WebStorage's DeleteAllData() to clear all AppCache entries from memory

Previously we only cleared the DB, which has no effect if AppCache
entries are in memory. The fix clears from both memory and the DB.
This matches what we do in DeleteOrigin().

Change-Id: I45978d513a1cf31db3121fe34c9be7383ecf29d9

13 years agoFix a couple of WebSettings JNI getters to use GetLongField()
Steve Block [Tue, 21 Sep 2010 17:09:06 +0000 (18:09 +0100)]
Fix a couple of WebSettings JNI getters to use GetLongField()

Change-Id: I422957ae5ee2afdf78c0ec251efbab2fe1f2167d

13 years agoHTTP auth for Chromium HTTP stack (C++ side)
Iain Merrick [Mon, 23 Aug 2010 16:35:30 +0000 (17:35 +0100)]
HTTP auth for Chromium HTTP stack (C++ side)

On receiving an auth request:
- WebRequest (on the IO thread) sends a message to WebUrlLoaderClient
- WebUrlLoaderClient (webkit thread) calls WebCoreFrameBridge.
- WebCoreFrameBridge makes a JNI call to BrowserFrame.java.

Each JNI call has a WebUrlLoaderClient pointer, cast to an int.
We use this to recover the context when we're called back, and
dispatch a message back to WebRequest.

Corresponding Java change: https://android-git.corp.google.com/g/63762

Change-Id: Ieb72f2eaa996a55916c987859f47f6dacf92e06c

13 years agoMerge "Remove superfluous Geolocation::stop() method rogue LayoutTests"
Steve Block [Fri, 17 Sep 2010 15:41:10 +0000 (08:41 -0700)]
Merge "Remove superfluous Geolocation::stop() method rogue LayoutTests"

13 years agoRemove superfluous Geolocation::stop() method rogue LayoutTests
Steve Block [Thu, 16 Sep 2010 11:46:38 +0000 (12:46 +0100)]
Remove superfluous Geolocation::stop() method rogue LayoutTests

The stop() method and LayoutTests were added in
https://android-git.corp.google.com/g/#change,53849 which
cherry-picked a WebKit change to attempt to stop leaks. This change
has been rolled back in WebKit pending a better solution, but was
retained in Android as a temporary fix.

Later changes to Geolocation in WebKit have now fixed the underlying
problem and this has been confirmed on Android.

The temporary fix was mostly removed in the merge to WebKit r65615 in
https://android-git.corp.google.com/g/#change,62318 This patch simply
removes the superfluous stop() method and LayoutTests, which were
missed in the above patch.

Bug: 3001031
Change-Id: Id17117f285cb1a8fa600945cc6a87fc336709cab

13 years agoMerge WebKit at r67178 : Update WebKit revision number.
Iain Merrick [Tue, 14 Sep 2010 13:37:22 +0000 (14:37 +0100)]
Merge WebKit at r67178 : Update WebKit revision number.

Change-Id: I8c5e753cb69f136ea891317b74687622d114c0e2

13 years agoMerge WebKit at r67178 : Cherry-pick fix for DeviceOrientation test.
Iain Merrick [Thu, 16 Sep 2010 10:04:41 +0000 (11:04 +0100)]
Merge WebKit at r67178 : Cherry-pick fix for DeviceOrientation test.

Bug in fast/dom/DeviceOrientation/add-listener-from-callback.
To ensure we get a clean merge with no LayoutTest failures,
cherry-picking fix from http://trac.webkit.org/changeset/67557

Change-Id: I381b0cc695eb7f05768c30b790d66318c5369af3

13 years agoMerge WebKit at r67178 : Add FrameNetworkingContextAndroid.
Iain Merrick [Mon, 13 Sep 2010 16:24:46 +0000 (17:24 +0100)]
Merge WebKit at r67178 : Add FrameNetworkingContextAndroid.

This is needed to implement a new callback in FrameLoaderClient
which was added in http://trac.webkit.org/changeset/66794

Implementation copied from chromium's FrameNetworkingContextImpl.
(We can't just call FrameNetworkingContext's constructor directly
because it's protected.)

Change-Id: I10a318daed219a1b05972052aaea286c719b4b3c

13 years agoMerge WebKit at r67178 : Cherry-pick fix for V8DOMWrapper.
Iain Merrick [Mon, 13 Sep 2010 19:11:40 +0000 (20:11 +0100)]
Merge WebKit at r67178 : Cherry-pick fix for V8DOMWrapper.

Copying http://trac.webkit.org/changeset/67324, which fixes a
circular header file inclusion when compiling with both XPATH
and V8 enabled (which is our default build config).

Change-Id: I244870c2b612314ac2c6248eeeb1c8dc5e5b362b

13 years agoMerge WebKit at r67178 : Fix CacheBuilder.
Iain Merrick [Mon, 13 Sep 2010 17:14:16 +0000 (18:14 +0100)]
Merge WebKit at r67178 : Fix CacheBuilder.

The internal representation of column rects was changed in
http://trac.webkit.org/changeset/66903

Change-Id: I774c9fc487c0c88f7dec60e90f4096ba3cf657a7

13 years agoMerge WebKit at r67178 : Fix AndroidAnimation.
Iain Merrick [Mon, 13 Sep 2010 16:36:35 +0000 (17:36 +0100)]
Merge WebKit at r67178 : Fix AndroidAnimation.

TimingFunction was previously a simple struct with an enum to
select different behaviors. It's now an abstract class with
a different subclass for each behavior. Fixing AndroidAnimation
so that it holds a RefPtr to the timing function rather than
trying to store its value directly.

See http://trac.webkit.org/changeset/67032

Change-Id: Icb7f2911aea341975531c95594ab1c30ac48cd87

13 years agoMerge WebKit at r67178 : Fix Makefiles.
Iain Merrick [Mon, 13 Sep 2010 19:42:59 +0000 (20:42 +0100)]
Merge WebKit at r67178 : Fix Makefiles.

Change-Id: I8d14775998f5bad70cb01ce71a0f88e16dde85e0

13 years agoMerge WebKit at r67178 : Fix conflicts.
Iain Merrick [Mon, 13 Sep 2010 16:10:07 +0000 (17:10 +0100)]
Merge WebKit at r67178 : Fix conflicts.

V8DOMWindowShell::initContextIfNeeded now has a return value:
  http://trac.webkit.org/changeset/66840

DocLoader renamed to CachedResourceLoader. This affects
loader/*, ResourceHandleAndroid.cpp and WebSettings.cpp
  http://trac.webkit.org/changeset/66963

Change-Id: I3ea74336a4a0236f7487b794982b9d19e08c1c45

13 years agoMerge WebKit at r67178 : Initial merge by git.
Iain Merrick [Mon, 13 Sep 2010 15:35:48 +0000 (16:35 +0100)]
Merge WebKit at r67178 : Initial merge by git.

Change-Id: I57e01163b6866cb029cdadf405a0394a3918bc18

13 years agoMerge "Remove LayoutTests/fast/dom/StyleSheet"
Steve Block [Thu, 16 Sep 2010 10:08:53 +0000 (03:08 -0700)]
Merge "Remove LayoutTests/fast/dom/StyleSheet"

13 years agoam 71d8d800: (-s ours) am 1441f89d: Do not merge -- restrict text selection to the...
Cary Clark [Wed, 15 Sep 2010 23:49:42 +0000 (16:49 -0700)]
am 71d8d800: (-s ours) am 1441f89d: Do not merge -- restrict text selection to the main layer

Merge commit '71d8d800bdd87cd1aa95f64cd8586b8e3d1f1479'

* commit '71d8d800bdd87cd1aa95f64cd8586b8e3d1f1479':
  Do not merge -- restrict text selection to the main layer

13 years agoMerge "Remove alt http from chrome stack user agent"
Kristian Monsen [Wed, 15 Sep 2010 19:19:19 +0000 (12:19 -0700)]
Merge "Remove alt http from chrome stack user agent"

13 years agoRemove alt http from chrome stack user agent
Kristian Monsen [Wed, 15 Sep 2010 18:54:19 +0000 (19:54 +0100)]
Remove alt http from chrome stack user agent

Fix for bug 3004055

Change-Id: I6e313880c7f8bb7033f302717209befba34819ad

13 years agoam 1441f89d: Do not merge -- restrict text selection to the main layer
Cary Clark [Wed, 15 Sep 2010 17:36:46 +0000 (10:36 -0700)]
am 1441f89d: Do not merge -- restrict text selection to the main layer

Merge commit '1441f89dceb65cbe25d23b1b90005e51d3ed28bd' into gingerbread-plus-aosp

* commit '1441f89dceb65cbe25d23b1b90005e51d3ed28bd':
  Do not merge -- restrict text selection to the main layer

13 years agoMerge "Fix prototype for V8Proxy::compileScriptInternal"
Kristian Monsen [Wed, 15 Sep 2010 15:40:11 +0000 (08:40 -0700)]
Merge "Fix prototype for V8Proxy::compileScriptInternal"

13 years agoDo not merge -- restrict text selection to the main layer
Cary Clark [Wed, 15 Sep 2010 15:29:20 +0000 (11:29 -0400)]
Do not merge -- restrict text selection to the main layer

Gmail causes layers to appear as a message is scrolled. This confuses
the text selection logic. To workaround this in Gingerbread,
text selection is only allowed to be drawn in the main layer.

Change-Id: Idd814bcb5dfeef2fc12d6b0d586a63f711351d96
http://b/2998882

13 years agoRemove LayoutTests/fast/dom/StyleSheet
Iain Merrick [Wed, 15 Sep 2010 14:42:09 +0000 (15:42 +0100)]
Remove LayoutTests/fast/dom/StyleSheet

These tests were added in https://android-git.corp.google.com/g/#change,64773
but they don't all pass with the JSC JavaScript engine.

Change-Id: I93e4b6778b826fc453f0cfc0e60a44938b17fa5d

13 years agoFix prototype for V8Proxy::compileScriptInternal
Iain Merrick [Tue, 14 Sep 2010 13:13:01 +0000 (14:13 +0100)]
Fix prototype for V8Proxy::compileScriptInternal

Looks like this was broken in the last WebKit merge. It's only
used when compiling with #define ANDROID_INSTRUMENT.

Change-Id: Idc6d879cf733f84122c3b3f0608d8df1598eff36

13 years agoMerge "clip img elements the same as text"
Cary Clark [Tue, 14 Sep 2010 13:07:44 +0000 (06:07 -0700)]
Merge "clip img elements the same as text"

13 years agoclip img elements the same as text
Cary Clark [Mon, 13 Sep 2010 20:04:18 +0000 (16:04 -0400)]
clip img elements the same as text

The nav cache builds the cursor ring by collecting the bounds of
the text and images contained by the clickable node. The clip
described by the parent node is available when the bounds are
collected.

The current code clips the text. Generalize this to clip the
images also.

Also, print whether the node is transparent in the node dumper.

Change-Id: I44d6cbacb95211f191cf11b6abd5273e0712930f
http://b/2463829

13 years agoMerge "Accessibility support for WebViews"
Shimeng (Simon) Wang [Mon, 13 Sep 2010 18:04:44 +0000 (11:04 -0700)]
Merge "Accessibility support for WebViews"

13 years agoAccessibility support for WebViews
Svetoslav Ganov [Mon, 21 Jun 2010 16:58:25 +0000 (09:58 -0700)]
Accessibility support for WebViews

Change-Id: Ia63a74b0de66d40acb08ec0ea6f39dc85adac9be

13 years agoMerge "Initial autofill changes in libwebcore."
Ben Murdoch [Mon, 13 Sep 2010 17:40:13 +0000 (10:40 -0700)]
Merge "Initial autofill changes in libwebcore."

13 years agoInitial autofill changes in libwebcore.
Ben Murdoch [Fri, 10 Sep 2010 18:21:43 +0000 (19:21 +0100)]
Initial autofill changes in libwebcore.

Initial checkin of WebKit source for enabling AutoFill on
Android. This code calls into the chromium library to perform the
autofill magic.

There's still lots to do, but this and a corresponding change in
external/chromium enable the feature (basically) end to end.
The feature is disabled by default until we implement it more fully
with some proper UI.

To turn it on, set the ENABLE_AUTOFILL environment variable to "true"
and rebuild. This is only useful for preliminary testing though as
for now we use a precanned profile, which won't be relevant unless
your name happens to be John Smith.

Change-Id: I4a3e0e840617f7cf8f522af33ae1be560768a6c5

13 years agoMerge "Fix view_source.php for DumpRenderTree2"
Steve Block [Mon, 13 Sep 2010 13:58:02 +0000 (06:58 -0700)]
Merge "Fix view_source.php for DumpRenderTree2"

13 years agoam d7ab5cca: (-s ours) am e3a33d1e: Cherry-pick security fix in WebKit change 63048...
Steve Block [Mon, 13 Sep 2010 13:56:11 +0000 (06:56 -0700)]
am d7ab5cca: (-s ours) am e3a33d1e: Cherry-pick security fix in WebKit change 63048. Do not merge

Merge commit 'd7ab5ccadf9c3e6b43e39d9e80c7f155da1ac8d9'

* commit 'd7ab5ccadf9c3e6b43e39d9e80c7f155da1ac8d9':
  Cherry-pick security fix in WebKit change 63048. Do not merge

13 years agoam e3a33d1e: Cherry-pick security fix in WebKit change 63048. Do not merge
Steve Block [Mon, 13 Sep 2010 13:53:45 +0000 (06:53 -0700)]
am e3a33d1e: Cherry-pick security fix in WebKit change 63048. Do not merge

Merge commit 'e3a33d1e0c60357ad9f36df6e16799ddb5942917' into gingerbread-plus-aosp

* commit 'e3a33d1e0c60357ad9f36df6e16799ddb5942917':
  Cherry-pick security fix in WebKit change 63048. Do not merge

13 years agoFix view_source.php for DumpRenderTree2
Steve Block [Mon, 13 Sep 2010 13:46:30 +0000 (14:46 +0100)]
Fix view_source.php for DumpRenderTree2

highlight_string() echos the result of the highlighting and returns
a boolean success value. The existing code incorrectly echoes this
boolean as part of the result.

Change-Id: Icbfca6d8232ba3ad196f5909ad6c1ab4ac61f890

13 years agoCherry-pick security fix in WebKit change 63048. Do not merge
Steve Block [Mon, 13 Sep 2010 09:38:59 +0000 (10:38 +0100)]
Cherry-pick security fix in WebKit change 63048. Do not merge

See http://trac.webkit.org/changeset/63048

Note that this required a manual merge as we do not have
http://trac.webkit.org/changeset/59988

Bug: 2986936
Change-Id: I82617a011f68aeea953000d5487f40b32dcc7c72

13 years agoMerge WebKit at r66666 : Update WebKit revision number.
Kristian Monsen [Fri, 10 Sep 2010 10:50:01 +0000 (11:50 +0100)]
Merge WebKit at r66666 : Update WebKit revision number.

Change-Id: I9ea57dea7c42952ca49673ecaa51ae83c09246e6

13 years agoMerge Webkit at r66666 : Renamed function in Document.h
Kristian Monsen [Tue, 7 Sep 2010 11:09:30 +0000 (12:09 +0100)]
Merge Webkit at r66666 : Renamed function in Document.h

Webkit CL:
http://trac.webkit.org/changeset/66115

The function had a parameter added, I set it as RecalcStyleImmediately the
other option being DeferCalcStyle. This should maintain the current behaviour.

Change-Id: Id0d31eb00e9e4d78d77cb9f21e28e62f6b296a16

13 years agoMerge Webkit at r66666 : Fix include in V8Bindings generation
Kristian Monsen [Tue, 7 Sep 2010 11:04:13 +0000 (12:04 +0100)]
Merge Webkit at r66666 : Fix include in V8Bindings generation

Submitted upstream patch:
https://bugs.webkit.org/show_bug.cgi?id=45292

Fix is in:
http://trac.webkit.org/changeset/66888/trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm

Change-Id: Ia4b009b2744bca744711f567f2ec182288cfe011