efl: change all occurences of @owned to @move

This commit is contained in:
Daniel Kolesa 2019-09-06 17:01:05 +02:00
parent 67c2a4f5f1
commit 4f4b58bf4c
49 changed files with 103 additions and 103 deletions

View File

@ -33,7 +33,7 @@ class @beta Efl.Container_Model extends Efl.Composite_Model
params { params {
name: string; [[Property name]] name: string; [[Property name]]
@in type: ptr(const(Eina.Value_Type)); [[Property type]] @in type: ptr(const(Eina.Value_Type)); [[Property type]]
values: iterator<const(void_ptr)> @owned; [[Values to be added]] values: iterator<const(void_ptr)> @move; [[Values to be added]]
} }
return: bool; [[$true on success, $false otherwise]] return: bool; [[$true on success, $false otherwise]]
} }

View File

@ -61,7 +61,7 @@ mixin @beta Efl.Core.Command_Line {
return : bool; [[On success $true, $false otherwise]] return : bool; [[On success $true, $false otherwise]]
} }
values { values {
array : array<stringshare @owned> @owned; [[An array where every array field is an argument]] array : array<stringshare @move> @move; [[An array where every array field is an argument]]
} }
} }
@property command_string { @property command_string {

View File

@ -313,7 +313,7 @@ class @beta Efl.Io.Copier extends Efl.Loop_Consumer implements Efl.Io.Closer {
which case you should wait for "done", "data" or "line" which case you should wait for "done", "data" or "line"
events and then call it to retrieve and own the data. events and then call it to retrieve and own the data.
]] ]]
return: ptr(Eina.Binbuf) @owned @no_unused; [[Binbuf]] return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]]
} }
@property pending_size { @property pending_size {

View File

@ -53,7 +53,7 @@ abstract Efl.Loop extends Efl.Task
This has higher priority, for low priority use This has higher priority, for low priority use
@.idle @.idle
]] ]]
return: future<void> @owned; [[The future handle.]] return: future<void> @move; [[The future handle.]]
} }
@property throttle { @property throttle {
[[Slow down the loop execution by forcing sleep for a small [[Slow down the loop execution by forcing sleep for a small
@ -95,7 +95,7 @@ abstract Efl.Loop extends Efl.Task
This is a low priority version of @.job This is a low priority version of @.job
]] ]]
return: future<void> @owned; [[The future handle.]] return: future<void> @move; [[The future handle.]]
} }
timeout { timeout {
[[A future promise that will be resolved from a clean main [[A future promise that will be resolved from a clean main
@ -103,7 +103,7 @@ abstract Efl.Loop extends Efl.Task
params { params {
@in time: double; [[The time from now in second that the main loop will wait before triggering it.]] @in time: double; [[The time from now in second that the main loop will wait before triggering it.]]
} }
return: future<void> @owned; [[The future handle.]] return: future<void> @move; [[The future handle.]]
} }
} }
events { events {

View File

@ -52,7 +52,7 @@ abstract Efl.Loop_Consumer extends Efl.Object
[[Create a new promise with the scheduler coming from the loop provided by this object. [[Create a new promise with the scheduler coming from the loop provided by this object.
Note: You should not use eina_promise_data_set as this function rely on controlling the promise data.]] Note: You should not use eina_promise_data_set as this function rely on controlling the promise data.]]
return: ptr(Eina.Promise) @owned; [[The new promise.]] return: ptr(Eina.Promise) @move; [[The new promise.]]
} }
} }
implements { implements {

View File

@ -54,7 +54,7 @@ abstract Efl.Task extends Efl.Loop_Consumer
} }
run @pure_virtual { run @pure_virtual {
[[Actually run the task.]] [[Actually run the task.]]
return: future<void> @owned; [[A future triggered when task exits and is passed int exit code.]] return: future<void> @move; [[A future triggered when task exits and is passed int exit code.]]
} }
end @pure_virtual { end @pure_virtual {
[[Request the task end (may send a signal or interrupt [[Request the task end (may send a signal or interrupt

View File

@ -94,7 +94,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
EINPROGRESS (the connection was already ongoing) and EINPROGRESS (the connection was already ongoing) and
EALREADY (the connection was already established). EALREADY (the connection was already established).
]] ]]
return: future<void> @owned; [[Future for asynchronous connect]] return: future<void> @move; [[Future for asynchronous connect]]
} }
disconnect { disconnect {
@ -252,7 +252,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
]] ]]
get { } get { }
values { values {
name_servers: iterator<string> @owned; [[Iterator to DNS server]] name_servers: iterator<string> @move; [[Iterator to DNS server]]
} }
} }
@ -266,7 +266,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
]] ]]
get { } get { }
values { values {
time_servers: iterator<string> @owned; [[Iterator to time server]] time_servers: iterator<string> @move; [[Iterator to time server]]
} }
} }
@ -280,7 +280,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
]] ]]
get { } get { }
values { values {
domains: iterator<string> @owned; [[Iterator to search domains]] domains: iterator<string> @move; [[Iterator to search domains]]
} }
} }
@ -331,8 +331,8 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
values { values {
method: Efl.Net.Control.Access_Point_Proxy_Method; [[Proxy method]] method: Efl.Net.Control.Access_Point_Proxy_Method; [[Proxy method]]
url: string; [[If @Efl.Net.Control.Access_Point_Proxy_Method.auto, then states the URL to use for proxy auto-configuration]] url: string; [[If @Efl.Net.Control.Access_Point_Proxy_Method.auto, then states the URL to use for proxy auto-configuration]]
servers: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]] servers: iterator<string> @move; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]]
excludes: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]] excludes: iterator<string> @move; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]]
} }
} }
@ -348,7 +348,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
set { } set { }
get { } get { }
values { values {
name_servers: iterator<string> @owned; [[Iterator to user DNS server]] name_servers: iterator<string> @move; [[Iterator to user DNS server]]
} }
} }
@ -364,7 +364,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
set { } set { }
get { } get { }
values { values {
time_servers: iterator<string> @owned; [[Iterator to user time server]] time_servers: iterator<string> @move; [[Iterator to user time server]]
} }
} }
@ -380,7 +380,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
set { } set { }
get { } get { }
values { values {
domains: iterator<string> @owned; [[Iterator to user search domains]] domains: iterator<string> @move; [[Iterator to user search domains]]
} }
} }
@ -437,8 +437,8 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer {
values { values {
method: Efl.Net.Control.Access_Point_Proxy_Method; [[Proxy method]] method: Efl.Net.Control.Access_Point_Proxy_Method; [[Proxy method]]
url: string; [[If @Efl.Net.Control.Access_Point_Proxy_Method.auto, then states the URL to use for proxy auto-configuration]] url: string; [[If @Efl.Net.Control.Access_Point_Proxy_Method.auto, then states the URL to use for proxy auto-configuration]]
servers: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]] servers: iterator<string> @move; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the URI with proxy servers to use, like "http://proxy.domain.com:911"]]
excludes: iterator<string> @owned; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]] excludes: iterator<string> @move; [[If @Efl.Net.Control.Access_Point_Proxy_Method.manual, then states the hosts or patterns to exclude from proxy access, such as "localhost", ".domain.com", or "10.0.0.0..."]]
} }
} }
} }

View File

@ -148,7 +148,7 @@ class @beta Efl.Net.Control.Manager extends Efl.Loop_Consumer {
]] ]]
get { } get { }
values { values {
access_points: iterator<Efl.Net.Control.Access_Point> @owned; [[Iterator of current access points]] access_points: iterator<Efl.Net.Control.Access_Point> @move; [[Iterator of current access points]]
} }
} }
@ -162,7 +162,7 @@ class @beta Efl.Net.Control.Manager extends Efl.Loop_Consumer {
]] ]]
get { } get { }
values { values {
technologies: iterator<Efl.Net.Control.Technology> @owned; [[Iterator of current technologies]] technologies: iterator<Efl.Net.Control.Technology> @move; [[Iterator of current technologies]]
} }
} }

View File

@ -86,7 +86,7 @@ class @beta Efl.Net.Control.Technology extends Efl.Loop_Consumer {
state. Otherwise allow the system to perform state. Otherwise allow the system to perform
passive scans in a timely manner. passive scans in a timely manner.
]] ]]
return: future<void> @owned; [[Future return for finished background scan]] return: future<void> @move; [[Future return for finished background scan]]
} }
} }

View File

@ -187,7 +187,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
request_headers_get { request_headers_get {
[[Returns an iterator to the key-value pairs for request headers]] [[Returns an iterator to the key-value pairs for request headers]]
return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator for request headers]] return: iterator<ptr(Efl.Net.Http.Header)> @move @no_unused; [[Iterator for request headers]]
} }
@property request_content_length { @property request_content_length {
@ -250,7 +250,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
This will be usable after the "headers,done" event is dispatched. This will be usable after the "headers,done" event is dispatched.
]] ]]
return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator for response headers]] return: iterator<ptr(Efl.Net.Http.Header)> @move @no_unused; [[Iterator for response headers]]
} }
response_headers_all_get { response_headers_all_get {
@ -275,7 +275,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
This will be usable after the "headers,done" event is dispatched. This will be usable after the "headers,done" event is dispatched.
]] ]]
return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator for all response headers]] return: iterator<ptr(Efl.Net.Http.Header)> @move @no_unused; [[Iterator for all response headers]]
} }
response_headers_clear { response_headers_clear {
@ -381,7 +381,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
params { params {
epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]] epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]]
} }
return: mstring @owned @no_unused; [[Newly allocated null-terminated string on success or NULL on errors]] return: mstring @move @no_unused; [[Newly allocated null-terminated string on success or NULL on errors]]
} }
} }

View File

@ -144,7 +144,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne
request_protocols_get { request_protocols_get {
[[Returns an iterator to the requested WebSocket protocols]] [[Returns an iterator to the requested WebSocket protocols]]
return: iterator<string> @owned @no_unused; [[Iterator to protocols]] return: iterator<string> @move @no_unused; [[Iterator to protocols]]
} }
request_protocols_clear { request_protocols_clear {
@ -153,7 +153,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne
response_protocols_get { response_protocols_get {
[[Returns an iterator to the server-replied (response) WebSocket protocols it supports]] [[Returns an iterator to the server-replied (response) WebSocket protocols it supports]]
return: iterator<string> @owned @no_unused; [[Iterator to server protocols]] return: iterator<string> @move @no_unused; [[Iterator to server protocols]]
} }
@property streaming_mode { @property streaming_mode {
@ -260,7 +260,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne
request_headers_get { request_headers_get {
[[Returns an iterator to the key-value pairs for request headers]] [[Returns an iterator to the key-value pairs for request headers]]
return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator to key value pairs]] return: iterator<ptr(Efl.Net.Http.Header)> @move @no_unused; [[Iterator to key value pairs]]
} }
@property cookie_jar { @property cookie_jar {

View File

@ -48,7 +48,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
port: uint16; [[Port number in Host/Native endianess]] port: uint16; [[Port number in Host/Native endianess]]
address: const(Eina.Slice); [[Address bytes. If 4 bytes, AF_INET will be used. If 16 bytes, AF_INET6 will be used. All other sizes will result in failure.]] address: const(Eina.Slice); [[Address bytes. If 4 bytes, AF_INET will be used. If 16 bytes, AF_INET6 will be used. All other sizes will result in failure.]]
} }
return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameters were invalid.]] return: Efl.Net.Ip_Address @move; [[Newly created object or $NULL if parameters were invalid.]]
} }
create_sockaddr @static { create_sockaddr @static {
@ -61,7 +61,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
params { params {
sockaddr: const(void_ptr); [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]] sockaddr: const(void_ptr); [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]]
} }
return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameter was invalid.]] return: Efl.Net.Ip_Address @move; [[Newly created object or $NULL if parameter was invalid.]]
} }
parse @static { parse @static {
@ -85,7 +85,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
params { params {
numeric_address: string; [[The numeric address to parse, such as '127.0.0.1:1234' or '[::1]:1234']] numeric_address: string; [[The numeric address to parse, such as '127.0.0.1:1234' or '[::1]:1234']]
} }
return: Efl.Net.Ip_Address @owned; [[The new IP address object or NULL if it failed to parse]] return: Efl.Net.Ip_Address @move; [[The new IP address object or NULL if it failed to parse]]
} }
resolve @static { resolve @static {

View File

@ -58,7 +58,7 @@ class @beta Efl.Net.Server_Udp extends Efl.Net.Server_Ip {
The iterator is only valid until a new group is joined The iterator is only valid until a new group is joined
or left using @.multicast_join or @.multicast_leave. or left using @.multicast_join or @.multicast_leave.
]] ]]
return: iterator<string> @owned; [[List of multicast groups]] return: iterator<string> @move; [[List of multicast groups]]
} }
@property multicast_time_to_live { @property multicast_time_to_live {

View File

@ -109,7 +109,7 @@ class @beta Efl.Net.Socket_Udp extends Efl.Net.Socket_Fd {
The iterator is only valid until a new group is joined The iterator is only valid until a new group is joined
or left using @.multicast_join or @.multicast_leave. or left using @.multicast_join or @.multicast_leave.
]] ]]
return: iterator<string> @owned; [[Iterator to multicast groups]] return: iterator<string> @move; [[Iterator to multicast groups]]
} }
@property multicast_time_to_live { @property multicast_time_to_live {

View File

@ -46,7 +46,7 @@ class @beta Efl.Net.Ssl.Context extends Efl.Object {
Can only be set during object construction! Can only be set during object construction!
]] ]]
values { values {
paths: iterator<string> @owned; [[Path list for certificates]] paths: iterator<string> @move; [[Path list for certificates]]
} }
} }
@ -56,7 +56,7 @@ class @beta Efl.Net.Ssl.Context extends Efl.Object {
Can only be set during object construction! Can only be set during object construction!
]] ]]
values { values {
paths: iterator<string> @owned; [[Path list for private keys]] paths: iterator<string> @move; [[Path list for private keys]]
} }
} }
@ -66,7 +66,7 @@ class @beta Efl.Net.Ssl.Context extends Efl.Object {
Can only be set during object construction! Can only be set during object construction!
]] ]]
values { values {
paths: iterator<string> @owned; [[Path list for CRL's]] paths: iterator<string> @move; [[Path list for CRL's]]
} }
} }
@ -76,7 +76,7 @@ class @beta Efl.Net.Ssl.Context extends Efl.Object {
Can only be set during object construction! Can only be set during object construction!
]] ]]
values { values {
paths: iterator<string> @owned; [[Path list for CA's]] paths: iterator<string> @move; [[Path list for CA's]]
} }
} }

View File

@ -34,7 +34,7 @@ class @beta Efl.Canvas.Layout extends Efl.Canvas.Group implements Efl.File, Efl.
access_part_iterate @beta { access_part_iterate @beta {
[[Iterates over all accessibility-enabled part names.]] [[Iterates over all accessibility-enabled part names.]]
return: iterator<string> @owned; [[Part name iterator]] return: iterator<string> @move; [[Part name iterator]]
} }
@property seat { @property seat {
get { get {

View File

@ -51,7 +51,7 @@ interface Efl.Canvas.Scene
Warning: This function will only evaluate top-level objects; child Warning: This function will only evaluate top-level objects; child
or "sub" objects will be skipped. or "sub" objects will be skipped.
]] ]]
return: iterator<Efl.Gfx.Entity> @owned @no_unused; [[ return: iterator<Efl.Gfx.Entity> @move @no_unused; [[
The list of objects that are over the given position in $e. The list of objects that are over the given position in $e.
]] ]]
params { params {
@ -103,7 +103,7 @@ interface Efl.Canvas.Scene
Warning: This function will only evaluate top-level objects; child Warning: This function will only evaluate top-level objects; child
or "sub" objects will be skipped. or "sub" objects will be skipped.
]] ]]
return: iterator<Efl.Gfx.Entity> @owned @no_unused; [[Iterator to objects]] return: iterator<Efl.Gfx.Entity> @move @no_unused; [[Iterator to objects]]
params { params {
@in rect: Eina.Rect; [[The rectangular region.]] @in rect: Eina.Rect; [[The rectangular region.]]
@in include_pass_events_objects: bool; [[ @in include_pass_events_objects: bool; [[
@ -153,7 +153,7 @@ interface Efl.Canvas.Scene
a pointer and a keyboard. A seat object is the parent of the individual input a pointer and a keyboard. A seat object is the parent of the individual input
devices. devices.
]] ]]
return: iterator<Efl.Input.Device> @owned; return: iterator<Efl.Input.Device> @move;
[[An iterator over the attached seats.]] [[An iterator over the attached seats.]]
} }
/* FIXME Efl.Input.Device is not stable yet*/ /* FIXME Efl.Input.Device is not stable yet*/

View File

@ -9,7 +9,7 @@ interface @beta Efl.Config
name: string; [[Configuration option name.]] name: string; [[Configuration option name.]]
} }
values { values {
value: any_value_ptr @owned; value: any_value_ptr @move;
[[The value. It will be empty if it doesn't exist. The caller [[The value. It will be empty if it doesn't exist. The caller
must free it after use (using $eina_value_free() in C).]] must free it after use (using $eina_value_free() in C).]]
} }

View File

@ -12,7 +12,7 @@ interface Efl.Container
methods { methods {
content_iterate { content_iterate {
[[Begin iterating over this object's contents.]] [[Begin iterating over this object's contents.]]
return: iterator<Efl.Gfx.Entity> @owned @no_unused; [[Iterator on object's content.]] return: iterator<Efl.Gfx.Entity> @move @no_unused; [[Iterator on object's content.]]
} }
content_count { content_count {
[[Returns the number of contained sub-objects.]] [[Returns the number of contained sub-objects.]]

View File

@ -11,7 +11,7 @@ interface @beta Efl.Duplicate
The newly created object will have no event handlers or anything of The newly created object will have no event handlers or anything of
the sort. the sort.
]] ]]
return: Efl.Duplicate @owned; [[Returned carbon copy]] return: Efl.Duplicate @move; [[Returned carbon copy]]
} }
} }
} }

View File

@ -65,7 +65,7 @@ class Efl.Input.Device extends Efl.Object
This is only meaningful with seat devices, as they are groups of This is only meaningful with seat devices, as they are groups of
real input devices. real input devices.
]] ]]
return: iterator<const(Efl.Input.Device)> @owned; [[List of device children]] return: iterator<const(Efl.Input.Device)> @move; [[List of device children]]
} }
@property pointer_device_count { @property pointer_device_count {
[[The number of pointer devices in this seat. [[The number of pointer devices in this seat.

View File

@ -133,7 +133,7 @@ class @beta Efl.Io.Buffer extends Efl.Object
On failure, for example a read-only backing store was On failure, for example a read-only backing store was
adopted with @.adopt_readonly, NULL is returned. adopted with @.adopt_readonly, NULL is returned.
]] ]]
return: ptr(Eina.Binbuf) @owned @no_unused; [[Binbuf]] return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]]
} }
} }

View File

@ -31,7 +31,7 @@ interface @beta Efl.Model
]] ]]
} }
values { values {
properties: iterator<string> @owned; [[Array of current properties]] properties: iterator<string> @move; [[Array of current properties]]
} }
} }
@property property { @property property {

View File

@ -4,7 +4,7 @@ struct @beta @free(efl_observable_tuple_free) Efl.Observable_Tuple
{ {
[[This type describes an observable touple]] [[This type describes an observable touple]]
key: string; [[Touple key]] key: string; [[Touple key]]
data: iterator<Efl.Observer> @owned; [[Touple data]] data: iterator<Efl.Observer> @move; [[Touple data]]
} }
class @beta Efl.Observable extends Efl.Object { class @beta Efl.Observable extends Efl.Object {
@ -41,7 +41,7 @@ class @beta Efl.Observable extends Efl.Object {
observers_iterator_new { observers_iterator_new {
[[Return a new iterator associated with a group of observers. [[Return a new iterator associated with a group of observers.
]] ]]
return: iterator<Efl.Observer> @owned; [[Iterator for observers group]] return: iterator<Efl.Observer> @move; [[Iterator for observers group]]
params { params {
@in key: string; [[A key to classify observer groups]] @in key: string; [[A key to classify observer groups]]
} }
@ -57,7 +57,7 @@ class @beta Efl.Observable extends Efl.Object {
iterator_tuple_new { iterator_tuple_new {
[[Return a new iterator associated to this observable. [[Return a new iterator associated to this observable.
]] ]]
return: iterator<ptr(Efl.Observable_Tuple)> @owned; [[Iterator for observer]] return: iterator<ptr(Efl.Observable_Tuple)> @move; [[Iterator for observer]]
} }
} }
implements { implements {

View File

@ -25,7 +25,7 @@ interface @beta Efl.Pack_Table extends Efl.Pack
} }
table_contents_get { table_contents_get {
[[Returns all objects at a given position in this table.]] [[Returns all objects at a given position in this table.]]
return: iterator<Efl.Gfx.Entity> @owned; [[Iterator to table contents]] return: iterator<Efl.Gfx.Entity> @move; [[Iterator to table contents]]
params { params {
@in col: int; [[Column number]] @in col: int; [[Column number]]
@in row: int; [[Row number]] @in row: int; [[Row number]]

View File

@ -33,7 +33,7 @@ interface @beta Efl.Text_Annotate {
@in start: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] @in start: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
@in end: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] @in end: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
} }
return: iterator<ptr(Efl.Text_Annotate_Annotation)> @owned; [[Handle of the Annotation]] return: iterator<ptr(Efl.Text_Annotate_Annotation)> @move; [[Handle of the Annotation]]
} }
annotation_insert { annotation_insert {
[[Inserts an annotation format in a specified range [$start, $end - 1]. [[Inserts an annotation format in a specified range [$start, $end - 1].

View File

@ -5,7 +5,7 @@ interface @beta Efl.Text_Markup_Interactive extends Efl.Text_Cursor {
@property markup_range { @property markup_range {
[[Markup of a given range in the text]] [[Markup of a given range in the text]]
values { values {
markup: mstring @owned; [[The markup-text representation set to markup: mstring @move; [[The markup-text representation set to
this text of a given range]] this text of a given range]]
} }
keys { keys {

View File

@ -11,7 +11,7 @@ class @beta Efl.Text_Markup_Util {
params { params {
@in text: string; [[The text (UTF-8) to convert to markup]] @in text: string; [[The text (UTF-8) to convert to markup]]
} }
return: mstring @owned; [[The markup representation of given text]] return: mstring @move; [[The markup representation of given text]]
} }
markup_to_text @static { markup_to_text @static {
[[Converts a given (UTF-8) text to a markup-compatible string. [[Converts a given (UTF-8) text to a markup-compatible string.
@ -21,7 +21,7 @@ class @beta Efl.Text_Markup_Util {
params { params {
@in text: string; [[The markup-text to convert to text (UTF-8)]] @in text: string; [[The markup-text to convert to text (UTF-8)]]
} }
return: mstring @owned; [[The text representation of given format]] return: mstring @move; [[The text representation of given format]]
} }
} }
} }

View File

@ -28,7 +28,7 @@ interface @beta Efl.Ui.Menu {
@property items { @property items {
get { get {
[[Returns a list of the widget item.]] [[Returns a list of the widget item.]]
return: iterator<Efl.Ui.Item> @owned @no_unused; [[Iterator to widget items]] return: iterator<Efl.Ui.Item> @move @no_unused; [[Iterator to widget items]]
} }
} }
} }

View File

@ -34,7 +34,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
@in path: string; [[Path we want to list entries for]] @in path: string; [[Path we want to list entries for]]
paths: EflIoPath; [[Callback called for each packet of files found]] paths: EflIoPath; [[Callback called for each packet of files found]]
} }
return: future<uint64> @owned; [[Amount of files found during the listing of the directory]] return: future<uint64> @move; [[Amount of files found during the listing of the directory]]
} }
direct_ls @const { direct_ls @const {
@ -44,7 +44,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
@in recursive: bool; [[If $true, list entries recursively, $false otherwise]] @in recursive: bool; [[If $true, list entries recursively, $false otherwise]]
info: EflIoDirectInfo; [[Callback called for each packet of @Eina.File_Direct_Info]] info: EflIoDirectInfo; [[Callback called for each packet of @Eina.File_Direct_Info]]
} }
return: future<uint64> @owned; [[Amount of files found during the listing of the directory]] return: future<uint64> @move; [[Amount of files found during the listing of the directory]]
} }
stat_ls @const { stat_ls @const {
@ -54,7 +54,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
@in recursive: bool; [[If $true, list entries recursively, $false otherwise]] @in recursive: bool; [[If $true, list entries recursively, $false otherwise]]
info: EflIoDirectInfo; [[Callback called for each packet of @Eina.File_Direct_Info]] info: EflIoDirectInfo; [[Callback called for each packet of @Eina.File_Direct_Info]]
} }
return: future<uint64> @owned; [[Amount of files found during the listing of the directory]] return: future<uint64> @move; [[Amount of files found during the listing of the directory]]
} }
// Extended attributes // Extended attributes
@ -64,7 +64,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
@in path: string; [[Path we want to list entries for]] @in path: string; [[Path we want to list entries for]]
paths: EflIoPath; [[Callback called for each packet of extended attributes found.]] paths: EflIoPath; [[Callback called for each packet of extended attributes found.]]
} }
return: future<uint64> @owned; [[Amount of extended attributes found]] return: future<uint64> @move; [[Amount of extended attributes found]]
} }
stat @const { stat @const {
@ -83,10 +83,10 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
data: ptr(Eina.Binbuf); [[Data to set as information]] data: ptr(Eina.Binbuf); [[Data to set as information]]
flags: Eina.Xattr.Flags; [[Extended attributes flags]] flags: Eina.Xattr.Flags; [[Extended attributes flags]]
} }
return: future<uint64> @owned; [[Future for asynchronous set operation]] return: future<uint64> @move; [[Future for asynchronous set operation]]
} }
get { get {
return: future<Eina.Binbuf> @owned; [[Information]] return: future<Eina.Binbuf> @move; [[Information]]
} }
keys { keys {
path: string; [[File path]] path: string; [[File path]]
@ -103,7 +103,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
@in path: string; [[Path to file]] @in path: string; [[Path to file]]
@in shared: bool; [[$true if the file can be accessed by others, $false otherwise]] @in shared: bool; [[$true if the file can be accessed by others, $false otherwise]]
} }
return: future<Eina.File> @owned; [[Eina file handle]] return: future<Eina.File> @move; [[Eina file handle]]
} }
close @const { close @const {
[[Closes an open Eina.File.]] [[Closes an open Eina.File.]]
@ -111,7 +111,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer
@in file: ptr(Eina.File); [[Eina file handle]] @in file: ptr(Eina.File); [[Eina file handle]]
// Here we're just interested whether the promise was fulfilled or not. No value needed. // Here we're just interested whether the promise was fulfilled or not. No value needed.
} }
return: future<int> @owned; [[Close return code]] return: future<int> @move; [[Close return code]]
} }
} }
} }

View File

@ -63,7 +63,7 @@ mixin @beta Efl.Access.Action
params { params {
@in id: int; [[ID for widget]] @in id: int; [[ID for widget]]
} }
return: mstring @owned @no_unused; [[Should be freed by the user.]] return: mstring @move @no_unused; [[Should be freed by the user.]]
} }
} }
} }

View File

@ -280,7 +280,7 @@ mixin @beta Efl.Access.Object requires Efl.Object
get { get {
} }
values { values {
children: list<Efl.Access.Object> @owned; [[List of widget's children]] children: list<Efl.Access.Object> @move; [[List of widget's children]]
} }
} }
@property role_name @protected @beta { @property role_name @protected @beta {
@ -296,7 +296,7 @@ mixin @beta Efl.Access.Object requires Efl.Object
get { get {
} }
values { values {
attributes: list<ptr(Efl.Access.Attribute) @owned> @owned; [[List of object attributes. attributes: list<ptr(Efl.Access.Attribute) @move> @move; [[List of object attributes.
Must be freed by the user]] Must be freed by the user]]
} }
} }

View File

@ -72,7 +72,7 @@ interface @beta Efl.Access.Text
-1 in case of error.]] -1 in case of error.]]
} }
values { values {
string: mstring @owned; [[Newly allocated UTF-8 encoded string. Must be free by a user.]] string: mstring @move; [[Newly allocated UTF-8 encoded string. Must be free by a user.]]
} }
} }
@property access_text @protected @beta { @property access_text @protected @beta {
@ -84,7 +84,7 @@ interface @beta Efl.Access.Text
end_offset: int; [[End offset of text.]] end_offset: int; [[End offset of text.]]
} }
values { values {
text: mstring @owned; [[UTF-8 encoded text.]] text: mstring @move; [[UTF-8 encoded text.]]
} }
} }
@property caret_offset @protected @beta { @property caret_offset @protected @beta {
@ -110,7 +110,7 @@ interface @beta Efl.Access.Text
end_offset: ptr(int); [[Position in text to which given attribute is set.]] end_offset: ptr(int); [[Position in text to which given attribute is set.]]
} }
values { values {
value: mstring @owned; [[Value of text attribute. Should be free()]] value: mstring @move; [[Value of text attribute. Should be free()]]
} }
} }
@property text_attributes @protected @beta { @property text_attributes @protected @beta {
@ -122,7 +122,7 @@ interface @beta Efl.Access.Text
end_offset: ptr(int); [[End offset]] end_offset: ptr(int); [[End offset]]
} }
values { values {
attributes: list<ptr(Efl.Access.Text_Attribute) @owned> @owned; [[List of text attributes]] attributes: list<ptr(Efl.Access.Text_Attribute) @move> @move; [[List of text attributes]]
} }
} }
@property default_attributes @protected @beta { @property default_attributes @protected @beta {
@ -130,7 +130,7 @@ interface @beta Efl.Access.Text
get { get {
} }
values { values {
attributes: list<ptr(Efl.Access.Text_Attribute) @owned> @owned; [[List of default attributes]] attributes: list<ptr(Efl.Access.Text_Attribute) @move> @move; [[List of default attributes]]
} }
} }
@property character_extents @protected @beta { @property character_extents @protected @beta {
@ -181,7 +181,7 @@ interface @beta Efl.Access.Text
yclip: Efl.Access.Text_Clip_Type; [[yclip]] yclip: Efl.Access.Text_Clip_Type; [[yclip]]
} }
values { values {
ranges: list<ptr(Efl.Access.Text_Range) @owned> @owned; [[List of ranges]] ranges: list<ptr(Efl.Access.Text_Range) @move> @move; [[List of ranges]]
} }
} }
@property range_extents @protected @beta { @property range_extents @protected @beta {

View File

@ -50,7 +50,7 @@ class @beta Efl.Config_Global extends Efl.Object implements Efl.Config
hidden: bool @optional; [[If $true, gets the full list of profiles, hidden: bool @optional; [[If $true, gets the full list of profiles,
including those stored in hidden files.]] including those stored in hidden files.]]
} }
return: iterator<string> @owned; [[Iterator to profiles]] return: iterator<string> @move; [[Iterator to profiles]]
} }
profile_exists { profile_exists {
[[Returns whether a profile exists or not.]] [[Returns whether a profile exists or not.]]
@ -66,7 +66,7 @@ class @beta Efl.Config_Global extends Efl.Object implements Efl.Config
is_user: bool; [[$true to lookup for a user profile or $false for is_user: bool; [[$true to lookup for a user profile or $false for
a system one.]] a system one.]]
} }
return: stringshare @owned; [[Directory of the profile, free after use.]] return: stringshare @move; [[Directory of the profile, free after use.]]
} }
profile_derived_add @protected { profile_derived_add @protected {
[[Add a new profile of the given name to be derived from the current [[Add a new profile of the given name to be derived from the current

View File

@ -54,7 +54,7 @@ class @beta Efl.Ui.Collection extends Efl.Ui.Layout_Base implements
@property position_manager { @property position_manager {
[[Position manager object that handles placement of items.]] [[Position manager object that handles placement of items.]]
values { values {
position_manager : Efl.Ui.Position_Manager.Entity @owned; [[Ownership is passed to the item container.]] position_manager : Efl.Ui.Position_Manager.Entity @move; [[Ownership is passed to the item container.]]
} }
} }
} }

View File

@ -18,7 +18,7 @@ mixin @beta Efl.Ui.Focus.Composition requires Efl.Ui.Widget {
the focus property is redirected to the evas focus property. The mixin will take care of registration. the focus property is redirected to the evas focus property. The mixin will take care of registration.
]] ]]
values { values {
logical_order : list<Efl.Gfx.Entity> @owned; [[The order to use]] logical_order : list<Efl.Gfx.Entity> @move; [[The order to use]]
} }
} }
dirty @protected { dirty @protected {

View File

@ -4,10 +4,10 @@ import eina_types;
struct @beta @free(efl_ui_focus_relation_free) Efl.Ui.Focus.Relations { struct @beta @free(efl_ui_focus_relation_free) Efl.Ui.Focus.Relations {
[[Structure holding the graph of relations between focusable objects. [[Structure holding the graph of relations between focusable objects.
]] ]]
right : list<Efl.Ui.Focus.Object> @owned; [[List of objects to the right.]] right : list<Efl.Ui.Focus.Object> @move; [[List of objects to the right.]]
left : list<Efl.Ui.Focus.Object> @owned; [[List of objects to the left.]] left : list<Efl.Ui.Focus.Object> @move; [[List of objects to the left.]]
top : list<Efl.Ui.Focus.Object> @owned; [[List of objects above.]] top : list<Efl.Ui.Focus.Object> @move; [[List of objects above.]]
down : list<Efl.Ui.Focus.Object> @owned; [[List of objects below.]] down : list<Efl.Ui.Focus.Object> @move; [[List of objects below.]]
next : Efl.Ui.Focus.Object; [[Next object.]] next : Efl.Ui.Focus.Object; [[Next object.]]
prev : Efl.Ui.Focus.Object; [[Previous object.]] prev : Efl.Ui.Focus.Object; [[Previous object.]]
parent : Efl.Ui.Focus.Object; [[Parent object.]] parent : Efl.Ui.Focus.Object; [[Parent object.]]
@ -144,7 +144,7 @@ interface Efl.Ui.Focus.Manager {
params { params {
child : Efl.Ui.Focus.Object; [[The child object to inspect.]] child : Efl.Ui.Focus.Object; [[The child object to inspect.]]
} }
return : ptr(Efl.Ui.Focus.Relations) @owned; [[The list of relations return : ptr(Efl.Ui.Focus.Relations) @move; [[The list of relations
starting from $child.]] starting from $child.]]
} }
logical_end { logical_end {

View File

@ -59,7 +59,7 @@ class @beta Efl.Ui.Focus.Manager_Calc extends Efl.Object implements Efl.Ui.Focus
[[Sets the list of children to a different order.]] [[Sets the list of children to a different order.]]
params { params {
parent : Efl.Ui.Focus.Object; [[The parent to update.]] parent : Efl.Ui.Focus.Object; [[The parent to update.]]
children : list<Efl.Ui.Focus.Object> @owned; [[The list of children with the new order.]] children : list<Efl.Ui.Focus.Object> @move; [[The list of children with the new order.]]
} }
return : bool; [[$true if successful, $false otherwise.]] return : bool; [[$true if successful, $false otherwise.]]
} }
@ -71,7 +71,7 @@ class @beta Efl.Ui.Focus.Manager_Calc extends Efl.Object implements Efl.Ui.Focus
]] ]]
params { params {
parent : Efl.Ui.Focus.Object; [[The parent to update.]] parent : Efl.Ui.Focus.Object; [[The parent to update.]]
children : list<Efl.Ui.Focus.Object> @owned; [[The list of objects with the new order.]] children : list<Efl.Ui.Focus.Object> @move; [[The list of objects with the new order.]]
} }
} }
unregister { unregister {

View File

@ -27,7 +27,7 @@ interface @beta Efl.Ui.Multi_Selectable extends Efl.Ui.Single_Selectable
} }
selected_items_get { selected_items_get {
[[Get the selected items in a iterator. The iterator sequence will be decided by selection.]] [[Get the selected items in a iterator. The iterator sequence will be decided by selection.]]
return: iterator<Efl.Ui.Selectable> @owned @no_unused; [[User has to free the iterator after usage.]] return: iterator<Efl.Ui.Selectable> @move @no_unused; [[User has to free the iterator after usage.]]
} }
select_range { select_range {
[[Select a range of @Efl.Ui.Selectable. [[Select a range of @Efl.Ui.Selectable.

View File

@ -33,7 +33,7 @@ class @beta Efl.Ui.Spotlight.Container extends Efl.Ui.Layout_Base implements Efl
If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated). If it is not set, only the active sub-widget is shown and transitions are instantaneous (not animated).
]] ]]
values { values {
spotlight_manager : Efl.Ui.Spotlight.Manager @owned; [[The Spotlight Manager object or $NULL.]] spotlight_manager : Efl.Ui.Spotlight.Manager @move; [[The Spotlight Manager object or $NULL.]]
} }
} }
@property indicator { @property indicator {
@ -43,7 +43,7 @@ class @beta Efl.Ui.Spotlight.Container extends Efl.Ui.Layout_Base implements Efl
Its location inside the container is controlled by the @.spotlight_manager. Its location inside the container is controlled by the @.spotlight_manager.
]] ]]
values { values {
indicator : Efl.Ui.Spotlight.Indicator @owned; [[The Indicator object or $NULL.]] indicator : Efl.Ui.Spotlight.Indicator @move; [[The Indicator object or $NULL.]]
} }
} }
@property active_element { @property active_element {

View File

@ -12,7 +12,7 @@ function @beta EflUiViewModelPropertySet {
params { params {
@in view_model: Efl.Ui.View_Model; [[The ViewModel object the @.property.set is issued on.]] @in view_model: Efl.Ui.View_Model; [[The ViewModel object the @.property.set is issued on.]]
@in property: stringshare; [[The property name the @.property.set is issued on.]] @in property: stringshare; [[The property name the @.property.set is issued on.]]
@in value: any_value_ptr @owned; [[The new value to set.]] @in value: any_value_ptr @move; [[The new value to set.]]
} }
return: future<any_value_ptr>; [[The value that was finally set.]] return: future<any_value_ptr>; [[The value that was finally set.]]
}; };

View File

@ -348,7 +348,7 @@ abstract Efl.Object
} }
children_iterator_new { children_iterator_new {
[[Get an iterator on all childrens]] [[Get an iterator on all childrens]]
return: iterator<Efl.Object> @owned @no_unused; [[Children iterator]] return: iterator<Efl.Object> @move @no_unused; [[Children iterator]]
} }
composite_attach @beta { composite_attach @beta {
[[Make an object a composite object of another. [[Make an object a composite object of another.

View File

@ -57,7 +57,7 @@ class Efl.Canvas.Group extends Efl.Canvas.Object
from both the @Efl.Object children list as well as the @Efl.Container from both the @Efl.Object children list as well as the @Efl.Container
content list. content list.
]] ]]
return: iterator<Efl.Canvas.Object> @owned; return: iterator<Efl.Canvas.Object> @move;
[[Iterator to object children]] [[Iterator to object children]]
} }
group_member_add { group_member_add {

View File

@ -136,7 +136,7 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
range_text_get @const { range_text_get @const {
[[Returns the text in the range between $cur1 and $cur2. [[Returns the text in the range between $cur1 and $cur2.
]] ]]
return: mstring @owned; [[The text in the given range]] return: mstring @move; [[The text in the given range]]
params { params {
@in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
@in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
@ -152,7 +152,7 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
@in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
@in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
} }
return: iterator<ptr(Eina.Rect)> @owned; [[ return: iterator<ptr(Eina.Rect)> @move; [[
Iterator on all geoemtries of the given range Iterator on all geoemtries of the given range
]] ]]
} }
@ -167,7 +167,7 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
@in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
@in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
} }
return: iterator<ptr(Eina.Rect)> @owned; [[ return: iterator<ptr(Eina.Rect)> @move; [[
Iterator on all simple geometries of the given range Iterator on all simple geometries of the given range
]] ]]
} }
@ -222,7 +222,7 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
Once layout is complete, the result is returned as @Eina.Rect, Once layout is complete, the result is returned as @Eina.Rect,
with w, h fields set. with w, h fields set.
]] ]]
return: future<Eina.Rect> @owned; [[Future for layout result]] return: future<Eina.Rect> @move; [[Future for layout result]]
} }
} }
implements { implements {

View File

@ -17,7 +17,7 @@ interface @beta Efl.Canvas.Text_Factory
object: Efl.Canvas.Object; [[The parent of the created object]] object: Efl.Canvas.Object; [[The parent of the created object]]
key: string; [[Key that is associated to an item object]] key: string; [[Key that is associated to an item object]]
} }
return: Efl.Canvas.Object @owned; return: Efl.Canvas.Object @move;
} }
} }
} }

View File

@ -11,7 +11,7 @@ class @beta Efl.Canvas.Vg.Container extends Efl.Canvas.Vg.Node
} }
children_get { children_get {
[[Get all children of container]] [[Get all children of container]]
return: iterator<Efl.Canvas.Vg.Node> @owned @no_unused; [[Iterator to children]] return: iterator<Efl.Canvas.Vg.Node> @move @no_unused; [[Iterator to children]]
} }
} }
implements { implements {

View File

@ -25,7 +25,7 @@ class Complex extends Efl.Object
} }
incontowncontown { incontowncontown {
params { params {
l: list<list<string> @move> @owned; l: list<list<string> @move> @move;
} }
} }
incontowncont { incontowncont {
@ -106,7 +106,7 @@ class Complex extends Efl.Object
} }
outcontowncontown { outcontowncontown {
params { params {
@out l: list<list<string> @move> @owned; @out l: list<list<string> @move> @move;
} }
} }
outcontowncont { outcontowncont {

View File

@ -41,10 +41,10 @@ class Constructor_Method_Class extends Efl.Object
} }
classoutmethod1 { classoutmethod1 {
params { @in one: int; @in two: double; } params { @in one: int; @in two: double; }
return: free(Constructor_Method_Class, eo_unref) @owned @no_unused; return: free(Constructor_Method_Class, eo_unref) @move @no_unused;
} }
classoutmethod2 { classoutmethod2 {
params { @in one: int; @in two: double; @out out_class: Constructor_Method_Class @owned; } params { @in one: int; @in two: double; @out out_class: Constructor_Method_Class @move; }
} }
} }
implements { implements {

View File

@ -104,7 +104,7 @@ class Test.Object extends Efl.Object {
} }
method_array_with_42_check { method_array_with_42_check {
[[ tests parameters ]] [[ tests parameters ]]
return: array<int> @owned @no_unused; return: array<int> @move @no_unused;
} }
method_array_in_array_out_check { method_array_in_array_out_check {
[[ tests parameters ]] [[ tests parameters ]]
@ -157,7 +157,7 @@ class Test.Object extends Efl.Object {
} }
method_list_with_42_check { method_list_with_42_check {
[[ tests parameters ]] [[ tests parameters ]]
return: list<int> @owned @no_unused; return: list<int> @move @no_unused;
} }
method_list_in_list_out_check { method_list_in_list_out_check {
[[ tests parameters ]] [[ tests parameters ]]