summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \ \
| * | | | Revert "Revert "Merge "Add a method java can send proxy changes to"""Kristian Monsen2010-12-211-1/+14
| | | | | | | | | | | | | | | | | | | | This reverts commit 9c4386e62deef6236674a2b2073a1efd514d75ac.
* | | | | Merge "Set 660 permissions on HTML5 Database API meta database"Steve Block2010-12-211-2/+12
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Set 660 permissions on HTML5 Database API meta databaseSteve Block2010-12-211-2/+12
| | | | | | | | | | | | | | | | | | | | Bug: 3244281 Change-Id: I7af7c47c92fc180435cff2416922916a1114c88f
* | | | Merge "Only download the same poster URL once."Ben Murdoch2010-12-211-0/+3
|\ \ \ \
| * | | | Only download the same poster URL once.Ben Murdoch2010-12-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebKit r64884 introduced code that calls setPoster multiple times. On Android this causes the Java side to attempt to download the poster many times which for a long video results in OOM. So if the poster hasn't changed, don't try to download it again. Bug:3277303 Change-Id: Ia401b78cf250af2c1fe0e600dea6d1da0971912a
* | | | | Merge "Revert "Merge "Add a method java can send proxy changes to"""Huahui Wu2010-12-201-14/+1
|\ \ \ \ \
| * | | | | Revert "Merge "Add a method java can send proxy changes to""Huahui Wu2010-12-201-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c3a805c84165787f1693b3502ce139d6ea405307, reversing changes made to 062390c915ca7282c88b435ad4fa7b6f157fb5ef.
* | | | | | Add clipping supportNicolas Roard2010-12-205-9/+75
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If26bb40c4f75caa0fc9146aecb9f06dd1bcecd44
* | | | | | Merge "Prevent media layers from allocating textures."Derek Sollenberger2010-12-202-1/+2
|\ \ \ \ \ \
| * | | | | | Prevent media layers from allocating textures.Derek Sollenberger2010-12-202-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 2907737 Change-Id: I3b20a91eda8b03572e111e3834d3abcaecaa17de
* | | | | | | Fix image drawingNicolas Roard2010-12-201-1/+2
| |/ / / / / |/| | | | | | | | | | | | | | | | | Change-Id: I6dacf397f510948b4ecc3c180d2f61050dec00a2
* | | | | | Merge "Add a method java can send proxy changes to"Kristian Monsen2010-12-201-1/+14
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add a method java can send proxy changes toKristian Monsen2010-12-201-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by, and uses, this in frameworks/base: https://android-git.corp.google.com/g/#change,85836 Change-Id: I618f0f0cbeefc660152e60cced3940772f764e1c
* | | | | | Merge "Set 660 permissions on Geolocation cache DB"Steve Block2010-12-201-2/+13
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Set 660 permissions on Geolocation cache DBSteve Block2010-12-201-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3256540 Change-Id: I2774f100c9e9c458ebdaf9b6d188c52e79fd2568
* | | | | | Merge "Add initial support for OpenGL plugins."Derek Sollenberger2010-12-2016-8/+404
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Add initial support for OpenGL plugins.Derek Sollenberger2010-12-2016-8/+404
| | |/ / / | |/| | | | | | | | | | | | | | | | | | bug: 2907737 Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe
* | | | | Fix build when SVG is disabled.Ben Murdoch2010-12-202-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only build the SVG bindings if the environment varaible is set. Bug: 3295269 Change-Id: I5ec7cb887afac0d394776487cf155fef6b566a6b
* | | | | Merge "Fix crash in AutoFill"Ben Murdoch2010-12-201-2/+1
|\ \ \ \ \
| * | | | | Fix crash in AutoFillBen Murdoch2010-12-171-2/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We recently changed WebKit to use one URLRequestContext per WebView. However AutoFill did not get migrated to the new system and so we have observed crashes due to a dangling pointer. We have one AutoFill object per WebView and hence one Profile object per webview. we access the URLRequestContext through the Profile so inject the correct context in when the AutoFill object is created. Needs a change in external/chromium, see I004ab7ac9c6a72be1b62aa8e44322b97a371c136 Bug: 3291654 Change-Id: Iace23ae8c0240f0134894c12d2f7281161aa6150
* | | | | Turn iframe flattening back onBart Sears2010-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until we have iframe compositing re-enabled, go back to the old iframe flattening. Bug 3294278 Change-Id: I68d2d02d47b8f4ed1870f197703decfa3e94cf01
* | | | | Merge "Turn off iframe compositing until it is more stable."Patrick Scott2010-12-172-2/+2
|\ \ \ \ \
| * | | | | Turn off iframe compositing until it is more stable.Patrick Scott2010-12-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2d54918b5910285bf7f1cfb408af8a6b038b65f9
* | | | | | Merge "Fix two SIGSEGV bugs in request interception."Jeff Sharkey2010-12-172-9/+16
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix two SIGSEGV bugs in request interception.Jeff Sharkey2010-12-162-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When intercepting requests, properly ReleaseStringUTFChars for mimeType and encoding after bringing over from Java. Also, when finishing an intercepted request that failed, construct a valid WebResponse. Change-Id: I2990df2108a8fdf45c103512a8b9a30f4d6992ce
* | | | | | Merge "Use a lock around ioThread creation."Patrick Scott2010-12-171-0/+6
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Use a lock around ioThread creation.Patrick Scott2010-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents use of the new thread before it actually starts running. Change-Id: Idabb9cf81c62296534b696b82a08d3801aa16af8
* | | | | | Merge "Don't strip HTTP response headers with empty values"Steve Block2010-12-171-5/+2
|\ \ \ \ \ \
| * | | | | | Don't strip HTTP response headers with empty valuesSteve Block2010-12-171-5/+2
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change affects the Android HTTP stack only. We now match the XHR spec - http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method - and provide header strings even if they are empty. Bug: 3294032 Change-Id: Ic42e5e97e0a86ae2d08680ad689a2ab249d6ecc7
* | | | | | Merge "Fail when building with JSC and the Chrome HTTP stack"Steve Block2010-12-171-1/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Fail when building with JSC and the Chrome HTTP stackSteve Block2010-12-171-1/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems better than silently switching to the Android HTTP stack, which could be confusing. Change-Id: I9396beeed1e5803fe5ab16ce0d232dc5d0683f0a
* | | | | Fix for layers repaintingNicolas Roard2010-12-161-2/+10
| | | | | | | | | | | | | | | | | | | | Change-Id: I4072a5d560243d1d0053296b5128a9e411d5750a
* | | | | Cleanup pass to make files compliant with webkit styleNicolas Roard2010-12-1612-170/+203
| | | | | | | | | | | | | | | | | | | | Change-Id: I9234be0c1559d5cc11af73ebd8cc14f98f6a4c2e
* | | | | Layers implementation in GL.Nicolas Roard2010-12-1619-35/+720
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add textures management code for layers in TilesManager - add the layers drawing GL code - modify BaseLayerAndroid::drawGL() to paint the layers - modify TexturesGenerator to process layers painting requests Note: some further refactoring (when getting rid of SkLayer as a base class) will let us remove some redudant function, e.g. setAnchorPoint/setAnchorPointZ (bug:3292285) Change-Id: I3cc88575f331104d45c89e84ba27f3af755aa845
* | | | Merge "Pass redirects through canHandleRequest."Patrick Scott2010-12-162-2/+7
|\ \ \ \