Closed
Bug 221484
Opened 22 years ago
Closed 17 years ago
use nsCOMArray.Sort() in AutoComplete results, and other cleanup
Categories
(Core Graveyard :: History: Global, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: alecf, Unassigned)
Details
(Whiteboard: [good first bug])
Attachments
(1 file)
|
1.66 KB,
patch
|
alecf
:
superreview+
|
Details | Diff | Splinter Review |
Now that we have bug 211535 fixed, we can get rid of the intermediate
nsIAutoCompleteItems** that is used here:
http://lxr.mozilla.org/seamonkey/source/xpfe/components/history/src/nsGlobalHistory.cpp#4198
that is used for sorting. What we probably also want to do is make a new helper
function in nsArray.h called NS_AppendElements(nsIMutableArray* dest, const
nsCOMArray& elements);
around here: http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsArray.h#67
And then change nsIAutoCompleteResults' "items" array to be an nsIArray... this
would clean up a whole host of junk.
Updated•22 years ago
|
Whiteboard: good first bug
Comment 1•22 years ago
|
||
I opened two bugs to track the aspects of this bug that still exist in FB; see
bug 233479 and bug 233481.
Comment 2•22 years ago
|
||
| Reporter | ||
Comment 3•22 years ago
|
||
Comment on attachment 140922 [details] [diff] [review]
add NS_AppendElements to nsArray.h
do we want to make aWeak default to PR_FALSE? either way, sr=alecf
Attachment #140922 -
Flags: superreview+
Updated•21 years ago
|
Whiteboard: good first bug → [good first bug]
Updated•19 years ago
|
Assignee: bross2 → nobody
QA Contact: chrispetersen → history.global
Comment 4•18 years ago
|
||
Is this bug relevant any more? It seems that most of the underlying code has changed in the last three years so that the original issues here are no longer valid.
Not sure what the proper resolution for an expired bug is, so I'll leave resolution to someone more experienced in Bugzilla.
Comment 5•17 years ago
|
||
Probably WFM is the way to go.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•