summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Merge change 8199Android (Google) Code Review2009-07-231-20/+22
|\ | | | | | | | | * changes: Prevent a drag from both scrolling the page and changing the selection.
| * Prevent a drag from both scrolling the page and changing the selection.Leon Scroggins2009-07-221-20/+22
| | | | | | | | | | Fix for http://issue?id=1995835. If the user uses touch to drag a web page by the WebTextView, do not change the selection as well.
* | Merge change 8189Android (Google) Code Review2009-07-231-0/+14
|\ \ | | | | | | | | | | | | * changes: Enforce app cache maximum size
| * | Enforce app cache maximum sizeAndrei Popescu2009-07-221-0/+14
| | |
* | | Fix 1997929. The final mScrollX/Y has been pinned to the legal bounds.Grace Kloba2009-07-231-18/+13
| | | | | | | | | | | | | | | So we can't use it to calculate the intermediate scroll position. Use the original scroll offset and scale to find the animated scroll position.
* | | Merge change 8211Android (Google) Code Review2009-07-221-9/+4
|\ \ \ | |_|/ |/| | | | | | | | * changes: cleanup the WebStorage Java class. There were too many calls to syncValues().
| * | cleanup the WebStorage Java class. There were too many calls to syncValues().Andrei Popescu2009-07-221-9/+4
| |/
* | Allow the user to scroll a webpage by touching a textfield.Leon Scroggins2009-07-222-0/+98
|/ | | | | | | | Fix for http://b/issue?id=1703971. Because the browser overlays the WebTextView over textfields, it intercepts all the touch events, which was preventing the page from scrolling. This change passes the move events back to the WebView to make the page scroll.
* Merge change 8025Android (Google) Code Review2009-07-221-13/+16
|\ | | | | | | | | * changes: wire appcache to the HTML5 UI
| * wire appcache to the HTML5 UIAndrei Popescu2009-07-211-13/+16
| |
* | Add text extensions to the extension mime type map.Patrick Scott2009-07-211-328/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Browser used to have a concern around mapping text extensions to various text/* mime types. If a text extension mapped to an unknown text/* mime type, the Browser would attempt to download a url instead of just displaying the content. There is another change in external/webkit that uses 2 static functions in DOMImplementation that determine if a mime type is text or xml. The text function in particular checks for a leading "text/" string in the mime type. With that change, pruning text mime types is no longer needed. Bug: 1988375
* | Allow 205 and 305 to have content.Patrick Scott2009-07-211-1/+2
|/ | | | | | | | | | 205 is interpreted by Safari to be like 200 and show the given content. Change canHaveResponseBody to allow 205 to have a body. 305 is a very rare server response indicating to the client to use the given Location header as a proxy and reissue the original request. Curl doesn't do anything with this header and neither does internal networking code. For now, we will just allow the response body to propagate to webcore.
* Merge change 7910Android (Google) Code Review2009-07-201-1/+5
|\ | | | | | | | | * changes: Do not hide the soft keyboard when the DOM has moved focus.
| * Do not hide the soft keyboard when the DOM has moved focus.Leon Scroggins2009-07-201-1/+5
| | | | | | | | | | | | | | | | Instead of calling remove(), which would hide the soft keyboard, remove the WebTextView manually, so the soft keyboard remains up (if it was up to begin with). WebView will properly handle the keys now that the focus has changed.
* | Merge change 7827Android (Google) Code Review2009-07-201-3/+5
|\ \ | | | | | | | | | | | | * changes: Fix 1986313. WebKit assumes things happened in a certain order. In this case, we can't call LoadListener's nativeError until BrowserFrame's startLoadingResource returns. Otherwise, the failed request will not be removed from the DocLoader's request list. So the page will never finish loading.
| * | Fix 1986313. WebKit assumes things happened in a certain order. In this ↵Grace Kloba2009-07-171-3/+5
| | | | | | | | | | | | case, we can't call LoadListener's nativeError until BrowserFrame's startLoadingResource returns. Otherwise, the failed request will not be removed from the DocLoader's request list. So the page will never finish loading.
* | | Merge change 7884Android (Google) Code Review2009-07-201-0/+5
|\ \ \ | | |/ | |/| | | | | | | * changes: Clear the WebTextView in didFirstLayout.
| * | Clear the WebTextView in didFirstLayout.Leon Scroggins2009-07-201-0/+5
| |/ | | | | | | | | | | When reaching a new page, remove the WebTextView. This fixes a bug where the user logs into a site, and the WebTextView remains on screen.
* | Added hooks from jni to create and manage SurfaceViews for plugins.Patrick Scott2009-07-201-0/+72
|/ | | | | | | A subclass of SurfaceView is created in order to appear like a normal SurfaceView to jni but can be managed in Java easily. This class implements the SurfaceHolder.Callback interface in order to notify the native PluginSurface when the surface changes.
* Show the password in browser password fields.Leon Scroggins2009-07-161-3/+68
| | | | | | | Fix for http://b/issue?id=1979719 : cannot see password in browser textfield. Show the system's password transformation in a password field, which can be set to show the text partially or completely, rather than webkit's version, which never shows the text.
* Check for a null url before trying to load it.Patrick Scott2009-07-161-0/+3
| | | | There are some bad things that happen if WebCore gets a blank url.
* resolved conflicts for merge of 21d769da to masterGrace Kloba2009-07-153-9/+26
|\
| * Merge change 6926 into donutAndroid (Google) Code Review2009-07-153-9/+26
| |\ | | | | | | | | | | | | * changes: Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the WebView, send it to the certTool.
| | * Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the ↵Grace Kloba2009-07-143-9/+26
| | | | | | | | | | | | WebView, send it to the certTool.
| * | Remove the Google domains from the Gears permission table when the global ↵Andrei Popescu2009-07-141-10/+32
| |/ | | | | | | location setting is set to false
| * Do not mergeAndrei Popescu2009-07-102-160/+229
| | | | | | | | | | | | | | | | Install an observer for the Location system setting and move the Gears permission check to a slightly earlier time. Move the logic into a separate manager class. Also delete some whitespace and fix some style issues.
* | Remove all our old high priority knowledge since WebCore will manage it.Patrick Scott2009-07-154-22/+10
| | | | | | | | Also removed an unused variable in RequestQueue.java.
* | Undo the changes accidentally merged from DonutAndrei Popescu2009-07-101-170/+1
| |
* | Fix the build. Remove mPluginsPath as it is not used in the master any more.Grace Kloba2009-07-091-7/+4
| |
* | am 3bb69233: Merge change 6620 into donutAndroid (Google) Code Review2009-07-091-0/+170
|\ \ | |/ | | | | | | | | | | Merge commit '3bb692338fed7f34f010398fe8b831d0de22c6e8' * commit '3bb692338fed7f34f010398fe8b831d0de22c6e8': Keep Gears permissions in sync with system location settings.
| * Keep Gears permissions in sync with system location settings.Andrei Popescu2009-07-091-0/+170
| |
* | Merge change 6356Android (Google) Code Review2009-07-093-50/+169
|\ \ | | | | | | | | | | | | * changes: Add fullscreen support back in.
| * | Add fullscreen support back in.Andrei Popescu2009-07-083-50/+169
| | |
* | | Update text webcore thread's text generation number.Leon Scroggins2009-07-072-5/+26
|/ / | | | | | | | | | | | | | | When the user edits text in a textfield, we increase a generation number so we can mark changes from webkit to be out of date. With this change, update webcore's notion of the text generation number in deleteSelection and replaceTextfieldText, in addition to passToJs. Requires a change in external/webkit.
* | am 79ec07b3: Merge change 6241 into donutAndroid (Google) Code Review2009-07-061-2/+5
|\ \ | |/ | | | | | | | | | | Merge commit '79ec07b333f8982ee83de8eeb0b1927a6cb112ed' * commit '79ec07b333f8982ee83de8eeb0b1927a6cb112ed': Fixes #1444844. Set a maximum fling velocity in scrollable views.
| * Fixes #1444844. Set a maximum fling velocity in scrollable views.Romain Guy2009-07-061-2/+5
| |
* | am 4492bcb8: Merge change 6081 into donutAndroid (Google) Code Review2009-07-062-5/+5
|\ \ | |/ | | | | | | | | | | Merge commit '4492bcb851f4ee862a446664eb9045045ebb7b5e' * commit '4492bcb851f4ee862a446664eb9045045ebb7b5e': Migrate to the CertTool library.
| * Migrate to the CertTool library.Chung-yih Wang2009-07-042-5/+5
| | | | | | | | | | | | | | | | | | | | Keystore is reimplemented and it is mainly for storing (key, value) pair generically. The certificate related APIs are moved to the class CertTool instead. Updates: Provide the getInstance() which gives the singleton. Fix the missing construction of the BIO in cert.c.
* | Basic changes to get embedded video working.Patrick Scott2009-07-063-26/+177
| | | | | | | | | | | | Add the ViewManager class to handle child views within a WebView. This class attaches and removes the views in the UI thread. It also scales the layout params based on the scale of the WebView.
* | Merge change 6159Android (Google) Code Review2009-07-061-3/+41
|\ \ | | | | | | | | | | | | * changes: Add the code to detect how long the WebViewCore thread is idle in the real time.
| * | Add the code to detect how long the WebViewCore thread is idle in the real time.Grace Kloba2009-07-021-3/+41
| | |
* | | In WebTextView, check the focus before sending a key.Leon Scroggins2009-07-062-16/+25
| | | | | | | | | | | | | | | | | | This fixes a bug where the DOM has moved the focus, but the WebTextView is still sending keys to the old focus. Requires a change in external/webkit.
* | | recognize when plugin is eligable for user events and then notify the plugin.Derek Sollenberger2009-07-022-1/+24
|/ /
* | am 7a573862: Merge change 5720 into donutAndroid (Google) Code Review2009-07-011-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60' * commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60': Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
| * Fix #1876303. Even rfc2616 4.2 says that "Field names are ↵Grace Kloba2009-06-291-1/+1
| | | | | | | | case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
* | Fixes for moving a focused textfield on screen when entering a character.Leon Scroggins2009-07-012-29/+8
| | | | | | | | | | | | | | | | | | When the focused node is a textfield, but the WebView has focus (for example if the page had an initial focus) and the cursor is not over a plugin or textfield, rebuild the WebTextView to handle the keys. Also, remove mScrollToAccommodateCursor, since now the WebTextView is only showing when we want to scroll.
* | Fix a WebView longpress bug.Leon Scroggins2009-06-301-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Longpressing on a WebView while the WebTextView is up calls WebTextView::performLongPress(). This used to be fine, but now we may still leave the WebTextView up while the user is longpressing on something else. Check to ensure that the focus is the same as the cursor before calling WebTextView's version. Also, send a click if the user longpresses on a different WebTextView, so it will now behave appropriately. Requires a change in external/webkit. Also remove a duplicate check for inEditingMode().
* | Make the caret/selection draw when gaining window focus.Leon Scroggins2009-06-302-6/+9
| | | | | | | | | | | | | | When the WebView loses WindowFocus, we stop drawing the selection. We need to resume drawing it, especially for the context menu, which steals WindowFocus. Corresponds to a change in Webkit.
* | Add JS Flag support.Feng Qian2009-06-292-0/+19
| |
* | Add content-disposition into the cache header as it is needed by Flash.Grace Kloba2009-06-294-14/+40
| | | | | | | | As WebKit is using string version of "expires", pass it with the rest of the headers.