<?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>10343</bug_id>
          
          <creation_ts>2006-08-11 00:16:50 -0700</creation_ts>
          <short_desc>Windows portability fixes</short_desc>
          <delta_ts>2006-08-24 20:29:56 -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>DUPLICATE</resolution>
          <dup_id>10553</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Krzysztof Kowalczyk">kkowalczyk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52215</commentid>
    <comment_count>0</comment_count>
    <who name="Krzysztof Kowalczyk">kkowalczyk</who>
    <bug_when>2006-08-11 00:16:50 -0700</bug_when>
    <thetext>1. CSSValueKeywords.in has empty lines which, they end up in CSSValueKeywords.gperf because makevalues script doesn&apos;t filter them out, this makes gperf fail and the build will fail because CSSValueKeywords.* are not properly generated

Fix is to remove empty lines (as in attached patch) or fix makevalues script to filter them out.

2. ENCODING_PREFIX in build-generated-files.sh needs to be defined as &quot;\&quot; \&quot;&quot;, otherwise it&apos;ll end up being nothing in DerivedSources.make and the followig line will fail:

CharsetData.cpp : platform/make-charset-table.pl platform/character-sets.txt $(ENCODINGS_FILE)
	perl $^ $(ENCODINGS_PREFIX) &gt; $@

A comment about that is in make-generated-sources.sh (but it&apos;s probably not used anymore). In general, this is very fragile so even a better fix would be good (one that adds some diagnostics to scripts - diagnosing build problems due to one of those scripts that auto-generate files failing isn&apos;t easy).

Also, it would be nice if VS build would stop if pre-build event fails, because going on is usually pointless since it&apos;ll stop at some much later point with obscure error. Unfortuantely, I don&apos;t know the required VS magic (if one exists).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52216</commentid>
    <comment_count>1</comment_count>
      <attachid>9975</attachid>
    <who name="Krzysztof Kowalczyk">kkowalczyk</who>
    <bug_when>2006-08-11 00:17:43 -0700</bug_when>
    <thetext>Created attachment 9975
Fixes for the 2 problems</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52255</commentid>
    <comment_count>2</comment_count>
      <attachid>9975</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-08-11 13:58:53 -0700</bug_when>
    <thetext>Comment on attachment 9975
Fixes for the 2 problems

The second fix looks fine.  The first fix really should be to fix the script and not make the data file harder to read.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52703</commentid>
    <comment_count>3</comment_count>
      <attachid>9975</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-08-15 21:17:28 -0700</bug_when>
    <thetext>Comment on attachment 9975
Fixes for the 2 problems

I agree with Eric&apos;s comment. The fix for build-generated-files.sh is fine, but the fix for CSSValueKeywords.in should be in the script, not the source file. Since this one patch contains both, review- for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53479</commentid>
    <comment_count>4</comment_count>
    <who name="Krzysztof Kowalczyk">kkowalczyk</who>
    <bug_when>2006-08-24 20:29:56 -0700</bug_when>
    <thetext>Patch in 10553 has this fix too. Trying to consolidate the changes into one bug.

*** This bug has been marked as a duplicate of 10553 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>9975</attachid>
            <date>2006-08-11 00:17:43 -0700</date>
            <delta_ts>2006-08-15 21:17:28 -0700</delta_ts>
            <desc>Fixes for the 2 problems</desc>
            <filename>win-fixes.txt</filename>
            <type>text/plain</type>
            <size>2383</size>
            <attacher name="Krzysztof Kowalczyk">kkowalczyk</attacher>
            
              <data encoding="base64">SW5kZXg6IGNzcy9DU1NWYWx1ZUtleXdvcmRzLmluCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGNzcy9DU1NWYWx1
ZUtleXdvcmRzLmluCShyZXZpc2lvbiAxNTgzMCkKKysrIGNzcy9DU1NWYWx1ZUtleXdvcmRzLmlu
CSh3b3JraW5nIGNvcHkpCkBAIC0zNDMsNyArMzQzLDYgQEAKIHRoaW4KIHVuZGVybGluZQogLXdl
YmtpdC1ub3dyYXAKLQogIyBDU1MzIFZhbHVlcwogIyBDU1NfUFJPUF9CT1hfQUxJR04KIHN0cmV0
Y2gKQEAgLTM1MSwyNyArMzUwLDIyIEBACiBlbmQKICNjZW50ZXIKICNiYXNlbGluZQotCiAjIENT
U19QUk9QX0JPWF9ESVJFQ1RJT04KICMgbm9ybWFsCiByZXZlcnNlCi0KICMgQ1NTX1BST1BfQk9Y
X09SSUVOVAogaG9yaXpvbnRhbAogdmVydGljYWwKIGlubGluZS1heGlzCiBibG9jay1heGlzCi0K
ICMgQ1NTX1BST1BfQk9YX1BBQ0sKICMgc3RhcnQKICMgZW5kCiAjIGNlbnRlcgogIyBqdXN0aWZ5
Ci0KICMgQ1NTX1BST1BfQk9YX0xJTkVTCiBzaW5nbGUKIG11bHRpcGxlCi0KICMgQ1NTX1BST1Bf
TUFSUVVFRV9ESVJFQ1RJT04KIGZvcndhcmRzCiBiYWNrd2FyZHMKQEAgLTM4Miw4NiArMzc2LDcx
IEBACiB1cAogZG93bgogIyBhdXRvCi0KICMgQ1NTX1BST1BfTUFSUVVFRV9TUEVFRAogc2xvd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UZJTkVTPSJYUEFUSF9TVVBQT1JUIgogbWFr
ZSAtZiAiJFdlYkNvcmUvRGVyaXZlZFNvdXJjZXMubWFrZSIgfHwgZXhpdCAxCg==
</data>
<flag name="review"
          id="3089"
          type_id="1"
          status="-"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>