| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| | |
* changes:
Enforce app cache maximum size
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Merge commit '57b461b6f13bb4c90264e7ca08c130b41c74a1d3'
* commit '57b461b6f13bb4c90264e7ca08c130b41c74a1d3':
Stop using old density APIs.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
wire appcache to HTML5 UI
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cursor.commitUpdates().
Merge commit '55581a656c7b198dbbac63184cd78c61f7535915'
* commit '55581a656c7b198dbbac63184cd78c61f7535915':
DO NOT MERGE: Remove deprecated call: Cursor.commitUpdates().
|
| | |
| | |
| | |
| | |
| | |
| | | |
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().
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
* changes:
Prevent stale data exception.
|
| | |
| | |
| | |
| | |
| | | |
Before requerying, check mCursor to see if it has closed. If it
has, do not requery.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Fix 1990635. update() was accidentally removed. Bring it back so that the WebSettings will be applied to the current open windows.
|
| |/ /
| | |
| | |
| | | |
WebSettings will be applied to the current open windows.
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Browser.
Merge commit '83f473462fcd7869031a423c02b957c6e938a2f6'
* commit '83f473462fcd7869031a423c02b957c6e938a2f6':
Fix 1984809. Select the url when SEARCH key is pressed in the Browser.
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Work on the Bookmark Grid, including the favicon.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
Merge commit 'e8dc977d91b95b3b3f56ffdadebeba4a04001200'
* commit 'e8dc977d91b95b3b3f56ffdadebeba4a04001200':
Do not merge.
|
| |
| |
| |
| |
| | |
Check for a null tab in onDestroy. This fix is in master but the crash appears
in donut as well.
|
|\ \ |
|
| |\ \ |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit '8e5d209b650acccb72ff906d107726a35c7cf9f4'
* commit '8e5d209b650acccb72ff906d107726a35c7cf9f4':
Import new translations
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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 commit '1e8f0583fb74658666dc4105bf15788f2585a6a2'
* commit '1e8f0583fb74658666dc4105bf15788f2585a6a2':
Move Browser search description to bookmarks search.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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"
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit '60d24e219b1763bc294974e042c67a1a6cadd8d5'
* commit '60d24e219b1763bc294974e042c67a1a6cadd8d5':
Make suggestion text color change based on the item state
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is dependant on change https://android-git/g/6623
Bug: http://b/issue?id=1865037
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | | |
it in the search/goto widget.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge commit '373d5f2984c93b07143028bfa8af4b80c4a858c8'
* commit '373d5f2984c93b07143028bfa8af4b80c4a858c8':
Update browser provider to allow global search to access it.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Associate screenshots with original url.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Not the final visual design, but allows dogfooders to create new
bookmarks.
|