Changeset 35322 in webkit


Ignore:
Timestamp:
Jul 24, 2008 1:44:28 AM (16 years ago)
Author:
jchaffraix@webkit.org
Message:

2008-07-24 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Eric.

Bug 20053: .in files should use a custom format instead of XML

  • Remove our XML parser perl module (XML::Tiny)
  • Add a custom perl parser
  • Move XML files to the new format
  • bindings/scripts/InFilesParser.pm: Added.
  • bindings/scripts/XMLTiny.pm: Removed.
  • dom/make_names.pl: Switched to our new parser.


  • html/HTMLAttributeNames.in: Switched to our custom format.
  • html/HTMLTagNames.in: Ditto.
  • svg/svgattrs.in: Ditto.
  • svg/svgtags.in: Ditto.
  • svg/xlinkattrs.in: Ditto.
  • xml/xmlattrs.in: Ditto.
Location:
trunk/WebCore
Files:
1 added
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r35321 r35322  
     12008-07-24  Julien Chaffraix  <jchaffraix@webkit.org>
     2
     3        Reviewed by Eric.
     4
     5        Bug 20053: .in files should use a custom format instead of XML
     6
     7        - Remove our XML parser perl module (XML::Tiny)
     8
     9        - Add a custom perl parser
     10
     11        - Move XML files to the new format
     12
     13        * bindings/scripts/InFilesParser.pm: Added.
     14        * bindings/scripts/XMLTiny.pm: Removed.
     15        * dom/make_names.pl: Switched to our new
     16        parser.
     17
     18        * html/HTMLAttributeNames.in: Switched to
     19        our custom format.
     20        * html/HTMLTagNames.in: Ditto.
     21        * svg/svgattrs.in: Ditto.
     22        * svg/svgtags.in: Ditto.
     23        * svg/xlinkattrs.in: Ditto.
     24        * xml/xmlattrs.in: Ditto.
     25
    1262008-07-23  Julien Chaffraix  <jchaffraix@webkit.org>
    227
  • trunk/WebCore/dom/make_names.pl

    r35206 r35322  
    3333use File::Path;
    3434use IO::File;
     35use InFilesParser;
    3536use Switch;
    36 use XMLTiny qw(parsefile);
    3737
    3838my $tagsFile = "";
     
    5555die "You must specify at least one of --tags <file> or --attrs <file>" unless (length($tagsFile) || length($attrsFile));
    5656
    57 readNames($tagsFile) if length($tagsFile);
    58 readNames($attrsFile) if length($attrsFile);
     57readNames($tagsFile, "tags") if length($tagsFile);
     58readNames($attrsFile, "attrs") if length($attrsFile);
    5959
    6060die "You must specify a namespace (e.g. SVG) for <namespace>Names.h" unless $parameters{'namespace'};
     
    106106            'guardFactoryWith' => '',
    107107            'generateWrapperFactory' => 0,
    108             # The 2 nullNamespace properties are generated from the "nullNamespace" attribute with respect to the file parsed (attrs or tags).
    109108            'tagsNullNamespace' => 0,
    110109            'attrsNullNamespace' => 0,
     
    114113### Parsing handlers
    115114
    116 # Our files should have the following form :
    117 # <'tags' or 'attrs' globalProperty1 = 'value1' ... />
    118 # <'tag/attr name' 'property1' = 'value1' ... />
    119 # where the properties are defined in the initialize*PropertyHash methods.
    120 # (more tag/attr ...)
    121 # </tags> or </attrs>
    122 
    123 sub parseTags
    124 {
    125     my $contentsRef = shift;
    126     foreach my $contentRef (@$contentsRef) {
    127         my $tag = $${contentRef}{'name'};
    128         $tag =~ s/-/_/g;
    129 
    130         # Initialize default properties' values.
    131         $tags{$tag} = { initializeTagPropertyHash($tag) } if !defined($tags{$tag});
    132 
    133         # Parse the XML attributes.
    134         my %properties = %{$$contentRef{'attrib'}};
    135         foreach my $property (keys %properties) {
    136             die "Unknown property $property for tag $tag\n" if !defined($tags{$tag}{$property});
    137             $tags{$tag}{$property} = $properties{$property};
    138         }
    139     }
    140 }
    141 
    142 sub parseAttrs
    143 {
    144     my $contentsRef = shift;
    145     foreach my $contentRef (@$contentsRef) {
    146         my $attr = $${contentRef}{'name'};
    147         $attr =~ s/-/_/g;
    148 
    149         # Initialize default properties' values.
    150         $attrs{$attr} = { initializeAttrPropertyHash($attr) } if !defined($attrs{$attr});
    151 
    152         # Parse the XML attributes.
    153         my %properties = %{$$contentRef{'attrib'}};
    154         foreach my $property (keys %properties) {
    155             die "Unknown property $property for attribute $attr\n" if !defined($attrs{$attr}{$property});
    156             $attrs{$attr}{$property} = $properties{$property};
    157         }
    158     }
    159 }
    160 
    161 sub parseParameters
    162 {
    163     my ($propertiesRef, $elementName) = @_;
    164     my %properties = %$propertiesRef;
     115sub tagsHandler
     116{
     117    my ($tag, $property, $value) = @_;
     118
     119    $tag =~ s/-/_/g;
     120
     121    # Initialize default properties' values.
     122    $tags{$tag} = { initializeTagPropertyHash($tag) } if !defined($tags{$tag});
     123
     124    if ($property) {
     125        die "Unknown property $property for tag $tag\n" if !defined($tags{$tag}{$property});
     126        $tags{$tag}{$property} = $value;
     127    }
     128}
     129
     130sub attrsHandler
     131{
     132    my ($attr, $property, $value) = @_;
     133
     134    $attr =~ s/-/_/g;
     135
     136    # Initialize default properties' values.
     137    $attrs{$attr} = { initializeAttrPropertyHash($attr) } if !defined($attrs{$attr});
     138
     139    if ($property) {
     140        die "Unknown property $property for attribute $attr\n" if !defined($attrs{$attr}{$property});
     141        $attrs{$attr}{$property} = $value;
     142    }
     143}
     144
     145sub parametersHandler
     146{
     147    my ($parameter, $value) = @_;
    165148
    166149    # Initialize default properties' values.
    167150    %parameters = initializeParametersHash() if !(keys %parameters);
    168151
    169     # Parse the XML attributes.
    170     foreach my $property (keys %properties) {
    171         # This is used in case we want to change the parameter name depending
    172         # on what is parsed.
    173         my $parameter = $property;
    174 
    175         # "nullNamespace" case
    176         if ($property eq "nullNamespace") {
    177             $parameter = $elementName.(ucfirst $property);
    178         }
    179 
    180         die "Unknown parameter $property for tags/attrs\n" if !defined($parameters{$parameter});
    181         $parameters{$parameter} = $properties{$property};
    182     }
     152    die "Unknown parameter $parameter for tags/attrs\n" if !defined($parameters{$parameter});
     153    $parameters{$parameter} = $value;
    183154}
    184155
     
    187158sub readNames
    188159{
    189     my $namesFile = shift;
     160    my ($namesFile, $type) = @_;
    190161
    191162    my $names = new IO::File;
     163
    192164    if ($extraDefines eq 0) {
    193165        open($names, $preprocessor . " " . $namesFile . "|") or die "Failed to open file: $namesFile";
     
    200172    my $attrsCount = keys %attrs;
    201173
    202     my $documentRef = parsefile($names);
    203 
    204     # XML::Tiny returns an array reference to a hash containing the different properties
    205     my %document = %{@$documentRef[0]};
    206     my $name = $document{'name'};
    207 
    208     # Check root element to determine what we are parsing
    209     switch($name) {
     174    my $InParser = InFilesParser->new();
     175
     176    switch ($type) {
    210177        case "tags" {
    211             parseParameters(\%{$document{'attrib'}}, $name);
    212             parseTags(\@{$document{'content'}});
     178            $InParser->parse($names, \&parametersHandler, \&tagsHandler);
    213179        }
    214180        case "attrs" {
    215             parseParameters(\%{$document{'attrib'}}, $name);
    216             parseAttrs(\@{$document{'content'}});
    217         } else {
    218             die "Do not know how to parse file starting with $name!\n";
     181            $InParser->parse($names, \&parametersHandler, \&attrsHandler);
     182        }
     183        else {
     184            die "Do not know how to parse $type";
    219185        }
    220186    }
  • trunk/WebCore/html/HTMLAttributeNames.in

    r35206 r35322  
    1 <attrs namespace="HTML" namespacePrefix="xhtml" cppNamespace="WebCore" namespaceURI="http://www.w3.org/1999/xhtml" generateFactory="1" generateWrapperFactory="1" nullNamespace="1">
    2 <abbr/>
    3 <accept_charset/>
    4 <accept/>
    5 <accesskey/>
    6 <action/>
    7 <align/>
    8 <alink/>
    9 <alt/>
    10 <archive/>
    11 <aria-activedescendant/>
    12 <aria-checked/>
    13 <aria-describedby/>
    14 <aria-labeledby/>
    15 <aria-labelledby/>
    16 <aria-level/>
    17 <aria-pressed/>
    18 <aria-valuemax/>
    19 <aria-valuemin/>
    20 <aria-valuenow/>
    21 <autocomplete/>
    22 <autofocus/>
    23 <autoplay/>
    24 <autosave/>
    25 <axis/>
    26 <background/>
    27 <behavior/>
    28 <bgcolor/>
    29 <bgproperties/>
    30 <border/>
    31 <bordercolor/>
    32 <cellpadding/>
    33 <cellspacing/>
    34 <char/>
    35 <challenge/>
    36 <charoff/>
    37 <charset/>
    38 <checked/>
    39 <cellborder/>
    40 <cite/>
    41 <class exportString="1"/>
    42 <classid/>
    43 <clear/>
    44 <code/>
    45 <codebase/>
    46 <codetype/>
    47 <color/>
    48 <cols/>
    49 <colspan/>
    50 <compact/>
    51 <composite/>
    52 <content/>
    53 <contenteditable/>
    54 <controls/>
    55 <coords/>
    56 <data/>
    57 <datetime/>
    58 <declare/>
    59 <defer/>
    60 <dir/>
    61 <direction/>
    62 <disabled/>
    63 <enctype/>
    64 <end/>
    65 <face/>
    66 <for/>
    67 <frame/>
    68 <frameborder/>
    69 <headers/>
    70 <height/>
    71 <hidden/>
    72 <href/>
    73 <hreflang/>
    74 <hspace/>
    75 <http_equiv/>
    76 <id/>
    77 <incremental/>
    78 <ismap/>
    79 <keytype/>
    80 <label/>
    81 <lang/>
    82 <language/>
    83 <left/>
    84 <leftmargin/>
    85 <link/>
    86 <longdesc/>
    87 <loop/>
    88 <playcount/>
    89 <loopend/>
    90 <loopstart/>
    91 <lowsrc/>
    92 <manifest/>
    93 <marginheight/>
    94 <marginwidth/>
    95 <max/>
    96 <maxlength/>
    97 <mayscript/>
    98 <media/>
    99 <method/>
    100 <min/>
    101 <multiple/>
    102 <name/>
    103 <nohref/>
    104 <noresize/>
    105 <noshade/>
    106 <nowrap/>
    107 <object/>
    108 <onabort/>
    109 <onbeforecopy/>
    110 <onbeforecut/>
    111 <onbeforepaste/>
    112 <onbeforeunload/>
    113 <onblur/>
    114 <onchange/>
    115 <onclick/>
    116 <oncontextmenu/>
    117 <oncopy/>
    118 <oncut/>
    119 <ondblclick/>
    120 <ondrag/>
    121 <ondragend/>
    122 <ondragenter/>
    123 <ondragleave/>
    124 <ondragover/>
    125 <ondragstart/>
    126 <ondrop/>
    127 <onerror/>
    128 <onfocus/>
    129 <oninput/>
    130 <onkeydown/>
    131 <onkeypress/>
    132 <onkeyup/>
    133 <onload/>
    134 <onmousedown/>
    135 <onmousemove/>
    136 <onmouseout/>
    137 <onmouseover/>
    138 <onmouseup/>
    139 <onmousewheel/>
    140 <onpaste/>
    141 <onreset/>
    142 <onresize/>
    143 <onscroll/>
    144 <onsearch/>
    145 <onselect/>
    146 <onselectstart/>
    147 <onstorage/>
    148 <onsubmit/>
    149 <onunload/>
    150 <pagex/>
    151 <pagey/>
    152 <placeholder/>
    153 <plain/>
    154 <pluginpage/>
    155 <pluginspage/>
    156 <pluginurl/>
    157 <poster/>
    158 <precision/>
    159 <profile/>
    160 <prompt/>
    161 <readonly/>
    162 <rel/>
    163 <results/>
    164 <rev/>
    165 <role/>
    166 <rows/>
    167 <rowspan/>
    168 <rules/>
    169 <scheme/>
    170 <scope/>
    171 <scrollamount/>
    172 <scrolldelay/>
    173 <scrolling/>
    174 <selected/>
    175 <shape/>
    176 <size/>
    177 <span/>
    178 <src/>
    179 <standby/>
    180 <start/>
    181 <style/>
    182 <summary/>
    183 <tabindex/>
    184 <tableborder/>
    185 <target/>
    186 <text/>
    187 <title/>
    188 <top/>
    189 <topmargin/>
    190 <truespeed/>
    191 <type/>
    192 <usemap/>
    193 <valign/>
    194 <value/>
    195 <valuetype/>
    196 <version/>
    197 <viewsource/>
    198 <vlink/>
    199 <vspace/>
    200 <width/>
    201 <wrap/>
    202 </attrs>
     1namespace="HTML"
     2namespacePrefix="xhtml"
     3cppNamespace="WebCore"
     4namespaceURI="http://www.w3.org/1999/xhtml"
     5generateFactory="1"
     6generateWrapperFactory="1"
     7attrsNullNamespace="1"
     8
     9abbr
     10accept_charset
     11accept
     12accesskey
     13action
     14align
     15alink
     16alt
     17archive
     18aria-activedescendant
     19aria-checked
     20aria-describedby
     21aria-labeledby
     22aria-labelledby
     23aria-level
     24aria-pressed
     25aria-valuemax
     26aria-valuemin
     27aria-valuenow
     28autocomplete
     29autofocus
     30autoplay
     31autosave
     32axis
     33background
     34behavior
     35bgcolor
     36bgproperties
     37border
     38bordercolor
     39cellpadding
     40cellspacing
     41char
     42challenge
     43charoff
     44charset
     45checked
     46cellborder
     47cite
     48class exportString="1"
     49classid
     50clear
     51code
     52codebase
     53codetype
     54color
     55cols
     56colspan
     57compact
     58composite
     59content
     60contenteditable
     61controls
     62coords
     63data
     64datetime
     65declare
     66defer
     67dir
     68direction
     69disabled
     70enctype
     71end
     72face
     73for
     74frame
     75frameborder
     76headers
     77height
     78hidden
     79href
     80hreflang
     81hspace
     82http_equiv
     83id
     84incremental
     85ismap
     86keytype
     87label
     88lang
     89language
     90left
     91leftmargin
     92link
     93longdesc
     94loop
     95playcount
     96loopend
     97loopstart
     98lowsrc
     99manifest
     100marginheight
     101marginwidth
     102max
     103maxlength
     104mayscript
     105media
     106method
     107min
     108multiple
     109name
     110nohref
     111noresize
     112noshade
     113nowrap
     114object
     115onabort
     116onbeforecopy
     117onbeforecut
     118onbeforepaste
     119onbeforeunload
     120onblur
     121onchange
     122onclick
     123oncontextmenu
     124oncopy
     125oncut
     126ondblclick
     127ondrag
     128ondragend
     129ondragenter
     130ondragleave
     131ondragover
     132ondragstart
     133ondrop
     134onerror
     135onfocus
     136oninput
     137onkeydown
     138onkeypress
     139onkeyup
     140onload
     141onmousedown
     142onmousemove
     143onmouseout
     144onmouseover
     145onmouseup
     146onmousewheel
     147onpaste
     148onreset
     149onresize
     150onscroll
     151onsearch
     152onselect
     153onselectstart
     154onstorage
     155onsubmit
     156onunload
     157pagex
     158pagey
     159placeholder
     160plain
     161pluginpage
     162pluginspage
     163pluginurl
     164poster
     165precision
     166profile
     167prompt
     168readonly
     169rel
     170results
     171rev
     172role
     173rows
     174rowspan
     175rules
     176scheme
     177scope
     178scrollamount
     179scrolldelay
     180scrolling
     181selected
     182shape
     183size
     184span
     185src
     186standby
     187start
     188style
     189summary
     190tabindex
     191tableborder
     192target
     193text
     194title
     195top
     196topmargin
     197truespeed
     198type
     199usemap
     200valign
     201value
     202valuetype
     203version
     204viewsource
     205vlink
     206vspace
     207width
     208wrap
  • trunk/WebCore/html/HTMLTagNames.in

    r34484 r35322  
    1 <tags namespace="HTML" namespacePrefix="xhtml" cppNamespace="WebCore" namespaceURI="http://www.w3.org/1999/xhtml" generateFactory="1" generateWrapperFactory="1">
    2 <a upperCase="Anchor"/>
    3 <abbr/>
    4 <acronym/>
    5 <address/>
    6 <applet/>
    7 <area/>
     1namespace="HTML"
     2namespacePrefix="xhtml"
     3cppNamespace="WebCore"
     4namespaceURI="http://www.w3.org/1999/xhtml"
     5generateFactory="1"
     6generateWrapperFactory="1"
     7
     8a upperCase=Anchor
     9abbr
     10acronym
     11address
     12applet
     13area
    814#if ENABLE_VIDEO
    9 <audio applyAudioHack="1"/>
     15audio applyAudioHack=1
    1016#endif
    11 <b/>
    12 <base/>
    13 <basefont upperCase="BaseFont"/>
    14 <bdo/>
    15 <big/>
    16 <blockquote/>
    17 <body/>
    18 <br upperCase="BR"/>
    19 <button/>
    20 <canvas/>
    21 <caption upperCase="TableCaption"/>
    22 <center/>
    23 <cite/>
    24 <code/>
    25 <col upperCase="TableCol"/>
    26 <colgroup/>
    27 <dd/>
    28 <del upperCase="Mod"/>
    29 <dfn/>
    30 <dir upperCase="Directory"/>
    31 <div/>
    32 <dl upperCase="DList"/>
    33 <dt/>
    34 <em/>
    35 <embed/>
    36 <fieldset upperCase="FieldSet"/>
    37 <font/>
    38 <form/>
    39 <frame/>
    40 <frameset upperCase="FrameSet"/>
    41 <head/>
    42 <h1 upperCase="Heading"/>
    43 <h2/>
    44 <h3/>
    45 <h4/>
    46 <h5/>
    47 <h6/>
    48 <hr upperCase="HR"/>
    49 <html/>
    50 <i/>
    51 <iframe upperCase="IFrame"/>
    52 <image/>
    53 <img upperCase="Image"/>
    54 <input/>
    55 <ins/>
    56 <isindex upperCase="IsIndex"/>
    57 <kbd/>
    58 <keygen/>
    59 <label/>
    60 <layer/>
    61 <legend/>
    62 <li upperCase="LI"/>
    63 <link/>
    64 <listing/>
    65 <map/>
    66 <marquee/>
    67 <menu/>
    68 <meta/>
    69 <nobr/>
    70 <noembed/>
    71 <noframes/>
    72 <nolayer/>
    73 <noscript/>
    74 <object/>
    75 <ol upperCase="OList"/>
    76 <optgroup upperCase="OptGroup"/>
    77 <option/>
    78 <p upperCase="Paragraph"/>
    79 <param/>
    80 <plaintext/>
    81 <pre/>
    82 <q upperCase="Quote"/>
    83 <s/>
    84 <samp/>
    85 <script/>
    86 <select/>
    87 <small/>
     17b
     18base
     19basefont upperCase=BaseFont
     20bdo
     21big
     22blockquote
     23body
     24br upperCase=BR
     25button
     26canvas
     27caption upperCase=TableCaption
     28center
     29cite
     30code
     31col upperCase=TableCol
     32colgroup
     33dd
     34del upperCase=Mod
     35dfn
     36dir upperCase=Directory
     37div
     38dl upperCase=DList
     39dt
     40em
     41embed
     42fieldset upperCase=FieldSet
     43font
     44form
     45frame
     46frameset upperCase=FrameSet
     47head
     48h1 upperCase=Heading
     49h2
     50h3
     51h4
     52h5
     53h6
     54hr upperCase=HR
     55html
     56i
     57iframe upperCase=IFrame
     58image
     59img upperCase=Image
     60input
     61ins
     62isindex upperCase=IsIndex
     63kbd
     64keygen
     65label
     66layer
     67legend
     68li upperCase=LI
     69link
     70listing
     71map
     72marquee
     73menu
     74meta
     75nobr
     76noembed
     77noframes
     78nolayer
     79noscript
     80object
     81ol upperCase=OList
     82optgroup upperCase=OptGroup
     83option
     84p upperCase=Paragraph
     85param
     86plaintext
     87pre
     88q upperCase=Quote
     89s
     90samp
     91script
     92select
     93small
    8894#if ENABLE_VIDEO
    89 <source applyAudioHack="1"/>
     95source applyAudioHack=1
    9096#endif
    91 <span/>
    92 <strike/>
    93 <strong/>
    94 <style/>
    95 <sub/>
    96 <sup/>
    97 <table/>
    98 <tbody upperCase="TableSection"/>
    99 <td upperCase="TableCell"/>
    100 <textarea upperCase="TextArea"/>
    101 <tfoot/>
    102 <th/>
    103 <thead/>
    104 <title/>
    105 <tr upperCase="TableRow"/>
    106 <tt/>
    107 <u/>
    108 <ul upperCase="UList"/>
    109 <var/>
     97span
     98strike
     99strong
     100style
     101sub
     102sup
     103table
     104tbody upperCase=TableSection
     105td upperCase=TableCell
     106textarea upperCase=TextArea
     107tfoot
     108th
     109thead
     110title
     111tr upperCase=TableRow
     112tt
     113u
     114ul upperCase=UList
     115var
    110116#if ENABLE_VIDEO
    111 <video applyAudioHack="1"/>
     117video applyAudioHack=1
    112118#endif
    113 <wbr/>
    114 <xmp/>
    115 </tags>
     119wbr
     120xmp
  • trunk/WebCore/svg/svgattrs.in

    r35206 r35322  
    1 <attrs namespace="SVG" cppNamespace="WebCore" namespaceURI="http://www.w3.org/2000/svg" generateFactory="1" generateWrapperFactory="1" guardFactoryWith="ENABLE(SVG)" nullNamespace="1" exportStrings="1">
    2 <accent-height/>
    3 <accumulate/>
    4 <additive/>
    5 <alignment-baseline/>
    6 <alphabetic/>
    7 <amplitude/>
    8 <animate/>
    9 <arabic-form/>
    10 <ascent/>
    11 <attributeName/>
    12 <attributeType/>
    13 <azimuth/>
    14 <baseFrequency/>
    15 <baseline-shift/>
    16 <baseProfile/>
    17 <bbox/>
    18 <begin/>
    19 <bias/>
    20 <by/>
    21 <calcMode/>
    22 <cap-height/>
    23 <clip/>
    24 <clip-path/>
    25 <clip-rule/>
    26 <clipPathUnits/>
    27 <color/>
    28 <color-interpolation/>
    29 <color-interpolation-filters/>
    30 <color-profile/>
    31 <color-rendering/>
    32 <contentScriptType/>
    33 <contentStyleType/>
    34 <cursor/>
    35 <cx/>
    36 <cy/>
    37 <d/>
    38 <descent/>
    39 <diffuseConstant/>
    40 <direction/>
    41 <display/>
    42 <divisor/>
    43 <dominant-baseline/>
    44 <dur/>
    45 <dx/>
    46 <dy/>
    47 <edgeMode/>
    48 <elevation/>
    49 <enable-background/>
    50 <end/>
    51 <exponent/>
    52 <externalResourcesRequired/>
    53 <feColorMatrix/>
    54 <feComposite/>
    55 <feGaussianBlur/>
    56 <feMorphology/>
    57 <feTile/>
    58 <fill/>
    59 <fill-opacity/>
    60 <fill-rule/>
    61 <filter/>
    62 <filterRes/>
    63 <filterUnits/>
    64 <flood-color/>
    65 <flood-opacity/>
    66 <font-family/>
    67 <font-size/>
    68 <font-size-adjust/>
    69 <font-stretch/>
    70 <font-style/>
    71 <font-variant/>
    72 <font-weight/>
    73 <format/>
    74 <from/>
    75 <fx/>
    76 <fy/>
    77 <g1/>
    78 <g2/>
    79 <glyph-name/>
    80 <glyph-orientation-horizontal/>
    81 <glyph-orientation-vertical/>
    82 <glyphRef/>
    83 <gradientTransform/>
    84 <gradientUnits/>
    85 <hanging/>
    86 <height/>
    87 <horiz-adv-x/>
    88 <horiz-origin-x/>
    89 <horiz-origin-y/>
    90 <ideographic/>
    91 <image-rendering/>
    92 <in/>
    93 <in2/>
    94 <intercept/>
    95 <k/>
    96 <k1/>
    97 <k2/>
    98 <k3/>
    99 <k4/>
    100 <kernelMatrix/>
    101 <kernelUnitLength/>
    102 <kerning/>
    103 <keyPoints/>
    104 <keySplines/>
    105 <keyTimes/>
    106 <lang/>
    107 <lengthAdjust/>
    108 <letter-spacing/>
    109 <lighting-color/>
    110 <limitingConeAngle/>
    111 <local/>
    112 <marker-end/>
    113 <marker-mid/>
    114 <marker-start/>
    115 <markerHeight/>
    116 <markerUnits/>
    117 <markerWidth/>
    118 <mask/>
    119 <maskContentUnits/>
    120 <maskUnits/>
    121 <mathematical/>
    122 <max/>
    123 <media/>
    124 <method/>
    125 <min/>
    126 <mode/>
    127 <name/>
    128 <numOctaves/>
    129 <offset/>
    130 <onactivate/>
    131 <onbegin/>
    132 <onend/>
    133 <onfocusin/>
    134 <onfocusout/>
    135 <onrepeat/>
    136 <onzoom/>
    137 <opacity/>
    138 <operator/>
    139 <order/>
    140 <orient/>
    141 <orientation/>
    142 <origin/>
    143 <overflow/>
    144 <overline-position/>
    145 <overline-thickness/>
    146 <panose-1/>
    147 <path/>
    148 <pathLength/>
    149 <patternContentUnits/>
    150 <patternTransform/>
    151 <patternUnits/>
    152 <pointer-events/>
    153 <points/>
    154 <pointsAtX/>
    155 <pointsAtY/>
    156 <pointsAtZ/>
    157 <preserveAlpha/>
    158 <preserveAspectRatio/>
    159 <primitiveUnits/>
    160 <r/>
    161 <radius/>
    162 <refX/>
    163 <refY/>
    164 <rendering-intent/>
    165 <repeatCount/>
    166 <repeatDur/>
    167 <requiredExtensions/>
    168 <requiredFeatures/>
    169 <restart/>
    170 <result/>
    171 <rotate/>
    172 <rx/>
    173 <ry/>
    174 <scale/>
    175 <seed/>
    176 <shape-rendering/>
    177 <slope/>
    178 <spacing/>
    179 <specularConstant/>
    180 <specularExponent/>
    181 <spreadMethod/>
    182 <startOffset/>
    183 <stdDeviation/>
    184 <stemh/>
    185 <stemv/>
    186 <stitchTiles/>
    187 <stop-color/>
    188 <stop-opacity/>
    189 <strikethrough-position/>
    190 <strikethrough-thickness/>
    191 <stroke/>
    192 <stroke-dasharray/>
    193 <stroke-dashoffset/>
    194 <stroke-linecap/>
    195 <stroke-linejoin/>
    196 <stroke-miterlimit/>
    197 <stroke-opacity/>
    198 <stroke-width/>
    199 <style/>
    200 <surfaceScale/>
    201 <systemLanguage/>
    202 <tableValues/>
    203 <target/>
    204 <targetX/>
    205 <targetY/>
    206 <text-anchor/>
    207 <text-decoration/>
    208 <text-rendering/>
    209 <textLength/>
    210 <title/>
    211 <to/>
    212 <transform/>
    213 <type/>
    214 <u1/>
    215 <u2/>
    216 <underline-position/>
    217 <underline-thickness/>
    218 <unicode/>
    219 <unicode-bidi/>
    220 <unicode-range/>
    221 <units-per-em/>
    222 <v-alphabetic/>
    223 <v-hanging/>
    224 <v-ideographic/>
    225 <v-mathematical/>
    226 <values/>
    227 <version/>
    228 <vert-adv-y/>
    229 <vert-origin-x/>
    230 <vert-origin-y/>
    231 <viewBox/>
    232 <viewTarget/>
    233 <visibility/>
    234 <width/>
    235 <widths/>
    236 <word-spacing/>
    237 <writing-mode/>
    238 <x/>
    239 <x-height/>
    240 <x1/>
    241 <x2/>
    242 <xChannelSelector/>
    243 <y/>
    244 <y1/>
    245 <y2/>
    246 <yChannelSelector/>
    247 <z/>
    248 <zoomAndPan/>
    249 </attrs>
     1namespace="SVG"
     2cppNamespace="WebCore"
     3namespaceURI="http://www.w3.org/2000/svg"
     4generateFactory="1"
     5generateWrapperFactory="1"
     6guardFactoryWith="ENABLE(SVG)"
     7attrsNullNamespace="1"
     8exportStrings="1"
     9
     10accent-height
     11accumulate
     12additive
     13alignment-baseline
     14alphabetic
     15amplitude
     16animate
     17arabic-form
     18ascent
     19attributeName
     20attributeType
     21azimuth
     22baseFrequency
     23baseline-shift
     24baseProfile
     25bbox
     26begin
     27bias
     28by
     29calcMode
     30cap-height
     31clip
     32clip-path
     33clip-rule
     34clipPathUnits
     35color
     36color-interpolation
     37color-interpolation-filters
     38color-profile
     39color-rendering
     40contentScriptType
     41contentStyleType
     42cursor
     43cx
     44cy
     45d
     46descent
     47diffuseConstant
     48direction
     49display
     50divisor
     51dominant-baseline
     52dur
     53dx
     54dy
     55edgeMode
     56elevation
     57enable-background
     58end
     59exponent
     60externalResourcesRequired
     61feColorMatrix
     62feComposite
     63feGaussianBlur
     64feMorphology
     65feTile
     66fill
     67fill-opacity
     68fill-rule
     69filter
     70filterRes
     71filterUnits
     72flood-color
     73flood-opacity
     74font-family
     75font-size
     76font-size-adjust
     77font-stretch
     78font-style
     79font-variant
     80font-weight
     81format
     82from
     83fx
     84fy
     85g1
     86g2
     87glyph-name
     88glyph-orientation-horizontal
     89glyph-orientation-vertical
     90glyphRef
     91gradientTransform
     92gradientUnits
     93hanging
     94height
     95horiz-adv-x
     96horiz-origin-x
     97horiz-origin-y
     98ideographic
     99image-rendering
     100in
     101in2
     102intercept
     103k
     104k1
     105k2
     106k3
     107k4
     108kernelMatrix
     109kernelUnitLength
     110kerning
     111keyPoints
     112keySplines
     113keyTimes
     114lang
     115lengthAdjust
     116letter-spacing
     117lighting-color
     118limitingConeAngle
     119local
     120marker-end
     121marker-mid
     122marker-start
     123markerHeight
     124markerUnits
     125markerWidth
     126mask
     127maskContentUnits
     128maskUnits
     129mathematical
     130max
     131media
     132method
     133min
     134mode
     135name
     136numOctaves
     137offset
     138onactivate
     139onbegin
     140onend
     141onfocusin
     142onfocusout
     143onrepeat
     144onzoom
     145opacity
     146operator
     147order
     148orient
     149orientation
     150origin
     151overflow
     152overline-position
     153overline-thickness
     154panose-1
     155path
     156pathLength
     157patternContentUnits
     158patternTransform
     159patternUnits
     160pointer-events
     161points
     162pointsAtX
     163pointsAtY
     164pointsAtZ
     165preserveAlpha
     166preserveAspectRatio
     167primitiveUnits
     168r
     169radius
     170refX
     171refY
     172rendering-intent
     173repeatCount
     174repeatDur
     175requiredExtensions
     176requiredFeatures
     177restart
     178result
     179rotate
     180rx
     181ry
     182scale
     183seed
     184shape-rendering
     185slope
     186spacing
     187specularConstant
     188specularExponent
     189spreadMethod
     190startOffset
     191stdDeviation
     192stemh
     193stemv
     194stitchTiles
     195stop-color
     196stop-opacity
     197strikethrough-position
     198strikethrough-thickness
     199stroke
     200stroke-dasharray
     201stroke-dashoffset
     202stroke-linecap
     203stroke-linejoin
     204stroke-miterlimit
     205stroke-opacity
     206stroke-width
     207style
     208surfaceScale
     209systemLanguage
     210tableValues
     211target
     212targetX
     213targetY
     214text-anchor
     215text-decoration
     216text-rendering
     217textLength
     218title
     219to
     220transform
     221type
     222u1
     223u2
     224underline-position
     225underline-thickness
     226unicode
     227unicode-bidi
     228unicode-range
     229units-per-em
     230v-alphabetic
     231v-hanging
     232v-ideographic
     233v-mathematical
     234values
     235version
     236vert-adv-y
     237vert-origin-x
     238vert-origin-y
     239viewBox
     240viewTarget
     241visibility
     242width
     243widths
     244word-spacing
     245writing-mode
     246x
     247x-height
     248x1
     249x2
     250xChannelSelector
     251y
     252y1
     253y2
     254yChannelSelector
     255z
     256zoomAndPan
  • trunk/WebCore/svg/svgtags.in

    r35206 r35322  
    1 <tags namespace="SVG" cppNamespace="WebCore" namespaceURI="http://www.w3.org/2000/svg" generateFactory="1" generateWrapperFactory="1" guardFactoryWith="ENABLE(SVG)" exportStrings="1">
    2 <a/>
     1namespace="SVG"
     2cppNamespace="WebCore"
     3namespaceURI="http://www.w3.org/2000/svg"
     4generateFactory="1"
     5generateWrapperFactory="1"
     6guardFactoryWith="ENABLE(SVG)"
     7exportStrings="1"
     8
     9a
    310#if ENABLE_SVG_FONTS
    4 <altGlyph/>
     11altGlyph
    512#endif
    613#if 0
    7 <altGlyphDef/>
    8 <altGlyphItem/>
     14altGlyphDef
     15altGlyphItem
    916#endif
    1017#ifdef ENABLE_SVG_ANIMATION
    11 <animate/>
    12 <animateColor/>
    13 <animateMotion/>
    14 <animateTransform/>
    15 <set/>
     18animate
     19animateColor
     20animateMotion
     21animateTransform
     22set
    1623#endif
    17 <circle/>
    18 <clipPath/>
     24circle
     25clipPath
    1926#if 0
    20 <color_profile/>
     27color_profile
    2128#endif
    22 <cursor/>
     29cursor
    2330#if ENABLE_SVG_FONTS
    24 <definition_src/>
     31definition_src
    2532#endif
    26 <defs/>
    27 <desc/>
    28 <ellipse/>
     33defs
     34desc
     35ellipse
    2936#ifdef ENABLE_SVG_FILTERS
    30 <feBlend/>
    31 <feColorMatrix/>
    32 <feComponentTransfer/>
    33 <feComposite/>
     37feBlend
     38feColorMatrix
     39feComponentTransfer
     40feComposite
    3441#if 0
    35 <feConvolveMatrix/>
     42feConvolveMatrix
    3643#endif
    37 <feDiffuseLighting/>
    38 <feDisplacementMap/>
    39 <feDistantLight/>
    40 <feFlood/>
    41 <feFuncA/>
    42 <feFuncB/>
    43 <feFuncG/>
    44 <feFuncR/>
    45 <feGaussianBlur/>
    46 <feImage/>
    47 <feMerge/>
    48 <feMergeNode/>
     44feDiffuseLighting
     45feDisplacementMap
     46feDistantLight
     47feFlood
     48feFuncA
     49feFuncB
     50feFuncG
     51feFuncR
     52feGaussianBlur
     53feImage
     54feMerge
     55feMergeNode
    4956#if 0
    50 <feMorphology/>
     57feMorphology
    5158#endif
    52 <feOffset/>
    53 <fePointLight/>
    54 <feSpecularLighting/>
    55 <feSpotLight/>
    56 <feTile/>
    57 <feTurbulence/>
    58 <filter/>
     59feOffset
     60fePointLight
     61feSpecularLighting
     62feSpotLight
     63feTile
     64feTurbulence
     65filter
    5966#endif
    6067#ifdef ENABLE_SVG_FONTS
    61 <font/>
    62 <font_face/>
    63 <font_face_format/>
    64 <font_face_name/>
    65 <font_face_src/>
    66 <font_face_uri/>
     68font
     69font_face
     70font_face_format
     71font_face_name
     72font_face_src
     73font_face_uri
    6774#endif
    6875#ifdef ENABLE_SVG_FOREIGN_OBJECT
    69 <foreignObject/>
     76foreignObject
    7077#endif
    71 <g/>
     78g
    7279#ifdef ENABLE_SVG_FONTS
    73 <glyph/>
     80glyph
    7481#endif
    7582#if 0
    76 <glyphRef/>
     83glyphRef
    7784#endif
    7885#ifdef ENABLE_SVG_FONTS
    79 <hkern upperCase="HKern"/>
     86hkern upperCase="HKern"
    8087#endif
    81 <image/>
    82 <line/>
    83 <linearGradient/>
    84 <marker/>
    85 <mask/>
    86 <metadata/>
     88image
     89line
     90linearGradient
     91marker
     92mask
     93metadata
    8794#ifdef ENABLE_SVG_FONTS
    88 <missing_glyph/>
     95missing_glyph
    8996#endif
    90 <mpath upperCase="MPath"/>
    91 <path/>
    92 <pattern/>
    93 <polygon/>
    94 <polyline/>
    95 <radialGradient/>
    96 <rect/>
    97 <script/>
    98 <stop/>
    99 <style/>
    100 <svg upperCase="SVG"/>
    101 <switch/>
    102 <symbol/>
    103 <text/>
    104 <textPath/>
    105 <title/>
    106 <tref upperCase="TRef"/>
    107 <tspan upperCase="TSpan"/>
    108 <use/>
    109 <view/>
     97mpath upperCase="MPath"
     98path
     99pattern
     100polygon
     101polyline
     102radialGradient
     103rect
     104script
     105stop
     106style
     107svg upperCase="SVG"
     108switch
     109symbol
     110text
     111textPath
     112title
     113tref upperCase="TRef"
     114tspan upperCase="TSpan"
     115use
     116view
    110117#if 0
    111 <vkern upperCase="VKern"/>
     118vkern upperCase="VKern"
    112119#endif
    113 </tags>
  • trunk/WebCore/svg/xlinkattrs.in

    r35206 r35322  
    1 <attrs namespace="XLink" cppNamespace="WebCore" namespaceURI="http://www.w3.org/1999/xlink" exportStrings="1">
    2 <actuate/>
    3 <arcrole/>
    4 <href/>
    5 <role/>
    6 <show/>
    7 <title/>
    8 <type/>
    9 </attrs>
     1namespace="XLink"
     2cppNamespace="WebCore"
     3namespaceURI="http://www.w3.org/1999/xlink"
     4exportStrings="1"
     5
     6actuate
     7arcrole
     8href
     9role
     10show
     11title
     12type
  • trunk/WebCore/xml/xmlattrs.in

    r34467 r35322  
    1 <attrs namespace="XML" cppNamespace="WebCore" namespaceURI="http://www.w3.org/XML/1998/namespace">
    2 <base/>
    3 <lang/>
    4 <space/>
    5 </attrs>
     1namespace="XML"
     2cppNamespace="WebCore"
     3namespaceURI="http://www.w3.org/XML/1998/namespace"
     4
     5base
     6lang
     7space
Note: See TracChangeset for help on using the changeset viewer.