OSDN Git Service

android-x86/external-webkit.git
13 years agoam 48c3fafe: am eea24577: Cherry-pick security fix in WebKit change 62134
Steve Block [Fri, 10 Sep 2010 11:35:16 +0000 (04:35 -0700)]
am 48c3fafe: am eea24577: Cherry-pick security fix in WebKit change 62134

Merge commit '48c3fafefe720cb153f52c69ea70e95c86d28e89'

* commit '48c3fafefe720cb153f52c69ea70e95c86d28e89':
  Cherry-pick security fix in WebKit change 62134

13 years agoam 9836c30e: am a926fcfd: Cherry-pick security fix in WebKit change 61709
Steve Block [Fri, 10 Sep 2010 11:35:05 +0000 (04:35 -0700)]
am 9836c30e: am a926fcfd: Cherry-pick security fix in WebKit change 61709

Merge commit '9836c30e301e8c144507e06ef2482d33c89a7d1c'

* commit '9836c30e301e8c144507e06ef2482d33c89a7d1c':
  Cherry-pick security fix in WebKit change 61709

13 years agoam eea24577: Cherry-pick security fix in WebKit change 62134
Steve Block [Fri, 10 Sep 2010 11:32:15 +0000 (04:32 -0700)]
am eea24577: Cherry-pick security fix in WebKit change 62134

Merge commit 'eea2457721313546f0b5ddab3836282e338847b9' into gingerbread-plus-aosp

* commit 'eea2457721313546f0b5ddab3836282e338847b9':
  Cherry-pick security fix in WebKit change 62134

13 years agoam a926fcfd: Cherry-pick security fix in WebKit change 61709
Steve Block [Fri, 10 Sep 2010 11:32:10 +0000 (04:32 -0700)]
am a926fcfd: Cherry-pick security fix in WebKit change 61709

Merge commit 'a926fcfd627808c13994eb22aa991c82fd57673a' into gingerbread-plus-aosp

* commit 'a926fcfd627808c13994eb22aa991c82fd57673a':
  Cherry-pick security fix in WebKit change 61709

13 years agoCherry-pick security fix in WebKit change 62134
Steve Block [Thu, 9 Sep 2010 10:53:17 +0000 (11:53 +0100)]
Cherry-pick security fix in WebKit change 62134

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

Bug: 2986936
Change-Id: Ie5c1698e58b9183519aae5dfa8cf5fb8f158feb1

13 years agoCherry-pick security fix in WebKit change 61709
Steve Block [Thu, 9 Sep 2010 11:00:49 +0000 (12:00 +0100)]
Cherry-pick security fix in WebKit change 61709

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

Bug: 2986936
Change-Id: Ib2be95d12bb89c57b6f30d57cd6422bbbf364fc6

13 years agoSet mime type for special android urls
Kristian Monsen [Wed, 8 Sep 2010 20:27:21 +0000 (21:27 +0100)]
Set mime type for special android urls

Change-Id: I66f1643c78563c8aa7d9941b788f7533a8185cb4

13 years agoRemove WEBKIT_MERGE_REVISION in favour of ThirdPartyProject.prop
Steve Block [Tue, 7 Sep 2010 20:47:51 +0000 (21:47 +0100)]
Remove WEBKIT_MERGE_REVISION in favour of ThirdPartyProject.prop

Change-Id: Id7330a7535f9cf00557ad11627d40f2ad1ca9537

13 years agoAdds a number of fast/ LayoutTest directories to the triaged set
Steve Block [Tue, 7 Sep 2010 15:06:44 +0000 (16:06 +0100)]
Adds a number of fast/ LayoutTest directories to the triaged set

Tests are added at r66079. All tests pass

fast/constructors/
fast/cookies/
fast/dom/Attr/
fast/dom/CSSStyleDeclaration/
fast/dom/DOMImplementation/
fast/dom/DeviceMotion/
fast/dom/EntityReference/
fast/dom/HTMLAnchorElement/
fast/dom/HTMLButtonElement/
fast/dom/HTMLFontElement/
fast/dom/HTMLFormElement/
fast/dom/HTMLHtmlElement/
fast/dom/HTMLKeygenElement/
fast/dom/HTMLLabelElement/
fast/dom/HTMLMetaElement/
fast/dom/HTMLTableRowElement/
fast/dom/HTMLTableSectionElement/
fast/dom/Node/
fast/dom/NodeList/
fast/dom/Selection/
fast/dom/StyleSheet/
fast/dom/Text/
fast/dom/TreeWalker/
fast/dom/beforeload/
fast/dom/getElementsByClassName/
fast/leaks/

Change-Id: I9a2c401151f7abf5bb22b764b1327022ab651e04

13 years agoRestoring the ability to set the stack from the shell.
Kristian Monsen [Mon, 6 Sep 2010 10:57:53 +0000 (11:57 +0100)]
Restoring the ability to set the stack from the shell.

This was lost in the last CL:
https://android-git.corp.google.com/g/#change,63956

Change-Id: I5737da8ae6da35fe33b87dc6de344b2dfb0c1a32

13 years agoAdd fast/url LayoutTests at r66079
Steve Block [Fri, 3 Sep 2010 17:46:30 +0000 (18:46 +0100)]
Add fast/url LayoutTests at r66079

All tests pass.

Change-Id: I2564b234be722a743e48ad07e3995a654202a208

13 years agoRevert "Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/.""
Steve Block [Sat, 4 Sep 2010 19:46:56 +0000 (20:46 +0100)]
Revert "Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/.""

This change broke LayoutTest fast/url/ipv4.html

This reverts commit ff93a851c578d0b570c84b3a83a41a4930e7107c.

Change-Id: Ic27602be9fdd855fbc1517deed9e7e9737f5b9b5

13 years agoMerge "Update to Merge WebKit at r61871: Floating-point support for text selection."
Kristian Monsen [Thu, 2 Sep 2010 18:14:42 +0000 (11:14 -0700)]
Merge "Update to Merge WebKit at r61871: Floating-point support for text selection."

13 years agoMerge changes I54430bd1,I61a04cf7,I4961f561,I36170123,I5dc94bad,Ie2e1440f
Steve Block [Thu, 2 Sep 2010 17:54:48 +0000 (10:54 -0700)]
Merge changes I54430bd1,I61a04cf7,I4961f561,I36170123,I5dc94bad,Ie2e1440f

* changes:
  Merge WebKit at r66079 : Update WebKit revision
  Merge WebKit at r66079 : Cherry-pick WebKit change 66211 to add missing IndexedDB guards
  Merge WebKit at r66079 : ImageSource constructor now takes a premultipyAlpha argument
  Merge WebKit at r66079 : Fix makefiles
  Merge WebKit at r66079 : Fix conflicts
  Merge WebKit at r66079 : Initial merge by git

13 years agoUpdated test_expectations.txt to use CRASH instead of SKIP.
Maksymilian Osowski [Thu, 2 Sep 2010 14:08:44 +0000 (15:08 +0100)]
Updated test_expectations.txt to use CRASH instead of SKIP.

Bug: 2970575
Change-Id: Ibbf9ce77a5549d7737b26649a4f5cffc670c9f2a

13 years agoMerge WebKit at r66079 : Update WebKit revision
Steve Block [Fri, 27 Aug 2010 09:45:12 +0000 (10:45 +0100)]
Merge WebKit at r66079 : Update WebKit revision

Change-Id: I54430bd17e4fb66e436af90d4faeff77f8604834

13 years agoMerge WebKit at r66079 : Cherry-pick WebKit change 66211 to add missing IndexedDB...
Steve Block [Fri, 27 Aug 2010 11:46:16 +0000 (12:46 +0100)]
Merge WebKit at r66079 : Cherry-pick WebKit change 66211 to add missing IndexedDB guards

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

Change-Id: I61a04cf700bc84dd5ff173cc79befc28497fddd2

13 years agoMerge WebKit at r66079 : ImageSource constructor now takes a premultipyAlpha argument
Steve Block [Fri, 27 Aug 2010 11:40:23 +0000 (12:40 +0100)]
Merge WebKit at r66079 : ImageSource constructor now takes a premultipyAlpha argument

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

Change-Id: I4961f5610c3061c90edf8cc32b83e4a6b8be12d1

13 years agoMerge WebKit at r66079 : Fix makefiles
Steve Block [Fri, 27 Aug 2010 11:54:49 +0000 (12:54 +0100)]
Merge WebKit at r66079 : Fix makefiles

Change-Id: I361701236c527552e183fe1eaf427c6f549ded90

13 years agoMerge WebKit at r66079 : Fix conflicts
Steve Block [Fri, 27 Aug 2010 11:31:11 +0000 (12:31 +0100)]
Merge WebKit at r66079 : Fix conflicts

- WebCore/dom/Document.cpp
  Conflict due to Android guards around m_axObjectCache
  See http://trac.webkit.org/changeset/65787

- WebCore/dom/Document.h
  Conflict due to Android guards around m_axObjectCache whitespace diff
  See http://trac.webkit.org/changeset/65787
  and http://trac.webkit.org/changeset/66037

- WebCore/html/HTMLDocumentParser.cpp
  Conflict due to ANDROID_INSTRUMENT
  See http://trac.webkit.org/changeset/65692

- WebCore/platform/image-decoders/ImageDecoder.cpp
  Conflict due to Android not implementing ImageDecoder::create()
  See http://trac.webkit.org/changeset/66039

- WebCore/plugins/PluginView.h
  Conflict due to PLUGIN_SCHEDULE_TIMER
  See http://trac.webkit.org/changeset/65697

Change-Id: I5dc94bad471ea566dbabf965425938b732735d02

13 years agoMerge WebKit at r66079 : Initial merge by git
Steve Block [Fri, 27 Aug 2010 10:02:25 +0000 (11:02 +0100)]
Merge WebKit at r66079 : Initial merge by git

Change-Id: Ie2e1440fb9d487d24e52c247342c076fecaecac7

13 years agoUpdate to Merge WebKit at r61871: Floating-point support for text selection.
Kristian Monsen [Thu, 2 Sep 2010 14:41:28 +0000 (15:41 +0100)]
Update to Merge WebKit at r61871: Floating-point support for text selection.

The last CL only fixed when SUPPORT_COMPLEX_SCRIPTS was defined, this is the same fix for when it is not defined.

The previous CL:
https://android-git.corp.google.com/g/#change,56256

Webkit CL:
http://trac.webkit.org/changeset/61253

Change-Id: I9300786525fd6ec0ea2fc304c5d33e3ee00ccd3e

13 years agoMerge "Updated the test_expectations.txt to use FAIL instead of IGNORE_RESULT."
Maksymilian Osowski [Thu, 2 Sep 2010 12:55:45 +0000 (05:55 -0700)]
Merge "Updated the test_expectations.txt to use FAIL instead of IGNORE_RESULT."

13 years agoUpdated the test_expectations.txt to use FAIL instead of IGNORE_RESULT.
Maksymilian Osowski [Wed, 1 Sep 2010 16:21:35 +0000 (17:21 +0100)]
Updated the test_expectations.txt to use FAIL instead of IGNORE_RESULT.

Bug: 2899965
Change-Id: Ia61ab8d7f269d4d3b2db4531fd8e2031b1ae44b4

13 years agoUse the correct types in SaveWebArchive.
Elliott Slaughter [Tue, 31 Aug 2010 22:29:02 +0000 (15:29 -0700)]
Use the correct types in SaveWebArchive.

Change-Id: I0a963a0e6b29be73aaede56bb58400ce1e81edb7

13 years agoCleanup temporary incognito mode files after last tab closes.
Elliott Slaughter [Tue, 24 Aug 2010 01:24:00 +0000 (18:24 -0700)]
Cleanup temporary incognito mode files after last tab closes.

Change-Id: Ib55ef570b181afc99991afb55b6880b7a13f69a7

13 years agoMerge "Using Chrome http as default."
Kristian Monsen [Wed, 1 Sep 2010 17:19:24 +0000 (10:19 -0700)]
Merge "Using Chrome http as default."

13 years agoMerge "add web setting for enabling/disabling synthetic links"
Cary Clark [Wed, 1 Sep 2010 17:13:56 +0000 (10:13 -0700)]
Merge "add web setting for enabling/disabling synthetic links"

13 years agoadd web setting for enabling/disabling synthetic links
Cary Clark [Tue, 31 Aug 2010 19:45:11 +0000 (15:45 -0400)]
add web setting for enabling/disabling synthetic links

According to this feature request

http://b/1865484

Some webviews wish to load pages and ignore the
email, phone, and postal addresses. Add a way
to specify that preference to the WebView class.

depends on companion change in frameworks/base

Change-Id: Ibcd78ab632063d8ab403567fa40c329339e51572

13 years agoUsing Chrome http as default.
Kristian Monsen [Wed, 1 Sep 2010 13:51:56 +0000 (14:51 +0100)]
Using Chrome http as default.

Will use the not default stack if USE_ALT_HTTP is defined in the shell.

Change-Id: I8232c906dcdfaefbb03d3765eb8201407e2cef5b

13 years agoMerge "Added script to show the source of the test."
Maksymilian Osowski [Wed, 1 Sep 2010 11:08:36 +0000 (04:08 -0700)]
Merge "Added script to show the source of the test."

13 years agoAdded script to show the source of the test.
Maksymilian Osowski [Tue, 31 Aug 2010 17:08:06 +0000 (18:08 +0100)]
Added script to show the source of the test.

Change-Id: I192b0ecd7830f69193111ebf1d081dcd9495a51b

13 years agoMerge "Move all external/chromiumn includes to one file"
Kristian Monsen [Wed, 1 Sep 2010 08:59:24 +0000 (01:59 -0700)]
Merge "Move all external/chromiumn includes to one file"

13 years agoam cd011297: am ff93a851: Bug fix 2337042 <base> URL + <img> URL = URL that starts...
Melanie Clements [Tue, 31 Aug 2010 17:10:56 +0000 (10:10 -0700)]
am cd011297: am ff93a851: Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/."

Merge commit 'cd011297fda5b6f6093453d59c2624aaf878e2fb'

* commit 'cd011297fda5b6f6093453d59c2624aaf878e2fb':
  Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/."

13 years agoMove all external/chromiumn includes to one file
Kristian Monsen [Sun, 29 Aug 2010 14:50:43 +0000 (15:50 +0100)]
Move all external/chromiumn includes to one file

There are several logging errors and warnings when including files from external/chromium
and the <cutils/log.h>. This commit moves all external/chromium includes to one place, and
and LOG_ASSERT to what it is in <cutils/log.h>

Change-Id: If908262cf1b859247d7b8a5880807a2e9ec16980

13 years agoam ff93a851: Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/."
Melanie Clements [Tue, 31 Aug 2010 16:10:30 +0000 (09:10 -0700)]
am ff93a851: Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/."

Merge commit 'ff93a851c578d0b570c84b3a83a41a4930e7107c' into gingerbread-plus-aosp

* commit 'ff93a851c578d0b570c84b3a83a41a4930e7107c':
  Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/."

13 years agofix monkey crash in nav cache
Cary Clark [Tue, 31 Aug 2010 13:20:16 +0000 (09:20 -0400)]
fix monkey crash in nav cache

WebView::motionUp() got the latest nav cache, extracted
some nodes from it with findAt(), then called setNavBounds()
which got a newer cache. The older cache node was sent
to CachedRoot::setCursor() which crashed trying to use
the state pointer.

The flaw was that, although motionUp requests the newest
cache up front, and then setNavBounds() requests the stale
cache, in rare circumstances it can receive a newer cache
as well.

The fix is to replace the setNavBounds() function with a
direct call on the valid cache.

Change-Id: If23ee9222f2b701d916911f4b667185f1c3d3d18
http://b/2316138

13 years agoBug fix 2337042 <base> URL + <img> URL = URL that starts with "/."
Melanie Clements [Fri, 20 Aug 2010 18:19:20 +0000 (14:19 -0400)]
Bug fix 2337042 <base> URL + <img> URL = URL that starts with "/."

The Android browser inserts "/." at the beginning of the URL path
when processing an <img>  in an HTML document with a <base> tag.
This does not cause any errors but should be fixed to comply with
RFC 3986 section 5.4.

This only happens at the first pass of the URL parsing, at the second
pass where the base and path are parsed together this is dealt with
correctly.  I am therefore fixing it by modifying the parse() method
in KURL to check for a trailing '.' at the end of the base segment.

Change-Id: I0d641c8619e00aa2b08a33e271ef863cee5ed7ad

13 years agoam 586c8632: (-s ours) am 90fa57cd: DO NOT MERGE make the text selection easier to hit
Cary Clark [Fri, 27 Aug 2010 23:05:46 +0000 (16:05 -0700)]
am 586c8632: (-s ours) am 90fa57cd: DO NOT MERGE make the text selection easier to hit

Merge commit '586c86325776ca506c6380ab41f9e66a69704f45'

* commit '586c86325776ca506c6380ab41f9e66a69704f45':
  DO NOT MERGE make the text selection easier to hit

13 years agoMerge "Add ANGLE at r65615"
Steve Block [Fri, 27 Aug 2010 16:31:37 +0000 (09:31 -0700)]
Merge "Add ANGLE at r65615"

13 years agoAdd ANGLE at r65615
Steve Block [Fri, 27 Aug 2010 16:00:52 +0000 (17:00 +0100)]
Add ANGLE at r65615

ANGLE is now required for the Mac build, so should have been added
as part of the merge to r65615.

Change-Id: I048185d196cf3150651fff0e3761fc57928f18ce

13 years agoMerge "Checking that all load operations are done in order."
Kristian Monsen [Fri, 27 Aug 2010 15:43:35 +0000 (08:43 -0700)]
Merge "Checking that all load operations are done in order."

13 years agoam 90fa57cd: DO NOT MERGE make the text selection easier to hit
Cary Clark [Fri, 27 Aug 2010 15:19:11 +0000 (08:19 -0700)]
am 90fa57cd: DO NOT MERGE make the text selection easier to hit

Merge commit '90fa57cd8b940ab1b46a85da92d950392a77e9da' into gingerbread-plus-aosp

* commit '90fa57cd8b940ab1b46a85da92d950392a77e9da':
  DO NOT MERGE make the text selection easier to hit

13 years agoChecking that all load operations are done in order.
Kristian Monsen [Mon, 23 Aug 2010 14:09:26 +0000 (15:09 +0100)]
Checking that all load operations are done in order.

Adding a m_loadState variable and checking that everything is happening when they are supposed to. There were some problems were race conditions between the threads created some issues.

Change-Id: I7fca570aa917eaaa741c3745f6b8417a656d18c4

13 years agoMerge "Restore LayoutTests/storage/sql-error-codes-expected.txt"
Steve Block [Fri, 27 Aug 2010 14:42:46 +0000 (07:42 -0700)]
Merge "Restore LayoutTests/storage/sql-error-codes-expected.txt"

13 years agoRestore LayoutTests/storage/sql-error-codes-expected.txt
Steve Block [Fri, 27 Aug 2010 14:25:09 +0000 (15:25 +0100)]
Restore LayoutTests/storage/sql-error-codes-expected.txt

This should have been added in the merge to WebKit r61871, but was
accidentally removed when creating the Android V8-specific result.

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

Change-Id: I48849d32f649009bcb935911558f2543eebb3d2f

13 years agofix button cursor state
Cary Clark [Wed, 25 Aug 2010 21:49:25 +0000 (17:49 -0400)]
fix button cursor state

Clear the pressed state for buttons when the cursor is
shown indefinitely, and set look for the pressed cursor
state when recording the button colors.

Change-Id: I78095ec9a7580c372c66b83913447b8214a6a432
http://b/2135321

13 years agoMerge "Use upstream version of ANDROID_HITTEST_WITHSIZE"
Steve Block [Fri, 27 Aug 2010 11:26:09 +0000 (04:26 -0700)]
Merge "Use upstream version of ANDROID_HITTEST_WITHSIZE"

13 years agoUse upstream version of ANDROID_HITTEST_WITHSIZE
Steve Block [Thu, 12 Aug 2010 11:11:09 +0000 (12:11 +0100)]
Use upstream version of ANDROID_HITTEST_WITHSIZE

This change removes the last occurrences of ANDROID_HITTEST_WITHSIZE
and updates WebKit to use the upstream version of this logic. This
follows on from https://android-git.corp.google.com/g/#change,60166 which
merged the upstream logic into the Android tree but maintained the existing
behaviour for Android, guarded with ANDROID_HITTEST_WITHSIZE.

This change introduces the following functional changes ...

- HitTestResult::addNodeToRectBasedTestResult()
  The Android version proceeded with the containment test if the node is null.
  We now early out and continue the hit test. We also record the node's
  shadowAncestorNode, rather than the node itself.

- RenderLayer::hitTestList()
  The android version always updates the result, but only updates the
  result layer if the result is not a rect based result.
  We now always update result layer, but only update the result if the
  result is not a rect based result.

- RenderSVGRoot::nodeAtPoint()
  The Android version returned true only if it's not a rect based hit test.
  Now we return true always.

- HitTestResult::m_isRectBased
  In the Android version, a padding must have positive width and height.
  Now we allow one of the two to be zero, provided the other is positive

All other changes are non-functional and should probably have been done as
part of https://android-git.corp.google.com/g/#change,60166

Note that the change to RenderBlock::nodeAtPoint() is a non-functional change
because we don't pass a rect to addNodeToRectBasedTestResult(), so the default
zero rect is used and the hit test always fails.

Change-Id: I4163fddad59ad6485df40cd48794aa262f76ced7

13 years agoMerge "Add missing Indexed DB tests at r65615"
Steve Block [Fri, 27 Aug 2010 11:02:11 +0000 (04:02 -0700)]
Merge "Add missing Indexed DB tests at r65615"

13 years agoAdd missing Indexed DB tests at r65615
Steve Block [Fri, 27 Aug 2010 10:19:51 +0000 (11:19 +0100)]
Add missing Indexed DB tests at r65615

These should have been added as part of the merge to WebKit r65615

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

Change-Id: I18ff50f54caa6682e8adfc6ae152bce4e94636a9

13 years agoDO NOT MERGE make the text selection easier to hit
Cary Clark [Thu, 26 Aug 2010 21:47:21 +0000 (17:47 -0400)]
DO NOT MERGE make the text selection easier to hit

Change-Id: I47b7aa04ebc2a8f0bf2c6b4399ef65e5f4c58d4e
http://b/2626451

13 years agoMerge "Create HttpAuthHandlerFactory to fix HTTP auth crashes."
Kristian Monsen [Thu, 26 Aug 2010 17:41:44 +0000 (10:41 -0700)]
Merge "Create HttpAuthHandlerFactory to fix HTTP auth crashes."

13 years agoCreate HttpAuthHandlerFactory to fix HTTP auth crashes.
Iain Merrick [Thu, 26 Aug 2010 17:38:42 +0000 (18:38 +0100)]
Create HttpAuthHandlerFactory to fix HTTP auth crashes.

We still need to hook in the necessary callbacks to present
the user with a login prompt.

Change-Id: Id4ccb8209d2ffdfcc35f9104a2e448ed552e6390

13 years agoUpdate get_layout_tests_dir_contents.php to account for new server document root
Steve Block [Thu, 26 Aug 2010 14:43:21 +0000 (15:43 +0100)]
Update get_layout_tests_dir_contents.php to account for new server document root

See https://android-git.corp.google.com/g/#change,63194 which updates apach2.py
to serve HTTP tests at server root

Bug: 2951727
Change-Id: I4a5777d71843c1c2fdcd74a69b13e3c4750a45a0

13 years agoMerge "Updated the script to allow for chosing the mode (list files vs. list folders)."
Maksymilian Osowski [Thu, 26 Aug 2010 15:19:04 +0000 (08:19 -0700)]
Merge "Updated the script to allow for chosing the mode (list files vs. list folders)."

13 years agoUpdated the script to allow for chosing the mode (list files vs. list folders).
Maksymilian Osowski [Tue, 24 Aug 2010 15:21:18 +0000 (16:21 +0100)]
Updated the script to allow for chosing the mode (list files vs. list folders).

Change-Id: I7a87e5591aef888f47cceaf3f30f5f2752e336aa

13 years agoMerge "Fix line endings on a couple of Android-specific expected results"
Steve Block [Thu, 26 Aug 2010 11:19:01 +0000 (04:19 -0700)]
Merge "Fix line endings on a couple of Android-specific expected results"

13 years agoFix line endings on a couple of Android-specific expected results
Steve Block [Thu, 26 Aug 2010 10:54:13 +0000 (11:54 +0100)]
Fix line endings on a couple of Android-specific expected results

These files were checked in with DOS line endings
See https://android-git.corp.google.com/g/#change,62547

Change-Id: I849afbab74df789b6c1df83a28a65ec92ad10d24

13 years agoAdd a NULL guard.
Shimeng (Simon) Wang [Thu, 26 Aug 2010 00:27:07 +0000 (17:27 -0700)]
Add a NULL guard.

issue:2884022
Change-Id: I471fca7296ca233bc4d9e1c75d173094265c9a9f

13 years agoMerge "Preserve the zoomFactor when a new frameview is created."
Shimeng (Simon) Wang [Wed, 25 Aug 2010 21:52:03 +0000 (14:52 -0700)]
Merge "Preserve the zoomFactor when a new frameview is created."

13 years agoMerge "simplify cursor ring draw state"
Cary Clark [Wed, 25 Aug 2010 21:03:19 +0000 (14:03 -0700)]
Merge "simplify cursor ring draw state"

13 years agosimplify cursor ring draw state
Cary Clark [Wed, 25 Aug 2010 18:40:32 +0000 (14:40 -0400)]
simplify cursor ring draw state

Removed old code and state that used to allow for the cursor
ring to be different if a synthetic link was pressed, state
that allowed the ring to animate, and state that attempted to
show the ring until the link it represented was replaced by
a new page.

The new code
- shows the cursor ring indefinitely when the trackball or dpad is moved
- shows the cursor for 500 ms when the trackball or dpad is clicked
  or if the screen is tapped.

This is separate from logic that attempts to select whether to
show the cursor ring at all; this merely chooses how long to
show the cursor ring when the cursor changes.

Requires a companion change in frameworks/base

Change-Id: I309abe346f6b67ed3b665aaa79c367f4599bf1cd
http://b/2135321

13 years agoPreserve the zoomFactor when a new frameview is created.
Shimeng (Simon) Wang [Wed, 25 Aug 2010 18:30:59 +0000 (11:30 -0700)]
Preserve the zoomFactor when a new frameview is created.

Currently if the default font size is set "LARGE", it'll be ignored when a page is loaded,
since it's lost in the new frameview.

Change-Id: If4579459cb679fdc9666dda25cd557761f4820b5

13 years agoMerge "Do not clip out found matches."
Leon Scroggins [Wed, 25 Aug 2010 18:33:58 +0000 (11:33 -0700)]
Merge "Do not clip out found matches."

13 years agoDo not clip out found matches.
Leon Scroggins [Wed, 25 Aug 2010 17:37:44 +0000 (13:37 -0400)]
Do not clip out found matches.

Bug: 1691733

We were comparing against the total clip to determine whether each
match was valid.  This is likely never necessary, and causes problems,
for example on the textfield on Google's homepage.

Change-Id: Ib6567554ea2ef7ee11fffe7329132406aed33397

13 years agoAdd LayoutTests/http/tests/resources at r65615
Steve Block [Wed, 25 Aug 2010 13:36:30 +0000 (14:36 +0100)]
Add LayoutTests/http/tests/resources at r65615

These scripts are required to run the http tests, eg
http/tests/appcache/fail-on-update.html

Change-Id: I6173fcb9bc0d77a5cfc94fce45d02b1704ee6306

13 years agoCopy WebKit python files to intermediates directory for build
Steve Block [Wed, 25 Aug 2010 09:59:55 +0000 (10:59 +0100)]
Copy WebKit python files to intermediates directory for build

This prevents the generation of Python bytecode files in the source directory.
Note that Python's -B option to suppress generation of these files is not
supported until Python 2.6.

Change-Id: Ie0bee31d00d921daf0184109c27719345e568302

13 years agoam e7a07088: am 21ed5a45: Merge "check for null pictures when selecting text" into...
Cary Clark [Tue, 24 Aug 2010 21:43:44 +0000 (14:43 -0700)]
am e7a07088: am 21ed5a45: Merge "check for null pictures when selecting text" into gingerbread

Merge commit 'e7a0708886b515f34d0a7e034cdea391681bf7f1'

* commit 'e7a0708886b515f34d0a7e034cdea391681bf7f1':
  check for null pictures when selecting text

13 years agoam f3151d7b: am 828ef22d: merge -s ours from froyo-release so that upgrading to ginge...
Jean-Baptiste Queru [Tue, 24 Aug 2010 19:57:51 +0000 (12:57 -0700)]
am f3151d7b: am 828ef22d: merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward

Merge commit 'f3151d7b79fdd18bb98f61e807bf7b0780645cf7'

* commit 'f3151d7b79fdd18bb98f61e807bf7b0780645cf7':
  Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject
  Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

13 years agoMerge "communicate drawing pause to webkit to pause gif animation"
Cary Clark [Tue, 24 Aug 2010 19:34:40 +0000 (12:34 -0700)]
Merge "communicate drawing pause to webkit to pause gif animation"

13 years agocommunicate drawing pause to webkit to pause gif animation
Cary Clark [Tue, 24 Aug 2010 14:52:43 +0000 (10:52 -0400)]
communicate drawing pause to webkit to pause gif animation

Gif frames continue even if the webkit changes aren't drawn.
When we suspend drawing, suspend the gif animation as well.
This is accomplished by fooling webkit into thinking the
browser window is offscreen. When the webkit drawing is
resumed, invalidate the entire content so the gif animations
start up once more.

requires companion change in frameworks/base

Change-Id: I78846214048b038cd8d0401dad103d451cd5a269
http://b/2621902

13 years agoSpecial file uris have to be handled in Java.
Kristian Monsen [Wed, 18 Aug 2010 08:51:37 +0000 (09:51 +0100)]
Special file uris have to be handled in Java.

This depends on: https://android-git.corp.google.com/g/#change,62112

Request an java.io.InputStream from java and queries this for that until all is read.

Change-Id: Ia3e7ad973700bd49be9cae9b432661d61a5470b8

13 years agoam 0ee15178: (-s ours) am e4be1fd5: DO NOT MERGE Refactor find and select dialogs
Cary Clark [Tue, 24 Aug 2010 15:29:58 +0000 (08:29 -0700)]
am 0ee15178: (-s ours) am e4be1fd5: DO NOT MERGE Refactor find and select dialogs

Merge commit '0ee151789837b0429171a2eeeedc93ce2f8d8d10'

* commit '0ee151789837b0429171a2eeeedc93ce2f8d8d10':
  DO NOT MERGE Refactor find and select dialogs

13 years agoMerge changes I2e7e2317,Ie6ccde3a,I3e89f231,Id06ff339,I268dfe7d,Icaf70d9f,Ie234f1a0...
Steve Block [Tue, 24 Aug 2010 14:50:47 +0000 (07:50 -0700)]
Merge changes I2e7e2317,Ie6ccde3a,I3e89f231,Id06ff339,I268dfe7d,Icaf70d9f,Ie234f1a0,Iff5c7aaa,I69b75bf0,Ifbf384f4

* changes:
  Merge WebKit at r65615 : Update WebKit revision number
  Merge WebKit at r65615 : Ignore http/tests/appcache/origin-quota.html
  Merge WebKit at r65615 : Android-specific results for Geolocation tests.
  Merge WebKit at r65615 : Fix GraphicsContext and ImageBuffer.
  Merge WebKit at r65615 : processingUserGesture() is now static.
  Merge WebKit at r65615 : UTF8String() becomes utf8().
  Merge WebKit at r65615 : Fix include paths for string headers.
  Merge WebKit at r65615 : Fix Makefiles.
  Merge WebKit at r65615 : Fix conflicts.
  Merge WebKit at r65615 : Initial merge by git.

13 years agoam 21ed5a45: Merge "check for null pictures when selecting text" into gingerbread
Cary Clark [Tue, 24 Aug 2010 13:46:50 +0000 (06:46 -0700)]
am 21ed5a45: Merge "check for null pictures when selecting text" into gingerbread

Merge commit '21ed5a4502b3ce76875505aa220f187d165f47b1' into gingerbread-plus-aosp

* commit '21ed5a4502b3ce76875505aa220f187d165f47b1':
  check for null pictures when selecting text

13 years agoMerge "check for null pictures when selecting text" into gingerbread
Cary Clark [Tue, 24 Aug 2010 13:44:55 +0000 (06:44 -0700)]
Merge "check for null pictures when selecting text" into gingerbread

13 years agocheck for null pictures when selecting text
Cary Clark [Mon, 23 Aug 2010 21:06:50 +0000 (17:06 -0400)]
check for null pictures when selecting text

The LayerAndroid supplied to SelectText may have no picture
associated with it. If that's the case, ignore it.

This change was original uploaded as
https://android-git.corp.google.com/g/#change,62627
in master, but then I realized it should go into
gingerbread as well, and get merged into master automagically.

http://b/2930142

Change-Id: If6332d81f1f9baba804131caae124dd18e0b0799

13 years agoMerge WebKit at r65615 : Update WebKit revision number
Iain Merrick [Tue, 24 Aug 2010 11:14:01 +0000 (12:14 +0100)]
Merge WebKit at r65615 : Update WebKit revision number

Change-Id: I2e7e23173a0204b92bcb959f051588341aeb1dac

13 years agoMerge WebKit at r65615 : Ignore http/tests/appcache/origin-quota.html
Iain Merrick [Tue, 24 Aug 2010 10:31:49 +0000 (11:31 +0100)]
Merge WebKit at r65615 : Ignore http/tests/appcache/origin-quota.html

Test added in http://trac.webkit.org/changeset/64613
Needs clearAllApplicationCaches() callback. See http://b/issue?id=2944196

Change-Id: Ie6ccde3a2fa034f58676f6359af351a3544c9541

13 years agoMerge WebKit at r65615 : Android-specific results for Geolocation tests.
Iain Merrick [Mon, 23 Aug 2010 13:05:12 +0000 (14:05 +0100)]
Merge WebKit at r65615 : Android-specific results for Geolocation tests.

Tests added in http://trac.webkit.org/changeset/65416
On Android, we currently aren't printing the onunload handler message.

Change-Id: I3e89f23127f82be75c6e90825b87489f460195ff

13 years agoMerge WebKit at r65615 : Fix GraphicsContext and ImageBuffer.
Iain Merrick [Fri, 20 Aug 2010 11:14:41 +0000 (12:14 +0100)]
Merge WebKit at r65615 : Fix GraphicsContext and ImageBuffer.

Code was refactored in http://trac.webkit.org/changeset/65449
Clipping is unimplemented (same as before).

Change-Id: Id06ff3396676f044ffdc06bf40edd1d323fb1dcb

13 years agoMerge "Enable cookies for files."
Kristian Monsen [Tue, 24 Aug 2010 09:49:01 +0000 (02:49 -0700)]
Merge "Enable cookies for files."

13 years agoam 828ef22d: merge -s ours from froyo-release so that upgrading to gingerbread is...
Jean-Baptiste Queru [Tue, 24 Aug 2010 06:37:10 +0000 (23:37 -0700)]
am 828ef22d: merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward

Merge commit '828ef22db863664b8e992adf15ddf92ef570f4f8' into gingerbread-plus-aosp

* commit '828ef22db863664b8e992adf15ddf92ef570f4f8':
  Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject
  Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

13 years agomerge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward
Jean-Baptiste Queru [Tue, 24 Aug 2010 02:08:20 +0000 (19:08 -0700)]
merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward

Change-Id: I5e13be05f736290ca88772aaca51273d3996c6c2

13 years agoFix WebView saveState and restoreState for private browsing mode.
Elliott Slaughter [Fri, 20 Aug 2010 18:54:00 +0000 (11:54 -0700)]
Fix WebView saveState and restoreState for private browsing mode.

Added a handler for browser:incognito url to simplify WebView implementation.

Change-Id: Ic453bbee7436a210b3d596fb2e7fa96791cd5fc9

13 years agoMerge WebKit at r65615 : processingUserGesture() is now static.
Iain Merrick [Fri, 20 Aug 2010 11:03:17 +0000 (12:03 +0100)]
Merge WebKit at r65615 : processingUserGesture() is now static.

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

Change-Id: I268dfe7d9ab60453129f00b00cdd5f8ac954855c

13 years agoMerge WebKit at r65615 : UTF8String() becomes utf8().
Iain Merrick [Fri, 20 Aug 2010 11:01:19 +0000 (12:01 +0100)]
Merge WebKit at r65615 : UTF8String() becomes utf8().

This was changed for JSC strings in http://trac.webkit.org/changeset/65305,
but the V8 implementation was not updated.

Fix upstream in WebKit -- see https://bugs.webkit.org/show_bug.cgi?id=44419

Change-Id: Icaf70d9f8a3120613ab3e80b69d4ce0c7af89d46

13 years agoEnable cookies for files.
Kristian Monsen [Mon, 23 Aug 2010 16:25:17 +0000 (17:25 +0100)]
Enable cookies for files.

This is needed for the page cycler, and is probably more compatible with the old http stack. Maybe we should tweak this later, but for now just enabling all file cookies.

Change-Id: Ic21bbb6f82d3667671818d9b325de46901f43f33

13 years agoMerge "Fix location of several Android-specific LayoutTest expected results"
Steve Block [Mon, 23 Aug 2010 16:12:57 +0000 (09:12 -0700)]
Merge "Fix location of several Android-specific LayoutTest expected results"

13 years agoMerge "Complete implementation of PathAndroid.cpp"
Cary Clark [Mon, 23 Aug 2010 15:34:58 +0000 (08:34 -0700)]
Merge "Complete implementation of PathAndroid.cpp"

13 years agoComplete implementation of PathAndroid.cpp
Cary Clark [Mon, 23 Aug 2010 15:03:29 +0000 (11:03 -0400)]
Complete implementation of PathAndroid.cpp

Completing the implementation fixes these bugs
http://b/2941002
http://b/2869593

Change-Id: I7bf8964bd91c86c89d7d29007c9a33647c399080

13 years agoMerge WebKit at r65615 : Fix include paths for string headers.
Iain Merrick [Fri, 20 Aug 2010 11:00:05 +0000 (12:00 +0100)]
Merge WebKit at r65615 : Fix include paths for string headers.

These moved to <wtf/text> in http://trac.webkit.org/changeset/65077

Change-Id: Ie234f1a09013e48a5241d9e240c5b2e85ca75125

13 years agoMerge WebKit at r65615 : Fix Makefiles.
Iain Merrick [Fri, 20 Aug 2010 10:58:21 +0000 (11:58 +0100)]
Merge WebKit at r65615 : Fix Makefiles.

WebkitTools/Scripts/create-html-entity-table was
added in http://trac.webkit.org/changeset/65351.

Change-Id: Iff5c7aaa13e79f3666ef4176ca12d284c985b005

13 years agoMerge WebKit at r65615 : Fix conflicts.
Iain Merrick [Fri, 20 Aug 2010 10:57:41 +0000 (11:57 +0100)]
Merge WebKit at r65615 : Fix conflicts.

Removing call to Geolocation::stop(), which was lost in the
merge with http://trac.webkit.org/changeset/65416

We may still have memory leaks here. This is being tracked
in https://bugs.webkit.org/show_bug.cgi?id=39288

Change-Id: I69b75bf07775536ac603a450dbde8c2935c4db16

13 years agoFix location of several Android-specific LayoutTest expected results
Steve Block [Mon, 23 Aug 2010 11:58:04 +0000 (12:58 +0100)]
Fix location of several Android-specific LayoutTest expected results

These results were previsouly duplicated in the JSC and V8-specific directories.
This change moves them to the general android directory.

Change-Id: I65c7db3759f91b62502e8f5b2c8673305f05d0f5

13 years agoMerge WebKit at r65615 : Initial merge by git.
Iain Merrick [Thu, 19 Aug 2010 16:55:56 +0000 (17:55 +0100)]
Merge WebKit at r65615 : Initial merge by git.

Change-Id: Ifbf384f4531e3b58475a662e38195c2d9152ae79

13 years agoMerge "Bug2857086 - memory leak in FontCustomPlatformData. The change can also fix...
claireho [Fri, 20 Aug 2010 20:01:30 +0000 (13:01 -0700)]
Merge "Bug2857086 - memory leak in FontCustomPlatformData. The change can also fix Chrome issue32353 - need to patch to Chrome."

13 years agoBug2857086 - memory leak in FontCustomPlatformData.
claireho [Fri, 20 Aug 2010 18:11:14 +0000 (11:11 -0700)]
Bug2857086 - memory leak in FontCustomPlatformData.
The change can also fix Chrome issue32353 - need to patch
to Chrome.

Change-Id: I08df08f2316156e78e9b63415e9c8720ab193090

13 years agoMerge "order text selection by line centers"
Cary Clark [Fri, 20 Aug 2010 16:30:30 +0000 (09:30 -0700)]
Merge "order text selection by line centers"