OSDN Git Service

android-x86/external-webkit.git
12 years agoFix the missing controller for inline video.
Teng-Hui Zhu [Mon, 19 Sep 2011 22:56:58 +0000 (15:56 -0700)]
Fix the missing controller for inline video.

Bug:5340451
Change-Id: Ifd706f61f824d1019f998569774b600ae9a9f5b9

12 years agoMerge "Check for null selection in modifySelection"
Russell Brenner [Mon, 19 Sep 2011 20:57:08 +0000 (13:57 -0700)]
Merge "Check for null selection in modifySelection"

12 years agoMerge "We be GL ringing it all over them layers"
John Reck [Mon, 19 Sep 2011 18:07:26 +0000 (11:07 -0700)]
Merge "We be GL ringing it all over them layers"

12 years agoMerge "Prepare tiles in reverse draw order"
Chris Craik [Mon, 19 Sep 2011 18:06:25 +0000 (11:06 -0700)]
Merge "Prepare tiles in reverse draw order"

12 years agoPrepare tiles in reverse draw order
Chris Craik [Sun, 18 Sep 2011 21:29:47 +0000 (14:29 -0700)]
Prepare tiles in reverse draw order

bug:5335634

By preparing tiles in the reverse of draw order, tiles on top are given textures
first and less likely to be missing.

Change-Id: Idafde3e0789e24459bba2db150081969810a0021

12 years agoWe be GL ringing it all over them layers
John Reck [Sun, 18 Sep 2011 18:03:03 +0000 (11:03 -0700)]
We be GL ringing it all over them layers

 Bug: 5333083

Change-Id: Ia2b03d8d9e0167d06f8a900152e25e66372acd59

12 years agoMerge "Fix find-in-page to scroll to search results in layers"
Steve Block [Mon, 19 Sep 2011 17:43:09 +0000 (10:43 -0700)]
Merge "Fix find-in-page to scroll to search results in layers"

12 years agoFix one typo in the GL state restore
Teng-Hui Zhu [Sun, 18 Sep 2011 23:42:40 +0000 (16:42 -0700)]
Fix one typo in the GL state restore

bug:5044597

Change-Id: Ib70e48f4503a85952afb28da3a6c500b0c011bb8

12 years agoCheck for null selection in modifySelection
Russell Brenner [Tue, 13 Sep 2011 21:14:09 +0000 (14:14 -0700)]
Check for null selection in modifySelection

MoveSelection and supporting routines have appeared in one-off crash
reports for monkey runs. It's not yet clear whether or not these
conditions are human-reproducible, but returning an empty string when
a null selection is unexpectedly encountered in modifySelection()
should make the release build somewhat safer, while asserting in the
debug build.

Bug: 5244036
Change-Id: I4d492286cebf9884da0c675aa71175b8aa39f4b9

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Mon, 19 Sep 2011 15:00:39 +0000 (08:00 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: I624eabee29a69cd658c97a534da7033e6d51e727

12 years agoFix find-in-page to scroll to search results in layers
Steve Block [Mon, 12 Sep 2011 10:07:41 +0000 (11:07 +0100)]
Fix find-in-page to scroll to search results in layers

Note that this fix does not correctly handle search results in scrollable
layers. This will be done in a later fix.

Bug: 5262656
Change-Id: I9f16e2f0f0a94d2d8a6ad995bde1715c822d5dab

12 years agoMerge "Fix invalidation rect sizes"
Ben Murdoch [Mon, 19 Sep 2011 09:10:45 +0000 (02:10 -0700)]
Merge "Fix invalidation rect sizes"

12 years agoFix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE
Kristian Monsen [Thu, 15 Sep 2011 12:56:57 +0000 (13:56 +0100)]
Fix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE

Disabling SPDY as part of not reusing connections

Also needs the following CL in external/chromium:
https://android-git.corp.google.com/g/#/c/135472/

Change-Id: I246096834c5ca601435df0089fb7f59001506e54

12 years agoam 54168158: (-s ours) Fix for bug 5226268 [Browser] http keep-alive packets DO NOT...
Kristian Monsen [Sun, 18 Sep 2011 22:01:18 +0000 (15:01 -0700)]
am 54168158: (-s ours) Fix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE

* commit '541681581f45b3bee31c3ad44ff52642ed7e9ab5':
  Fix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE

12 years agoFix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE
Kristian Monsen [Thu, 15 Sep 2011 12:56:57 +0000 (13:56 +0100)]
Fix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGE

Disabling SPDY as part of not reusing connections

Also needs the following CL in external/chromium:
https://android-git.corp.google.com/g/#/c/135472/

Change-Id: I246096834c5ca601435df0089fb7f59001506e54

12 years agoMerge "Share the display from the UI thread"
Teng-Hui Zhu [Fri, 16 Sep 2011 21:24:40 +0000 (14:24 -0700)]
Merge "Share the display from the UI thread"

12 years agoMerge "Fix crash in WebViewCore::scrollNodeIntoView"
Ben Murdoch [Fri, 16 Sep 2011 18:20:47 +0000 (11:20 -0700)]
Merge "Fix crash in WebViewCore::scrollNodeIntoView"

12 years agoShare the display from the UI thread
Teng-Hui Zhu [Thu, 15 Sep 2011 20:58:26 +0000 (13:58 -0700)]
Share the display from the UI thread

Currently disable the wait b/c b/5332112.
For now it should be the same functionality as the original workaround by
using glDraw.

bug:5270526

Change-Id: Ia6d6739909994d6ed756c6b195e6cf7ee9518c54

12 years agoMerge "Add null checks in getTouchHighlightRects()"
Russell Brenner [Fri, 16 Sep 2011 16:42:02 +0000 (09:42 -0700)]
Merge "Add null checks in getTouchHighlightRects()"

12 years agoFix invalidation rect sizes
Ben Murdoch [Thu, 15 Sep 2011 11:01:40 +0000 (12:01 +0100)]
Fix invalidation rect sizes

When splitting the invalidation rect over the tiles that it
invalidates, we need to use the tile's offset to calculate the
top/left co-ordinate in the case that the inval rect only covers
part of the tile.

(See change Ie3b4be68 for the regression)

Bug: 4965594
Change-Id: I6a18f1d3d223f5389b0f4f35fab9e579f499e9da

12 years agoFix crash in WebViewCore::scrollNodeIntoView
Ben Murdoch [Fri, 16 Sep 2011 11:24:38 +0000 (12:24 +0100)]
Fix crash in WebViewCore::scrollNodeIntoView

Fix crash when traversing the node hierarchy. Need to
stop when parent() returns null.

Bug: 5244036
Change-Id: I4120d4b6ea14c0a20c84f6bb789573d03e1915b3

12 years agoAdd null checks in getTouchHighlightRects()
Russell Brenner [Thu, 15 Sep 2011 23:53:35 +0000 (16:53 -0700)]
Add null checks in getTouchHighlightRects()

Make sure renderer exists before calling it.

Bug: 5300238
Change-Id: Ie01bc1aaab3390d7c82be65a9b1d183167677e3c

12 years agoMerge "Fix Monkey crash in V8AbstractEventListener"
Ben Murdoch [Thu, 15 Sep 2011 18:01:09 +0000 (11:01 -0700)]
Merge "Fix Monkey crash in V8AbstractEventListener"

12 years agoMerge "Fix handling of empty URLs when setting up the NoDomain error page"
Steve Block [Thu, 15 Sep 2011 17:00:03 +0000 (10:00 -0700)]
Merge "Fix handling of empty URLs when setting up the NoDomain error page"

12 years agoFix Monkey crash in V8AbstractEventListener
Ben Murdoch [Thu, 15 Sep 2011 11:19:42 +0000 (12:19 +0100)]
Fix Monkey crash in V8AbstractEventListener

Monkey can trigger a situation such that script can execute while
the frame is detached. Not clear if this can be triggered in
normal usage, but the fix is simple enough.

Bug: 5201341
Change-Id: Id5701cc0947e30103f9168cf43fcb164c0fe8356

12 years agoMerge "Improve tile painting prioritization to minimize stalled, blank tiles"
Chris Craik [Wed, 14 Sep 2011 23:56:00 +0000 (16:56 -0700)]
Merge "Improve tile painting prioritization to minimize stalled, blank tiles"

12 years agoImprove tile painting prioritization to minimize stalled, blank tiles
Chris Craik [Wed, 14 Sep 2011 23:06:57 +0000 (16:06 -0700)]
Improve tile painting prioritization to minimize stalled, blank tiles

bug:5320450

* Greedily deallocate textures from stolen tiles

* Force all prioritization values to be positive

* Create simply described prioritization ordering:
    * Draw count
    * Has front texture?
    * position (if base tile)

Change-Id: Icd5dab931f735c14c18feef5186c8245c5956cfd

12 years agoMerge "A better WAR of driver issue by using GPU fence"
Teng-Hui Zhu [Wed, 14 Sep 2011 16:20:56 +0000 (09:20 -0700)]
Merge "A better WAR of driver issue by using GPU fence"

12 years agoMerge "Allocate textures based purely on viewport size"
Chris Craik [Tue, 13 Sep 2011 21:54:08 +0000 (14:54 -0700)]
Merge "Allocate textures based purely on viewport size"

12 years agoAllocate textures based purely on viewport size
Chris Craik [Tue, 13 Sep 2011 18:46:17 +0000 (11:46 -0700)]
Allocate textures based purely on viewport size

bug:5211417

Allocate textures based upon viewport size, instead of visible nr of tiles. This
will help prevent rare OOM issues triggering from a certain position in the
page.

Change-Id: Ib43fef0e0b9b8e4e26df448d67bb159a105e300c

12 years agoA better WAR of driver issue by using GPU fence
Teng-Hui Zhu [Tue, 13 Sep 2011 20:24:19 +0000 (13:24 -0700)]
A better WAR of driver issue by using GPU fence

bug:5270526
Change-Id: I790a3fc995edc73192b2bcb24eaa29e99434f2fb

12 years agoMerge "Fix layer tile allocation to be more consistent, less disco"
Chris Craik [Tue, 13 Sep 2011 17:03:55 +0000 (10:03 -0700)]
Merge "Fix layer tile allocation to be more consistent, less disco"

12 years agoFix layer tile allocation to be more consistent, less disco
Chris Craik [Mon, 12 Sep 2011 22:49:36 +0000 (15:49 -0700)]
Fix layer tile allocation to be more consistent, less disco

bug:5290559

Two major things:

* Avoid swapping front/back textures before the textures have been blitted to
  avoid race condition where blit fails because it doesn't see a back texture

* Don't allow a tile to acquire its front texture to paint into, as the
  acquisition logic doesn't handle this.

Change-Id: I84b59396ca9faaf3ddc7c75b6f66e4736bf4c3cf

12 years agoMerge "Fix the poster issue and full screen behavior html5 video"
Teng-Hui Zhu [Mon, 12 Sep 2011 22:57:44 +0000 (15:57 -0700)]
Merge "Fix the poster issue and full screen behavior html5 video"

12 years agoFix the poster issue and full screen behavior html5 video
Teng-Hui Zhu [Mon, 12 Sep 2011 18:20:44 +0000 (11:20 -0700)]
Fix the poster issue and full screen behavior html5 video

This is related to the change in https://bugs.webkit.org/show_bug.cgi?id=49481,
and it seems there is some following up discussion in this area.
We will just follow what we did from Honeycomb and work around issues for now.

bug:4523481

Change-Id: I3c2225afb078c24db423119a235266f222055431

12 years agoFix handling of empty URLs when setting up the NoDomain error page
Steve Block [Mon, 12 Sep 2011 15:03:58 +0000 (16:03 +0100)]
Fix handling of empty URLs when setting up the NoDomain error page

Bug: 5293606
Change-Id: Iace4f8a56bc4d8b8cbd01fb369cecf22564b7c8c

12 years agoFudge layer translation to always line up with view pixels
Chris Craik [Fri, 9 Sep 2011 18:56:55 +0000 (11:56 -0700)]
Fudge layer translation to always line up with view pixels

bug:3367478

Change-Id: I37632de8503b0f3eba0a183a156d71ea48bdba98

12 years agoMerge "If unlock base layer marks tiles dirty, repaint"
Chris Craik [Fri, 9 Sep 2011 18:04:00 +0000 (11:04 -0700)]
Merge "If unlock base layer marks tiles dirty, repaint"

12 years agoMerge "Hookup internal plumbing needed to expose new plugin API."
Derek Sollenberger [Fri, 9 Sep 2011 17:32:39 +0000 (10:32 -0700)]
Merge "Hookup internal plumbing needed to expose new plugin API."

12 years agoMerge "Cherry-pick WebKit change 93521 to fix FrameLoader"
Steve Block [Fri, 9 Sep 2011 16:18:25 +0000 (09:18 -0700)]
Merge "Cherry-pick WebKit change 93521 to fix FrameLoader"

12 years agoHookup internal plumbing needed to expose new plugin API.
Derek Sollenberger [Fri, 9 Sep 2011 14:03:09 +0000 (10:03 -0400)]
Hookup internal plumbing needed to expose new plugin API.

bug: 5239378
Change-Id: I2078db559315f93e8c43052bf9718566157f971b

12 years agoCherry-pick WebKit change 93521 to fix FrameLoader
Steve Block [Thu, 8 Sep 2011 10:31:09 +0000 (11:31 +0100)]
Cherry-pick WebKit change 93521 to fix FrameLoader

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

Note that the change did not apply cleanly to
FrameLoader::stopLoading() because we don't have
http://trac.webkit.org/changeset/90164. See bug for details.

Bug: 5264509
Change-Id: I824284b9daaa8bc033aebca558d5362ebfb617d8

12 years agoIf unlock base layer marks tiles dirty, repaint
Chris Craik [Thu, 8 Sep 2011 23:54:13 +0000 (16:54 -0700)]
If unlock base layer marks tiles dirty, repaint

bug:5278818
Change-Id: I03206bdc5e95743054c361f235e2d94b835a95d1

12 years agoMerge "Stop layer tile flickering"
Chris Craik [Thu, 8 Sep 2011 21:53:37 +0000 (14:53 -0700)]
Merge "Stop layer tile flickering"

12 years agoStop layer tile flickering
Chris Craik [Thu, 8 Sep 2011 21:09:43 +0000 (14:09 -0700)]
Stop layer tile flickering

bug:5265207
Don't steal textures with a draw count from last frame to prevent flickering

Change-Id: I0a37b2417f0721b150b47920feea9ddb1666ec28

12 years agoMerge "Deallocate graphics memory with onTrimMemory signals"
Chris Craik [Thu, 8 Sep 2011 20:40:18 +0000 (13:40 -0700)]
Merge "Deallocate graphics memory with onTrimMemory signals"

12 years agoMerge "Add Plugin API for a video framerate callback."
Derek Sollenberger [Thu, 8 Sep 2011 19:49:37 +0000 (12:49 -0700)]
Merge "Add Plugin API for a video framerate callback."

12 years agoDeallocate graphics memory with onTrimMemory signals
Chris Craik [Thu, 8 Sep 2011 03:04:24 +0000 (20:04 -0700)]
Deallocate graphics memory with onTrimMemory signals

bug:5269460
Deallocate the graphics memory backing a BaseTileTexture on onTrimMemory
signals, and accordingly allocate it lazily, as needed.

Change-Id: I52039723f47e6470e4fe8dd987d384017005390f

12 years agoMerge "Roll back fix for http://b/issue?id=4203823"
Ben Murdoch [Thu, 8 Sep 2011 17:59:32 +0000 (10:59 -0700)]
Merge "Roll back fix for b/issue?id=4203823"

12 years agoMerge "The CPU code path for uploading the textures"
Teng-Hui Zhu [Thu, 8 Sep 2011 16:40:28 +0000 (09:40 -0700)]
Merge "The CPU code path for uploading the textures"

12 years agoAdd Plugin API for a video framerate callback.
Derek Sollenberger [Thu, 8 Sep 2011 15:25:50 +0000 (11:25 -0400)]
Add Plugin API for a video framerate callback.

bug: 5239378
Change-Id: I5f7d33302d5a40f58ec12a3c0be63cb51d4ffc75

12 years agoRoll back fix for http://b/issue?id=4203823
Ben Murdoch [Thu, 8 Sep 2011 02:04:22 +0000 (03:04 +0100)]
Roll back fix for http://b/issue?id=4203823

Allow positioned divs with overflow to scroll.

Keeps tidying up that fix for http://b/issue?id=4203823 did and rolls
back the functional change.

Bug: 5216561§
Change-Id: I6268bbe880c432c87ca04e68697f66b32b7032d0

12 years agoMerge "Implement PictureSet(SkPicture*) ctor in FAST_PICTURESET case"
John Reck [Wed, 7 Sep 2011 23:08:34 +0000 (16:08 -0700)]
Merge "Implement PictureSet(SkPicture*) ctor in FAST_PICTURESET case"

12 years agoImplement PictureSet(SkPicture*) ctor in FAST_PICTURESET case
John Reck [Wed, 7 Sep 2011 22:16:17 +0000 (15:16 -0700)]
Implement PictureSet(SkPicture*) ctor in FAST_PICTURESET case

 Bug: 5270617

Change-Id: I5bcdf551a028588aa34956f98039d893d646b362

12 years agoMerge "Revert to allocate textures for layers which had overflow children."
Teng-Hui Zhu [Wed, 7 Sep 2011 21:44:47 +0000 (14:44 -0700)]
Merge "Revert to allocate textures for layers which had overflow children."

12 years agoMerge "OnTrimMemory plumbing"
John Reck [Wed, 7 Sep 2011 21:26:50 +0000 (14:26 -0700)]
Merge "OnTrimMemory plumbing"

12 years agoRevert to allocate textures for layers which had overflow children.
Teng-Hui Zhu [Wed, 7 Sep 2011 21:17:07 +0000 (14:17 -0700)]
Revert to allocate textures for layers which had overflow children.

The original change on minimizing the texture for the overflow layer is too
aggressive. Revert this until we have a better solution.

bug:5254818
Change-Id: I77b43f151e801dd896baf197b9e523d20f42b469

12 years agoOnTrimMemory plumbing
John Reck [Wed, 7 Sep 2011 18:33:07 +0000 (11:33 -0700)]
OnTrimMemory plumbing

 Bug: 5269460

Change-Id: Iad6513787b6737d45f1537973e08469005ed4dac

12 years agoMerge "Cherry-pick WebKit change 92744 to fix RenderObjectChildList"
Steve Block [Wed, 7 Sep 2011 16:45:18 +0000 (09:45 -0700)]
Merge "Cherry-pick WebKit change 92744 to fix RenderObjectChildList"

12 years agoCherry-pick WebKit change 92744 to fix RenderObjectChildList
Steve Block [Wed, 7 Sep 2011 15:45:49 +0000 (16:45 +0100)]
Cherry-pick WebKit change 92744 to fix RenderObjectChildList

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

Bug: 5263877
Change-Id: I672c48d3fb6dc90d0721b6c5638070eb944596f4

12 years agoMerge "Fix for plugin being "centered" to the left corner instead of center"
Derek Sollenberger [Wed, 7 Sep 2011 12:20:26 +0000 (05:20 -0700)]
Merge "Fix for plugin being "centered" to the left corner instead of center"

12 years agoThe CPU code path for uploading the textures
Teng-Hui Zhu [Fri, 2 Sep 2011 17:54:20 +0000 (10:54 -0700)]
The CPU code path for uploading the textures

This is just for debugging anything related to the driver/HW.

Change-Id: I26757f8259ec6b6c2406f78bf7aa9c5f527e31e7

12 years agoMerge "Cherry-pick WebKit change 85623 to fix RenderInline::culledInlineAbsoluteQuads()"
Steve Block [Tue, 6 Sep 2011 23:52:17 +0000 (16:52 -0700)]
Merge "Cherry-pick WebKit change 85623 to fix RenderInline::culledInlineAbsoluteQuads()"

12 years agoMerge "Fix logic error in Android style version calculation."
Ben Murdoch [Tue, 6 Sep 2011 23:38:59 +0000 (16:38 -0700)]
Merge "Fix logic error in Android style version calculation."

12 years agoMerge "Revert "WebView animation support""
Teng-Hui Zhu [Tue, 6 Sep 2011 22:59:48 +0000 (15:59 -0700)]
Merge "Revert "WebView animation support""

12 years agoFix logic error in Android style version calculation.
Ben Murdoch [Tue, 6 Sep 2011 22:49:12 +0000 (23:49 +0100)]
Fix logic error in Android style version calculation.

We need to update the style version on a width or height change,
and also detect a transition from display:none to display:something
(and vice versa) in which case WebKit will pass the display:none
style as a null pointer.

Bug: 5137070
Change-Id: I82fa3fbe990cfc4c733a2f4fed8be37f11e44ba4

12 years agoRevert "WebView animation support"
Teng-Hui Zhu [Tue, 6 Sep 2011 22:08:57 +0000 (15:08 -0700)]
Revert "WebView animation support"

This reverts commit 078f4452393311da6165131451fcf86e04e04f25.

bug:5264188
Change-Id: I3dd6cf46a168893aa3067615f2f0f902c6f66d74

12 years agoFix old textures not being repainted
Chris Craik [Tue, 6 Sep 2011 21:44:13 +0000 (14:44 -0700)]
Fix old textures not being repainted

bug:5261488

Tile textures that were reacquired by the same tiles weren't being marked as
dirty.

Change-Id: Ie5c41ff7a8166e5e48736bdc504b90e8c5512f79

12 years agoFix for plugin being "centered" to the left corner instead of center
Derek Sollenberger [Tue, 6 Sep 2011 20:03:58 +0000 (16:03 -0400)]
Fix for plugin being "centered" to the left corner instead of center

bug: 5149930
Change-Id: I23aa7f8292806897cbc99f7a36e6aec428daf859

12 years agoCherry-pick WebKit change 85623 to fix RenderInline::culledInlineAbsoluteQuads()
Steve Block [Tue, 6 Sep 2011 17:26:15 +0000 (18:26 +0100)]
Cherry-pick WebKit change 85623 to fix RenderInline::culledInlineAbsoluteQuads()

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

Bug: 4986300
Change-Id: If557cbd8c6914dc6875b87cfe04591f9bfa42047

12 years agoEnable double buffering via base tiles
Chris Craik [Mon, 29 Aug 2011 02:15:00 +0000 (19:15 -0700)]
Enable double buffering via base tiles

bug:2522049
allocate textures and tiles using the gldraw count when they were most recently
prepared

remaining issues:
-layers still flicker (presumably from texture stealing)
-layers aren't double buffered yet

Change-Id: Iccdf68326d7d476269d4e3a13903aaab249ee92d

12 years agoMerge "Fix the Java bridge to correctly handle null strings"
Steve Block [Fri, 2 Sep 2011 17:06:59 +0000 (10:06 -0700)]
Merge "Fix the Java bridge to correctly handle null strings"

12 years agoMerge changes Iebbac8a9,I854067cb
Steve Block [Fri, 2 Sep 2011 16:50:48 +0000 (09:50 -0700)]
Merge changes Iebbac8a9,I854067cb

* changes:
  Incorrect handling of 'display:' property within nested <ruby> tags
  Remove some unsafe static_cast in rendering/

12 years agoFix the Java bridge to correctly handle null strings
Steve Block [Thu, 1 Sep 2011 11:08:57 +0000 (12:08 +0100)]
Fix the Java bridge to correctly handle null strings

Passing null to methods expecting java/lang/String ...
- Previously null was converted to the empty string but should be
  converted to Java null.
- convertNPVariantToJavaValue() already converts a null NPVariant to a
  null WTF::String.
- Fixed javaValueToJvalue() to convert a null WTF::String to a null
  jvalue.

Returning null from a method with return type java/lang/String ...
- Previously this would crash when trying to get the characters from
  the null jstring, but should return JavaScript undefined.
- Fixed jvalueToJavaValue() to convert a null jvalue to a null
  WTF::String.
- Fixed convertJavaValueToNPVariant() to convert a null WTF::String to
  a void NPVariant.

Both of these are regressions from HC due to
http://trac.webkit.org/changeset/82194.

Added tests in https://android-git.corp.google.com/g/#/c/132580

Bug: 5222742
Change-Id: Id08bc7b40a51426fa7638ad0ed5260d09f3e28bb

12 years agoIncorrect handling of 'display:' property within nested <ruby> tags
Steve Block [Fri, 2 Sep 2011 09:16:42 +0000 (10:16 +0100)]
Incorrect handling of 'display:' property within nested <ruby> tags

This is a cherry-pick of
http://trac.webkit.org/changeset/89987

Bug: 5244760
Change-Id: Iebbac8a93d6aabd0f8d568c9b1ace6f9316a6b6c

12 years agoRemove some unsafe static_cast in rendering/
Steve Block [Fri, 2 Sep 2011 09:15:02 +0000 (10:15 +0100)]
Remove some unsafe static_cast in rendering/

This is a partial cherry-pick of
http://trac.webkit.org/changeset/89304

It is required to allow us to cherry-pick
http://trac.webkit.org/changeset/89987

Bug: 5244760
Change-Id: I854067cbc297e667ec432f947a268eef5c4dfa0f

12 years agoMerge "Closing idle connections, including jni interface"
Kristian Monsen [Fri, 2 Sep 2011 03:30:10 +0000 (20:30 -0700)]
Merge "Closing idle connections, including jni interface"

12 years agoClosing idle connections, including jni interface
Kristian Monsen [Thu, 25 Aug 2011 19:33:21 +0000 (20:33 +0100)]
Closing idle connections, including jni interface

Part of fix for bug 4487538 Current Drain

Change-Id: Ib08ea52c1c71726b76a5811663b6990aa13146ad

12 years agoMerge "Reapply CL for: "Fix for antialiased text with shadows.""
Derek Sollenberger [Thu, 1 Sep 2011 19:53:19 +0000 (12:53 -0700)]
Merge "Reapply CL for: "Fix for antialiased text with shadows.""

12 years agoMerge "WebView animation support"
Teng-Hui Zhu [Thu, 1 Sep 2011 16:30:09 +0000 (09:30 -0700)]
Merge "WebView animation support"

12 years agoMerge "Allow native to query selection region"
John Reck [Thu, 1 Sep 2011 15:43:25 +0000 (08:43 -0700)]
Merge "Allow native to query selection region"

12 years agoReapply CL for: "Fix for antialiased text with shadows."
Derek Sollenberger [Thu, 1 Sep 2011 13:04:10 +0000 (06:04 -0700)]
Reapply CL for: "Fix for antialiased text with shadows."

This reverts commit e6303b0e3d1473670390053d70a691697ac8b0e6

12 years agoMerge "Fix some leaked JNI local references in the Java Bridge"
Steve Block [Thu, 1 Sep 2011 09:00:48 +0000 (02:00 -0700)]
Merge "Fix some leaked JNI local references in the Java Bridge"

12 years agoFix some leaked JNI local references in the Java Bridge
Steve Block [Wed, 6 Jul 2011 11:57:47 +0000 (12:57 +0100)]
Fix some leaked JNI local references in the Java Bridge

This includes a cherry-pick of http://trac.webkit.org/changeset/92689

Bug: 5244518
Change-Id: I38704f2307ab667ee6019fb096265609e27618cc

12 years agoAllow native to query selection region
John Reck [Thu, 1 Sep 2011 00:01:41 +0000 (17:01 -0700)]
Allow native to query selection region

 Bug: 5224394
 Bug: 5208328

Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca

12 years agoWebView animation support
Teng-Hui Zhu [Wed, 31 Aug 2011 21:46:17 +0000 (14:46 -0700)]
WebView animation support

bug:4982054
Change-Id: I6f4fe313d242f728a515c485a2531611d7166198

12 years agoDisable UI-side animations for now, and let webkit deal with them.
Nicolas Roard [Wed, 31 Aug 2011 22:06:47 +0000 (15:06 -0700)]
Disable UI-side animations for now, and let webkit deal with them.
Webkit communication/updates are now fast enough that it's not really an
issue, and this fixes a few annoying bugs.

bug:4104067
Change-Id: I5994f37de488bb5df1cd06523ed4f0c8cc8a2027

12 years agoEnable the FAST_PICTURESET codepath
Nicolas Roard [Wed, 31 Aug 2011 20:51:42 +0000 (13:51 -0700)]
Enable the FAST_PICTURESET codepath

bug:5218173 bug:5145259
Change-Id: I4518185eb8501dffeef99c08c4ae703c63326e91

12 years agoMerge "Implement a faster pictureset Cluster the invalidations in regular buckets"
Nicolas Roard [Wed, 31 Aug 2011 20:21:42 +0000 (13:21 -0700)]
Merge "Implement a faster pictureset Cluster the invalidations in regular buckets"

12 years agoImplement a faster pictureset
Nicolas Roard [Wed, 31 Aug 2011 02:33:56 +0000 (19:33 -0700)]
Implement a faster pictureset
Cluster the invalidations in regular buckets

bug:5218173 bug:5145259

Change-Id: Ie3b4be6848b51ca0306bd163803635f9481ace9b

12 years agoMerge "Make sure WebViewClient.onPageStarted() doesn't preceed WebViewClient.shouldOv...
Steve Block [Wed, 31 Aug 2011 13:23:18 +0000 (06:23 -0700)]
Merge "Make sure WebViewClient.onPageStarted() doesn't preceed WebViewClient.shouldOverrideUrlLoading()"

12 years agoMake sure WebViewClient.onPageStarted() doesn't preceed WebViewClient.shouldOverrideU...
Steve Block [Thu, 25 Aug 2011 11:41:57 +0000 (12:41 +0100)]
Make sure WebViewClient.onPageStarted() doesn't preceed WebViewClient.shouldOverrideUrlLoading()

In the case of a server-side redirect, we were triggering a callback to
WebViewClient.onPageStarted() before we'd called
WebViewClient.shouldOverrideUrlLoading().

This change delays calling WebViewClient.onPageStarted() until after
WebViewClient.shouldOverrideUrlLoading() has returned and has indicated that the
WebView should continue with the load.

Bug: 5191031
Change-Id: I43d12c4df46e5d6e2defad10e80efbf0d5c30aed

12 years agoReduce the number of dirty buffers (not needed anymore)
Nicolas Roard [Wed, 31 Aug 2011 00:21:01 +0000 (17:21 -0700)]
Reduce the number of dirty buffers (not needed anymore)

bug:5145259
Change-Id: I05ab5682a1a95b5d0f14c6ff7609b8f6141a2fc5

12 years agoFix repaint issues with BaseTile
Nicolas Roard [Wed, 31 Aug 2011 00:13:28 +0000 (17:13 -0700)]
Fix repaint issues with BaseTile

bug:5225313
Change-Id: I1cf4f60f005f00f8b1cc8454fce189b6a91d2dac

12 years agoMerge "Fix the null pointer crash when playing full screen video."
Teng-Hui Zhu [Tue, 30 Aug 2011 16:22:26 +0000 (09:22 -0700)]
Merge "Fix the null pointer crash when playing full screen video."

12 years agoFix the null pointer crash when playing full screen video.
Teng-Hui Zhu [Mon, 29 Aug 2011 22:11:12 +0000 (15:11 -0700)]
Fix the null pointer crash when playing full screen video.

bug:5220693
Change-Id: I3696a8523c3328363ec9d162ef32525c7fbab930

12 years agoMerge "Add Harfbuzz support for fallback fonts (redux)"
Russell Brenner [Mon, 29 Aug 2011 18:38:24 +0000 (11:38 -0700)]
Merge "Add Harfbuzz support for fallback fonts (redux)"

12 years agoFix plugin crashes due to bad ref counting.
Derek Sollenberger [Mon, 29 Aug 2011 17:51:19 +0000 (13:51 -0400)]
Fix plugin crashes due to bad ref counting.

bug: 5197948
Change-Id: Iece573a141feda56af2123b5fc9ace4cefa5139d

12 years agoFix PictureSet invlidation rectangle bug
Ben Murdoch [Fri, 26 Aug 2011 15:14:44 +0000 (16:14 +0100)]
Fix PictureSet invlidation rectangle  bug

Set the height of the invalidation rectangle correctly. The last
parameter to SkRect::set should be the bottom of the rectangle,
not the desited height.

Also, clear the content when we navigate between pages to avoid
showing any stale content.

Bug: 5213749

Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a

12 years agoFix crash when scrolling non-HW accelerated WebView
Ben Murdoch [Fri, 26 Aug 2011 10:35:50 +0000 (11:35 +0100)]
Fix crash when scrolling non-HW accelerated WebView

Need to null check m_glWebViewState. It should also have
a compile time guard.

Bug: 5219373
Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b