<?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>74990</bug_id>
          
          <creation_ts>2011-12-20 21:15:49 -0800</creation_ts>
          <short_desc>Rename WTF_INLINE, JS_INLINE to HIDDEN_INLINE</short_desc>
          <delta_ts>2011-12-26 17:23:26 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>72855</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hajime Morrita">morrita</reporter>
          <assigned_to name="Hajime Morrita">morrita</assigned_to>
          <cc>kevino</cc>
    
    <cc>mrowe</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>525077</commentid>
    <comment_count>0</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2011-12-20 21:15:49 -0800</bug_when>
    <thetext>As bdash@ mentioned at Bug 72855, JS_INLINE is annoying and confusing name.
It&apos;s for marking functions to be hidden. So it should be renamed &quot;HIDDEN_INLINE&quot;.

 * This is more intention revealing name than WTF_INLINE/JS_INLINE and its appearance is aligned to ALWAYS_INLINE.
 * We&apos;ll use the name even outside WTF so prefixing as WTF could be misleading.
   Its definition doesn&apos;t change depending on the build target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525078</commentid>
    <comment_count>1</comment_count>
      <attachid>120136</attachid>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2011-12-20 21:22:07 -0800</bug_when>
    <thetext>Created attachment 120136
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525420</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Ollivier">kevino</who>
    <bug_when>2011-12-21 11:58:42 -0800</bug_when>
    <thetext>Bug filed about the EWS bot traceback problem:

https://bugs.webkit.org/show_bug.cgi?id=75024

FWIW, last I checked it while it was working, all the bots except Win and Mac had run, and all passed, so we just need to know if this passes Mac and Win.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527214</commentid>
    <comment_count>3</comment_count>
      <attachid>120136</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-12-26 07:22:55 -0800</bug_when>
    <thetext>Comment on attachment 120136
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=120136&amp;action=review

&gt; Source/JavaScriptCore/wtf/ExportMacros.h:88
&gt; +#define HIDDEN_INLINE WTF_EXPORT_HIDDEN inline

Most of our WTF macros use a namespacing prefix such as WTF_ or JS_ to avoid conflicting with macros from other libraries. There are some exceptions like ALWAYS_INLINE, but I am concerned about future conflicts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527218</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Ollivier">kevino</who>
    <bug_when>2011-12-26 08:40:31 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 120136 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=120136&amp;action=review
&gt; 
&gt; &gt; Source/JavaScriptCore/wtf/ExportMacros.h:88
&gt; &gt; +#define HIDDEN_INLINE WTF_EXPORT_HIDDEN inline
&gt; 
&gt; Most of our WTF macros use a namespacing prefix such as WTF_ or JS_ to avoid conflicting with macros from other libraries. There are some exceptions like ALWAYS_INLINE, but I am concerned about future conflicts.

I thought about this as well, but I can see the argument that using WTF_ as a prefix here is problematic. Consider that WTF_EXPORT_PRIVATE and co. have different definitions based on if the WTF library is being built or linked. So I think that WTF_HIDDEN_INLINE would be naturally seen as a WTF-specific macro, in line with the other macros, rather than a project-wide one.

I&apos;m not sure how to tackle this, except maybe introducing a project-wide macro prefix? I do think, though, that whatever approach we take should be consistent with ALWAYS_INLINE and similar macros, so that there&apos;s a clear policy for future macros of a project-wide nature to use.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527219</commentid>
    <comment_count>5</comment_count>
      <attachid>120136</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-26 08:41:03 -0800</bug_when>
    <thetext>Comment on attachment 120136
Patch

Clearing flags on attachment: 120136

Committed r103688: &lt;http://trac.webkit.org/changeset/103688&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527220</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-26 08:41:07 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527245</commentid>
    <comment_count>7</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2011-12-26 17:23:26 -0800</bug_when>
    <thetext>&gt; Most of our WTF macros use a namespacing prefix such as WTF_ or JS_ to avoid conflicting with macros from other libraries. There are some exceptions like ALWAYS_INLINE, but I am concerned about future conflicts.
Although I understand this concern, I think HIDDEN_INLINE is verbose enough to avoid future conflict.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>120136</attachid>
            <date>2011-12-20 21:22:07 -0800</date>
            <delta_ts>2011-12-26 08:41:03 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-74990-20111221142204.patch</filename>
            <type>text/plain</type>
            <size>1638</size>
            <attacher name="Hajime Morrita">morrita</attacher>
            
              <data encoding="base64">U3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