OSDN Git Service

android-x86/external-webkit.git
14 years agoRevive my change to not add anchor navigations to the history in some cases.
Patrick Scott [Wed, 3 Mar 2010 17:10:51 +0000 (12:10 -0500)]
Revive my change to not add anchor navigations to the history in some cases.

Do not add history items when there is an anchor navigation if the user did not
initiate the event.

We backed out this change because cnn.com fixed itself but now
app.showtime-app.com does the same trick and prevents the Browser from being
able to go back.

14 years agorefactor find state and scrolling
Cary Clark [Wed, 3 Mar 2010 13:35:20 +0000 (08:35 -0500)]
refactor find state and scrolling

Separate out state when find is up and is empty.
Request a scroll when setting a match, rather than when drawing.
Don't draw if there's no match.

Companion fix in frameworks/base

http://b/2370069

14 years agobump up our image cache etc. when we're on larger devices (e.g. have VFP)
Mike Reed [Wed, 3 Mar 2010 14:28:03 +0000 (09:28 -0500)]
bump up our image cache etc. when we're on larger devices (e.g. have VFP)

fixes http://b/issue?id=2236822

14 years agofixing problem were plugin surfaces are not created.
Derek Sollenberger [Tue, 2 Mar 2010 16:08:48 +0000 (11:08 -0500)]
fixing problem were plugin surfaces are not created.

The problem occurs when a page containing a plugin is refreshed
or the plugin is loaded using javascript. If the window size
is set before the plugin view has its parent sent then the
plugin surfaces were not being initialized. This change ensures
that if that happens the surfaces will still be created.

see bug #2476059.

14 years agoallow anchor containing layer to be mapped to navable layer
Cary Clark [Mon, 1 Mar 2010 14:24:38 +0000 (09:24 -0500)]
allow anchor containing layer to be mapped to navable layer

A layer may be inside or outside of an anchor. If it is inside,
the corresponding CachedNode has already been created, but is
being tracked. These tracked nodes need their layer and unclipped
bits set. For now, node in layers are assumed to draw last in
their layer, and aren't obscured by other drawing.

We may allow nodes in layers to be obscured one day. Preparing
for that, translate the layer picture by its global position
when testing to see if the node is hidden.

Fix debugging by allowing CachedLayer to see inside LayerAndroid.

http://b/2453974

14 years agoam 4e409302: am a506357e: Adding logging to android\'s plugin view.
Derek Sollenberger [Tue, 2 Mar 2010 15:17:21 +0000 (07:17 -0800)]
am 4e409302: am a506357e: Adding logging to android\'s plugin view.

Merge commit '4e409302db5afdfb18231bd3e1a86f85302a2599'

* commit '4e409302db5afdfb18231bd3e1a86f85302a2599':
  Adding logging to android's plugin view.

14 years agoam a506357e: Adding logging to android\'s plugin view.
Derek Sollenberger [Tue, 2 Mar 2010 15:12:40 +0000 (07:12 -0800)]
am a506357e: Adding logging to android\'s plugin view.

Merge commit 'a506357ecbae5e506e0c3e46b6ebac632fd22328' into eclair-mr2-plus-aosp

* commit 'a506357ecbae5e506e0c3e46b6ebac632fd22328':
  Adding logging to android's plugin view.

14 years agoAdding logging to android's plugin view.
Derek Sollenberger [Tue, 2 Mar 2010 14:50:27 +0000 (09:50 -0500)]
Adding logging to android's plugin view.

14 years agoMerge "use advance widths to deduce spaces in selected text"
Cary Clark [Mon, 1 Mar 2010 19:14:04 +0000 (11:14 -0800)]
Merge "use advance widths to deduce spaces in selected text"

14 years agouse advance widths to deduce spaces in selected text
Cary Clark [Mon, 1 Mar 2010 18:38:55 +0000 (13:38 -0500)]
use advance widths to deduce spaces in selected text

The earlier method of using bounding boxes does not work if the
characters have sufficiently large kerning, such as 'A Java' or
sufficiently small kerning, such as '16'.

Also, don't add spaces after hyphens or dashes, and detect
baseline changes correctly. Reset the first space condition once
text is clipped out.

http://b/2457350
http://b/2165553

14 years agoMerge "Adds Android-specific result for a Geolocation LayoutTest that fails with V8"
Steve Block [Mon, 1 Mar 2010 18:53:35 +0000 (10:53 -0800)]
Merge "Adds Android-specific result for a Geolocation LayoutTest that fails with V8"

14 years agoMerge "Make nativeMoveCursorToNextTextInput return a value based on success."
Leon Scroggins [Mon, 1 Mar 2010 18:16:04 +0000 (10:16 -0800)]
Merge "Make nativeMoveCursorToNextTextInput return a value based on success."

14 years agoMake nativeMoveCursorToNextTextInput return a value based on success.
Leon Scroggins [Mon, 1 Mar 2010 16:23:47 +0000 (11:23 -0500)]
Make nativeMoveCursorToNextTextInput return a value based on success.

Also no longer differentiate between textfields and areas for the purpose
of the next action.

Part of fix for http://b/issue?id=2478052

Requires a change to frameworks/base

14 years agoThe element that receives the touch event should be the target element of the touch...
Ben Murdoch [Tue, 23 Feb 2010 18:59:06 +0000 (18:59 +0000)]
The element that receives the touch event should be the target element of the touch that caused the event to be generated.

Also build the touch target list based on the target element of the touch that caused the event to be generated.

Landed to webkit as http://trac.webkit.org/changeset/55287

Change-Id: I4414b703a7b3e7c6ea6917be624ab9a7786e24a9

14 years agoUpdate touch handler in preparation for upstreaming of m_originatingTouchTargets...
Ben Murdoch [Tue, 23 Feb 2010 18:26:46 +0000 (18:26 +0000)]
Update touch handler in preparation for upstreaming of m_originatingTouchTargets map. WebKit bug tracking is https://bugs.webkit.org/show_bug.cgi?id=34585

Landed to webkit as http://trac.webkit.org/changeset/55230

Change-Id: I68fa02615aec35c8c2d3e7c69e8479c33d66293c

14 years agoMerge "ignore rootlayer when drawing (fixes regression) dump layers contents in displ...
Mike Reed [Fri, 26 Feb 2010 19:46:15 +0000 (11:46 -0800)]
Merge "ignore rootlayer when drawing (fixes regression) dump layers contents in displayTree.txt"

14 years agoignore rootlayer when drawing (fixes regression)
Mike Reed [Fri, 26 Feb 2010 19:44:28 +0000 (14:44 -0500)]
ignore rootlayer when drawing (fixes regression)
dump layers contents in displayTree.txt

14 years agoMerge " Don't crash when throwing javascript exceptions from plugins without ...
Leon Clarke [Fri, 26 Feb 2010 17:32:41 +0000 (09:32 -0800)]
Merge "    Don't crash when throwing javascript exceptions from plugins without     javascript having been initialised."

14 years ago Don't crash when throwing javascript exceptions from plugins without
Leon Clarke [Fri, 26 Feb 2010 17:29:17 +0000 (17:29 +0000)]
Don't crash when throwing javascript exceptions from plugins without
    javascript having been initialised.

14 years agoMerge "Adds layout tests for HTML5 features"
Steve Block [Fri, 26 Feb 2010 13:05:06 +0000 (05:05 -0800)]
Merge "Adds layout tests for HTML5 features"

14 years agoMerge "enable debugger support in webkit with v8"
Andrei Popescu [Fri, 26 Feb 2010 13:03:55 +0000 (05:03 -0800)]
Merge "enable debugger support in webkit with v8"

14 years agoenable debugger support in webkit with v8
Andrei Popescu [Fri, 26 Feb 2010 12:48:03 +0000 (12:48 +0000)]
enable debugger support in webkit with v8

14 years agoMerge "make methods private (or static local) if possible to reduce surface area...
Mike Reed [Fri, 26 Feb 2010 12:52:29 +0000 (04:52 -0800)]
Merge "make methods private (or static local) if possible to reduce surface area of API"

14 years agoMerge "Only set the DatabaseTracker path if it has been successfully set to something...
Ben Murdoch [Fri, 26 Feb 2010 10:11:11 +0000 (02:11 -0800)]
Merge "Only set the DatabaseTracker path if it has been successfully set to something on the Java side as the DatabaseTracker only allows us to set it once."

14 years agoMerge "Prevent unsafe upper casting by checking Element's namespaceURI."
Shimeng (Simon) Wang [Fri, 26 Feb 2010 01:10:31 +0000 (17:10 -0800)]
Merge "Prevent unsafe upper casting by checking Element's namespaceURI."

14 years agomake methods private (or static local) if possible to reduce surface area of API
Mike Reed [Thu, 25 Feb 2010 22:07:06 +0000 (17:07 -0500)]
make methods private (or static local) if possible to reduce surface area of API

14 years agoPrevent unsafe upper casting by checking Element's namespaceURI.
Shimeng (Simon) Wang [Thu, 25 Feb 2010 19:14:31 +0000 (11:14 -0800)]
Prevent unsafe upper casting by checking Element's namespaceURI.

For some website, when elements are created, somehow the tagName's
namespaceURI is empty, so for "form" element, Element node is created
instead of expected HTMLFormElement.

Bug: 2461358
modified:   WebKit/android/jni/WebCoreFrameBridge.cpp

14 years agoOnly set the DatabaseTracker path if it has been successfully set to something on...
Ben Murdoch [Thu, 25 Feb 2010 18:36:43 +0000 (18:36 +0000)]
Only set the DatabaseTracker path if it has been successfully set to something on the Java side as the DatabaseTracker only
allows us to set it once.

Change-Id: I5d0121dac9a2b276a483992784822c1f52c04853

14 years agoremove unused methods
Mike Reed [Thu, 25 Feb 2010 18:27:38 +0000 (13:27 -0500)]
remove unused methods

14 years agoFix the gap when using the IME (Bug:2453748)
Nicolas Roard [Thu, 25 Feb 2010 14:41:12 +0000 (14:41 +0000)]
Fix the gap when using the IME (Bug:2453748)

The problem was that layers may have a different size than their corresponding element,
but we used the layer's size instead of the element's to compute the fixed position.
The fix asks for the element visible overflow size (needed, some children may be outside the bounds of the element itself).

14 years agoMerge "Temporarily disable debugger support on V8 due to a crash"
Andrei Popescu [Thu, 25 Feb 2010 14:13:43 +0000 (06:13 -0800)]
Merge "Temporarily disable debugger support on V8 due to a crash"

14 years agoTemporarily disable debugger support on V8 due to a crash
Andrei Popescu [Thu, 25 Feb 2010 13:58:48 +0000 (13:58 +0000)]
Temporarily disable debugger support on V8 due to a crash

14 years agoMerge "refactor drawing to support layers"
Cary Clark [Thu, 25 Feb 2010 13:37:40 +0000 (05:37 -0800)]
Merge "refactor drawing to support layers"

14 years agoAdds Android-specific result for a Geolocation LayoutTest that fails with V8
Steve Block [Thu, 25 Feb 2010 11:29:46 +0000 (11:29 +0000)]
Adds Android-specific result for a Geolocation LayoutTest that fails with V8

This is currently a false failure, as the only difference from the expected
output is due to V8's different syntax when reporting an exception.

Change-Id: If0107f730f4114f6968307a31841c9e6073dba1c

14 years agoAdds layout tests for HTML5 features
Steve Block [Thu, 25 Feb 2010 10:58:37 +0000 (10:58 +0000)]
Adds layout tests for HTML5 features

The following layout tests should all pass on Android, as they are for recently
implemented HTML5 features ...
- fast/dom/Geolocation
- storage
- http/tests/appcache

This change adds these tests to the Android tree, at the current WebKit revision
r54731. This is so that we can easily keep track of which tests should always be
green, and so that we can add Android-specific test results.

We also add the following paths ...
- fast/js/resources - used by the Geolocation tests
- http/conf - used by the Appcache tests

Tests that are currently failing are added to the DumpRenderTree skipped list
temporarily, to keep all tests green.

Change-Id: Id96c05e3746ed64e4e4c40c99567b8def688f90a

14 years agoMerge " Don't display our custom border round combo boxes when the stylesheet...
Leon Clarke [Thu, 25 Feb 2010 10:30:25 +0000 (02:30 -0800)]
Merge "    Don't display our custom border round combo boxes when the stylesheet has defined one."

14 years agoMerge "Use reference instead of vector copying when dealing formElements."
Shimeng (Simon) Wang [Thu, 25 Feb 2010 00:04:52 +0000 (16:04 -0800)]
Merge "Use reference instead of vector copying when dealing formElements."

14 years agoUse reference instead of vector copying when dealing formElements.
Shimeng (Simon) Wang [Wed, 24 Feb 2010 23:54:38 +0000 (15:54 -0800)]
Use reference instead of vector copying when dealing formElements.

14 years agorefactor drawing to support layers
Cary Clark [Tue, 23 Feb 2010 15:46:08 +0000 (10:46 -0500)]
refactor drawing to support layers

Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.

Drawing the find results, text selection, or the cursor ring,
interleaves with any layers that may be drawn. The main picture
is treated as owned by a LayerAndroid so each component can
decide when to draw.

This change leave the main picture in WebViewCore.cpp, and
draws everything else in WebView.cpp -- in the future, additional
refactoring can put all drawing in one place.

The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.

Android.mk
- Add rule to trigger building without layers from buildspec.mk.

LayerAndroid.*
- Replace FindOnPage reference with abstract DrawExtra class to
  draw adornments in the layers' canvas context.
- Add a LayerAndroid constructor to create a dummy layer with a
  SkPicture* and a uniqueId==-1 so that extras can detect when
  they are drawn by the main picture.

android_graphics.*
- Move cursor ring drawing out of WebView.cpp to here.
- Separate cursor ring setup from actual drawing.
- Get the cursor ring metrics in local coordinates.

ChromeClientAndroid.cpp
- Fix compiler warnings.

WebViewCore.*
- Move updateCursorBounds from WebView.cpp. This permits it to
  be called from CursorRing::setup.

CachedFrame.*
CachedNode.*
CachedLayer.*
- Add local bounds getters.

CachedRoot.h
- Move class FindCanvas to the android namespace.

DrawExtra.h
- Add an abstract class called by LayerAndroid to optionally
  draw extra elements in its canvas context.

FindCanvas.*
SelectText.*
- Refactor drawing to draw in layers context.

WebView.cpp
- Move drawing from WebView.java.
- Remove selection code to SelectText.cpp.
- Use inverseScale to simplify viewPort metrics.
- Simplify layer root so java doesn't need to know about it.

Requires companion change in frameworks/base

http://b/2457316
http://b/2454127
http://b/2454149

14 years agoSimplify the layer code:
Nicolas Roard [Wed, 24 Feb 2010 18:09:11 +0000 (18:09 +0000)]
Simplify the layer code:
* Rename setRootLayer to setUIRootLayer
* Fixed some logs in GraphicsLayerAndroid
* Added back the diagonal drawing debug code in LayerAndroid
* Simplified ChromeClientAndroid, removed compositingLayerSync()

14 years ago Don't display our custom border round combo boxes when the stylesheet has defined...
Leon Clarke [Wed, 24 Feb 2010 19:20:21 +0000 (19:20 +0000)]
Don't display our custom border round combo boxes when the stylesheet has defined one.

14 years agoMerge "Adds a missing initializer for Geolocation maximumAge"
Steve Block [Wed, 24 Feb 2010 18:45:35 +0000 (10:45 -0800)]
Merge "Adds a missing initializer for Geolocation maximumAge"

14 years agoAdds a missing initializer for Geolocation maximumAge
Steve Block [Wed, 24 Feb 2010 18:36:14 +0000 (18:36 +0000)]
Adds a missing initializer for Geolocation maximumAge

Change-Id: I7274d12baa4718280e8cc677583e5308c7917a56

14 years agoDo not forward touch event types we do not support into WebCore as TouchCancel events...
Ben Murdoch [Wed, 24 Feb 2010 15:21:38 +0000 (15:21 +0000)]
Do not forward touch event types we do not support into WebCore as TouchCancel events. The old behavior creates an issue now we support pinch to zoom where releasing the pinch will always send a touch cancel to WebCore as the Java land touch event type is ACTION_POINTER_UP.

Change-Id: Ie691f4a3c5ba6a09c3838deb37d8b9e0671c835b

14 years agoRe-enable the layers
Nicolas Roard [Wed, 24 Feb 2010 14:00:27 +0000 (14:00 +0000)]
Re-enable the layers

14 years agoMerge "Removes repeated headers in Geolocation.cpp"
Steve Block [Wed, 24 Feb 2010 11:34:12 +0000 (03:34 -0800)]
Merge "Removes repeated headers in Geolocation.cpp"

14 years agoRemoves repeated headers in Geolocation.cpp
Steve Block [Wed, 24 Feb 2010 11:06:07 +0000 (11:06 +0000)]
Removes repeated headers in Geolocation.cpp

These were erroneously added in a previous WebKit merge.
See https://android-git.corp.google.com/g/#change,39242

Change-Id: I192911ec35d7447ae3933cf4903aacd2ab202a3a

14 years agoam 70a336f2: am da8d052d: Merge "adding logging to determine the delay between event...
Derek Sollenberger [Wed, 24 Feb 2010 03:56:04 +0000 (19:56 -0800)]
am 70a336f2: am da8d052d: Merge "adding logging to determine the delay between event origination and its arrival at the plugin." into eclair-mr2

Merge commit '70a336f20c4244b6f93ba593e999e83f23af1145'

* commit '70a336f20c4244b6f93ba593e999e83f23af1145':
  adding logging to determine the delay between event origination and its arrival at the plugin.

14 years agoam f494d11a: (-s ours) am 48633eb7: Do not merge.
Patrick Scott [Wed, 24 Feb 2010 03:55:54 +0000 (19:55 -0800)]
am f494d11a: (-s ours) am 48633eb7: Do not merge.

Merge commit 'f494d11a4894673d0dae0ce65ae911209f9821e2'

* commit 'f494d11a4894673d0dae0ce65ae911209f9821e2':
  Do not merge.

14 years agoam 5bce6668: am 15027de7: Added new logging messages and updated event logs with...
Derek Sollenberger [Wed, 24 Feb 2010 03:55:39 +0000 (19:55 -0800)]
am 5bce6668: am 15027de7: Added new logging messages and updated event logs with plugin execution time

Merge commit '5bce666850444bb87efe0be67046e7648ff15e67'

* commit '5bce666850444bb87efe0be67046e7648ff15e67':
  Added new logging messages and updated event logs with plugin execution time

14 years agoam da8d052d: Merge "adding logging to determine the delay between event origination...
Derek Sollenberger [Wed, 24 Feb 2010 03:00:05 +0000 (19:00 -0800)]
am da8d052d: Merge "adding logging to determine the delay between event origination and its arrival at the plugin." into eclair-mr2

Merge commit 'da8d052d7e1bf81587412213cf6680538d0bf687' into eclair-mr2-plus-aosp

* commit 'da8d052d7e1bf81587412213cf6680538d0bf687':
  adding logging to determine the delay between event origination and its arrival at the plugin.

14 years agoam 48633eb7: Do not merge.
Patrick Scott [Wed, 24 Feb 2010 02:59:58 +0000 (18:59 -0800)]
am 48633eb7: Do not merge.

Merge commit '48633eb761269223d399736219ca400d62df8027' into eclair-mr2-plus-aosp

* commit '48633eb761269223d399736219ca400d62df8027':
  Do not merge.

14 years agoam 15027de7: Added new logging messages and updated event logs with plugin execution...
Derek Sollenberger [Wed, 24 Feb 2010 02:59:52 +0000 (18:59 -0800)]
am 15027de7: Added new logging messages and updated event logs with plugin execution time

Merge commit '15027de75d16455fd1e449b771fac8fd2cf88233' into eclair-mr2-plus-aosp

* commit '15027de75d16455fd1e449b771fac8fd2cf88233':
  Added new logging messages and updated event logs with plugin execution time

14 years agoMerge "adding logging to determine the delay between event origination and its arriva...
Derek Sollenberger [Tue, 23 Feb 2010 20:11:52 +0000 (12:11 -0800)]
Merge "adding logging to determine the delay between event origination and its arrival at the plugin." into eclair-mr2

14 years agoadding logging to determine the delay between event origination and its arrival at...
Derek Sollenberger [Tue, 23 Feb 2010 19:55:21 +0000 (14:55 -0500)]
adding logging to determine the delay between event origination and its arrival at the plugin.

14 years agoMerge "Fixes a bug with showing the Geolocation permissions prompt"
Steve Block [Tue, 23 Feb 2010 19:03:07 +0000 (11:03 -0800)]
Merge "Fixes a bug with showing the Geolocation permissions prompt"

14 years agoWhile upstreaming the JSC JIT patch to the open source Webkit trunk,
Huahui Wu [Tue, 23 Feb 2010 16:24:57 +0000 (11:24 -0500)]
While upstreaming the JSC JIT patch to the open source Webkit trunk,
there were a few small changes upon the review comments.
This CL makes corresponding changes in Android code base to be
consistent with the open source Webkit trunk.

14 years agoFixes a bug with showing the Geolocation permissions prompt
Steve Block [Fri, 12 Feb 2010 16:33:50 +0000 (16:33 +0000)]
Fixes a bug with showing the Geolocation permissions prompt

Currently, if an iframe causes the Geolocation permissions prompt to be shown,
but the frame is navigated away before the user responds to the permissions
prompt, the prompt is not removed from the screen.

This change fixes that bug. It uses the new
ChromeClient::cancelGeolocationPermissionRequestForFrame() method, which was
cherry-picked from WebKit in https://android-git.corp.google.com/g/#change,41747

The logic is complicated by the fact that multiple iframes may have requested
Geolocation permissions for the same origin. In this case, we should not hide
the prompt until the last such frame is navigated away.

Bug: 2463551
Change-Id: I1e4de05586150c7a94bc8343f6e56e4a4870cd3b

14 years agoMerge "Co-ordinates of a TouchEvent object should be 0,0 to match the behavior on...
Ben Murdoch [Tue, 23 Feb 2010 15:57:35 +0000 (07:57 -0800)]
Merge "Co-ordinates of a TouchEvent object should be 0,0 to match the behavior on iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion."

14 years agoCo-ordinates of a TouchEvent object should be 0,0 to match the behavior on iPhone...
Ben Murdoch [Mon, 22 Feb 2010 15:00:01 +0000 (15:00 +0000)]
Co-ordinates of a TouchEvent object should be 0,0 to match the behavior on iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion.

Update EventHandler::handleTouchEvent to match what landed to webkit in http://trac.webkit.org/changeset/55146

Change-Id: I91dfcfbbb53020b85f646bcf58eb4f3afd6be8e7

14 years agoMerge "Updates Android to final version of Geolocation position cache submitted to...
Steve Block [Tue, 23 Feb 2010 15:35:51 +0000 (07:35 -0800)]
Merge "Updates Android to final version of Geolocation position cache submitted to webkit.org"

14 years agoMerge "Cherry-pick WebKit change 55136 to add a means to cancel an ongoing Geolocatio...
Steve Block [Tue, 23 Feb 2010 15:26:49 +0000 (07:26 -0800)]
Merge "Cherry-pick WebKit change 55136 to add a means to cancel an ongoing Geolocation permission request"

14 years agoDo not merge.
Patrick Scott [Mon, 22 Feb 2010 17:44:41 +0000 (12:44 -0500)]
Do not merge.

Implement redirectDataToPlugin.

This fixes going to swf files directly (i.e. http://foo.com/bar.swf).

Bug: 2435632

14 years agoadd optional build flag to trigger enabling layers
Mike Reed [Tue, 23 Feb 2010 15:08:55 +0000 (10:08 -0500)]
add optional build flag to trigger enabling layers

14 years agoCherry-pick WebKit change 55136 to add a means to cancel an ongoing Geolocation permi...
Steve Block [Tue, 23 Feb 2010 14:59:58 +0000 (14:59 +0000)]
Cherry-pick WebKit change 55136 to add a means to cancel an ongoing Geolocation permission request

This is part of the change required to fix a Geolocation permissions bug.
See https://android-git.corp.google.com/g/#change,40601

Note that We take only the WebCore component of the change, but additional
changes are required to ChromeClientAndroid.

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

Change-Id: Iff0eab3adc3e41876df7f114c0d50243d015664f

14 years agoAdded new logging messages and updated event logs with plugin execution time
Derek Sollenberger [Mon, 22 Feb 2010 21:56:41 +0000 (16:56 -0500)]
Added new logging messages and updated event logs with plugin execution time

14 years agoUpdates Android to final version of Geolocation position cache submitted to webkit.org
Steve Block [Thu, 11 Feb 2010 17:28:32 +0000 (17:28 +0000)]
Updates Android to final version of Geolocation position cache submitted to webkit.org

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

Change-Id: I8fabc89b596b0e61e8ae389e07af2e898de3bad1

14 years agoMerge "Implement redirectDataToPlugin."
Patrick Scott [Mon, 22 Feb 2010 20:53:37 +0000 (12:53 -0800)]
Merge "Implement redirectDataToPlugin."

14 years agoImplement redirectDataToPlugin.
Patrick Scott [Mon, 22 Feb 2010 17:44:41 +0000 (12:44 -0500)]
Implement redirectDataToPlugin.

This fixes going to swf files directly (i.e. http://foo.com/bar.swf).

Bug: 2435632

14 years agoam 4c76da0e: am 1044e7fd: Fixes error where plugin is created while iterating through...
Derek Sollenberger [Mon, 22 Feb 2010 19:56:11 +0000 (11:56 -0800)]
am 4c76da0e: am 1044e7fd: Fixes error where plugin is created while iterating through the list of plugins.

Merge commit '4c76da0e5177ea82be36bb81e67b52d51a5a72bb'

* commit '4c76da0e5177ea82be36bb81e67b52d51a5a72bb':
  Fixes error where plugin is created while iterating through the list of plugins.

14 years agoam 1044e7fd: Fixes error where plugin is created while iterating through the list...
Derek Sollenberger [Mon, 22 Feb 2010 19:26:41 +0000 (11:26 -0800)]
am 1044e7fd: Fixes error where plugin is created while iterating through the list of plugins.

Merge commit '1044e7fd4ebb61e6133d4f4dda69810e3af9da14' into eclair-mr2-plus-aosp

* commit '1044e7fd4ebb61e6133d4f4dda69810e3af9da14':
  Fixes error where plugin is created while iterating through the list of plugins.

14 years agoFixes error where plugin is created while iterating through the list of plugins.
Derek Sollenberger [Mon, 22 Feb 2010 18:00:39 +0000 (13:00 -0500)]
Fixes error where plugin is created while iterating through the list of plugins.

bug #2438492

14 years agoMerge "Update Android to reflect upstreaming of matrix optimization in RenderLayer...
Steve Block [Mon, 22 Feb 2010 16:19:02 +0000 (08:19 -0800)]
Merge "Update Android to reflect upstreaming of matrix optimization in RenderLayer.cpp"

14 years agoUpdate Android to reflect upstreaming of matrix optimization in RenderLayer.cpp
Steve Block [Thu, 18 Feb 2010 16:55:56 +0000 (16:55 +0000)]
Update Android to reflect upstreaming of matrix optimization in RenderLayer.cpp

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

Change-Id: If34e70743c554b2a5e8315b2657cce6964805f6a

14 years agoFix for busy loop
Nicolas Roard [Mon, 22 Feb 2010 12:47:18 +0000 (12:47 +0000)]
Fix for busy loop
Bug:2457438

14 years agodisable webkit layers
Cary Clark [Sun, 21 Feb 2010 15:51:18 +0000 (10:51 -0500)]
disable webkit layers

With layers enabled, servicing timers saturate the CPU at times.
This also fixes a compile-time switch in FindCanvas to disable layers.

14 years agomove viewport into just this subclass
Mike Reed [Fri, 19 Feb 2010 16:32:42 +0000 (11:32 -0500)]
move viewport into just this subclass

14 years agofix nav layer bugs
Cary Clark [Fri, 19 Feb 2010 17:58:22 +0000 (12:58 -0500)]
fix nav layer bugs

Clip the nodes inside the layer to the layer's bounds
Don't crash if the layer with the matching id can't be found.

http://b/2453945

14 years agoUpdate Android to reflect recent upstreaming of V8 runtime feature default values
Steve Block [Thu, 18 Feb 2010 14:49:26 +0000 (14:49 +0000)]
Update Android to reflect recent upstreaming of V8 runtime feature default values

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

Change-Id: I4d6c067dcafc43d2798c55e042e446d4964b326f

14 years agoMerge "Fixes a crash in the Geolocation service when using maximumAge"
Steve Block [Fri, 19 Feb 2010 16:42:12 +0000 (08:42 -0800)]
Merge "Fixes a crash in the Geolocation service when using maximumAge"

14 years agoSet the fixed position values when changed via setPosition()
Nicolas Roard [Fri, 19 Feb 2010 15:34:04 +0000 (15:34 +0000)]
Set the fixed position values when changed via setPosition()
Fix Bug:2450033

14 years agoFixes a crash in the Geolocation service when using maximumAge
Steve Block [Fri, 19 Feb 2010 12:09:33 +0000 (12:09 +0000)]
Fixes a crash in the Geolocation service when using maximumAge

When a browser page is put to the background, the Geolocation object is
suspended. If the Geolocation object has active requests, it suspends its
Geolocation service.

Now that we have maximum age support, the Geolocation object can have active
requests without having started its Geolocation service. In this case, the
geolocation service can ignore calls to suspend and resume.

This avoids a crash when the Android Geolocation service hasn't created it's
java bridge when suspend is called.

Bug: 2453611
Change-Id: I368226281920512584a92b5f1967d602df1f0782

14 years agoAdd support for setting key states with touch events on Android.
Ben Murdoch [Tue, 2 Feb 2010 20:36:35 +0000 (20:36 +0000)]
Add support for setting key states with touch events on Android.

Properly guard non-upstreamed common code.

Change-Id: I109dbe97d8c96efe3660ce3893a4e730927e90ef

14 years agoMerge "refactor"
Mike Reed [Thu, 18 Feb 2010 19:21:42 +0000 (11:21 -0800)]
Merge "refactor"

14 years agoMerge "Add code to try and reclaim granted but unused database quota. This will help...
Ben Murdoch [Thu, 18 Feb 2010 19:21:27 +0000 (11:21 -0800)]
Merge "Add code to try and reclaim granted but unused database quota. This will help alleviate the situation when a website requests a lot of quota (but uses a little) and we run out of quota to dish out to new origins."

14 years agoAdd code to try and reclaim granted but unused database quota. This will help allevia...
Ben Murdoch [Mon, 15 Feb 2010 16:31:04 +0000 (16:31 +0000)]
Add code to try and reclaim granted but unused database quota. This will help alleviate the situation when a website requests a lot of quota (but uses a little) and we run out of quota to dish out to new origins.

We also set the estimatedSize that we pass to Java on quota overflow to 0 if this is a genuine quota overflow as opposed to the creation of a new database.

Change-Id: I370cf7c663d11fc1e5c630beb5299d2d34103b08

14 years agoMerge "Fixes a bug in RenderLayer::paintLayer due to Android's FASTER_MATRIX optimisa...
Steve Block [Thu, 18 Feb 2010 18:51:26 +0000 (10:51 -0800)]
Merge "Fixes a bug in RenderLayer::paintLayer due to Android's FASTER_MATRIX optimisation"

14 years agorefactor
Mike Reed [Thu, 18 Feb 2010 16:08:07 +0000 (11:08 -0500)]
refactor

14 years agocheck for layer containing final nodes in DOM
Cary Clark [Thu, 18 Feb 2010 17:59:59 +0000 (12:59 -0500)]
check for layer containing final nodes in DOM

This fix prevents a crash in http://webkit.org/blog-files/leaves/

http://b/2369549

14 years agoFixes a bug in RenderLayer::paintLayer due to Android's FASTER_MATRIX optimisation
Steve Block [Thu, 18 Feb 2010 16:38:08 +0000 (16:38 +0000)]
Fixes a bug in RenderLayer::paintLayer due to Android's FASTER_MATRIX optimisation

This bug was introduced by the merge to r51976 on 15 Dec 2009.

WebKit change 51355 modified RenderLayer::paintLayer and the Android
FASTER_MATRIX modification was not updated to reflect this. The difference is
that, compared to the intended code, the Android version misses a call to
makeMatrixRenderable, which in turn calls makeAffine, when calculating the
transform matrix.

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

Change-Id: Ibc25b92e64381642fc3bbcfd672c056a3d89e035

14 years agoMerge "Android doesn't need to build V8VoidCallback.cpp"
Steve Block [Thu, 18 Feb 2010 14:49:08 +0000 (06:49 -0800)]
Merge "Android doesn't need to build V8VoidCallback.cpp"

14 years agoAndroid doesn't need to build V8VoidCallback.cpp
Steve Block [Thu, 18 Feb 2010 13:21:38 +0000 (13:21 +0000)]
Android doesn't need to build V8VoidCallback.cpp

This matches Chromium

Change-Id: I386e4e307e16d8b06eaf258a73d78dfdd9645bf8

14 years agoMerge "Fixes a bug with the Geolocation suspend/resume behaviour"
Steve Block [Thu, 18 Feb 2010 14:37:45 +0000 (06:37 -0800)]
Merge "Fixes a bug with the Geolocation suspend/resume behaviour"

14 years agoMerge "Cherry-pick WebKit change 54957 to use V8 DerivedSourcesAllInOne.cpp"
Steve Block [Thu, 18 Feb 2010 14:32:09 +0000 (06:32 -0800)]
Merge "Cherry-pick WebKit change 54957 to use V8 DerivedSourcesAllInOne.cpp"

14 years agoMerge "Update touch event bindings for V8 in V8Index.cpp to match what landed to...
Ben Murdoch [Thu, 18 Feb 2010 14:24:39 +0000 (06:24 -0800)]
Merge "Update touch event bindings for V8 in V8Index.cpp to match what landed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=35094"

14 years agoCherry-pick WebKit change 54957 to use V8 DerivedSourcesAllInOne.cpp
Steve Block [Tue, 16 Feb 2010 16:40:51 +0000 (16:40 +0000)]
Cherry-pick WebKit change 54957 to use V8 DerivedSourcesAllInOne.cpp

This updates Android to match Chromium
See http://trac.webkit.org/changeset/54957

Change-Id: I41c082460f00e1c0ec32bf180205ca40fd2f190a

14 years agoUpdate touch event bindings for V8 in V8Index.cpp to match what landed to webkit...
Ben Murdoch [Thu, 18 Feb 2010 14:14:10 +0000 (14:14 +0000)]
Update touch event bindings for V8 in V8Index.cpp to match what landed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=35094

Change-Id: Id8bfd38800bf38de704efbad3afe9b8e53367d13

14 years agoMerge "minor fixes to layer nav"
Cary Clark [Thu, 18 Feb 2010 13:41:38 +0000 (05:41 -0800)]
Merge "minor fixes to layer nav"

14 years agoFix the V8 build.
Ben Murdoch [Thu, 18 Feb 2010 13:11:32 +0000 (13:11 +0000)]
Fix the V8 build.

Change-Id: I28ccbf06e6490f6be5e024218ec823dd156d79b2

14 years agoUpdate V8 Bindings for touch to match what's upstream, landed in http://trac.webkit...
Ben Murdoch [Tue, 16 Feb 2010 15:39:31 +0000 (15:39 +0000)]
Update V8 Bindings for touch to match what's upstream, landed in trac.webkit.org.changeset/54950

Change-Id: I7da830fcd1d996a23e3f9ca61fa668a99ad80431