<?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>37182</bug_id>
          
          <creation_ts>2010-04-06 18:16:15 -0700</creation_ts>
          <short_desc>WebCore config.h hardcodes the wince OS policies.</short_desc>
          <delta_ts>2010-11-23 07:47:05 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>49887</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>0</everconfirmed>
          <reporter name="JasonR">jasonr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>jasonr</cc>
    
    <cc>paroga</cc>
    
    <cc>staikos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>209375</commentid>
    <comment_count>0</comment_count>
    <who name="JasonR">jasonr</who>
    <bug_when>2010-04-06 18:16:15 -0700</bug_when>
    <thetext>I&apos;m looking to start submitting changes to support the Windows CE platform; I picked this as a first change so that I can see the patch review process through; hopefully without affecting anything.

The following definition in config.h forces OS(WINCE) into a set of policies on building that cannot be overriden easily to be different to the windows build.

#if PLATFORM(WIN)
#if defined(WIN_CAIRO)
#undef WTF_PLATFORM_CG
#define WTF_PLATFORM_CAIRO 1
#undef WTF_USE_CFNETWORK
#define WTF_USE_CURL 1
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#endif
#else
#define WTF_PLATFORM_CG 1
#undef WTF_PLATFORM_CAIRO
#define WTF_USE_CFNETWORK 1
#undef WTF_USE_CURL
#endif
#undef WTF_USE_WININET
#define WTF_PLATFORM_CF 1
#define WTF_USE_PTHREADS 0
#endif

I would like to change this to 

#if PLATFORM(WIN) &amp;&amp; !OS(WINCE)

so that WINCE can set the policies in wtf/platform.h (or have them overriden from the default); especially items like using WININET and WTF_PLATFORM_CF which are not available on windows CE.  I am using a build that is windows CE for CAIRO+WININET+PTHREADS and these hardcoded values for the policies for PLATFORM(WIN) don&apos;t allow options for the build configuration.

I have a patch for this change available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209387</commentid>
    <comment_count>1</comment_count>
      <attachid>52693</attachid>
    <who name="JasonR">jasonr</who>
    <bug_when>2010-04-06 18:43:21 -0700</bug_when>
    <thetext>Created attachment 52693
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209400</commentid>
    <comment_count>2</comment_count>
      <attachid>52693</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-06 19:25:44 -0700</bug_when>
    <thetext>Comment on attachment 52693
Proposed patch

r- for lack of ChangeLog, see http://webkit.org/coding/contributing.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312838</commentid>
    <comment_count>3</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-11-23 07:47:05 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 49887 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52693</attachid>
            <date>2010-04-06 18:43:21 -0700</date>
            <delta_ts>2010-06-11 10:44:20 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>webcoreconfig.patch</filename>
            <type>text/plain</type>
            <size>501</size>
            <attacher name="JasonR">jasonr</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvY29uZmlnLmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViQ29yZS9jb25maWcuaAko
cmV2aXNpb24gNTMyODMpCisrKyBXZWJDb3JlL2NvbmZpZy5oCSh3b3JraW5nIGNvcHkpCkBAIC0x
MzgsMTAgKzEzOCwxMyBAQAogI2RlZmluZSBTS0lQX1NUQVRJQ19DT05TVFJVQ1RPUlNfT05fR0ND
IDEKICNlbmRpZgogCi0jaWYgUExBVEZPUk0oV0lOKQogI2lmIGRlZmluZWQoV0lOX0NBSVJPKQot
I3VuZGVmIFdURl9QTEFURk9STV9DRwogI2RlZmluZSBXVEZfUExBVEZPUk1fQ0FJUk8gMQorI2Vu
ZGlmCisKKyNpZiBQTEFURk9STShXSU4pICYmICFPUyhXSU5DRSkKKyNpZiBkZWZpbmVkKFdJTl9D
QUlSTykKKyN1bmRlZiBXVEZfUExBVEZPUk1fQ0cKICN1bmRlZiBXVEZfVVNFX0NGTkVUV09SSwog
I2RlZmluZSBXVEZfVVNFX0NVUkwgMQogI2lmbmRlZiBfV0lOU09DS0FQSV8K
</data>
<flag name="review"
          id="36235"
          type_id="1"
          status="-"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>