<?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>34378</bug_id>
          
          <creation_ts>2010-01-30 13:31:23 -0800</creation_ts>
          <short_desc>[Qt] WinCE buildfix after r52729</short_desc>
          <delta_ts>2010-02-01 16:39:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>0</everconfirmed>
          <reporter name="Patrick R. Gansterer">paroga</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186127</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-01-30 13:31:23 -0800</bug_when>
    <thetext>Rename WTF_PLATFORM_*_ENDIAN to WTF_CPU_*_ENDIAN</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186128</commentid>
    <comment_count>1</comment_count>
      <attachid>47774</attachid>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-01-30 13:33:45 -0800</bug_when>
    <thetext>Created attachment 47774
The patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186250</commentid>
    <comment_count>2</comment_count>
      <attachid>47774</attachid>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2010-01-31 15:48:26 -0800</bug_when>
    <thetext>Comment on attachment 47774
The patch

LGTM.

Maybe fix that typo (Q_BIG_EDIAN) as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186342</commentid>
    <comment_count>3</comment_count>
      <attachid>47823</attachid>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-02-01 02:44:39 -0800</bug_when>
    <thetext>Created attachment 47823
The patch (typo fixed)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186357</commentid>
    <comment_count>4</comment_count>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2010-02-01 04:19:30 -0800</bug_when>
    <thetext>The patch looks good to me, although the comment says:

   We can not determine the endianess at compile time.

If this comment is not valid anymore, please remove or modify it. Furthermore, please do not set commit‑queue flags in the future. It should only be enabled after your patch is accepted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186359</commentid>
    <comment_count>5</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-02-01 04:31:11 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; The patch looks good to me, although the comment says:
&gt; 
&gt;    We can not determine the endianess at compile time.
&gt; 
&gt; If this comment is not valid anymore, please remove or modify it. Furthermore,
&gt; please do not set commit‑queue flags in the future. It should only be enabled
&gt; after your patch is accepted.
Currently i compile JSC without Qt. Platform.h &quot;dedects&quot; MIDDLE_ENDIAN which is wrong! So i think the comment is valid.

I want to change this to the following in a further patch:
#if OS(WINCE)
#   undef WTF_CPU_BIG_ENDIAN
#   undef WTF_CPU_MIDDLE_ENDIAN
#   if PLATFORM(QT)
#       include &lt;QtGlobal&gt;
#       if Q_BYTE_ORDER == Q_BIG_ENDIAN
#           define WTF_CPU_BIG_ENDIAN 1
#       endif
#   endif
#   include &lt;ce_time.h&gt;
#endif</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186395</commentid>
    <comment_count>6</comment_count>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2010-02-01 06:50:32 -0800</bug_when>
    <thetext>&gt; I want to change this to the following in a further patch:

Fixing fixes is not really a WebKit style. Please do this change in patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186398</commentid>
    <comment_count>7</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-02-01 06:55:52 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; &gt; I want to change this to the following in a further patch:
&gt; 
&gt; Fixing fixes is not really a WebKit style. Please do this change in patch.

What should i do now?
Changing WTF_PLATFORM_*_ENDIAN to WTF_CPU_*_ENDIAN is _only_ a buildfix.
Should i change it to comment #5 or should i change the whole ARM ENDIAN DEDECTION (add ugly OS(WINCE))?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186691</commentid>
    <comment_count>8</comment_count>
      <attachid>47823</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-01 16:39:37 -0800</bug_when>
    <thetext>Comment on attachment 47823
The patch (typo fixed)

Clearing flags on attachment: 47823

Committed r54176: &lt;http://trac.webkit.org/changeset/54176&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186692</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-01 16:39:42 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47774</attachid>
            <date>2010-01-30 13:33:45 -0800</date>
            <delta_ts>2010-02-01 02:44:39 -0800</delta_ts>
            <desc>The patch</desc>
            <filename>bug-34378.patch</filename>
            <type>text/plain</type>
            <size>1078</size>
            <attacher name="Patrick R. Gansterer">paroga</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09P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X0NQVV9CSUdfRU5ESUFOCisjICAgdW5kZWYgV1RGX0NQVV9N
SURETEVfRU5ESUFOCiAjICAgaWYgUV9CWVRFX09SREVSID09IFFfQklHX0VESUFOCi0jICAgICAg
IGRlZmluZSBXVEZfUExBVEZPUk1fQklHX0VORElBTiAxCisjICAgICAgIGRlZmluZSBXVEZfQ1BV
X0JJR19FTkRJQU4gMQogIyAgIGVuZGlmCiAKICMgICBpbmNsdWRlIDxjZV90aW1lLmg+Cg==
</data>
<flag name="review"
          id="30309"
          type_id="1"
          status="+"
          setter="ariya.hidayat"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47823</attachid>
            <date>2010-02-01 02:44:39 -0800</date>
            <delta_ts>2010-02-01 16:39:37 -0800</delta_ts>
            <desc>The patch (typo fixed)</desc>
            <filename>bug-34378.patch</filename>
            <type>text/plain</type>
            <size>1145</size>
            <attacher name="Patrick R. Gansterer">paroga</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDU0MTAzKQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTAtMDEtMzAgIFBhdHJpY2sg
R2Fuc3RlcmVyICA8cGFyb2dhQHBhcm9nYS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9C
T0RZIChPT1BTISkuCisKKyAgICAgICAgW1F0XSBXaW5DRSBidWlsZGZpeCBhZnRlciByNTI3Mjkg
YW5kIGZpeCBmb3IgUV9CSUdfRU5ESUFOIHR5cG8uCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD0zNDM3OAorCisgICAgICAgICogd3RmL1BsYXRmb3JtLmg6
CisKIDIwMTAtMDEtMjkgIE1hcmsgUm93ZSAgPG1yb3dlQGFwcGxlLmNvbT4KIAogICAgICAgICBT
b3J0IFhjb2RlIHByb2plY3RzLgpJbmRleDogSmF2YVNjcmlwdENvcmUvd3RmL1BsYXRmb3JtLmgK
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PQotLS0gSmF2YVNjcmlwdENvcmUvd3RmL1BsYXRmb3JtLmgJKHJldmlzaW9uIDU0
MTAzKQorKysgSmF2YVNjcmlwdENvcmUvd3RmL1BsYXRmb3JtLmgJKHdvcmtpbmcgY29weSkKQEAg
LTQ4MSwxMCArNDgxLDEwIEBACiAqLwogI2lmIE9TKFdJTkNFKSAmJiBQTEFURk9STShRVCkKICMg
ICBpbmNsdWRlIDxRdEdsb2JhbD4KLSMgICB1bmRlZiBXVEZfUExBVEZPUk1fQklHX0VORElBTgot
IyAgIHVuZGVmIFdURl9QTEFURk9STV9NSURETEVfRU5ESUFOCi0jICAgaWYgUV9CWVRFX09SREVS
ID09IFFfQklHX0VESUFOCi0jICAgICAgIGRlZmluZSBXVEZfUExBVEZPUk1fQklHX0VORElBTiAx
CisjICAgdW5kZWYgV1RGX0NQVV9CSUdfRU5ESUFOCisjICAgdW5kZWYgV1RGX0NQVV9NSURETEVf
RU5ESUFOCisjICAgaWYgUV9CWVRFX09SREVSID09IFFfQklHX0VORElBTgorIyAgICAgICBkZWZp
bmUgV1RGX0NQVV9CSUdfRU5ESUFOIDEKICMgICBlbmRpZgogCiAjICAgaW5jbHVkZSA8Y2VfdGlt
ZS5oPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>