summaryrefslogtreecommitdiffstats
path: root/WebKit/android
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix for bug 3424689 Corrupt (truncated) downloads for apk from browser"Kristian Monsen2011-02-211-1/+1
|\
| * Fix for bug 3424689 Corrupt (truncated) downloads for apk from browserKristian Monsen2011-02-161-1/+1
| | | | | | | | | | | | | | Sending the url of the response instead of the request, so using the new url if there is a redirect. Change-Id: Ic314d315a6e9b5be837c302cdcfd740cc185466d
* | Merge "Fix a leaked JNI LocaRef in WebViewCore::jsPrompt()"Steve Block2011-02-211-2/+3
|\ \
| * | Fix a leaked JNI LocaRef in WebViewCore::jsPrompt()Steve Block2011-02-211-2/+3
| | | | | | | | | | | | | | | Bug: 3470906 Change-Id: I8fb9ddcf4ff3dee35c2225a18a86b4015002da96
* | | Part of fix for bug 3424424 Browser hangingKristian Monsen2011-02-181-1/+13
| | | | | | | | | | | | | | | | | | | | | Always calling complete, and adding an assert if Wait finishes without incrementing the count. Change-Id: Iceec36c2b82f225ee88cd67eeb18d5c5064c6bfb
* | | Merge "use measure instead of bounder to find spaces"Cary Clark2011-02-181-66/+19
|\ \ \ | |/ / |/| |
| * | use measure instead of bounder to find spacesCary Clark2011-02-181-66/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Pictures do not include white space characters in their text spans, so they must be deduced. The old method used drawing through the canvas, compared against drawing the text directly. The new method measure and rounds the text to match how webkit adjusts characters' widths in WidthIterator. bug:348629 Change-Id: I39fecd274fe0b195fbad13a6083656daa62ed852
* | b/3452201 Set certificate only when it's from the main page.Huahui Wu2011-02-165-8/+12
| | | | | | | | Change-Id: Ia81109b5afe993bac2ee4a3b2da232c19f750439
* | Adding a debug setting to enable visual indicator for GLTeng-Hui Zhu2011-02-161-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [This is the webkit part] The idea is to turn on the visual indicator without building the code. The implementation included: 1. Setup the UI on browser side to check whether or not this is enabled. 2. Transfer the info from browser setting to web setting. 3. Send this info down from WebView to webkit. 4. In the webkit, we save this info in TilesManager. 5. At texture generation time, we query this info to decide whether or not add the visual indicator on the texture. One design decision we made is we don't want to restart the browser for debugging purpose. This is better preserving the browser current activity, the only pitfall is that the visual indicator is NOT updated on different textures simultaneously. The dependent webView change is #change,97055 bug:3458721 Change-Id: I0ce51d7ac7de66ccdb95c9bf1f0edc7ec688622f
* | Merge "Selectively enable and disable GL_BLEND for better performance."Derek Sollenberger2011-02-161-1/+3
|\ \
| * | Selectively enable and disable GL_BLEND for better performance.Derek Sollenberger2011-02-161-1/+3
| | | | | | | | | | | | Change-Id: I473e2bff91c2e0b1ec2436f0666506023a7c0945
* | | Clip nodes to the visible rect.Patrick Scott2011-02-161-0/+27
| |/ |/| | | | | | | | | | | | | Do not build scrollable layers if the layer does not draw. No need to ask for a sync since the rebuild happens during a sync. Bug: 3429982 Change-Id: I7740cd4de4e1658e760da7391de708cbdf05cd44
* | Merge "fix buttons in GL"Cary Clark2011-02-151-4/+11
|\ \
| * | fix buttons in GLCary Clark2011-02-151-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buttons failed to draw when selected with the keyboard, and sometimes when selected by touch, for three reasons: 1) GL short-circuits if the last extra rectangle and the curent extra rectangle match. When buttons change color, the rectangles do match, but the picture still needs to be redrawn. 2) Buttons do not have cursor rings, so the button's bounds was not passed to GL. 3) The timeout logic to switch from a focused state to a normal state was incorrect. This adds a flag to GLWebViewState::setExtra that can skip the equal rectangle case. Note that the equal rectangle test hides a more serious bug where the setExtra is called repeatedly -- so it would be worthwhile to examine this further. The logic that determines if the cursor is a button was split out so that the cursor ring can be associated with a button even if the cursor is hidden. bug:3364248 Change-Id: I75944cb045486c128743aa13922d20758ccf783f
* | | A couple of fixes for scrolling layers.Patrick Scott2011-02-151-2/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the layer structure during compositing sync. Make sure to turn off scrolling if it changes. Since I replace the content layer with a different structure, append the children to the foreground layer so they move with the content. Remove the clipping layer in the compositor for scrollable layers. For children of scrollable layers, add back in the content scroll offset so that layers are positioned relative to 0,0. Bug: 3416512 Change-Id: I74de90aac2dcf67bd969d0b85f440343123ecab9
* | Merge "don't combine single image bitmaps"Cary Clark2011-02-148-22/+33
|\ \
| * | don't combine single image bitmapsCary Clark2011-02-148-22/+33
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Anchors and other links often contain multiple bitmaps, which must be stitched together when analyzing the picture data to determine if the anchor is fully visible, partially occluded, or fully hidden. For instance, nine-patches in WebKit appear as adjacent bitmaps. If a website design has two or more bitmaps adjacent to each other, these may be mistakenly joined. By tracking whether the original node contained exactly one img element, combining bitmaps based on their location is avoided unncessarily. bug:3373743 Change-Id: I5bcbdaec3097a2b839ee2444e512a0def6a016d0
* | Merge "Generate well-formed makrup for accessibility events."Svetoslav Ganov2011-02-142-23/+8
|\ \
| * | Generate well-formed makrup for accessibility events.Svetoslav Ganov2011-02-142-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:3444147 1. Removed the code that incorrectly strips CSS spans appended by WebKit. This CSS information is now propagated to the client applications such as TalkBack. 2. Renamed getImplicitAnchorOrOffsetNode to getImplicitBoundaryNode. Change-Id: I6618be4d208fafd223ba09fb90c393046121ca88
* | | Merge "remove unused helper class"Cary Clark2011-02-141-98/+0
|\ \ \
| * | | remove unused helper classCary Clark2011-02-141-98/+0
| | |/ | |/| | | | | | | Change-Id: Icfb3ccfb8f89486604f1d63ab40e13d28d00cf7c
* | | Merge "Adding debug information about requests. #ifdef out by default"Kristian Monsen2011-02-142-1/+26
|\ \ \
| * | | Adding debug information about requests. #ifdef out by defaultKristian Monsen2011-02-022-1/+26
| | | | | | | | | | | | | | | | Change-Id: Ice2826c4bc2ec4ce08b2628155319287e93b7e9f
* | | | Merge "Partly fix for bug 3410366"Kristian Monsen2011-02-141-0/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Partly fix for bug 3410366Kristian Monsen2011-02-021-0/+2
| |/ / | | | | | | | | | | | | | | | This should fix one of the stack traces Change-Id: If1b6c111075c600be22e9821a368936346b4507a
* | | Merge "Fix ANR in the browser Sometimes we were not releasing textures as ↵Nicolas Roard2011-02-101-1/+1
|\ \ \ | |_|/ |/| | | | | they were busy; they could still be deleted when swapping the layers trees, and as they were also still present in the LayerTexture Hashmap this was causing an ANR (at best -- the texture was already deallocated, the LayerTexture dtor was then trying to release() them...)"
| * | Fix ANR in the browserNicolas Roard2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes we were not releasing textures as they were busy; they could still be deleted when swapping the layers trees, and as they were also still present in the LayerTexture Hashmap this was causing an ANR (at best -- the texture was already deallocated, the LayerTexture dtor was then trying to release() them...) bug:3398660 Change-Id: I2747dd4630a2a7dc18eae4c5fde36fd14c461747
* | | Merge "b/3416864 Pass the certificate info from native to JAVA."Huahui Wu2011-02-103-42/+15
|\ \ \
| * | | b/3416864 Pass the certificate info from native to JAVA.Huahui Wu2011-02-103-42/+15
| | | | | | | | | | | | | | | | Change-Id: I797ab2d6ce6a07561c710d8b3262e548770eb477
* | | | Merge "Only update history position if scrolling is done by user."Shimeng (Simon) Wang2011-02-101-15/+17
|\ \ \ \
| * | | | Only update history position if scrolling is done by user.Shimeng (Simon) Wang2011-02-101-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | issue: 3433562 Change-Id: I520f50cc6657f0a244860e01d38e3f71607fe665
* | | | | Merge "Do not accept cookies for file scheme URLs by default"Steve Block2011-02-103-3/+51
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Do not accept cookies for file scheme URLs by defaultKristian Monsen2011-02-103-3/+51
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This change also adds a getter and setter to CookieMananager to allow this policy to be configured. Bug: 2944150 Change-Id: I48668b0d0f2b81581b98933a9399719626da6033
* | | | remove obsolete nav cache dump statementCary Clark2011-02-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix for the bug below to remove part of CachedLayer wasn't reflected in the nav cache dump. bug:3398340 Change-Id: I77723680bed88ecf2f9d11cd56fada111a4a785b
* | | | Merge changes I0c422ecd,Ia06decf9Teng-Hui Zhu2011-02-104-19/+13
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | * changes: Improve the fixed element position calculation Revert "A temp WAR for fixed element position update"
| * | | Improve the fixed element position calculationTeng-Hui Zhu2011-02-094-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the previous WAR, we get the screen size from UI thread at every draw call. That is awkward. Now with Java side fix, we can get the screen size from setSize call now. However, forcing a full re-layout seems like an expensive operation. What we need to make the webkit to know the update can be done by just updating the fixed position elements only. So I have done these: 1. Take away the WAR by forcing the update at the convertToLayerCoord. 2. Get rid of the UI thread stuff used to tell WebViewCore the screen size. And get rid of the redundant variables, too. 3. update the fixed element at the setSize time. BTW, I also rename the PlatformBridge functions name. bug: 3397602 Change-Id: I0c422ecdb570de89aecb6e568d5067acf18ecfc6
* | | | Merge "Consolidate scrolling methods."Patrick Scott2011-02-093-39/+14
|\ \ \ \
| * | | | Consolidate scrolling methods.Patrick Scott2011-02-093-39/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call through to a single java function to scroll the page. Always use scrollTo so that there isn't a problem with using scrollBy on an old or out-of-sync scroll position. Bug: 3187015 Change-Id: I4a75256687e53ed18c1f73970e9032f476b81859
* | | | WevView accessibility no JavaScript - clean up, null poiner error.Svetoslav Ganov2011-02-092-327/+330
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:3421690 1. Added explicit checks for error/null pointer at places where such check were missing. 2. Fixed skipping of som einput cotrols while traversing backwards. 3. Factored out common code. 4. Input controls were not correctly selected after scrolling the view port. 5. Imroved node visibility checking. Change-Id: Idfec7e6a17ac8531f6b073ad6d858932e0921767
* | | Guard autofill correctly.Ben Murdoch2011-02-081-0/+2
|/ / | | | | | | | | | | Bug: 3411200 Change-Id: I6e80795413d68ac1b7b9ada4ac44901916d6efbf
* | am 4fff0b9f: am 2bac1e45: Only invalidate the webview when the plugin has ↵Derek Sollenberger2011-02-073-2/+19
|\ \ | | | | | | | | | | | | | | | | | | new content. * commit '4fff0b9fdd23cd60b036e2ea48190e7a7d8dbf13': Only invalidate the webview when the plugin has new content.
| * | Only invalidate the webview when the plugin has new content.Derek Sollenberger2011-02-043-2/+19
| | | | | | | | | | | | | | | bug: 3424551 Change-Id: I07beef845bb41980144222c3c5d076db8120037c
* | | Store form data when it is submitted.Leon Scroggins2011-02-044-45/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:3280725 Store form data when submitted rather than when a page loads. Requires a change in frameworks/base. Change-Id: Ib2328270a91d8d618a40a1353bf50337bbf608aa
* | | am 747837fe: am afd330e2: Merge "stop GL drawing thread before killing ↵Cary Clark2011-02-031-1/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | WebCore" into honeycomb * commit '747837fe962a5320bbad6e3c3857e94fb6e9aeab': stop GL drawing thread before killing WebCore
| * | Merge "stop GL drawing thread before killing WebCore" into honeycombCary Clark2011-02-031-1/+16
| |\ \
| | * | stop GL drawing thread before killing WebCoreCary Clark2011-02-031-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TexturesGenerator thread references pictures owned by the WebCore thread, so must be stopped before the WebCore thread is deleted. Requires a companion change in frameworks/base bug:3406185 Change-Id: I20e64631bbf4a1b88fb015f3de36ce292234537d
| * | | DO NOT MERGE. Pass an extra boolean with scrollTo message.Leon Scroggins2011-02-022-5/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:3411564 When the size changes, add a boolean to the scroll message to only honor the scroll in the case that the IME is actually showing. Requires a change to frameworks/base. Already submitted to master. Change-Id: I35612dcecfddaa0623dc8f414229703c6a97191b
* | | Use ListBoxPopupMenuClient for listboxes.Leon Scroggins2011-02-032-129/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug:2754767 Enables us to remove some layering violations. Change-Id: Iea184c7946bca9d840c708918f545a9d9b436254
* | | am a5082a9a: am 9962eeba: Fix for bug 3414354 crash in navcacheKristian Monsen2011-02-021-7/+11
|\ \ \ | |/ / | | | | | | | | | * commit 'a5082a9a9fd6c8933d64acea70d81c4bd97d795a': Fix for bug 3414354 crash in navcache
| * | Fix for bug 3414354 crash in navcacheKristian Monsen2011-02-021-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should work according to our new ARM expert. Updated bug report with details. I didn't think another indent layer was good, so did returns instead. Change-Id: I2baafe748f3249943ecc93ddf166b8ff559d7a6c