OSDN Git Service

android-x86/external-webkit.git
14 years agoam 491386c1: Merge commit \'remotes/goog/eclair\' into eclair-release
The Android Open Source Project [Mon, 12 Oct 2009 18:06:57 +0000 (11:06 -0700)]
am 491386c1: Merge commit \'remotes/goog/eclair\' into eclair-release

Merge commit '491386c10ae5d1e11f6262909cdbfdc2ce8d1ebe'

* commit '491386c10ae5d1e11f6262909cdbfdc2ce8d1ebe':

14 years agoMerge commit '38173c0bcc86a90774a71224e2702ab923e2a99e'
android-build SharedAccount [Mon, 12 Oct 2009 17:57:45 +0000 (10:57 -0700)]
Merge commit '38173c0bcc86a90774a71224e2702ab923e2a99e'

14 years agoRemove CachedXBLDocument.cpp and CachedXSLDocument.cpp from the Android build, as...
Steve Block [Fri, 9 Oct 2009 14:22:25 +0000 (15:22 +0100)]
Remove CachedXBLDocument.cpp and CachedXSLDocument.cpp from the Android build, as they are not required.

These were added to the build in https://android-git.corp.google.com/g/#change,20732, as part of the last WebKit merge.

14 years agoBring Geolocation V8 bindings in line with those for JSC.
Steve Block [Thu, 8 Oct 2009 14:29:34 +0000 (15:29 +0100)]
Bring Geolocation V8 bindings in line with those for JSC.

14 years agoBrings JSC Geolocation bindings up-to-date with latest submission to webkit.org.
Steve Block [Thu, 8 Oct 2009 14:18:46 +0000 (15:18 +0100)]
Brings JSC Geolocation bindings up-to-date with latest submission to webkit.org.

See https://bugs.webkit.org/show_bug.cgi?id=29099

14 years agoFixes an accidental change made to WebKit GTK code.
Steve Block [Thu, 8 Oct 2009 11:05:14 +0000 (12:05 +0100)]
Fixes an accidental change made to WebKit GTK code.

This was made in change 95e3d862bbab761f8caaf1d1b54065f67b9a5148.
See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=95e3d862bbab761f8caaf1d1b54065f67b9a5148#patch1

This will help avoid noise in the diffs when upstreaming Android-specific changes to webkit.org.

14 years agoFixes a bunch of WebKit whitespace discrepancies between Android and webkit.org.
Steve Block [Thu, 8 Oct 2009 10:13:05 +0000 (11:13 +0100)]
Fixes a bunch of WebKit whitespace discrepancies between Android and webkit.org.

This will avoid noise in the diffs when upstreaming Android-specific changes to webkit.org.

14 years agoRemove the Android guards added to the <video> implementation in WebCore.
Andrei Popescu [Tue, 6 Oct 2009 13:44:10 +0000 (14:44 +0100)]
Remove the Android guards added to the <video> implementation in WebCore.

The patch in https://bugs.webkit.org/show_bug.cgi?id=29133 landed.

14 years agoFixes a couple of style problems and a minor TODO in WebKit Geolocation.
Steve Block [Tue, 6 Oct 2009 11:52:52 +0000 (12:52 +0100)]
Fixes a couple of style problems and a minor TODO in WebKit Geolocation.

14 years agodo not merge
Cary Clark [Thu, 1 Oct 2009 20:56:22 +0000 (16:56 -0400)]
do not merge

https://android-git.corp.google.com/g/#change,22779 chose
poorly in its checkin comment and was inadvertantly left
out of the automerge process. Here it is, along with the
original comment:

when finding left edge of text block, don't merge in tall bitmap

Zooming in to yahoo.com fails sometimes if the block of text has
a large bitmap on the left. This change prevents the bitmap from
being seen as a part of the text paragraph.

Also, cleaned up the debugging statements.

Fixes http://b/issue?id=2066236

14 years agoam 8b101d48: Merge change Ib6cfb9c2 into eclair
Leon Clarke [Thu, 1 Oct 2009 21:00:21 +0000 (14:00 -0700)]
am 8b101d48: Merge change Ib6cfb9c2 into eclair

Merge commit '8b101d480f638c14f332d4be73a74925bfed1d82'

* commit '8b101d480f638c14f332d4be73a74925bfed1d82':
  Don't extend the arrow asset of the combo box over the text, so that the real background

14 years agoam b704d4ab: Merge change Ic0bd5009 into eclair
Andrei Popescu [Thu, 1 Oct 2009 19:16:29 +0000 (12:16 -0700)]
am b704d4ab: Merge change Ic0bd5009 into eclair

Merge commit 'b704d4ab4f7270d5969955190c303ee9a3484830'

* commit 'b704d4ab4f7270d5969955190c303ee9a3484830':
  Update <video> implementation after new IRC discussion with Eric Carlsson.

14 years agoam 30027e43: Fix the random crash around iframes.
Patrick Scott [Thu, 1 Oct 2009 19:14:50 +0000 (12:14 -0700)]
am 30027e43: Fix the random crash around iframes.

Merge commit '30027e43592c7246954056a89ce410c01d4dd86f'

* commit '30027e43592c7246954056a89ce410c01d4dd86f':
  Fix the random crash around iframes.

14 years agoam 41816434: Merge change I99fa56b2 into eclair
Cary Clark [Thu, 1 Oct 2009 19:12:55 +0000 (12:12 -0700)]
am 41816434: Merge change I99fa56b2 into eclair

Merge commit '418164343aa2437668796a013c1326c43ef318ac'

* commit '418164343aa2437668796a013c1326c43ef318ac':
  always update the WebTextView from the input element

14 years agoam c8238ecc: Fix the user gesture change to be more like donut.
Patrick Scott [Thu, 1 Oct 2009 18:58:54 +0000 (11:58 -0700)]
am c8238ecc: Fix the user gesture change to be more like donut.

Merge commit 'c8238eccbdd8de109a5d7c28b514ee36033ed4ba'

* commit 'c8238eccbdd8de109a5d7c28b514ee36033ed4ba':
  Fix the user gesture change to be more like donut.

14 years agoam 14e3d9bd: Don\'t crash on java exception
Leon Clarke [Thu, 1 Oct 2009 18:55:34 +0000 (11:55 -0700)]
am 14e3d9bd: Don\'t crash on java exception

Merge commit '14e3d9bdf2270d399bae78946e3efe62a6c6c373'

* commit '14e3d9bdf2270d399bae78946e3efe62a6c6c373':
  Don't crash on java exception

14 years agoam 22526e69: scroll text field with touch
Cary Clark [Thu, 1 Oct 2009 18:33:13 +0000 (11:33 -0700)]
am 22526e69: scroll text field with touch

Merge commit '22526e698d410058e24987164a4e6a01bd4d80b0'

* commit '22526e698d410058e24987164a4e6a01bd4d80b0':
  scroll text field with touch

14 years agoam 79e85346: Build fix.
Patrick Scott [Thu, 1 Oct 2009 18:16:20 +0000 (11:16 -0700)]
am 79e85346: Build fix.

Merge commit '79e85346fd39c817cc4ef96d816f311d200f9c77'

* commit '79e85346fd39c817cc4ef96d816f311d200f9c77':
  Build fix.

14 years agoam 06f1ecff: Fix a few crashes with assertions enabled.
Patrick Scott [Thu, 1 Oct 2009 18:14:08 +0000 (11:14 -0700)]
am 06f1ecff: Fix a few crashes with assertions enabled.

Merge commit '06f1ecff0f609438be162b71b50a3be08983df23'

* commit '06f1ecff0f609438be162b71b50a3be08983df23':
  Fix a few crashes with assertions enabled.

14 years agoMerge change Ib6cfb9c2 into eclair
Android (Google) Code Review [Thu, 1 Oct 2009 09:36:34 +0000 (05:36 -0400)]
Merge change Ib6cfb9c2 into eclair

* changes:
  Don't extend the arrow asset of the combo box over the text, so that the real background color is used. Re-instate using the correct color for the text.

14 years agoDon't extend the arrow asset of the combo box over the text, so that the real background
Leon Clarke [Thu, 1 Oct 2009 09:30:38 +0000 (10:30 +0100)]
Don't extend the arrow asset of the combo box over the text, so that the real background
color is used.
Re-instate using the correct color for the text.

14 years agoMerge change Ic0bd5009 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 19:55:46 +0000 (15:55 -0400)]
Merge change Ic0bd5009 into eclair

* changes:
  Update <video> implementation after new IRC discussion with Eric Carlsson.

14 years agoUpdate <video> implementation after new IRC discussion with Eric Carlsson.
Andrei Popescu [Mon, 28 Sep 2009 15:20:09 +0000 (16:20 +0100)]
Update <video> implementation after new IRC discussion with Eric Carlsson.

    - move poster drawing on the WebKit side
    - get rid of the child views
    - add prepareToPlay method to the MediaPlayer iface.

Fixes http://b/issue?id=2156592

14 years agoFix the random crash around iframes.
Patrick Scott [Tue, 29 Sep 2009 18:11:16 +0000 (14:11 -0400)]
Fix the random crash around iframes.

The problem is that if updateWidgetPosition calls layout, the FrameView will
layout with 0x0 dimensions. Then, we resize the view and try to relayout. This
causes the body to be marked as needing a layout. But, the body does not get a
chance to relayout. If updateWidgetPosition does not layout, the view size will
match and the body will not be marked for layout. This makes everything sane
after layout of the iframe.

The root of the problem is that we are calling FrameView::layout() while in the
midst of a layout. This is causing a child RenderObject to need a layout
without the parent object needing a layout. We avoid this by not laying out
until we set the FrameView dimensions.

Bug: 20488552134215

14 years agoMerge change I99fa56b2 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 18:17:36 +0000 (14:17 -0400)]
Merge change I99fa56b2 into eclair

* changes:
  always update the WebTextView from the input element

14 years agoalways update the WebTextView from the input element
Cary Clark [Wed, 30 Sep 2009 18:05:03 +0000 (14:05 -0400)]
always update the WebTextView from the input element

Even if the input element doesn't have focus, synchronize
the WebTextView if the pointers match.

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

14 years agoFix the user gesture change to be more like donut.
Patrick Scott [Wed, 30 Sep 2009 12:32:50 +0000 (08:32 -0400)]
Fix the user gesture change to be more like donut.

Bug: 2151004

14 years agoDon't crash on java exception
Leon Clarke [Mon, 28 Sep 2009 10:17:08 +0000 (11:17 +0100)]
Don't crash on java exception

Link coloring - doing the database lookup in a separate thread

Formatting

Whitespace changes

Re-ordered following review

14 years agoscroll text field with touch
Cary Clark [Mon, 28 Sep 2009 16:57:26 +0000 (12:57 -0400)]
scroll text field with touch

Pass the percentage of the current scroll from the UI
thread to webkit. The max scroll in X is computed as
renderer->scrollWidth() - renderer->clientWidth().

Companion fix is in framework/base

Fixes http://b/issue?id=2133049

14 years agoam 1e67e45d: Update the comment for checking null in needtouchevents.
Grace Kloba [Tue, 29 Sep 2009 18:06:51 +0000 (11:06 -0700)]
am 1e67e45d: Update the comment for checking null in needtouchevents.

Merge commit '1e67e45d20ead40b0407618abbc5e20840dc3c80'

* commit '1e67e45d20ead40b0407618abbc5e20840dc3c80':
  Update the comment for checking null in needtouchevents.

14 years agoBuild fix.
Patrick Scott [Tue, 29 Sep 2009 17:42:05 +0000 (13:42 -0400)]
Build fix.

Files that include FontPlatformData.h apparently depend on StringImpl.h already
being included.

14 years agoFix a few crashes with assertions enabled.
Patrick Scott [Tue, 29 Sep 2009 13:43:03 +0000 (09:43 -0400)]
Fix a few crashes with assertions enabled.

KURL::protocolIs no longer likes "javascript" and has a different method called
protocolIsJavaScript.

14 years agoUpdate the comment for checking null in needtouchevents.
Grace Kloba [Mon, 28 Sep 2009 16:39:05 +0000 (09:39 -0700)]
Update the comment for checking null in needtouchevents.

Add the header in WebCoreJni.cpp so that LOGE will be print out.

14 years agoam b3dd806a: Fix the multiple form submission bug. (Bug 2098417).
Ben Murdoch [Mon, 28 Sep 2009 17:06:41 +0000 (10:06 -0700)]
am b3dd806a: Fix the multiple form submission bug. (Bug 2098417).

Merge commit 'b3dd806a1bdd3101bd82696ed615e8ffe2091a2e'

* commit 'b3dd806a1bdd3101bd82696ed615e8ffe2091a2e':
  Fix the multiple form submission bug. (Bug 2098417).

14 years agoam 992afbeb: Check null for WebViewCore\'s nativeClass before calling back to Java...
Grace Kloba [Mon, 28 Sep 2009 17:02:02 +0000 (10:02 -0700)]
am 992afbeb: Check null for WebViewCore\'s nativeClass before calling back to Java. This may happen if WebKit holds some reference of the Document even when our Java side has been destroyed. So when Document finally is deleted, the call back to Java will have null nati

Merge commit '992afbebfb735ec2dd52b4166c22ab55827d88ed'

* commit '992afbebfb735ec2dd52b4166c22ab55827d88ed':
  Check null for WebViewCore's nativeClass before calling

14 years agoMerge commit 'remotes/goog/eclair' into eclair-release
The Android Open Source Project [Mon, 28 Sep 2009 15:33:23 +0000 (08:33 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release

14 years agoFix the multiple form submission bug. (Bug 2098417).
Ben Murdoch [Mon, 28 Sep 2009 12:49:05 +0000 (13:49 +0100)]
Fix the multiple form submission bug. (Bug 2098417).

Change-Id: I4eb188f6b4826f394a08c72c71f920cc212b2653

14 years agoCheck null for WebViewCore's nativeClass before calling
Grace Kloba [Sun, 27 Sep 2009 23:03:59 +0000 (16:03 -0700)]
Check null for WebViewCore's nativeClass before calling
back to Java. This may happen if WebKit holds some reference
of the Document even when our Java side has been destroyed.
So when Document finally is deleted, the call back to Java
will have null nativeClass.

In the long run, we may need to add the check for all the
callback to Java.

Fix http://b/issue?id=2148023

14 years agoCheck null for WebViewCore's nativeClass before calling
Grace Kloba [Sun, 27 Sep 2009 23:03:59 +0000 (16:03 -0700)]
Check null for WebViewCore's nativeClass before calling
back to Java. This may happen if WebKit holds some reference
of the Document even when our Java side has been destroyed.
So when Document finally is deleted, the call back to Java
will have null nativeClass.

In the long run, we may need to add the check for all the
callback to Java.

Fix http://b/issue?id=2148023

14 years agoam 5ca6cb36: Merge change 27080 into eclair
Grace Kloba [Sun, 27 Sep 2009 22:37:44 +0000 (15:37 -0700)]
am 5ca6cb36: Merge change 27080 into eclair

Merge commit '5ca6cb36d22a6a75bc18215b53ebc58d39ae4dd8'

* commit '5ca6cb36d22a6a75bc18215b53ebc58d39ae4dd8':
  When detach the top Document, clean up the touch listeners and reset

14 years agoam 01eae562: fix cracks when we draw the page in portions (i.e. a picture set)
Mike Reed [Sun, 27 Sep 2009 22:36:51 +0000 (15:36 -0700)]
am 01eae562: fix cracks when we draw the page in portions (i.e. a picture set)

Merge commit '01eae5621621a976f228f5f41c49967a356209cd'

* commit '01eae5621621a976f228f5f41c49967a356209cd':
  fix cracks when we draw the page in portions (i.e. a picture set)

14 years agoMerge change 27080 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 20:39:27 +0000 (16:39 -0400)]
Merge change 27080 into eclair

* changes:
  When detach the top Document, clean up the touch listeners and reset needTouchEvents.

14 years agofix cracks when we draw the page in portions (i.e. a picture set)
Mike Reed [Fri, 25 Sep 2009 18:45:42 +0000 (14:45 -0400)]
fix cracks when we draw the page in portions (i.e. a picture set)

When we record/draw the DOM N times (for speed), webkit sees what we're doing in certain places,
and sends us different rectangle coordinates. These were all being antialiased (by default).
However, when we are also zoomed, the rects now fall on fractional coordinates, and with aa,
we will double-draw the edges where those rects should have seamed.

The fix is to disable antialiasing for a class of rects that we record from webkit. We are probably
disabling for more cases than is necessary for the current bug, but knowing which ones are
"required" is tricky, and there (as yet) seems to be no down-side, since we never draw the page
rotated at a funny angle (where the rect edge would look jaggie).

http://b/issue?id=2132971&cookieId=2009268114917835
http://b/issue?id=2127763&cookieId=2009268114931860

14 years agoWhen detach the top Document, clean up the touch listeners and reset
Grace Kloba [Fri, 25 Sep 2009 18:42:53 +0000 (11:42 -0700)]
When detach the top Document, clean up the touch listeners and reset
needTouchEvents.

Fix http://b/issue?id=2145333

14 years agoam 6f855d88: Merge change 27041 into eclair
Mike Reed [Fri, 25 Sep 2009 18:25:57 +0000 (11:25 -0700)]
am 6f855d88: Merge change 27041 into eclair

Merge commit '6f855d88ef8d1b401944d290772a26222b61a505'

* commit '6f855d88ef8d1b401944d290772a26222b61a505':
  disable antialiasing for bitmaps

14 years agoam 22a6ea4b: don\'t short-circuit if the text selection has changed
Cary Clark [Fri, 25 Sep 2009 18:24:15 +0000 (11:24 -0700)]
am 22a6ea4b: don\'t short-circuit if the text selection has changed

Merge commit '22a6ea4bb37dc6e22fb998cf887d9fa6de07bdc6'

* commit '22a6ea4bb37dc6e22fb998cf887d9fa6de07bdc6':
  don't short-circuit if the text selection has changed

14 years agoam 7e7a0fd9: Colorizing clicked-on links
Leon Clarke [Fri, 25 Sep 2009 18:06:51 +0000 (11:06 -0700)]
am 7e7a0fd9: Colorizing clicked-on links

Merge commit '7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe'

* commit '7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe':
  Colorizing clicked-on links

14 years agoam 28e09963: Add ANDROID_USER_GESTURE back to WebCore.
Patrick Scott [Fri, 25 Sep 2009 18:04:21 +0000 (11:04 -0700)]
am 28e09963: Add ANDROID_USER_GESTURE back to WebCore.

Merge commit '28e09963cd0ab02a20ddd0b687e55f97921445cc'

* commit '28e09963cd0ab02a20ddd0b687e55f97921445cc':
  Add ANDROID_USER_GESTURE back to WebCore.

14 years agoam 2c02e355: When mouse down or plugin handles touch down, set the plugin to be the...
Grace Kloba [Fri, 25 Sep 2009 17:57:00 +0000 (10:57 -0700)]
am 2c02e355: When mouse down or plugin handles touch down, set the plugin to be the focus of the document so that it can receive key events. This has the same logic as in PluginViewMac.cpp\'s handleMouseEvent().

Merge commit '2c02e355bf0631c0bec3496fab67f45710c5cd21'

* commit '2c02e355bf0631c0bec3496fab67f45710c5cd21':
  When mouse down or plugin handles touch down, set the plugin

14 years agoam da2757a9: Whether or not a textfield is the last or only, make its action GO.
Leon Scroggins [Fri, 25 Sep 2009 17:53:37 +0000 (10:53 -0700)]
am da2757a9: Whether or not a textfield is the last or only, make its action GO.

Merge commit 'da2757a9cf762906063af0b8901ada0f72ecddbe'

* commit 'da2757a9cf762906063af0b8901ada0f72ecddbe':
  Whether or not a textfield is the last or only, make its action GO.

14 years agoam 757f90b7: hardcode the correct ninepatch margins for the button skin
Cary Clark [Fri, 25 Sep 2009 17:49:24 +0000 (10:49 -0700)]
am 757f90b7: hardcode the correct ninepatch margins for the button skin

Merge commit '757f90b7b68402aa3f32c125bd9b302e60c4b50b'

* commit '757f90b7b68402aa3f32c125bd9b302e60c4b50b':
  hardcode the correct ninepatch margins for the button skin

14 years agoMerge change 27041 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 17:00:04 +0000 (13:00 -0400)]
Merge change 27041 into eclair

* changes:
  disable antialiasing for bitmaps

14 years agodisable antialiasing for bitmaps
Mike Reed [Fri, 25 Sep 2009 16:02:27 +0000 (12:02 -0400)]
disable antialiasing for bitmaps

Since we are never rotated, and when we are zoomed, the
antialiasing can double-draw the shared border for images that are meant to seam (ala nine-patch)

http://b/issue?id=2105990&cookieId=2009268085657820

14 years agodon't short-circuit if the text selection has changed
Cary Clark [Fri, 25 Sep 2009 13:47:59 +0000 (09:47 -0400)]
don't short-circuit if the text selection has changed

The webkit picture is rebuilt pretty often -- for performance,
the nav cache is built less often, only when the dom version changes.

Additionally, it's rebuilt when the focus changes or moves. Add
a condition so that it is also rebuilt if the focus selection changes.

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

14 years agoColorizing clicked-on links
Leon Clarke [Thu, 24 Sep 2009 14:32:59 +0000 (15:32 +0100)]
Colorizing clicked-on links

Following review comments

Following review comments

14 years agoAdd ANDROID_USER_GESTURE back to WebCore.
Patrick Scott [Thu, 24 Sep 2009 14:54:01 +0000 (10:54 -0400)]
Add ANDROID_USER_GESTURE back to WebCore.

We only care about the user gesture during a location change. Add the
m_userGesture field to our ResourceRequest and check the value in
canHandleRequest. This could be cleaner if WebCore passed around the
ResourceRequest rather than constructing a new one.

14 years agoWhen mouse down or plugin handles touch down, set the plugin
Grace Kloba [Thu, 24 Sep 2009 00:31:16 +0000 (17:31 -0700)]
When mouse down or plugin handles touch down, set the plugin
to be the focus of the document so that it can receive key
events. This has the same logic as in PluginViewMac.cpp's
handleMouseEvent().

14 years agoWhether or not a textfield is the last or only, make its action GO.
Leon Scroggins [Wed, 23 Sep 2009 21:18:03 +0000 (17:18 -0400)]
Whether or not a textfield is the last or only, make its action GO.

Fix for http://b/issue?id=2136097

Change-Id: I8ca00498dd5a8d611bc0de5a941faaf596d9f76d

14 years agohardcode the correct ninepatch margins for the button skin
Cary Clark [Wed, 23 Sep 2009 18:04:57 +0000 (14:04 -0400)]
hardcode the correct ninepatch margins for the button skin

The button is drawn using hardcoded margins that look fine
on a g1. The highres resource has different margins. Changing
the margins alone isn't enough; this also moves the button down
by two pixels to center it better.

Neither the hardcoded margin change nor the offset are
good long-term changes, but they allow us to get by for now.
Marked both with FIXME so we can address this issue by
reading the data directly out of the png, and diagnose why
the button is drawn too high.

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

14 years agoam e23a6d30: adding API to enable plugins to request full screen mode
Derek Sollenberger [Wed, 23 Sep 2009 18:33:37 +0000 (11:33 -0700)]
am e23a6d30: adding API to enable plugins to request full screen mode

Merge commit 'e23a6d30242a5dbcdce40e708e0f97b21d06c2af'

* commit 'e23a6d30242a5dbcdce40e708e0f97b21d06c2af':
  adding API to enable plugins to request full screen mode

14 years agoadding API to enable plugins to request full screen mode
Derek Sollenberger [Tue, 22 Sep 2009 18:59:46 +0000 (14:59 -0400)]
adding API to enable plugins to request full screen mode

Change-Id: Ib3373af6ff127399d1d0846ba30a4275da5b3133

14 years agoam c6fbc068: Add apple-touch-icon-precomposed processing.
Patrick Scott [Tue, 22 Sep 2009 17:45:08 +0000 (10:45 -0700)]
am c6fbc068: Add apple-touch-icon-precomposed processing.

Merge commit 'c6fbc06882c120f5f51090203775eb0421550d13'

* commit 'c6fbc06882c120f5f51090203775eb0421550d13':
  Add apple-touch-icon-precomposed processing.

14 years agoam f10585d6: Add dpi support for WebView.
Grace Kloba [Tue, 22 Sep 2009 17:30:43 +0000 (10:30 -0700)]
am f10585d6: Add dpi support for WebView.

Merge commit 'f10585d69aaccf4c1b021df143ee0f08e338cf31'

* commit 'f10585d69aaccf4c1b021df143ee0f08e338cf31':
  Add dpi support for WebView.

14 years agoAdd apple-touch-icon-precomposed processing.
Patrick Scott [Fri, 18 Sep 2009 20:28:07 +0000 (16:28 -0400)]
Add apple-touch-icon-precomposed processing.

Send up a boolean to indicate if the touch icon url is precomposed.

14 years agoAdd dpi support for WebView.
Grace Kloba [Sun, 20 Sep 2009 23:34:19 +0000 (16:34 -0700)]
Add dpi support for WebView.

In the "viewport" meta tag, you can specify "target-densityDpi".
If it is not specified, it uses the default, 160dpi as of today.
Then the 1.0 scale factor specified in the viewport tag means 100%
on G1 and 150% on Sholes. If you set "target-densityDpi" to
"device-dpi", then the 1.0 scale factor means 100% on both G1 and Sholes.

Implemented Safari's window.devicePixelRatio and css media query
device-pixel-ratio.

So if you use "device-dpi" and modify the css for font-size and image
src depending on window.devicePixelRatio, you can get a better page on
Sholes/Passion.

Here is a list of options for "target-densityDpi".

device-dpi:    Use the device's native dpi as target dpi.
low-dpi:       120dpi
medium-dpi:    160dpi, which is also the default as of today
high-dpi:      240dpi
<number>:      We take any number between 70 and 400 as a valid target dpi.

Fix http://b/issue?id=2071943

14 years agoam 19d8bd10: renaming setJavaClass_ANPSetValue and ensuring memory is freed on subseq...
Derek Sollenberger [Mon, 21 Sep 2009 17:53:34 +0000 (10:53 -0700)]
am 19d8bd10: renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls

Merge commit '19d8bd10cbc60aee378a8762c27b264a4813445b'

* commit '19d8bd10cbc60aee378a8762c27b264a4813445b':
  renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls

14 years agorenaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls
Derek Sollenberger [Mon, 21 Sep 2009 13:13:10 +0000 (09:13 -0400)]
renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls

Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840

14 years agoam 0a7f2861: cleaning up old surface view API\'s
Derek Sollenberger [Mon, 21 Sep 2009 12:53:33 +0000 (05:53 -0700)]
am 0a7f2861: cleaning up old surface view API\'s

Merge commit '0a7f28613ad5aaf5cfda9454b2dc4c95cf53c3d0'

* commit '0a7f28613ad5aaf5cfda9454b2dc4c95cf53c3d0':
  cleaning up old surface view API's

14 years agocleaning up old surface view API's
Derek Sollenberger [Mon, 21 Sep 2009 12:14:52 +0000 (08:14 -0400)]
cleaning up old surface view API's

Change-Id: I333c2eebff22df1a56099fad7d8ec366627f4e22

14 years agoam f43f1e23: Merge change 25547 into eclair
Mike Reed [Thu, 17 Sep 2009 20:20:22 +0000 (13:20 -0700)]
am f43f1e23: Merge change 25547 into eclair

Merge commit 'f43f1e23647992137e7e86f26494b83e2e19b664'

* commit 'f43f1e23647992137e7e86f26494b83e2e19b664':
  bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only

14 years agoMerge change 25547 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 20:04:21 +0000 (16:04 -0400)]
Merge change 25547 into eclair

* changes:
  bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.

14 years agobump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and theref...
Mike Reed [Thu, 17 Sep 2009 19:57:58 +0000 (15:57 -0400)]
bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only
trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory
pressure is not so bad. This happens to also fix google reader site, which sends down large (but not
giant) index images but doesn't trigger our drawBitmapRect() code.

14 years agoam 8b6fb26a: Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlay...
Andrei Popescu [Thu, 17 Sep 2009 19:16:59 +0000 (12:16 -0700)]
am 8b6fb26a: Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate

Merge commit '8b6fb26a615e54190d2d9d653ee4a57750f06d5e'

* commit '8b6fb26a615e54190d2d9d653ee4a57750f06d5e':
  Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate

14 years agoam 2471bb64: Add poster support and other fixes
Andrei Popescu [Thu, 17 Sep 2009 19:09:46 +0000 (12:09 -0700)]
am 2471bb64: Add poster support and other fixes

Merge commit '2471bb64fd133cc64b2048b1fb90c84e08c24a16'

* commit '2471bb64fd133cc64b2048b1fb90c84e08c24a16':
  Add poster support and other fixes

14 years agoam bc6b2da0: Merge change 25316 into eclair
Ben Murdoch [Thu, 17 Sep 2009 19:09:42 +0000 (12:09 -0700)]
am bc6b2da0: Merge change 25316 into eclair

Merge commit 'bc6b2da0df432c910e5423406a1b7834591d4f6e'

* commit 'bc6b2da0df432c910e5423406a1b7834591d4f6e':
  Enable Channgel Messaging for workers.

14 years agoam 2dfa40e5: Merge change 25135 into eclair
Grace Kloba [Thu, 17 Sep 2009 16:55:39 +0000 (09:55 -0700)]
am 2dfa40e5: Merge change 25135 into eclair

Merge commit '2dfa40e5ed41a783615f2a7e81e82f7d1a4bd517'

* commit '2dfa40e5ed41a783615f2a7e81e82f7d1a4bd517':
  For TouchEventEnd, touches and targetTouches are empty list.

14 years agoam 10d40525: First pass at replacing native plugin views with java.
Derek Sollenberger [Thu, 17 Sep 2009 16:46:23 +0000 (09:46 -0700)]
am 10d40525: First pass at replacing native plugin views with java.

Merge commit '10d4052577e66430f5a3716ec51a401f1b4b21c2'

* commit '10d4052577e66430f5a3716ec51a401f1b4b21c2':
  First pass at replacing native plugin views with java.

14 years agoWire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
Andrei Popescu [Thu, 17 Sep 2009 14:55:39 +0000 (15:55 +0100)]
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate

14 years agoresolved conflicts for merge of b90cf0b2 to master
Cary Clark [Thu, 17 Sep 2009 12:19:02 +0000 (08:19 -0400)]
resolved conflicts for merge of b90cf0b2 to master

14 years agoAdd poster support and other fixes
Andrei Popescu [Tue, 15 Sep 2009 12:09:27 +0000 (13:09 +0100)]
Add poster support and other fixes

14 years agoMerge change 25316 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 09:47:21 +0000 (05:47 -0400)]
Merge change 25316 into eclair

* changes:
  Enable Channgel Messaging for workers.

14 years agoEnable Channgel Messaging for workers.
Ben Murdoch [Wed, 16 Sep 2009 18:57:24 +0000 (19:57 +0100)]
Enable Channgel Messaging for workers.

Change-Id: Iae69d02802dbe3d62e8d36753a8bed0ff9883db8

14 years agoMerge change 25135 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 17:22:39 +0000 (13:22 -0400)]
Merge change 25135 into eclair

* changes:
  For TouchEventEnd, touches and targetTouches are empty list.

14 years agoFirst pass at replacing native plugin views with java.
Derek Sollenberger [Tue, 8 Sep 2009 22:33:06 +0000 (18:33 -0400)]
First pass at replacing native plugin views with java.

Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f

14 years agoFor TouchEventEnd, touches and targetTouches are empty list.
Grace Kloba [Tue, 15 Sep 2009 21:16:02 +0000 (14:16 -0700)]
For TouchEventEnd, touches and targetTouches are empty list.

Fix http://b/issue?id=1905451

14 years agoam a8185118: Add more null checking to avoid the crash.
Grace Kloba [Tue, 15 Sep 2009 20:16:34 +0000 (13:16 -0700)]
am a8185118: Add more null checking to avoid the crash.

Merge commit 'a8185118f3bc09b1874f02cd0b95a6397723f31b'

* commit 'a8185118f3bc09b1874f02cd0b95a6397723f31b':
  Add more null checking to avoid the crash.

14 years agofix parent index of focus when building nav cache
Cary Clark [Tue, 15 Sep 2009 14:13:21 +0000 (10:13 -0400)]
fix parent index of focus when building nav cache

When a focused node is found while walking the DOM, the
CachedFrame tree doesn't have its parent pointer set.
Fix the focus index in the parent when fixing the parent pointer.

Also fix a debug statement so that it doesn't depend on
the focus parent.

Fixes http://b/issue?id=2048186

14 years agoAdd more null checking to avoid the crash.
Grace Kloba [Fri, 11 Sep 2009 18:32:27 +0000 (11:32 -0700)]
Add more null checking to avoid the crash.

14 years agoam 8aafea2d: Merge change 24624 into eclair
Grace Kloba [Fri, 11 Sep 2009 00:52:12 +0000 (17:52 -0700)]
am 8aafea2d: Merge change 24624 into eclair

Merge commit '8aafea2d231d98acf3fd26118f4b15e4ca1a1f11'

* commit '8aafea2d231d98acf3fd26118f4b15e4ca1a1f11':
  Fix the include files from the last WebKit merge. If there is Android version,

14 years agoMerge change 24624 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 00:39:28 +0000 (20:39 -0400)]
Merge change 24624 into eclair

* changes:
  Fix the include files from the last WebKit merge. If there is Android version, we should not include None version. This should fix plugin loading, bookmark icon problems.

14 years agoFix the include files from the last WebKit merge. If there is Android version,
Grace Kloba [Fri, 11 Sep 2009 00:38:20 +0000 (17:38 -0700)]
Fix the include files from the last WebKit merge. If there is Android version,
we should not include None version. This should fix plugin loading, bookmark
icon problems.

14 years agoam 0a7dd05e: allow mixed-case schemes in resource URLs
Cary Clark [Thu, 10 Sep 2009 21:26:32 +0000 (14:26 -0700)]
am 0a7dd05e: allow mixed-case schemes in resource URLs

Merge commit '0a7dd05ee942fb3835457cf640633c2d78f0a2e1'

* commit '0a7dd05ee942fb3835457cf640633c2d78f0a2e1':
  allow mixed-case schemes in resource URLs

14 years agoallow mixed-case schemes in resource URLs
Cary Clark [Thu, 10 Sep 2009 17:30:19 +0000 (13:30 -0400)]
allow mixed-case schemes in resource URLs

Adjust the scheme to all lower case before looking up the
resource if the original was not already lower case.
This fixes http://b/2056348

14 years agoam d709ea1b: Removes Geolocation Geoposition.toString and Coordinates.toString.
Steve Block [Thu, 10 Sep 2009 16:24:39 +0000 (09:24 -0700)]
am d709ea1b: Removes Geolocation Geoposition.toString and Coordinates.toString.

Merge commit 'd709ea1bc8aa27b597a3ec568e7cb6eb3e094467'

* commit 'd709ea1bc8aa27b597a3ec568e7cb6eb3e094467':
  Removes Geolocation Geoposition.toString and Coordinates.toString.

14 years agoRemoves Geolocation Geoposition.toString and Coordinates.toString.
Steve Block [Thu, 10 Sep 2009 13:40:55 +0000 (14:40 +0100)]
Removes Geolocation Geoposition.toString and Coordinates.toString.

This fixes http://b/issue?id=2103855.

Change-Id: I1811d97c59e0458a94347c8a63b4d1c0541dfaf7

14 years agoam de17da21: Merge change 24297 into eclair
Grace Kloba [Wed, 9 Sep 2009 23:26:43 +0000 (16:26 -0700)]
am de17da21: Merge change 24297 into eclair

Merge commit 'de17da216b5aef5bf61f2b46e34a052ac9a72dd7'

* commit 'de17da216b5aef5bf61f2b46e34a052ac9a72dd7':
  Move mobile doctype check from HTMLDocument to Document so that it will cover xhtml case like http://us.m1.yahoo.com.

14 years agoam f11b5a4e: Merge change 24338 into eclair
Andrei Popescu [Wed, 9 Sep 2009 20:42:55 +0000 (13:42 -0700)]
am f11b5a4e: Merge change 24338 into eclair

Merge commit 'f11b5a4e43aa85f3f69e96721b1c2970b2934640'

* commit 'f11b5a4e43aa85f3f69e96721b1c2970b2934640':
  Fix for 2106269

14 years agoMerge change 24297 into eclair
Android (Google) Code Review [Wed, 9 Sep 2009 15:54:37 +0000 (11:54 -0400)]
Merge change 24297 into eclair

* changes:
  Move mobile doctype check from HTMLDocument to Document so that it will cover xhtml case like http://us.m1.yahoo.com.

14 years agoMerge change 24338 into eclair
Android (Google) Code Review [Wed, 9 Sep 2009 12:37:31 +0000 (05:37 -0700)]
Merge change 24338 into eclair

* changes:
  Fix for 2106269

14 years agoFix for 2106269
Andrei Popescu [Wed, 9 Sep 2009 12:35:07 +0000 (13:35 +0100)]
Fix for 2106269