Bug 101517 - [EFL][WK2] Rename variables, structures and functions of the MiniBrowser.
Summary: [EFL][WK2] Rename variables, structures and functions of the MiniBrowser.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Byungwoo Lee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 15:31 PST by Byungwoo Lee
Modified: 2012-11-14 02:44 PST (History)
4 users (show)

See Also:


Attachments
Patch (40.53 KB, patch)
2012-11-07 15:44 PST, Byungwoo Lee
no flags Details | Formatted Diff | Diff
Patch (41.49 KB, patch)
2012-11-07 18:26 PST, Byungwoo Lee
no flags Details | Formatted Diff | Diff
Patch (41.49 KB, patch)
2012-11-08 00:50 PST, Byungwoo Lee
no flags Details | Formatted Diff | Diff
Patch (47.43 KB, patch)
2012-11-12 00:43 PST, Byungwoo Lee
no flags Details | Formatted Diff | Diff
Patch (48.11 KB, patch)
2012-11-14 02:09 PST, Byungwoo Lee
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Byungwoo Lee 2012-11-07 15:31:49 PST
Need to arrange the naming of the MiniBrowser source.
Comment 1 Byungwoo Lee 2012-11-07 15:44:42 PST
Created attachment 172885 [details]
Patch
Comment 2 Gyuyoung Kim 2012-11-07 17:24:53 PST
Comment on attachment 172885 [details]
Patch

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

Should we change existing naming ? Christophe, do you agree this change ?

> Tools/MiniBrowser/efl/main.c:102
> +static Browser_Window *find_window_with_elm_window(Evas_Object *elm_window)

browser_window_find is more close EFL style.
Comment 3 Byungwoo Lee 2012-11-07 17:48:08 PST
(In reply to comment #2)
> (From update of attachment 172885 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=172885&action=review
> 
> Should we change existing naming ? Christophe, do you agree this change ?
> 
> > Tools/MiniBrowser/efl/main.c:102
> > +static Browser_Window *find_window_with_elm_window(Evas_Object *elm_window)
> 
> browser_window_find is more close EFL style.

Currently, browser_window_find() returns Browser_Window. and browser_view_find() also returns Browser_Window.

I thought that the name is confused, so I tried to change this.

I'll change the name to 'window_find_with_{ewk_view|elm_window}() and upload again.
Comment 4 Byungwoo Lee 2012-11-07 18:26:39 PST
Created attachment 172908 [details]
Patch
Comment 5 Byungwoo Lee 2012-11-08 00:50:39 PST
Created attachment 172948 [details]
Patch
Comment 6 Byungwoo Lee 2012-11-08 00:51:18 PST
(In reply to comment #5)
> Created an attachment (id=172948) [details]
> Patch

Fixed typo in ChangeLog.
Comment 7 Byungwoo Lee 2012-11-12 00:43:11 PST
Created attachment 173581 [details]
Patch
Comment 8 Byungwoo Lee 2012-11-12 00:45:05 PST
(In reply to comment #7)
> Created an attachment (id=173581) [details]
> Patch

Rebased with the latest source.
Comment 9 Gyuyoung Kim 2012-11-14 01:03:30 PST
(In reply to comment #2)
> (From update of attachment 172885 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=172885&action=review
> 
> Should we change existing naming ? Christophe, do you agree this change ?

Christophe, do you agree this patch ?
Comment 10 Chris Dumez 2012-11-14 01:10:41 PST
(In reply to comment #9)
> (In reply to comment #2)
> > (From update of attachment 172885 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=172885&action=review
> > 
> > Should we change existing naming ? Christophe, do you agree this change ?
> 
> Christophe, do you agree this patch ?

Sure, LGTM. I also think a clean up was needed.
Personally, I would also like the file to be split because main.c is becoming too big.
Comment 11 Mikhail Pozdnyakov 2012-11-14 01:15:39 PST
Comment on attachment 173581 [details]
Patch

looks nice
Comment 12 WebKit Review Bot 2012-11-14 01:18:50 PST
Comment on attachment 173581 [details]
Patch

Rejecting attachment 173581 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
25 succeeded at 819 (offset 5 lines).
Hunk #26 succeeded at 894 (offset 5 lines).
Hunk #27 succeeded at 905 (offset 5 lines).
Hunk #28 succeeded at 940 with fuzz 2 (offset 5 lines).
Hunk #29 succeeded at 974 (offset 5 lines).
Hunk #30 FAILED at 1026.
2 out of 30 hunks FAILED -- saving rejects to file Tools/MiniBrowser/efl/main.c.rej

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Gyuyoung K..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue

Full output: http://queues.webkit.org/results/14815985
Comment 13 Byungwoo Lee 2012-11-14 02:09:34 PST
Created attachment 174115 [details]
Patch
Comment 14 Byungwoo Lee 2012-11-14 02:10:02 PST
Comment on attachment 174115 [details]
Patch

Rebased.
Comment 15 WebKit Review Bot 2012-11-14 02:44:49 PST
Comment on attachment 174115 [details]
Patch

Clearing flags on attachment: 174115

Committed r134583: <http://trac.webkit.org/changeset/134583>
Comment 16 WebKit Review Bot 2012-11-14 02:44:54 PST
All reviewed patches have been landed.  Closing bug.