Closed
Bug 74726
Opened 24 years ago
Closed 16 years ago
[API] Make |nsSharable[C]String| writable and add xpidl-string functionality
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: scc, Assigned: jag+mozilla)
References
Details
Attachments
(11 files)
2.80 KB,
patch
|
Details | Diff | Splinter Review | |
3.04 KB,
patch
|
Details | Diff | Splinter Review | |
542 bytes,
text/plain
|
Details | |
22.89 KB,
patch
|
Details | Diff | Splinter Review | |
26.61 KB,
patch
|
Details | Diff | Splinter Review | |
27.36 KB,
patch
|
Details | Diff | Splinter Review | |
28.78 KB,
patch
|
Details | Diff | Splinter Review | |
29.53 KB,
patch
|
Details | Diff | Splinter Review | |
31.67 KB,
patch
|
Details | Diff | Splinter Review | |
35.55 KB,
patch
|
Details | Diff | Splinter Review | |
1.71 KB,
patch
|
Details | Diff | Splinter Review |
See comments in bug #53065. Additionally, we'll need to deploy this class. See
bug #70143. This class will be the preferred string class for general
operations, and for sharing across JS boundaries.
Reporter | ||
Updated•24 years ago
|
Reporter | ||
Comment 1•24 years ago
|
||
Also, rename to |nsSharable[C]String|.
Summary: Make |nsCommon[C]String| writable and add xpidl-string functionality → [API] Make |nsCommon[C]String| writable and add xpidl-string functionality
Reporter | ||
Comment 2•24 years ago
|
||
All planned string API fixes need to be in by mozilla1.0.
Target Milestone: --- → mozilla1.0
Reporter | ||
Comment 3•24 years ago
|
||
Reporter | ||
Comment 4•24 years ago
|
||
s/vidure/vidur/, sorry. All: see bug 18843 for why I needed to add this
functionality.
Comment 5•24 years ago
|
||
r=vidur on the patch. Presumably you'll clean up later and change all callers of
|NS_AllocateContiguousHandleWithData| to use its new form?
Reporter | ||
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
sr=jst
Reporter | ||
Comment 8•24 years ago
|
||
this partial fix is checked in, more to come
Reporter | ||
Comment 9•24 years ago
|
||
See also (from bug 75220) the patch
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=34639
...that I must checkin before I can continue in this bug.
Depends on: 75220
Reporter | ||
Comment 10•24 years ago
|
||
This class has been renamed, changing the summary accordingly.
Summary: [API] Make |nsCommon[C]String| writable and add xpidl-string functionality → [API] Make |nsSharable[C]String| writable and add xpidl-string functionality
Reporter | ||
Comment 11•24 years ago
|
||
...and as the renaming is now accomplished, no longer depends on bug 75220.
No longer depends on: 75220
Reporter | ||
Comment 12•24 years ago
|
||
Reporter | ||
Comment 13•23 years ago
|
||
Reporter | ||
Comment 14•23 years ago
|
||
still want to add comments describing the mechanism and alternatives; and some
debug machinery to count instances, find high-water marks, etc. looking for
problems in this patch where I can accidentally end up with NULL
Reporter | ||
Comment 15•23 years ago
|
||
Reporter | ||
Comment 16•23 years ago
|
||
Reporter | ||
Comment 17•23 years ago
|
||
This code is passing all my tests. I believe the patch above is ready for review.
Comment 18•23 years ago
|
||
r=waterson
Comment 19•23 years ago
|
||
r=beard
Reporter | ||
Comment 20•23 years ago
|
||
Reporter | ||
Comment 21•23 years ago
|
||
Reporter | ||
Comment 22•23 years ago
|
||
I'm going to add all the assignment operators etc., needed to make both these
classes |nsSharableC?String| and |nsXPIDLC?String| writable (as per the bug
summary) before checking in. I'll get this re-reviewed after attaching those
patches.
Reporter | ||
Comment 23•23 years ago
|
||
Reporter | ||
Comment 24•23 years ago
|
||
On second thought, I'm just going to check this in as soon as the tree is open.
The assignment stuff is almost ready to go, but I don't want to stop this patch
for that. I'll continue to use this bug for the patches.
Reporter | ||
Comment 25•23 years ago
|
||
Reporter | ||
Comment 26•23 years ago
|
||
Comment 27•23 years ago
|
||
cc'ing myself as I need to be able to append nsXPIDLStrings.
Depends on: 104663
No longer blocks: 100751
Bug 104663 has been checked in, so nsSharableC?String should now be writable.
Comment 29•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Reporter | ||
Comment 30•22 years ago
|
||
giving up ancient string bugs to the new string owner. jag, you'll want to sort
through these and see which ones still apply and go with or against the
direction in which you intend strings evolve
Assignee: scc → jaggernaut
Status: ASSIGNED → NEW
Assignee | ||
Comment 32•16 years ago
|
||
This work is no longer relevant, strings have had a new implementation for a while now :-)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Updated•4 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•