Closed
Bug 394520
Opened 18 years ago
Closed 18 years ago
Switch urlbar history to sqlite
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
References
Details
Attachments
(1 file, 1 obsolete file)
|
12.00 KB,
patch
|
jag+mozilla
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•18 years ago
|
||
I know, not enough comments.
Comment 2•18 years ago
|
||
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?
| Assignee | ||
Comment 3•18 years ago
|
||
Attachment #279181 -
Attachment is obsolete: true
Attachment #279277 -
Flags: review?(jag)
Attachment #279181 -
Flags: review?(jag)
Updated•18 years ago
|
Attachment #279277 -
Flags: review?(jag) → review+
| Assignee | ||
Comment 4•18 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•