Closed
Bug 132071
Opened 22 years ago
Closed 18 years ago
enable jprof html output to handle templates
Categories
(Core :: General, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla1.2beta
People
(Reporter: morrison, Assigned: dbaron)
References
Details
(Whiteboard: [patch])
Attachments
(1 file, 2 obsolete files)
4.39 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
The HTML report generated by the current version of leaky.cpp doesn't handle the angle brackets of templates well. They're not escaped, so they mostly disappear in the browsed web pages.
Reporter | ||
Comment 1•22 years ago
|
||
Patch against a somewhat earlier version of leaky.cpp which replaces angle brackets in generated html output with HTML codes.
Comment 2•22 years ago
|
||
*** Bug 132072 has been marked as a duplicate of this bug. ***
Comment 3•22 years ago
|
||
marking NEW (patch) and assigning to dbaron@fas.harvard.edu
Assignee | ||
Comment 4•22 years ago
|
||
I'm wonder if we consider std::string portable enough to use in jprof...
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Reporter | ||
Comment 5•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.0 → mozilla1.1beta
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.1beta → mozilla1.2alpha
Assignee | ||
Updated•22 years ago
|
Whiteboard: [patch]
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•18 years ago
|
Product: Mozilla Application Suite → Core
QA Contact: doronr → general
Updated•18 years ago
|
Attachment #75592 -
Flags: review?(dbaron)
Assignee | ||
Comment 6•18 years ago
|
||
Comment on attachment 75592 [details] [diff] [review] A version which avoids std::string - just ol' fashioned C strings >+char * >+htmlify(char *in) The indentation in this function is really wacky -- way off house style, and internally inconsistent (sometimes one space instead of two). >- >- sp->cntP.printReport(fp, this); I don't think this should be removed. Any idea why it was removed? Other than that, it looks fine. Not sure if it still applies, though. Sorry I missed this one.
Assignee | ||
Comment 7•18 years ago
|
||
This takes into account my comments on the previous patch (although some of the comments about indentation were actually about tabs). It also fixes a few things in htmlify: * uses |const char| where we should (and reuses p in the counting loop where you were using q) * null-terminates the result
Attachment #75007 -
Attachment is obsolete: true
Attachment #75592 -
Attachment is obsolete: true
Attachment #249517 -
Flags: review+
Attachment #75592 -
Flags: review?(dbaron)
Assignee | ||
Comment 8•18 years ago
|
||
Checked in the above patch to trunk. Thanks for contributing it, and sorry I lost track of it.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•