<?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>14815</bug_id>
          
          <creation_ts>2007-07-30 12:11:07 -0700</creation_ts>
          <short_desc>[gtk] API implementation: reload</short_desc>
          <delta_ts>2007-08-07 11:25:00 -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>WebKit API</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</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="Xan Lopez">xan.lopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3432</commentid>
    <comment_count>0</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2007-07-30 12:11:07 -0700</bug_when>
    <thetext>Add the webkit_gtk_page_reload method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3433</commentid>
    <comment_count>1</comment_count>
      <attachid>15747</attachid>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2007-07-30 12:15:25 -0700</bug_when>
    <thetext>Created attachment 15747
Implement reload</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3425</commentid>
    <comment_count>2</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-07-30 12:54:09 -0700</bug_when>
    <thetext>Looks good two minor things:
   -As of yesterday we have decided to use the WebKit CodingStyle in the WebKit/Gtk API implementation. E.g use camelCase for variable names. This makes private_data -&gt; privateData and frame_data -&gt; frameData and we need to do that for the rest of the implementation as well (but in another patch)

   -Did you use WebKitTools/Scripts/prepare-ChangeLog to create the ChangeLog entry?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3424</commentid>
    <comment_count>3</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-07-30 12:58:41 -0700</bug_when>
    <thetext>Oh one more CodingStyle issue (sorry):
+webkit_gtk_page_reload (WebKitGtkPage *page); it should be WebKitGtkPage* page in both the header and the implementation. In theory the header could be different but currently all other methods use WebKitGtkPage*, we can decide to change that for the header but this would need to be handled in a different bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3423</commentid>
    <comment_count>4</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2007-07-30 13:06:44 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Looks good two minor things:
&gt;    -As of yesterday we have decided to use the WebKit CodingStyle in the
&gt; WebKit/Gtk API implementation. E.g use camelCase for variable names. This makes
&gt; private_data -&gt; privateData and frame_data -&gt; frameData and we need to do that
&gt; for the rest of the implementation as well (but in another patch)

ACK.

&gt; 
&gt;    -Did you use WebKitTools/Scripts/prepare-ChangeLog to create the ChangeLog
&gt; entry?

Nope, is it mandatory as long as the output is OK?

&gt; +webkit_gtk_page_reload (WebKitGtkPage *page); it should be WebKitGtkPage* page
&gt; in both the header and the implementation. In theory the header could be
&gt; different but currently all other methods use WebKitGtkPage*, we can decide to
&gt; change that for the header but this would need to be handled in a different
&gt; bug.

Ok, GTK+ uses the type *foo style, but I have no strong feelings about it. The only real benefit I can see is more clarity when declaring more than one variable in one line.



</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3380</commentid>
    <comment_count>5</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-07-31 07:12:00 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; Nope, is it mandatory as long as the output is OK?
&gt; 

Well, the script creates &quot;Reviewed by NOBODY (OOPS)&quot; and webkit.org has a pre-commit hook to check ChangeLogs for OOPS. So If I forget to add my name to the line I&apos;m going to commit a &apos;bad&apos; changelog entry.
Try the script, if you don&apos;t like it we can live with that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3248</commentid>
    <comment_count>6</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2007-07-31 14:32:06 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Well, the script creates &quot;Reviewed by NOBODY (OOPS)&quot; and webkit.org has a
&gt; pre-commit hook to check ChangeLogs for OOPS. So If I forget to add my name to
&gt; the line I&apos;m going to commit a &apos;bad&apos; changelog entry.
&gt; Try the script, if you don&apos;t like it we can live with that.

I know the script, I used to use it before I switched to git/git-svn for most things. These days I use moap changelog prepare or simply C-x 4 a in emacs, but anyway I don&apos;t if the only matter is the OOPS stuff that has an easy solution. I think the output from moap + the OOPS for unreviewed is identical to the stuff produced by prepare-Changelog.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3195</commentid>
    <comment_count>7</comment_count>
      <attachid>15747</attachid>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-08-01 20:19:27 -0700</bug_when>
    <thetext>Comment on attachment 15747
Implement reload

+void webkit_gtk_page_reload (WebKitGtkPage *page)

The whitespace in this line is inconsistent with other methods in the implementation file, and should be fixed by whoever lands this.

It would also be preferable if you could leave the &quot;Reviewed by NOBODY (OOPS!)&quot; line intact in the ChangeLog.  We have post-commit hooks that key off this to ensure that a reviewer is added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3100</commentid>
    <comment_count>8</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2007-08-02 23:38:21 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (From update of attachment 15747 [edit])
&gt; +void webkit_gtk_page_reload (WebKitGtkPage *page)
&gt; 
&gt; The whitespace in this line is inconsistent with other methods in the
&gt; implementation file, and should be fixed by whoever lands this.
&gt; 
&gt; It would also be preferable if you could leave the &quot;Reviewed by NOBODY (OOPS!)&quot;
&gt; line intact in the ChangeLog.  We have post-commit hooks that key off this to
&gt; ensure that a reviewer is added.
&gt; 


Noted, thanks for the review. Can we get this in?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2892</commentid>
    <comment_count>9</comment_count>
    <who name="Alp Toker">alp</who>
    <bug_when>2007-08-07 11:25:00 -0700</bug_when>
    <thetext>Landed in r24911</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>15747</attachid>
            <date>2007-07-30 12:15:25 -0700</date>
            <delta_ts>2007-08-01 20:19:27 -0700</delta_ts>
            <desc>Implement reload</desc>
            <filename>webkitpagereload.diff</filename>
            <type>text/plain</type>
            <size>1909</size>
            <attacher name="Xan Lopez">xan.lopez</attacher>
            
              <data encoding="base64">SW5kZXg6IGd0ay9BcGkvd2Via2l0Z3RrcGFnZS5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gZ3RrL0FwaS93
ZWJraXRndGtwYWdlLmNwcAkocmV2aXNpb24gMjQ3NzgpCisrKyBndGsvQXBpL3dlYmtpdGd0a3Bh
Z2UuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zNTEsNiArMzUxLDEzIEBAIHZvaWQgd2Via2l0X2d0
a19wYWdlX29wZW4oV2ViS2l0R3RrUGFnZSoKICAgICBmcmFtZV9kYXRhLT5mcmFtZS0+bG9hZGVy
KCktPmxvYWQoUmVzb3VyY2VSZXF1ZXN0KEtVUkwoc3RyaW5nKSkpOwogfQogCit2b2lkIHdlYmtp
dF9ndGtfcGFnZV9yZWxvYWQgKFdlYktpdEd0a1BhZ2UgKnBhZ2UpC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ZV9yZWxvYWQgKFdlYktpdEd0a1BhZ2UgKnBh
Z2UpOworCitXRUJLSVRfR1RLX0FQSSB2b2lkCiB3ZWJraXRfZ3RrX3BhZ2VfbG9hZF9zdHJpbmcg
KFdlYktpdEd0a1BhZ2UqIHBhZ2UsIGNvbnN0IGdjaGFyKiBjb250ZW50LCBjb25zdCBnY2hhciog
Y29udGVudF9taW1lX3R5cGUsIGNvbnN0IGdjaGFyKiBjb250ZW50X2VuY29kaW5nLCBjb25zdCBn
Y2hhciogYmFzZV91cmwpOwogCiBXRUJLSVRfR1RLX0FQSSB2b2lkCkluZGV4OiBDaGFuZ2VMb2cK
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PQotLS0gQ2hhbmdlTG9nCShyZXZpc2lvbiAyNDc3OCkKKysrIENoYW5nZUxvZwko
d29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEyIEBACisyMDA3LTA3LTMwICBYYW4gTG9wZXogIDx4
YW5AZ25vbWUub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5ID8/PworCisgICAgICAgIGh0dHA6
Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0ODE1CisgICAgICAgIFtndGtdIEFQ
SSBpbXBsZW1lbnRhdGlvbjogcmVsb2FkCisKKyAgICAgICAgKiBndGsvQXBpL3dlYmtpdGd0a3Bh
Z2UuY3BwOiBJbXBsZW1lbnQgdGhlIHdlYmtpdF9ndGtfcGFnZV9yZWxvYWQoKSBtZXRob2QuCisK
IDIwMDctMDctMzAgIERpZWdvIEVzY2FsYW50ZSBVcnJlbG8gIDxkaWVnb2VAZ25vbWUub3JnPgog
CiAgICAgICAgIFJldmlld2VkIGJ5IEFkYW0uCg==
</data>
<flag name="review"
          id="6571"
          type_id="1"
          status="+"
          setter="mrowe"
    />
          </attachment>
      

    </bug>

</bugzilla>