Open
Bug 176307
Opened 23 years ago
Updated 3 years ago
layout string cleanup
Categories
(Core :: Layout, defect, P3)
Tracking
()
NEW
mozilla1.5alpha
People
(Reporter: alecf, Unassigned)
Details
(Keywords: memory-footprint, topembed+, Whiteboard: fix in hand)
Attachments
(1 file)
|
54.21 KB,
patch
|
Details | Diff | Splinter Review |
So the other day I poked at two things:
1) printing was passing around a lot of PRUnichar*'s where they should have been
using const PRUnichar* - this resulted in a slightly cleaner API with slightly
less casting
2) layout uses a unicode string to represent the content type (i.e. "text/html")
of a document, and that just seemed wasteful. So I changed it to use ASCII...
this resulted in a few less conversions as necko stores the content type as
ASCII already.
I cleaned up a few random other things as well, figured I'd roll all the changes
into one patch (including fixing a few "new nsString", use of nsString when
nsAutoString would be better, etc. Don't ask how I found this stuff.
I'd like to get an r=jkeiser, sr=jag or sr=dbaron.
| Reporter | ||
Comment 1•23 years ago
|
||
Here's the patch. Its not small, but it is really straight forward.
| Reporter | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: fix in hand
Target Milestone: --- → mozilla1.3alpha
Updated•23 years ago
|
QA Contact: gerardok → praveenqa
Comment 2•23 years ago
|
||
Comment on attachment 103897 [details] [diff] [review]
clean up some string usage
Bug me sometime in 1.3 for review. Are all these changes from support for
unicode to just ascii safe?
| Reporter | ||
Comment 3•23 years ago
|
||
moving somewhat important bugs to 1.3beta for consideration - some of these may
be bumped out to 1.4alpha after being evaluated.
Target Milestone: mozilla1.3alpha → mozilla1.3beta
| Reporter | ||
Updated•23 years ago
|
Target Milestone: mozilla1.3beta → mozilla1.4alpha
| Reporter | ||
Updated•23 years ago
|
Comment 4•23 years ago
|
||
Discussed in edt bug triage. Plussing.
| Reporter | ||
Comment 5•22 years ago
|
||
bumping these to 1.5alpha, I just don't have time in 1.4beta...
Target Milestone: mozilla1.4alpha → mozilla1.5alpha
Updated•22 years ago
|
Updated•22 years ago
|
QA Contact: praveenqa → dsirnapalli
Comment 7•18 years ago
|
||
Hmm, looks like changing nsIDocumentEncoder to take an ACString for mime types might still be worth doing. The rest is mostly obsolete.
Updated•16 years ago
|
QA Contact: dsirnapalli → layout
Comment 8•7 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Updated•3 years ago
|
Assignee: alecf → nobody
Status: ASSIGNED → NEW
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•