Changeset 95128 in webkit
- Timestamp:
- Sep 14, 2011 3:14:33 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r95001 r95128 2229 2229 2230 2230 2231 MAKE_HASH_TOOLS(${WEBCORE_DIR}/html/DocTypeStrings)2232 LIST(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/DocTypeStrings.cpp)2233 2234 2235 2231 # Generate XMLViewerCSS.h 2236 2232 ADD_CUSTOM_COMMAND( -
trunk/Source/WebCore/ChangeLog
r95124 r95128 1 2011-09-14 Anders Carlsson <andersca@apple.com> 2 3 Remove DocTypeStrings.gperf 4 https://bugs.webkit.org/show_bug.cgi?id=68119 5 6 Reviewed by Sam Weinig. 7 8 * CMakeLists.txt: 9 * CodeGenerators.pri: 10 * DerivedSources.make: 11 * GNUmakefile.am: 12 * WebCore.gyp/WebCore.gyp: 13 * WebCore.vcproj/WebCore.vcproj: 14 * WebCore.xcodeproj/project.pbxproj: 15 * html/DocTypeStrings.gperf: Removed. 16 * make-hash-tools.pl: 17 * platform/HashTools.h: 18 1 19 2011-09-14 Chris Rogers <crogers@google.com> 2 20 -
trunk/Source/WebCore/CodeGenerators.pri
r94866 r95128 17 17 18 18 TOKENIZER = $$PWD/css/tokenizer.flex 19 20 DOCTYPESTRINGS_GPERF = $$PWD/html/DocTypeStrings.gperf21 19 22 20 CSSBISON = $$PWD/css/CSSGrammar.y … … 783 781 784 782 # GENERATOR 8-B: 785 doctypestrings.output = $${WC_GENERATED_SOURCES_DIR}/DocTypeStrings.cpp786 doctypestrings.input = DOCTYPESTRINGS_GPERF787 doctypestrings.wkScript = $$PWD/make-hash-tools.pl788 doctypestrings.commands = perl $$doctypestrings.wkScript $${WC_GENERATED_SOURCES_DIR} $$DOCTYPESTRINGS_GPERF789 doctypestrings.clean = ${QMAKE_FILE_OUT}790 doctypestrings.depends = $$PWD/make-hash-tools.pl791 addExtraCompiler(doctypestrings)792 793 # GENERATOR 8-C:794 783 colordata.output = $${WC_GENERATED_SOURCES_DIR}/ColorData.cpp 795 784 colordata.input = COLORDATA_GPERF … … 802 791 contains(DEFINES, ENABLE_XSLT=1) { 803 792 contains(DEFINES, WTF_USE_LIBXML2=1) { 804 # GENERATOR 8- D:793 # GENERATOR 8-C: 805 794 xmlviewercss.output = $${WC_GENERATED_SOURCES_DIR}/XMLViewerCSS.h 806 795 xmlviewercss.input = XMLVIEWER_CSS … … 812 801 addExtraCompiler(xmlviewercss) 813 802 814 # GENERATOR 8- E:803 # GENERATOR 8-D: 815 804 xmlviewerjs.output = $${WC_GENERATED_SOURCES_DIR}/XMLViewerJS.h 816 805 xmlviewerjs.input = XMLVIEWER_JS -
trunk/Source/WebCore/DerivedSources.make
r95107 r95128 592 592 CSSValueKeywords.h \ 593 593 ColorData.cpp \ 594 DocTypeStrings.cpp \595 594 HTMLElementFactory.cpp \ 596 595 HTMLEntityTable.cpp \ … … 673 672 # -------- 674 673 675 # DOCTYPE strings676 677 DocTypeStrings.cpp : html/DocTypeStrings.gperf $(WebCore)/make-hash-tools.pl678 perl $(WebCore)/make-hash-tools.pl . $(WebCore)/html/DocTypeStrings.gperf679 680 # --------681 682 674 # XMLViewer CSS 683 675 -
trunk/Source/WebCore/GNUmakefile.am
r95107 r95128 625 625 mv CSSValueKeywords* $(GENSOURCES_WEBCORE) 626 626 627 # DOCTYPE strings628 DerivedSources/WebCore/HashTools.h: DerivedSources/WebCore/DocTypeStrings.cpp629 DerivedSources/WebCore/DocTypeStrings.cpp: $(WebCore)/html/DocTypeStrings.gperf $(WebCore)/make-hash-tools.pl630 $(PERL) $(WebCore)/make-hash-tools.pl $(GENSOURCES_WEBCORE) $(WebCore)/html/DocTypeStrings.gperf631 632 627 # XML Viewer CSS 633 628 DerivedSources/WebCore/XMLViewerCSS.h: $(WebCore)/xml/XMLViewer.css … … 908 903 Source/WebCore/css/WebKitFontFamilyNames.in \ 909 904 Source/WebCore/dom/make_names.pl \ 910 Source/WebCore/html/DocTypeStrings.gperf \911 905 Source/WebCore/html/HTMLAttributeNames.in \ 912 906 Source/WebCore/html/HTMLTagNames.in \ -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r95035 r95128 467 467 468 468 # gperf rule 469 '../html/DocTypeStrings.gperf',470 469 '../platform/ColorData.gperf', 471 470 … … 978 977 979 978 # Additional .cpp files for HashTools.h 980 '<(SHARED_INTERMEDIATE_DIR)/webkit/DocTypeStrings.cpp',981 979 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorData.cpp', 982 980 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSPropertyNames.cpp', -
trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj
r94855 r95128 487 487 </File> 488 488 <File 489 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\DocTypeStrings.cpp"490 >491 </File>492 <File493 489 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\HashTools.h" 494 490 > -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r94900 r95128 475 475 1ABA76CA11D20E50004C201C /* CSSPropertyNames.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E41EA038119836DB00710BC5 /* CSSPropertyNames.cpp */; }; 476 476 1ABA76CB11D20E57004C201C /* CSSValueKeywords.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E41EA0391198374900710BC5 /* CSSValueKeywords.cpp */; }; 477 1ABA76CC11D20E5B004C201C /* DocTypeStrings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E406F3FA1198304D009D59D6 /* DocTypeStrings.cpp */; };478 477 1ABFE7530CD968D000FE4834 /* SQLTransaction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABFE7520CD968D000FE4834 /* SQLTransaction.cpp */; }; 479 478 1AC2260C0DB69F190089B669 /* JSDOMApplicationCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC2260A0DB69F190089B669 /* JSDOMApplicationCache.cpp */; }; … … 12395 12394 E1FF57A20F01255B00891EBB /* ThreadGlobalData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadGlobalData.h; sourceTree = "<group>"; }; 12396 12395 E1FF57A50F01256B00891EBB /* ThreadGlobalData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ThreadGlobalData.cpp; sourceTree = "<group>"; }; 12397 E406F3FA1198304D009D59D6 /* DocTypeStrings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DocTypeStrings.cpp; sourceTree = "<group>"; };12398 12396 E406F3FB1198307D009D59D6 /* ColorData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ColorData.cpp; sourceTree = "<group>"; }; 12399 12397 E415F10C0D9A05870033CE97 /* ElementTimeControl.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ElementTimeControl.idl; sourceTree = "<group>"; }; … … 14403 14401 6565814709D13043000E61D7 /* CSSValueKeywords.gperf */, 14404 14402 6565814809D13043000E61D7 /* CSSValueKeywords.h */, 14405 E406F3FA1198304D009D59D6 /* DocTypeStrings.cpp */,14406 14403 A17C81200F2A5CF7005DAAEB /* HTMLElementFactory.cpp */, 14407 14404 A17C81210F2A5CF7005DAAEB /* HTMLElementFactory.h */, … … 24103 24100 A1E1154413015C3D0054AC8C /* DistantLightSource.cpp in Sources */, 24104 24101 B2F34FE90E82F82700F627CD /* DNSCFNet.cpp in Sources */, 24105 1ABA76CC11D20E5B004C201C /* DocTypeStrings.cpp in Sources */,24106 24102 A8185F3C09765766005826D9 /* Document.cpp in Sources */, 24107 24103 A8185F3F09765766005826D9 /* DocumentFragment.cpp in Sources */, -
trunk/Source/WebCore/make-hash-tools.pl
r89265 r95128 28 28 29 29 30 if ($option eq "DocTypeStrings") { 31 32 my $docTypeStringsGenerated = "$outdir/DocTypeStrings.cpp"; 33 my $docTypeStringsGperf = $ARGV[0]; 34 shift; 35 36 system("gperf --key-positions=\"*\" -s 2 $docTypeStringsGperf > $docTypeStringsGenerated") == 0 || die "calling gperf failed: $?"; 37 38 } elsif ($option eq "ColorData") { 30 if ($option eq "ColorData") { 39 31 40 32 my $colorDataGenerated = "$outdir/ColorData.cpp"; -
trunk/Source/WebCore/platform/HashTools.h
r72664 r95128 23 23 namespace WebCore { 24 24 25 struct PubIDInfo {26 enum eMode {27 eQuirks,28 eQuirks3,29 eAlmostStandards30 };31 32 const char* name;33 eMode mode_if_no_sysid;34 eMode mode_if_sysid;35 };36 37 25 struct NamedColor { 38 26 const char* name; … … 50 38 }; 51 39 52 const PubIDInfo* findDoctypeEntry(register const char* str, register unsigned int len);53 40 const NamedColor* findColor(register const char* str, register unsigned int len); 54 41 const Property* findProperty(register const char* str, register unsigned int len);
Note: See TracChangeset
for help on using the changeset viewer.