Closed Bug 737417 Opened 14 years ago Closed 14 years ago

Split charset source constants out of nsIParser.h

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: hsivonen, Assigned: hsivonen)

Details

Attachments

(3 files, 5 obsolete files)

941 bytes, patch
smaug
: review+
Details | Diff | Splinter Review
30.27 KB, patch
smaug
: review+
Details | Diff | Splinter Review
2.49 KB, patch
standard8
: review+
Details | Diff | Splinter Review
There should be parser/nsCharsetSource.h for the kCharset* constants that are now in nsIParser.h to make fewer places include nsIParser.h. Note that in order to avoid burning comm-central, the first patch should make nsIParser.h include the new nsCharsetSource.h. Then comm-central can move to including nsCharsetSource.h directly and then nsIParser.h can stop including nsCharsetSource.h.
Taking this myself in order to get a better idea of the remaining real nsIParser deps.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Whiteboard: [mentor=hsivonen][lang=C++]
Part 2 will be a comm-central patch.
Attachment #607958 - Flags: review?(bugs)
Comment on attachment 607959 [details] [diff] [review] Part 1: Split the constants out and remove useless nsIParser.h includes, without accidental file removal Review of attachment 607959 [details] [diff] [review]: ----------------------------------------------------------------- ::: parser/Makefile.in @@ +46,5 @@ > DIRS = expat xml htmlparser html > > +EXPORTS = \ > + nsCharsetSource.h \ > + $(NULL) Just EXPORTS = \ nsCharsetSource.h \ $(NULL) please, no tabs
Attachment #607974 - Flags: review?(bugs) → review+
Attachment #607958 - Flags: review?(bugs) → review+
Attachment #607972 - Attachment is obsolete: true
Attachment #608302 - Flags: review?(mbanner)
Attachment #608302 - Attachment is obsolete: true
Attachment #608302 - Flags: review?(mbanner)
Let's remove the nsIHTMLContentSink.h #include while at it.
Attachment #608303 - Flags: review?(mbanner)
Whiteboard: [please leave open after inbound merge; parts 2 and 3 need to land still]
Comment on attachment 608303 [details] [diff] [review] Part 2: Remove nsIParser.h and nsIHTMLContentSink.h from comm-central I've not tested it, but this looks fine.
Attachment #608303 - Flags: review?(mbanner) → review+
Whiteboard: [please leave open after inbound merge; parts 2 and 3 need to land still]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: