diff --git a/src/lib/ecore/efl_container_model.eo b/src/lib/ecore/efl_container_model.eo index 3b3ab00ad1..1acdd8543f 100644 --- a/src/lib/ecore/efl_container_model.eo +++ b/src/lib/ecore/efl_container_model.eo @@ -33,7 +33,7 @@ class @beta Efl.Container_Model extends Efl.Composite_Model params { name: string; [[Property name]] @in type: ptr(const(Eina.Value_Type)); [[Property type]] - values: iterator @owned; [[Values to be added]] + values: iterator @move; [[Values to be added]] } return: bool; [[$true on success, $false otherwise]] } diff --git a/src/lib/ecore/efl_core_command_line.eo b/src/lib/ecore/efl_core_command_line.eo index fff7157d12..6a7511d9ad 100644 --- a/src/lib/ecore/efl_core_command_line.eo +++ b/src/lib/ecore/efl_core_command_line.eo @@ -61,7 +61,7 @@ mixin @beta Efl.Core.Command_Line { return : bool; [[On success $true, $false otherwise]] } values { - array : array @owned; [[An array where every array field is an argument]] + array : array @move; [[An array where every array field is an argument]] } } @property command_string { diff --git a/src/lib/ecore/efl_io_copier.eo b/src/lib/ecore/efl_io_copier.eo index 8b7301b14b..2e9506d394 100644 --- a/src/lib/ecore/efl_io_copier.eo +++ b/src/lib/ecore/efl_io_copier.eo @@ -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" 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 { diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo index 20f0389f57..ea263fb738 100644 --- a/src/lib/ecore/efl_loop.eo +++ b/src/lib/ecore/efl_loop.eo @@ -53,7 +53,7 @@ abstract Efl.Loop extends Efl.Task This has higher priority, for low priority use @.idle ]] - return: future @owned; [[The future handle.]] + return: future @move; [[The future handle.]] } @property throttle { [[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 ]] - return: future @owned; [[The future handle.]] + return: future @move; [[The future handle.]] } timeout { [[A future promise that will be resolved from a clean main @@ -103,7 +103,7 @@ abstract Efl.Loop extends Efl.Task params { @in time: double; [[The time from now in second that the main loop will wait before triggering it.]] } - return: future @owned; [[The future handle.]] + return: future @move; [[The future handle.]] } } events { diff --git a/src/lib/ecore/efl_loop_consumer.eo b/src/lib/ecore/efl_loop_consumer.eo index c391d29f03..56045787ee 100644 --- a/src/lib/ecore/efl_loop_consumer.eo +++ b/src/lib/ecore/efl_loop_consumer.eo @@ -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. 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 { diff --git a/src/lib/ecore/efl_task.eo b/src/lib/ecore/efl_task.eo index 9fe006a34c..baf8ce80b5 100644 --- a/src/lib/ecore/efl_task.eo +++ b/src/lib/ecore/efl_task.eo @@ -54,7 +54,7 @@ abstract Efl.Task extends Efl.Loop_Consumer } run @pure_virtual { [[Actually run the task.]] - return: future @owned; [[A future triggered when task exits and is passed int exit code.]] + return: future @move; [[A future triggered when task exits and is passed int exit code.]] } end @pure_virtual { [[Request the task end (may send a signal or interrupt diff --git a/src/lib/ecore_con/efl_net_control_access_point.eo b/src/lib/ecore_con/efl_net_control_access_point.eo index 3acf2a2f17..1093f0f5ed 100644 --- a/src/lib/ecore_con/efl_net_control_access_point.eo +++ b/src/lib/ecore_con/efl_net_control_access_point.eo @@ -94,7 +94,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { EINPROGRESS (the connection was already ongoing) and EALREADY (the connection was already established). ]] - return: future @owned; [[Future for asynchronous connect]] + return: future @move; [[Future for asynchronous connect]] } disconnect { @@ -252,7 +252,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { ]] get { } values { - name_servers: iterator @owned; [[Iterator to DNS server]] + name_servers: iterator @move; [[Iterator to DNS server]] } } @@ -266,7 +266,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { ]] get { } values { - time_servers: iterator @owned; [[Iterator to time server]] + time_servers: iterator @move; [[Iterator to time server]] } } @@ -280,7 +280,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { ]] get { } values { - domains: iterator @owned; [[Iterator to search domains]] + domains: iterator @move; [[Iterator to search domains]] } } @@ -331,8 +331,8 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { values { 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]] - servers: iterator @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"]] - excludes: iterator @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..."]] + servers: iterator @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 @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 { } get { } values { - name_servers: iterator @owned; [[Iterator to user DNS server]] + name_servers: iterator @move; [[Iterator to user DNS server]] } } @@ -364,7 +364,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { set { } get { } values { - time_servers: iterator @owned; [[Iterator to user time server]] + time_servers: iterator @move; [[Iterator to user time server]] } } @@ -380,7 +380,7 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { set { } get { } values { - domains: iterator @owned; [[Iterator to user search domains]] + domains: iterator @move; [[Iterator to user search domains]] } } @@ -437,8 +437,8 @@ class @beta Efl.Net.Control.Access_Point extends Efl.Loop_Consumer { values { 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]] - servers: iterator @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"]] - excludes: iterator @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..."]] + servers: iterator @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 @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..."]] } } } diff --git a/src/lib/ecore_con/efl_net_control_manager.eo b/src/lib/ecore_con/efl_net_control_manager.eo index 137d7feaaa..4d7d232c7e 100644 --- a/src/lib/ecore_con/efl_net_control_manager.eo +++ b/src/lib/ecore_con/efl_net_control_manager.eo @@ -148,7 +148,7 @@ class @beta Efl.Net.Control.Manager extends Efl.Loop_Consumer { ]] get { } values { - access_points: iterator @owned; [[Iterator of current access points]] + access_points: iterator @move; [[Iterator of current access points]] } } @@ -162,7 +162,7 @@ class @beta Efl.Net.Control.Manager extends Efl.Loop_Consumer { ]] get { } values { - technologies: iterator @owned; [[Iterator of current technologies]] + technologies: iterator @move; [[Iterator of current technologies]] } } diff --git a/src/lib/ecore_con/efl_net_control_technology.eo b/src/lib/ecore_con/efl_net_control_technology.eo index 01daedd7d3..b44e988cd5 100644 --- a/src/lib/ecore_con/efl_net_control_technology.eo +++ b/src/lib/ecore_con/efl_net_control_technology.eo @@ -86,7 +86,7 @@ class @beta Efl.Net.Control.Technology extends Efl.Loop_Consumer { state. Otherwise allow the system to perform passive scans in a timely manner. ]] - return: future @owned; [[Future return for finished background scan]] + return: future @move; [[Future return for finished background scan]] } } diff --git a/src/lib/ecore_con/efl_net_dialer_http.eo b/src/lib/ecore_con/efl_net_dialer_http.eo index a44b50a251..ceca602c26 100644 --- a/src/lib/ecore_con/efl_net_dialer_http.eo +++ b/src/lib/ecore_con/efl_net_dialer_http.eo @@ -187,7 +187,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia request_headers_get { [[Returns an iterator to the key-value pairs for request headers]] - return: iterator @owned @no_unused; [[Iterator for request headers]] + return: iterator @move @no_unused; [[Iterator for request headers]] } @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. ]] - return: iterator @owned @no_unused; [[Iterator for response headers]] + return: iterator @move @no_unused; [[Iterator for response headers]] } 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. ]] - return: iterator @owned @no_unused; [[Iterator for all response headers]] + return: iterator @move @no_unused; [[Iterator for all response headers]] } response_headers_clear { @@ -381,7 +381,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia params { 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]] } } diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.eo b/src/lib/ecore_con/efl_net_dialer_websocket.eo index 904eacf283..5224030101 100644 --- a/src/lib/ecore_con/efl_net_dialer_websocket.eo +++ b/src/lib/ecore_con/efl_net_dialer_websocket.eo @@ -144,7 +144,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne request_protocols_get { [[Returns an iterator to the requested WebSocket protocols]] - return: iterator @owned @no_unused; [[Iterator to protocols]] + return: iterator @move @no_unused; [[Iterator to protocols]] } request_protocols_clear { @@ -153,7 +153,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne response_protocols_get { [[Returns an iterator to the server-replied (response) WebSocket protocols it supports]] - return: iterator @owned @no_unused; [[Iterator to server protocols]] + return: iterator @move @no_unused; [[Iterator to server protocols]] } @property streaming_mode { @@ -260,7 +260,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne request_headers_get { [[Returns an iterator to the key-value pairs for request headers]] - return: iterator @owned @no_unused; [[Iterator to key value pairs]] + return: iterator @move @no_unused; [[Iterator to key value pairs]] } @property cookie_jar { diff --git a/src/lib/ecore_con/efl_net_ip_address.eo b/src/lib/ecore_con/efl_net_ip_address.eo index 3d6eaba13b..d1be8b7d5c 100644 --- a/src/lib/ecore_con/efl_net_ip_address.eo +++ b/src/lib/ecore_con/efl_net_ip_address.eo @@ -48,7 +48,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object { 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.]] } - 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 { @@ -61,7 +61,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object { params { sockaddr: const(void_ptr); [[The pointer to struct sockaddr-compatible handle as per .]] } - 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 { @@ -85,7 +85,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object { params { 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 { diff --git a/src/lib/ecore_con/efl_net_server_udp.eo b/src/lib/ecore_con/efl_net_server_udp.eo index edb9471696..3a45be9b73 100644 --- a/src/lib/ecore_con/efl_net_server_udp.eo +++ b/src/lib/ecore_con/efl_net_server_udp.eo @@ -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 or left using @.multicast_join or @.multicast_leave. ]] - return: iterator @owned; [[List of multicast groups]] + return: iterator @move; [[List of multicast groups]] } @property multicast_time_to_live { diff --git a/src/lib/ecore_con/efl_net_socket_udp.eo b/src/lib/ecore_con/efl_net_socket_udp.eo index 561473b478..3a3849014d 100644 --- a/src/lib/ecore_con/efl_net_socket_udp.eo +++ b/src/lib/ecore_con/efl_net_socket_udp.eo @@ -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 or left using @.multicast_join or @.multicast_leave. ]] - return: iterator @owned; [[Iterator to multicast groups]] + return: iterator @move; [[Iterator to multicast groups]] } @property multicast_time_to_live { diff --git a/src/lib/ecore_con/efl_net_ssl_context.eo b/src/lib/ecore_con/efl_net_ssl_context.eo index fb40620dfc..cddbafdcdd 100644 --- a/src/lib/ecore_con/efl_net_ssl_context.eo +++ b/src/lib/ecore_con/efl_net_ssl_context.eo @@ -46,7 +46,7 @@ class @beta Efl.Net.Ssl.Context extends Efl.Object { Can only be set during object construction! ]] values { - paths: iterator @owned; [[Path list for certificates]] + paths: iterator @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! ]] values { - paths: iterator @owned; [[Path list for private keys]] + paths: iterator @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! ]] values { - paths: iterator @owned; [[Path list for CRL's]] + paths: iterator @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! ]] values { - paths: iterator @owned; [[Path list for CA's]] + paths: iterator @move; [[Path list for CA's]] } } diff --git a/src/lib/edje/efl_canvas_layout.eo b/src/lib/edje/efl_canvas_layout.eo index f5c1a2ccb1..0644fddc56 100644 --- a/src/lib/edje/efl_canvas_layout.eo +++ b/src/lib/edje/efl_canvas_layout.eo @@ -34,7 +34,7 @@ class @beta Efl.Canvas.Layout extends Efl.Canvas.Group implements Efl.File, Efl. access_part_iterate @beta { [[Iterates over all accessibility-enabled part names.]] - return: iterator @owned; [[Part name iterator]] + return: iterator @move; [[Part name iterator]] } @property seat { get { diff --git a/src/lib/efl/interfaces/efl_canvas_scene.eo b/src/lib/efl/interfaces/efl_canvas_scene.eo index 43dafdd04d..22d97d4630 100644 --- a/src/lib/efl/interfaces/efl_canvas_scene.eo +++ b/src/lib/efl/interfaces/efl_canvas_scene.eo @@ -51,7 +51,7 @@ interface Efl.Canvas.Scene Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped. ]] - return: iterator @owned @no_unused; [[ + return: iterator @move @no_unused; [[ The list of objects that are over the given position in $e. ]] params { @@ -103,7 +103,7 @@ interface Efl.Canvas.Scene Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped. ]] - return: iterator @owned @no_unused; [[Iterator to objects]] + return: iterator @move @no_unused; [[Iterator to objects]] params { @in rect: Eina.Rect; [[The rectangular region.]] @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 devices. ]] - return: iterator @owned; + return: iterator @move; [[An iterator over the attached seats.]] } /* FIXME Efl.Input.Device is not stable yet*/ diff --git a/src/lib/efl/interfaces/efl_config.eo b/src/lib/efl/interfaces/efl_config.eo index e6605d4282..0e482577b0 100644 --- a/src/lib/efl/interfaces/efl_config.eo +++ b/src/lib/efl/interfaces/efl_config.eo @@ -9,7 +9,7 @@ interface @beta Efl.Config name: string; [[Configuration option name.]] } values { - value: any_value_ptr @owned; + value: any_value_ptr @move; [[The value. It will be empty if it doesn't exist. The caller must free it after use (using $eina_value_free() in C).]] } diff --git a/src/lib/efl/interfaces/efl_container.eo b/src/lib/efl/interfaces/efl_container.eo index afafe451cf..992e9f98d8 100644 --- a/src/lib/efl/interfaces/efl_container.eo +++ b/src/lib/efl/interfaces/efl_container.eo @@ -12,7 +12,7 @@ interface Efl.Container methods { content_iterate { [[Begin iterating over this object's contents.]] - return: iterator @owned @no_unused; [[Iterator on object's content.]] + return: iterator @move @no_unused; [[Iterator on object's content.]] } content_count { [[Returns the number of contained sub-objects.]] diff --git a/src/lib/efl/interfaces/efl_duplicate.eo b/src/lib/efl/interfaces/efl_duplicate.eo index 6419f35280..0a8a712cd5 100644 --- a/src/lib/efl/interfaces/efl_duplicate.eo +++ b/src/lib/efl/interfaces/efl_duplicate.eo @@ -11,7 +11,7 @@ interface @beta Efl.Duplicate The newly created object will have no event handlers or anything of the sort. ]] - return: Efl.Duplicate @owned; [[Returned carbon copy]] + return: Efl.Duplicate @move; [[Returned carbon copy]] } } } diff --git a/src/lib/efl/interfaces/efl_input_device.eo b/src/lib/efl/interfaces/efl_input_device.eo index a015cf83f4..783b261c95 100644 --- a/src/lib/efl/interfaces/efl_input_device.eo +++ b/src/lib/efl/interfaces/efl_input_device.eo @@ -65,7 +65,7 @@ class Efl.Input.Device extends Efl.Object This is only meaningful with seat devices, as they are groups of real input devices. ]] - return: iterator @owned; [[List of device children]] + return: iterator @move; [[List of device children]] } @property pointer_device_count { [[The number of pointer devices in this seat. diff --git a/src/lib/efl/interfaces/efl_io_buffer.eo b/src/lib/efl/interfaces/efl_io_buffer.eo index f54bba953a..eefdf8e507 100644 --- a/src/lib/efl/interfaces/efl_io_buffer.eo +++ b/src/lib/efl/interfaces/efl_io_buffer.eo @@ -133,7 +133,7 @@ class @beta Efl.Io.Buffer extends Efl.Object On failure, for example a read-only backing store was adopted with @.adopt_readonly, NULL is returned. ]] - return: ptr(Eina.Binbuf) @owned @no_unused; [[Binbuf]] + return: ptr(Eina.Binbuf) @move @no_unused; [[Binbuf]] } } diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo index 8e58c24926..a425487822 100644 --- a/src/lib/efl/interfaces/efl_model.eo +++ b/src/lib/efl/interfaces/efl_model.eo @@ -31,7 +31,7 @@ interface @beta Efl.Model ]] } values { - properties: iterator @owned; [[Array of current properties]] + properties: iterator @move; [[Array of current properties]] } } @property property { diff --git a/src/lib/efl/interfaces/efl_observable.eo b/src/lib/efl/interfaces/efl_observable.eo index babfe21c59..40deba9e8b 100644 --- a/src/lib/efl/interfaces/efl_observable.eo +++ b/src/lib/efl/interfaces/efl_observable.eo @@ -4,7 +4,7 @@ struct @beta @free(efl_observable_tuple_free) Efl.Observable_Tuple { [[This type describes an observable touple]] key: string; [[Touple key]] - data: iterator @owned; [[Touple data]] + data: iterator @move; [[Touple data]] } class @beta Efl.Observable extends Efl.Object { @@ -41,7 +41,7 @@ class @beta Efl.Observable extends Efl.Object { observers_iterator_new { [[Return a new iterator associated with a group of observers. ]] - return: iterator @owned; [[Iterator for observers group]] + return: iterator @move; [[Iterator for observers group]] params { @in key: string; [[A key to classify observer groups]] } @@ -57,7 +57,7 @@ class @beta Efl.Observable extends Efl.Object { iterator_tuple_new { [[Return a new iterator associated to this observable. ]] - return: iterator @owned; [[Iterator for observer]] + return: iterator @move; [[Iterator for observer]] } } implements { diff --git a/src/lib/efl/interfaces/efl_pack_table.eo b/src/lib/efl/interfaces/efl_pack_table.eo index b2d4b31f1b..18adfb8225 100644 --- a/src/lib/efl/interfaces/efl_pack_table.eo +++ b/src/lib/efl/interfaces/efl_pack_table.eo @@ -25,7 +25,7 @@ interface @beta Efl.Pack_Table extends Efl.Pack } table_contents_get { [[Returns all objects at a given position in this table.]] - return: iterator @owned; [[Iterator to table contents]] + return: iterator @move; [[Iterator to table contents]] params { @in col: int; [[Column number]] @in row: int; [[Row number]] diff --git a/src/lib/efl/interfaces/efl_text_annotate.eo b/src/lib/efl/interfaces/efl_text_annotate.eo index 724faeb0a3..1226628683 100644 --- a/src/lib/efl/interfaces/efl_text_annotate.eo +++ b/src/lib/efl/interfaces/efl_text_annotate.eo @@ -33,7 +33,7 @@ interface @beta Efl.Text_Annotate { @in start: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] @in end: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] } - return: iterator @owned; [[Handle of the Annotation]] + return: iterator @move; [[Handle of the Annotation]] } annotation_insert { [[Inserts an annotation format in a specified range [$start, $end - 1]. diff --git a/src/lib/efl/interfaces/efl_text_markup_interactive.eo b/src/lib/efl/interfaces/efl_text_markup_interactive.eo index cbb4906ac2..7b2da3a2fe 100644 --- a/src/lib/efl/interfaces/efl_text_markup_interactive.eo +++ b/src/lib/efl/interfaces/efl_text_markup_interactive.eo @@ -5,7 +5,7 @@ interface @beta Efl.Text_Markup_Interactive extends Efl.Text_Cursor { @property markup_range { [[Markup of a given range in the text]] 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]] } keys { diff --git a/src/lib/efl/interfaces/efl_text_markup_util.eo b/src/lib/efl/interfaces/efl_text_markup_util.eo index 5b2bd589ee..90d63e10d4 100644 --- a/src/lib/efl/interfaces/efl_text_markup_util.eo +++ b/src/lib/efl/interfaces/efl_text_markup_util.eo @@ -11,7 +11,7 @@ class @beta Efl.Text_Markup_Util { params { @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 { [[Converts a given (UTF-8) text to a markup-compatible string. @@ -21,7 +21,7 @@ class @beta Efl.Text_Markup_Util { params { @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]] } } } diff --git a/src/lib/efl/interfaces/efl_ui_menu.eo b/src/lib/efl/interfaces/efl_ui_menu.eo index 260b1cfd41..ca76bf2639 100644 --- a/src/lib/efl/interfaces/efl_ui_menu.eo +++ b/src/lib/efl/interfaces/efl_ui_menu.eo @@ -28,7 +28,7 @@ interface @beta Efl.Ui.Menu { @property items { get { [[Returns a list of the widget item.]] - return: iterator @owned @no_unused; [[Iterator to widget items]] + return: iterator @move @no_unused; [[Iterator to widget items]] } } } diff --git a/src/lib/eio/efl_io_manager.eo b/src/lib/eio/efl_io_manager.eo index b81ba4cc29..b88d7f8155 100644 --- a/src/lib/eio/efl_io_manager.eo +++ b/src/lib/eio/efl_io_manager.eo @@ -34,7 +34,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer @in path: string; [[Path we want to list entries for]] paths: EflIoPath; [[Callback called for each packet of files found]] } - return: future @owned; [[Amount of files found during the listing of the directory]] + return: future @move; [[Amount of files found during the listing of the directory]] } 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]] info: EflIoDirectInfo; [[Callback called for each packet of @Eina.File_Direct_Info]] } - return: future @owned; [[Amount of files found during the listing of the directory]] + return: future @move; [[Amount of files found during the listing of the directory]] } 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]] info: EflIoDirectInfo; [[Callback called for each packet of @Eina.File_Direct_Info]] } - return: future @owned; [[Amount of files found during the listing of the directory]] + return: future @move; [[Amount of files found during the listing of the directory]] } // 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]] paths: EflIoPath; [[Callback called for each packet of extended attributes found.]] } - return: future @owned; [[Amount of extended attributes found]] + return: future @move; [[Amount of extended attributes found]] } stat @const { @@ -83,10 +83,10 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer data: ptr(Eina.Binbuf); [[Data to set as information]] flags: Eina.Xattr.Flags; [[Extended attributes flags]] } - return: future @owned; [[Future for asynchronous set operation]] + return: future @move; [[Future for asynchronous set operation]] } get { - return: future @owned; [[Information]] + return: future @move; [[Information]] } keys { path: string; [[File path]] @@ -103,7 +103,7 @@ class @beta Efl.Io.Manager extends Efl.Loop_Consumer @in path: string; [[Path to file]] @in shared: bool; [[$true if the file can be accessed by others, $false otherwise]] } - return: future @owned; [[Eina file handle]] + return: future @move; [[Eina file handle]] } close @const { [[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]] // Here we're just interested whether the promise was fulfilled or not. No value needed. } - return: future @owned; [[Close return code]] + return: future @move; [[Close return code]] } } } diff --git a/src/lib/elementary/efl_access_action.eo b/src/lib/elementary/efl_access_action.eo index 587cc63056..acaad80188 100644 --- a/src/lib/elementary/efl_access_action.eo +++ b/src/lib/elementary/efl_access_action.eo @@ -63,7 +63,7 @@ mixin @beta Efl.Access.Action params { @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.]] } } } diff --git a/src/lib/elementary/efl_access_object.eo b/src/lib/elementary/efl_access_object.eo index 5689638efe..d08434a16a 100644 --- a/src/lib/elementary/efl_access_object.eo +++ b/src/lib/elementary/efl_access_object.eo @@ -280,7 +280,7 @@ mixin @beta Efl.Access.Object requires Efl.Object get { } values { - children: list @owned; [[List of widget's children]] + children: list @move; [[List of widget's children]] } } @property role_name @protected @beta { @@ -296,7 +296,7 @@ mixin @beta Efl.Access.Object requires Efl.Object get { } values { - attributes: list @owned; [[List of object attributes. + attributes: list @move; [[List of object attributes. Must be freed by the user]] } } diff --git a/src/lib/elementary/efl_access_text.eo b/src/lib/elementary/efl_access_text.eo index b1acc3e93e..4deb7ecb14 100644 --- a/src/lib/elementary/efl_access_text.eo +++ b/src/lib/elementary/efl_access_text.eo @@ -72,7 +72,7 @@ interface @beta Efl.Access.Text -1 in case of error.]] } 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 { @@ -84,7 +84,7 @@ interface @beta Efl.Access.Text end_offset: int; [[End offset of text.]] } values { - text: mstring @owned; [[UTF-8 encoded text.]] + text: mstring @move; [[UTF-8 encoded text.]] } } @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.]] } 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 { @@ -122,7 +122,7 @@ interface @beta Efl.Access.Text end_offset: ptr(int); [[End offset]] } values { - attributes: list @owned; [[List of text attributes]] + attributes: list @move; [[List of text attributes]] } } @property default_attributes @protected @beta { @@ -130,7 +130,7 @@ interface @beta Efl.Access.Text get { } values { - attributes: list @owned; [[List of default attributes]] + attributes: list @move; [[List of default attributes]] } } @property character_extents @protected @beta { @@ -181,7 +181,7 @@ interface @beta Efl.Access.Text yclip: Efl.Access.Text_Clip_Type; [[yclip]] } values { - ranges: list @owned; [[List of ranges]] + ranges: list @move; [[List of ranges]] } } @property range_extents @protected @beta { diff --git a/src/lib/elementary/efl_config_global.eo b/src/lib/elementary/efl_config_global.eo index db437901e7..5c19e7072d 100644 --- a/src/lib/elementary/efl_config_global.eo +++ b/src/lib/elementary/efl_config_global.eo @@ -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, including those stored in hidden files.]] } - return: iterator @owned; [[Iterator to profiles]] + return: iterator @move; [[Iterator to profiles]] } profile_exists { [[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 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 { [[Add a new profile of the given name to be derived from the current diff --git a/src/lib/elementary/efl_ui_collection.eo b/src/lib/elementary/efl_ui_collection.eo index 9fad710f65..30451214ad 100644 --- a/src/lib/elementary/efl_ui_collection.eo +++ b/src/lib/elementary/efl_ui_collection.eo @@ -54,7 +54,7 @@ class @beta Efl.Ui.Collection extends Efl.Ui.Layout_Base implements @property position_manager { [[Position manager object that handles placement of items.]] 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.]] } } } diff --git a/src/lib/elementary/efl_ui_focus_composition.eo b/src/lib/elementary/efl_ui_focus_composition.eo index 92062976ed..a82901575d 100644 --- a/src/lib/elementary/efl_ui_focus_composition.eo +++ b/src/lib/elementary/efl_ui_focus_composition.eo @@ -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. ]] values { - logical_order : list @owned; [[The order to use]] + logical_order : list @move; [[The order to use]] } } dirty @protected { diff --git a/src/lib/elementary/efl_ui_focus_manager.eo b/src/lib/elementary/efl_ui_focus_manager.eo index 1b9798c77e..1b0256f663 100644 --- a/src/lib/elementary/efl_ui_focus_manager.eo +++ b/src/lib/elementary/efl_ui_focus_manager.eo @@ -4,10 +4,10 @@ import eina_types; struct @beta @free(efl_ui_focus_relation_free) Efl.Ui.Focus.Relations { [[Structure holding the graph of relations between focusable objects. ]] - right : list @owned; [[List of objects to the right.]] - left : list @owned; [[List of objects to the left.]] - top : list @owned; [[List of objects above.]] - down : list @owned; [[List of objects below.]] + right : list @move; [[List of objects to the right.]] + left : list @move; [[List of objects to the left.]] + top : list @move; [[List of objects above.]] + down : list @move; [[List of objects below.]] next : Efl.Ui.Focus.Object; [[Next object.]] prev : Efl.Ui.Focus.Object; [[Previous object.]] parent : Efl.Ui.Focus.Object; [[Parent object.]] @@ -144,7 +144,7 @@ interface Efl.Ui.Focus.Manager { params { 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.]] } logical_end { diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.eo b/src/lib/elementary/efl_ui_focus_manager_calc.eo index 279f6da106..cd9ad90fa5 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.eo +++ b/src/lib/elementary/efl_ui_focus_manager_calc.eo @@ -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.]] params { parent : Efl.Ui.Focus.Object; [[The parent to update.]] - children : list @owned; [[The list of children with the new order.]] + children : list @move; [[The list of children with the new order.]] } 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 { parent : Efl.Ui.Focus.Object; [[The parent to update.]] - children : list @owned; [[The list of objects with the new order.]] + children : list @move; [[The list of objects with the new order.]] } } unregister { diff --git a/src/lib/elementary/efl_ui_multi_selectable.eo b/src/lib/elementary/efl_ui_multi_selectable.eo index 87f155d36c..a13070842a 100644 --- a/src/lib/elementary/efl_ui_multi_selectable.eo +++ b/src/lib/elementary/efl_ui_multi_selectable.eo @@ -27,7 +27,7 @@ interface @beta Efl.Ui.Multi_Selectable extends Efl.Ui.Single_Selectable } selected_items_get { [[Get the selected items in a iterator. The iterator sequence will be decided by selection.]] - return: iterator @owned @no_unused; [[User has to free the iterator after usage.]] + return: iterator @move @no_unused; [[User has to free the iterator after usage.]] } select_range { [[Select a range of @Efl.Ui.Selectable. diff --git a/src/lib/elementary/efl_ui_spotlight_container.eo b/src/lib/elementary/efl_ui_spotlight_container.eo index dc08b624ee..bb39fd2fc6 100644 --- a/src/lib/elementary/efl_ui_spotlight_container.eo +++ b/src/lib/elementary/efl_ui_spotlight_container.eo @@ -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). ]] 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 { @@ -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. ]] 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 { diff --git a/src/lib/elementary/efl_ui_view_model.eo b/src/lib/elementary/efl_ui_view_model.eo index 83a3e781b0..c09ae516e6 100644 --- a/src/lib/elementary/efl_ui_view_model.eo +++ b/src/lib/elementary/efl_ui_view_model.eo @@ -12,7 +12,7 @@ function @beta EflUiViewModelPropertySet { params { @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 value: any_value_ptr @owned; [[The new value to set.]] + @in value: any_value_ptr @move; [[The new value to set.]] } return: future; [[The value that was finally set.]] }; diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo index 5ec9d5c2af..7a024bf01f 100644 --- a/src/lib/eo/efl_object.eo +++ b/src/lib/eo/efl_object.eo @@ -348,7 +348,7 @@ abstract Efl.Object } children_iterator_new { [[Get an iterator on all childrens]] - return: iterator @owned @no_unused; [[Children iterator]] + return: iterator @move @no_unused; [[Children iterator]] } composite_attach @beta { [[Make an object a composite object of another. diff --git a/src/lib/evas/canvas/efl_canvas_group.eo b/src/lib/evas/canvas/efl_canvas_group.eo index 858277e164..f129ce056d 100644 --- a/src/lib/evas/canvas/efl_canvas_group.eo +++ b/src/lib/evas/canvas/efl_canvas_group.eo @@ -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 content list. ]] - return: iterator @owned; + return: iterator @move; [[Iterator to object children]] } group_member_add { diff --git a/src/lib/evas/canvas/efl_canvas_text.eo b/src/lib/evas/canvas/efl_canvas_text.eo index bc206cffc0..511dec2587 100644 --- a/src/lib/evas/canvas/efl_canvas_text.eo +++ b/src/lib/evas/canvas/efl_canvas_text.eo @@ -136,7 +136,7 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text, range_text_get @const { [[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 { @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start 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 cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] } - return: iterator @owned; [[ + return: iterator @move; [[ 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 cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] } - return: iterator @owned; [[ + return: iterator @move; [[ 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, with w, h fields set. ]] - return: future @owned; [[Future for layout result]] + return: future @move; [[Future for layout result]] } } implements { diff --git a/src/lib/evas/canvas/efl_canvas_text_factory.eo b/src/lib/evas/canvas/efl_canvas_text_factory.eo index 51ca68b92b..13d593ea0e 100644 --- a/src/lib/evas/canvas/efl_canvas_text_factory.eo +++ b/src/lib/evas/canvas/efl_canvas_text_factory.eo @@ -17,7 +17,7 @@ interface @beta Efl.Canvas.Text_Factory object: Efl.Canvas.Object; [[The parent of the created object]] key: string; [[Key that is associated to an item object]] } - return: Efl.Canvas.Object @owned; + return: Efl.Canvas.Object @move; } } } diff --git a/src/lib/evas/canvas/efl_canvas_vg_container.eo b/src/lib/evas/canvas/efl_canvas_vg_container.eo index 7b1397d447..0290cf4848 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_container.eo +++ b/src/lib/evas/canvas/efl_canvas_vg_container.eo @@ -11,7 +11,7 @@ class @beta Efl.Canvas.Vg.Container extends Efl.Canvas.Vg.Node } children_get { [[Get all children of container]] - return: iterator @owned @no_unused; [[Iterator to children]] + return: iterator @move @no_unused; [[Iterator to children]] } } implements { diff --git a/src/tests/eolian_cxx/complex.eo b/src/tests/eolian_cxx/complex.eo index f874ad9846..d3f88488a0 100644 --- a/src/tests/eolian_cxx/complex.eo +++ b/src/tests/eolian_cxx/complex.eo @@ -25,7 +25,7 @@ class Complex extends Efl.Object } incontowncontown { params { - l: list @move> @owned; + l: list @move> @move; } } incontowncont { @@ -106,7 +106,7 @@ class Complex extends Efl.Object } outcontowncontown { params { - @out l: list @move> @owned; + @out l: list @move> @move; } } outcontowncont { diff --git a/src/tests/eolian_js/constructor_method_class.eo b/src/tests/eolian_js/constructor_method_class.eo index ec2cc5698a..1bcfd375eb 100644 --- a/src/tests/eolian_js/constructor_method_class.eo +++ b/src/tests/eolian_js/constructor_method_class.eo @@ -41,10 +41,10 @@ class Constructor_Method_Class extends Efl.Object } classoutmethod1 { 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 { - 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 { diff --git a/src/tests/eolian_js/test_object.eo b/src/tests/eolian_js/test_object.eo index 8802fddfdb..1fc462398c 100644 --- a/src/tests/eolian_js/test_object.eo +++ b/src/tests/eolian_js/test_object.eo @@ -104,7 +104,7 @@ class Test.Object extends Efl.Object { } method_array_with_42_check { [[ tests parameters ]] - return: array @owned @no_unused; + return: array @move @no_unused; } method_array_in_array_out_check { [[ tests parameters ]] @@ -157,7 +157,7 @@ class Test.Object extends Efl.Object { } method_list_with_42_check { [[ tests parameters ]] - return: list @owned @no_unused; + return: list @move @no_unused; } method_list_in_list_out_check { [[ tests parameters ]]