Shawn Wilsher
053d89f52b
Bug 481227 - nsAnnoProtocolHandler gets favicon data synchronously from the database
...
The moz-anno protocol has a special case for favicons that would load them from
the database synchronously. This patch changes this behavior to load them
asynchronously so we do not block the main thread while they load.
r=mak
r=bz
sr=bz
2009-03-12 17:49:37 -04:00
Shawn Wilsher
367406c6b4
Test to ensure that the content type for moz-anno favicon URIs is set as expected.
...
This test is being added in bug 481227 but does not depend on the code changes
in that bug. This test should pass with and without those changes.
r=bz
2009-03-12 14:01:12 -04:00
Shawn Wilsher
58a139c23e
Tests for moz-anno protocol for favicons.
...
The code this was testing was originally added in bug 316077. This test was
reviewed in bug 481227 because we are modifying the favicon code path.
r=mak
2009-03-11 14:04:05 -04:00
Marco Bonardo
93a4939182
Bug 482276 - mDBVisitsForFrecency query doesn't use indices for sorting (we can be 7x faster!), r=sdwilsh
2009-03-11 14:34:26 +01:00
Boris Zbarsky
b8aeaa6484
Bug 481257. Make the insertion triggers not do an O(N) scan of the whole table. r=sdwilsh
2009-03-09 13:13:55 -04:00
Jeff Walden
98699d32c2
Bug 482068 - Finalize places statements in tests, because failure to do so => assertions that make debug builds and the people who run tests in them angry. r=sdwilsh
2009-03-08 22:12:48 -07:00
Marco Bonardo
6b584b4d71
Bug 480437 - test_expiration is working on wrong assumptions, r=dietrich
2009-03-05 13:08:43 +01:00
Marco Bonardo
210ad84906
Bug 431153 - Middle clicking on a tag in the Library left pane does not open in tabs, r=dietrich
2009-03-05 13:08:18 +01:00
Dietrich Ayala
639679471d
Bug 469422 - tag autocomplete disappears on every other character that is typed, r=mak77
2009-03-05 13:07:15 +01:00
Shawn Wilsher
d8f1be3ec1
Bug 480211 - Stop expiring history on every page visit
...
This makes the history code expire when we flush the temporary table data to
disk instead of every single time we add a visit. This is also now done on a
background thread as opposed to the main thread, in a transaction with other
work. In theory, this reduces fsyncs (but in practice, no change was noticed).
Regardless, this removes fsyncs from the main thread, which is always a good
thing to do.
r=dietrich
r=mak
2009-03-03 13:27:01 -05:00
Marco Bonardo
a9919cef88
Bug 476636 - nsFaviconService::ExpireAllFavicons cannot work, r=sdwilsh
2009-02-28 14:17:36 +01:00
Drew Willcoxon
d41a6bfc94
Bug 479082 - AutoComplete should not show unvisited not-bookmarked-elsewhere children of livemark containers, r=sdwilsh
2009-02-28 13:01:36 +01:00
Edward Lee
4e3508ccb4
Bug 479739 - Make location bar autocomplete even faster. r=sdwilsh
2009-02-25 21:46:13 -08:00
Arpad Borsos
1f930c6547
Bug 474369 - get rid of nsVoidArray; toolkit part; r+sr=benjamin
2009-02-25 16:25:10 +01:00
Shawn Wilsher
34ebf5215c
Bug 478097 - Make location bar AutoComplete faster
...
Slightly modifies our base query for the location bar that makes the query about
20% faster in some basic benchmarking.
r=dietrich
2009-02-21 15:53:07 -08:00
Shawn Wilsher
4710dc3be6
Bug 478948 - SQL statements not finalized warnings during shutdown
...
r=mak
2009-02-20 14:25:45 -08:00
Marco Bonardo
4662ddb1aa
Bug 478218 - onQuit expiration is not working, changes are never synced to disk, r=dietrich a=blocking191
2009-02-16 12:09:19 +01:00
Drew Willcoxon
8b31027ba9
Bug 455315 - when removing a bookmark we recalculate frecency with wrong isBookmark, r=dietrich
2009-02-16 12:09:19 +01:00
Shawn Wilsher
62e4ff7c7e
Bug 468705 - cache the result of _getSyncTableStatement in nsDBFlush
...
We can avoid some of the statement parsing, which will help mobile out!
r=mak
2009-02-13 18:01:55 -05:00
Marco Bonardo
d40d34bee0
Bug 477739 - Exception when clicking star icon (no editBookmarkPanel, broken JSON backup), r=dietrich a=blocking191
2009-02-12 12:32:52 +01:00
Marco Bonardo
d6266d9563
Bug 477916 - Don't allow removing the Places root through bookmarks API, r+a191=dietrich
2009-02-11 11:53:35 +01:00
Marco Bonardo
10063403f7
Bug 477793 - Make sure preventive maintenance cannot act on roots, r=sdwilsh a=blocking191
2009-02-11 11:53:35 +01:00
Marco Bonardo
a8b322321a
bug 474582 - Disable lastModifiedTime check to try fixing test orange on Linux
2009-02-09 21:49:17 +01:00
Marco Bonardo
8af19aa0fb
Bug 474582 - With initial migration Shiretoko doesn't import favorites from Internet Explorer 7 anymore, r=dietrich
2009-02-09 19:16:02 +01:00
Edward Lee
4384aa6ca1
Bug 476297 - Switch frecency idle timer to idle-daily observer. r=dietrich
2009-02-07 15:51:19 -06:00
Edward Lee
0a8120c04c
Bug 477295 - Clean up unnecessary assignments of NS_ConvertUTF*. r=sdwilsh
2009-02-06 18:18:16 -06:00
Dietrich Ayala
0198490a4d
backing out bug 432706, causes multiple regressions
2009-02-04 09:49:58 -08:00
Marco Bonardo
e21b0af40d
merge backout
2009-02-04 15:27:48 +01:00
Marco Bonardo
658f27c658
Backed out changeset 1cf6c5b25fe5 due to crashes on linux unit test boxes
2009-02-04 15:27:18 +01:00
Marco Bonardo
e80ecb6157
Bug 474582 - With initial migration Shiretoko doesn't import favorites from Internet Explorer 7 anymore, r=dietrich
2009-02-04 13:47:13 +01:00
Marco Bonardo
5d511f3bb1
Bug 475824 - preventive maintenance has low possibilites to be run, r=dietrich
2009-02-04 13:47:13 +01:00
Shawn Wilsher
8075a939ec
Bug 476292 - Crashes on startup on OS X and Linux [@ nsNavBookmarks::IsRealBookmark] [@ PL_DHashTableOperate]
...
This fixes a crash when we initialize nsNavBookmarks with a database that is out
of date (the schema version is less than the current one). Because the bookmark
service initializes the history service in its Init method, and the history
service tries to get the bookmark service if the database needs an upgrade, we
try to re-enter the bookmark service's constructor. Bad things happen.
Adds a test to ensure that we don't do this again.
r=dietrich
r=MaK77
2009-02-03 21:58:21 -05:00
Drew Willcoxon
a284ae1506
Bug 444179 - Library>Views>Sort>Sort by Tags does nothing, r=mak77
2009-01-30 13:34:38 +01:00
Jeff Muizelaar
a7c6031376
nsNavHistory::AddDocumentRedirect doesn't handle INTERNAL redirects - bug 475069 r=mak77
2009-01-29 14:26:04 -05:00
Shawn Wilsher
4756beb1ae
Bug 449406 - bookmarks of TRANSITION_DOWNLOAD and TRANSITION_EMBED don't show up in the location bar if they've been visited
...
This adds a new function to nsNavBookmarks that determines if a place id is a
"real" bookmark (not a livemark child). It also makes a number of places use
this new function to unify and simplify a number of code paths.
Additionally, it changes how frecency is calculated for bookmarked items. If a
visit is bookmarked (aIsBookmarked is true in CalculateFrecencyInternal), the
visited bookmark bonus is now added for all visits. The visit bonus was also
cut in half for bookmarks so TRANSITION_BOOKMARK will still end up with the same
value (150).
r=dietrich
r=MaK77
2009-01-27 21:01:33 -05:00
Gavin Sharp
b34e772a9e
Bug 474538 - nsIBrowserHistory::removePagesFromHost documentation is crazy, r=sdwilsh
2009-01-23 12:52:14 +01:00
Daniel Holbert
2a7d88e05a
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Drew Wilcoxon
43ac281f8c
Bug 370197 - Places query serialization needs tests . r=mak77
2009-01-21 12:39:07 +01:00
Marco Bonardo
30a58baa84
Bug 466422 - Clicking history - show all history doesn't show any history, r=dietrich
2009-01-21 12:39:07 +01:00
Marco Bonardo
1f6a3a7d4c
Bug 474334 - "place:" is a valid query to deserialize and should not cause an "ignoring unknown key:" warning, r=dietrich
2009-01-21 12:39:07 +01:00
Edward Lee
a0fa2b97c8
Bug 471903 - pref urlbar.autocomplete.enabled is no longer implemented. r=dietrich
...
Bug 472943 - Two confusable preferences, "browser.urlbar.search.sources" and "browser.urlbar.default.behavior", should be unified
--HG--
rename : toolkit/components/places/tests/autocomplete/test_search_sources.js => toolkit/components/places/tests/autocomplete/test_enabled.js
2009-01-21 02:00:04 -06:00
Fred Jendrzejewski
7d5761cdfa
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Marco Bonardo
9e51b8a061
Bug 471084 - Importing a large bookmarks JSON backup makes Firefox crash (out of memory), r=dietrich
2009-01-17 15:45:37 +01:00
Marco Bonardo
9952bff6eb
Bug 452000 - Sort by keyword in Library does not work, r=dietrich
2009-01-17 15:45:37 +01:00
Robert O'Callahan
1a9b00de4e
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Neil Rashbrook
db65d28baa
Bug 470586 - Crash calling removePagesFromHost when sidebar is showing pages grouped by day and site, r=sdwilsh
2009-01-15 15:37:33 +01:00
Drew Willcoxon
2ad84319b7
Bug 463674 - changeBookmarkURI() doesn't update internal bookmark hash, r=mak77
2009-01-15 15:37:33 +01:00
Ben Turner
a5644a9c39
Merge backout
2009-01-14 18:24:18 -08:00
Ben Turner
0f0d556f13
Backed out changeset 96a66c1a50bd for failing unit tests.
2009-01-14 18:23:21 -08:00