Commit Graph

79035 Commits

Author SHA1 Message Date
Kartikaya Gupta
0b06cd8efd Bug 697528 - Remove incorrect entries from awesome bar
Don't show bookmark items that have not been visited in the "History" section
of the awesome bar. This is done by adding a date check on the SQL query for
the history items.

Also, when the history is empty, a dummy "Bookmarks" item with no URL appears
in the Bookmarks database. Prevent this entry from showing up in the Awesomebar
UI by filtering out rows with a zero-length URL.
2011-10-27 09:51:25 -04:00
Kartikaya Gupta
7436980605 Bug 697528 - Fix NPE when history is empty (r=lucasr)
If the history is empty, then some data structures don't get initialized and
this results in an NPE. Ensure that the data structures wherever used, and do
an early exit so we don't uselessly run code when the history is empty.
2011-10-27 09:49:29 -04:00
Lucas Rocha
b6e982b925 Bug 697705 - Pass tab ID through constructor on DownloadFaviconTask (r=mfinkle)
Instead of having to type cast String args into integer.
2011-10-27 15:47:55 +01:00
Lucas Rocha
1e5fcda8fe Bug 697705 - Rename LOG_FILE_NAME to LOG_FILE in GeckoApp (r=mfinkle)
Better matches the semantics of the constant and more consistent with other
parts of the code base.
2011-10-27 15:47:55 +01:00
Lucas Rocha
cfc300a474 Bug 697120 - Show favicon on AwesomeBar's history tab (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
a11c44d83f Bug 697120 - Show favicons on AwesomeBar's All Pages and Bookmarks tabs (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
f070e7c85f Bug 697120 - Don't store "all pages" cursor as private property (r=mfinkle)
Simply get it from the adapter whenever needed (e.g. when destroing
AwesomeBarTabs).
2011-10-27 14:26:13 +01:00
Lucas Rocha
05b890b3e7 Bug 697505 - Remove all redundant uses of 'this' in Tab (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
3e6243267f Bug 697505 - Declare one property per line in Tab (r=sriram)
For consistency reasons.
2011-10-27 14:18:34 +01:00
Lucas Rocha
c39d6e723d Bug 697505 - Prefix all private properties with 'm' for consistency (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
2124401937 Bug 697505 - Rename LOG_FILE_NAME to LOG_FILE in Tab (r=sriram)
Better matches the semantics of the constant and more consistent with other
parts of the code base.
2011-10-27 14:18:34 +01:00
Lucas Rocha
631447d698 Bug 697505 - Organize imports in Tab (r=sriram)
Remove wildcard and unused imports and sort them properly.
2011-10-27 14:18:34 +01:00
Mark Finkle
ed48b7285f Bug 695446 - Password manager/Form Fill [r=mbrubeck] 2011-10-27 00:29:46 -04:00
Mark Finkle
f79ee03bc3 Bug 695199: Add/Remove bookmarks through menus (quick string change) 2011-10-26 23:49:57 -04:00
Sriram Ramasubramanian
baa4e9dcee Bug 695199: Add/Remove bookmarks through menus [r=mfinkle] 2011-10-26 14:33:16 -07:00
Sriram Ramasubramanian
2c304c8fd3 Bug 697562 - Hide soft keyboard when the focus is not in awesomebar text field [r=mfinkle] 2011-10-26 13:47:59 -07:00
Sriram Ramasubramanian
d512940bf9 Bug 696550: Favicon should be reset in the Tab, when there is a location change [r=mfinkle] 2011-10-26 10:50:35 -07:00
Kartikaya Gupta
ee3e74b6ae Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
8d499eecc0 Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Fabrice Desré
1447f9650b Bug 696520 - Enable add-on installation : part 1/2 Adds JS helper for doorhanger notifications [r=mfinkle] 2011-10-26 13:21:42 -07:00
Mark Finkle
e3d4a96476 Bug 697078 - Add a toast notification indicating start of download on download start [r=wesj] 2011-10-26 14:32:18 -04:00
Mark Finkle
1b40e476e5 Bug 697105 - Permit spaces as a valid search query in an invalid URL [r=dougt] 2011-10-26 14:32:14 -04:00
Kartikaya Gupta
82ff50a9f9 Bug 697433 - Makefile doesn't rebuild strings correctly [r=mfinkle] 2011-10-26 10:32:23 -04:00
Wes Johnston
c6d0fab2a2 Bug 696846 - Use default system theme except on GeckoSurfaceView. r=blassey 2011-10-26 11:01:31 -07:00
Kartikaya Gupta
03e60558ea Bug 697183 - Fix crash on rotation (r=lucasr)
Prevent an NullPointerException caused by mBrowserToolbar not being initialized
before use. Happens only on rotation because it gets used only when there is an
active tab.
2011-10-25 14:02:12 -04:00
Brad Lassey
80a7a87772 bug 696062 - Clear History r=mfinkle
--HG--
extra : rebase_source : fec8263b6b33c25bc065ab5650f2c47778a8b4ff
2011-10-26 11:59:06 -04:00
Doug Turner
79b600db37 Re-enabled update checking. on my device, this takes up ~2ms of startup, could be more on devices with crappier fs.
--HG--
extra : rebase_source : 4f1f69387c2beb9acd94685a81486761d495c7ca
2011-10-25 20:10:56 -07:00
Julien Vermet
abbbd5cdb7 Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
2291f4ed94 Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle] 2011-10-25 18:04:02 -07:00
Sriram Ramasubramanian
4860ab1016 Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
43bb8a881f Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle] 2011-10-25 19:27:54 -04:00
Brian Nicholson
c996ad5c93 Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Brian Nicholson
1e0e681aa1 Bug 694684 - Change camel case and @android IDs [r=mfinkle] 2011-10-14 15:39:07 -07:00
Brian Nicholson
a06639c0bf Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
89c365ee3b Bug 694688 - Preferences activity. Asynchronous preferences initialization and update. Using JSON to pass data. [r=mfinkle] 2011-10-14 12:48:02 -07:00
Sriram Ramasubramanian
030bef94b4 Bug 697063 - Tabs.getSelectedTab returns null until Gecko starts and will cause crashes [r=mfinkle] 2011-10-25 12:21:28 -07:00
Brad Lassey
4c96c8f3b4 one more merge for this merge 2011-10-25 14:13:17 -04:00
Kartikaya Gupta
ce2ea3694f Bug 695742 - Implement 'Save as PDF' (missing chunk) [r=mfinkle] 2011-10-25 14:11:01 -04:00
Brad Lassey
66213ceda2 merge for stuff that landed since I updated 2011-10-25 13:57:14 -04:00
Kartikaya Gupta
258be86c37 Bug 695742 - Implement 'Save as PDF' [r=mfinkle]
Add a menu item that allows the user to save the page the
selected tab as a PDF. Currently this will list the generated
PDF as a download.
2011-10-25 11:51:23 -04:00
Kartikaya Gupta
32f767413d Bug 695170 - Implement visited link styles [r=blassey]
Provide an IHistory interface implementation from the android widgets
rather than using the one in Places. This allows the Link class to get
history information from the android code. The IHistory implementation
talks to the Android browser history database via JNI.
The Java-side implementation attempts to batch-process the requests coming
in, and keeps an in-memory cache of the visited links to avoid multiple
hits to the database. The in-memory cache is guaranteed to be cleared
by the VM before an OOMs get thrown.
The current implementation does not consider external events that might
update the history database, and so the visited link information
provided to Gecko might not reflect the latest information in the
Android browser history database.
2011-10-25 11:39:32 -04:00
Brad Lassey
efa5b07fa8 merge from mozilla-central 2011-10-25 10:54:54 -04:00
Kyle Huey
05bf1acd1d Bug 692991: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-25 08:49:31 -04:00
Paul O’Shannessy
4841795637 Bug 679590 - Intermittent failure in browser_607016.js | sanity check that tab doesn't have extData. r=dietrich 2011-10-25 10:22:03 +02:00
Robert Longson
fbbe49a533 Bug 653928 - Animation of path d attribute with elliptical arcs discrete instead of continuous when flags change. r=dholbert 2011-10-25 09:18:13 +01:00
Ginn Chen
43ee03feec Bug 689916 Fix yarr crashes on SPARC r=dmandelin 2011-10-25 12:50:03 +08:00
Robert O'Callahan
cc2117d268 Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz 2011-10-25 16:52:52 +13:00
Brian Hackett
35116a76ef Always discard methodjit code on GC, remove JM+TM integration, bug 685358. r=dvander 2011-10-24 20:46:00 -07:00
Matt Brubeck
4c00680be2 Merge mozilla-central to mozilla-inbound 2011-10-24 20:24:51 -07:00
Jeff Walden
a006f537e5 Bug 696941 - Privatize Token::u::dval. r=cdleary 2011-10-24 19:24:06 -07:00