Commit Graph

1833 Commits

Author SHA1 Message Date
Jae-Seong Lee
3ca48f9a99 Bug 520743 - [xpcshell-tests] some Places unit tests fail when 'werror' is on, part 3. r=mak 2009-10-09 20:17:07 +02:00
Marco Bonardo
9e64818f04 unwanted change in bug 520743, r=bustage 2009-10-09 14:14:35 +02:00
Marco Bonardo
b6d670967a Bug 516940 - Reduce and cleanup Places expiration work at shutdown, r=sdwilsh 2009-10-09 12:30:12 +02:00
Jae-Seong Lee
53770263be Bug 520743 - [xpcshell-tests] some Places unit tests fail when 'werror' is on, part 2. r=mak 2009-10-09 12:30:04 +02:00
Dietrich Ayala
6386c8d29d Bug 419893 - sort out PGO-triggered bugs (r=ted)
--HG--
extra : rebase_source : 028cd891e11df11abf768107f64b1d6bca541dca
2009-10-08 11:01:13 -07:00
Blair McBride
7dcc1cd83f Bug 446405 - Do not show the keyword of a quick search as if it was the query string. r=dietrich,mardak 2009-10-07 10:38:15 +02:00
Marco Bonardo
5bda0953f7 Bug 520547 - revert renaming of PlacesUtils methods from bug 477583. r=mano, r=gavin 2009-10-06 15:47:58 +02:00
Marco Bonardo
f42ae670d5 Bug 516932 - Add an advanced maintenance task to vacuum and check integrity, for support purposes r=dietrich
Adds a PlacesDBUtils.checkAndFixDatabase() that can be used by support team to help debugging Places database issues.
2009-10-05 12:12:55 +02:00
Marco Bonardo
8c07b695ab Bug 500391 - When filtering results on search avoid querying tags and parent for each result, r=mano
This makes searches for a search term faster by 70%, avoiding a lot of useless queries spam.
2009-10-05 12:12:38 +02:00
Dietrich Ayala
8f8c161f85 Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Dietrich Ayala
d1261351b1 Backout bug 498130 due to persistent startup crash on Windows Mobile (bug 519854) 2009-09-30 17:21:39 -07:00
Marco Bonardo
2a43d29a31 Bug 477583 - Backups of bookmarks stops working if a future backup exists, r=mano 2009-09-29 12:44:18 +02:00
Marco Bonardo
45d6fbe0d1 fix tests for Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-29 12:44:12 +02:00
Shawn Wilsher
daa8f9597a Bug 516465 - Adaptive results aren't filtered. r=dietrich
Run adaptive search results through AUTOCOMPLETE_MATCH so they properly obey the
preferences of the user.  Also runs through adaptive results again if we do not
have enough matches and the match behavior is MATCH_BOUNDARY_ANYWHERE.
2009-09-23 10:19:27 -07:00
Shawn Wilsher
e4b294b102 Bug 515463 - new async autocomplete does not always respect behavior pref changes. r=mak
This happened because we were not holding a reference to our preference branch,
so it would seem to randomly stop getting notified about preference changes.
Heavily dependent on GC, and difficult to test.  The fix is simple - hold a
reference to the pref branch!
2009-09-29 12:44:00 +02:00
Asaf Romano
8675f1e5ad Bug 498130 - Reduce places-views overhead. r=mak. sr=mconnor. 2009-09-26 11:23:17 +03:00
Paul O’Shannessy
a594969426 Bug 518442 - Places tests should use executeStep() instead of step(). r=sdwilsh
--HG--
extra : rebase_source : d60b1a60575ec7ceceb41c4755e317577eef009a
2009-09-25 15:34:54 -07:00
Dão Gottwald
2902fa95d2 Bug 517704 - use gBrowser instead of getBrowser() in Places code. r=mak 2009-09-20 12:58:27 +02:00
Marco Bonardo
c53a88b923 Disable the vacuum tests from Bug 512854 for now. I have to pre-built sparse dbs, since on-the-fly generation is randomly failing. 2009-09-14 15:28:09 +02:00
Marco Bonardo
0e915d6038 Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-14 13:06:45 +02:00
Marco Bonardo
565378112a Bug 511207 - last page not removed from history upon close of browser, r=sdwilsh 2009-09-14 13:06:39 +02:00
Marco Bonardo
173c6dfc26 Bug 510984 - nsIAnnotationService IDL is lying about EXPIRE_NEVER, r=dietrich 2009-09-11 15:25:30 +02:00
Marco Bonardo
bb2570b817 Bug 509676 - Can't drag and drop a tag container to another standard point, r=dietrich 2009-09-11 15:25:24 +02:00
Gavin Sharp
5c14fcb7d4 Bug 515451: make places autocomplete empty search behavior customizable, r=mardak 2009-09-10 16:16:42 -04:00
Shawn Wilsher
1c016b29ea Bug 508102 - Warning: reference to undefined property this._pendingQuery / Location bar autocomplete doesn't work anymore
Stop throwing if stopSearch is called without a call to startSearch.
r=dietrich

--HG--
extra : rebase_source : 63222f9acd972c763ac080a2353ce4cd775f09df
2009-09-10 10:55:33 -07:00
Shawn Wilsher
bfbb6809a4 Test bustage fix from bug 513710. 2009-09-03 15:19:29 -07:00
Shawn Wilsher
316a393ed9 Bug 513710 - Places toolkit JS should use XPCOMUtils.defineLazy[Service]Getter
r=sayrer for XPCOMUtils change
r=mak for places changes

--HG--
extra : rebase_source : 70367abfaf16fcf37aab6f55f024b95ff3d269fa
2009-09-02 13:55:16 -07:00
Benjamin Smedberg
6ab5d24103 CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Nickolay Ponomarev
ac87ad72ed bug 513466 - add a dummy implementation of nsINavHistoryObserver::onBeforeDeleteURI to nsPlacesDBFlush to silence a useless error
r=sdwilsh
2009-08-30 15:54:35 +04:00
Marco Bonardo
6f20ca5bad backing out bug 511965 - Delay Places syncs after results updates, flushes are too late now. 2009-08-26 16:59:20 -07:00
Marco Bonardo
d03f7cb4cd Bug 511965 - Delay Places syncs after results updates, r=sdwilsh 2009-08-21 22:36:59 +02:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Marco Bonardo
8f3bb7f680 Backout changeset 29d0cbd409ad – Bug 511965. Looks like this is causing random crashes to become permanent crashes on tinderboxes. 2009-08-22 00:49:13 +02:00
Marco Bonardo
47149e6feb Bug 431798 - add test to ensure RESULTS_AS_TAG_CONTENTS queries do liveupdate, r=dietrich 2009-08-21 22:37:16 +02:00
Marco Bonardo
c30b7f7235 Bug 511846 - allow head_queries to remove annotations, r=dietrich 2009-08-21 22:37:10 +02:00
Marco Bonardo
9b5001fd58 Bug 510464 - re-enable and fix randomly failing test_419731.js, r=dietrich 2009-08-21 22:37:05 +02:00
Marco Bonardo
4aed96602f Bug 511965 - Delay Places syncs after results updates, r=sdwilsh 2009-08-21 22:36:59 +02:00
Marco Bonardo
ea444fa74f Bug 428591 - idl is hiding the fact QUERY_TYPE_BOOKMARKS does not support grouping, r=dietrich 2009-08-21 22:36:53 +02:00
Marco Bonardo
13bca465c3 Bug 416066 - Tests for bug 399606 are commented out and unreliable, so fix them, r=sdwilsh 2009-08-21 22:36:47 +02:00
Marco Bonardo
71e4e8a448 Bug 511860 - test_result-as-visits.js is randomly (but constantly) failing, disable test for now. 2009-08-21 14:44:19 +02:00
Marco Bonardo
84945020a2 Bug 430862 - create a test for excludeReadOnlyFolders query option, original test by ctalbert, r=dietrich 2009-08-21 11:54:18 +02:00
Marco Bonardo
dc533d0b79 Bug 326208 - API should not allow creation of "holes" in bookmark folders, r=dietrich 2009-08-21 11:54:12 +02:00
Marco Bonardo
877de7f87a Bug 425726 - Unified Queries are not yet implemented, but the idl is hiding the fact, r=dietrich 2009-08-21 11:54:05 +02:00
Marco Bonardo
01836a098f Bug 511374 - fix test_results-as-visit.js, r=dietrich 2009-08-21 11:53:59 +02:00
Marco Bonardo
5b0a410449 Bug 381240 - last-modified-date tests for bookmarks failing on Linux qm-rhel02 dep unit test, r=dietrich 2009-08-18 10:06:17 +02:00
Clint Talbert
ee25f7ba1f Bug 432723 - Update Places Query API testing set with new tests, r=dietrich 2009-08-18 10:06:11 +02:00
Marco Bonardo
a3d5c821c8 Bug 507239 - add more logging to test_395593.js to gather data on the next random failure, r=dietrich 2009-08-14 10:03:36 +02:00
Shawn Wilsher
5fdd31f1b4 Bug 509566 - Location bar does not respect tag filter preference
Fixes a regression from Bug 455555 that makes us no longer respect the tag
filter preference and always use the default.  Also adds tests to make sure we
do not break any of our filter preferences in the future.
r=dietrich
2009-08-11 13:38:10 -07:00
Shawn Wilsher
53cd9afdef Bug 504422 - Be smarter with our strings for AUTOCOMPLETE_MATCH SQL function
Avoids an unnecessary string copy on every invocation of AUTOCOMPLETE_MATCH.
r=dietrich
2009-08-10 15:15:22 -07:00
Ted Mielczarek
fb6939649b bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Marco Bonardo
058342d150 Bug 508265 - Localized bookmarks backup are not replaced by new backups, r=dietrich 2009-08-06 16:34:16 +02:00
Ted Mielczarek
092e85a88d Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
bb3956d8f7 bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Marco Bonardo
a1f88a5937 Bug 507058 - nsNavBookmarks::GetBookmarkIdsForURITArray binds to a bogus index, r=sdwilsh 2009-08-03 10:48:08 +02:00
Marco Bonardo
1b5134dbde followup for Bug 507219 - Crash in nsNavHistoryResult::OnVisit, stop assertions, r=sdwilsh 2009-08-03 10:48:05 +02:00
Timeless
360f72b6a1 Bug 507407 nsNavHistoryContainerResultNode::UpdateURIs does not use comparator and sortingAnnotation, r=mak77 2009-08-03 10:47:59 +02:00
Shawn Wilsher
eccff727cd xpcshell unit test fix from async location bar landing on a CLOSED TREE. no bug. r=dietrich 2009-07-30 13:53:06 -07:00
Shawn Wilsher
2cac3b64fa Merging places and mozilla-central. 2009-07-30 08:41:55 -07:00
Edward Lee
45fbc1cf20 Bug 504384 - Excessive Flickering with the Asynchronous Location Bar. r=sdwilsh
Don't tell autocomplete that we have 0 results ongoing when we just started the search, so it doesn't cause the UI to show 0 results and immediately show more.
2009-07-29 09:51:48 -07:00
Shawn Wilsher
07011fe7a0 Bug 505813 - Use the connections executeAsync instead of calling it on each statement.
r=dietrich
2009-07-22 15:18:34 -07:00
Shawn Wilsher
99232b5d53 Backed out changeset 06433d3dafd9 (bug 504422) because the patch is wrong. 2009-07-22 14:04:12 -07:00
Shawn Wilsher
c1be1bc8a5 Bug 504422 - Be smarter with our strings for AUTOCOMPLETE_MATCH SQL function.
Avoid copying are argument strings.  String copying was showing up as 1% of the
time spent in our function, when we should almost never need to copy.
r=dwitte
r=dietrich
2009-07-22 11:47:29 -07:00
Shawn Wilsher
57504161d7 Addressing review comment for bug 455555. 2009-07-14 09:31:37 -07:00
Marco Bonardo
6bc6b899c8 Bug 503360 - Better queries for asynchronous location bar
This creates a better query based on what the asynchronous implementation of
AutoComplete does.  It also limits the amount of work to be done so we don't
filter more results than we have to (even if it is happening on a background thread).
r=sdwilsh
2009-07-13 12:19:16 -07:00
Shawn Wilsher
421808700f Bug 455555 - Use asynchronous queries for places AutoComplete.
This changes the location bar's AutoComplete provider to use asynchronous
queries instead of synchronous ones.  No more blocking the main thread FTW!
r=mak
r=Mardak
r=dietrich
2009-07-13 12:19:03 -07:00
Marco Bonardo
b16a180207 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 14:39:54 +02:00
Marco Bonardo
995818a759 backout bug 503195, test too! 2009-07-09 12:31:19 +02:00
Marco Bonardo
95eeeedfac Backout bug 503195 due to build failure 2009-07-09 12:29:43 +02:00
Marco Bonardo
ec21128999 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 11:50:25 +02:00
Marco Bonardo
d769b536fe Bug 481437 - browser_library_open_leak.js is throwing, fixes also some throw in placesTxn.js test, r=dietrich, sdwilsh 2009-07-07 12:41:23 +02:00
David Dahl
e2442097d1 Bug 479089 - Need to test that removing a page from autocomplete actually removes a page, r=sdwilsh 2009-07-29 23:50:37 +02:00
Marco Bonardo
4ae2ce6fd5 Bug 502860 - some of the seventh month's history entries missing in grouped by date history, r=sdwilsh
Includes fix for Bug 501439 - History shows month-name 'March' for February
2009-07-29 23:50:31 +02:00
Marco Bonardo
8fd52d3c13 Bug 507219 - Crash in nsNavHistoryResult::OnVisit, r=dietrich 2009-07-29 23:50:25 +02:00
Mark Finkle ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E%2C%20Marco%20Bonardo%20%3Cmak77%40bonardo.net%3E)
7c09707c8e Bug 483980 - Allow history/bookmark observer components to register with a startup category
This changeset allows for history and bookmark observers to be registered via
the category manager.  This means the bookmarks service does not have to be
initialized at startup to register observers with it, as well as the history
service.
r=sdwilsh
r=mak
r=dietrich
2009-03-25 15:31:36 -05:00
Dave Townsend
f37dd315fe Bug 481406: Stop using dump in browser chrome tests. r=mak77 2009-07-06 10:27:26 +01:00
Marco Bonardo
b8ba42b5d6 Bug 500640 - Random failure in test_lastModified.js, r=adw 2009-07-01 11:19:06 +02:00
Marco Bonardo
122593e4b0 Bug 500331 - better query for RESULTS_AS_TAG_CONTENTS, r=sdwilsh 2009-06-29 19:42:12 +02:00
Shawn Wilsher
d86ad9d5a5 Bug 498722 - nsIFaviconService.getFaviconLinkForIcon error on null argument
Updates the IDL to indicate that it is not OK to pass null as the URI.
r=mak
2009-06-26 11:09:13 -07:00
Marco Bonardo
a6a4da88a3 Bug 498620 - Saved search folder is not visible in left folder pane or open-able in right pane immediately after saving, r=dietrich 2009-06-24 10:59:30 +02:00
Marco Bonardo
23e2938812 Bug 494382 - Reduce notifications work for tagging service, r=dietrich 2009-06-24 10:59:24 +02:00
Marco Bonardo
9bfa015bf5 Bug 494375 - Date folders in history not recreated when revisiting pages, r=dietrich 2009-06-24 10:59:18 +02:00
Marco Bonardo
af65389149 Bug 482346 - mDBFindURIBookmarks can't use indices to sort, r=sdwilsh r=dietrich 2009-06-24 10:59:14 +02:00
Marco Bonardo
7a2673fbc7 Bug 492884 - getMostRecentFolderForFeedURI should use the livemarks service instead of annos directly, r=dietrich 2009-06-23 01:00:51 +02:00
mak77@bonardo.net
7c765c381c Bug 496542 - Duplicate entries in History sidebar and Library (r=sdwilsh) 2009-06-16 10:45:13 -07:00
Marco Bonardo
68483ca91d Bug 324430 - Allow stopping Places results updates when they are unused, r=dietrich 2009-06-15 13:09:40 +02:00
Dietrich Ayala
f54de06119 Bug 492796 - isLivemark should use the livemark cache, instead of the db (r=marco) 2009-06-12 15:39:42 -07:00
Dietrich Ayala
5c2ba54be2 Bug 496613 - lazily init the bookmark uri hash (r=marco) 2009-06-12 11:11:47 -07:00
shirish
6792bfe0f8 Bug 494713 - Logic error in nsNavHistory::CalculateFrecencyInternal due to lack of braces around if statement, r=sdwilsh 2009-06-12 14:59:20 +02:00
Dietrich Ayala
e3ea940a27 Bug 497563 - Crashes [@ BindStatementURI] (r=sdwilsh)
* * *
2009-06-12 00:34:35 -07:00
Shawn Wilsher
6ad4eed4e5 Backed out changeset d891a7418d95 (bug 483980) 2009-06-11 16:08:07 -07:00
Mark Finkle ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E%2C%20Marco%20Bonardo%20%3Cmak77%40bonardo.net%3E)
ced4389b1a Bug 483980 - Allow history/bookmark observer components to register with a startup category
This changeset allows for history and bookmark observers to be registered via
the category manager.  This means the bookmarks service does not have to be
initialized at startup to register observers with it, as well as the history
service.
r=sdwilsh
r=mak
r=dietrich
2009-03-25 15:31:36 -05:00
Arpad Borsos
e6fe766c98 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Marco Bonardo
080b6bec9f Bug 494371. Only GetItemType once per itemAdded notification, instead of once per per observer per notification. r=dietrich, a=shaver. 2009-06-04 21:00:55 -04:00
Shawn Wilsher
ad2e945987 Bug 495889 - UMR in nsNavHistoryExpire::OnQuit()
Fixes an uninitialized memory read that could cause us to do more work during
shutdown.
r=dietrich
2009-06-01 20:49:41 -07:00
Marco Bonardo
b1d56101be Bug 494370 - Better query for mDBGetItemProperties, r=sdwilsh a=beltzner 2009-05-28 00:08:47 +02:00
Marco Bonardo
c16b3b9425 Bug 494383 - Removing tags in restore code is no longer needed, r=dietrich a=beltzner 2009-05-27 23:43:38 +02:00
Marco Bonardo
c332f90e25 Bug 493934 - Autocomplete queries are wrongly cutting away some result, r=sdwilsh a191=beltzner 2009-05-20 21:27:36 +02:00
Marco Bonardo
2a5db93d7c Bug 493933 - When sorting bookmarks BY NONE we should take in count partitioning, r=sdwilsh a191=beltzner 2009-05-20 20:45:48 +02:00
Shawn Wilsher
8639cbf9b7 Bug 493602 - UMR when clicking history menu
Fixes a UMR introduced in bug 487777 caused by not passing enough arguments to
nsPrintfCString.
r=mak
2009-05-20 14:25:16 -04:00
Dietrich Ayala
229fe47f86 Bug 492799 - nodeIsReadOnly should cache read-only item ids, r=mak77 2009-05-19 01:06:50 +02:00
Marco Bonardo
b80599d62a Bug 493374 - Avoid marking database as corrupt if initializing additional db objects fails, and avoid creating more than one corrupt file every 24 hours, r=sdwilsh 2009-05-19 01:06:46 +02:00
David Dahl
ea49e678a0 Bug 491719 - Ctrl+H and Ctrl+Maj+H both display an empty history, r=mak77 2009-05-19 01:06:39 +02:00
Marco Bonardo
3b1383e32d Bug 493538 - Crash in [@ nsNavHistory::RecalculateFrecenciesInternal(mozIStorageStatement*, int)], r=mardak 2009-05-19 01:06:33 +02:00
Benjamin Smedberg
56cce7342e Fix mis-spellings of "receive" to kick builds on a CLOSED TREE. 2009-05-18 09:48:36 -04:00
Drew Willcoxon
c56a88f9f8 Bug 491983 - nsIBrowserHistory needs removeVisitsByTimeframe method, r=dietrich 2009-05-16 19:32:13 -07:00
Marco Bonardo
68d88c3cf4 Bug 488966 - Add a last_visit_date column with an index to moz_places, r=sdwilsh 2009-05-15 01:28:03 +02:00
Marco Bonardo
fc70bdb14e Followup to Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library. Wrong binding. r=sdwilsh 2009-05-15 01:27:58 +02:00
Shawn Wilsher
a72b5e0b6d Bug 490833 - mozIStorageStatement::getParameterIndex should only accept :-named parameters
This updates places to use the new API definition.
r=dietrich
2009-05-12 17:08:50 -04:00
Edward Lee
78e016cdd8 Bug 485122 - When the user selects to only display history in the location bar, don't display the star and tag icons for items that happen to be bookmarked or tagged. r=dietrich
Pretend a page isn't bookmarked/tagged when searching for only history unless the user explicitly wants them. Test by updating special searches test to ignore tags when searching for history ^.
2009-05-12 10:17:57 -05:00
Edward Lee
5b39be8eb8 Bug 489872 - [@ nsNavHistory::IsVisited] doesn't check null aURI. r=sdwilsh
For public entry points of nsNavHistory, add ENSURE_ARG for in-pointers and ENSURE_ARG_POINTER for out-pointers; NS_ASSERTION for private APIs. Test automatically finds functions from nav history service and calls them with null arguments.
2009-05-12 10:11:53 -05:00
Marco Bonardo
c862548ff4 Bug 491954 - Views should select exact columns, r=sdwilsh a=blocking191 2009-05-12 11:15:09 +02:00
Marco Bonardo
6c48d2f50e Bug 491954 - Views should select exact columns, r=sdwilsh 2009-05-11 11:05:56 +02:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
adw@mozilla.com
43c4be92a5 Bug 399799 - Provide better options to query for tags (r=dietrich) 2009-05-04 20:40:34 -07:00
Ehsan Akhgari
e8549e29b0 Bug 433748 - Error: this._processor is null; r=dietrich 2009-05-02 09:47:07 +04:30
Robert Kaiser
84b0ec3e01 fix test from bug 489443 to work on SeaMonkey, r=Mardak 2009-05-02 00:25:33 +02:00
Marco Bonardo
9a1c4fddea Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library, r=dietrich 2009-04-30 09:52:40 -07:00
Marco Bonardo
c29baffcef Bug 490200 - Tags autocomplete does not show all results because it is case-sensitive, r=dietrich 2009-04-30 09:52:32 -07:00
Marco Bonardo
e31db24e38 backout Bug 484019 due to test failures. 2009-04-24 17:57:24 +02:00
Marco Bonardo
c40de9fff3 Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library, r=dietrich 2009-04-24 15:11:06 +02:00
Drew Willcoxon
40d0b1dffa Bug 444849 - Removing a bookmark doesn't clean up tags, r=mak77 2009-04-23 10:31:46 -07:00
TheOne
67f2dcf55b Bug 482856 - Inconsistent comment for hiding pages in nsNavHistory. r=mak 2009-04-24 11:23:53 +02:00
Edward Lee
b7515b1ca4 Bug 487810 - Refactor UpdateFrecency and FixInvalidFrecencies to share frecency updating logic. r=dietrich
Separate the last half of UpdateFrecency into UpdateFrecencyInternal to be reused by FixInvalidFrecencies. Existing tests touch both paths, e.g., test_000_frecency and test_migrateFrecency.
2009-04-23 16:12:51 -05:00
Edward Lee
d5b70636cc Bug 489443 - Places depends on a buggy behavior of SQLite's GROUP_CONCAT. r=dietrich, b191=beltzner
Don't bother GROUP_CONCATing tag titles that are empty. Restructure the BOOK_TAG_SQL #define to be somewhat more readable. Test by adding tags to a uri then renaming the tag to empty and making sure they don't show up in autocmoplete results.
2009-04-23 16:09:58 -05:00
Marco Bonardo
0acf58deb4 Bug 488783 - Tags list no longer sorted (alphabetized) in latest Shiretoko nightly, r=dietrich a=blocking191 2009-04-22 14:22:53 +02:00
Marco Bonardo
4a08481c63 Bug 487777 - History menu is slow and takes ages to open, trunk version, r=dietrich 2009-04-18 14:12:06 +02:00
Marco Bonardo
3c02ac9a4f Bug 487040 - Crash [@ nsNavHistoryResult::OnItemAdded ] in mochitest-browser-chrome, r=dietrich,sdwilsh,smaug a=blocking191 2009-04-18 14:12:01 +02:00
David Dahl
08b78939d1 Bug 485442 - crash bug calling nsINavHistoryQuery.uri, r=mak,sdwilsh 2009-04-17 14:42:39 +02:00
Drew Willcoxon
be9fb60956 Bug 470314 - Send a bookmarks-restore notification, r=mak77 2009-04-17 14:42:34 +02:00
Marco Bonardo
c630a1ce65 Bug 487789 - 1 sort operation required by mDBAdaptiveQuery, stop warning for now. rs=sdwilsh 2009-04-17 14:42:29 +02:00
Marco Bonardo
8571cad7f8 Bug 487787 - 1 sort operation required by mDBKeywordQuery , stop warning for now. rs=sdwilsh 2009-04-17 14:42:24 +02:00
Marco Bonardo
54b4d678dc Bug 487781 - 5 sort operations required by FindVisits selectStatement, r=sdwilsh 2009-04-17 14:42:20 +02:00
Shawn Wilsher
fdacde3da4 Bug 487660 - Places depends on a buggy behavior of SQLite's SUBSTR
Places code wrongly assumed that SUBSTR used a zero-based index instead of a
one-based index.
r=dietrich
2009-04-10 13:51:51 -04:00
Shawn Wilsher
1017334566 Bug 487511 - nsINavHistoryObserver has no "onBeforeDeleteURI" callback
r=dietrich
2009-04-10 13:51:40 -04:00
Edward Lee
da1fbb8ad9 Bug 476298 - Switch RecalculateFrecencies to just fix invalid frecencies. r=dietrich
Bug 476300 - Calculate all page frecencies when upgrading/migrating
Bug 482351 - 1 sort operation required by mDBInvalidFrecencies
Create a new method FixInvalidFrecencies that finds invalid (negative) frecencies and recalculates them. Use it for handling creating/migrating DBs as well as recalculating invalid places on daily idle (place frecencies are already estimated by decay). This obviates a few preferences, queries and methods related to recalculating on idle. The test uses mork history with a number of pages that now all get their frecencies calculated on migrate, where before this fix, the test fails with a bunch of pages still with negative frecencies.
2009-04-10 10:24:10 -05:00
Marco Bonardo
4fc4f19182 Bug 487594 - 1 sort operation required by mDBGetTags, stop warning for now, r=sdwilsh 2009-04-10 13:39:51 +02:00
Marco Bonardo
9c5d9160bd Bug 482353 - 1 sort operation required by mDBGetChildren, r=sdwilsh 2009-04-10 13:39:47 +02:00
Marco Bonardo
14d2fcbd46 Bug 486978 - History in library is no longer sorted by visit date but by name, r=dietrich 2009-04-08 14:27:03 +02:00
Marco Bonardo
6d93f147fb Bug 486702 - Library left pane not updated properly / dynamically, r=dietrich 2009-04-08 14:26:49 +02:00
Marco Bonardo
30e6079eef Bug 485703 - Hide date containers not containing additional entries compared to previous ones, r=dietrich ui-r=beltzner 2009-04-07 11:45:04 +02:00
Serge Gautherie
31680ef196 Bug 461710 - Write an automated test to ensure that visited link coloring is turned off in private browsing mode; (Cv1a) Add |ok(true, ...);|; r=dietrich 2009-04-04 04:50:26 +02:00
Marco Bonardo
d6ad4c4b1a Bug 422163 - Split History container in the Library (like sidebar BY DATE), r=dietrich ui-r=beltzner 2009-04-03 01:41:20 +02:00
Marco Bonardo
c5b3074722 Bug 480873 - Favicons missing from the places UI after cache has been cleared, r=dietrich 2009-04-02 01:26:16 +02:00
Dietrich Ayala
63be26fef7 imported patch backout-bug-422163 2009-03-30 18:24:43 -07:00
Marco Bonardo
f783819af6 Bug 422163 - Split History in day containers in the Library (like sidebar BY DATE), r=dietrich ui-r=beltzner 2009-03-30 23:08:24 +02:00
Marco Bonardo
8ad7c187f3 Bug 485985 - test_history_sidebar should take in could DST correction when adding visits, r=dietrich 2009-03-30 23:07:38 +02:00
Shawn Wilsher
fb5bda622b Backed out changeset 2d1f7c7c7a2b (bug 483980) 2009-03-27 18:33:01 -04:00
Mark Finkle
1f32c00d18 Bug 483980: Allow history/bookmark observer components to register with a startup category, r=sdwilsh 2009-03-25 15:31:36 -05:00
Neil Rashbrook
52dde58324 Test for bug 473157 r=mak 2009-03-27 14:25:26 +00:00
Marco Bonardo
3a813e5476 Bug 390614 - Split up the "Older than 6 days" history folder, r=dietrich, pike ui-r=beltzner a=mconnor 2009-03-23 13:42:03 +01:00
Ted Mielczarek
1771ccc676 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Shawn Wilsher
4bd07ed9ad Disable inefficient query warning (tracked in bug 482353)
rs=dietrich
2009-03-20 17:02:23 -04:00
Shawn Wilsher
728f1c4b1b Disable inefficient query warning (tracked in bug 482351)
rs=dietrich
2009-03-20 17:02:23 -04:00
Shawn Wilsher
85b6f71ed0 Disable inefficient query warning (tracked in bug 482346)
rs=dietrich
2009-03-20 17:02:23 -04:00
Shawn Wilsher
c3518ca7c0 Bug 468305 - nsINavBookmarksObserver has no "onBeforeItemRemoved" callback
Not having this callback makes life difficult for anyone trying to synchronize
bookmarks.  You cannot get any additional information about a bookmark when
onItemRemoved is called, since it's been removed.  Things like a guid no longer
exist, which results in a lot of pain for add-ons that want to synchronize.
r=dietrich
2009-03-19 15:56:51 -04:00
Dietrich Ayala
4cc7fe5d41 backing out due to unit test failures 2009-03-18 19:13:10 -07:00
Marco Bonardo
2847c8c0c4 Bug 390614 - Split up the "Older than 6 days" history folder, r=dietrich,pike ui-r=beltzner a=mconnor 2009-03-18 23:38:38 +01:00
Marco Bonardo
9ba6991155 Bug 479348 - Choosing Properties on a Special Folder changes its title to (no title), r=dietrich 2009-03-18 15:23:56 +01:00
Marco Bonardo
2a9c7ac66c Bug 428690 - Two entries added to history menu when visiting a page that redirects, r=dietrich 2009-03-17 22:00:50 +01:00
Edward Lee
d30af4b08a Bug 476299 - Decay frecency values to estimate recalculating frecencies. r=dietrich
Bug 482069 - Awesome bar adaptiveness totally sucks
2009-03-14 01:08:51 -05:00
Shawn Wilsher
ab6681a101 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
5cdb2ed9fc 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
ee8a12ed8f 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
09ebf6052e 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
fcfa2adb06 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
05ae092b34 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
2bb18fd030 Bug 480437 - test_expiration is working on wrong assumptions, r=dietrich 2009-03-05 13:08:43 +01:00
Marco Bonardo
11cb940c58 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
06272416e2 Bug 469422 - tag autocomplete disappears on every other character that is typed, r=mak77 2009-03-05 13:07:15 +01:00
Shawn Wilsher
601cd500e4 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
f961ae77c4 Bug 476636 - nsFaviconService::ExpireAllFavicons cannot work, r=sdwilsh 2009-02-28 14:17:36 +01:00
Drew Willcoxon
8f4199f372 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
22100ede35 Bug 479739 - Make location bar autocomplete even faster. r=sdwilsh 2009-02-25 21:46:13 -08:00
Arpad Borsos
10ba7084fc Bug 474369 - get rid of nsVoidArray; toolkit part; r+sr=benjamin 2009-02-25 16:25:10 +01:00
Shawn Wilsher
ec4c3cda36 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
f6b06c1e49 Bug 478948 - SQL statements not finalized warnings during shutdown
r=mak
2009-02-20 14:25:45 -08:00
Marco Bonardo
5227553ab5 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
fc021d2fe4 Bug 455315 - when removing a bookmark we recalculate frecency with wrong isBookmark, r=dietrich 2009-02-16 12:09:19 +01:00
Shawn Wilsher
3c7fe9c4a1 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
df64ac3ad1 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
c1dcb1a673 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
d4a5636acc Bug 477793 - Make sure preventive maintenance cannot act on roots, r=sdwilsh a=blocking191 2009-02-11 11:53:35 +01:00
Marco Bonardo
f07c67f02f bug 474582 - Disable lastModifiedTime check to try fixing test orange on Linux 2009-02-09 21:49:17 +01:00
Marco Bonardo
0495370b92 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
13d86d106c Bug 476297 - Switch frecency idle timer to idle-daily observer. r=dietrich 2009-02-07 15:51:19 -06:00
Edward Lee
d391768777 Bug 477295 - Clean up unnecessary assignments of NS_ConvertUTF*. r=sdwilsh 2009-02-06 18:18:16 -06:00
Dietrich Ayala
5dec87e85d backing out bug 432706, causes multiple regressions 2009-02-04 09:49:58 -08:00
Marco Bonardo
16dddf58a3 merge backout 2009-02-04 15:27:48 +01:00
Marco Bonardo
ba19b57ad2 Backed out changeset 1cf6c5b25fe5 due to crashes on linux unit test boxes 2009-02-04 15:27:18 +01:00
Marco Bonardo
25b6fcfef8 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
ecc9d4a736 Bug 475824 - preventive maintenance has low possibilites to be run, r=dietrich 2009-02-04 13:47:13 +01:00
Shawn Wilsher
63d8572077 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
e6800cf24a Bug 444179 - Library>Views>Sort>Sort by Tags does nothing, r=mak77 2009-01-30 13:34:38 +01:00
Jeff Muizelaar
16fff652b0 nsNavHistory::AddDocumentRedirect doesn't handle INTERNAL redirects - bug 475069 r=mak77 2009-01-29 14:26:04 -05:00
Shawn Wilsher
30a3eb4e26 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
a66d512bae Bug 474538 - nsIBrowserHistory::removePagesFromHost documentation is crazy, r=sdwilsh 2009-01-23 12:52:14 +01:00
Daniel Holbert
4301671b45 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
6ea2fab760 Bug 370197 - Places query serialization needs tests . r=mak77 2009-01-21 12:39:07 +01:00
Marco Bonardo
626228fe8e Bug 466422 - Clicking history - show all history doesn't show any history, r=dietrich 2009-01-21 12:39:07 +01:00
Marco Bonardo
d1b215d29b 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
1a84fc47cd 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
d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Marco Bonardo
3819e4a7ae 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
9c21642d6a Bug 452000 - Sort by keyword in Library does not work, r=dietrich 2009-01-17 15:45:37 +01:00
Robert O'Callahan
804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3 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
1c174bbec1 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
7321622b64 Bug 463674 - changeBookmarkURI() doesn't update internal bookmark hash, r=mak77 2009-01-15 15:37:33 +01:00
Ben Turner
b28ea75f40 Merge backout 2009-01-14 18:24:18 -08:00
Ben Turner
b439b74cb4 Backed out changeset 96a66c1a50bd for failing unit tests. 2009-01-14 18:23:21 -08:00
Neil Rashbrook
7fad8f76a1 Bug 473157 Sorting shouldn't affect grouping containers, only uris r=dietrich 2009-01-14 22:38:30 +00:00
Neil Rashbrook
a3132fc3e0 Bug 470586 Can crash removing all pages from a host when the sidebar is grouped r=sdwilsh 2009-01-14 22:33:37 +00:00
Drew Willcoxon
98a9f9bb8d Bug 412132 - after changing a bookmark's location, need to update the frecency of the "old" uri, r=dietrich 2009-01-13 11:48:27 +01:00
Marco Bonardo
28e10ad2a2 Bug 454977 - remove INSERT OR REPLACE to avoid error prone paths with views, r=dietrich 2009-01-13 11:48:25 +01:00
Phil Ringnalda
c0c4db15f5 I would not have choosen the weekend before a freeze for so much CLOSED TREE 2009-01-11 20:12:32 -08:00
Robert Kaiser
f757a751ea bug 471886 - Make places autocomplete tests even more robust against default prefs, r=Mardak 2009-01-10 16:29:17 +01:00
Edward Lee
afc13be206 Bustage fix Bug 463483 (finalized typed query statement) 2009-01-07 16:53:54 -08:00
Edward Lee
c40eef5e18 Bug 426864 - Only show user typed history pages for the urlbar dropdown. r=dietrich 2009-01-07 15:47:58 -08:00
Edward Lee
288184e803 Bug 463483 - matchOnlyTyped no longer honored with special filters. r=dietrich
Bug 463558 - Switch matchOnlyTyped to restrict.typed "~" (default.behavior + 32)
2009-01-07 15:47:56 -08:00
Marco Bonardo
584d77afc2 Bug 468400 - xpcshell-simple/test_places/unit/test_adaptive.js | *** TIMEOUT ***: The test timed out while polling database, r=sdwilsh 2009-01-08 00:37:01 +01:00
Marco Bonardo
a08240cc9f Bug 466407 - History menu often shows duplicated items, r=dietrich 2009-01-08 00:37:01 +01:00
Marco Bonardo
3b181c3b6e Bug 471547 - move PlacesDBUtils getters to avoid possible leaks, r=sdwilsh 2009-01-08 00:37:01 +01:00
Marco Bonardo
ec9e34388f Bug 470429 - nsPlacesDBFlush::onItemAdded should not sync if the item is a container, r=sdwilsh 2009-01-08 00:37:00 +01:00
Marco Bonardo
f58153f58e Bug 462765 - instant-apply muddies the MRU folder list in the bookmark properties dialog, r=dietrich 2009-01-08 00:37:00 +01:00
mak77@bonardo.net
e147492d21 Bug 470348 - clear private data on shutdown does not delete history if "ask me before..." is enabled (r=dietrich, gavin) 2009-01-06 12:41:08 -08:00
Dietrich Ayala
24c7e5d7a0 Bug 464486 - lots of bookmark corruption reported via user support (r=marco, sdwilsh) 2009-01-03 09:26:11 -08:00
Ehsan Akhgari
63d1be936d Bug 471018 - Warning: nsFaviconService.cpp: outparam 'aHasData' not written on NS_SUCCEEDED(return value); r=dietrich 2009-01-03 07:42:34 +03:30
Dietrich Ayala
75962c75b4 Bug 432706 - Deleting/adding/updating a large quantity of bookmarks/history is very slow due to updating observers (r=marco) 2009-01-02 11:03:38 -08:00
Marco Bonardo
663e1d48ad Bug 470707 - [SeaMonkey] test_download_history.js fails now, r=dietrich 2008-12-30 22:42:23 +01:00
Marco Bonardo
98efaef25b Bug 466564 - RemoveDuplicateURIs is not aware of temp views, r=dietrich 2008-12-30 22:42:23 +01:00
Marco Bonardo
4dda69cade Bug 464438 - move EnsureCurrentSchema into migration path, r=dietrich 2008-12-30 22:42:23 +01:00
Marco Bonardo
2e9e9fadf4 Bug 439129 - Clearing browsing history does not hide livemarks children from the location bar, r=dietrich 2008-12-30 22:42:22 +01:00
Dietrich Ayala
36c00fde37 Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (relanding w/ leak fix, r=marco, r=gavin, l10n-r=pike) 2008-12-30 13:44:55 +01:00
Dietrich Ayala
5cb43235f7 backout bug 414715 due to leaks 2008-12-29 17:22:39 -08:00
Dietrich Ayala
0f17e9ca54 Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (relanding w/ leak fix, r=marco, r=gavin, l10n-r=pike) 2008-12-29 14:49:05 -08:00
Robert Kaiser
c0dec50ee4 bug 469593 - test_423060.xul fails on SeaMonkey, r=gavin
--HG--
rename : toolkit/components/places/tests/chrome/Makefile.in => browser/components/feeds/test/chrome/Makefile.in
rename : toolkit/components/places/tests/chrome/sample_feed.atom => browser/components/feeds/test/chrome/sample_feed.atom
rename : toolkit/components/places/tests/chrome/test_423060.xul => browser/components/feeds/test/chrome/test_423060.xul
2008-12-23 15:58:44 +01:00
Marco Bonardo
53b546dfd4 Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh 2008-12-22 11:07:21 +01:00
Shawn Wilsher
4079f2d44e Bug 469972 - leaking the places database connection in strange situations; r=dietrich 2008-12-20 01:46:04 +01:00
Marco Bonardo
6d6a704efd Bug 458849 - transition download visits saved when "Keep my history..." is unchecked, r=sdwilsh 2008-12-19 13:36:15 +01:00
Dietrich Ayala
440d3c07bc imported patch backout-bug414715 2008-12-18 17:09:25 -08:00
Dietrich Ayala
3dc8ba0501 Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (r=marco, r=gavin, l10n-r=pike) 2008-12-18 13:47:48 -08:00
Dietrich Ayala
d6a71cae70 Bug 469102 - Places Tag Autocomplete breaks with certain tags (Regex escaping) (r=marco) 2008-12-18 12:33:47 -08:00
Marco Bonardo
64fbb74a5c Bug 453529 - Retain embed visits and places into the temp table in memory, r=sdwilsh 2008-12-17 11:41:44 +01:00
Marco Bonardo
93282695c1 Bug 469062 - test_multiple_visits_around_sync.js leaks now, r=sdwilsh 2008-12-17 11:41:44 +01:00
Marco Bonardo
ca6fff1b6c Bug 431548 - Tagging history item takes a long time without progress indication (slight hang / freeze of UI), r=dietrich 2008-12-17 11:41:43 +01:00
Marco Bonardo
1b04f3cbef Bug 469301 - PRBool violation in mDatabaseStatus, r=dietrich 2008-12-13 10:57:30 +01:00
Shawn Wilsher
2b99203875 Bug 460300 - Expire favicons when they expire from cache, and when the cache is cleared
This makes favicons expire from the favicon service much less often.  They are
now expired when the cache headers says they expire, or one week - whichever is
shorter.  Additionally, all favicons expire when the cache is cleared.
r=MaK77
2008-12-11 15:01:10 -05:00
Marco Bonardo
fda96168a2 Bug 468836 - Existing tags no longer show and cannot be edited, r=dietrich 2008-12-11 15:23:25 +01:00
Robert Sayre
6373beab66 backout bug 468836, checked in on persistent orange. 2008-12-11 02:44:01 -08:00
Marco Bonardo
964f6a8a39 Bug 468836 - Existing tags no longer show and cannot be edited, r=dietrich 2008-12-11 01:32:24 +01:00