<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9501</bug_id>
          
          <creation_ts>2006-06-18 23:58:00 -0700</creation_ts>
          <short_desc>Windows build fails with link error CharsetTable not defined</short_desc>
          <delta_ts>2006-06-19 20:15:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Ben Goodger">bengoodger</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-webkit</cc>
    
    <cc>gavin.sharp</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46224</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Goodger">bengoodger</who>
    <bug_when>2006-06-18 23:58:00 -0700</bug_when>
    <thetext>Windows builds fail with a link error: CharsetTable is not defined. 

WebCore/DerivedSources/CharsetData.cpp exists, but is empty. In the build log there is a report that a script failed whilst running. It seems that the script that generates this file - make-charset-table.pl - is having difficulty. 

make-charset-table.pl does not properly normalize alias names in subroutine process_iana_charsets. character-sets.txt has some Alias: lines that have escape characters on the end that are not properly chomped, meaning that in more than one case the statement:

next if $new_alias eq &quot;None&quot;;

does not work. 

This needs to be moved after the normalization steps and adjusted to:

next if $new_alias eq &quot;none&quot;;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46230</commentid>
    <comment_count>1</comment_count>
      <attachid>8918</attachid>
    <who name="Ben Goodger">bengoodger</who>
    <bug_when>2006-06-19 00:02:37 -0700</bug_when>
    <thetext>Created attachment 8918
patch

move test for equality to &quot;none&quot; to after normalization steps. 

ChangeLog entry:

* platform/make-charset-table.pl:
(process_iana_charsets):
Move test for equality to alias &quot;None&quot; until after normalization steps
to ensure escape characters in the input data don&apos;t interfere with 
processing.
Convert nearby tabs to 4 spaces in this function.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46290</commentid>
    <comment_count>2</comment_count>
      <attachid>8918</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-06-19 11:31:42 -0700</bug_when>
    <thetext>Comment on attachment 8918
patch

This looks fine -- but I&apos;m working on a patch that eliminates the character set table entirely!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46298</commentid>
    <comment_count>3</comment_count>
      <attachid>8918</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-06-19 13:26:51 -0700</bug_when>
    <thetext>Comment on attachment 8918
patch

Seems fine to land this, but even better to remove this script entirely!

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46333</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-06-19 20:15:03 -0700</bug_when>
    <thetext>Committed revision 14919.
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8918</attachid>
            <date>2006-06-19 00:02:37 -0700</date>
            <delta_ts>2006-06-19 13:26:51 -0700</delta_ts>
            <desc>patch</desc>
            <filename>webcore-20060618.patch</filename>
            <type>text/plain</type>
            <size>1849</size>
            <attacher name="Ben Goodger">bengoodger</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvcGxhdGZvcm0vbWFrZS1jaGFyc2V0LX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ZWVueyRuZXdfYWxpYXN9OwogICAg
ICAgICAgICAgJHNlZW57JG5ld19hbGlhc30gPSAkY2Fub25pY2FsX25hbWU7ICAgICAgICAgICAg
Ci0JfQorICAgICAgICB9CiAgICAgfQogICAgIAogICAgIHByb2Nlc3NfaWFuYV9jaGFyc2V0ICRj
YW5vbmljYWxfbmFtZSwgQGFsaWFzZXM7Cg==
</data>
<flag name="review"
          id="2615"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>