Commit Graph

9 Commits

Author SHA1 Message Date
Brian Nicholson
2821767b76 Bug 697469 - crash mozalloc_abort - Fennec process dies on tap of AwesomeBar [r=dougt] 2011-10-27 10:12:59 -07:00
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
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
cf8f1d2e30 Bug 695307 - Implement history tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
b559386bfa Bug 695307 - Implement Bookmarks tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
f9db88cf70 Bug 695307 - Factor out awesome bar search into AwesomeBarTabs (r=mfinkle)
The bookmarks and history tabs are just empty for now.
2011-10-25 16:46:32 +01:00