Closed Bug 7795 Opened 23 years ago Closed 5 years ago
IEnumerator in favor of ns ISimple Enumerator
...or some other more scripable interface. I've started on this crusade several times only to be chopped at the knees by lethargy or some other overwhelming circumstance.
I'll do it. I swear.
Status: NEW → ASSIGNED
Target Milestone: M10
Moving out non-critical tasks.
*** Bug 8790 has been marked as a duplicate of this bug. ***
In verifying bug 8790, I just wanted to point out that warren mentioned cleaning up nsIBidirectionalEnumerator also... Including his original comment: "Chris -- you started this, so I'll help you finish it. :-) We should eradicate nsIEnumerator and nsIBidirectionalEnumerator from throughout the codebase if we can, switching over to nsISimpleEnumerator. Having both is bad because they're incompatible. We probably should remove the class definitions from nsEnumeratorUtils.h and replace them with function calls. When we're done, we can rename nsISimpleEnumerator to nsIEnumerator too."
maybe scc'll do it. he's got balls.
Target Milestone: M15 → M20
In fact, I'd like to use the even better enumerators where possible, i.e., | nsIInputIterator|, |nsIOutputIterator|, |nsIForwardIterator|, | nsIBidirectionalIterator|, |nsIRandomAccessIterator|, which will provide easy access to the |nsISimpleEnumerator| functionality that JS clients in particular still love
Assignee: waterson → scc
Status: ASSIGNED → NEW
mass re-assigning to my new bugzilla account
Assignee: scc → scc
Status: ASSIGNED → NEW
I guess we missed the boat on these (by about a hemisphere). Our collection classes are pretty much frozen across the board; I don't see any realistic mass resolution to this situation before 2.0.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Should this be closed just because this didn't make 2.0? The nsIEnumerator is still declared obsolete so this work should be done some day. I've not found any other bug for this. https://developer.mozilla.org/en-US/docs/XPCOM_array_guide
Status: RESOLVED → REOPENED
OS: Windows NT → All
Hardware: x86 → All
Resolution: WONTFIX → ---
Depends on: 1220237
Bug 792209 removed |nsIEnumerator.idl|.
Assignee: scc → erahm
Status: REOPENED → RESOLVED
Closed: 19 years ago → 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.