WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20437
Clean XMLTokenizer by separating the Qt and Libxml2 implementation
https://bugs.webkit.org/show_bug.cgi?id=20437
Summary
Clean XMLTokenizer by separating the Qt and Libxml2 implementation
Holger Freyther
Reported
2008-08-18 16:40:29 PDT
The current XMLTokenizer.cpp is hard to read as two separate implementations are in one file. Separating the Qt and libxml2 implementation should make it more readable.
Attachments
Start separating XMLTokenizer
(132.82 KB, patch)
2008-08-18 17:04 PDT
,
Holger Freyther
mrowe
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Holger Freyther
Comment 1
2008-08-18 17:04:56 PDT
Created
attachment 22867
[details]
Start separating XMLTokenizer Keep common code in XMLTokenizer.cpp, move Qt code to XMLTokenizerQt.cpp and the rest to XMLTokenizerLibxml2.cpp. Comments appreciated.
Mark Rowe (bdash)
Comment 2
2008-08-18 19:10:42 PDT
It might be a good idea to create the two new .cpp files by doing an "svn cp" of XMLTokenizer.cpp then removing the unneeded bits. That would help make it obvious what has happened in the SVN history.
Mark Rowe (bdash)
Comment 3
2008-08-19 20:52:35 PDT
Should also change USE_QXMLSTREAM to the USE(QXMLSTREAM) style that we use for these sorts of things elsewhere.
Mark Rowe (bdash)
Comment 4
2008-08-19 22:24:44 PDT
Oh, and the new file will need to be added to the Mac, Windows and Wx project files too.
Mark Rowe (bdash)
Comment 5
2008-08-19 22:25:37 PDT
Comment on
attachment 22867
[details]
Start separating XMLTokenizer r=me, if you address the comments I made above, and add a ChangeLog entry.
Holger Freyther
Comment 6
2008-09-18 17:18:54 PDT
I think I addressed all the points and landed this patch. The size of the patch is a bit worrying but it looked good.
Simon Hausmann
Comment 7
2009-11-21 01:27:00 PST
***
Bug 14791
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug