Commit Graph

1542 Commits

Author SHA1 Message Date
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