HomePhabricator

edje/elm: Rename _internal_ to _part_ (EO)

Authored by Jean-Philippe Andre <jp.andre@samsung.com> on Sep 12 2017, 9:29 PM.

Description

edje/elm: Rename _internal_ to _part_ (EO)

In Edje and Elementary, we have part objects, which are what is returned
by the interface efl_part(). Those objects can't be of an opaque type as
this doesn't work nicely with strongly typed languages such as C++ or
C#. In JS, Lua, C the types are weak and mostly runtime-based so it
doesn't matter much.

As a consequence, the documentation and the types need to look nice in
this EO API. Thus, we remove the abusive term "internal" and explicitly
call all those classes "part" something.

Eventually we want the types to be declared in the EO file so bindings
(C#, C++, ...) can generate the proper access methods, returning the
best possible types.

Note that right now a few of those part types are used in the legacy API
but don't actually need to be exposed externally.

This is kind of a mega commit that does all the renaming at once, but
it's really just a big sed operation. The power of good IDEs :)

Ref T5315
Ref T5306

Jean-Philippe Andre <jp.andre@samsung.com> committed rEFLd5a31f3f307c: edje/elm: Rename _internal_ to _part_ (EO) (authored by Jean-Philippe Andre <jp.andre@samsung.com>).Sep 12 2017, 9:53 PM