Commit Graph

445 Commits

Author SHA1 Message Date
Marco Bonardo
01836a098f Bug 511374 - fix test_results-as-visit.js, r=dietrich 2009-08-21 11:53:59 +02:00
Shawn Wilsher
2cac3b64fa Merging places and mozilla-central. 2009-07-30 08:41:55 -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
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
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
Marco Bonardo
122593e4b0 Bug 500331 - better query for RESULTS_AS_TAG_CONTENTS, r=sdwilsh 2009-06-29 19:42:12 +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
mak77@bonardo.net
7c765c381c Bug 496542 - Duplicate entries in History sidebar and Library (r=sdwilsh) 2009-06-16 10:45:13 -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
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
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
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
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
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
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
6c48d2f50e Bug 491954 - Views should select exact columns, r=sdwilsh 2009-05-11 11:05:56 +02:00
adw@mozilla.com
43c4be92a5 Bug 399799 - Provide better options to query for tags (r=dietrich) 2009-05-04 20:40:34 -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
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
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
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
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
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
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
Shawn Wilsher
728f1c4b1b Disable inefficient query warning (tracked in bug 482351)
rs=dietrich
2009-03-20 17:02:23 -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
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
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
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
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
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