Replace idl nsIArray usage with Array<T> in mailnews/addrbook/
Categories
(MailNews Core :: General, task)
Tracking
(Not tracked)
People
(Reporter: benc, Assigned: darktrojan)
References
Details
(Keywords: leave-open)
Attachments
(2 files, 1 obsolete file)
|
38.17 KB,
patch
|
benc
:
review+
mkmelin
:
review+
|
Details | Diff | Splinter Review |
|
17.85 KB,
patch
|
benc
:
review+
|
Details | Diff | Splinter Review |
covers:
mailnews/addrbook/public/nsIAbBooleanExpression.idl
mailnews/addrbook/public/nsIAbView.idl
mailnews/addrbook/public/nsIAbLDAPCard.idl
mailnews/addrbook/public/nsIAbDirectory.idl
| Assignee | ||
Comment 1•5 years ago
|
||
I'm making some changes in the address book that will affect this. Check with me before beginning.
| Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #1)
I'm making some changes in the address book that will affect this. Check with me before beginning.
Sure thing. Got lots to go on with in the meantime - thanks for the heads-up!
| Assignee | ||
Comment 3•5 years ago
|
||
Doing this myself … it has annoyed me once too often!
| Assignee | ||
Comment 4•5 years ago
|
||
This only covers nsIAbDirectory.deleteCards, which is by far the most annoying bit. nsIAbView has gone, nsIAbLDAPCard is dead code and probably going, just leaving the nsIAbBooleanExpression bit.
Comment 5•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
| Reporter | ||
Comment 7•5 years ago
|
||
| Assignee | ||
Comment 8•5 years ago
|
||
This is for the array at nsIAbBooleanExpression.expressions, which appears to be an array of nsIAbBooleanConditionStrings and nsIAbBooleanExpressions, so I'm just calling it nsISupports and querying the interface where necessary.
But I'm stuck. In nsAbDirectoryQuerySimpleBooleanExpression::SetExpressions where I've commented out some lines, I don't know how to make that work. Also nsAbBoolExprToLDAPFilter::FilterExpression refuses to compile and I don't know what to do about that either.
| Reporter | ||
Comment 9•5 years ago
|
||
| Assignee | ||
Comment 10•5 years ago
|
||
I've figured out the problems I was having. I'm not entirely confident in what I'm doing in some places, so don't skim over it too quickly. :-)
| Reporter | ||
Comment 11•5 years ago
•
|
||
Comment 12•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Description
•