Closed
Bug 201681
Opened 22 years ago
Closed 22 years ago
split nsCSSDeclaration.h and .cpp
Categories
(Core :: CSS Parsing and Computation, defect, P1)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
Attachments
(1 file)
268.57 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
I want to split nsCSSDeclaration.h and nsCSSDeclaration.cpp into
nsCSSDeclaration (for nsCSSDeclaration itself) and nsCSSStruct (for the values
and structs). nsCSSStruct.h would be included all over the place. This would
greatly reduce dependencies on nsCSSDeclaration.h and fix a header ordering
problem that I need to fix for bug 125246.
Do these filenames sound good? If so, I'll want to do this in reasonably short
order (after requesting a repository-copy).
Assignee | ||
Updated•22 years ago
|
![]() |
||
Comment 1•22 years ago
|
||
Hmm.... Are the structs going to actually stay structs?
That is, maybe the second file should be nsCSSDataStorageTypes.h ? (A little
long and unwieldy... :().
Assignee | ||
Comment 2•22 years ago
|
||
They're still going stay structs in some uses (nsRuleData, and the expanded,
mutable, form for bug 125246). And the stuff for the others will mostly be in
other files (although I could move nsCSSRect, etc., to nsCSSValue.h or make a
new nsCSSValues.h, but I'd rather not).
Assignee | ||
Comment 3•22 years ago
|
||
Given that, do you think my proposed names are ok?
![]() |
||
Comment 4•22 years ago
|
||
Sounds good. ;)
Assignee | ||
Comment 5•22 years ago
|
||
To clarify, the repository copy would be (all within
mozilla/content/html/style/src/):
copy nsCSSDeclaration.cpp to nsCSSStruct.cpp
copy nsCSSDeclaration.h to nsCSSStruct.h
Comment 6•22 years ago
|
||
copy complete.
Assignee | ||
Comment 7•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #120467 -
Flags: superreview?(bzbarsky)
Attachment #120467 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 8•22 years ago
|
||
Fix checked in, 2003-04-14 20:07 PDT. (Post facto review would be nice,
although the changes are trivial (the complexity of a build bustage fix, really,
except that tons of lines were removed due to the split). But I really wanted
to get them in before someone checked in to one of the files, and also before I
had to go into hiding for a week.)
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
![]() |
||
Comment 9•22 years ago
|
||
Comment on attachment 120467 [details] [diff] [review]
patch
Er, I thought I'd marked review on this..... I definitely read over it and it
looked fine...
Maybe my Mozilla crashed around then....
Attachment #120467 -
Flags: superreview?(bzbarsky)
Attachment #120467 -
Flags: superreview+
Attachment #120467 -
Flags: review?(bzbarsky)
Attachment #120467 -
Flags: review+
You need to log in
before you can comment on or make changes to this bug.
Description
•