1. 12 Jul, 2010 1 commit
  2. 09 Jul, 2010 1 commit
    • Ben Murdoch's avatar
      Improve the visibility and discoverability of the "add shortcut · eecb4e6c
      Ben Murdoch authored
      to home" functionality in the Browser.
      
      When the user selects the bookmark button adjacent to the URL bar
      they will be prompted to either add a new bookmark for the current
      page or add a shortcut to the current page to their homescreen,
      rather than being taken to the bookmark management activity. The
      bookmarks button on the options menu will still take the user
      directly to the bookmark management activity.
      
      Bug: b/2794945
      
      Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
      eecb4e6c
  3. 06 Jul, 2010 1 commit
    • Ben Murdoch's avatar
      Add camcorder support to the file picker. · 6af492ae
      Ben Murdoch authored
      Camcorder will now be supported in the upload dialog for blank accept types,
      */* or video/*. Additionally web developers can specify "video/*;source=camcorder"
      to jump straight into the camcorder activity, or "video/*;source=gallery" to jump
      straight into the gallery filtered for videos.
      
      Change-Id: I5eb48273c71add12075b537fb56b17d5776ef40d
      6af492ae
  4. 30 Jun, 2010 2 commits
  5. 29 Jun, 2010 1 commit
  6. 28 Jun, 2010 2 commits
  7. 24 Jun, 2010 1 commit
    • Cary Clark's avatar
      Refactor find and select dialogs · 01cfcdd0
      Cary Clark authored
      (This is a work in progress -- assets in particular are not final)
      
      Use common code when showing the select and find dialogs. Both
      now use similarly constructed contextual action bars and share
      resources where possible. Both share a common base class so
      supporting code can communicate with either.
      
      Companion changes in frameworks/base and external/webkit
      
      Change-Id: I62e15afd2730444985f8dbd2472df3cae351f47a
      http://b/262451
      01cfcdd0
  8. 16 Jun, 2010 1 commit
  9. 27 May, 2010 2 commits
  10. 26 May, 2010 1 commit
    • Leon Scroggins III's avatar
      Use the URL stored in the nav cache to open in new window. · 9e997c7c
      Leon Scroggins III authored
      Previously we passed a message to find out the URL, which
      introduced a delay before the window was actually opened.
      A possible result of the delay is a crash.  Remove the
      delay and prevent the crash.
      
      Bug 2714880
      
      Change-Id: Id1579adc258ff9b386d2dc08c3456b336cdbcc37
      9e997c7c
  11. 25 May, 2010 1 commit
  12. 20 May, 2010 1 commit
  13. 19 May, 2010 1 commit
  14. 17 May, 2010 1 commit
  15. 11 May, 2010 1 commit
    • Mats Mattsson's avatar
      Prevent browser becoming unresponsive when surfing to a URL with many %-escaped characters. · 73d3033e
      Mats Mattsson authored
      Surfing to a webpage with many %-characters in the URL will hang the browser for several minutes.
      To reproduce:
      String url =
      "http://zh.wikipedia.org/wiki/%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5
      %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8?%E4%B8%AD%E5%8D%8E
      %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94
      %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5
      %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E
      %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94
      %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5
      %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E
      %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94
      %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5
      %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8";
      Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
      intent.addCategory(Intent.CATEGORY_BROWSABLE);
      startActivity(intent);
      
      The raw URL is used to match previously visited URLs in the history database with the SQL LIKE operator.
      The LIKE operator does however treat %-signs as wildcards and an exhaustive and unnecessary search is made.
      The fix uses the ESCAPE functionality of LIKE to treat the %-signs in the URL as non-wildcards.
      As underscore is treated as also treated as a wildcard, it is escaped as well.
      
      Change-Id: I20d182bc76b339c49ad23acc1c4d735414310b04
      73d3033e
  16. 10 May, 2010 2 commits
  17. 06 May, 2010 1 commit
    • Leon Scroggins III's avatar
      Allow interaction with page while Find is up. · 211ba54a
      Leon Scroggins III authored
      In order to do this, I have changed the FindDialog from
      an actual Dialog, which steals all touch events, to
      a Linearlayout, which rests below the WebView.
      
      Also dismiss Find when the user opens/closes a subwindow,
      or navigates to a new page.
      
      res/layout/browser_subwindow.xml:
      Add an id to the holder for the subwindow, so it can be
      used to add the FindDialog.
      
      res/values/styles.xml:
      Remove the style for FindDialog, as the animations are
      now added in code (since FindDialog is now a LinearLayout,
      which has no theme).
      
      res/values/themes.xml:
      Deleted, as the only theme there was FindDialog, which has
      been removed.
      
      src/com/android/browser/BrowserActivity.java:
      closeFind is now the starting point for removing the
      FindDialog, so that it can be called from Tab.
      Close the FindDialog when a new page starts loading.
      Call showFind on the current Tab.
      
      src/com/android/browser/FindDialog.java
      Change from a Dialog to a LinearLayout, so it can be
      inserted into the layout.
      Call closeFind directly, which now calls dismiss.
      Perform the animations which were previously part
      of the theme.
      Remove the call to set the height of the find dialog,
      which is no longer necessary.
      Open and close the IME when opening and closing Find.
      
      src/com/android/browser/Tab.java
      Change pointer to mContainer to a LinearLayout, which is
      used to add the FindDialog.
      Add a pointer to BrowserActivity to SubWindowClient, which
      is then used to close the FindDialog in onPageStarted.
      Close find when adding/removing a Tab or its subwindow.
      Add showFind, which attaches it to the layout for the tab,
      and closeFind, which removes it from the layout.
      
      Requires a change to frameworks/base
      
      Change-Id: If6745fb65c5628da827781a7b98061e87b279844
      211ba54a
  18. 21 Apr, 2010 1 commit
  19. 19 Apr, 2010 1 commit
  20. 15 Apr, 2010 2 commits
  21. 08 Apr, 2010 2 commits
    • Leon Scroggins's avatar
      Treat voice searches from within the browser differently · 4720868a
      Leon Scroggins authored
      from those initiated from outside the browser.
      
      Fix for http://b/issue?id=2546173
      
      For a voice search initiated from outside the browser, an appId
      will be attached.  In that case, try to reuse the application tab.
      In TabControl.recreateWebView, treat this as if the url does not
      match the old url, so a new WebView will be created with a fresh
      history list, and the back key will exit the browser.  However, if
      no appId is provided, simply reuse the current tab.  In this case,
      the history list will be preserved, and pressing the back key will
      return to earlier voice searches.
      
      Change-Id: I9ec1efd56454ba94eb2bc348c4476fb6bd025dad
      4720868a
    • Cary Clark's avatar
      use 565 bitmap instead of 4444 to improve quality · ab168ba8
      Cary Clark authored
      http://b/2577416
      
      Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c
      ab168ba8
  22. 03 Apr, 2010 1 commit
  23. 30 Mar, 2010 2 commits
    • Grace Kloba's avatar
      Reduce reported "Displayed activity com.android.browser/.BrowserActivity" · 847c25b8
      Grace Kloba authored
      time from random 3~5s to consistent ~2.5s assuming 
      no apps need to be killed in the start up.
      
      Move the faked title bar to its own Window instead
      of the sub panel of the main window. This way Browser
      can start when its main window is ready, instead of
      waiting for both windows are ready. Also we don't
      depend on mBrowserFrameLayout for the y position.
      We also don't need to check decorView's window token.
      
      Delay the fake tile bar starting time until the main
      window is ready. This way we ensure the main window
      will be drawn when it is ready. Otherwise the window
      manager will wait until all the current windows are
      ready before showing them.
      
      Fix http://b/issue?id=2548712
      847c25b8
    • Kristian Monsen's avatar
      Fix for bug 2538060. Decoding and encoding an URL. · fa52d17a
      Kristian Monsen authored
      Just encoding [ and ] instead of decoding and encoding again. This is because decoding is not a reversible function so we might not always get back to
      the same URL.
      
      Tested against bug 1634719, which this was a fix for.
      
      Change-Id: I041820c15e0a0cf2e6a20bea3801e8b5039d39d5
      fa52d17a
  24. 25 Mar, 2010 3 commits
  25. 24 Mar, 2010 1 commit
  26. 22 Mar, 2010 1 commit
  27. 19 Mar, 2010 2 commits
  28. 18 Mar, 2010 3 commits