[webkit-efl] Naming rules for setting APIs

Gyuyoung Kim gyuyoung at gmail.com
Wed Oct 10 05:59:36 PDT 2012


>> 1) should we change WK1 API (ewk_view.h) as it doesn't follow this rule?

There are some talk before about maintaining WK1. Frankly, I'm not sure if
we need to maintain WK1. However, IMO, we need to take care of the WK1
until we remove it in trunk.
At least, I think we have to keep WK1 until WK2 is stable or used for
commercial product. It looks other ports are maintaining WK1 as well.
Therefore, it would be good if you change
WK1 according to this rule, IMO.

I hope we won't modify API after this change. Almost person don't like to
change API frequently. Any other opinion ?

Gyuyoung.

On Wed, Oct 10, 2012 at 9:16 PM, Grzegorz Czajkowski <
g.czajkowski at samsung.com> wrote:

> Hi,
>
> IMHO Kubo's suggestion is the strongest. If we approve this convention what
> will happen for the current API, for both wk1 and wk2? As I result:
> 1) should we change WK1 API (ewk_view.h) as it doesn't follow this rule?
> 2) for WK2 we can land patch Jinwoo's patch
> (https://bugs.webkit.org/show_bug.cgi?id=98793)
> 3) spelling API should be adjusted - ewk_text_checker_settings.h. I will
> take of it.
>
> Regards,
> Grzegorz
>
> -----Original Message-----
> From: webkit-efl-bounces at lists.webkit.org
> [mailto:webkit-efl-bounces at lists.webkit.org] On Behalf Of Raphael Kubo da
> Costa
> Sent: 10 October 2012 13:43
> To: webkit-efl at lists.webkit.org
> Subject: Re: [webkit-efl] Naming rules for setting APIs
>
> "Michal G." <guziemic.spam at gmail.com> writes:
>
> > Hi,
> >
> > If I can add something to discussion, from API user perspective I
> > prefer such naming convention
> >
> > ewk_settings_enable_frame_flattening_set
> >
> > then
> > ewk_settings_frame_flattening_enabled_set
>
> It makes sense if you come from a, let's say, sane library background
> :-)
>
> For some reason, the EFL themselves use this Yoda-like convention for their
> calls, so we should probably follow that as well.
>
> --
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606
> -
> 4 Domiciled in Helsinki
>
> _______________________________________________
> webkit-efl mailing list
> webkit-efl at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-efl
>
>
> _______________________________________________
> webkit-efl mailing list
> webkit-efl at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-efl
>



-- 
Gyuyoung Kim
SW Engineer, WebKit EFL
Email : gyuyoung.kim at webkit.org
Phone : +82 10 9530 0209
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-efl/attachments/20121010/27929eca/attachment-0001.html>


More information about the webkit-efl mailing list