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)
Core
DOM: HTML Parser
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 |
|
Part 1: Split the constants out and remove useless nsIParser.h includes, Ms2ger's comments addressed
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.
| Assignee | ||
Comment 1•14 years ago
|
||
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++]
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #607957 -
Flags: review?(bugs)
| Assignee | ||
Comment 3•14 years ago
|
||
Part 2 will be a comm-central patch.
Attachment #607958 -
Flags: review?(bugs)
| Assignee | ||
Comment 4•14 years ago
|
||
Attachment #607957 -
Attachment is obsolete: true
Attachment #607957 -
Flags: review?(bugs)
| Assignee | ||
Updated•14 years ago
|
Attachment #607959 -
Flags: review?(bugs)
Comment 5•14 years ago
|
||
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
| Assignee | ||
Comment 6•14 years ago
|
||
Attachment #607959 -
Attachment is obsolete: true
Attachment #607959 -
Flags: review?(bugs)
Attachment #607965 -
Flags: review?(bugs)
| Assignee | ||
Comment 7•14 years ago
|
||
| Assignee | ||
Comment 8•14 years ago
|
||
Attachment #607965 -
Attachment is obsolete: true
Attachment #607965 -
Flags: review?(bugs)
Attachment #607974 -
Flags: review?(bugs)
Updated•14 years ago
|
Attachment #607974 -
Flags: review?(bugs) → review+
Updated•14 years ago
|
Attachment #607958 -
Flags: review?(bugs) → review+
| Assignee | ||
Comment 9•14 years ago
|
||
Attachment #607972 -
Attachment is obsolete: true
Attachment #608302 -
Flags: review?(mbanner)
| Assignee | ||
Updated•14 years ago
|
Attachment #608302 -
Attachment is obsolete: true
Attachment #608302 -
Flags: review?(mbanner)
| Assignee | ||
Comment 10•14 years ago
|
||
Let's remove the nsIHTMLContentSink.h #include while at it.
Attachment #608303 -
Flags: review?(mbanner)
| Assignee | ||
Updated•14 years ago
|
Attachment #608303 -
Attachment is patch: true
| Assignee | ||
Comment 11•14 years ago
|
||
Whiteboard: [please leave open after inbound merge; parts 2 and 3 need to land still]
Comment 12•14 years ago
|
||
Comment 13•14 years ago
|
||
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+
| Assignee | ||
Comment 14•14 years ago
|
||
Thanks for the reviews.
Landed parts 2 and 3:
http://hg.mozilla.org/comm-central/rev/d5bc8c4eeb2f
http://hg.mozilla.org/integration/mozilla-inbound/rev/c2a5e0dba377
Whiteboard: [please leave open after inbound merge; parts 2 and 3 need to land still]
Comment 15•14 years ago
|
||
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.
Description
•