summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "refine empty picture test to look for color rects"Cary Clark2011-01-062-4/+4
|\
| * refine empty picture test to look for color rectsCary Clark2011-01-052-4/+4
| | | | | | | | | | bug:3296986 Change-Id: I171435f6285f671abc9f2e38ad00ebcabb783cb3
* | Keep track of whether input fields have autocomplete.Leon Scroggins2011-01-054-0/+13
| | | | | | | | | | | | | | | | Bug:3300365 Requires a change in frameworks/base. Change-Id: Ia466cae0c43b43817651e9d5903e18aae96a814f
* | Merge "clip rect fix for iframe when GL on"Teng-Hui Zhu2011-01-051-9/+7
|\ \
| * | clip rect fix for iframe when GL onTeng-Hui Zhu2011-01-041-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, for each layer, the clip rect should be intersecting with all of its parents. Then the rect should use pre-transformation info, the real transformation will handle by the clip() function. P.S: renaming variable "bounds" b/c there is a member function using the same name. bug:3304761 Change-Id: Id5d602b55da904c63b37cb5436b5bf2f5526a94f
* | | Merge "Plugin API to report the onscreen visibility of the plugin."Derek Sollenberger2011-01-055-0/+49
|\ \ \
| * | | Plugin API to report the onscreen visibility of the plugin.Derek Sollenberger2011-01-055-0/+49
| |/ / | | | | | | | | | | | | bug: 3324143 Change-Id: I4ad5837b4d79ee63bf53ce974a634d357130930e
* | | use same matrix left when reading pictureCary Clark2011-01-052-3/+6
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In select text, the nav cache picture is read multiple times. If the matrix is different, it's possible that the text metrics will be off by one when the text position is near to but not equal to an integer (e.g., 315.999969). Pinning the matrix to zero makes the matrices the same in the bug case. Use the simpler doIRect interface if the glyph rec isn't needed. Check for contentRender() before dereferencing it. bug:3315620 Change-Id: I4bfaf9f9b7bf12f66b29f4609d744bceaf5b2964
* | start select all without tappingCary Clark2011-01-053-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | For the keyboard interface to 'Select All', establish the select text context by finding some text on the page and returning its coordinates. This allows tapping and keyboard interfaces to share most of the select all implementation. bug:3270434 Change-Id: Ic080a8002115af9086a669dd366d0399b1082f3c
* | am c9f38c56: (-s ours) am 08fcb454: Cherry-pick WebKit change 60729 to avoid ↵Steve Block2011-01-050-0/+0
|\ \ | |/ |/| | | | | | | | | an AppCache crash - DO NOT MERGE * commit 'c9f38c569b3b11991dc69847f941517d0164bff4': Cherry-pick WebKit change 60729 to avoid an AppCache crash - DO NOT MERGE
| * am 08fcb454: Cherry-pick WebKit change 60729 to avoid an AppCache crash - DO ↵Steve Block2011-01-051-1/+11
| |\ | | | | | | | | | | | | | | | | | | NOT MERGE * commit '08fcb454f4c35929b9ab4b984ce1a279a105c585': Cherry-pick WebKit change 60729 to avoid an AppCache crash - DO NOT MERGE
| | * Cherry-pick WebKit change 60729 to avoid an AppCache crash - DO NOT MERGESteve Block2010-12-231-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was observed when the AppCache database path was not set and hence opening the database failed. This change has already been pulled into master as part of the regular WebKit merge process, so do not merge. See http://trac.webkit.org/changeset/60729 Bug: 3305684 Change-Id: I5707839a9b0f886a24604f890ca4d575e311edbe
* | | Merge "Add full-screen support for OpenGL based plugins."Derek Sollenberger2011-01-043-4/+42
|\ \ \
| * | | Add full-screen support for OpenGL based plugins.Derek Sollenberger2011-01-043-4/+42
| | | | | | | | | | | | | | | | | | | | bug: 3321891 Change-Id: Ife1bbeed91b3285277bfe47c71f523d477891b98
* | | | Merge "Remove the div element check."Patrick Scott2011-01-041-1/+1
|\ \ \ \
| * | | | Remove the div element check.Patrick Scott2011-01-041-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This allows other elements to specify overflow. Bug: 3310376 Change-Id: I039b07aebeefa9184b56950972222ffea1ed09c7
* | | | Merge "Update JSDOMWindowBase to reflect recent upstreaming"Steve Block2011-01-041-5/+1
|\ \ \ \
| * | | | Update JSDOMWindowBase to reflect recent upstreamingSteve Block2010-12-311-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An Android-specific modification was upstreamed in http://trac.webkit.org/changeset/74806 Bug: 3305994 Change-Id: Ie43475aa611259d2d2de39397e167e42b24434f3
* | | | | Fix mlb shopping site not drawing correctly.Patrick Scott2011-01-041-0/+3
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Return false in hasOverflowScroll if flattening is on. Bug: 3309139 Change-Id: Ia4c981fab26154a38e66412d7e2938da32e7d718
* | | | Merge "A WAR to get content showing up when GL enabled"Teng-Hui Zhu2010-12-291-2/+4
|\ \ \ \
| * | | | A WAR to get content showing up when GL enabledTeng-Hui Zhu2010-12-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The emptiness check is not optimal for GL rendering yet. That cause some content are not showing up when GL enabled. A WAR is to just update the textures and use them without emptiness check. bug: 3296986 Change-Id: I5087dbc34b744ffbe24f4a4a6616f4d5715e1f11
* | | | | join rects without gapsCary Clark2010-12-281-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While analyzing cursor rings, regions are built from text, rects, and bitmaps to determine the areas inside and outside the rings. These areas determine if the rings are fully visible, and if they can be expanded into a larger bounds. Empty input areas are defined only by rects drawn as their background. In general, rects may be drawn as pieces that need to be stitched together. Unlike glyphs, the stitching should not allow gaps between rects. By detecting gaps, and treating each unjoined rect as its own area, a page with multiple successive input fields correctly computes cursor rect bounds. bug:3116242 Change-Id: If702b692c99c96c0188b42a638f750da12af6df4
* | | | | Merge "use text slop for ring test"Cary Clark2010-12-231-2/+2
|\ \ \ \ \
| * | | | | use text slop for ring testCary Clark2010-12-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mTextSlop contains the cursor ring test area. The mTestBounds contains the total test area. Use the former when checking to see if text is drawn outside of the cursor rings, but inside the bounds. bug:3307120 Change-Id: Ice69ce3d70aabb435890a0fd8848ef3fe2de9796
* | | | | | Merge WebKit at r73109: put correct ordering at Makefile.Shimeng (Simon) Wang2010-12-231-1/+1
| |_|/ / / |/| | | | | | | | | | | | | | Change-Id: I8953ea3eb6e78548c50953495cf688feaf9a8385
* | | | | Merge Webkit at r73109: render frame docWidth/docHeight method changed.Shimeng (Simon) Wang2010-12-222-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I492d321eea76f2d2c5278e44ae9c2fe37b5834a6 See: http://trac.webkit.org/changeset/72852 http://trac.webkit.org/changeset/73063
* | | | | Merge Webkit at r73109: Fix Makefiles.Shimeng (Simon) Wang2010-12-226-7/+24
| | | | | | | | | | | | | | | | | | | | Change-Id: If8cc4cfc06399c67b08cf5157852de90876c3d55
* | | | | Merge Webkit at r73109: Fix conflictsShimeng (Simon) Wang2010-12-224-73196/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. WebCore/Android.jscbindings.mk http://trac.webkit.org/changeset/72590 http://trac.webkit.org/changeset/72344 2. WebCore/WebCore.vcproj/WebCore.vcproj too many changes between 72274 and 73109 http://trac.webkit.org/log/trunk/WebCore/WebCore.vcproj/WebCore.vcproj also due to Android change. https://android-git.corp.google.com/g/#change,37374 3. WebCore/platform/android/PlatformBridge.h http://trac.webkit.org/changeset/72631 4. WebCore/rendering/RenderSVGResourceSolidColor.cpp http://trac.webkit.org/changeset/72926 our code is not upstreamed 5. WebCore/rendering/RenderView.h http://trac.webkit.org/changeset/72852 http://trac.webkit.org/changeset/73063 Change-Id: Id7a1dbdfef6327b4fe08c9884122bf9decd039ca
* | | | | Merge WebKit at r73109: return true to support rich source info.Shimeng (Simon) Wang2010-12-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because: http://trac.webkit.org/changeset/72360 which disables line info except in case of enabling JS debugger or inpspector. This is a quick fix. Long term solution is to get this fixed upstream. Change-Id: Ibc5dd89719628848ab4710fcc7c06453b60cc119
* | | | | Merge WebKit at r73109: Fix V8 JNI binding.Shimeng (Simon) Wang2010-12-221-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cherry pick the change for webkit bug: https://bugs.webkit.org/show_bug.cgi?id=51156 And fix array bindings. Change-Id: I64b89fadd10ac87fa998a79b2af4aa9db07a8318
* | | | | Merge WebKit at r73109: Update WebKit revision number.Shimeng (Simon) Wang2010-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I1748e24000110d5c667f729c25131d5e624de41f
* | | | | Merge Webkit at r73109: graphics method signature changed.Shimeng (Simon) Wang2010-12-221-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is because: http://trac.webkit.org/changeset/72926 http://trac.webkit.org/changeset/72528 Change-Id: I511eef7fece8e97ed4a199ca7b6f388124921b79
* | | | | Merge Webkit at r73109: add new method.Shimeng (Simon) Wang2010-12-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because: http://trac.webkit.org/changeset/72631 This is to merge the following change into Android: https://android-git.corp.google.com/g/#change,81198 Change-Id: Ifc7ca98388ca88828669371df501b616f8021e80
* | | | | Merge Webkit at r73109: getGuessForWord method signature changeShimeng (Simon) Wang2010-12-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because: http://trac.webkit.org/changeset/73088 Change-Id: I4051bc71c638e74ede803b216d9035311cbaf198
* | | | | Merge WebKit at r73109: use parentNode method.Shimeng (Simon) Wang2010-12-223-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because of: http://trac.webkit.org/changeset/72825/trunk/WebCore/dom/Node.h which makes the parent method private. Change-Id: I706c4cbc4e69bee990f9e138aeb7ad2ed2a3d42f
* | | | | Merge WebKit at r73109: Initial merge by git.Shimeng (Simon) Wang2010-12-221511-31694/+129891
| |/ / / |/| | | | | | | | | | | Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
* | | | am 1e5798a4: am d436a8e4: Allow HTML5 video to seek.Ben Murdoch2010-12-221-0/+4
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '1e5798a41696c2d04b2a28eabf9e5914fb6856e2': Allow HTML5 video to seek.
| * | am d436a8e4: Allow HTML5 video to seek.Ben Murdoch2010-12-221-0/+4
| |\ \ | | |/ | | | | | | | | | * commit 'd436a8e4bf9a2c6eab6a09513ce13340c84ef10c': Allow HTML5 video to seek.
| | * Allow HTML5 video to seek.Ben Murdoch2010-12-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Need to return the duration of the currently playing video to WebCore to allow the video to seek correctly. Bug: 3303699 Change-Id: I79f6a7e7217cf987d35b5b1a9313a918630be7a0
* | | use copies of matrix, paint instead of referencesCary Clark2010-12-223-62/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The matrix and paint may be gone when later referenced to determine the width of spaces. Replace the references with copies. When widening the initial selection to a word, the first or last glyph could be skipped if the tap was one glyph away. Detect this include the final glyph. The bitmap used to detect a space between glyphs could be too small for the test; make it as large as possible. The test for finding the closest glyph when the test point is inside the glyph's bounds should be triggered only if the best glyph found so far is also a match. If the initial hit point doesn't touch a word, abort. Only measure the distance for test points if the test text and best text have the same column state or if the test point is outside of the current column. The initial word selection needs to work differently from extending the selection. Make the clip small for the initial detect and widen it for the word expansion. Build the selection region before expanding the word since the column selection uses that data. There is a companion bug fix in frameworks/base triggered by this code, but neither is dependent on the other. bug:3293330 Change-Id: If9d1a3bd7ec5d1642b63dbab1845d2f3735ddc81
* | | Removing the host resolver leakKristian Monsen2010-12-222-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash was fixed when some unsafe local changes were removed recently. I think this was what removed the crash: https://android-git.corp.google.com/g/#change,84795 Fix for bug 3243797 Change-Id: If23e55270f035831ef7781681b012dfdca0ac74d
* | | Merge "Adding a method to delete a WebCache"Kristian Monsen2010-12-223-2/+13
|\ \ \
| * | | Adding a method to delete a WebCacheKristian Monsen2010-12-223-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed so the cache doesn't survive when closing all private tabs. Change-Id: I52ffaf89f8794466f98370c289b9a646de0fdb59
* | | | Turn iframe flattening back onBart Sears2010-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until we can figure out why web gmail is having problems turn iframe flattening back on. Bug: 3294278 Change-Id: I7096be2a2178c6b56b5450defb405a265fc2b477
* | | | Override ALWAYS_INLINE attribute with inline.Jing Yu2010-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ALWAYS_INLINE attribute was abused in libwebcore.so. By overriding it with normal inline attribute, the size of libwebcore.so is reduced by 3.71%, wihtout noticable performance regression on webcore_test benchmark. Change-Id: Icc1710726f28a93c3be660ba7c22c8c356748460
* | | | Turn off flattening again now that scrolling isPatrick Scott2010-12-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | fixed. Change-Id: I2cdedf37cc7cff7b0cfe96dd65803902ca7e92c6
* | | | Fix iframe scrolling.Patrick Scott2010-12-215-31/+41
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do the same check everywhere for enabling scrolling in an iframe. Make sure the owner renderer is a RenderIFrame to avoid trying to composite an embedded object. Also check if the owner layer has visible content since some iframes are marked hidden. Dirty the parent normal flow list when turning on overflow scrolling for divs. Bug: 3280851 Bug: 3290276 Change-Id: I8d0a49324e06426c15abaf552874a32d6e2ee11a
* | | Merge "Set 660 permissions on Appcache database"Steve Block2010-12-211-6/+16
|\ \ \
| * | | Set 660 permissions on Appcache databaseSteve Block2010-12-211-6/+16
| | | | | | | | | | | | | | | | | | | | Bug: 3244281 Change-Id: I5c90f44c4e8c3cd7d1ae2652e5d9f864a69b5dfe
* | | | Merge "Revert "Revert "Merge "Add a method java can send proxy changes to""""Kristian Monsen2010-12-211-1/+14
|\ \ \ \