summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remove gearsAndrei Popescu2009-08-139-1994/+1
|
* Pass unhandled keys up to the main tab.Patrick Scott2009-08-121-0/+10
|
* Change the Browser trace file from data dir to sdcard, increase the sizeGrace Kloba2009-08-121-17/+4
| | | | from 8M to 20M so that common sites like nytimes.com can fit.
* close streams when doneCary Clark2009-08-121-2/+20
| | | | | found by findbugs http://b/issue?id=1856630
* make private inner classes staticCary Clark2009-08-112-3/+3
| | | | | bug found by findbugs http://b/issue?id=1856695
* remove unused localsCary Clark2009-08-111-2/+0
| | | | | found by findbugs http://b/issue?id=1856758
* Merge change 20761Android (Google) Code Review2009-08-113-11/+10
|\ | | | | | | | | * changes: make finals static, remove unused local
| * make finals static, remove unused localCary Clark2009-08-113-11/+10
| | | | | | | | | | | | found by findbugs http://b/issue?id=1856725 http://b/issue?id=1856786
* | remove unused variableCary Clark2009-08-111-1/+0
|/ | | | | found by findbugs http://b/issue?id=1856781
* No load home page.Leon Scroggins2009-08-072-20/+35
| | | | | | | Rather than load a home page, bring up the browser/new tabs displaying the bookmarks page, with a search bar that can be clicked to open the omnibox. Also rearrange the menu. Fix for http://b/issue?id=2018524
* Add a setting to load a page in overview mode.Grace Kloba2009-08-061-0/+4
|
* Make the "Most visited" page have a thumbnail viewing mode.Leon Scroggins2009-08-066-33/+125
| | | | | | | | | Start capturing screenshots for all visited pages, and show them in a grid view on the most visited page. Modify the BrowserBookmarks- Page and Adapter so they can be used for the "Most visited" page. Also change some of the ids for context menu items to be the same in the browser and history context menus, for simplicity in handling them in BrowserBookmarksPage.
* Fix for bug 2024912. Sets title in browser Website Settings menu.Steve Block2009-08-061-0/+3
|
* Adds the browser Geolocation permissions prompt.Steve Block2009-08-063-14/+210
| | | | | | | | Note that the appearance of the prompt has not yet been finalized. Also the interaction of the prompt with the animation used to move to and from the tab picker is not fixed. This may become unecessary if the tab selection UI is redisgned.
* Implement onReceivedTouchIconUrl.Patrick Scott2009-08-056-87/+305
| | | | | | | | | | | Add DownloadTouchIcon, an AsyncTask that downloads the apple-touch-icon for urls that are marked as bookmarks. The touch icon is stored in the bookmark database similar to favicons and thumbnails. If a shortcut is created for a bookmark containing a touch icon, the touch icon is used (with rounded corners). Refactor the bookmarks query to be a static function. The function uses the original url and new url to look for matching bookmarks. This takes care of redirects as well as bookmarks containing queries.
* Merge change 9700Android (Google) Code Review2009-08-053-26/+25
|\ | | | | | | | | * changes: Updates for the look of the bookmarks page.
| * Updates for the look of the bookmarks page.Leon Scroggins2009-08-043-26/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new assets. -tab_indicator.xml State selector for the background of tabs in the CombinedHistoryActivity -bookmark_thumnail.xml Web page title is now above the thumb. Removed the favicon. Added a shadow. -tab_header.xml Layout for the tabs in CombinedHistoryActivity -tabs.xml Change the height of the tabs. -bookmarks.xml Remove the title for the "switch" menu item, which gets set in Java, depending on the current viewing mode. -strings.xml Remove the placeholder menu item text, add the actual text for switching between modes. -BrowserBookmarksAdapter No longer set the favicon on top of the bookmark thumbs in grid mode. -BrowserBookmarksPage Implement onPrepareOptionsMenu, and set the title of a menu option, depending on the current viewing state. -CombinedHistoryActivity Create a common function for setting up all the tabs. Change the look of the tabs to match the new design.
* | Merge change 9477Android (Google) Code Review2009-08-041-23/+23
|\ \ | |/ |/| | | | | * changes: Enable workers for V8. Also remove the quota parameters, unused after the storage UI refactoring.
| * Enable workers for V8. Also remove the quota parameters, unused after the ↵Andrei Popescu2009-08-031-23/+23
| | | | | | | | storage UI refactoring.
* | When free the background tabs due to low memory, keep the parent tab of theGrace Kloba2009-08-032-39/+7
| | | | | | | | | | | | | | | | current tab around so that hit Back won't cause reload the page. This should address the complain of reloading while using Google Reader. Remove our own checkMemory() as the system now provides onLowMemory().
* | resolved conflicts for merge of a34f6861 to masterGrace Kloba2009-08-031-63/+64
|\ \ | |/ |/|
| * Move IntentFilter/BroadcastReceiver creation before the spot where we mayGrace Kloba2009-07-311-17/+17
| | | | | | | | early bail out in onCreate(). This should avoid the NPE we saw in onResume.
* | Fix a monkey crash.Leon Scroggins2009-07-311-1/+1
| | | | | | | | | | Since getTopWindow() can be null, check first before accessing it. Fix for http://b/issue?id=2027301
* | Remove the session cookies if Browser starts without any saved state.Grace Kloba2009-07-301-0/+3
| |
* | Merge change 8873Android (Google) Code Review2009-07-301-13/+64
|\ \ | | | | | | | | | | | | * changes: More precise determination of when to back up the bookmarks
| * | More precise determination of when to back up the bookmarksChristopher Tate2009-07-291-13/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of blindly assuming that any change to the bookmark table requires a backup pass, we now attempt to discern whether the change is a user-visible alteration of the bookmark set. We do this in the provider's hooks for insert/delete/update operations. Insert is easy; we simply check for bookmarks=1 in the field values of the row being added, and request backup if it's there. Delete and update operations are more problematic; we need to check whether the record being acted on is part of the bookmark set. To do this unambiguously requires querying the record's bookmark field, so we do that if it looks like the operation might be one relevant to the bookmark backup [either deleting a bookmark row, or changing the title/url of an existing bookmark, or changing whether a given row represents a bookmark].
* | | Implement out of space notificationAndrei Popescu2009-07-301-8/+61
| | |
* | | Adds browser settings menu entries for Geolocation permissions.Steve Block2009-07-304-22/+82
| | |
* | | Merge change 8986Android (Google) Code Review2009-07-301-38/+114
|\ \ \ | | | | | | | | | | | | | | | | * changes: Generalizes WebsiteSettingsActivity to handle more than just database permissions.
| * | | Generalizes WebsiteSettingsActivity to handle more than just database ↵Steve Block2009-07-291-38/+114
| | | | | | | | | | | | | | | | | | | | | | | | permissions. This is in preparation for the addition of Geolocation permissions.
* | | | resolved conflicts for merge of cc634036 to masterAndroid Git Automerger2009-07-291-4/+6
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Fix #1964292. If the WEB_SEARCH starts from the Browser, load it in theGrace Kloba2009-07-281-4/+6
| | | | | | | | | | | | current window instead of a new window.
| * | Do not mergePatrick Scott2009-07-211-11/+22
| | | | | | | | | | | | | | | When opening a new tab from the context menu, treat the new tab as a child of the current tab. This change was cherry-picked from master.
| * | DO NOT MERGE: Remove deprecated call: Cursor.commitUpdates().Leon Scroggins2009-07-211-4/+4
| | | | | | | | | | | | | | | | | | This change was previously made in master, but I believe it is responsible for a crash. We should not be using this deprecated method, so I am now instead using ContentResolver.update().
* | | Add unit tests for the WebStorageSizemanager. Also reduce the default quota ↵Andrei Popescu2009-07-292-46/+95
| |/ |/| | | | | and quota increase step
* | Refactor the WebStorage size management:Andrei Popescu2009-07-294-237/+314
| | | | | | | | | | | | | | - Abandon the Quota UI: it does not make sense to ask the users to decide individual database quota increases. It is unlikely anyone will be able to make a meaningul decision. - Introduce a global limit for all WebStorage content. This is shared between Database and AppCache. - Make the quota increase decision automatic - Treat out-of-space situations by creaying a system notification (TODO).
* | In History context menu, do not show "Add bookmark" for bookmarks.Leon Scroggins2009-07-282-7/+34
| | | | | | | | | | | | | | Fix for http://b/issue?id=1688867. Instead of providing an option to add a bookmark to bookmarks, provide an option to remove the item from bookmarks. Also display the item as the context menu header.
* | Fixes bug 2018090 in browser Website Settings.Steve Block2009-07-281-13/+34
| | | | | | | | Browser Website settings menu now correctly distinguishes origins at the same host.
* | Improves appearance of website URLs in browser 'Website settings' menu.Steve Block2009-07-281-10/+19
| | | | | | | | | | | | - If an explicit title is set, we show it and use the origin as a subtitle. - If no explicit title is set, we show use the origin as a title. - We hide the origin's scheme if it's 'http'.
* | First real cut of bookmarks backup agentChristopher Tate2009-07-275-53/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The agent now does backup/restore of the bookmarks table. Whether to back up is determined by flattening the bookmark table, CRCing the flattened representation, and comparing the CRC with the previous backup pass's version. If they differ (or if the file size differs), the table is deemed to have changed and we send the flattened file off to the server as a single key. On restore, the bookmark records are read individually from the flattened representation, the existing bookmarks table is queried for a matching URL, and if none exists the bookmark is inserted into the table. Bookmarks.addBookmark() now takes a boolean argument "retainIcon." When false, the implementation will not call into the web icon database. This is necessary during restore because the web icon database is only available from the Browser app's main thread, but restore happens without the app proper being involved. The other call points for addBookmark() have been updated to pass 'true,' i.e. preserving the current behavior.
* | Enforce app cache maximum sizeAndrei Popescu2009-07-231-0/+34
| |
* | Merge change 8027Android (Google) Code Review2009-07-223-5/+7
|\ \ | | | | | | | | | | | | * changes: wire appcache to HTML5 UI
| * | wire appcache to HTML5 UIAndrei Popescu2009-07-213-5/+7
| | |
* | | Merge change 8035Android (Google) Code Review2009-07-211-0/+3
|\ \ \ | |/ / |/| | | | | | | | * changes: Prevent stale data exception.
| * | Prevent stale data exception.Leon Scroggins2009-07-211-0/+3
| | | | | | | | | | | | | | | Before requerying, check mCursor to see if it has closed. If it has, do not requery.
* | | Merge change 7914Android (Google) Code Review2009-07-201-0/+2
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fix 1990635. update() was accidentally removed. Bring it back so that the WebSettings will be applied to the current open windows.
| * | | Fix 1990635. update() was accidentally removed. Bring it back so that the ↵Grace Kloba2009-07-201-0/+2
| |/ / | | | | | | | | | WebSettings will be applied to the current open windows.
* | | am 83f47346: Fix 1984809. Select the url when SEARCH key is pressed in the ↵Grace Kloba2009-07-201-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | Browser. Merge commit '83f473462fcd7869031a423c02b957c6e938a2f6' * commit '83f473462fcd7869031a423c02b957c6e938a2f6': Fix 1984809. Select the url when SEARCH key is pressed in the Browser.
| * | Fix 1984809. Select the url when SEARCH key is pressed in the Browser.Grace Kloba2009-07-201-1/+1
| | |
| * | Do not merge.Patrick Scott2009-07-151-2/+4
| | | | | | | | | | | | | | | Check for a null tab in onDestroy. This fix is in master but the crash appears in donut as well.