Closed Bug 394520 Opened 17 years ago Closed 17 years ago

Switch urlbar history to sqlite

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file, 1 obsolete file)

It's currently using an RDF container in localstore; to avoid getting bitten by a localstore sqlite conversion we should switch it in advance. I considered XML and prefs but thought sqlite would be easiest to write.
Attached patch Proposed patch (obsolete) — Splinter Review
I know, not enough comments.
Assignee: guifeatures → neil
Status: NEW → ASSIGNED
Attachment #279181 - Flags: review?(jag)
Comment on attachment 279181 [details] [diff] [review]
Proposed patch

navigator.js also has |var gURIFixup|. That can be removed, right?

+    connection.executeSimpleSQL(
+        "DELETE FROM urlbarhistory WHERE ROWID NOT IN " +
+          "(SELECT ROWID FROM urlbarhistory ORDER BY ROWID DESC LIMIT 30)");

This could use a comment.


Index: common/pref/pref-history.xul

Don't you want to set isBtnDisabled to true if the file doesn't exist?
Attachment #279181 - Attachment is obsolete: true
Attachment #279277 - Flags: review?(jag)
Attachment #279181 - Flags: review?(jag)
Attachment #279277 - Flags: review?(jag) → review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Blocks: 394736
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: