<?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>65179</bug_id>
          
          <creation_ts>2011-07-26 06:30:36 -0700</creation_ts>
          <short_desc>WebKit2 GTK public headers should have the same style rules rules than WebKit1</short_desc>
          <delta_ts>2011-10-06 00:00:12 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>69481</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>442209</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-07-26 06:30:36 -0700</bug_when>
    <thetext>Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:63:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:66:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:69:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:69:  The parameter name &quot;webView&quot; adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:73:  The parameter name &quot;webView&quot; adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:73:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:76:  The parameter name &quot;webView&quot; adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h:76:  Extra space before ( in function call  [whitespace/parens] [4]

These are all false positives.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442210</commentid>
    <comment_count>1</comment_count>
      <attachid>101994</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-07-26 06:32:34 -0700</bug_when>
    <thetext>Created attachment 101994
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442222</commentid>
    <comment_count>2</comment_count>
      <attachid>101994</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-07-26 07:02:06 -0700</bug_when>
    <thetext>Comment on attachment 101994
Patch

If possible it would be better to ignore only the headers. This change ignores headers and source files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442260</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-07-26 08:03:31 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 101994 [details])
&gt; If possible it would be better to ignore only the headers. This change ignores headers and source files.

There will be false positives in the files too, like code generated from macros like G_DEFINE_TYPE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442264</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-07-26 08:07:17 -0700</bug_when>
    <thetext>(In reply to comment #3)

&gt; There will be false positives in the files too, like code generated from macros like G_DEFINE_TYPE.

It makes sense to fix those as wel find them as well. I can help out with that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442272</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-07-26 08:16:37 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; 
&gt; &gt; There will be false positives in the files too, like code generated from macros like G_DEFINE_TYPE.
&gt; 
&gt; It makes sense to fix those as wel find them as well. I can help out with that.

what do you mean by fix them? I think we should use gobject macros for maintainability reasons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442284</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-07-26 08:38:11 -0700</bug_when>
    <thetext>(In reply to comment #5)

&gt; what do you mean by fix them? I think we should use gobject macros for maintainability reasons.

Oh, I mean we can fix the style checker to not complain about G_DEFINE_TYPE lines as well as GObject method names.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442288</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-07-26 08:41:00 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; 
&gt; &gt; what do you mean by fix them? I think we should use gobject macros for maintainability reasons.
&gt; 
&gt; Oh, I mean we can fix the style checker to not complain about G_DEFINE_TYPE lines as well as GObject method names.

Ah! that would be awesome :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>478998</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-10-06 00:00:12 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 69481 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>101994</attachid>
            <date>2011-07-26 06:32:34 -0700</date>
            <delta_ts>2011-07-26 07:02:05 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-api-style.diff</filename>
            <type>text/plain</type>
            <size>1166</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCA4Njk0
NjFiLi43MjFkYTRlIDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hh
bmdlTG9nCkBAIC0xLDUgKzEsMTQgQEAKIDIwMTEtMDctMjYgIENhcmxvcyBHYXJjaWEgQ2FtcG9z
ICA8Y2dhcmNpYUBpZ2FsaWEuY29tPgogCisgICAgICAgIFdlYktpdDIgR1RLIHB1YmxpYyBoZWFk
ZXJzIHNob3VsZCBoYXZlIHRoZSBzYW1lIHN0eWxlIHJ1bGVzIHJ1bGVzIHRoYW4gV2ViS2l0MQor
ICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NjUxNzkKKwor
ICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFNjcmlwdHMv
d2Via2l0cHkvc3R5bGUvY2hlY2tlci5weToKKworMjAxMS0wNy0yNiAgQ2FybG9zIEdhcmNpYSBD
YW1wb3MgIDxjZ2FyY2lhQGlnYWxpYS5jb20+CisKICAgICAgICAgVW5yZXZpZXdlZC4gRml4IFdl
YktpdEd0ayBidWlsZCB3aXRoIEdUSysgMy54IGFmdGVyIHI5MTcwNy4KIAogICAgICAgICAqIER1
bXBSZW5kZXJUcmVlL2d0ay9TZWxmU2Nyb2xsaW5nV2ViS2l0V2ViVmlldy5jcHA6CmRpZmYgLS1n
aXQgYS9Ub29scy9TY3JpcHRzL3dlYmtpdHB5L3N0eWxlL2NoZWNrZXIucHkgYi9Ub29scy9TY3Jp
cHRzL3dlYmtpdHB5L3N0eWxlL2NoZWNrZXIucHkKaW5kZXggMGNkZWM1MS4uODA1NjJiOCAxMDA2
NDQKLS0tIGEvVG9vbHMvU2NyaXB0cy93ZWJraXRweS9zdHlsZS9jaGVja2VyLnB5CisrKyBiL1Rv
b2xzL1NjcmlwdHMvd2Via2l0cHkvc3R5bGUvY2hlY2tlci5weQpAQCAtMTUwLDYgKzE1MCw3IEBA
IF9QQVRIX1JVTEVTX1NQRUNJRklFUiA9IFsKICAgICAgICMgQWxzbywgR1RLKyBhbGxvd3MgdGhl
IHVzZSBvZiBOVUxMLgogICAgICAgIlNvdXJjZS9XZWJDb3JlL2JpbmRpbmdzL3NjcmlwdHMvdGVz
dC9HT2JqZWN0IiwKICAgICAgICJTb3VyY2UvV2ViS2l0L2d0ay93ZWJraXQvIiwKKyAgICAgICJT
b3VyY2UvV2ViS2l0Mi9VSVByb2Nlc3MvQVBJL2d0ay8iLAogICAgICAgIlRvb2xzL0R1bXBSZW5k
ZXJUcmVlL2d0ay8iXSwKICAgICAgWyItcmVhZGFiaWxpdHkvbmFtaW5nIiwKICAgICAgICItcmVh
ZGFiaWxpdHkvcGFyYW1ldGVyX25hbWUiLAo=
</data>
<flag name="review"
          id="97097"
          type_id="1"
          status="-"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>