Commit 0bb44c36 authored by darin's avatar darin

Reviewed by Maciej.

	- first cut at XML parsing with expat

        * khtml/khtml_part.cpp: (KHTMLPart::begin): Remove APPLE_CHANGES and use the XML
	code for text/xml documents.

        * WebCore.pbproj/project.pbxproj: Added the ForwardingHeaders to the project.
	Added new QXml files, removed old ones.

        * kwq/KWQXml.h: Removed.
        * kwq/KWQXml.mm: Removed.

        * kwq/KWQXmlAttributes.h: Added.
        * kwq/KWQXmlAttributes.mm: Added.
        * kwq/KWQXmlDefaultHandler.h: Added.
        * kwq/KWQXmlDefaultHandler.mm: Added.
        * kwq/KWQXmlSimpleReader.h: Added.
        * kwq/KWQXmlSimpleReader.mm: Added.

        * kwq/KWQString.h: Add fromUtf8 functions.
        * kwq/KWQString.mm: (QString::fromUtf8): Added. Simple implementation just
	calls fromStringWithEncoding. We may need something more efficient later,
	at least for all-ASCII text.

	- other changes

        * khtml/khtml_part.h: Fix spelling of occurrence.

        * khtml/misc/decoder.cpp: (Decoder::decode): Turn on Japanese auto-detect.
	It doesn't seem to work yet, but this does no harm.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2028aa44
2003-01-14 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- first cut at XML parsing with expat
* khtml/khtml_part.cpp: (KHTMLPart::begin): Remove APPLE_CHANGES and use the XML
code for text/xml documents.
* WebCore.pbproj/project.pbxproj: Added the ForwardingHeaders to the project.
Added new QXml files, removed old ones.
* kwq/KWQXml.h: Removed.
* kwq/KWQXml.mm: Removed.
* kwq/KWQXmlAttributes.h: Added.
* kwq/KWQXmlAttributes.mm: Added.
* kwq/KWQXmlDefaultHandler.h: Added.
* kwq/KWQXmlDefaultHandler.mm: Added.
* kwq/KWQXmlSimpleReader.h: Added.
* kwq/KWQXmlSimpleReader.mm: Added.
* kwq/KWQString.h: Add fromUtf8 functions.
* kwq/KWQString.mm: (QString::fromUtf8): Added. Simple implementation just
calls fromStringWithEncoding. We may need something more efficient later,
at least for all-ASCII text.
- other changes
* khtml/khtml_part.h: Fix spelling of occurrence.
* khtml/misc/decoder.cpp: (Decoder::decode): Turn on Japanese auto-detect.
It doesn't seem to work yet, but this does no harm.
2003-01-13 Richard Williamson <rjw@apple.com>
Fix for 3139120. This patch was contributed by Mitz Pettel. It correctly
......
2003-01-14 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- first cut at XML parsing with expat
* khtml/khtml_part.cpp: (KHTMLPart::begin): Remove APPLE_CHANGES and use the XML
code for text/xml documents.
* WebCore.pbproj/project.pbxproj: Added the ForwardingHeaders to the project.
Added new QXml files, removed old ones.
* kwq/KWQXml.h: Removed.
* kwq/KWQXml.mm: Removed.
* kwq/KWQXmlAttributes.h: Added.
* kwq/KWQXmlAttributes.mm: Added.
* kwq/KWQXmlDefaultHandler.h: Added.
* kwq/KWQXmlDefaultHandler.mm: Added.
* kwq/KWQXmlSimpleReader.h: Added.
* kwq/KWQXmlSimpleReader.mm: Added.
* kwq/KWQString.h: Add fromUtf8 functions.
* kwq/KWQString.mm: (QString::fromUtf8): Added. Simple implementation just
calls fromStringWithEncoding. We may need something more efficient later,
at least for all-ASCII text.
- other changes
* khtml/khtml_part.h: Fix spelling of occurrence.
* khtml/misc/decoder.cpp: (Decoder::decode): Turn on Japanese auto-detect.
It doesn't seem to work yet, but this does no harm.
2003-01-13 Richard Williamson <rjw@apple.com>
Fix for 3139120. This patch was contributed by Mitz Pettel. It correctly
......
#include "KWQXml.h"
#include "KWQXmlAttributes.h"
#include "KWQXmlDefaultHandler.h"
......@@ -90,6 +90,7 @@
F58785E802DE377601EA4122,
93F12C7603CCFD570000011C,
F58785E902DE378A01EA4122,
931BFCDA03D4B085008635CE,
089C1665FE841158C02AAC07,
0867D69AFE84028FC02AAC07,
034768DFFF38A50411DB9C8B,
......@@ -324,7 +325,6 @@
F587871402DE3B8601EA4122,
F587871502DE3B8601EA4122,
F587871602DE3B8601EA4122,
F587871702DE3B8601EA4122,
F523D15B02DE42AD018635CA,
F523D15D02DE42AD018635CA,
F523D15F02DE42AD018635CA,
......@@ -481,6 +481,244 @@
93F12CB103CCFD570000011C,
93F12CB303CCFD570000011C,
93F12CC803CD0AE60000011C,
931BFCD003D4AEDA008635CE,
931BFCD403D4AEE5008635CE,
931BFCD803D4AEFD008635CE,
931BFDD203D4B085008635CE,
931BFDD303D4B085008635CE,
931BFDD403D4B085008635CE,
931BFDD503D4B085008635CE,
931BFDD603D4B085008635CE,
931BFDD703D4B085008635CE,
931BFDD803D4B085008635CE,
931BFDD903D4B085008635CE,
931BFDDA03D4B085008635CE,
931BFDDB03D4B085008635CE,
931BFDDC03D4B085008635CE,
931BFDDD03D4B085008635CE,
931BFDDE03D4B085008635CE,
931BFDDF03D4B085008635CE,
931BFDE003D4B085008635CE,
931BFDE103D4B085008635CE,
931BFDE203D4B085008635CE,
931BFDE303D4B085008635CE,
931BFDE403D4B085008635CE,
931BFDE503D4B085008635CE,
931BFDE603D4B085008635CE,
931BFDE703D4B085008635CE,
931BFDE803D4B085008635CE,
931BFDE903D4B085008635CE,
931BFDEA03D4B085008635CE,
931BFDEB03D4B085008635CE,
931BFDEC03D4B085008635CE,
931BFDED03D4B085008635CE,
931BFDEE03D4B085008635CE,
931BFDEF03D4B085008635CE,
931BFDF003D4B085008635CE,
931BFDF103D4B085008635CE,
931BFDF203D4B085008635CE,
931BFDF303D4B085008635CE,
931BFDF403D4B085008635CE,
931BFDF503D4B085008635CE,
931BFDF603D4B085008635CE,
931BFDF703D4B085008635CE,
931BFDF803D4B085008635CE,
931BFDF903D4B085008635CE,
931BFDFA03D4B085008635CE,
931BFDFB03D4B085008635CE,
931BFDFC03D4B085008635CE,
931BFDFD03D4B085008635CE,
931BFDFE03D4B085008635CE,
931BFDFF03D4B085008635CE,
931BFE0003D4B085008635CE,
931BFE0103D4B085008635CE,
931BFE0203D4B085008635CE,
931BFE0303D4B085008635CE,
931BFE0403D4B085008635CE,
931BFE0503D4B085008635CE,
931BFE0603D4B085008635CE,
931BFE0703D4B085008635CE,
931BFE0803D4B085008635CE,
931BFE0903D4B085008635CE,
931BFE0A03D4B085008635CE,
931BFE0B03D4B085008635CE,
931BFE0C03D4B085008635CE,
931BFE0D03D4B085008635CE,
931BFE0E03D4B085008635CE,
931BFE0F03D4B085008635CE,
931BFE1003D4B085008635CE,
931BFE1103D4B085008635CE,
931BFE1203D4B085008635CE,
931BFE1303D4B085008635CE,
931BFE1403D4B085008635CE,
931BFE1503D4B085008635CE,
931BFE1603D4B085008635CE,
931BFE1703D4B085008635CE,
931BFE1803D4B085008635CE,
931BFE1903D4B085008635CE,
931BFE1A03D4B085008635CE,
931BFE1B03D4B085008635CE,
931BFE1C03D4B085008635CE,
931BFE1D03D4B085008635CE,
931BFE1E03D4B085008635CE,
931BFE1F03D4B085008635CE,
931BFE2003D4B085008635CE,
931BFE2103D4B085008635CE,
931BFE2203D4B085008635CE,
931BFE2303D4B085008635CE,
931BFE2403D4B085008635CE,
931BFE2503D4B085008635CE,
931BFE2603D4B085008635CE,
931BFE2703D4B085008635CE,
931BFE2803D4B085008635CE,
931BFE2903D4B085008635CE,
931BFE2A03D4B085008635CE,
931BFE2B03D4B085008635CE,
931BFE2C03D4B085008635CE,
931BFE2D03D4B085008635CE,
931BFE2E03D4B085008635CE,
931BFE2F03D4B085008635CE,
931BFE3003D4B085008635CE,
931BFE3103D4B085008635CE,
931BFE3203D4B085008635CE,
931BFE3303D4B085008635CE,
931BFE3403D4B085008635CE,
931BFE3503D4B085008635CE,
931BFE3603D4B085008635CE,
931BFE3703D4B085008635CE,
931BFE3803D4B085008635CE,
931BFE3903D4B085008635CE,
931BFE3A03D4B085008635CE,
931BFE3B03D4B085008635CE,
931BFE3C03D4B085008635CE,
931BFE3D03D4B085008635CE,
931BFE3E03D4B085008635CE,
931BFE3F03D4B085008635CE,
931BFE4003D4B085008635CE,
931BFE4103D4B085008635CE,
931BFE4203D4B085008635CE,
931BFE4303D4B085008635CE,
931BFE4403D4B085008635CE,
931BFE4503D4B085008635CE,
931BFE4603D4B085008635CE,
931BFE4703D4B085008635CE,
931BFE4803D4B085008635CE,
931BFE4903D4B085008635CE,
931BFE4A03D4B085008635CE,
931BFE4B03D4B085008635CE,
931BFE4C03D4B085008635CE,
931BFE4D03D4B085008635CE,
931BFE4E03D4B085008635CE,
931BFE4F03D4B085008635CE,
931BFE5003D4B085008635CE,
931BFE5103D4B085008635CE,
931BFE5203D4B085008635CE,
931BFE5303D4B085008635CE,
931BFE5403D4B085008635CE,
931BFE5503D4B085008635CE,
931BFE5603D4B085008635CE,
931BFE5703D4B085008635CE,
931BFE5803D4B085008635CE,
931BFE5903D4B085008635CE,
931BFE5A03D4B085008635CE,
931BFE5B03D4B085008635CE,
931BFE5C03D4B085008635CE,
931BFE5D03D4B085008635CE,
931BFE5E03D4B085008635CE,
931BFE5F03D4B085008635CE,
931BFE6003D4B085008635CE,
931BFE6103D4B085008635CE,
931BFE6203D4B085008635CE,
931BFE6303D4B085008635CE,
931BFE6403D4B085008635CE,
931BFE6503D4B085008635CE,
931BFE6603D4B085008635CE,
931BFE6703D4B085008635CE,
931BFE6803D4B085008635CE,
931BFE6903D4B085008635CE,
931BFE6A03D4B085008635CE,
931BFE6B03D4B085008635CE,
931BFE6C03D4B085008635CE,
931BFE6D03D4B085008635CE,
931BFE6E03D4B085008635CE,
931BFE6F03D4B085008635CE,
931BFE7003D4B085008635CE,
931BFE7103D4B085008635CE,
931BFE7203D4B085008635CE,
931BFE7303D4B085008635CE,
931BFE7403D4B085008635CE,
931BFE7503D4B085008635CE,
931BFE7603D4B085008635CE,
931BFE7703D4B085008635CE,
931BFE7803D4B085008635CE,
931BFE7903D4B085008635CE,
931BFE7A03D4B085008635CE,
931BFE7B03D4B085008635CE,
931BFE7C03D4B085008635CE,
931BFE7D03D4B085008635CE,
931BFE7E03D4B085008635CE,
931BFE7F03D4B085008635CE,
931BFE8003D4B085008635CE,
931BFE8103D4B085008635CE,
931BFE8203D4B085008635CE,
931BFE8303D4B085008635CE,
931BFE8403D4B085008635CE,
931BFE8503D4B085008635CE,
931BFE8603D4B085008635CE,
931BFE8703D4B085008635CE,
931BFE8803D4B085008635CE,
931BFE8903D4B085008635CE,
931BFE8A03D4B085008635CE,
931BFE8B03D4B085008635CE,
931BFE8C03D4B085008635CE,
931BFE8D03D4B085008635CE,
931BFE8E03D4B085008635CE,
931BFE8F03D4B085008635CE,
931BFE9003D4B085008635CE,
931BFE9103D4B085008635CE,
931BFE9203D4B085008635CE,
931BFE9303D4B085008635CE,
931BFE9403D4B085008635CE,
931BFE9503D4B085008635CE,
931BFE9603D4B085008635CE,
931BFE9703D4B085008635CE,
931BFE9803D4B085008635CE,
931BFE9903D4B085008635CE,
931BFE9A03D4B085008635CE,
931BFE9B03D4B085008635CE,
931BFE9C03D4B085008635CE,
931BFE9D03D4B085008635CE,
931BFE9E03D4B085008635CE,
931BFE9F03D4B085008635CE,
931BFEA003D4B085008635CE,
931BFEA103D4B085008635CE,
931BFEA203D4B085008635CE,
931BFEA303D4B085008635CE,
931BFEA403D4B085008635CE,
931BFEA503D4B085008635CE,
931BFEA603D4B085008635CE,
931BFEA703D4B085008635CE,
931BFEA803D4B085008635CE,
931BFEA903D4B085008635CE,
931BFEAA03D4B085008635CE,
931BFEAB03D4B085008635CE,
931BFEAC03D4B085008635CE,
931BFEAD03D4B085008635CE,
931BFEAE03D4B085008635CE,
931BFEAF03D4B085008635CE,
931BFEB003D4B085008635CE,
931BFEB103D4B085008635CE,
931BFEB203D4B085008635CE,
931BFEB303D4B085008635CE,
931BFEB403D4B085008635CE,
931BFEB503D4B085008635CE,
931BFEB603D4B085008635CE,
931BFEB703D4B085008635CE,
931BFEB803D4B085008635CE,
931BFEB903D4B085008635CE,
931BFEBA03D4B085008635CE,
931BFEBB03D4B085008635CE,
931BFEBC03D4B085008635CE,
);
isa = PBXHeadersBuildPhase;
runOnlyForDeploymentPostprocessing = 0;
......@@ -589,7 +827,6 @@
F58785D302DE375901EA4122,
F58785D402DE375901EA4122,
F58785D602DE375901EA4122,
F58785D802DE375901EA4122,
F58785DA02DE375901EA4122,
F58785DC02DE375901EA4122,
F58785E102DE375901EA4122,
......@@ -720,6 +957,9 @@
93F12CAD03CCFD570000011C,
93F12CAE03CCFD570000011C,
93F12CB003CCFD570000011C,
931BFCD103D4AEDA008635CE,
931BFCD503D4AEE5008635CE,
931BFCD903D4AEFD008635CE,
);
isa = PBXSourcesBuildPhase;
runOnlyForDeploymentPostprocessing = 0;
......@@ -894,6 +1134,3236 @@
//932
//933
//934
931BFCCE03D4AEDA008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = KWQXmlSimpleReader.h;
refType = 4;
};
931BFCCF03D4AEDA008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = KWQXmlSimpleReader.mm;
refType = 4;
};
931BFCD003D4AEDA008635CE = {
fileRef = 931BFCCE03D4AEDA008635CE;
isa = PBXBuildFile;
settings = {
};
};
931BFCD103D4AEDA008635CE = {
fileRef = 931BFCCF03D4AEDA008635CE;
isa = PBXBuildFile;
settings = {
};
};
931BFCD203D4AEE5008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = KWQXmlAttributes.h;
refType = 4;
};
931BFCD303D4AEE5008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = KWQXmlAttributes.mm;
refType = 4;
};
931BFCD403D4AEE5008635CE = {
fileRef = 931BFCD203D4AEE5008635CE;
isa = PBXBuildFile;
settings = {
};
};
931BFCD503D4AEE5008635CE = {
fileRef = 931BFCD303D4AEE5008635CE;
isa = PBXBuildFile;
settings = {
};
};
931BFCD603D4AEFD008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = KWQXmlDefaultHandler.h;
refType = 4;
};
931BFCD703D4AEFD008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = KWQXmlDefaultHandler.mm;
refType = 4;
};
931BFCD803D4AEFD008635CE = {
fileRef = 931BFCD603D4AEFD008635CE;
isa = PBXBuildFile;
settings = {
};
};
931BFCD903D4AEFD008635CE = {
fileRef = 931BFCD703D4AEFD008635CE;
isa = PBXBuildFile;
settings = {
};
};
931BFCDA03D4B085008635CE = {
children = (
931BFCDB03D4B085008635CE,
931BFCDC03D4B085008635CE,
931BFCE503D4B085008635CE,
931BFCE603D4B085008635CE,
931BFD0303D4B085008635CE,
931BFD0D03D4B085008635CE,
931BFD1D03D4B085008635CE,
931BFD2003D4B085008635CE,
931BFD2103D4B085008635CE,
931BFD2203D4B085008635CE,
931BFD2303D4B085008635CE,
931BFD2403D4B085008635CE,
931BFD2503D4B085008635CE,
931BFD2603D4B085008635CE,
931BFD2703D4B085008635CE,
931BFD2803D4B085008635CE,
931BFD2903D4B085008635CE,
931BFD2A03D4B085008635CE,
931BFD2B03D4B085008635CE,
931BFD2C03D4B085008635CE,
931BFD2D03D4B085008635CE,
931BFD2E03D4B085008635CE,
931BFD2F03D4B085008635CE,
931BFD3003D4B085008635CE,
931BFD3103D4B085008635CE,
931BFD3203D4B085008635CE,
931BFD3303D4B085008635CE,
931BFD3403D4B085008635CE,
931BFD3503D4B085008635CE,
931BFD3603D4B085008635CE,
931BFD3703D4B085008635CE,
931BFD3C03D4B085008635CE,
931BFD4303D4B085008635CE,
931BFD4403D4B085008635CE,
931BFD4503D4B085008635CE,
931BFD4603D4B085008635CE,
931BFD4703D4B085008635CE,
931BFD4803D4B085008635CE,
931BFD4903D4B085008635CE,
931BFD4A03D4B085008635CE,
931BFD5003D4B085008635CE,
931BFD5103D4B085008635CE,
931BFD5203D4B085008635CE,
931BFD5303D4B085008635CE,
931BFD5403D4B085008635CE,
931BFD5503D4B085008635CE,
931BFD5603D4B085008635CE,
931BFD5703D4B085008635CE,
931BFD5803D4B085008635CE,
931BFD5903D4B085008635CE,
931BFD5A03D4B085008635CE,
931BFD5B03D4B085008635CE,
931BFD5C03D4B085008635CE,
931BFD5D03D4B085008635CE,
931BFD5E03D4B085008635CE,
931BFD5F03D4B085008635CE,
931BFD6003D4B085008635CE,
931BFD6103D4B085008635CE,
931BFD6C03D4B085008635CE,
931BFD6D03D4B085008635CE,
931BFD6F03D4B085008635CE,
931BFD7003D4B085008635CE,
931BFD7103D4B085008635CE,
931BFD7203D4B085008635CE,
931BFD7303D4B085008635CE,
931BFD7403D4B085008635CE,
931BFD7503D4B085008635CE,
931BFD7603D4B085008635CE,
931BFD7703D4B085008635CE,
931BFD7803D4B085008635CE,
931BFD7903D4B085008635CE,
931BFD7A03D4B085008635CE,
931BFD7B03D4B085008635CE,
931BFD7C03D4B085008635CE,
931BFD7D03D4B085008635CE,
931BFD7E03D4B085008635CE,
931BFD7F03D4B085008635CE,
931BFD8003D4B085008635CE,
931BFD8103D4B085008635CE,
931BFD8203D4B085008635CE,
931BFD8303D4B085008635CE,
931BFD8403D4B085008635CE,
931BFD8503D4B085008635CE,
931BFD8603D4B085008635CE,
931BFD8703D4B085008635CE,
931BFD8803D4B085008635CE,
931BFD8903D4B085008635CE,
931BFD8A03D4B085008635CE,
931BFD8B03D4B085008635CE,
931BFD8C03D4B085008635CE,
931BFD8D03D4B085008635CE,
931BFD8E03D4B085008635CE,
931BFD8F03D4B085008635CE,
931BFD9003D4B085008635CE,
931BFD9103D4B085008635CE,
931BFD9203D4B085008635CE,
931BFD9303D4B085008635CE,
931BFD9403D4B085008635CE,
931BFD9503D4B085008635CE,
931BFD9603D4B085008635CE,
931BFD9703D4B085008635CE,
931BFD9803D4B085008635CE,
931BFD9903D4B085008635CE,
931BFD9A03D4B085008635CE,
931BFD9B03D4B085008635CE,
931BFD9C03D4B085008635CE,
931BFD9D03D4B085008635CE,
931BFD9E03D4B085008635CE,
931BFD9F03D4B085008635CE,
931BFDA003D4B085008635CE,
931BFDA103D4B085008635CE,
931BFDA203D4B085008635CE,
931BFDA303D4B085008635CE,
931BFDA403D4B085008635CE,
931BFDA503D4B085008635CE,
931BFDA603D4B085008635CE,
931BFDA703D4B085008635CE,
931BFDA803D4B085008635CE,
931BFDA903D4B085008635CE,
931BFDAA03D4B085008635CE,
931BFDAB03D4B085008635CE,
931BFDAC03D4B085008635CE,
931BFDAD03D4B085008635CE,
931BFDAE03D4B085008635CE,
931BFDAF03D4B085008635CE,
931BFDB003D4B085008635CE,
931BFDB103D4B085008635CE,
931BFDC503D4B085008635CE,
931BFDC603D4B085008635CE,
);
isa = PBXGroup;
path = ForwardingHeaders;
refType = 4;
};
931BFCDB03D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = config.h;
refType = 4;
};
931BFCDC03D4B085008635CE = {
children = (
931BFCDD03D4B085008635CE,
931BFCDE03D4B085008635CE,
931BFCDF03D4B085008635CE,
931BFCE003D4B085008635CE,
931BFCE103D4B085008635CE,
931BFCE203D4B085008635CE,
931BFCE303D4B085008635CE,
931BFCE403D4B085008635CE,
);
isa = PBXGroup;
path = css;
refType = 4;
};
931BFCDD03D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = css_ruleimpl.h;
refType = 4;
};
931BFCDE03D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = css_stylesheetimpl.h;
refType = 4;
};
931BFCDF03D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = css_valueimpl.h;
refType = 4;
};
931BFCE003D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = csshelper.h;
refType = 4;
};
931BFCE103D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = cssparser.h;
refType = 4;
};
931BFCE203D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = cssproperties.h;
refType = 4;
};
931BFCE303D4B085008635CE = {
fileEncoding = 4;
isa = PBXFileReference;
path = cssstyleselector.h;
refType = 4;
};