OSDN Git Service

android-x86/external-webkit.git
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

14 years agoMove mobile doctype check from HTMLDocument to Document so that it will cover xhtml...
Grace Kloba [Wed, 9 Sep 2009 01:51:19 +0000 (18:51 -0700)]
Move mobile doctype check from HTMLDocument to Document so that it will cover xhtml case like us.m1.yahoo.com.

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

14 years agoMerge change 24042 into eclair
Android (Google) Code Review [Tue, 8 Sep 2009 19:02:30 +0000 (12:02 -0700)]
Merge change 24042 into eclair

* changes:
  Handle another old style meta tag, MobileOptimized. Also if the sites set the width for the viewport to be less than 320, just use device-width.

14 years agoSwitch back to JSC
Andrei Popescu [Tue, 8 Sep 2009 18:38:33 +0000 (19:38 +0100)]
Switch back to JSC

14 years agoUpdates mock Geolocation service to match final version submitted to WebKit.
Steve Block [Tue, 8 Sep 2009 11:04:42 +0000 (12:04 +0100)]
Updates mock Geolocation service to match final version submitted to WebKit.

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

Change-Id: I30900239108ea699f194fceb30626f41c928c08e

14 years agoMerge change 24108 into eclair
Android (Google) Code Review [Tue, 8 Sep 2009 10:49:05 +0000 (03:49 -0700)]
Merge change 24108 into eclair

* changes:
  Store Geolocation cached position between browser sessions.

14 years agoUpdate V8 to bleeding_edge r2842.
Ben Murdoch [Tue, 8 Sep 2009 10:14:35 +0000 (11:14 +0100)]
Update V8 to bleeding_edge r2842.

14 years agoStore Geolocation cached position between browser sessions.
Steve Block [Fri, 4 Sep 2009 13:26:00 +0000 (14:26 +0100)]
Store Geolocation cached position between browser sessions.

This fixes bug http://b/issue?id=2054431.

Change-Id: I44b752b0c7fb4529027018c99dd945279b594b89

14 years agoFixes Coordinates::toString to not print optional parameters that are not specified.
Steve Block [Thu, 3 Sep 2009 11:44:53 +0000 (12:44 +0100)]
Fixes Coordinates::toString to not print optional parameters that are not specified.

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

Change-Id: Ie540c7adc056ea0f285b7558b2f33acfcc1ecab2

14 years agoImplements Geolocation PositionOptions.maximumAge property.
Steve Block [Tue, 25 Aug 2009 11:47:09 +0000 (12:47 +0100)]
Implements Geolocation PositionOptions.maximumAge property.

This fixes bug http://b/issue?id=2054431.

Change-Id: Ic5fcd763e448b3bdc02de5d2a40d418ef25d39f9

14 years agoMerge change 23972 into eclair
Android (Google) Code Review [Mon, 7 Sep 2009 11:40:06 +0000 (04:40 -0700)]
Merge change 23972 into eclair

* changes:
  Fixes Geolocation to correctly handle infinite values for PositionOptions properties.

14 years agoHandle another old style meta tag, MobileOptimized. Also if the sites set
Grace Kloba [Fri, 4 Sep 2009 23:30:32 +0000 (16:30 -0700)]
Handle another old style meta tag, MobileOptimized. Also if the sites set
the width for the viewport to be less than 320, just use device-width.

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

14 years agoFixes Geolocation to correctly handle infinite values for PositionOptions properties.
Steve Block [Wed, 2 Sep 2009 17:13:59 +0000 (18:13 +0100)]
Fixes Geolocation to correctly handle infinite values for PositionOptions properties.

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

Change-Id: I01cc5107d4a96840e35cc403161d50dbdf6a1ca2

14 years agoMerge change 23971 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 16:57:00 +0000 (09:57 -0700)]
Merge change 23971 into eclair

* changes:
  Adds V8 bindings for optional properties of Geolocation Coordinates object.

14 years agoMerge change 23969 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 16:54:34 +0000 (09:54 -0700)]
Merge change 23969 into eclair

* changes:
  Updates MockGeolocationService to call back to the Geolocation object only when active.

14 years agoAdds V8 bindings for optional properties of Geolocation Coordinates object.
Steve Block [Thu, 3 Sep 2009 12:15:33 +0000 (13:15 +0100)]
Adds V8 bindings for optional properties of Geolocation Coordinates object.

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

14 years agoUpdates MockGeolocationService to call back to the Geolocation object only when active.
Steve Block [Wed, 2 Sep 2009 15:41:24 +0000 (16:41 +0100)]
Updates MockGeolocationService to call back to the Geolocation object only when active.

14 years agoMerge change 23957 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 16:26:48 +0000 (09:26 -0700)]
Merge change 23957 into eclair

* changes:
  Fix Geolocation to correctly handle reentrant calls from callbacks.

14 years agoFix Geolocation to correctly handle reentrant calls from callbacks.
Steve Block [Wed, 2 Sep 2009 15:17:41 +0000 (16:17 +0100)]
Fix Geolocation to correctly handle reentrant calls from callbacks.

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

14 years agoMerge change 23954 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 13:56:46 +0000 (06:56 -0700)]
Merge change 23954 into eclair

* changes:
  Makes Geolocation error callback asynchronous when service fails to start.

14 years agoMakes Geolocation error callback asynchronous when service fails to start.
Steve Block [Tue, 25 Aug 2009 11:13:41 +0000 (12:13 +0100)]
Makes Geolocation error callback asynchronous when service fails to start.

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

Change-Id: I83ff2618fb49bb126c7cd4c318914c6a0c68d69d

14 years agoMerge change 23829 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 13:23:50 +0000 (06:23 -0700)]
Merge change 23829 into eclair

* changes:
  Refactors Geolocation to avoid duplication in getCurrentPosition and watchPosition.

14 years agoMerge change 23625 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 11:13:00 +0000 (04:13 -0700)]
Merge change 23625 into eclair

* changes:
  Fix the DOM storage layout tests when running with V8. Change the custom bindings to ignore requests for the length attribute and update the event handling code to create Storage Events properly.

14 years agoAllow 0 to be passed for the nativePointerParameter to nativeAddJavaScriptInterface...
Andrei Popescu [Thu, 3 Sep 2009 19:37:48 +0000 (20:37 +0100)]
Allow 0 to be passed for the nativePointerParameter to nativeAddJavaScriptInterface. When 0, we add the iface to the top level frame.

14 years agostart in the proper subframe when finding the next text field
Cary Clark [Thu, 3 Sep 2009 20:05:35 +0000 (16:05 -0400)]
start in the proper subframe when finding the next text field

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

14 years agoRefactors Geolocation to avoid duplication in getCurrentPosition and watchPosition.
Steve Block [Tue, 25 Aug 2009 11:10:30 +0000 (12:10 +0100)]
Refactors Geolocation to avoid duplication in getCurrentPosition and watchPosition.

This change is being submitted to WebKit as part of https://bugs.webkit.org/show_bug.cgi?id=27944.

14 years agoMerge change 23630 into eclair
Android (Google) Code Review [Thu, 3 Sep 2009 17:19:37 +0000 (10:19 -0700)]
Merge change 23630 into eclair

* changes:
  Brings Mock Geolocation service up to date with latest submission to WebKit.

14 years agoGet the drawable directory from Java for the platform buttons.
Grace Kloba [Wed, 2 Sep 2009 23:20:34 +0000 (16:20 -0700)]
Get the drawable directory from Java for the platform buttons.

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

14 years agoBrings Mock Geolocation service up to date with latest submission to WebKit.
Steve Block [Wed, 2 Sep 2009 15:50:51 +0000 (16:50 +0100)]
Brings Mock Geolocation service up to date with latest submission to WebKit.

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

14 years agoFix the DOM storage layout tests when running with V8. Change the custom bindings...
Ben Murdoch [Wed, 2 Sep 2009 15:31:46 +0000 (16:31 +0100)]
Fix the DOM storage layout tests when running with V8. Change the custom bindings to ignore requests for the length attribute and update the event handling code to create Storage Events properly.

14 years agoMerge change 22906 into eclair
Android (Google) Code Review [Wed, 2 Sep 2009 11:59:24 +0000 (04:59 -0700)]
Merge change 22906 into eclair

* changes:
  Add functionality to V8 bindings for SQLTransaction to allow array-like objects to be passed as the second parameter to executeSql(), and ensure exceptions are thrown in the right places.

14 years agoAdd functionality to V8 bindings for SQLTransaction to allow array-like objects to...
Ben Murdoch [Wed, 26 Aug 2009 11:42:59 +0000 (12:42 +0100)]
Add functionality to V8 bindings for SQLTransaction to allow array-like objects to be passed as the second parameter to executeSql(), and ensure exceptions are thrown in the right places.

14 years agoMerge change 23614 into eclair
Android (Google) Code Review [Wed, 2 Sep 2009 09:52:12 +0000 (02:52 -0700)]
Merge change 23614 into eclair

* changes:
  Enables Geolocation for V8.

14 years agoAdd .gitignore for WebKit build directories.
Grace Kloba [Tue, 1 Sep 2009 21:03:38 +0000 (14:03 -0700)]
Add .gitignore for WebKit build directories.

14 years agoMerge change 22913 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 17:55:34 +0000 (10:55 -0700)]
Merge change 22913 into eclair

* changes:
  Adds V8 bindings for Geolocation.

14 years agoEnables Geolocation for V8.
Steve Block [Tue, 1 Sep 2009 15:17:34 +0000 (16:17 +0100)]
Enables Geolocation for V8.

14 years agoAdds V8 bindings for Geolocation.
Steve Block [Wed, 26 Aug 2009 13:17:52 +0000 (14:17 +0100)]
Adds V8 bindings for Geolocation.

14 years agoMerge change 23350 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 13:58:36 +0000 (06:58 -0700)]
Merge change 23350 into eclair

* changes:
  Update the browser's references to the latest images.

14 years agoUpdate the browser's references to the latest images.
Leon Scroggins [Mon, 31 Aug 2009 22:49:41 +0000 (18:49 -0400)]
Update the browser's references to the latest images.

The browser directly references the names of the asset
files it uses to draw buttons, checkboxes, and radio
buttons.  Update the names to correspond to the latest
assets.  Fixes issue http://b/issue?id=2086818

Change-Id: Iac8d8762252707e21a88e65ba44de24a5fa2f869

14 years agoFix a bug where the V8 bindings for SQLStatement error callbacks would not return...
Ben Murdoch [Tue, 1 Sep 2009 12:22:31 +0000 (13:22 +0100)]
Fix a bug where the V8 bindings for SQLStatement error callbacks would not return the correct result to WebCore.
BUG: 2053072

14 years agoMerge change 23087 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 09:23:20 +0000 (02:23 -0700)]
Merge change 23087 into eclair

* changes:
  Update V8 bindings to report exceptions thrown from callbacks.

14 years agoMerge change 23308 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 18:37:31 +0000 (11:37 -0700)]
Merge change 23308 into eclair

* changes:
  change our hasCurrentPoint() to call skia's getPoints() instead of isEmpty(), as the latter returns true even if moveTo() has already been called on it, and webkit wants to treat that as non-empty.

14 years agochange our hasCurrentPoint() to call skia's getPoints() instead of isEmpty(), as...
Mike Reed [Mon, 31 Aug 2009 18:25:39 +0000 (14:25 -0400)]
change our hasCurrentPoint() to call skia's getPoints() instead of isEmpty(), as the latter
returns true even if moveTo() has already been called on it, and webkit wants to treat that
as non-empty.

14 years agoMerge change 23292 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 16:51:37 +0000 (09:51 -0700)]
Merge change 23292 into eclair

* changes:
  save and restore the transparent fill when drawing replaced images

14 years agosave and restore the transparent fill when drawing replaced images
Cary Clark [Mon, 31 Aug 2009 15:54:03 +0000 (11:54 -0400)]
save and restore the transparent fill when drawing replaced images

If an image node is incomplete, RenderImage::paintReplaced is triggered.
A thin frame with a transparent center sets but does not restore the
fill to transparent. Our graphics state draws transparent bitmaps until
the state gets set back to opaque.

I haven't figured out why Safari doesn't demonstrate this same bug, but
in some webkit code, the state is saved and restored around making the
fill transparent. Adding that save()/restore() pair fixes our bug as
well. But, it may be that our platform should be setting the fill
state before drawing the bitmap and is failing to do so.

This fixes http://b/issue?id=2052757

14 years agoFix the crash with sites having youtube video. It doesn't crash while loading.
Grace Kloba [Fri, 28 Aug 2009 23:29:07 +0000 (16:29 -0700)]
Fix the crash with sites having youtube video. It doesn't crash while loading.
It crashes when you leave the site.

frame->view() returns m_view.get(). So we don't want to call adoptRef which
will cause a deref.

I verified that when you leave the page, the new widget is removed.

14 years agodon't layout when setting size from zoom if only height changed
Cary Clark [Thu, 27 Aug 2009 19:38:27 +0000 (15:38 -0400)]
don't layout when setting size from zoom if only height changed

(companion change in framework/base)
Add a boolean parameter to WebViewCore.java nativeSizeSize().
If set, only layout if the width has also changed.
If clear, layout if the height alone has changed.

14 years agoMerge change 23094 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 16:15:07 +0000 (09:15 -0700)]
Merge change 23094 into eclair

* changes:
  Update V8 to 2780 to fix a crash and pick up some ARM optimizations

14 years agoMerge change 23075 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 16:12:53 +0000 (09:12 -0700)]
Merge change 23075 into eclair

* changes:
  We lost ontouchxxx with the new WK. Bring them back.

14 years agofix webkit build by rearranging assert.
Cary Clark [Fri, 28 Aug 2009 15:38:44 +0000 (11:38 -0400)]
fix webkit build by rearranging assert.

14 years agoMerge change 23100 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 15:11:54 +0000 (08:11 -0700)]
Merge change 23100 into eclair

* changes:
  Fix OSX build by changing the PositionError.h role to private

14 years agoFix OSX build by changing the PositionError.h role to private
Andrei Popescu [Fri, 28 Aug 2009 15:03:01 +0000 (16:03 +0100)]
Fix OSX build by changing the PositionError.h role to private

14 years agoMerge change 23092 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 13:48:37 +0000 (06:48 -0700)]
Merge change 23092 into eclair

* changes:
  Fix crash in fast/canvas/canvas-empty-image-pattern.html

14 years agoFix crash in fast/canvas/canvas-empty-image-pattern.html
Andrei Popescu [Fri, 28 Aug 2009 12:52:10 +0000 (13:52 +0100)]
Fix crash in fast/canvas/canvas-empty-image-pattern.html

14 years agoupdate dox. no code change
Mike Reed [Fri, 28 Aug 2009 12:24:37 +0000 (08:24 -0400)]
update dox. no code change

14 years agoUpdate V8 bindings to report exceptions thrown from callbacks.
Ben Murdoch [Fri, 28 Aug 2009 12:10:33 +0000 (13:10 +0100)]
Update V8 bindings to report exceptions thrown from callbacks.

14 years agoUpdate V8 to 2780 to fix a crash and pick up some ARM optimizations
Andrei Popescu [Fri, 28 Aug 2009 11:56:47 +0000 (12:56 +0100)]
Update V8 to 2780 to fix a crash and pick up some ARM optimizations