summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* update the permissions for the AccountManagerServiceFred Quintana2009-07-231-0/+1
|
* Merge change 8188Android (Google) Code Review2009-07-234-0/+196
|\ | | | | | | | | * changes: Enforce app cache maximum size
| * Enforce app cache maximum sizeAndrei Popescu2009-07-234-0/+196
| |
* | am 57b461b6: Stop using old density APIs.Dianne Hackborn2009-07-221-4/+0
|\ \ | |/ |/| | | | | | | | | Merge commit '57b461b6f13bb4c90264e7ca08c130b41c74a1d3' * commit '57b461b6f13bb4c90264e7ca08c130b41c74a1d3': Stop using old density APIs.
| * Stop using old density APIs.Dianne Hackborn2009-07-211-4/+0
| |
* | 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
| | |
* | | am a0b0e2a2: (-s ours) Do not merge When opening a new tab from the context ↵Patrick Scott2009-07-210-0/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | menu, treat the new tab as a child of the current tab. This change was cherry-picked from master. Merge commit 'a0b0e2a2cd78ae78ec50eab2e532d0102facc52d' * commit 'a0b0e2a2cd78ae78ec50eab2e532d0102facc52d': Do not merge
| * | 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.
* | | am 55581a65: (-s ours) DO NOT MERGE: Remove deprecated call: ↵Leon Scroggins2009-07-210-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Cursor.commitUpdates(). Merge commit '55581a656c7b198dbbac63184cd78c61f7535915' * commit '55581a656c7b198dbbac63184cd78c61f7535915': DO NOT MERGE: Remove deprecated call: Cursor.commitUpdates().
| * | 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().
* | | 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
| | |
* | | Set a title for pages with no title.Leon Scroggins2009-07-201-4/+21
| |/ |/| | | | | | | | | | | In the title bar, we were showing "Loading..." as the title for a page that finished loading but still has no title. Now, display the url where the title is displayed and display nothing for the url.
* | Implement an error console. The console is displayed when the user has ↵Ben Murdoch2009-07-178-8/+547
| | | | | | | | enabled debug in the browser (been to about:debug) and there are errors on the page. It can be toggled on/off in debug mode in the settings menu.
* | Try to reuse tabs with matching urls to avoid loading a new page.Patrick Scott2009-07-162-6/+65
| | | | | | | | | | | | | | | | | | | | If there is no matching application tab, try to find a regular tab (created in the browser) with a matching url. This avoids opening a new tab and loading a new page for a page that has already been loaded. TODO: There is a ton of duplicate code around animations to/from the tab overview. It is a massive amount of cruft and I really want to rewrite it all in a separate change.
* | Merge change 7429Android (Google) Code Review2009-07-166-136/+120
|\ \ | | | | | | | | | | | | * changes: Work on the Bookmark Grid, including the favicon.
| * | Work on the Bookmark Grid, including the favicon.Leon Scroggins2009-07-156-136/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the file BookmarkGridPage, since a GridView will do just fine. Now we specify a height and width for the bitmaps rather than adjusting them for the screen size. Also add the favicon and match the design more closely for the Add option. In BrowserActivity, match the size of the saved screenshots to the desired size for the Bookmarks Activity. Also move the logic into its own method so it can be called from multiple places (still called in only one at the moment).
* | | am e8dc977d: (-s ours) Do not merge.Patrick Scott2009-07-150-0/+0
|\ \ \ | |/ / |/| / | |/ | | | | | | Merge commit 'e8dc977d91b95b3b3f56ffdadebeba4a04001200' * commit 'e8dc977d91b95b3b3f56ffdadebeba4a04001200': Do not merge.
| * 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.
* | Merge commit 'goog/readonly-korg-master' into merge_korg_masterJean-Baptiste Queru2009-07-140-0/+0
|\ \
| * \ Merge commit 'korg/donut'The Android Open Source Project2009-04-245-16/+18
| |\ \
| * \ \ Merge commit 'korg/cupcake'The Android Open Source Project2009-04-1412-80/+100
| |\ \ \
* | | | | Integrate bookmark grid view mode with list view mode.Leon Scroggins2009-07-148-393/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way the two different modes can share code and have all the same behaviors (i.e. context menu options). AndroidManifest.xml Remove BookmarkGridPage, which is no longer an Activity. bookmarks.xml Add a menu option to switch between the different viewing modes. strings.xml Name for that menu option. AddNewBookmark.java Remove copyTo, which is not necessary. BookmarkGridPage.java Change to just be a GridView, with our desired settings, and overriding onSizeChanged to size the thumbs appropriately. Now its constructor takes a BrowserBookmarksAdapter, which it uses instead of its old private Adapter. BrowserBookmarksAdapter.java Now has two modes, so it can be used for both the bookmarks grid and the list view. Removed a bunch of obsolete code, which was used for searching/sorting the bookmarks. BrowserBookmarksPage.java Now switches back and forth between using a GridView and a ListView.
* | | | | Show the new tab when creating it from the bookmarks/history.Patrick Scott2009-07-142-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we are in the tab picker and a new tab is created from bookmarks/history, show the new tab in the picker and then animate to it. Only do this for the "open tabs in background" setting since openTab() will show the tab if that setting is false. We animate to the new tab because we currently don't have a way to show the new tab in the tab picker with updated picker data (title and url in particular). So instead of showing a blank tab, animate to the tab. Once the animations have been redesigned and the code refactored, this will hopefully get better.
* | | | | am 8e5d209b: Import new translationsEric Fischer2009-07-1320-544/+2165
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Merge commit '8e5d209b650acccb72ff906d107726a35c7cf9f4' * commit '8e5d209b650acccb72ff906d107726a35c7cf9f4': Import new translations
| * | | | Import new translationsEric Fischer2009-07-1320-544/+2165
| | | | |
* | | | | am bae196df: Merge change 6811 into donutAndroid (Google) Code Review2009-07-131-0/+12
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'bae196df36929647356d03e35cbfbdb453e3833b' * commit 'bae196df36929647356d03e35cbfbdb453e3833b': Fix #1953520. When MENU is down, consume the key in the BrowserActivity which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
| * | | | Merge change 6811 into donutAndroid (Google) Code Review2009-07-131-0/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix #1953520. When MENU is down, consume the key in the BrowserActivity which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
| | * | | | Fix #1953520. When MENU is down, consume the key in the BrowserActivity ↵Grace Kloba2009-07-131-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
* | | | | | am 1e8f0583: Move Browser search description to bookmarks search.Bjorn Bringert2009-07-132-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1e8f0583fb74658666dc4105bf15788f2585a6a2' * commit '1e8f0583fb74658666dc4105bf15788f2585a6a2': Move Browser search description to bookmarks search.
| * | | | | Move Browser search description to bookmarks search.Bjorn Bringert2009-07-132-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, android:searchSettingsDescription was set in searchable.xml, but not in bookmarks_searchable.xml, which is the one that is used from global search. Fixes http://b/issue?id=1971319 "Description string for Browser source not showing in settings"
* | | | | Remember to advance the cursorChristopher Tate2009-07-101-0/+2
| | | | |
* | | | | Skeleton backup agent for BrowserChristopher Tate2009-07-102-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a skeleton backup agent for the Android Browser, intended to back up and restore the bookmarks table from browser.db by extracting the bookmarks table into a flattened file representation on backup, then unflattening and rebuilding the table during restore. It compiles but is completely untested, since the db code to read/write the bookmarks table is not finished. The backup agent has been declared in the Browser manifest, however.
* | | | | am 60d24e21: Make suggestion text color change based on the item stateSatish Sampath2009-07-101-9/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '60d24e219b1763bc294974e042c67a1a6cadd8d5' * commit '60d24e219b1763bc294974e042c67a1a6cadd8d5': Make suggestion text color change based on the item state
| * | | | Make suggestion text color change based on the item stateSatish Sampath2009-07-101-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | This is dependant on change https://android-git/g/6623 Bug: http://b/issue?id=1865037
* | | | | am cf849950: Fix 1970279. Like "Go", search key should get the current url ↵Grace Kloba2009-07-101-1/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and pre-fill it in the search/goto widget. Merge commit 'cf849950fe8ad5425ccd82b48b9a014dea8a288e' * commit 'cf849950fe8ad5425ccd82b48b9a014dea8a288e': Fix 1970279. Like "Go", search key should get the current url and pre-fill it in the search/goto widget.
| * | | | Fix 1970279. Like "Go", search key should get the current url and pre-fill ↵Grace Kloba2009-07-091-1/+2
| | | | | | | | | | | | | | | | | | | | it in the search/goto widget.
* | | | | am 373d5f29: Update browser provider to allow global search to access it.Dianne Hackborn2009-07-091-1/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '373d5f2984c93b07143028bfa8af4b80c4a858c8' * commit '373d5f2984c93b07143028bfa8af4b80c4a858c8': Update browser provider to allow global search to access it.
| * | | | Update browser provider to allow global search to access it.Dianne Hackborn2009-07-081-1/+4
| | | | |
* | | | | Add fullscreen support back in.Andrei Popescu2009-07-091-3/+13
| | | | |
* | | | | More closely match the intended design of the bookmark grid page.Leon Scroggins2009-07-073-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the look of the text. Use a blank white rectangle with rounded corners for sites without a stored screenshot. Also begin work on using the favicon.
* | | | | Merge change 6348Android (Google) Code Review2009-07-071-4/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Associate screenshots with original url.
| * | | | | Associate screenshots with original url.Leon Scroggins2009-07-071-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial fix for http://b/issue?id=1949260 : can't get a thumb for facebook.com. Associate the screenshot with the original url so a bookmark that was redirected will still get updated with the picture.
* | | | | | Allow user to create a new bookmark in the new UI.Leon Scroggins2009-07-061-5/+38
|/ / / / / | | | | | | | | | | | | | | | | | | | | Not the final visual design, but allows dogfooders to create new bookmarks.