Closed Bug 53065 Opened 24 years ago Closed 24 years ago

need copy-on-write string implementation, |nsCommon[C]String|

Categories

(Core :: XPCOM, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9

People

(Reporter: scc, Assigned: scc)

References

Details

This is key to both reducing bloat, and to solving the need for NULL strings in the DOM (see bug # 6052). This does _not_ mean we need to replace |ns[C]String| with the copy-on-write implementation this close to release; but we do these classes in the tree.
Status: NEW → ASSIGNED
Component: XPCOM → String
Target Milestone: --- → mozilla0.9
Now that string has been split into its own library, this has become bug #1 for me. Several other bugs depend on this bug. Attaching dependencies now.
Blocks: 16108, 40140
Blocks: 67876
Priority: P3 → P1
Depends on: 70075
modified summary to vet the name I want to use
Summary: need copy-on-write string implementation → need copy-on-write string implementation, |nsCommon[C]String|
|nsCommon[C]String| must also support the usage patterns of |nsXPIDL[C]String| (see bug #)16108, adding the capability of re-binding (e.g., the intent of bug #40140: |getter_InOut|. Merging those two bugs into this one closing them as dups.
*** Bug 16108 has been marked as a duplicate of this bug. ***
*** Bug 40140 has been marked as a duplicate of this bug. ***
Blocks: 46892
Blocks: 28221
Depends on: 69873
No longer depends on: 69873
Blocks: 53065
Depends on: 53065
Blocks: 69873
No longer depends on: 53065
No longer blocks: 46892
Blocks: 46892
Blocks: 70090
No longer blocks: 70090
No longer blocks: 40140
No longer blocks: 16108
No longer blocks: 67876
Target Milestone: mozilla0.9 → mozilla0.8.1
(mass change) didn't get these in for target milestone mozilla0.8.1 but they are very close. Moving all to mozilla0.9.
Target Milestone: mozilla0.8.1 → mozilla0.9
Blocks: 73786
Landed the branch; this class now exists and, in fact, is used to implement |nsPromiseFlat[C]String|. There's still more work to do here. Need to make this a writable string and add xpidl-string functionality. Filed bug #74726 for that purpose. Marking this bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.