platform/upstream/efl.git
6 years agoevas: update example to always set a parent for VG node.
Cedric BAIL [Tue, 3 Apr 2018 21:22:08 +0000 (14:22 -0700)]
evas: update example to always set a parent for VG node.

6 years agocsharp: Fix typo in generated code.
Lauro Moura [Thu, 22 Mar 2018 16:17:42 +0000 (13:17 -0300)]
csharp: Fix typo in generated code.

6 years agocsharp: Silence test build warnings.
Lauro Moura [Thu, 22 Mar 2018 01:49:44 +0000 (22:49 -0300)]
csharp: Silence test build warnings.

Was trying to modify const strings.

6 years agocsharp: Support argument marshalling in func ptrs
Lauro Moura [Thu, 22 Mar 2018 01:39:17 +0000 (22:39 -0300)]
csharp: Support argument marshalling in func ptrs

Function pointers now go through the same argument marshalling pipeline
as normal functions.

This will enable interfaces like Efl.Ui.Format to work properly.

6 years agocsharp: Provisionally fix conversion of eina.Value
Lauro Moura [Thu, 22 Mar 2018 01:43:21 +0000 (22:43 -0300)]
csharp: Provisionally fix conversion of eina.Value

When we have an eina.Value_Native (representing an Eina_Value passed by
value) and assign it to an eina.Value (a class with an IntPtr to an
underlying Eina_Value) we copy it so the eina.Value can take ownership
and free the data normally.

A possibly better alternative would be adding an extra flag to
eina.Value (something like OwnsPointer) to check whether we should free
the struct we point to or not.

6 years agoefl_mono: Initial version of Strbuf support.
Lauro Moura [Fri, 26 Jan 2018 20:01:03 +0000 (17:01 -0300)]
efl_mono: Initial version of Strbuf support.

Also moved the ValueOwnership enum from eina value to eina.Ownership. It
can be shared among the eina structures if needed.

6 years agoefl-cxx: Fix using efl_add_ref instead of efl_add
Felipe Magno de Almeida [Tue, 3 Apr 2018 20:27:05 +0000 (17:27 -0300)]
efl-cxx: Fix using efl_add_ref instead of efl_add

6 years agoefl-mono: Fix using efl_add_ref instead of efl_ref
Felipe Magno de Almeida [Tue, 3 Apr 2018 20:26:52 +0000 (17:26 -0300)]
efl-mono: Fix using efl_add_ref instead of efl_ref

6 years agoefl-mono: Fix test not include'ing Ecore.h
Felipe Magno de Almeida [Tue, 3 Apr 2018 20:26:28 +0000 (17:26 -0300)]
efl-mono: Fix test not include'ing Ecore.h

6 years agoefl-mono: Fix compile flags, .config files and class_name in description
Felipe Magno de Almeida [Tue, 3 Apr 2018 16:46:45 +0000 (13:46 -0300)]
efl-mono: Fix compile flags, .config files and class_name in description

6 years agoefl_ui_focus_manager_calc: fix infinite loop in _request_subchild
Marcel Hollerbach [Tue, 3 Apr 2018 11:55:51 +0000 (13:55 +0200)]
efl_ui_focus_manager_calc: fix infinite loop in _request_subchild

When the subchild where we request subchilds from was regular, the while
loop would have run infinitly. This is now fixed by at least calling
once _next, the check to not run outside the node is now done with
calculating the depth of the nodes.

6 years agoelm_toolbar: use the correct flag to detect wether a item is visible
Marcel Hollerbach [Mon, 2 Apr 2018 09:22:51 +0000 (11:22 +0200)]
elm_toolbar: use the correct flag to detect wether a item is visible

fix T6806

6 years agoelm_entry: use a normal calc manager instead of the root focus
Marcel Hollerbach [Sun, 1 Apr 2018 18:55:34 +0000 (20:55 +0200)]
elm_entry: use a normal calc manager instead of the root focus

fix T6795

6 years agoevas: fix Evas Map AA changes the alpha flag of an image issue.
Hermet Park [Tue, 3 Apr 2018 10:23:52 +0000 (19:23 +0900)]
evas: fix Evas Map AA changes the alpha flag of an image issue.

Evas map supports anti-alias(aa) rendering on sw backened.
When aa is toggled on, map forcely turns alpha channel on while it draws on the surface.
Actually, it was intended to blend polygon edges with destination,
but it breaks one case if the original source image alpha channel were turned off.

Simply, it fixed the issue, new implmentation removes the alpha channel switching,
instead fill the alpha values with 255 when map + aa + alpha_off is drawing on it.

@fix T1975

6 years agoeo: trigger invalidate and noref event before any modification is commited on the...
Cedric Bail [Tue, 3 Apr 2018 00:18:46 +0000 (17:18 -0700)]
eo: trigger invalidate and noref event before any modification is commited on the object tree.

6 years agoecore_evas: add a hook interceptor for evas_new, will be useful for a portable Exactness.
Cedric Bail [Mon, 2 Apr 2018 22:11:44 +0000 (15:11 -0700)]
ecore_evas: add a hook interceptor for evas_new, will be useful for a portable Exactness.

6 years agoecore_evas: refactor logic for creating Ecore_Evas.
Cedric Bail [Mon, 2 Apr 2018 21:55:57 +0000 (14:55 -0700)]
ecore_evas: refactor logic for creating Ecore_Evas.

6 years agoevas - remove wrong flag.
Hermet Park [Mon, 2 Apr 2018 11:25:22 +0000 (20:25 +0900)]
evas - remove wrong flag.

obviously, this parameter is being used.

6 years agoevas - correct evas map anti-alias rendering to perform properly.
Hermet Park [Mon, 2 Apr 2018 11:10:10 +0000 (20:10 +0900)]
evas - correct evas map anti-alias rendering to perform properly.

Evas map anti-aliasing haven't worked at all if the smooth scaling were disabled.

evas map rendering has a lot of corner-cases, previous call-position was wrong,
(by mistake maybe) shouldn't be in a certian case.

Let aa post-processing function be performed in universally.

6 years agoelementary: Move method to legacy class
Wonki Kim [Tue, 10 Apr 2018 11:05:19 +0000 (20:05 +0900)]
elementary: Move method to legacy class

those methods has been moved legacy class so that this commit removes them.

Change-Id: I89fd083de5cbcbcc774e874e40bef177f75e24d7
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary: Remove tizen only property
Wonki Kim [Tue, 10 Apr 2018 11:03:49 +0000 (20:03 +0900)]
elementary: Remove tizen only property

upstream patch have a same name of property with tizen only property.
this patch removes the property.

Change-Id: I41c4276ecce8b75f2bef1f5ae1d432dbe8fed82f
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary: Rename missing efl_access_children to rename before
Wonki Kim [Tue, 10 Apr 2018 04:35:02 +0000 (13:35 +0900)]
elementary: Rename missing efl_access_children to rename before

Change-Id: Ic57b76feda61fd1a5e064cd04424f1e02b78cc70
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoReveal the last bug in elm test focus 6
Dave Andreoli [Mon, 2 Apr 2018 10:09:57 +0000 (12:09 +0200)]
Reveal the last bug in elm test focus 6

The highlight should start on the second genlist item,
instead nothing is highlighted on first run.

The highlight come back to normal if you press up/down,
or if you give/remove the focus to the window 2 times.

6 years agoeo: add events when object get invalidated and loose all its reference matching other...
Cedric BAIL [Fri, 30 Mar 2018 16:53:59 +0000 (09:53 -0700)]
eo: add events when object get invalidated and loose all its reference matching other lifecycle events.

6 years agoevas: fix lifecycle of Ector renderer.
Cedric BAIL [Thu, 29 Mar 2018 20:58:00 +0000 (13:58 -0700)]
evas: fix lifecycle of Ector renderer.

Ector renderer are created by a factory pattern which return a reference.
The possible logic improvement from here would be to rely on setting the
parent of the object to the Ector_Surface and manage a cache by intercepting
efl_noref to trigger an efl_del of the object or a temporary cache of it.
That's for later.

6 years agoevas: parent of an Efl.Vg.Node can also be a Efl.Canvas.VG
Cedric BAIL [Thu, 29 Mar 2018 20:57:31 +0000 (13:57 -0700)]
evas: parent of an Efl.Vg.Node can also be a Efl.Canvas.VG

6 years agoeo: use EINA_SAFETY_ON_TRUE_GOTO to error message out in case of mistake.
Cedric BAIL [Thu, 29 Mar 2018 18:06:12 +0000 (11:06 -0700)]
eo: use EINA_SAFETY_ON_TRUE_GOTO to error message out in case of mistake.

6 years agoFix private usage by removing those test
Andy Williams [Thu, 29 Mar 2018 20:12:52 +0000 (21:12 +0100)]
Fix private usage by removing those test

6 years agoefl_add_ref - fis to use efl_add properly with a parent.
Carsten Haitzler (Rasterman) [Wed, 28 Mar 2018 15:42:10 +0000 (00:42 +0900)]
efl_add_ref - fis to use efl_add properly with a parent.

fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and
168849e8a08966ecc284e28f64126a3a85965965

6 years agoelm_code: Remove a render test and complex workarounds required
Andy Williams [Wed, 28 Mar 2018 15:44:40 +0000 (16:44 +0100)]
elm_code: Remove a render test and complex workarounds required

Fixes issues with Windows and general unused method warnings

6 years agoelm_code: Fix line selection with leading tabs
Andy Williams [Sat, 17 Feb 2018 19:05:14 +0000 (19:05 +0000)]
elm_code: Fix line selection with leading tabs

6 years agoefl_ui_focus_manager_calc: do not crash for the case of a invalid child
Marcel Hollerbach [Wed, 28 Mar 2018 08:45:17 +0000 (10:45 +0200)]
efl_ui_focus_manager_calc: do not crash for the case of a invalid child

6 years agoelm_config: add new infra for reloading config into the widget tree
Marcel Hollerbach [Tue, 27 Mar 2018 12:08:04 +0000 (14:08 +0200)]
elm_config: add new infra for reloading config into the widget tree

fix T6792

6 years agoefl_interface_scrollable: call constructor at first
Marcel Hollerbach [Tue, 27 Mar 2018 09:34:14 +0000 (11:34 +0200)]
efl_interface_scrollable: call constructor at first

other calls could lead to a geometry_get call, which will crash if the
constructor of the canvas_object is not called yet.

6 years agoefl_ui_focus_manager: move cleanup into one place
Marcel Hollerbach [Tue, 27 Mar 2018 08:45:17 +0000 (10:45 +0200)]
efl_ui_focus_manager: move cleanup into one place

ref T6793

6 years agoecore-con-eet: replace void_ptr usage with binbuf in eo api
Mike Blumenkrantz [Fri, 23 Mar 2018 17:50:06 +0000 (13:50 -0400)]
ecore-con-eet: replace void_ptr usage with binbuf in eo api

Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: this should only load modules from the eina subdir
Marcel Hollerbach [Tue, 20 Mar 2018 20:05:15 +0000 (20:05 +0000)]
eina: this should only load modules from the eina subdir

otherwise we are loading ecore modules etc. which are pulling in ecore
et. into the eina testsuite, nothing that should happen.

6 years agoeolian: completely scoped validation
Daniel Kolesa [Tue, 27 Mar 2018 11:48:58 +0000 (13:48 +0200)]
eolian: completely scoped validation

This is much stricter than the previous behavior,
as it allows no leakage of information from the
outside to the inside.

6 years agoeolian: validate each class with its own unit's in mind only
Daniel Kolesa [Tue, 27 Mar 2018 11:27:32 +0000 (13:27 +0200)]
eolian: validate each class with its own unit's in mind only

This is stricter (doesn't allow outer symbols to leak in).
Also needed fixing some eo files.

6 years agoeina: Cleanup grammar for eina_hash add and free routines
Bryce Harrington [Mon, 26 Mar 2018 23:06:39 +0000 (16:06 -0700)]
eina: Cleanup grammar for eina_hash add and free routines

Summary:
This copyedits the descriptions for several _add and _free APIs.
Phrasing is made a bit more concise, without losing the meaning, and
made more consistent so the distinctive differences between the routines
are easier to spot.  Some paragraph spacing is added for clarity, for
similar reasons.

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5851

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: Fix typos
Bryce Harrington [Mon, 26 Mar 2018 23:05:43 +0000 (16:05 -0700)]
eina: Fix typos

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5850

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: Add Doxygen in/out indicators to matrixsparse, clist, and array
Bryce Harrington [Mon, 26 Mar 2018 23:03:42 +0000 (16:03 -0700)]
eina: Add Doxygen in/out indicators to matrixsparse, clist, and array

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5849

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore_con_url: implement transfer speed limitation options
Arnaud Ferraris [Mon, 26 Mar 2018 23:01:50 +0000 (16:01 -0700)]
ecore_con_url: implement transfer speed limitation options

Summary: Add MAX_SEND_SPEED & MAX_RECV_SPEED cURL options handling in ecore_con_url.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5848

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore_evas: don't set in_async_render flag if not in use async render.
Hosang Kim [Mon, 26 Mar 2018 22:52:44 +0000 (15:52 -0700)]
ecore_evas: don't set in_async_render flag if not in use async render.

Reviewers: jypark, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5844

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore - efl exe - use better exit codes
Carsten Haitzler (Rasterman) [Mon, 26 Mar 2018 12:07:46 +0000 (21:07 +0900)]
ecore - efl exe - use better exit codes

127 is the "command not found" shell exeit code, 126 is "the command
file is found but is not executable" which i think i'd interpret not
just for execute permissions but that something is preventing it from
executing in general.

6 years agoecore - efl exe + thread - error print if deleted before task is done
Carsten Haitzler (Rasterman) [Mon, 26 Mar 2018 11:53:06 +0000 (20:53 +0900)]
ecore - efl exe + thread - error print if deleted before task is done

both exe and thread objects must (currently) stay around until the
child thread or exe (task) is done. if you don't do this "bad things
can happen". so produce an error to let the programmer know.

6 years agoecore ipc - fix flush to not lose messages
Carsten Haitzler (Rasterman) [Mon, 26 Mar 2018 09:18:30 +0000 (18:18 +0900)]
ecore ipc - fix flush to not lose messages

it wasn't looking at the copier queue "todo" at all thus skipping it
on flush. this will fix flushing of ecore ipc message buffers. this
happens to also now fix terminology's "one process" mode.

@fix

6 years agoeolian: fix segfault on error when input file fails to open
Daniel Kolesa [Mon, 26 Mar 2018 09:57:53 +0000 (11:57 +0200)]
eolian: fix segfault on error when input file fails to open

6 years agoeolian: fill missing fields in doc objects
Daniel Kolesa [Mon, 26 Mar 2018 09:56:26 +0000 (11:56 +0200)]
eolian: fill missing fields in doc objects

6 years agoecore_drm2: Improve early tick logic
Derek Foreman [Wed, 21 Mar 2018 20:03:55 +0000 (15:03 -0500)]
ecore_drm2: Improve early tick logic

We should only have to actually force a tick if we can't set up
the tick job, as the evas changed callback or a following render
from the tick job's tick will cause a flip.

Should remove a potential for a missed tick near the start of
ticking.

6 years agoeolian: commit all changes into staging area first
Daniel Kolesa [Thu, 22 Mar 2018 17:01:31 +0000 (18:01 +0100)]
eolian: commit all changes into staging area first

6 years agoeolian: complete staging area merge logic
Daniel Kolesa [Thu, 22 Mar 2018 16:56:35 +0000 (17:56 +0100)]
eolian: complete staging area merge logic

6 years agoeolian: introduce main and staging areas properly
Daniel Kolesa [Thu, 22 Mar 2018 16:05:26 +0000 (17:05 +0100)]
eolian: introduce main and staging areas properly

The state is now correctly divided. No merging is performed yet,
which is to be done next.

6 years agoAUTHORS: use netstar's full name.
Al Poole [Thu, 22 Mar 2018 15:39:37 +0000 (15:39 +0000)]
AUTHORS: use netstar's full name.

6 years agoeolian: validate staging unit when parsing all
Daniel Kolesa [Thu, 22 Mar 2018 15:27:35 +0000 (16:27 +0100)]
eolian: validate staging unit when parsing all

6 years agoeolian: clean rollback support
Daniel Kolesa [Thu, 22 Mar 2018 14:34:32 +0000 (15:34 +0100)]
eolian: clean rollback support

Previously, when an error happened in Eolian, the state was left
in a presumably unusable and inconsistent condition. This work
aims to change that, as all changes are committed into a staging
area before being validated and merged back into main state.

This is not yet complete, as units and by-file lookups are not
currently involved in the rollback. This will change in the
subsequent commits.

@feature

6 years agoeolian: add state staging area
Daniel Kolesa [Thu, 22 Mar 2018 14:13:59 +0000 (15:13 +0100)]
eolian: add state staging area

This will be used for clean rollbacks on errors.

6 years agoeolian: flush defer table before parsing
Daniel Kolesa [Thu, 22 Mar 2018 13:55:31 +0000 (14:55 +0100)]
eolian: flush defer table before parsing

6 years agoefl: replace efl_del with efl_unref for cases where no parent exists
Cedric BAIL [Tue, 20 Mar 2018 17:21:19 +0000 (13:21 -0400)]
efl: replace efl_del with efl_unref for cases where no parent exists

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoeo: use unref instead of del when constructor fails without parent
Cedric BAIL [Tue, 20 Mar 2018 17:20:26 +0000 (13:20 -0400)]
eo: use unref instead of del when constructor fails without parent

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoefl_ui_win: match return value to function type in elm_win_window_id_get
Cedric BAIL [Tue, 20 Mar 2018 17:15:21 +0000 (13:15 -0400)]
efl_ui_win: match return value to function type in elm_win_window_id_get

ref 08c9f99134102db1a54ce0761b8e175ffed2d4bd

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoedje: remove device callbacks on canvas del
Cedric BAIL [Tue, 20 Mar 2018 16:46:51 +0000 (12:46 -0400)]
edje: remove device callbacks on canvas del

avoid some race conditions when devices change during destructor

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agotests: fix misuse of eina_file in evas mesh tests
Cedric BAIL [Tue, 20 Mar 2018 16:38:32 +0000 (12:38 -0400)]
tests: fix misuse of eina_file in evas mesh tests

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoedje: avoid triggering errors when deleting edje file if canvas is deleted
Cedric BAIL [Tue, 20 Mar 2018 15:06:47 +0000 (11:06 -0400)]
edje: avoid triggering errors when deleting edje file if canvas is deleted

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoefl: use efl_add_ref to create objects which have no parent
Cedric BAIL [Thu, 15 Mar 2018 16:50:20 +0000 (12:50 -0400)]
efl: use efl_add_ref to create objects which have no parent

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoeo: start reporting abuse of efl_del
Cedric Bail [Mon, 19 Mar 2018 23:08:10 +0000 (16:08 -0700)]
eo: start reporting abuse of efl_del

6 years agocsharp: Add support for efl parts as Properties
Lauro Moura [Mon, 19 Mar 2018 23:35:36 +0000 (20:35 -0300)]
csharp: Add support for efl parts as Properties

Instead of
   var bg = efl.ui.Background.static_cast(myobj.Part("background"));

Now do
   var bg = myobj.Background;

Also a couple helper functions were added.

6 years agoeolian_cxx: Fill documentation of part_def.
Lauro Moura [Tue, 20 Mar 2018 00:37:04 +0000 (21:37 -0300)]
eolian_cxx: Fill documentation of part_def.

6 years agoeolian-cxx: Add helper method to get all parts
Lauro Moura [Mon, 19 Mar 2018 23:33:43 +0000 (20:33 -0300)]
eolian-cxx: Add helper method to get all parts

Line get_all_methods, gets everything from the inherits too.

6 years agocsharp: Use the library mapping on linux too.
Lauro Moura [Mon, 19 Mar 2018 22:47:58 +0000 (19:47 -0300)]
csharp: Use the library mapping on linux too.

Now the generated DllImport call will have the actual library name
instead of placeholders on Linux. Before we relied on dlsym being able
to search for the symbols on all loaded so's while Windows needed you to
specify the correct library to call GetProcAddress.

This fixes the case when someone call an function from an efl interface
defined in efl.so (e.g. efl_part) and the library is not loaded yet.

6 years agoecore_wl2: Send a mouse-up event on reentry after client initiated resize
Derek Foreman [Tue, 20 Mar 2018 19:18:48 +0000 (14:18 -0500)]
ecore_wl2: Send a mouse-up event on reentry after client initiated resize

Apparently when we initiate a client side move in ecore_wl2 we flag that
and send a mouse-up immediately on the next pointer enter.

Do the same for resize.

At some point this might need to be revisited, we should probably be
sending a "cancel" at the start of client initiated move/resize instead
of an up at the end?

Fix T6422

6 years agoeolian: make use of panics for certain alloc errors
Daniel Kolesa [Tue, 20 Mar 2018 16:34:38 +0000 (17:34 +0100)]
eolian: make use of panics for certain alloc errors

6 years agoeolian: no need for printf-style for internal log funcs
Daniel Kolesa [Tue, 20 Mar 2018 16:06:50 +0000 (17:06 +0100)]
eolian: no need for printf-style for internal log funcs

6 years agoeolian: use new error logging for all recoverable errors
Daniel Kolesa [Tue, 20 Mar 2018 16:05:22 +0000 (17:05 +0100)]
eolian: use new error logging for all recoverable errors

6 years agoefl.task - move to returning future insead of bool + exit event
Carsten Haitzler (Rasterman) [Tue, 20 Mar 2018 11:43:47 +0000 (20:43 +0900)]
efl.task - move to returning future insead of bool + exit event

title says it all...

6 years agoeo: slight improvement of invalidate code as parent_set(NULL) will be valid on an...
Cedric Bail [Mon, 19 Mar 2018 23:47:28 +0000 (16:47 -0700)]
eo: slight improvement of invalidate code as parent_set(NULL) will be valid on an invalidated object.

6 years agoeo: automatically cancel a future that is attached to an invalidated object.
Cedric Bail [Mon, 19 Mar 2018 23:38:07 +0000 (16:38 -0700)]
eo: automatically cancel a future that is attached to an invalidated object.

6 years agoelementary: make sure windows are not born orfan and properly have at least a main...
Cedric Bail [Mon, 19 Mar 2018 22:39:14 +0000 (15:39 -0700)]
elementary: make sure windows are not born orfan and properly have at least a main loop as parent.

6 years agoelementary: make global object lifecycle depends on the main loop.
Cedric Bail [Mon, 19 Mar 2018 22:38:26 +0000 (15:38 -0700)]
elementary: make global object lifecycle depends on the main loop.

6 years agoevas: use efl_add_ref for the container, might consider using a parent later on.
Cedric Bail [Mon, 19 Mar 2018 22:36:58 +0000 (15:36 -0700)]
evas: use efl_add_ref for the container, might consider using a parent later on.

6 years agoevas: technically the evas canvas is using the main loop, so let's make canvas depend...
Cedric Bail [Mon, 19 Mar 2018 22:36:18 +0000 (15:36 -0700)]
evas: technically the evas canvas is using the main loop, so let's make canvas depend on it for their lifecycle.

6 years agoedje: global class should actually be bound to the main loop.
Cedric Bail [Mon, 19 Mar 2018 22:33:44 +0000 (15:33 -0700)]
edje: global class should actually be bound to the main loop.

6 years agoecore: the main loop has no parent and only one ref, let's properly create it.
Cedric Bail [Mon, 19 Mar 2018 22:33:11 +0000 (15:33 -0700)]
ecore: the main loop has no parent and only one ref, let's properly create it.

6 years agoeo: update tests to also use efl_add_ref correctly.
Cedric Bail [Mon, 19 Mar 2018 21:27:01 +0000 (14:27 -0700)]
eo: update tests to also use efl_add_ref correctly.

6 years agoeo: check return in efl_add before performing more operations
Cedric BAIL [Thu, 15 Mar 2018 16:48:52 +0000 (12:48 -0400)]
eo: check return in efl_add before performing more operations

this fixes a crash on objects which fail to be created using efl_add_ref

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoeo: start printing warning when instanciating object with efl_add and no parent.
Cedric BAIL [Wed, 14 Mar 2018 19:41:22 +0000 (12:41 -0700)]
eo: start printing warning when instanciating object with efl_add and no parent.

6 years agoeldbus: ensure the lifetime of the eldbus object path is monitored for proxies
Cedric BAIL [Wed, 14 Mar 2018 19:17:59 +0000 (15:17 -0400)]
eldbus: ensure the lifetime of the eldbus object path is monitored for proxies

the object is instantly destroyed when connection is lost

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoeldbus: use efl_del when clearing the model connection child list
Cedric BAIL [Wed, 14 Mar 2018 19:17:07 +0000 (15:17 -0400)]
eldbus: use efl_del when clearing the model connection child list

it is an error to delete an object with an existing parent

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agotests: do not call unref on eldbus message objects after sending them
Cedric BAIL [Wed, 14 Mar 2018 17:48:44 +0000 (13:48 -0400)]
tests: do not call unref on eldbus message objects after sending them

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
6 years agoPyolian: fix __repr__ for Documentation
Dave Andreoli [Sat, 17 Mar 2018 11:06:34 +0000 (12:06 +0100)]
Pyolian: fix __repr__ for Documentation

6 years agoPyolian doc generator: update wrt name API changes
Dave Andreoli [Sat, 17 Mar 2018 10:37:13 +0000 (11:37 +0100)]
Pyolian doc generator: update wrt name API changes

Argh, this has been difficult... hopefully I have done
this right

6 years agoPyolian: let ctypes automatically convert types
Dave Andreoli [Sat, 17 Mar 2018 09:49:42 +0000 (10:49 +0100)]
Pyolian: let ctypes automatically convert types

Not a big improvement and not so much automatically...
but for sure a bit less to type :)

6 years agoPyolian: use tuple instead of list in declarations
Dave Andreoli [Sat, 17 Mar 2018 09:31:33 +0000 (10:31 +0100)]
Pyolian: use tuple instead of list in declarations

This is a bit more correct and (maybe) a bit more faster

6 years agoPyolian: new API eolian_unit_state_get
Dave Andreoli [Sat, 17 Mar 2018 09:19:28 +0000 (10:19 +0100)]
Pyolian: new API eolian_unit_state_get

6 years agoPyolian: new API eolian_object_unit_get
Dave Andreoli [Sat, 17 Mar 2018 09:01:24 +0000 (10:01 +0100)]
Pyolian: new API eolian_object_unit_get

Also implemented __repr__ for Unit and State

6 years agoPyolian: fix tests wrt name/short_name/full_name API changes
Dave Andreoli [Sat, 17 Mar 2018 08:46:17 +0000 (09:46 +0100)]
Pyolian: fix tests wrt name/short_name/full_name API changes

6 years agoPyolian: add support EOLIAN_SO_DIR env var
Dave Andreoli [Fri, 16 Mar 2018 19:00:49 +0000 (20:00 +0100)]
Pyolian: add support EOLIAN_SO_DIR env var

Thanks goes to @lauromoura for proposing this in D5840

6 years agoecore_wl2: Silence a commit ERR on window hide
Derek Foreman [Fri, 16 Mar 2018 17:47:05 +0000 (12:47 -0500)]
ecore_wl2: Silence a commit ERR on window hide

Cosmetic fix, should be functionally identical.  Hide can be called
asynchronously, so it's ok, and the ERR can be silenced.

6 years agoeolian: add APIs to get unit from object and state from unit
Daniel Kolesa [Fri, 16 Mar 2018 15:16:16 +0000 (16:16 +0100)]
eolian: add APIs to get unit from object and state from unit

6 years agoeolian: intial API for a new error mechanism
Daniel Kolesa [Fri, 16 Mar 2018 15:07:12 +0000 (16:07 +0100)]
eolian: intial API for a new error mechanism

Unlike panic, this will be used to handle regular errors
such as parse errors. There will be no jumps and you
will be able to pass in a pointer to get the error
data into some local memory. That way you will be
able to override printing error messages.