Changes

Jump to: navigation, search

User:Sspitzer/GlobalFrecency

1,041 bytes added, 06:26, 3 January 2008
no edit summary
14) on delete visits, see nsNavHistory::RemovePage() and nsNavHistory::RemovePagesFromHost(), set frecency = -1
 
15)
 
add frecency <> 0 to ac queries
 
16)
 
add code so that for all non place: and unvisisted children of livemarks we set frecency to 0, so that we can use it after migration, clear all private data, etc
'''todo'''
x)
add frecency <> for visit count re-calculation, visit_type NOT in (0 to query,4), is that correct?
x)
// should we add code so "AND visit_type NOT IN (0,4)" // XXX aren't embed's affecting visit count already in ::AddVisit()? // I think we have a bug about not letting them do that . // XXX note, should we fix AddVisit() to recalc visit count by using // CalculateVisitCount()? x)  // should we recalc frecency for all non-livemark item, non place: and unvisisted children of livemarks query // bookmark items? What if there are a lot? Better to let it happen on idle? // if we set add a frecency > 0 check to autocomplete, nothing will show up // we could have visited a livemark item, cleared history, which marked it // as non hidden, then, until recalculation on idle, it wills how up // in autocomplete. we could recalc frecency for (or just make 0) // all place: uri and livemark items, and then do frecency <> 0 // and keep hidden <> 1. this way, so that we can use it will show everything in ac // after migration, clear all private datathat we've got, etcexcept for place: and livemark items
x)
x)
do forced "on idle" work in "on visit"?
x)
234
edits

Navigation menu