summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Merge "First draft to add a fat point to WebKit hit test."Grace Kloba2010-05-2417-0/+331
|\
| * First draft to add a fat point to WebKit hit test.Grace Kloba2010-05-2417-0/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If padding is 0, it is the old style point hit test. If it finds a node, it will break the search loop and return. If padding is non-zero, the first node will be added to HitTestResult's innerNode as before. But instead of finishing the search, hit test will continue to look for other nodes covered by the fat point unless it is fully inside the current node. Here are some highlights of the changes. . instead of testing renderRect.contains(x, y), we now test renderRect.intersect(pointRect) . when a Node is hit, it will be appended to the rawNodeList of HitTestResult. So the order inside the rawNodeList represents the hit test order. Currently the fat point doesn't support SVG nodes. It also doesn't support overflow control yet.
* | Merge "Fix a binding big in WebKit which prevents url hijacking for mobile ↵Grace Kloba2010-05-242-2/+2
|\ \ | | | | | | | | | adsense."
| * | Fix a binding big in WebKit which prevents urlGrace Kloba2010-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | hijacking for mobile adsense. Fix http://b/issue?id=2695688 cherry-pick the change from WebKit https://bugs.webkit.org/show_bug.cgi?id=39452
* | | implement Canvas.toDataURLCary Clark2010-05-241-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | The Chrome implementation serves as the base for this code. The test is at http://philip.html5.org/tests/canvas/suite/tests/index.toDataURL.html Change-Id: I873518362793fbe1c99686fbe240cfe7c27d1493 http://b/2620678
* | | Merge "check for null on extremely large images"Cary Clark2010-05-241-1/+1
|\ \ \
| * | | check for null on extremely large imagesCary Clark2010-05-241-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The new PrivateAndroidImageSourceRec allocator may return null if the image sizes are extremely large. Check for this to avoid a null deference. Change-Id: Ia129a87a1794a2696a4e1e415a940ac2b6b50064 http://b/2689053
* | | Merge "Cherry-pick WebKit change 59918 to fix Java bridge for JSC"Steve Block2010-05-241-1/+3
|\ \ \
| * | | Cherry-pick WebKit change 59918 to fix Java bridge for JSCSteve Block2010-05-211-1/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | This is required to allow the LayoutTestController to work. See http://trac.webkit.org/changeset/59918 Change-Id: I96ab4a0da1ebb9e42cff43e4296341830d57f078
* | | Merge "Update Android to reflect upstreamed code to avoid Geolocation leaks"Steve Block2010-05-244-52/+21
|\ \ \
| * | | Update Android to reflect upstreamed code to avoid Geolocation leaksSteve Block2010-05-244-52/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of WebKit change http://trac.webkit.org/changeset/60069 This releases references to JS callbacks in the page and allows the Frame and thus the Geolocation object to be cleaned up. This change allows us to remove the Android-specific code which achieved the same through an unload listener. Bug: 2169518 Change-Id: I1ed97d40d7f69ec94a58eaa21bfa4979737cc84d
* | | Provide a string for the case where a file upload control has not had a file ↵Ben Murdoch2010-05-213-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | attached to it. Requires a frameworks/base change. Change-Id: Ia50d4b8cceb943166198888dad364b09a2dc06a1
* | | Add a method to the PlatformBridge to resolve the filename of a fileBen Murdoch2010-05-214-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | given its representation as a content:// URI, and the associated JNI plumbing. Requires a frameworks/base change. Change-Id: I9b8b8bb3fbfa31c86f4212f91c140fe62c6c6682
* | | Fix incorrect position when using CSS shadows, and use left/top over ↵Nicolas Roard2010-05-203-56/+42
| |/ |/| | | | | | | | | right/bottom if defined Change-Id: I38dbc87faffdb6806b356d89bfff1162023124e7
* | Fix the infinite loop when flatten iframes.Patrick Scott2010-05-201-9/+3
| | | | | | | | | | | | | | | | Somehow javascript can cause a layout of the parent renderer in the middle of the FrameView's layout. Bug: 2614175 Change-Id: I37ed3d2e88de1762715e0d0712549d8fab0f12d2
* | Merge "Update Android to reflect upstreaming of PluginView JSC guards in ↵Steve Block2010-05-202-36/+12
|\ \ | | | | | | | | | WebKit change 59826"
| * | Update Android to reflect upstreaming of PluginView JSC guards in WebKit ↵Steve Block2010-05-202-36/+12
| |/ | | | | | | | | | | | | | | change 59826 See http://trac.webkit.org/changeset/59826 Change-Id: Ia1e16f7fa71fe8b5740610e3caa4bfbf05391a0f
* | Fix build.Leon Scroggins III2010-05-191-0/+1
| | | | | | | | Change-Id: Ic8251cd255785f7ad1081eba9a0eb8db84697b97
* | Prohibit scrolling not initiated by the user.Leon Scroggins III2010-05-192-1/+4
|/ | | | | | | | | | We used to have an ANDROID specific change that was removed when webkit changed. See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=57a47dd4f75b9c15804c3c61479540cfdc11bd6e Bug 1330729 Bug 2694223 Change-Id: Id51edbb4943eb0a1357477d4bcd31d838febb8fb
* Merge "Make sure Geolocation is robust to location providers being absent on ↵Steve Block2010-05-183-6/+6
|\ | | | | | | the device."
| * Make sure Geolocation is robust to location providers being absent on the ↵Steve Block2010-05-183-6/+6
| | | | | | | | | | | | | | device. Bug: 2692830 Change-Id: Ib6395a04ec916a04cdd3a09569c4ea373fb422e9
* | Merge "Adds missing ENABLE(TOUCH_EVENTS) guards to Android-specific code"Steve Block2010-05-182-0/+4
|\ \
| * | Adds missing ENABLE(TOUCH_EVENTS) guards to Android-specific codeSteve Block2010-05-182-0/+4
| |/ | | | | | | | | | | | | This will allow us to build with touch events disabled once we've merged https://bugs.webkit.org/show_bug.cgi?id=39222 Change-Id: Ia665e5e6c3b4169b6c5576aa26721d95e72934e9
* | am b7c854ae: am 18e97e57: merge from open-source masterThe Android Open Source Project2010-05-171-1/+1
|\ \
| * \ merge from open-source masterThe Android Open Source Project2010-05-171-1/+1
| |\ \ | | | | | | | | | | | | Change-Id: I0b566897309348d094f93ed7ae5d9af7b0e8a377
| | * \ Merge "Fix focus ring on links with non-latin text"Jean-Baptiste Queru2010-05-171-1/+1
| | |\ \
| | | * | Fix focus ring on links with non-latin textAnders Edenbrandt2010-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a clickable link in a HTML document is focused, a rectangle with rounded corners is drawn around that link. If the link contains Arabic characters (or characters from other non-latin alphabets) the focus ring will be drawn too high up on the page. Change-Id: Ia589236c4e315af76c6e8f746cc99af63e7e53d7
| | | * | eclair snapshotJean-Baptiste Queru2009-11-122894-131329/+321055
| | | | |
| | | * | Do not merge.Patrick Scott2009-07-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2nd attempt to fix the icon database crash. This time, make sure there is only 1 line in the change.
| | | * | Revert phanna's change which broke the build.Mike LeBeau2009-07-091-2/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 91f07d3317527703031378a388bc92853479d6a8.
| | | * | Do not mergePatrick Scott2009-07-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull down http://trac.webkit.org/changeset/42163 to fix the icon database crash. I believe the issue was that m_syncThreadRunning could have been initialized to false if the moons aligned. When the Browser quits, it closes the icon db. If m_syncThreadRunning happened to be false, the close method would not wait for the sync thread to complete before cleaning up (and closing) the sqlite database. I think that caused the underlying db to be null within sqlite.
| | | * | Do not mergePatrick Scott2009-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | Use 2 * aLength as Grace pointed out characters() returns UChar*.
| | | * | Do not mergePatrick Scott2009-06-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Fix the alignment bug in donut. Only check for ARM since SH4 is in the newer webkit.
* | | | | ignore offscreen drawing in SVGCary Clark2010-05-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drawing outside of the visible window is recorded so that future scrolls have the correct picture data. When SVG triggers this code path on its way to drawing to an offscreen bitmap, it has not instantiated a WebViewCore object. Since in SVG's case, there's no reason to record drawing outside if the offscreen bitmap, it's correct to do nothing. Offscreen bitmaps do not work with SVG; but that problem is independent of this bug fix. Change-Id: I0b9c6d5506b6a35b2992abfa6bcb1db6cb872fd0 http://b/2682606
* | | | | Remove a superfluous ANDROID-only include from Node.cpp that has not been ↵Ben Murdoch2010-05-171-4/+0
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | upstreamed. Diff -=4! :) Change-Id: Iafac0c2529bb66808e15efac63e75c63966d9673
* | | | Merge Webkit at r58956: Cherry pick of ↵Ben Murdoch2010-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=38990 landed as r59459. Fixes touch event support with V8. Change-Id: I5fb7da6570ce7ba5ed14f54e78ecb9a24664613a
* | | | Merge Webkit at r58956: SVGPaintServer has been deleted upstream and ↵Ben Murdoch2010-05-142-279/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replaced with SVGResourceSolidColor.cpp. We had local modifications in the deleted file to correctly guard some Chromium/Skia includes we don't have on Android, so move the guards into the new file. See http://trac.webkit.org/changeset/58212 See http://trac.webkit.org/changeset/588212 Change-Id: I8e7e9ea39009019f7caefd68d99942be77ea602d
* | | | Merge Webkit at r58956: Update plugin code to use C99 types. See ↵Ben Murdoch2010-05-145-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/58590 Change-Id: I73f3f008a88e69962de831a98d40e8d23c3cce30
* | | | Merge Webkit at r58956: Add bool parameter to Widget::setFocus. See ↵Ben Murdoch2010-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/58821 Change-Id: I3ab2eb4fdb14e32106c4b2ef51b889f2ffcd3661
* | | | Merge Webkit at r58956: Remove GlyphMetrics from Font code. See ↵Ben Murdoch2010-05-141-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/58192 Change-Id: I2b3876f4027d2d3afbf0cfaa76061c53d0bf018f
* | | | Merge Webkit at r58956: Update Android makefiles.Ben Murdoch2010-05-145-14/+16
| | | | | | | | | | | | | | | | Change-Id: Ie3bcd0e3d0363ad5fdfa26e275af3cca5f147ca2
* | | | Merge Webkit at r58956: Fix conflicts.Ben Murdoch2010-05-1412-116/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix conflict: JavaScriptCore/wtf/MathExtras.h: Take theirs due to recently upstreamed change http://trac.webkit.org/changeset/58110 Fix conflict: WebCore/dom/Node.cpp: Take both. The Android part can be removed post-merge. Fix conflict: WebCore/platform/ScrollView.cpp Fix conflict: WebCore/platform/ScrollView.h Fix conflict: WebCore/platform/android/ScrollViewAndroid.cpp: Remove ScrollView::platformProhibitsScrolling and ScrollView::scrollRectIntoViewRecursively as they have been removed upstream in http://trac.webkit.org/changeset/58428, http://trac.webkit.org/changeset/58445 and http://trac.webkit.org/changeset/58611. platformProhibitsScrolling was an Android specific function called only from scrollRectIntoViewRecursively. Fix conflict: WebCore/bindings/v8/ScriptCallStack.cpp: Take both (we have an Android specific addition). Fix conflict: WebCore/html/HTMLOptionElement.cpp: Take theirs, our fix has been upstreamed in http://trac.webkit.org/changeset/58490. Fix conflict: WebCore/rendering/RenderBox.cpp: Take theirs. See http://trac.webkit.org/changeset/58177 Fix conflict: WebCore/css/CSSStyleSelector.cpp Take both (Android specific addition). Fix conflict: WebCore/css/CSSParser.cpp Take both (Android specific addition). Fix conflict: WebCore/bridge/jni/jni_jsobject.h: Take theirs. see http://trac.webkit.org/changeset/58775 Fix conflict: FileSystemAndroid.cpp: Fix conflict: FileSystemPOSIX.cpp: Take ours. Our changes have been upstreamed but beyond 58596. See http://trac.webkit.org/changeset/59226 Change-Id: I92c7e319bea9edcc2eb08726654b5c1e163effaf
* | | | Merge Webkit at r58956: Initial merge by Git.Ben Murdoch2010-05-14775-11825/+27875
| | | | | | | | | | | | | | | | Change-Id: I1d9fb60ea2c3f2ddc04c17a871acdb39353be228
* | | | Fix a CSS position: fixed problem, where we were not using left or top if ↵Nicolas Roard2010-05-131-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | nothing was defined Change-Id: Ib9f5b473cbda0518e332332cdc1c515652150a8c
* | | | Merge "don't use animated gifs if gifs only have one frame"Cary Clark2010-05-131-5/+19
|\ \ \ \
| * | | | don't use animated gifs if gifs only have one frameCary Clark2010-05-131-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gifs use a different decoding mechanism from other images. The default webkit implementation allocates a bitmap for the gif, which is serialized when the picture is flattened. A page with a 25K display list may flatten into a 20M file if GIFs are included as bitmaps. GIFs can be written like other image types, as streams; then the display list flattens to a 140K file. Currently, the Skia-based images only can handle non-animated types. When animated gifs was recently enabled, the flattened file size grew. All gifs were treated as if they could be animated, and all were decoded into bitmaps with straight memory allocations. This change uses the stream-allocation mechanism if the GIF has only one frame, and is therefore not animating. Change-Id: Ie2360bb6f20515b81bd62761ca97242f33ffb43b http://b/2650945
* | | | | Merge "Fix crash in fast/frames/iframe-access-screen-of-deleted.html"Ben Murdoch2010-05-131-0/+6
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix crash in fast/frames/iframe-access-screen-of-deleted.htmlBen Murdoch2010-05-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new layout test and triggers a crash inside screenRect() by accessing the null page pointer. Other platform implementations perform a null check on page in this function, so we now do the same to prevent the crash. Change-Id: I2403d7adc157daae69f6fb53bbbf212d9d04341c
* | | | | Merge "No longer consider a semi-colon to be a separator character when ↵Steve Block2010-05-121-12/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | parsing the meta-tag"
| * | | | | No longer consider a semi-colon to be a separator character when parsing the ↵Steve Block2010-05-121-12/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | meta-tag The Android meta-tag parsing code was originally copied from the iPhone implementation. A later change added the semi-colon to the list of separator characters, motivated by Reader. See http://b/issue?id=1416841 and https://mondrian.corp.google.com/changelist/115656-p9 Meta-tag support has since been added to WebKit in http://trac.webkit.org/changeset/57775. The upstream parsing code does not consider the semi-colon to be a separator. The upstream parsing code was merged into Android as part of the merge to WebKit r58033 in https://android-git.corp.google.com/g/#change,50648 This change removes the Android-specific changes so the semi-colon is no longer considered a separator. This brings Android back into line with iPhone and other browsers. Change-Id: Id4cbbadb414d0508a89006d9beb91c56fa1f8daf