Bug 102867 - [EFL][WK2] Remove setting word from ewk_view_setting_encoding_custom_XXX APIs
Summary: [EFL][WK2] Remove setting word from ewk_view_setting_encoding_custom_XXX APIs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 20:38 PST by Jongseok Yang
Modified: 2012-11-21 02:56 PST (History)
4 users (show)

See Also:


Attachments
Patch (6.31 KB, patch)
2012-11-20 20:40 PST, Jongseok Yang
no flags Details | Formatted Diff | Diff
Patch (6.31 KB, patch)
2012-11-21 02:18 PST, Jongseok Yang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jongseok Yang 2012-11-20 20:38:00 PST
ewk_view_setting_encoding_custom_XXX APIs might be misunderstanded as the "setting" word because ewk_view_setting_encoding_custom_set triggers the "reload" operation.
And ewk_view_setting_XXX is not correct because there is ewk_settings object for settings.

The setting word from ewk_view_setting_encoding_custom_XXX APIs should be removed.
Comment 1 Jongseok Yang 2012-11-20 20:40:52 PST
Created attachment 175332 [details]
Patch
Comment 2 Raphael Kubo da Costa (:rakuco) 2012-11-21 01:34:43 PST
Comment on attachment 175332 [details]
Patch

This looks like a nice improvement; I suggest a few additional ones:
 o Please mention in the _set() documentation that the page is going to be reloaded.
 o "encoding_custom" still sounds a bit weird. How about "ewk_view_custom_encoding_{get,set}" or "ewk_view_custom_text_encoding_{get,set}"?
Comment 3 Jongseok Yang 2012-11-21 01:48:43 PST
(In reply to comment #2)
> (From update of attachment 175332 [details])
> This looks like a nice improvement; I suggest a few additional ones:
>  o Please mention in the _set() documentation that the page is going to be reloaded.
>  o "encoding_custom" still sounds a bit weird. How about "ewk_view_custom_encoding_{get,set}" or "ewk_view_custom_text_encoding_{get,set}"?

Thanks for your review. I'll upload new patch.
Comment 4 Jongseok Yang 2012-11-21 01:58:16 PST
(In reply to comment #2)
> (From update of attachment 175332 [details])
> This looks like a nice improvement; I suggest a few additional ones:
>  o Please mention in the _set() documentation that the page is going to be reloaded.

I checked that it was already mentioned like the below.

 * Sets the custom character encoding and reloads the page.

>  o "encoding_custom" still sounds a bit weird. How about "ewk_view_custom_encoding_{get,set}" or "ewk_view_custom_text_encoding_{get,set}"?

I'll change that.
Comment 5 Jongseok Yang 2012-11-21 02:18:38 PST
Created attachment 175386 [details]
Patch
Comment 6 Raphael Kubo da Costa (:rakuco) 2012-11-21 02:31:34 PST
Comment on attachment 175386 [details]
Patch

LGTM.
Comment 7 WebKit Review Bot 2012-11-21 02:56:21 PST
Comment on attachment 175386 [details]
Patch

Clearing flags on attachment: 175386

Committed r135372: <http://trac.webkit.org/changeset/135372>
Comment 8 WebKit Review Bot 2012-11-21 02:56:26 PST
All reviewed patches have been landed.  Closing bug.