summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Merge change I6623a2fa into eclair-mr2Android (Google) Code Review2009-10-161-8/+13
|\ | | | | | | | | * changes: don't pre-round rects, since we will zoom (arbitrarily) after we record the geometry.
| * don't pre-round rects, since we will zoom (arbitrarily) after we record the ↵Mike Reed2009-10-161-8/+13
| | | | | | | | | | | | | | geometry. This fixes the funny case of <canvas> elements being scaled twice: once by our scaleFactor() and then again by this roundToDevicePixels method.
* | Fixes a couple of style problems and a minor TODO in WebKit Geolocation. Do ↵Steve Block2009-10-162-6/+6
|/ | | | | | not merge. This has already been submitted to master branch.
* Bring Geolocation V8 bindings in line with those for JSC. Do not merge.Steve Block2009-10-141-8/+2
| | | | This has already been submitted to master branch.
* Brings JSC Geolocation bindings up-to-date with latest submission to ↵Steve Block2009-10-141-5/+6
| | | | | | | | webkit.org. Do not merge. See https://bugs.webkit.org/show_bug.cgi?id=29099 This has already been submitted to master branch.
* Remove the Android guards added to the <video> implementation in WebCore. Do ↵Andrei Popescu2009-10-145-33/+11
| | | | | | | | not merge. The patch in https://bugs.webkit.org/show_bug.cgi?id=29133 landed. This has already been submitted to master branch.
* Fixes an accidental change made to WebKit GTK code. Do not merge.Steve Block2009-10-141-1/+1
| | | | | | | | | This was made in change 95e3d862bbab761f8caaf1d1b54065f67b9a5148. See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=95e3d862bbab761f8caaf1d1b54065f67b9a5148#patch1 This will help avoid noise in the diffs when upstreaming Android-specific changes to webkit.org. This has already been submitted to master branch.
* Fixes a bunch of WebKit whitespace discrepancies between Android and ↵Steve Block2009-10-1418-21/+22
| | | | | | | | webkit.org. Do not merge. This will avoid noise in the diffs when upstreaming Android-specific changes to webkit.org. This has already been submitted to master branch.
* Remove more superfluous WebKit files from build.Steve Block2009-10-141-2/+0
|
* Remove superfluous files from JSC build. Note that these files are not in ↵Steve Block2009-10-141-5/+0
| | | | the V8 build.
* Removes superfluous unload event getter and setter methods from Node. Do not ↵Steve Block2009-10-132-12/+1
| | | | | | | | | merge. These were removed from webkit.org in http://trac.webkit.org/changeset/44944. This should have been picked up in https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=d227fc870c7a697500a3c900c31baf05fb9a8524, which syncs to webkit.org R47420. This has already been submitted to master branch.
* Allow <select> boxes to draw larger.Leon Scroggins2009-10-091-12/+2
| | | | Fix http://b/issue?id=2159794
* Fix the V8 build.Leon Scroggins2009-10-091-2/+2
|
* File upload.Leon Scroggins2009-10-095-23/+2
| | | | | | | | Webkit implementation for passing in the data for file uploads. Requires a change to frameworks/base to not break things; also requires a change to packages/apps/Browser to work. Fixes http://b/issue?id=675743
* Merge change I6b640373 into eclair-mr2Android (Google) Code Review2009-10-081-0/+7
|\ | | | | | | | | * changes: Fix bug 2132969
| * Fix bug 2132969Patrick Scott2009-10-081-0/+7
| | | | | | | | | | | | | | | | | | Check for a user gesture before adding the history item during a fragment scroll. The bug has been reported to webkit.org with the suggested fix. Although upstream webkit does not have the user gesture additions defined by ANDROID_USER_GESTURE. Bug: 2132969
* | Set the navigator.vendor property to be "Google Inc." rather than defaulting ↵Ben Murdoch2009-10-081-0/+1
|/ | | | to "Apple Computer, Inc."
* am a7280594: Fixes build bustage due to missing include in Geolocation.Steve Block2009-10-061-0/+1
|\ | | | | | | | | | | | | Merge commit 'a7280594a8eac3503fe491d2ea02ce684fdf8744' into eclair-mr2 * commit 'a7280594a8eac3503fe491d2ea02ce684fdf8744': Fixes build bustage due to missing include in Geolocation.
| * Fixes build bustage due to missing include in Geolocation.Steve Block2009-10-061-0/+1
| | | | | | | | Change-Id: Iea9209faba25a9b4ea4e351218c8c1eecf36d07f
* | am 0c7394a4: Fixes a WebKit bug where ongoing Geolocation requests are not ↵Steve Block2009-10-062-2/+26
|\ \ | |/ | | | | | | | | | | | | | | stopped when the page is unloaded. Merge commit '0c7394a4459ba850766d303b4307add7189cf5f3' into eclair-mr2 * commit '0c7394a4459ba850766d303b4307add7189cf5f3': Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.
| * Fixes a WebKit bug where ongoing Geolocation requests are not stopped when ↵Steve Block2009-10-062-2/+26
| | | | | | | | | | | | | | | | the page is unloaded. This fixes bug http://b/issue?id=2164673 Change-Id: I68a615c0b82bcee2a4a61dc0433a4f9321780ad1
* | Cherry pick of WebKit commit r49018, fix for b/2067397. Enable ↵Ben Murdoch2009-10-062-24/+77
| | | | | | | | Database.changVersion().
* | Re-enable using the right foreground color now we use the right backgroundLeon Clarke2009-10-051-6/+0
| | | | | | | | color.
* | am 2097884b: Revert "Don\'t extend the arrow asset of the combo box over the ↵Leon Scroggins2009-10-041-2/+8
|\ \ | |/ | | | | | | | | | | | | | | text, so that the real background" Merge commit '2097884b9e1630c3855a8580f84a308163e085e7' into eclair-mr2 * commit '2097884b9e1630c3855a8580f84a308163e085e7': Revert "Don't extend the arrow asset of the combo box over the text, so that the real background"
| * Revert "Don't extend the arrow asset of the combo box over the text, so that ↵Leon Scroggins2009-10-011-2/+8
| | | | | | | | | | | | the real background" This reverts commit 02b5ebb30fc88967b843818cbc61987f9dc9685d.
* | only look at globalAlpha when we draw images (not the alpha in fill-color)Mike Reed2009-10-023-3/+16
| | | | | | | | http://b/issue?id=1817561
* | remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDSMike Reed2009-10-022-5/+0
|/ | | | http://b/issue?id=2146657
* Merge change Ib6cfb9c2 into eclairAndroid (Google) Code Review2009-10-011-8/+2
|\ | | | | | | | | * changes: Don't extend the arrow asset of the combo box over the text, so that the real background color is used. Re-instate using the correct color for the text.
| * Don't extend the arrow asset of the combo box over the text, so that the ↵Leon Clarke2009-10-011-8/+2
| | | | | | | | | | | | | | real background color is used. Re-instate using the correct color for the text.
* | Merge change Ic0bd5009 into eclairAndroid (Google) Code Review2009-09-306-1/+38
|\ \ | | | | | | | | | | | | * changes: Update <video> implementation after new IRC discussion with Eric Carlsson.
| * | Update <video> implementation after new IRC discussion with Eric Carlsson.Andrei Popescu2009-09-306-1/+38
| |/ | | | | | | | | | | | | | | - move poster drawing on the WebKit side - get rid of the child views - add prepareToPlay method to the MediaPlayer iface. Fixes http://b/issue?id=2156592
* | Fix the random crash around iframes.Patrick Scott2009-09-302-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that if updateWidgetPosition calls layout, the FrameView will layout with 0x0 dimensions. Then, we resize the view and try to relayout. This causes the body to be marked as needing a layout. But, the body does not get a chance to relayout. If updateWidgetPosition does not layout, the view size will match and the body will not be marked for layout. This makes everything sane after layout of the iframe. The root of the problem is that we are calling FrameView::layout() while in the midst of a layout. This is causing a child RenderObject to need a layout without the parent object needing a layout. We avoid this by not laying out until we set the FrameView dimensions. Bug: 2048855, 2134215
* | Merge change I99fa56b2 into eclairAndroid (Google) Code Review2009-09-301-7/+3
|\ \ | | | | | | | | | | | | * changes: always update the WebTextView from the input element
| * | always update the WebTextView from the input elementCary Clark2009-09-301-7/+3
| |/ | | | | | | | | | | | | Even if the input element doesn't have focus, synchronize the WebTextView if the pointers match. fixes http://b/issue?id=2096746
* | Fix the user gesture change to be more like donut.Patrick Scott2009-09-301-1/+4
|/ | | | Bug: 2151004
* Build fix.Patrick Scott2009-09-291-0/+2
| | | | | Files that include FontPlatformData.h apparently depend on StringImpl.h already being included.
* Fix a few crashes with assertions enabled.Patrick Scott2009-09-292-2/+8
| | | | | KURL::protocolIs no longer likes "javascript" and has a different method called protocolIsJavaScript.
* Merge change 27080 into eclairAndroid (Google) Code Review2009-09-251-0/+11
|\ | | | | | | | | * changes: When detach the top Document, clean up the touch listeners and reset needTouchEvents.
| * When detach the top Document, clean up the touch listeners and resetGrace Kloba2009-09-251-0/+11
| | | | | | | | | | | | needTouchEvents. Fix http://b/issue?id=2145333
* | fix cracks when we draw the page in portions (i.e. a picture set)Mike Reed2009-09-251-0/+24
|/ | | | | | | | | | | | | | | When we record/draw the DOM N times (for speed), webkit sees what we're doing in certain places, and sends us different rectangle coordinates. These were all being antialiased (by default). However, when we are also zoomed, the rects now fall on fractional coordinates, and with aa, we will double-draw the edges where those rects should have seamed. The fix is to disable antialiasing for a class of rects that we record from webkit. We are probably disabling for more cases than is necessary for the current bug, but knowing which ones are "required" is tricky, and there (as yet) seems to be no down-side, since we never draw the page rotated at a funny angle (where the rect edge would look jaggie). http://b/issue?id=2132971&cookieId=2009268114917835 http://b/issue?id=2127763&cookieId=2009268114931860
* disable antialiasing for bitmapsMike Reed2009-09-251-0/+15
| | | | | | | Since we are never rotated, and when we are zoomed, the antialiasing can double-draw the shared border for images that are meant to seam (ala nine-patch) http://b/issue?id=2105990&cookieId=2009268085657820
* Add ANDROID_USER_GESTURE back to WebCore.Patrick Scott2009-09-244-0/+52
| | | | | | | We only care about the user gesture during a location change. Add the m_userGesture field to our ResourceRequest and check the value in canHandleRequest. This could be cleaner if WebCore passed around the ResourceRequest rather than constructing a new one.
* When mouse down or plugin handles touch down, set the pluginGrace Kloba2009-09-231-0/+13
| | | | | | to be the focus of the document so that it can receive key events. This has the same logic as in PluginViewMac.cpp's handleMouseEvent().
* Add apple-touch-icon-precomposed processing.Patrick Scott2009-09-224-8/+19
| | | | Send up a boolean to indicate if the touch icon url is precomposed.
* Add dpi support for WebView.Grace Kloba2009-09-212-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | In the "viewport" meta tag, you can specify "target-densityDpi". If it is not specified, it uses the default, 160dpi as of today. Then the 1.0 scale factor specified in the viewport tag means 100% on G1 and 150% on Sholes. If you set "target-densityDpi" to "device-dpi", then the 1.0 scale factor means 100% on both G1 and Sholes. Implemented Safari's window.devicePixelRatio and css media query device-pixel-ratio. So if you use "device-dpi" and modify the css for font-size and image src depending on window.devicePixelRatio, you can get a better page on Sholes/Passion. Here is a list of options for "target-densityDpi". device-dpi: Use the device's native dpi as target dpi. low-dpi: 120dpi medium-dpi: 160dpi, which is also the default as of today high-dpi: 240dpi <number>: We take any number between 70 and 400 as a valid target dpi. Fix http://b/issue?id=2071943
* renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent ↵Derek Sollenberger2009-09-211-2/+2
| | | | | | calls Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
* Merge change 25547 into eclairAndroid (Google) Code Review2009-09-171-1/+1
|\ | | | | | | | | * changes: bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
| * bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), ↵Mike Reed2009-09-171-1/+1
| | | | | | | | | | | | | | | | and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
* | Wire the rest of MediaPlayer to our implementation of ↵Andrei Popescu2009-09-171-0/+7
|/ | | | WebCore::MediaPlayerPrivate
* Add poster support and other fixesAndrei Popescu2009-09-175-3/+36
|