efl: apply the stabilzed column of the efl api board

Summary:
The project https://phab.enlightenment.org/tag/efl_api/ has been used in
the last few weeks to figure out which classes can be stablized and
which cannot. This commit moves those dedicated classes outside beta.
And makes them stable.

ref T7601
ref T7600
ref T7599
ref T7598
ref T7597
ref T7596
ref T7594
ref T7593
ref T7591
ref T7590
ref T7589
ref T7588
ref T7583
ref T7582
ref T7581
ref T7576
ref T7570
ref T7567
ref T7564
ref T7563
ref T7560
ref T7559
ref T7672
ref T7584
ref T7577
ref T7571
ref T7558
ref T7555
ref T7554
ref T7553
ref T7512
ref T7511

Depends on D8272

Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511

Differential Revision: https://phab.enlightenment.org/D8273
This commit is contained in:
Marcel Hollerbach 2019-03-09 13:44:17 +01:00 committed by Xavi Artigas
parent b94c62f5d4
commit 954cdb3656
32 changed files with 58 additions and 47 deletions

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Layout.Calc interface Efl.Layout.Calc
{ {
[[This interface defines a common set of APIs used to trigger calculations [[This interface defines a common set of APIs used to trigger calculations
with layout objects. with layout objects.

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Layout.Group interface Efl.Layout.Group
{ {
[[APIs representing static data from a group in an edje file. [[APIs representing static data from a group in an edje file.

View File

@ -17,7 +17,7 @@ function EflLayoutSignalCb {
} }
}; };
interface @beta Efl.Layout.Signal interface Efl.Layout.Signal
{ {
[[Layouts asynchronous messaging and signaling interface. [[Layouts asynchronous messaging and signaling interface.

View File

@ -1,10 +1,11 @@
import efl_input_device; import efl_input_device;
interface @beta Efl.Canvas.Pointer interface Efl.Canvas.Pointer
{ {
[[Efl Canvas Pointer interface]] [[Efl Canvas Pointer interface]]
methods { methods {
@property pointer_inside { /* FIXME Efl.Input.Device is not stable yet*/
@property pointer_inside @beta {
get { get {
[[Returns whether the mouse pointer is logically inside the [[Returns whether the mouse pointer is logically inside the
canvas. canvas.

View File

@ -1,7 +1,7 @@
import efl_input_device; import efl_input_device;
import efl_gfx_types; import efl_gfx_types;
interface @beta Efl.Canvas.Scene interface Efl.Canvas.Scene
{ {
[[Interface containing basic canvas-related methods and events.]] [[Interface containing basic canvas-related methods and events.]]
methods { methods {
@ -142,7 +142,8 @@ interface @beta Efl.Canvas.Scene
]] ]]
} }
} }
seats { /* FIXME Efl.Input.Device is not stable yet*/
seats @beta {
[[Iterate over the available input device seats for the canvas. [[Iterate over the available input device seats for the canvas.
A "seat" is the term used for a group of input devices, typically including A "seat" is the term used for a group of input devices, typically including
@ -154,7 +155,8 @@ interface @beta Efl.Canvas.Scene
return: iterator<Efl.Input.Device> @owned; return: iterator<Efl.Input.Device> @owned;
[[An iterator over the attached seats.]] [[An iterator over the attached seats.]]
} }
@property device { /* FIXME Efl.Input.Device is not stable yet*/
@property device @beta{
[[An input device attached to this canvas, found by name. [[An input device attached to this canvas, found by name.
Note: This function is meant to find seats and not individual Note: This function is meant to find seats and not individual
@ -172,7 +174,8 @@ interface @beta Efl.Canvas.Scene
seat: Efl.Input.Device; [[The device or seat, $null if not found.]] seat: Efl.Input.Device; [[The device or seat, $null if not found.]]
} }
} }
@property seat { /* FIXME Efl.Input.Device is not stable yet*/
@property seat @beta {
[[Get a seat attached to this canvas using the seat's id property. [[Get a seat attached to this canvas using the seat's id property.
Seats are associated with an arbitrary integer id. The id is not a Seats are associated with an arbitrary integer id. The id is not a
@ -191,7 +194,8 @@ interface @beta Efl.Canvas.Scene
seat: Efl.Input.Device; [[The seat or $null if not found.]] seat: Efl.Input.Device; [[The seat or $null if not found.]]
} }
} }
@property seat_default { /* FIXME Efl.Input.Device is not stable yet*/
@property seat_default @beta {
[[Get the default seat attached to this canvas. [[Get the default seat attached to this canvas.
A canvas may have exactly one default seat. A canvas may have exactly one default seat.
@ -206,7 +210,8 @@ interface @beta Efl.Canvas.Scene
seat: Efl.Input.Device; [[The default seat or $null if one does not exist.]] seat: Efl.Input.Device; [[The default seat or $null if one does not exist.]]
} }
} }
@property pointer_position { /* FIXME Efl.Input.Device is not stable yet*/
@property pointer_position @beta {
get { get {
[[This function returns the current known pointer coordinates [[This function returns the current known pointer coordinates
@ -231,8 +236,8 @@ interface @beta Efl.Canvas.Scene
render,pre: void; [[Called when pre render happens]] render,pre: void; [[Called when pre render happens]]
/* FIXME: event_info can be NULL, but @nullable tag does not work on events yet */ /* FIXME: event_info can be NULL, but @nullable tag does not work on events yet */
render,post: Efl.Gfx.Event.Render_Post; [[Called when post render happens]] render,post: Efl.Gfx.Event.Render_Post; [[Called when post render happens]]
device,changed: Efl.Input.Device; [[Called when input device changed]] device,changed @beta : Efl.Input.Device; [[Called when input device changed]]
device,added: Efl.Input.Device; [[Called when input device was added]] device,added @beta: Efl.Input.Device; [[Called when input device was added]]
device,removed: Efl.Input.Device; [[Called when input device was removed]] device,removed @beta : Efl.Input.Device; [[Called when input device was removed]]
} }
} }

View File

@ -1,4 +1,4 @@
interface @beta Efl.Container interface Efl.Container
{ {
[[Common interface for objects that have multiple contents (sub objects). [[Common interface for objects that have multiple contents (sub objects).

View File

@ -1,4 +1,4 @@
interface @beta Efl.Content interface Efl.Content
{ {
[[Common interface for objects that have a (single) content. [[Common interface for objects that have a (single) content.

View File

@ -1,7 +1,7 @@
import eina_types; import eina_types;
import efl_gfx_types; import efl_gfx_types;
mixin @beta Efl.File requires Efl.Object { mixin Efl.File requires Efl.Object {
[[Efl file interface]] [[Efl file interface]]
methods { methods {
@property mmap { @property mmap {
@ -62,7 +62,7 @@ mixin @beta Efl.File requires Efl.Object {
You must not modify the strings on the returned pointers.]] You must not modify the strings on the returned pointers.]]
} }
values { values {
key: string; [[The group that the image belongs to, in case key: string; [[The group that the image belongs to, in case
it's an EET(including Edje case) file. This can be used it's an EET(including Edje case) file. This can be used
as a key inside evas image cache if this is a normal image as a key inside evas image cache if this is a normal image
file not eet file.]] file not eet file.]]

View File

@ -9,7 +9,7 @@ struct Efl.File_Save_Info
encoding: string; [[The encoding to use when saving the file.]] encoding: string; [[The encoding to use when saving the file.]]
} }
interface @beta Efl.File_Save { interface Efl.File_Save {
[[Efl file saving interface]] [[Efl file saving interface]]
methods { methods {
save @const { save @const {

View File

@ -1,6 +1,6 @@
import efl_gfx_types; import efl_gfx_types;
mixin @beta Efl.Gfx.Color mixin Efl.Gfx.Color
{ {
[[Efl Gfx Color mixin class]] [[Efl Gfx Color mixin class]]
data: null; data: null;

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Gfx.Entity { interface Efl.Gfx.Entity {
[[Efl graphics interface]] [[Efl graphics interface]]
eo_prefix: efl_gfx_entity; eo_prefix: efl_gfx_entity;
methods { methods {

View File

@ -4,7 +4,7 @@ import efl_gfx_types;
const Efl.Gfx.Hint_Expand: double = 1.0; const Efl.Gfx.Hint_Expand: double = 1.0;
[[Use with @Efl.Gfx.Hint.hint_weight.]] [[Use with @Efl.Gfx.Hint.hint_weight.]]
interface @beta Efl.Gfx.Hint interface Efl.Gfx.Hint
{ {
[[Efl graphics hint interface]] [[Efl graphics hint interface]]
event_prefix: efl_gfx_entity; event_prefix: efl_gfx_entity;

View File

@ -1,7 +1,7 @@
const Efl.Gfx.Stack_Layer_Min: short = -32768; [[bottom-most layer number]] const Efl.Gfx.Stack_Layer_Min: short = -32768; [[bottom-most layer number]]
const Efl.Gfx.Stack_Layer_Max: short = 32767; [[top-most layer number]] const Efl.Gfx.Stack_Layer_Max: short = 32767; [[top-most layer number]]
interface @beta Efl.Gfx.Stack interface Efl.Gfx.Stack
{ {
[[Efl graphics stack interface]] [[Efl graphics stack interface]]
event_prefix: efl_gfx_entity; event_prefix: efl_gfx_entity;

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Io.Closer { interface Efl.Io.Closer {
[[Generic interface for objects that can close themselves. [[Generic interface for objects that can close themselves.
This interface allows external objects to transparently close an This interface allows external objects to transparently close an

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Io.Reader { interface Efl.Io.Reader {
[[Generic interface for objects that can read data into a provided memory. [[Generic interface for objects that can read data into a provided memory.
This interface allows external objects to transparently monitor This interface allows external objects to transparently monitor

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Io.Writer { interface Efl.Io.Writer {
[[Generic interface for objects that can write data from a provided memory. [[Generic interface for objects that can write data from a provided memory.
This interface allows external objects to transparently write This interface allows external objects to transparently write

View File

@ -1,6 +1,6 @@
import efl_object; import efl_object;
interface @beta Efl.Part interface Efl.Part
{ {
[[Interface for objects supporting named parts. [[Interface for objects supporting named parts.

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
interface @beta Efl.Screen interface Efl.Screen
{ {
[[Efl screen interface]] [[Efl screen interface]]
methods { methods {

View File

@ -1,4 +1,4 @@
interface @beta Efl.Text interface Efl.Text
{ {
[[Efl text interface]] [[Efl text interface]]
methods { methods {

View File

@ -28,7 +28,7 @@ struct Efl.Ui.Focus.Manager_Logical_End_Detail {
element : Efl.Ui.Focus.Object; [[The last element of the logical chain in the @Efl.Ui.Focus.Manager]] element : Efl.Ui.Focus.Object; [[The last element of the logical chain in the @Efl.Ui.Focus.Manager]]
} }
interface @beta Efl.Ui.Focus.Manager { interface Efl.Ui.Focus.Manager {
[[Interface for managing focus objects [[Interface for managing focus objects
This interface is built in order to support movement of the focus property in a set of widgets. This interface is built in order to support movement of the focus property in a set of widgets.

View File

@ -1,4 +1,4 @@
interface @beta Efl.Ui.Focus.Manager_Window_Root { interface Efl.Ui.Focus.Manager_Window_Root {
[[ A interface to indicate the end of a focus chain. [[ A interface to indicate the end of a focus chain.
Focusmanagers are ensuring that if they give focus to something, that they are registered in the upper focus manager. Focusmanagers are ensuring that if they give focus to something, that they are registered in the upper focus manager.

View File

@ -1,6 +1,6 @@
import eina_types; import eina_types;
mixin @beta Efl.Ui.Focus.Object mixin Efl.Ui.Focus.Object
{ {
[[Functions of focusable objects. [[Functions of focusable objects.

View File

@ -1,6 +1,6 @@
import efl_ui; import efl_ui;
class @beta Efl.Ui.Layout extends Efl.Ui.Layout_Base implements Efl.File class Efl.Ui.Layout extends Efl.Ui.Layout_Base implements Efl.File
{ {
[[Elementary layout class]] [[Elementary layout class]]
data: null; data: null;

View File

@ -1,7 +1,7 @@
import efl_ui; import efl_ui;
import efl_orientation; import efl_orientation;
abstract @beta Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container, abstract Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container,
Efl.Ui.Factory_Bind, Efl.Ui.Factory_Bind,
Efl.Layout.Calc, Efl.Layout.Signal, Efl.Layout.Calc, Efl.Layout.Signal,
Efl.Layout.Group Efl.Layout.Group

View File

@ -13,7 +13,7 @@ struct Efl.Ui.Widget_Focus_State {
logical : bool; [[$true if this is registered as logical currently]] logical : bool; [[$true if this is registered as logical currently]]
} }
abstract @beta Efl.Ui.Widget extends Efl.Canvas.Group implements Efl.Access.Object, abstract Efl.Ui.Widget extends Efl.Canvas.Group implements Efl.Access.Object,
Efl.Access.Component, Efl.Part, Efl.Ui.Focus.Object, Efl.Access.Component, Efl.Part, Efl.Ui.Focus.Object,
Efl.Ui.L10n, Efl.Ui.L10n,
Efl.Ui.Selection, Efl.Ui.Dnd, Efl.Ui.Selection, Efl.Ui.Dnd,

View File

@ -1,4 +1,4 @@
mixin @beta Efl.Ui.Widget_Focus_Manager requires Efl.Ui.Widget extends Efl.Ui.Focus.Manager mixin Efl.Ui.Widget_Focus_Manager requires Efl.Ui.Widget extends Efl.Ui.Focus.Manager
{ {
methods { methods {
focus_manager_create @protected @pure_virtual { focus_manager_create @protected @pure_virtual {

View File

@ -133,7 +133,7 @@ enum Efl.Ui.Win_Move_Resize_Mode
right = (1 << 4) [[Start resizing window to the right]] right = (1 << 4) [[Start resizing window to the right]]
} }
class @beta Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.Window, class Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.Window,
Efl.Access.Component, Efl.Access.Widget.Action, Efl.Access.Component, Efl.Access.Widget.Action,
Efl.Content, Efl.Input.State, Efl.Input.Interface, Efl.Screen, Efl.Content, Efl.Input.State, Efl.Input.Interface, Efl.Screen,
Efl.Text, Efl.Config, Efl.Text, Efl.Config,

View File

@ -1,4 +1,4 @@
class @beta Efl.Canvas.Group extends Efl.Canvas.Object class Efl.Canvas.Group extends Efl.Canvas.Object
{ {
[[A group object is a container for other canvas objects. Its children [[A group object is a container for other canvas objects. Its children
move along their parent and are often clipped with a common clipper. move along their parent and are often clipped with a common clipper.

View File

@ -6,7 +6,7 @@ struct Efl.Event_Animator_Tick {
update_area: Eina.Rect; [[Area of the canvas that will be pushed to screen.]] update_area: Eina.Rect; [[Area of the canvas that will be pushed to screen.]]
} }
abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity, Efl.Gfx.Color, Efl.Gfx.Stack, abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity, Efl.Gfx.Color, Efl.Gfx.Stack,
Efl.Input.Interface, Efl.Gfx.Hint, Efl.Input.Interface, Efl.Gfx.Hint,
Efl.Gfx.Mapping, Efl.Ui.I18n, Efl.Canvas.Pointer Efl.Gfx.Mapping, Efl.Ui.I18n, Efl.Canvas.Pointer
{ {
@ -195,14 +195,16 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
focus: bool; [[$true if focused by at least one seat or $false otherwise.]] focus: bool; [[$true if focused by at least one seat or $false otherwise.]]
} }
} }
seat_focus_check { /* FIXME Efl.Input.Device is not stable yet*/
seat_focus_check @beta {
[[ Check if this object is focused by a given seat @since 1.19 ]] [[ Check if this object is focused by a given seat @since 1.19 ]]
params { params {
@in seat: Efl.Input.Device; [[The seat to check if the object is focused. Use $null for the default seat.]] @in seat: Efl.Input.Device; [[The seat to check if the object is focused. Use $null for the default seat.]]
} }
return: bool; [[$true if focused or $false otherwise.]] return: bool; [[$true if focused or $false otherwise.]]
} }
seat_focus_add { /* FIXME Efl.Input.Device is not stable yet*/
seat_focus_add @beta {
[[ Add a seat to the focus list. [[ Add a seat to the focus list.
Evas allows the Efl.Canvas.Object to be focused by multiple seats Evas allows the Efl.Canvas.Object to be focused by multiple seats
@ -218,7 +220,8 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
} }
return: bool; [[$true if the focus has been set or $false otherwise.]] return: bool; [[$true if the focus has been set or $false otherwise.]]
} }
seat_focus_del { /* FIXME Efl.Input.Device is not stable yet*/
seat_focus_del @beta {
[[ Remove a seat from the focus list. [[ Remove a seat from the focus list.
@since 1.19 @since 1.19

View File

@ -1,4 +1,4 @@
mixin @beta Efl.Gfx.Mapping requires Efl.Object mixin Efl.Gfx.Mapping requires Efl.Object
{ {
[[Texture UV mapping for all objects (rotation, perspective, 3d, ...). [[Texture UV mapping for all objects (rotation, perspective, 3d, ...).

View File

@ -1,4 +1,4 @@
class @beta Efl.Input.Focus extends Efl.Object implements Efl.Input.Event class Efl.Input.Focus extends Efl.Object implements Efl.Input.Event
{ {
[[Represents a focus event. @since 1.19]] [[Represents a focus event. @since 1.19]]
methods { methods {

View File

@ -1,11 +1,12 @@
import efl_input_types; import efl_input_types;
interface @beta Efl.Input.State interface Efl.Input.State
{ {
[[Efl input state interface]] [[Efl input state interface]]
eo_prefix: efl_input; eo_prefix: efl_input;
methods { methods {
@property modifier_enabled { /* FIXME Efl.Input.Device is not stable yet*/
@property modifier_enabled @beta {
[[Indicates whether a key modifier is on, such as Ctrl, Shift, ...]] [[Indicates whether a key modifier is on, such as Ctrl, Shift, ...]]
get {} get {}
keys { keys {
@ -16,7 +17,8 @@ interface @beta Efl.Input.State
is_set: bool; [[$true if the key modifier is pressed.]] is_set: bool; [[$true if the key modifier is pressed.]]
} }
} }
@property lock_enabled { /* FIXME Efl.Input.Device is not stable yet*/
@property lock_enabled @beta {
[[Indicates whether a key lock is on, such as NumLock, CapsLock, ...]] [[Indicates whether a key lock is on, such as NumLock, CapsLock, ...]]
get {} get {}
keys { keys {