OSDN Git Service

android-x86/external-webkit.git
13 years agoMerge "Selectively enable and disable GL_BLEND for better performance."
Derek Sollenberger [Wed, 16 Feb 2011 20:48:46 +0000 (12:48 -0800)]
Merge "Selectively enable and disable GL_BLEND for better performance."

13 years agoSelectively enable and disable GL_BLEND for better performance.
Derek Sollenberger [Mon, 14 Feb 2011 16:26:30 +0000 (11:26 -0500)]
Selectively enable and disable GL_BLEND for better performance.

Change-Id: I473e2bff91c2e0b1ec2436f0666506023a7c0945

13 years agoMerge "Clip nodes to the visible rect."
Patrick Scott [Wed, 16 Feb 2011 20:00:23 +0000 (12:00 -0800)]
Merge "Clip nodes to the visible rect."

13 years agoClip nodes to the visible rect.
Patrick Scott [Wed, 16 Feb 2011 18:35:37 +0000 (13:35 -0500)]
Clip nodes to the visible rect.

Do not build scrollable layers if the layer does not draw. No need to ask for a
sync since the rebuild happens during a sync.

Bug: 3429982
Change-Id: I7740cd4de4e1658e760da7391de708cbdf05cd44

13 years agoMerge "match UI text selection background color"
Cary Clark [Wed, 16 Feb 2011 15:57:03 +0000 (07:57 -0800)]
Merge "match UI text selection background color"

13 years agoMerge "apply essential security patches"
Cary Clark [Wed, 16 Feb 2011 15:56:22 +0000 (07:56 -0800)]
Merge "apply essential security patches"

13 years agomatch UI text selection background color
Cary Clark [Wed, 16 Feb 2011 14:45:27 +0000 (09:45 -0500)]
match UI text selection background color

bug:3451973
Change-Id: Ie334c54ebb6b5b1083616739f9a90b8e8f3b6693

13 years agoMerge "Improve layers repaint speed. Computing the layers texture size is heavy;...
Nicolas Roard [Wed, 16 Feb 2011 01:57:48 +0000 (17:57 -0800)]
Merge "Improve layers repaint speed. Computing the layers texture size is heavy; we delay this computation if one was done recently."

13 years agoImprove layers repaint speed.
Nicolas Roard [Wed, 16 Feb 2011 01:48:19 +0000 (17:48 -0800)]
Improve layers repaint speed.
Computing the layers texture size is heavy; we delay this
computation if one was done recently.

bug:3375416
Change-Id: I0ce79cdfcaa15cd1521370a1d5b8df5a5e5ea2c5

13 years agoMerge "Set correct max texture allocations."
Shimeng (Simon) Wang [Tue, 15 Feb 2011 22:46:14 +0000 (14:46 -0800)]
Merge "Set correct max texture allocations."

13 years agoSet correct max texture allocations.
Shimeng (Simon) Wang [Tue, 15 Feb 2011 22:30:49 +0000 (14:30 -0800)]
Set correct max texture allocations.

This fixes core dump or dead lock in GL code when rotating screen.

Change-Id: I5da2e5a41dfdb18f98f126d2a2fac999210ce7c7

13 years agoMerge "fix buttons in GL"
Cary Clark [Tue, 15 Feb 2011 20:55:15 +0000 (12:55 -0800)]
Merge "fix buttons in GL"

13 years agofix buttons in GL
Cary Clark [Tue, 15 Feb 2011 19:57:24 +0000 (14:57 -0500)]
fix buttons in GL

Buttons failed to draw when selected with the keyboard, and
sometimes when selected by touch, for three reasons:

1) GL short-circuits if the last extra rectangle and the
   curent extra rectangle match. When buttons change color,
   the rectangles do match, but the picture still needs to
   be redrawn.

2) Buttons do not have cursor rings, so the button's bounds
   was not passed to GL.

3) The timeout logic to switch from a focused state to a normal
   state was incorrect.

This adds a flag to GLWebViewState::setExtra that can skip the
equal rectangle case. Note that the equal rectangle test hides
a more serious bug where the setExtra is called repeatedly -- so
it would be worthwhile to examine this further.

The logic that determines if the cursor is a button was split
out so that the cursor ring can be associated with a button even
if the cursor is hidden.

bug:3364248
Change-Id: I75944cb045486c128743aa13922d20758ccf783f

13 years agoA couple of fixes for scrolling layers.
Patrick Scott [Tue, 15 Feb 2011 16:21:28 +0000 (11:21 -0500)]
A couple of fixes for scrolling layers.

Update the layer structure during compositing sync. Make sure to turn off
scrolling if it changes.

Since I replace the content layer with a different structure, append the
children to the foreground layer so they move with the content. Remove the
clipping layer in the compositor for scrollable layers.

For children of scrollable layers, add back in the content scroll offset so that
layers are positioned relative to 0,0.

Bug: 3416512
Change-Id: I74de90aac2dcf67bd969d0b85f440343123ecab9

13 years agoapply essential security patches
Cary Clark [Mon, 14 Feb 2011 21:10:15 +0000 (16:10 -0500)]
apply essential security patches

bug:3341457
bug:3341449
Change-Id: I7ba58e63a6bcf992b76eb2f5557c26ff30e63ef6

13 years agoMerge "don't combine single image bitmaps"
Cary Clark [Mon, 14 Feb 2011 20:10:25 +0000 (12:10 -0800)]
Merge "don't combine single image bitmaps"

13 years agodon't combine single image bitmaps
Cary Clark [Mon, 14 Feb 2011 19:26:57 +0000 (14:26 -0500)]
don't combine single image bitmaps

Anchors and other links often contain multiple bitmaps, which must
be stitched together when analyzing the picture data to determine
if the anchor is fully visible, partially occluded, or fully hidden.
For instance, nine-patches in WebKit appear as adjacent bitmaps.

If a website design has two or more bitmaps adjacent to each other,
these may be mistakenly joined. By tracking whether the original
node contained exactly one img element, combining bitmaps based
on their location is avoided unncessarily.

bug:3373743
Change-Id: I5bcbdaec3097a2b839ee2444e512a0def6a016d0

13 years agoMerge "Generate well-formed makrup for accessibility events."
Svetoslav Ganov [Mon, 14 Feb 2011 18:17:23 +0000 (10:17 -0800)]
Merge "Generate well-formed makrup for accessibility events."

13 years agoGenerate well-formed makrup for accessibility events.
Svetoslav Ganov [Fri, 11 Feb 2011 02:27:54 +0000 (18:27 -0800)]
Generate well-formed makrup for accessibility events.

bug:3444147

1. Removed the code that incorrectly strips CSS spans appended
   by WebKit. This CSS information is now propagated to the
   client applications such as TalkBack.

2. Renamed getImplicitAnchorOrOffsetNode to getImplicitBoundaryNode.

Change-Id: I6618be4d208fafd223ba09fb90c393046121ca88

13 years agoMerge "remove unused helper class"
Cary Clark [Mon, 14 Feb 2011 16:22:37 +0000 (08:22 -0800)]
Merge "remove unused helper class"

13 years agoremove unused helper class
Cary Clark [Mon, 14 Feb 2011 15:50:57 +0000 (10:50 -0500)]
remove unused helper class

Change-Id: Icfb3ccfb8f89486604f1d63ab40e13d28d00cf7c

13 years agoMerge "Adding debug information about requests. #ifdef out by default"
Kristian Monsen [Mon, 14 Feb 2011 15:36:51 +0000 (07:36 -0800)]
Merge "Adding debug information about requests. #ifdef out by default"

13 years agoMerge "Partly fix for bug 3410366"
Kristian Monsen [Mon, 14 Feb 2011 15:36:39 +0000 (07:36 -0800)]
Merge "Partly fix for bug 3410366"

13 years agoFix GL_BLEND problem.
Nicolas Roard [Fri, 11 Feb 2011 19:38:49 +0000 (11:38 -0800)]
Fix GL_BLEND problem.
glBindAttribLocation() will only work after a shader has been linked;
This was working previously due to the way the nvidia driver work
when using blending (it generates another shader).

Change-Id: Ia8bf578e214a02c7a7b3ad47600fca87fce73ac8

13 years agoClip layers if the texture size is too large for the GPU
Nicolas Roard [Fri, 11 Feb 2011 18:00:52 +0000 (10:00 -0800)]
Clip layers if the texture size is too large for the GPU

bug:3436987
Change-Id: I180b9f54b9db5d190ca2832bea8b9ff210a0619a

13 years agoMerge "Fix ANR in the browser Sometimes we were not releasing textures as they were...
Nicolas Roard [Fri, 11 Feb 2011 03:33:59 +0000 (19:33 -0800)]
Merge "Fix ANR in the browser Sometimes we were not releasing textures as they were busy; they could still be deleted when swapping the layers trees, and as they were also still present in the LayerTexture Hashmap this was causing an ANR (at best -- the texture was already deallocated, the LayerTexture dtor was then trying to release() them...)"

13 years agoFix ANR in the browser
Nicolas Roard [Fri, 11 Feb 2011 01:05:41 +0000 (17:05 -0800)]
Fix ANR in the browser
Sometimes we were not releasing textures as they were busy; they could
still be deleted when swapping the layers trees, and as they were
also still present in the LayerTexture Hashmap this was causing an ANR
(at best -- the texture was already deallocated, the LayerTexture dtor
was then trying to release() them...)

bug:3398660
Change-Id: I2747dd4630a2a7dc18eae4c5fde36fd14c461747

13 years agoMerge "b/3416864 Pass the certificate info from native to JAVA."
Huahui Wu [Thu, 10 Feb 2011 23:00:15 +0000 (15:00 -0800)]
Merge "b/3416864 Pass the certificate info from native to JAVA."

13 years agob/3416864 Pass the certificate info from native to JAVA.
Huahui Wu [Thu, 10 Feb 2011 22:39:12 +0000 (14:39 -0800)]
b/3416864 Pass the certificate info from native to JAVA.

Change-Id: I797ab2d6ce6a07561c710d8b3262e548770eb477

13 years agoMerge "Only update history position if scrolling is done by user."
Shimeng (Simon) Wang [Thu, 10 Feb 2011 22:18:41 +0000 (14:18 -0800)]
Merge "Only update history position if scrolling is done by user."

13 years agoMerge "Do not accept cookies for file scheme URLs by default"
Steve Block [Thu, 10 Feb 2011 21:59:04 +0000 (13:59 -0800)]
Merge "Do not accept cookies for file scheme URLs by default"

13 years agoDo not accept cookies for file scheme URLs by default
Kristian Monsen [Mon, 6 Dec 2010 13:43:13 +0000 (13:43 +0000)]
Do not accept cookies for file scheme URLs by default

This change also adds a getter and setter to CookieMananager to allow
this policy to be configured.

Bug: 2944150
Change-Id: I48668b0d0f2b81581b98933a9399719626da6033

13 years agoOnly update history position if scrolling is done by user.
Shimeng (Simon) Wang [Thu, 10 Feb 2011 21:38:41 +0000 (13:38 -0800)]
Only update history position if scrolling is done by user.

issue: 3433562
Change-Id: I520f50cc6657f0a244860e01d38e3f71607fe665

13 years agoremove obsolete nav cache dump statement
Cary Clark [Thu, 10 Feb 2011 17:36:20 +0000 (12:36 -0500)]
remove obsolete nav cache dump statement

The fix for the bug below to remove part of CachedLayer wasn't
reflected in the nav cache dump.

bug:3398340
Change-Id: I77723680bed88ecf2f9d11cd56fada111a4a785b

13 years agoMerge changes I0c422ecd,Ia06decf9
Teng-Hui Zhu [Thu, 10 Feb 2011 17:11:10 +0000 (09:11 -0800)]
Merge changes I0c422ecd,Ia06decf9

* changes:
  Improve the fixed element position calculation
  Revert "A temp WAR for fixed element position update"

13 years agoImprove the fixed element position calculation
Teng-Hui Zhu [Wed, 9 Feb 2011 02:33:22 +0000 (18:33 -0800)]
Improve the fixed element position calculation

In the previous WAR, we get the screen size from UI thread at every draw call.
That is awkward.

Now with Java side fix, we can get the screen size from setSize call now.
However, forcing a full re-layout seems like an expensive operation.
What we need to make the webkit to know the update can be done by just
updating the fixed position elements only.

So I have done these:
1. Take away the WAR by forcing the update at the convertToLayerCoord.
2. Get rid of the UI thread stuff used to tell WebViewCore the screen size.
And get rid of the redundant variables, too.
3. update the fixed element at the setSize time.

BTW, I also rename the PlatformBridge functions name.

bug: 3397602

Change-Id: I0c422ecdb570de89aecb6e568d5067acf18ecfc6

13 years agoMerge "Consolidate scrolling methods."
Patrick Scott [Wed, 9 Feb 2011 23:44:28 +0000 (15:44 -0800)]
Merge "Consolidate scrolling methods."

13 years agoConsolidate scrolling methods.
Patrick Scott [Fri, 4 Feb 2011 11:44:22 +0000 (06:44 -0500)]
Consolidate scrolling methods.

Call through to a single java function to scroll the page.  Always use scrollTo
so that there isn't a problem with using scrollBy on an old or out-of-sync
scroll position.

Bug: 3187015
Change-Id: I4a75256687e53ed18c1f73970e9032f476b81859

13 years agoWevView accessibility no JavaScript - clean up, null poiner error.
Svetoslav Ganov [Sun, 6 Feb 2011 21:38:51 +0000 (13:38 -0800)]
WevView accessibility no JavaScript - clean up, null poiner error.

bug:3421690

1. Added explicit checks for error/null pointer at places
   where such check were missing.

2. Fixed skipping of som einput cotrols while traversing backwards.

3. Factored out common code.

4. Input controls were not correctly selected after scrolling
   the view port.

5. Imroved node visibility checking.

Change-Id: Idfec7e6a17ac8531f6b073ad6d858932e0921767

13 years agoRevert "A temp WAR for fixed element position update"
Teng-Hui Zhu [Wed, 9 Feb 2011 01:49:45 +0000 (17:49 -0800)]
Revert "A temp WAR for fixed element position update"

This reverts commit 968791c5f1c465f0633c618fda279246ba213fdf.

13 years agoGuard autofill correctly.
Ben Murdoch [Tue, 8 Feb 2011 17:44:29 +0000 (17:44 +0000)]
Guard autofill correctly.

Bug: 3411200

Change-Id: I6e80795413d68ac1b7b9ada4ac44901916d6efbf

13 years agoam 43f07e98: am a046a139: Merge "Fix crash in RenderLayer due to null pointer" into...
Ben Murdoch [Mon, 7 Feb 2011 22:28:35 +0000 (14:28 -0800)]
am 43f07e98: am a046a139: Merge "Fix crash in RenderLayer due to null pointer" into honeycomb

* commit '43f07e986c22b72e93c01c715d00755bb30f6e74':
  Fix crash in RenderLayer due to null pointer

13 years agoam a046a139: Merge "Fix crash in RenderLayer due to null pointer" into honeycomb
Ben Murdoch [Mon, 7 Feb 2011 22:26:24 +0000 (14:26 -0800)]
am a046a139: Merge "Fix crash in RenderLayer due to null pointer" into honeycomb

* commit 'a046a139c49a1c3e9e85101aeca4b68b89c396ca':
  Fix crash in RenderLayer due to null pointer

13 years agoMerge "Fix crash in RenderLayer due to null pointer" into honeycomb
Ben Murdoch [Mon, 7 Feb 2011 22:24:20 +0000 (14:24 -0800)]
Merge "Fix crash in RenderLayer due to null pointer" into honeycomb

13 years agoam b50b0e16: am 4a181ab9: Merge "Fix 3366514 (again): browser emulator crash" into...
Russell Brenner [Mon, 7 Feb 2011 21:52:14 +0000 (13:52 -0800)]
am b50b0e16: am 4a181ab9: Merge "Fix 3366514 (again): browser emulator crash" into honeycomb

* commit 'b50b0e165c9c308b9a4a1824db6ef52a00acadf5':
  Fix 3366514 (again): browser emulator crash

13 years agoam ad1398b8: am 79f07c99: Fix to post an inval when plugins request a native video...
Derek Sollenberger [Mon, 7 Feb 2011 21:50:58 +0000 (13:50 -0800)]
am ad1398b8: am 79f07c99: Fix to post an inval when plugins request a native video surface.

* commit 'ad1398b85d7cef3bd7c3dc833921fcdb3c7f06f6':
  Fix to post an inval when plugins request a native video surface.

13 years agoam 4fff0b9f: am 2bac1e45: Only invalidate the webview when the plugin has new content.
Derek Sollenberger [Mon, 7 Feb 2011 21:44:49 +0000 (13:44 -0800)]
am 4fff0b9f: am 2bac1e45: Only invalidate the webview when the plugin has new content.

* commit '4fff0b9fdd23cd60b036e2ea48190e7a7d8dbf13':
  Only invalidate the webview when the plugin has new content.

13 years agoam 4a181ab9: Merge "Fix 3366514 (again): browser emulator crash" into honeycomb
Russell Brenner [Mon, 7 Feb 2011 21:33:03 +0000 (13:33 -0800)]
am 4a181ab9: Merge "Fix 3366514 (again): browser emulator crash" into honeycomb

* commit '4a181ab990b9a9d3e84ef21bea182c21b0c32414':
  Fix 3366514 (again): browser emulator crash

13 years agoMerge "Fix 3366514 (again): browser emulator crash" into honeycomb
Russell Brenner [Mon, 7 Feb 2011 21:30:38 +0000 (13:30 -0800)]
Merge "Fix 3366514 (again): browser emulator crash" into honeycomb

13 years agoFix crash in RenderLayer due to null pointer
Ben Murdoch [Mon, 7 Feb 2011 20:33:23 +0000 (20:33 +0000)]
Fix crash in RenderLayer due to null pointer

It is possible that there is no node associated with the RenderLayer
after scroll as evidenced by the null check outside the
ANDROID_OVERFLOW_SCROLL block.

Bug: 3427863
Change-Id: Icbae7677df46eae923460d6f97a6a706f016e89d

13 years agoam 79f07c99: Fix to post an inval when plugins request a native video surface.
Derek Sollenberger [Sun, 6 Feb 2011 03:14:14 +0000 (19:14 -0800)]
am 79f07c99: Fix to post an inval when plugins request a native video surface.

* commit '79f07c999ff47d31cb788a64e35bfc04e7ed394d':
  Fix to post an inval when plugins request a native video surface.

13 years agoFix to post an inval when plugins request a native video surface.
Derek Sollenberger [Sat, 5 Feb 2011 13:38:03 +0000 (08:38 -0500)]
Fix to post an inval when plugins request a native video surface.

Change-Id: If9295a37ae19e7cb913e4cfa75b2a021bcda988f

13 years agoAdd brackets which are missing
Teng-Hui Zhu [Fri, 4 Feb 2011 19:41:32 +0000 (11:41 -0800)]
Add brackets which are missing

bug: 3407198
Change-Id: I9902f4adf18ea181eaff284444313f47883ed7be

13 years agoam 2bac1e45: Only invalidate the webview when the plugin has new content.
Derek Sollenberger [Fri, 4 Feb 2011 19:26:56 +0000 (11:26 -0800)]
am 2bac1e45: Only invalidate the webview when the plugin has new content.

* commit '2bac1e45807d68b80f4a5cc7a62d0e3c24a4b6f6':
  Only invalidate the webview when the plugin has new content.

13 years agoOnly invalidate the webview when the plugin has new content.
Derek Sollenberger [Fri, 4 Feb 2011 16:57:40 +0000 (11:57 -0500)]
Only invalidate the webview when the plugin has new content.

bug: 3424551
Change-Id: I07beef845bb41980144222c3c5d076db8120037c

13 years agoStore form data when it is submitted.
Leon Scroggins [Thu, 3 Feb 2011 21:29:06 +0000 (16:29 -0500)]
Store form data when it is submitted.

Bug:3280725

Store form data when submitted rather than when a
page loads.

Requires a change in frameworks/base.

Change-Id: Ib2328270a91d8d618a40a1353bf50337bbf608aa

13 years agoam 747837fe: am afd330e2: Merge "stop GL drawing thread before killing WebCore" into...
Cary Clark [Fri, 4 Feb 2011 01:17:52 +0000 (17:17 -0800)]
am 747837fe: am afd330e2: Merge "stop GL drawing thread before killing WebCore" into honeycomb

* commit '747837fe962a5320bbad6e3c3857e94fb6e9aeab':
  stop GL drawing thread before killing WebCore

13 years agoam afd330e2: Merge "stop GL drawing thread before killing WebCore" into honeycomb
Cary Clark [Thu, 3 Feb 2011 16:52:44 +0000 (08:52 -0800)]
am afd330e2: Merge "stop GL drawing thread before killing WebCore" into honeycomb

* commit 'afd330e2308bd382fb7d31431cb47e2d7a99f26a':
  stop GL drawing thread before killing WebCore

13 years agoMerge "stop GL drawing thread before killing WebCore" into honeycomb
Cary Clark [Thu, 3 Feb 2011 16:48:11 +0000 (08:48 -0800)]
Merge "stop GL drawing thread before killing WebCore" into honeycomb

13 years agoUse ListBoxPopupMenuClient for listboxes.
Leon Scroggins [Tue, 1 Feb 2011 22:15:19 +0000 (17:15 -0500)]
Use ListBoxPopupMenuClient for listboxes.

Bug:2754767

Enables us to remove some layering violations.

Change-Id: Iea184c7946bca9d840c708918f545a9d9b436254

13 years agostop GL drawing thread before killing WebCore
Cary Clark [Thu, 3 Feb 2011 10:30:28 +0000 (05:30 -0500)]
stop GL drawing thread before killing WebCore

The TexturesGenerator thread references pictures owned by the
WebCore thread, so must be stopped before the WebCore thread
is deleted.

Requires a companion change in frameworks/base

bug:3406185
Change-Id: I20e64631bbf4a1b88fb015f3de36ce292234537d

13 years agoam 0c8049e5: (-s ours) am 9cf12c62: DO NOT MERGE. Pass an extra boolean with scrollTo...
Leon Scroggins [Wed, 2 Feb 2011 23:08:06 +0000 (15:08 -0800)]
am 0c8049e5: (-s ours) am 9cf12c62: DO NOT MERGE. Pass an extra boolean with scrollTo message.

* commit '0c8049e572bb819540b684144ce38bbd96725d5c':
  DO NOT MERGE. Pass an extra boolean with scrollTo message.

13 years agoam 9cf12c62: DO NOT MERGE. Pass an extra boolean with scrollTo message.
Leon Scroggins [Wed, 2 Feb 2011 23:04:41 +0000 (15:04 -0800)]
am 9cf12c62: DO NOT MERGE. Pass an extra boolean with scrollTo message.

* commit '9cf12c625361d6006f44e36bb3a61472c8f6c3ac':
  DO NOT MERGE. Pass an extra boolean with scrollTo message.

13 years agoDO NOT MERGE. Pass an extra boolean with scrollTo message.
Leon Scroggins [Tue, 1 Feb 2011 16:02:25 +0000 (11:02 -0500)]
DO NOT MERGE. Pass an extra boolean with scrollTo message.

Bug:3411564

When the size changes, add a boolean to the scroll
message to only honor the scroll in the case that
the IME is actually showing.

Requires a change to frameworks/base.

Already submitted to master.

Change-Id: I35612dcecfddaa0623dc8f414229703c6a97191b

13 years agoam a5082a9a: am 9962eeba: Fix for bug 3414354 crash in navcache
Kristian Monsen [Wed, 2 Feb 2011 18:09:14 +0000 (10:09 -0800)]
am a5082a9a: am 9962eeba: Fix for bug 3414354 crash in navcache

* commit 'a5082a9a9fd6c8933d64acea70d81c4bd97d795a':
  Fix for bug 3414354 crash in navcache

13 years agoam 9962eeba: Fix for bug 3414354 crash in navcache
Kristian Monsen [Wed, 2 Feb 2011 18:06:46 +0000 (10:06 -0800)]
am 9962eeba: Fix for bug 3414354 crash in navcache

* commit '9962eebad92163d0ae56e3a76f48156682ddcced':
  Fix for bug 3414354 crash in navcache

13 years agoFix for bug 3414354 crash in navcache
Kristian Monsen [Wed, 2 Feb 2011 16:39:48 +0000 (16:39 +0000)]
Fix for bug 3414354 crash in navcache

This should work according to our new ARM expert. Updated bug
report with details.

I didn't think another indent layer was good, so did returns
instead.

Change-Id: I2baafe748f3249943ecc93ddf166b8ff559d7a6c

13 years agoam eea4fc09: am 01ba5545: Fix for bug 3413829, crash when loading page
Kristian Monsen [Wed, 2 Feb 2011 15:28:02 +0000 (07:28 -0800)]
am eea4fc09: am 01ba5545: Fix for bug 3413829, crash when loading page

* commit 'eea4fc09c3011cb17aba44820932ee6fd138cfa2':
  Fix for bug 3413829, crash when loading page

13 years agoam 01ba5545: Fix for bug 3413829, crash when loading page
Kristian Monsen [Wed, 2 Feb 2011 15:17:20 +0000 (07:17 -0800)]
am 01ba5545: Fix for bug 3413829, crash when loading page

* commit '01ba55459e3ec9e9c21a35a6a50f37908ce4d42b':
  Fix for bug 3413829, crash when loading page

13 years agoFix for bug 3413829, crash when loading page
Kristian Monsen [Wed, 2 Feb 2011 15:05:01 +0000 (15:05 +0000)]
Fix for bug 3413829, crash when loading page

When a read failed we deleted it and scheduled a new read. The new
read would also fail (since the request was deleted), and crash.

Change-Id: Idcb3265e705d616657c2679389951d632c54cca5

13 years agoPartly fix for bug 3410366
Kristian Monsen [Wed, 2 Feb 2011 10:46:43 +0000 (10:46 +0000)]
Partly fix for bug 3410366

This should fix one of the stack traces

Change-Id: If1b6c111075c600be22e9821a368936346b4507a

13 years agoAdding debug information about requests. #ifdef out by default
Kristian Monsen [Wed, 2 Feb 2011 10:31:55 +0000 (10:31 +0000)]
Adding debug information about requests. #ifdef out by default

Change-Id: Ice2826c4bc2ec4ce08b2628155319287e93b7e9f

13 years agoam 7bb73b67: am 4da96b99: Get layers showing again
Ben Murdoch [Wed, 2 Feb 2011 02:42:18 +0000 (18:42 -0800)]
am 7bb73b67: am 4da96b99: Get layers showing again

* commit '7bb73b678e89be38d22b27e428ccd3406392c7cb':
  Get layers showing again

13 years agoam 4da96b99: Get layers showing again
Ben Murdoch [Wed, 2 Feb 2011 02:39:56 +0000 (18:39 -0800)]
am 4da96b99: Get layers showing again

* commit '4da96b9950ba2e86203aa50be39adcc8431a95a4':
  Get layers showing again

13 years agoGet layers showing again
Ben Murdoch [Tue, 1 Feb 2011 20:54:50 +0000 (20:54 +0000)]
Get layers showing again

Lazily get the maximum texture size from GL when
we first need it. This avoids calling GL functions
before GL has been set up and ensures it is done on
the correct (ie. UI) thread.

Also move the tiles expansion setting from WC thread
to UI thread as TilesManager is not thread safe when
creating the singleton instance.

This makes change 4596782e unnecessary so we remove it.

Bug: 3412928

Change-Id: I740974d8cc0ef4f66956cd6a07b058bfa7ca767f

13 years agoFix 3366514 (again): browser emulator crash
Russell Brenner [Tue, 1 Feb 2011 18:33:07 +0000 (10:33 -0800)]
Fix 3366514 (again): browser emulator crash

Added TilesManager::hardwareAccelerationEnabled() to check internal
gInstance without the side-effect of creating it, if null. Used by
BaseLayerAndroid to avoid creating an instance during a destructor.

Emulator will have a null gInstance, so this provides a runtime
solution that distinguishes the emulator from the device.

Change-Id: I023849d0bb405deef588d7fc272f0e303577fddf

13 years agoam a574f648: am e829439d: Merge "Initialize correctly the maximum texture size in...
Nicolas Roard [Tue, 1 Feb 2011 21:27:52 +0000 (13:27 -0800)]
am a574f648: am e829439d: Merge "Initialize correctly the maximum texture size in case it was not." into honeycomb

* commit 'a574f648c8332772bec307f83dc8c4e821b26100':
  Initialize correctly the maximum texture size in case it was not.

13 years agoam 9c43b198: am 17d1fdc3: Merge "Fix updates on scrolling layers." into honeycomb
Patrick Scott [Tue, 1 Feb 2011 21:27:48 +0000 (13:27 -0800)]
am 9c43b198: am 17d1fdc3: Merge "Fix updates on scrolling layers." into honeycomb

* commit '9c43b198b2a50492274cffd826ea8f680a08a956':
  Fix updates on scrolling layers.

13 years agoam 7bf559e0: (-s ours) am c6280ca9: Merge "Improving fix for bug 3317722 - DO NOT...
Kristian Monsen [Tue, 1 Feb 2011 21:26:33 +0000 (13:26 -0800)]
am 7bf559e0: (-s ours) am c6280ca9: Merge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb

* commit '7bf559e01c12bb18ddd2dc3fa2ad33bf37949aee':
  Improving fix for bug 3317722 - DO NOT MERGE

13 years agoam b34b06ef: am 7518a1d4: Merge "Ensure plugins receive an onScreen event even when...
Derek Sollenberger [Tue, 1 Feb 2011 21:26:26 +0000 (13:26 -0800)]
am b34b06ef: am 7518a1d4: Merge "Ensure plugins receive an onScreen event even when the page reloads" into honeycomb

* commit 'b34b06eff907fdf50fcc4dc544b769b34bf6caff':
  Ensure plugins receive an onScreen event even when the page reloads

13 years agoam 22436de8: am b6c19867: Merge "Implement automatic texture size allocation for...
Bart Sears [Tue, 1 Feb 2011 21:26:22 +0000 (13:26 -0800)]
am 22436de8: am b6c19867: Merge "Implement automatic texture size allocation for layers This fix several issues (3d transforms, etc.) and in general makes websites using layers snappier (gmail, etc.)" into honeycomb

* commit '22436de8642543bf5942557c4e497bb5a0b830f8':
  Implement automatic texture size allocation for layers This fix several issues (3d transforms, etc.) and in general makes websites using layers snappier (gmail, etc.)

13 years agoam 19a35bdf: am f09d842c: Smoother scrolling by preparing offscreen tiles (credit...
Dave Burke [Tue, 1 Feb 2011 21:26:10 +0000 (13:26 -0800)]
am 19a35bdf: am f09d842c: Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)

* commit '19a35bdf5917bdaaab97a77f0dedca79db87a67b':
  Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)

13 years agoam 81ff3375: am d7c28d82: Merge "Implement dynamic allocation of base tiles. This...
Nicolas Roard [Tue, 1 Feb 2011 21:25:57 +0000 (13:25 -0800)]
am 81ff3375: am d7c28d82: Merge "Implement dynamic allocation of base tiles. This way, a webview will only consume as much GPU memory as needed, depending on its size, to a maximum of 256 tiles per TiledPage." into honeycomb

* commit '81ff3375a5bc6a4bdcb0f77ded580a65f5a19d7a':
  Implement dynamic allocation of base tiles. This way, a webview will only consume as much GPU memory as needed, depending on its size, to a maximum of 256 tiles per TiledPage.

13 years agoam 4dc151f3: am d6b304a1: Fix for bug:3410888
Nicolas Roard [Tue, 1 Feb 2011 21:25:47 +0000 (13:25 -0800)]
am 4dc151f3: am d6b304a1: Fix for bug:3410888

* commit '4dc151f31c371645819691a3c60ac201d84174d4':
  Fix for bug:3410888

13 years agoam 25242f60: am 968791c5: A temp WAR for fixed element position update
Teng-Hui Zhu [Tue, 1 Feb 2011 21:23:54 +0000 (13:23 -0800)]
am 25242f60: am 968791c5: A temp WAR for fixed element position update

* commit '25242f60816dd438e659cac74802ea1dfdcc561d':
  A temp WAR for fixed element position update

13 years agoam e829439d: Merge "Initialize correctly the maximum texture size in case it was...
Nicolas Roard [Tue, 1 Feb 2011 21:08:38 +0000 (13:08 -0800)]
am e829439d: Merge "Initialize correctly the maximum texture size in case it was not." into honeycomb

* commit 'e829439d86a8ce36f5c585ea0344ed9b9b6d067a':
  Initialize correctly the maximum texture size in case it was not.

13 years agoMerge "Initialize correctly the maximum texture size in case it was not." into honeycomb
Nicolas Roard [Tue, 1 Feb 2011 21:06:54 +0000 (13:06 -0800)]
Merge "Initialize correctly the maximum texture size in case it was not." into honeycomb

13 years agoam 17d1fdc3: Merge "Fix updates on scrolling layers." into honeycomb
Patrick Scott [Tue, 1 Feb 2011 20:42:11 +0000 (12:42 -0800)]
am 17d1fdc3: Merge "Fix updates on scrolling layers." into honeycomb

* commit '17d1fdc369e49357c72fdd50cba59e69a34dade6':
  Fix updates on scrolling layers.

13 years agoMerge "Fix updates on scrolling layers." into honeycomb
Patrick Scott [Tue, 1 Feb 2011 20:40:26 +0000 (12:40 -0800)]
Merge "Fix updates on scrolling layers." into honeycomb

13 years agoInitialize correctly the maximum texture size in
Nicolas Roard [Tue, 1 Feb 2011 20:38:10 +0000 (12:38 -0800)]
Initialize correctly the maximum texture size in
case it was not.

fix regression bug:3412928

Change-Id: Ie83dd50163ef4435cd88471127869114e41068cc

13 years agoFix updates on scrolling layers.
Patrick Scott [Tue, 1 Feb 2011 19:41:33 +0000 (14:41 -0500)]
Fix updates on scrolling layers.

Compare the drawing texture with the new reserved texture to ensure that
m_reservedTexture will be updated properly.

Bug: 3381482
Change-Id: I4877842438376c00b65bdb10fb4feb1e8c50b2dc

13 years agoMerge "Remove unnecessary getter for userInitiatedAction."
Leon Scroggins [Tue, 1 Feb 2011 19:35:14 +0000 (11:35 -0800)]
Merge "Remove unnecessary getter for userInitiatedAction."

13 years agoRemove unnecessary getter for userInitiatedAction.
Leon Scroggins [Tue, 1 Feb 2011 19:31:00 +0000 (14:31 -0500)]
Remove unnecessary getter for userInitiatedAction.

Bug:3073288
Change-Id: I84fd4fe01271cb84454fc94387ae7d61e7ed76f3

13 years agoMerge "Pass an extra boolean with scrollTo message."
Leon Scroggins [Tue, 1 Feb 2011 18:30:52 +0000 (10:30 -0800)]
Merge "Pass an extra boolean with scrollTo message."

13 years agoPass an extra boolean with scrollTo message.
Leon Scroggins [Tue, 1 Feb 2011 16:02:25 +0000 (11:02 -0500)]
Pass an extra boolean with scrollTo message.

Bug:3411564

When the size changes, add a boolean to the scroll
message to only honor the scroll in the case that
the IME is actually showing.

Requires a change to frameworks/base.

Change-Id: Ie5645c0838a5c9e7c0a24be2dc42061a0cb534dc

13 years agoam 50932f3a: am 7f7e8eef: Merge "Fix 3366514, browser emulator no longer crashes...
Russell Brenner [Tue, 1 Feb 2011 18:10:10 +0000 (10:10 -0800)]
am 50932f3a: am 7f7e8eef: Merge "Fix 3366514, browser emulator no longer crashes" into honeycomb

* commit '50932f3a68a84a850da1d0263baab3b1ae54799f':
  Fix 3366514, browser emulator no longer crashes

13 years agoam c6280ca9: Merge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb
Kristian Monsen [Tue, 1 Feb 2011 15:24:03 +0000 (07:24 -0800)]
am c6280ca9: Merge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb

* commit 'c6280ca9a4e12f9847852c063d5048a3d3d29422':
  Improving fix for bug 3317722 - DO NOT MERGE

13 years agoMerge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb
Kristian Monsen [Tue, 1 Feb 2011 15:21:53 +0000 (07:21 -0800)]
Merge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycomb

13 years agoImproving fix for bug 3317722 - DO NOT MERGE
Kristian Monsen [Tue, 1 Feb 2011 15:17:13 +0000 (15:17 +0000)]
Improving fix for bug 3317722 - DO NOT MERGE

A simple null check to avoid crash

Change-Id: Ie3e4236687cf22205678abf286688dee45e1cdb5

13 years agoam 7518a1d4: Merge "Ensure plugins receive an onScreen event even when the page reloa...
Derek Sollenberger [Tue, 1 Feb 2011 15:01:37 +0000 (07:01 -0800)]
am 7518a1d4: Merge "Ensure plugins receive an onScreen event even when the page reloads" into honeycomb

* commit '7518a1d4298d4a8e0eb901811c250dfa3937e268':
  Ensure plugins receive an onScreen event even when the page reloads