Closed Bug 356951 Opened 19 years ago Closed 7 years ago

New serializer with options "à la tidy" for Composer

Categories

(Composer Graveyard :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: glazou, Assigned: glazou)

References

Details

Attachments

(1 file, 4 obsolete files)

The title says it all. One of the main complaints about Nvu or Mozilla Composer is about the serializer, its bugs, and its inability to pretty-print the source with options "à la tidy". It's probably worthless to hack the existing serializer since the only client will probably be the editor. So I suggest a new serializer for that. In case we switch back to hacking the current core, I'll update the bug's summary.
Attached patch wip #2, not for review (obsolete) — Splinter Review
Attachment #243345 - Attachment is obsolete: true
Attached patch wip #3, not for review (obsolete) — Splinter Review
implements partially or totally following tidy options BreafBeforeBr DropEmptyParas Indent IndentAttributes Wrap AddXmlDecl Newline
Attachment #243481 - Attachment is obsolete: true
Attached patch wip #4, not for review (obsolete) — Splinter Review
same as wip#3 but builds using the frozen API, thanks to bsmedberg
Attachment #243606 - Attachment is obsolete: true
I would like to see this in XULRunner too as it could be used in every application based on that. eg. we create XML processing applications which also creates XML documents on the fly. If the output could at least be indented for better reading, this would be a great improvement.
Status: NEW → ASSIGNED
Depends on: 359195
Composer isn't maintained anymore. Closing these bugs (no activity for a while)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: