Closed
Bug 11745
Opened 27 years ago
Closed 2 years ago
nsCompositeDataSource.cpp doesn't implement GetAllResources
Categories
(Core Graveyard :: RDF, defect, P3)
Core Graveyard
RDF
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Future
People
(Reporter: daniel.brickley, Unassigned)
References
()
Details
(Keywords: helpwanted)
Attachments
(1 file)
|
1.63 KB,
patch
|
benjamin
:
review-
|
Details | Diff | Splinter Review |
1129 NS_IMETHODIMP
1130 CompositeDataSourceImpl::GetAllResources(nsISimpleEnumerator** aResult)
1131 {
1132 NS_NOTYETIMPLEMENTED("write me!");
1133 return NS_ERROR_NOT_IMPLEMENTED;
1134 }
This makes it tricky to debug-dump a composite datasource (such as might live
behind a tree widget) from Javascript; this holds up interoperability testing
against other RDF implementations.
| Reporter | ||
Updated•27 years ago
|
Updated•27 years ago
|
Target Milestone: M11 → M15
Comment 1•27 years ago
|
||
This is going to have to wait.
Updated•26 years ago
|
QA Contact: phillip → tever
Updated•26 years ago
|
Target Milestone: M15 → M16
Updated•26 years ago
|
Keywords: helpwanted
Target Milestone: M16 → M30
Updated•26 years ago
|
Target Milestone: M30 → Future
Comment 3•22 years ago
|
||
waterson left the building
Assignee: waterson → nobody
Status: ASSIGNED → NEW
QA Contact: nobody → core.rdf
This is a quick impl. Basically I copied CompositeDataSourceImpl::GetAllCmds
and made few adjustments.
I have to look at the diff between NS_NewArrayEnumerator and
NS_NewUnionEnumerator to determine which would be more efficient in this case.
Attachment #158512 -
Flags: review?(axel)
Comment 5•22 years ago
|
||
Comment on attachment 158512 [details] [diff] [review]
initial impl of CompositeDataSourceImpl::GetAllResources
The big problem with this patch, and the reason that this was never
implemented, is that you need to prevent duplicates. It is guaranteed that
duplicate resources will appear in multiple datasources, and if you don't
consolidate the duplicates you will end up with bad serializations and other
problems. I can imagine a local hashtable keyed off the nsISupports* of each
resource would work decently.
Attachment #158512 -
Flags: review?(axel) → review-
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•