OSDN Git Service

android-x86/external-webkit.git
14 years agoMerge WebKit at r64523 : Initial merge by git.
Steve Block [Wed, 4 Aug 2010 10:41:34 +0000 (11:41 +0100)]
Merge WebKit at r64523 : Initial merge by git.

Change-Id: Ibb796c6802e757b1d9b40f58205cfbe4da95fcd4

14 years agoam 7c8c1ab3: am e9ee2d86: am a4279478: Cherry-pick WebKit change 61921 to fix exploit...
Steve Block [Sat, 7 Aug 2010 02:07:31 +0000 (19:07 -0700)]
am 7c8c1ab3: am e9ee2d86: am a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Merge commit '7c8c1ab35fc21fce4eaa3455d70b040a845b7eb6'

* commit '7c8c1ab35fc21fce4eaa3455d70b040a845b7eb6':
  Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

14 years agoam 373399bd: am 7162fe0e: am 2b6ea029: Cherry-pick WebKit change 60984 to fix an...
Steve Block [Sat, 7 Aug 2010 02:07:28 +0000 (19:07 -0700)]
am 373399bd: am 7162fe0e: am 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Merge commit '373399bd97b28edc9ee0b6fafdce24cd3becc42c'

* commit '373399bd97b28edc9ee0b6fafdce24cd3becc42c':
  Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

14 years agoam e9ee2d86: am a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory...
Steve Block [Sat, 7 Aug 2010 01:59:56 +0000 (18:59 -0700)]
am e9ee2d86: am a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Merge commit 'e9ee2d864ded6c57c02ebc2ff6e41a0711d099d3' into gingerbread-plus-aosp

* commit 'e9ee2d864ded6c57c02ebc2ff6e41a0711d099d3':
  Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

14 years agoam 7162fe0e: am 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash...
Steve Block [Sat, 7 Aug 2010 01:59:53 +0000 (18:59 -0700)]
am 7162fe0e: am 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Merge commit '7162fe0e3c5886b6c35f42c5cd9d9e83aa3785cf' into gingerbread-plus-aosp

* commit '7162fe0e3c5886b6c35f42c5cd9d9e83aa3785cf':
  Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

14 years agoam a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory corruption...
Steve Block [Sat, 7 Aug 2010 01:55:12 +0000 (18:55 -0700)]
am a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Merge commit 'a42794783dfec7f142845611dc0f20bfe2657c49' into gingerbread

* commit 'a42794783dfec7f142845611dc0f20bfe2657c49':
  Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

14 years agoam 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash when focus...
Steve Block [Sat, 7 Aug 2010 01:55:10 +0000 (18:55 -0700)]
am 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Merge commit '2b6ea0299b0340ff815b7beab6e7491ff5e4d6c0' into gingerbread

* commit '2b6ea0299b0340ff815b7beab6e7491ff5e4d6c0':
  Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

14 years agoMerge "Moving all webcore handling to the webcore thread."
Kristian Monsen [Fri, 6 Aug 2010 11:53:09 +0000 (04:53 -0700)]
Merge "Moving all webcore handling to the webcore thread."

14 years agoMerge "Initial work on browser incognito mode history feature."
Elliott Slaughter [Thu, 5 Aug 2010 23:20:15 +0000 (16:20 -0700)]
Merge "Initial work on browser incognito mode history feature."

14 years agoresolved conflicts for merge of da53ac10 to master
Brian Carlstrom [Thu, 5 Aug 2010 21:19:58 +0000 (14:19 -0700)]
resolved conflicts for merge of da53ac10 to master

Change-Id: I39ea3d77358e89ee6e5202d08ad18329a17c6989

14 years agoam 71b088a0: Tracking merge of dalvik-dev to gingerbread
Brian Carlstrom [Thu, 5 Aug 2010 17:41:06 +0000 (10:41 -0700)]
am 71b088a0: Tracking merge of dalvik-dev to gingerbread

Merge commit '71b088a040027130a502f60e6f953c08a194b11e' into gingerbread-plus-aosp

* commit '71b088a040027130a502f60e6f953c08a194b11e':
  Tracking merge of dalvik-dev to gingerbread

14 years agoMoving all webcore handling to the webcore thread.
Kristian Monsen [Tue, 27 Jul 2010 14:10:41 +0000 (15:10 +0100)]
Moving all webcore handling to the webcore thread.

This is part 1 of 2. This CL moves all response actions to the correct thread. A later CL will move all request actions.

Parts of CL https://android-git.corp.google.com/g/#change,58486 are here since I don't want to loose that functionality.
This will be rewritten as the next part of this CL, and is in WebRequest.cpp function WebRequest::start().

Change-Id: I476dc40ae722ecd83d56c482dbe7df726b3844b0

14 years agoMerge "More fixes after the merge, setting a proxy service."
Kristian Monsen [Thu, 5 Aug 2010 12:54:31 +0000 (05:54 -0700)]
Merge "More fixes after the merge, setting a proxy service."

14 years agoMerge "Fix incorrect cherry-pick of WebKit change 64465 in merge to WebKit r64264"
Steve Block [Thu, 5 Aug 2010 11:41:49 +0000 (04:41 -0700)]
Merge "Fix incorrect cherry-pick of WebKit change 64465 in merge to WebKit r64264"

14 years agoMerge "Implement DeviceOrientationClientAndroid"
Steve Block [Thu, 5 Aug 2010 11:34:24 +0000 (04:34 -0700)]
Merge "Implement DeviceOrientationClientAndroid"

14 years agoFix incorrect cherry-pick of WebKit change 64465 in merge to WebKit r64264
Steve Block [Wed, 4 Aug 2010 23:04:49 +0000 (00:04 +0100)]
Fix incorrect cherry-pick of WebKit change 64465 in merge to WebKit r64264

See https://android-git.corp.google.com/g/#change,59749

Change-Id: I0ea44ef95fcd8035adc27a32fb75e7c19f23c975

14 years agoImplement DeviceOrientationClientAndroid
Steve Block [Mon, 2 Aug 2010 09:30:48 +0000 (10:30 +0100)]
Implement DeviceOrientationClientAndroid

This class acts simply as a proxy to the real or mock client, which is owned by
the WebView. DEVICE_ORIENTATION is eabled on Android, so we must implement the
client before we pull in http://trac.webkit.org/changeset/64356, which calls
DeviceOrientationClient::setController() from the Page constructor.

Change-Id: Ie21957249e5bef7a58c51205732f4fb1b82fbbd3

14 years agoMore fixes after the merge, setting a proxy service.
Kristian Monsen [Thu, 5 Aug 2010 11:25:36 +0000 (12:25 +0100)]
More fixes after the merge, setting a proxy service.

Setting the proxy to 0 was not too smart as it crashes when used. The ProxyService::CreateNull is for a usercase like ours where we basicly don't want a proxy.
Also changed the includes in this file to be correct for files from other libraries.

Change-Id: I7b8ccadf01cdeb10cc141e07bea7dbb57bb80073

14 years agoCherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxMode...
Steve Block [Thu, 5 Aug 2010 11:12:56 +0000 (12:12 +0100)]
Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Bug: 2895569
Change-Id: Iea09dc4fdc35e68ccad36deed2132f02e3778e34

14 years agoCherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed
Steve Block [Thu, 5 Aug 2010 11:10:12 +0000 (12:10 +0100)]
Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Bug: 2895569
Change-Id: I76f48ca7d6ddee996127254c5f1f00e355318527

14 years agoTracking merge of dalvik-dev to gingerbread
Brian Carlstrom [Thu, 5 Aug 2010 06:24:52 +0000 (23:24 -0700)]
Tracking merge of dalvik-dev to gingerbread

git cherry-pick --no-commit a2350cae81d07b024de06d0508f8cbd317dad3b7

Change-Id: I52ae486a58ed5bdc79390525179092a5a930c0e7

14 years agoInitial work on browser incognito mode history feature.
Elliott Slaughter [Thu, 15 Jul 2010 18:41:04 +0000 (11:41 -0700)]
Initial work on browser incognito mode history feature.

Change-Id: I08ccbef18a53660fd9c22e1e2160be7de1733db1

14 years agoMerge "Compile fix after chromium merge"
Kristian Monsen [Wed, 4 Aug 2010 15:39:03 +0000 (08:39 -0700)]
Merge "Compile fix after chromium merge"

14 years agoCompile fix after chromium merge
Kristian Monsen [Wed, 4 Aug 2010 13:36:38 +0000 (14:36 +0100)]
Compile fix after chromium merge

Change-Id: Ie984365f5bc35305ec1c2899be25a791ad354ef1

14 years agoFix for issue 2857086 - page cycler hanging.
Ben Murdoch [Wed, 4 Aug 2010 09:24:38 +0000 (10:24 +0100)]
Fix for issue 2857086 - page cycler hanging.

Cherry pick of webkit.org r64638.

Change-Id: I50ea47544af219cc04717a060d4b70f478a40877

14 years agoMerge "Removing the list of active loaders"
Kristian Monsen [Wed, 4 Aug 2010 12:28:09 +0000 (05:28 -0700)]
Merge "Removing the list of active loaders"

14 years agoMerge WebKit at r64264 : Update WEBKIT_MERGE_REVISION to the new webkit version
Kristian Monsen [Tue, 3 Aug 2010 12:27:10 +0000 (13:27 +0100)]
Merge WebKit at r64264 : Update WEBKIT_MERGE_REVISION to the new webkit version

Change-Id: I03f3535b7764f420c4bd89981d9cdbe9ac0d0a8b

14 years agoMerge WebKit at r64264 : LayoutTest expected result
Kristian Monsen [Wed, 4 Aug 2010 11:47:50 +0000 (12:47 +0100)]
Merge WebKit at r64264 : LayoutTest expected result
The expected result for fast/dom/DeviceOrientation/window-property-expected is now the jsc output. Removing the old file from the android expected output.

Webkit CL that changed the expected from v8 to jsc:
http://trac.webkit.org/changeset/64125/trunk/LayoutTests/fast/dom/DeviceOrientation/window-property-expected.txt

Change-Id: Idc040906b80dd90c26b115f8c97d6d2e3b35a1b7

14 years agoMerge WebKit at r64264 : Compile fix: A method got an extra parameter in GraphicsCont...
Kristian Monsen [Tue, 3 Aug 2010 10:56:57 +0000 (11:56 +0100)]
Merge WebKit at r64264 : Compile fix: A method got an extra parameter in GraphicsContext.h
Change introduced here: http://trac.webkit.org/changeset/63864/trunk/WebCore/platform/graphics/GraphicsContext.h

Change-Id: I471797fff394396ec375db10c3bcb4e9c00feb3e

14 years agoMerge WebKit at r64264 : Compile fix: Filter guards in SVG
Kristian Monsen [Tue, 3 Aug 2010 10:43:11 +0000 (11:43 +0100)]
Merge WebKit at r64264 : Compile fix: Filter guards in SVG
Introduced here: http://trac.webkit.org/changeset/64196/trunk/WebCore/rendering/SVGResourcesCycleSolver.cpp

Partially upstreamed as the file has changed upstream after the merge, and the newer version doesn't have both places where guards were needed.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=43338
Upstream CL: http://trac.webkit.org/changeset/64465/trunk/WebCore/rendering/SVGResourcesCycleSolver.cpp
Upstream change after merge where we have guards: http://trac.webkit.org/changeset/64440/trunk/WebCore/rendering/SVGResourcesCycleSolver.cpp

Change-Id: Iaab4595ded78485c81d6f61a726a5bd0f48c5621

14 years agoMerge WebKit at r64264 : Compile fix: Inspector guards in V8
Kristian Monsen [Tue, 3 Aug 2010 10:40:17 +0000 (11:40 +0100)]
Merge WebKit at r64264 : Compile fix: Inspector guards in V8
Introduced here: http://trac.webkit.org/changeset/63891/trunk/WebCore/bindings/v8/ScriptValue.cpp
The JSC version is guarded.

This change has been upstreamed, and this is the bug:
https://bugs.webkit.org/show_bug.cgi?id=43345
And the webkit CL:
http://trac.webkit.org/changeset/64464/trunk/WebCore/bindings/v8/ScriptValue.cpp

Change-Id: Ic1e5b7a7352a9f290210776f2f1ce220952c6725

14 years agoMerge WebKit at r64264 : Compile fix: CellStruct changed.
Kristian Monsen [Mon, 2 Aug 2010 10:42:56 +0000 (11:42 +0100)]
Merge WebKit at r64264 : Compile fix: CellStruct changed.
http://trac.webkit.org/changeset/63994/trunk/WebCore/rendering/RenderTableSection.h

Change-Id: I52787b9723791822d9c95ef52d7a81c23c2aeca7

14 years agoMerge WebKit at r64264 : Compile fix, how to create WebCore::Page changed
Kristian Monsen [Mon, 2 Aug 2010 10:10:24 +0000 (11:10 +0100)]
Merge WebKit at r64264 : Compile fix, how to create WebCore::Page changed
http://trac.webkit.org/changeset/64208

Change-Id: If0c6a616bd9eb1f1c90041f9c83d1770d8acd9bd

14 years agoMerge WebKit at r64264 : Compile fix: registerURLSchemeAsLocal moved
Kristian Monsen [Mon, 2 Aug 2010 10:07:38 +0000 (11:07 +0100)]
Merge WebKit at r64264 : Compile fix: registerURLSchemeAsLocal moved
SecurityOrigin::registerURLSchemeAsLocal got moved to a new class.
http://trac.webkit.org/changeset/63863

Change-Id: If1baa94d90506a9de321ad3303545e133ee446e9

14 years agoMerge Webkit at r64264 : Fix Makefiles.
Kristian Monsen [Fri, 30 Jul 2010 14:23:17 +0000 (15:23 +0100)]
Merge Webkit at r64264 : Fix Makefiles.

Change-Id: Ie4783363cff9eb7f70d6bbfec1a6237b5f5a72b5

14 years agoMerge Webkit at r64264 : Fix conflicts.
Kristian Monsen [Fri, 30 Jul 2010 14:20:36 +0000 (15:20 +0100)]
Merge Webkit at r64264 : Fix conflicts.

Tracs of the changes:
WebCore/html/HTMLDocumentParser.cpp
http://trac.webkit.org/changeset/63998/trunk/WebCore/html/HTMLDocumentParser.cpp

WebCore/page/EventHandler.cpp
WebCore/page/EventHandler.h
http://trac.webkit.org/changeset/63888

WebCore/page/Page.cpp
http://trac.webkit.org/changeset/64208

WebCore/page/Settings.cpp
WebCore/page/Settings.h
http://trac.webkit.org/changeset/64110

WebCore/rendering/RenderLayerCompositor.h
http://trac.webkit.org/changeset/64054/trunk/WebCore/rendering/RenderLayerCompositor.h

WebCore/rendering/RenderTableSection.cpp
http://trac.webkit.org/changeset/63994/trunk/WebCore/rendering/RenderTableSection.cpp

WebCore/rendering/break_lines.cpp
http://trac.webkit.org/changeset/64207

Change-Id: I34167b43899ee5066e33b40867cd569ce53f9207

14 years agoMerge WebKit at r64264 : Initial merge by git.
Kristian Monsen [Fri, 30 Jul 2010 09:46:49 +0000 (10:46 +0100)]
Merge WebKit at r64264 : Initial merge by git.

Change-Id: Ic42bef02efef8217a0f84c47176a9c617c28d1f1

14 years agoRemoving the list of active loaders
Kristian Monsen [Tue, 27 Jul 2010 15:54:46 +0000 (16:54 +0100)]
Removing the list of active loaders

A loader will not be deleted before the WebRequest has called didFinishLoading() now, so there is no longer a need for this.
There was also a problem with that list. If a loader got deleted and a new one created with the same pointer value the deleted one could be mistaken for the new one.

Change-Id: I856519e751f6f1d15cfbd426a2cd2ba71315850b

14 years agoEnable navigation in scrollable layers.
Patrick Scott [Mon, 2 Aug 2010 12:09:31 +0000 (08:09 -0400)]
Enable navigation in scrollable layers.

EventHandler:
  * Added IgnoreClipping in order to touch nodes that are clipped
    out.

android_graphics:
  * Remember the absolute bounds of the node for invals.

RenderBox:
  * Fix a compiler warning.

RenderLayer:
  * Do not record the entire layer contents unless the scroll
    dimensions are larger than the client dimensions.
  * Change isSelfPaintingLayer to check for an overflow clip
    instead of the scrollable dimensions since it can be too
    early to check at this point.

RenderLayerCompositor:
  * Same as RenderLayer for checking the overflow clip.

WebViewCore:
  * Scroll the containing layer to the node bounds and offset the
    mouse position if scrolled.  Once the mouse event is processed,
    restore the layer to 0,0.

CacheBuilder:
  * The body position is no longer used.
  * Do not clip out nodes if the layer is scrollable.

CachedFrame:
  * Add unadjustBounds to restore adjusted bounds to their original
    position (fixed position elements).
  * Call unadjustBounds when a node has been found.  This new set of
    bounds is passed over to WebViewCore to handle clicks.
  * Reject empty node bounds.

CachedLayer:
  * Document adjustBounds and add unadjustBounds.  Add in the scroll
    position to the node bounds.

CachedRoot:
  * Unadjust the mouse bounds.

WebView:
  * Unadjust the mouse bounds and use the absolute bounds of the ring
    during inval.

Bug: 1566791
Change-Id: Ia55f2cbb61869087176d3ff61882e40324614c6a

14 years agoMerge "Added test_expectations.txt file to platform/android/"
Maksymilian Osowski [Mon, 2 Aug 2010 15:23:24 +0000 (08:23 -0700)]
Merge "Added test_expectations.txt file to platform/android/"

14 years agoAdded test_expectations.txt file to platform/android/
Maksymilian Osowski [Mon, 2 Aug 2010 10:28:02 +0000 (11:28 +0100)]
Added test_expectations.txt file to platform/android/

The original data in this file comes from FileFilter class in the old Dump Render Tree and was extracted from there on 30/07/2010

Change-Id: Ibc1101d08123ffaff51b765e5333d1b96c5ab02f

14 years agoRevert "Add CSS cursor ring definitions"
Cary Clark [Fri, 30 Jul 2010 20:01:44 +0000 (16:01 -0400)]
Revert "Add CSS cursor ring definitions"

This reverts commit 0ed6485271097ecf1b4cf4e790f9cfdbb57d921c.

14 years agoAdd CSS cursor ring definitions
Cary Clark [Wed, 28 Jul 2010 21:11:14 +0000 (17:11 -0400)]
Add CSS cursor ring definitions

This allows web pages to have fine-grain control over the appearance
of the rings drawn around nodes.

Generated links (email, addresses, phone numbers) are no longer
given unique colors. To preserve this feature, a separate change
could add an HTML extension similar to vlink to provide the cursor
ring defintions for theses links. The mechanism implemented below
isn't appropriate since these links don't necessarily correspond to
single DOM nodes or other DOM elements.

------------
CSS examples
------------

The CSS to specify the ring looks like:

    -webkit-ring-fill-color:rgba(0,0,255,0.4);
    -webkit-ring-inner-width:2 px;
    -webkit-ring-outer-width:3.5 px;
    -webkit-ring-outset: 8 px;
    -webkit-ring-pressed-inner-color:rgba(0,0,255,0.8);
    -webkit-ring-pressed-outer-color:rgba(0,0,127,0.3);
    -webkit-ring-radius: 10 px;
    -webkit-ring-selected-inner-color:rgba(63,63,255,0.8);
    -webkit-ring-selected-outer-color:rgba(63,63,127,0.3);

and may be alternately defined with a property shortcut:

    -webkit-ring:rgba(255,0,0,0.4) 5px 7px
        rgba(255,0,0,0.8) rgba(127,0,0,0.3) 20px
        rgba(255,63,63,0.8) rgba(127,63,63,0.3);

--------------------
Property definitions
--------------------

A vertical cross-section of the ring corresponds to these
parameters as shown:
             ______
          R / ___O_            R = corner radius
           / / __I_   o        I = inner ring
          / / / _O_   ^        O = outer ring
         | | | / F    |        F = fill
         |O|I|O| L             o = outset
         | | | \_F_   |        L = original link
          \ \ \__O_   V
           \ \___I_   o
         R  \____O_

The fill color specifies what to draw inside the ring
when the link is followed. The fill area consists of the
original link area the outset.

The inner and outer widths specify the stoke width of the inner
and outer rings, respectively. The widths may be specified in
fractional pixels. The implementation captures 4 bits of the
fraction.

The outset specifies the distance from the edge of the original
link to the rings' center. Both rings are drawn at the same center
location.

The radius specifies the curvature of the corners at the center
of the rings.

-------------
Data lifetime
-------------

The selected colors specify the colors of the inner and outer
rings when the trackball or D-pad hovers over the link. The
pressed colors specify the colors of the rings when the
trackball center is pressed or the link is tapped.

The CSS data is recorded in the RenderStyle when the DOM
is parsed. The widths are scaled up by 16 to preserve the fraction.

When the nav cache is built, the CSS style information is
recorded in the CachedColor class. Only unique style sets
are recorded; many CachedNode instances can share the same
CachedColor instance.

When the cursor ring is drawn, the CachedColor is
retrieved by getting the index from the CachedNode, and
looking up the entry in the CachedFrame. The widths are
scaled down by 16 since Lengths are stored by the webkit as
integers.

----------
File Edits
----------

WebCore/Android.derived.mk
- Build the CSS data property tables by concatentating
  Android specific data and optionally SVG data.

WebCore/config.h
- Add switch for these rings. This switch is meant
  as a convenience for finding the code in WebKit
  that was added to enable this feature. Since the
  old code in DrawCursor has been removed, it does
  not revert to the old behavior if the switch is
  turned off.

WebCore/css/AndroidCSSPropertyNames.in
- The new ring properties, plus an old one we
  added before.

WebCore/css/CSSComputedStyleDeclaration.cpp
WebCore/css/CSSMutableStyleDeclaration.cpp
WebCore/css/CSSParser.cpp
WebCore/css/CSSStyleSelector.cpp
- I can guess what these functions are for as
  well as anyone, but I really don't know. Do
  I need all of them? Do I need to modify
  Mutable at all?

WebCore/css/CSSPropertyNames.in
- Moved Android addition to AndroidCSSPropertyNames.in

WebCore/platform/graphics/Color.h
- Added initial color values here.

WebCore/platform/graphics/android/android_graphics.*
- This draws the cursor ring. The code that draws
  'synthetic' links has been discarded.

WebCore/rendering/style/RenderStyle.h
- Functions to get, set, and initialize the style
  data.

WebCore/rendering/style/StyleRareInheritedData.*
- The storage for the style data and an equivalence
  function.

WebKit/Android.mk
- Added CachedColor to the build.

WebKit/android/nav/CacheBuilder.cpp
- Record the color from the DOM into the cache.

WebKit/android/nav/CachedColor.*
- Store the cached color info.

WebKit/android/nav/CachedFrame.*
- Where the array of colors is stored.

WebKit/android/nav/CachedNode.*
- Where the index to the colors is stored.

Change-Id: Ia3a931f41d6545e47678e245aafe7c84d4658f94
http://b/2603197

14 years agoMerge "Add back nativeClearContent since it's used in Java side."
Shimeng (Simon) Wang [Fri, 30 Jul 2010 00:21:31 +0000 (17:21 -0700)]
Merge "Add back nativeClearContent since it's used in Java side."

14 years agoAdd back nativeClearContent since it's used in Java side.
Shimeng (Simon) Wang [Thu, 29 Jul 2010 23:32:54 +0000 (16:32 -0700)]
Add back nativeClearContent since it's used in Java side.

issue: 2841402
Change-Id: Ia147b39f84be91a92dd4f491e8d3de263df4244b

14 years agoMerge "Put the webkit version into android code base."
Shimeng (Simon) Wang [Wed, 28 Jul 2010 17:41:47 +0000 (10:41 -0700)]
Merge "Put the webkit version into android code base."

14 years agoMerge "Bug 2811402:Fixed parenthesis are not mirrored correctly in bidi layout."
claireho [Tue, 27 Jul 2010 22:30:29 +0000 (15:30 -0700)]
Merge "Bug 2811402:Fixed parenthesis are not mirrored correctly in bidi layout."

14 years agoPut the webkit version into android code base.
Shimeng (Simon) Wang [Tue, 27 Jul 2010 18:27:44 +0000 (11:27 -0700)]
Put the webkit version into android code base.

The original webkit change is:
http://trac.webkit.org/changeset/64087

Change-Id: Ide7141ffec0a8a37f333c06bddabe3703d79af54

14 years agoFix focus rings by adding back in the SkPicture constructor.
Patrick Scott [Tue, 27 Jul 2010 20:24:31 +0000 (16:24 -0400)]
Fix focus rings by adding back in the SkPicture constructor.

Change-Id: I31e3786742f0ae05c9f6c8ab23b4dbd0c790dfc5

14 years agoMerge "Add DeviceOrientation LayoutTests at r63859 and enable the feature"
Steve Block [Tue, 27 Jul 2010 11:44:36 +0000 (04:44 -0700)]
Merge "Add DeviceOrientation LayoutTests at r63859 and enable the feature"

14 years agoMerge "Crash fix, don't delete WebUrlLoaderClient before WebRequest is finished."
Kristian Monsen [Tue, 27 Jul 2010 11:42:15 +0000 (04:42 -0700)]
Merge "Crash fix, don't delete WebUrlLoaderClient before WebRequest is finished."

14 years agoCrash fix, don't delete WebUrlLoaderClient before WebRequest is finished.
Kristian Monsen [Tue, 27 Jul 2010 11:33:29 +0000 (12:33 +0100)]
Crash fix, don't delete WebUrlLoaderClient before WebRequest is finished.

Already approved in https://android-git.corp.google.com/g/#change,58487

Change-Id: Ib9718053edacd76b77a41b76782fd20769f57823

14 years agoAdd DeviceOrientation LayoutTests at r63859 and enable the feature
Steve Block [Tue, 27 Jul 2010 10:05:56 +0000 (11:05 +0100)]
Add DeviceOrientation LayoutTests at r63859 and enable the feature

All tests pass.

Note that the JSC-specific expected result for window-property.html is a
placeholder until https://bugs.webkit.org/show_bug.cgi?id=43025 is fixed.

Change-Id: I60a978231a10f0a57b3dc654876b181dc47eb455

14 years agoMerge "Add dom/xhtml/level3 layout tests at WebKit r63173"
Steve Block [Tue, 27 Jul 2010 09:53:45 +0000 (02:53 -0700)]
Merge "Add dom/xhtml/level3 layout tests at WebKit r63173"

14 years agoMerge Webkit at r63859 : Update WebKit revision.
Ben Murdoch [Fri, 23 Jul 2010 15:51:19 +0000 (16:51 +0100)]
Merge Webkit at r63859 : Update WebKit revision.

Change-Id: I2979ff9ad9c3813dbfc33874aea23414d6c71bdf

14 years agoMerge Webkit at r63859 : New method Path::currentPoint added, stub it out on Android...
Ben Murdoch [Thu, 22 Jul 2010 17:23:32 +0000 (18:23 +0100)]
Merge Webkit at r63859 : New method Path::currentPoint added, stub it out on Android. See trac.webkit.org/changeset/63599
See b/2869593

Change-Id: Ib7c8fda4a9bf62d470a4fa63823fa0951b5974ea

14 years agoMerge Webkit at r63859 : SVG code now required ImageBuffer::transformColorSpace,
Ben Murdoch [Thu, 22 Jul 2010 17:22:43 +0000 (18:22 +0100)]
Merge Webkit at r63859 : SVG code now required ImageBuffer::transformColorSpace,
so add it and stub out platformTransformColorSpace.
See http://trac.webkit.org/changeset/63450

Change-Id: I2c84c13a19b1a787b0edbfb9fcefd08acd9ed6ff

14 years agoMerge Webkit at r63859 : Bindings code generators now enforce that generated constant...
Ben Murdoch [Thu, 22 Jul 2010 17:07:50 +0000 (18:07 +0100)]
Merge Webkit at r63859 : Bindings code generators now enforce that generated constants match their enums. See trac.webkit.org/changeset/63331

Change-Id: Ida82337eec825e26ab4afb8fc26e22fdb6c18786

14 years agoMerge Webkit at r63859 : New code in SVGResourceContainer is missing an include.
Ben Murdoch [Thu, 22 Jul 2010 16:16:03 +0000 (17:16 +0100)]
Merge Webkit at r63859 : New code in SVGResourceContainer is missing an include.
This is a cherry pick of http://trac.webkit.org/changeset/64007 to fix the build.

Change-Id: Ic86639eb7dbcd09f0273f614537354bfa7fd369d

14 years agoMerge Webkit at r63859 : ResourceHandleInternal::m_request has been renamed. See...
Ben Murdoch [Thu, 22 Jul 2010 16:07:51 +0000 (17:07 +0100)]
Merge Webkit at r63859 : ResourceHandleInternal::m_request has been renamed. See trac.webkit.org/changeset/63332

Change-Id: Id019ee222d0b7dcfa464f97cfffdd5c08e2d0ee8

14 years agoMerge Webkit at r63859 : The static AccessibilityObject::getAttribute(Node*, const...
Ben Murdoch [Thu, 22 Jul 2010 16:05:30 +0000 (17:05 +0100)]
Merge Webkit at r63859 : The static AccessibilityObject::getAttribute(Node*, const QualfiedName&) function has been removed.
See http://trac.webkit.org/changeset/63358

Change-Id: I89c6a0a98d04f0a0cd40492229fa03f2e9782622

14 years agoMerge Webkit at r63859 : PluginWidget class has been renamed and moved to WebKit...
Ben Murdoch [Thu, 22 Jul 2010 16:02:31 +0000 (17:02 +0100)]
Merge Webkit at r63859 : PluginWidget class has been renamed and moved to WebKit. See trac.webkit.org/changeset/63638

Change-Id: I97784c98b694f28804421637716afa649aa09a6e

14 years agoMerge Webkit at r63859 : Update call to hitTestResultAtPoint with the default hit...
Ben Murdoch [Thu, 22 Jul 2010 15:54:39 +0000 (16:54 +0100)]
Merge Webkit at r63859 : Update call to hitTestResultAtPoint with the default hit test request
as we also wish to pass a padding rect to use the HITTEST_WITHSIZE codepath.

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

Change-Id: I62109577c9468639971522a72adc3a543237516a

14 years agoMerge Webkit at r63859 : Add new EditorClient method stub. See http://trac.webkit...
Ben Murdoch [Thu, 22 Jul 2010 15:51:28 +0000 (16:51 +0100)]
Merge Webkit at r63859 : Add new EditorClient method stub. See trac.webkit.org/changeset/63602

Change-Id: I22392960cf91a1f826d37f257325fc988e2a8347

14 years agoMerge Webkit at r63859 : PlatformCursorHandle -> Cursor. See http://trac.webkit.org...
Ben Murdoch [Thu, 22 Jul 2010 15:44:15 +0000 (16:44 +0100)]
Merge Webkit at r63859 : PlatformCursorHandle -> Cursor. See trac.webkit.org/changeset/63339

Change-Id: I26df53fba097893a5adee2a957a63a0f1720def8

14 years agoMerge Webkit at r63859 : Fix Makefiles.
Ben Murdoch [Thu, 22 Jul 2010 15:25:33 +0000 (16:25 +0100)]
Merge Webkit at r63859 : Fix Makefiles.

Change-Id: I5a218be0b26003f4fceb964e7add0f1eda410710

14 years agoMerge WebKit at r63859: Fix conflicts.
Ben Murdoch [Thu, 22 Jul 2010 14:46:12 +0000 (15:46 +0100)]
Merge WebKit at r63859: Fix conflicts.

html/HTMLCanvasElement.h due to http://trac.webkit.org/changeset/63502
html/HTMLLinkElement.cpp due to http://trac.webkit.org/changeset/63622
Android.mk and WebCore/Android.mk due to http://trac.webkit.org/changeset/63735
WebCore/page/Settings.cpp|h due to http://trac.webkit.org/changeset/63537
WebCore/page/EventHandler.cpp|h due to http://trac.webkit.org/changeset/63807
WebCore/Android.jscbindings.mk due to http://trac.webkit.org/changeset/63193
WebCore/platform/network/ResourceHandle.h due to http://trac.webkit.org/changeset/63332

Change-Id: I03c929b97550014373f044f56c248040b66118f0

14 years agoMerge WebKit at r63859 : Initial merge by git.
Ben Murdoch [Thu, 22 Jul 2010 14:37:06 +0000 (15:37 +0100)]
Merge WebKit at r63859 : Initial merge by git.

Change-Id: Ie8096c63ec7c991c9a9cba8bdd9c3b74a3b8ed62

14 years agoBug 2811402:Fixed parenthesis are not mirrored correctly in bidi layout.
claireho [Mon, 26 Jul 2010 23:48:56 +0000 (16:48 -0700)]
Bug 2811402:Fixed parenthesis are not mirrored correctly in bidi layout.

Ported the webkit fixes from http://trac.webkit.org/changeset/62965.
Harfbuzz does not do mirroring, so we iterate each character
in the string and mirror it if needed before passing the
string to harfbuzz for shaping.

Change-Id: Ifee1035f96e4e82a5a2641b57dd839cec3427b59

14 years agoAdd node check to prevent crash.
Shimeng (Simon) Wang [Mon, 26 Jul 2010 23:37:25 +0000 (16:37 -0700)]
Add node check to prevent crash.

issue: 2870827
Change-Id: I49f9a83fd7cd79100d7d8b0833db7d9f03c7e4f8

14 years agoMerge "Bug 2843604 : Layout_tests crash in FontAndroid.cpp."
claireho [Fri, 23 Jul 2010 20:37:01 +0000 (13:37 -0700)]
Merge "Bug 2843604 : Layout_tests crash in FontAndroid.cpp."

14 years agoBug 2843604 : Layout_tests crash in FontAndroid.cpp.
claireho [Thu, 22 Jul 2010 00:57:14 +0000 (17:57 -0700)]
Bug 2843604 : Layout_tests crash in FontAndroid.cpp.

2 problems were found in JSON-stringify.html test crash.
1. Dirty memory is re-used in FontAndroid.cpp.
2. Unnecessary delete/new GlyphArrays.

Change-Id: I16bfe96943815f35ef1730287d61295ecd3ea2ad

14 years agoFix page cycler crashes.
Patrick Scott [Fri, 23 Jul 2010 15:08:20 +0000 (11:08 -0400)]
Fix page cycler crashes.

Bug: 2862822
Change-Id: I9de300517eaa2bd4027608d6bae093bf5a1072e0

14 years agoMerge "Compile fix after recent merge, name change in OwnPtr."
Kristian Monsen [Fri, 23 Jul 2010 09:56:57 +0000 (02:56 -0700)]
Merge "Compile fix after recent merge, name change in OwnPtr."

14 years agoAdd dom/xhtml/level3 layout tests at WebKit r63173
Steve Block [Fri, 9 Jul 2010 15:04:25 +0000 (16:04 +0100)]
Add dom/xhtml/level3 layout tests at WebKit r63173

These all pass.

Note that the Android-V8-specific results are required because these tests rely
on Error.line, which is non-standard and not provided by V8.

A further 15 tests have no expected results so will be added to the
DumpRenderTree ignore list.

None of these tests are run on Chromium.

Change-Id: I6b7ea492586fa2d9cd60858f06641941c87ede14

14 years agoCompile fix after recent merge, name change in OwnPtr.
Kristian Monsen [Thu, 22 Jul 2010 13:15:31 +0000 (14:15 +0100)]
Compile fix after recent merge, name change in OwnPtr.

Change-Id: I5741bfe5d0907deb8a5158390b44e74b4485be67

14 years agoEnable scrollable divs.
Patrick Scott [Fri, 16 Jul 2010 16:43:07 +0000 (12:43 -0400)]
Enable scrollable divs.

Force a composite layer when the style says the content is scrollable.
Record the border and background in the main content picture.  When
the contents of the layer are bigger than the size, record the
foreground contents in a separate picture which is clipped by the
border and size.

When updating the base layer, remember the scroll position of each
layer and update the new layer with the same position.

Bug: 1566791
Change-Id: If440e4f215db6bda9df32a781d754d1f5a238162

14 years agoRevert "Add -fno-data-sections to WebCore makefile."
Ben Murdoch [Thu, 22 Jul 2010 10:16:10 +0000 (11:16 +0100)]
Revert "Add -fno-data-sections to WebCore makefile."

This reverts commit 31dbf1e39c75fa71a6175b95ce2172727630129b.

The underlying issue in the compiler has been fixed.

14 years agoselect text out of order
Cary Clark [Mon, 19 Jul 2010 15:52:30 +0000 (11:52 -0400)]
select text out of order

When the selected text visual order doesn't match the picture
order, the text is selected spacially. The rectangle described
by the start and end points limits what text is selected.

This can fail when the rectangle described is too narrow to
enclose all the lines between the top and bottom. This change
extends the lines by including the text adjacent to the start
and end when computing the limit bounds.

And:

- Refactor the code so that drawing the region and selecting
the text can share this logic.

- Add slashes as characters that prevent inserting spaces at
the ends of lines. (ASCII characters space, dash, slash, and
backslash cause lines to wrap.)

- Narrow the error term for detecting spaces. The 1/2 value
before inserted spaces incorrectly.

Change-Id: I645f38dc246c61b1bc7c94e61553e5e6e36e3f85
http://b/2817635

14 years agoMerge "Cherry-pick fix to https://bugs.webkit.org/show_bug.cgi?id=42651 because it...
Leon Clarke [Wed, 21 Jul 2010 12:19:53 +0000 (05:19 -0700)]
Merge "Cherry-pick fix to https://bugs.webkit.org/show_bug.cgi?id=42651 because it fixes b/issue?id=2838936, but includes more refactoring than my original fix at https://android-git.corp.google.com/g/#change,58175"

14 years agoCherry-pick fix to https://bugs.webkit.org/show_bug.cgi?id=42651
Leon Clarke [Wed, 21 Jul 2010 11:59:28 +0000 (12:59 +0100)]
Cherry-pick fix to https://bugs.webkit.org/show_bug.cgi?id=42651
because it fixes http://b/issue?id=2838936, but includes more refactoring
than my original fix at https://android-git.corp.google.com/g/#change,58175

Change-Id: I67884fc153bff81c9580f36b7be1662acdda194e

14 years agoPrepare browser web archive patch for upstreamming to webkit.
Elliott Slaughter [Tue, 20 Jul 2010 23:08:54 +0000 (16:08 -0700)]
Prepare browser web archive patch for upstreamming to webkit.

Change-Id: I38c7939b81cd0afaaf925b9f74104bcbe27b5977

14 years agoFix http://b/issue?id=2838936
Leon Clarke [Tue, 20 Jul 2010 17:01:16 +0000 (18:01 +0100)]
Fix http://b/issue?id=2838936
isPrefetch should return true when the resource is a prefetch, not when it isn't

Change-Id: I73389e302ba7c57b6c4f6bf871f230a968d09c81

14 years agoMerge WebKit at r63173 : Update WebKit revision number.
Leon Clarke [Fri, 16 Jul 2010 08:48:17 +0000 (09:48 +0100)]
Merge WebKit at r63173 : Update WebKit revision number.

Change-Id: I5f7614cdfda3e1c73027c60cb71dff1d9b7d3282

14 years agoMerge WebKit at r63173 : Following @62551, PassOwnPtr no longer has a release method.
Leon Clarke [Thu, 15 Jul 2010 13:40:46 +0000 (14:40 +0100)]
Merge WebKit at r63173 : Following @62551, PassOwnPtr no longer has a release method.
leakPtr appears to be the alternative.

Change-Id: I55d7c2a927e86cfd23ec5a1bb292d2058bcacb09

14 years agoMerge WebKit at r63173 : Following @62607 Page takes a BackForwardClient
Leon Clarke [Thu, 15 Jul 2010 12:12:51 +0000 (13:12 +0100)]
Merge WebKit at r63173 : Following @62607 Page takes a BackForwardClient

Change-Id: I1c86a2881f5bef152f1b9841d6dce41da91b03ac

14 years agoMerge WebKit at r63173 : @62542 added inspector stuff, but the non-inspector case...
Leon Clarke [Thu, 15 Jul 2010 12:02:14 +0000 (13:02 +0100)]
Merge WebKit at r63173 : @62542 added inspector stuff, but the non-inspector case doesn't seem to compile

Change-Id: I16ee514aa06762fe8c4df50d6739d394d03b6d1b

14 years agoMerge Webkit at r63173 : Fix Makefiles.
Leon Clarke [Thu, 15 Jul 2010 11:41:11 +0000 (12:41 +0100)]
Merge Webkit at r63173 : Fix Makefiles.

Note that MathML tags and attribute names are now generated,
and SVG tags and attribute names are always generated. This is because
the HTML5 parser relies on knowing about the tags even if the features
are disabled. See
https://bugs.webkit.org/show_bug.cgi?id=42050
https://bugs.webkit.org/show_bug.cgi?id=42059

Change-Id: Ie8b66217989673f90ffc61aabf499ab91a6a6bd1

14 years agoMerge Webkit at r63173 : Fix conflicts.
Leon Clarke [Thu, 15 Jul 2010 11:22:47 +0000 (12:22 +0100)]
Merge Webkit at r63173 : Fix conflicts.

Android.v8bindings.mk: IDBBindingUtilities caused by http://trac.webkit.org/changeset/63064

CSSCompitedStyleDeclaration.cpp conflict caused by http://trac.webkit.org/changeset/63038
'Computed style is not implemented for padding-start, padding-end, margin-start, margin-end'

HTMLDocumentParser.cpp conflict caused by http://trac.webkit.org/changeset/63165
'HTML5 Parser: document.write after onload blows away document'

Navigator.h conflict caused by http://trac.webkit.org/changeset/62577

Page.cpp caused by  http://trac.webkit.org/changeset/62502

ResourceHandleAndroid.cpp by http://trac.webkit.org/changeset/62736

HTMLLinkElement.* by the upstreaming of link prefetching at http://trac.webkit.org/changeset/63032

Change-Id: I5b9d3eef87cd525a9fc7d862676a41fc4122cba0

14 years agoMerge WebKit at r63173 : Initial merge by git.
Leon Clarke [Thu, 15 Jul 2010 11:03:35 +0000 (12:03 +0100)]
Merge WebKit at r63173 : Initial merge by git.

Change-Id: Ife5af0c7c6261fbbc8ae6bc08c390efa9ef10b44

14 years agoChrome http: Persistent cookies and cache.
Kristian Monsen [Wed, 14 Jul 2010 15:08:30 +0000 (16:08 +0100)]
Chrome http: Persistent cookies and cache.

Sharing one RequestContex. Adding a persistent cookie store and on disk cache to that request.

Change-Id: I7f45cda3803340672585e5b0f84eb0d5e2fd6b75

14 years agoMerge "Removing ANDROID_USER_GESTURE ifdef"
Kristian Monsen [Tue, 20 Jul 2010 09:59:51 +0000 (02:59 -0700)]
Merge "Removing ANDROID_USER_GESTURE ifdef"

14 years agoRevert "Disable ICF for libwebcore.so"
Doug Kwan [Mon, 19 Jul 2010 06:27:00 +0000 (23:27 -0700)]
Revert "Disable ICF for libwebcore.so"

This reverts commit 4d9904fcc4161d144bfd84ca9d294f21d55444d2.

14 years agoam 02f67ae0: am ae583467: add meta-files about 3rd party projects
The Android Open Source Project [Fri, 16 Jul 2010 18:56:41 +0000 (11:56 -0700)]
am 02f67ae0: am ae583467: add meta-files about 3rd party projects

Merge commit '02f67ae036c6acabb72e337a53c601d53ef6592c'

* commit '02f67ae036c6acabb72e337a53c601d53ef6592c':
  add meta-files about 3rd party projects

14 years agoam ae583467: add meta-files about 3rd party projects
The Android Open Source Project [Fri, 16 Jul 2010 18:52:51 +0000 (11:52 -0700)]
am ae583467: add meta-files about 3rd party projects

Merge commit 'ae583467c6ceda8b918b6d3e38cceca26d0715eb' into gingerbread-plus-aosp

* commit 'ae583467c6ceda8b918b6d3e38cceca26d0715eb':
  add meta-files about 3rd party projects

14 years agoadd meta-files about 3rd party projects
The Android Open Source Project [Fri, 16 Jul 2010 18:41:36 +0000 (11:41 -0700)]
add meta-files about 3rd party projects

Change-Id: I1cc3b4d6e2165285a27b5d848c39d3965553382a

14 years agoam 72533818: am 4da2dabd: Merge "The ICU data is no longer compiled directly into...
Joe Onorato [Thu, 15 Jul 2010 18:54:05 +0000 (11:54 -0700)]
am 72533818: am 4da2dabd: Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread

Merge commit '725338187e8e5e36ec3647b675caf1fcd8e5cab7'

* commit '725338187e8e5e36ec3647b675caf1fcd8e5cab7':
  The ICU data is no longer compiled directly into the shared library.

14 years agoam 4da2dabd: Merge "The ICU data is no longer compiled directly into the shared libra...
Joe Onorato [Thu, 15 Jul 2010 18:13:02 +0000 (11:13 -0700)]
am 4da2dabd: Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread

Merge commit '4da2dabd9828e43b05c234be082905c7825a22ec' into gingerbread-plus-aosp

* commit '4da2dabd9828e43b05c234be082905c7825a22ec':
  The ICU data is no longer compiled directly into the shared library.

14 years agoMerge "The ICU data is no longer compiled directly into the shared library." into...
Joe Onorato [Thu, 15 Jul 2010 18:08:20 +0000 (11:08 -0700)]
Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread

14 years agoRemoving ANDROID_USER_GESTURE ifdef
Kristian Monsen [Thu, 15 Jul 2010 15:46:22 +0000 (16:46 +0100)]
Removing ANDROID_USER_GESTURE ifdef

As discussed on CL https://android-git.corp.google.com/g/#change,56717, removing the ifdef is a good thing as this is not a feature we want to turn on
and off.

Change-Id: Ic7a062e2bb15850ca17fcb46fbd25d786e08028d