platform/upstream/efl.git
6 years agoelm: remove hacky calls to emotion_init/shutdown
Mike Blumenkrantz [Tue, 27 Mar 2018 20:02:39 +0000 (16:02 -0400)]
elm: remove hacky calls to emotion_init/shutdown

these are irrelevant since emotion manages init/shutdown internally

fixes elm test pass state

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agoemotion: call shutdown when smart objects are destroyed
Mike Blumenkrantz [Tue, 27 Mar 2018 20:01:53 +0000 (16:01 -0400)]
emotion: call shutdown when smart objects are destroyed

the constructor calls init for every object, so ensure a matching
shutdown call exists to balance the init count

ref 517471190f87e473e3bc38584c23ae28fb772c7c
ref T6816

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: unbreak PACKAGE_BUILD_DIR usage in makefiles
Mike Blumenkrantz [Tue, 27 Mar 2018 19:31:00 +0000 (15:31 -0400)]
tests: unbreak PACKAGE_BUILD_DIR usage in makefiles

for some reason, a few projects changed this from the expected value of
abs_top_builddir for their test suites, breaking the usage of this define
within those tests

fix T6812

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: disable xim in ecore_imf test when DISPLAY is not set
Mike Blumenkrantz [Tue, 27 Mar 2018 19:14:11 +0000 (15:14 -0400)]
tests: disable xim in ecore_imf test when DISPLAY is not set

tests should be able to run in console without failing

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agoelput: include Eina.h in public header
Mike Blumenkrantz [Tue, 27 Mar 2018 18:13:46 +0000 (14:13 -0400)]
elput: include Eina.h in public header

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: redo eina in-tree module loading
Mike Blumenkrantz [Tue, 27 Mar 2018 18:07:19 +0000 (14:07 -0400)]
tests: redo eina in-tree module loading

this performs an eina init/shutdown check and loads available modules
before running remaining tests

note that this still does not work and may never have worked because
PACKAGE_BUILD_DIR is broken

ref T6812

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: move to using checked fixtures for all test suites
Mike Blumenkrantz [Tue, 27 Mar 2018 17:51:13 +0000 (13:51 -0400)]
tests: move to using checked fixtures for all test suites

individual tests should not need to explicitly call init/shutdown functions
in most cases, and many did not properly do this anyway

see followup commit which resolves some issues with eina tests

ref T6813
ref T6811

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: remove duplicated eina mempool test
Mike Blumenkrantz [Tue, 27 Mar 2018 17:42:38 +0000 (13:42 -0400)]
tests: remove duplicated eina mempool test

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agoeldbus: call ecore_init in eldbus_init
Mike Blumenkrantz [Tue, 27 Mar 2018 17:01:35 +0000 (13:01 -0400)]
eldbus: call ecore_init in eldbus_init

eldbus requires ecore and cannot run without it

@fix

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: make test time output configurable with TIME_DIFF_THRESHOLD
Mike Blumenkrantz [Mon, 26 Mar 2018 18:41:09 +0000 (14:41 -0400)]
tests: make test time output configurable with TIME_DIFF_THRESHOLD

setting this value too low will likely lead to unmanageable results

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: add instrumentation to existing tests to find slow tests
Mike Blumenkrantz [Mon, 26 Mar 2018 18:19:28 +0000 (14:19 -0400)]
tests: add instrumentation to existing tests to find slow tests

efl_check.h must be included and the EFL_START/END_TEST macros must be
used in place of normal START/END_TEST macros

timing is enabled when TIMING_ENABLED is set
https://phab.enlightenment.org/w/improve_tests/

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agotests: match test names using strcasecmp when parsing cmdline
Mike Blumenkrantz [Mon, 26 Mar 2018 17:06:49 +0000 (13:06 -0400)]
tests: match test names using strcasecmp when parsing cmdline

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agobuild: merge all coverage exclusions into a single command and exclude more files
Mike Blumenkrantz [Mon, 26 Mar 2018 16:18:18 +0000 (12:18 -0400)]
build: merge all coverage exclusions into a single command and exclude more files

files in the excluded directories either can only be tested with stochastic results
or testing them serves no purpose

pruning these in separate commands adds 10-20s to each coverage build

ref 28f9a5cdb36f01255a94ff8146ee915be506288f
ref T6825

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
6 years agoecore_con: resolve the possible read of uninitalized data.
Hermet Park [Thu, 5 Apr 2018 06:29:57 +0000 (15:29 +0900)]
ecore_con: resolve the possible read of uninitalized data.

Submitted-By-Off: JongMin Lee<jm105.lee@samsung.com>

6 years agoecore_con: resolve the possible read of uninitialized data.
Hermet Park [Thu, 5 Apr 2018 06:20:14 +0000 (15:20 +0900)]
ecore_con: resolve the possible read of uninitialized data.

Signed-Off-By: JongMin Lee<jm105.lee@samsung.com>
6 years agoecore: resolve the possible use of invalid handle.
Hermet Park [Thu, 5 Apr 2018 06:15:34 +0000 (15:15 +0900)]
ecore: resolve the possible use of invalid handle.

Signed-Off-By: JongMin Lee<jm105.lee@samsung.com>
6 years agoemil: resolve possible memory leak.
Hermet Park [Thu, 5 Apr 2018 06:01:44 +0000 (15:01 +0900)]
emil: resolve possible memory leak.

Submitted-By-Off: JongMin Lee <jm105.lee@samsung.com>

6 years agoevas_gl_image: add null check
WooHyun Jung [Thu, 5 Apr 2018 02:10:43 +0000 (11:10 +0900)]
evas_gl_image: add null check

6 years agoevas textblock: add null check to avoid segfault
WooHyun Jung [Thu, 5 Apr 2018 01:55:44 +0000 (10:55 +0900)]
evas textblock: add null check to avoid segfault

6 years agoevas: parent need to exist to create a vg object.
Cedric Bail [Wed, 4 Apr 2018 23:30:36 +0000 (16:30 -0700)]
evas: parent need to exist to create a vg object.

6 years agoelm_win: Improve wayland cursor change race
Derek Foreman [Wed, 4 Apr 2018 18:50:43 +0000 (13:50 -0500)]
elm_win: Improve wayland cursor change race

When changing cursors under wayland sometimes we'll see the old cursor
moved to the new hotspot briefly before the cursor changes.  This makes
that suck less often.

A proper fix would involve creating a new wayland surface for every
cursor change (actual change, not just a new frame of an animated
cursor).  Given the current internals this is invasive.  Do the
easy thing for now.

6 years agoefl_ui_focus_manager_root_focus: refactor _state_eval
YeongJong Lee [Wed, 4 Apr 2018 16:28:21 +0000 (18:28 +0200)]
efl_ui_focus_manager_root_focus: refactor _state_eval

Summary:
we have to check whether all of descendant are none_logical.

ref T6800

Test Plan:
1. elementary_test -to ctxpopup
2. Click 'Ctxpopup with user content'
3. Try focus ctxpopup content(button) using arrow key.
4. Check that the content is focused (you can move scroll bar)

Reviewers: bu5hm4n

Subscribers: cedric

Maniphest Tasks: T6800

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

6 years agoelm_suite: add test case for history_pop
Marcel Hollerbach [Wed, 4 Apr 2018 16:23:18 +0000 (18:23 +0200)]
elm_suite: add test case for history_pop

6 years agoelm_suite: add test case for no child
Marcel Hollerbach [Wed, 4 Apr 2018 08:16:37 +0000 (10:16 +0200)]
elm_suite: add test case for no child

make sure 39739ba333b63c59ece4c5622adedb106ebab9b1 does not happen again

6 years agoelm_win: Remove unused variable
Derek Foreman [Tue, 3 Apr 2018 18:22:10 +0000 (13:22 -0500)]
elm_win: Remove unused variable

hot_obj is unused

6 years agotheme: Fix broken wayland cursors on non-legacy windows
Derek Foreman [Wed, 4 Apr 2018 15:51:10 +0000 (10:51 -0500)]
theme: Fix broken wayland cursors on non-legacy windows

since commit dd4467505ea29d6120e5e7d467d76836a6630ff4
wayland cursors haven't worked on non-legacy
windows because efl/pointer doesn't exist.  Add that.

6 years agoefl_ui_view_list : change the name of Model based list
SangHyeon Lee [Wed, 4 Apr 2018 10:04:43 +0000 (19:04 +0900)]
efl_ui_view_list : change the name of Model based list

Summary:
model based list need to be under the namespace of 'Efl.Ui.View".
thus, I renamed 'Efl.Ui.List' to 'Efl.Ui.View.List' properly.

Test Plan: N/A

Reviewers: cedric, felipealmeida

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

6 years agoefl_ui_focus_manager_calc: node depth is 0 for a NULL object
Marcel Hollerbach [Wed, 4 Apr 2018 08:11:22 +0000 (10:11 +0200)]
efl_ui_focus_manager_calc: node depth is 0 for a NULL object

6 years agoelm_suite: cleanup managers
Marcel Hollerbach [Wed, 4 Apr 2018 08:10:53 +0000 (10:10 +0200)]
elm_suite: cleanup managers

so unneccessary error messages do not appear.

6 years agoelm_suite: test refocus on unregister
Marcel Hollerbach [Tue, 3 Apr 2018 20:45:48 +0000 (22:45 +0200)]
elm_suite: test refocus on unregister

6 years agoelm_suite: add test cases for request subchild
Marcel Hollerbach [Tue, 3 Apr 2018 13:32:15 +0000 (15:32 +0200)]
elm_suite: add test cases for request subchild

6 years agoevas: remove useless/buggy line most likely due to left over during merging patch.
Cedric BAIL [Tue, 3 Apr 2018 21:26:23 +0000 (14:26 -0700)]
evas: remove useless/buggy line most likely due to left over during merging patch.

6 years agoevas: we should actually continue the chain of interpolation up to the next parent.
Cedric BAIL [Tue, 3 Apr 2018 21:25:56 +0000 (14:25 -0700)]
evas: we should actually continue the chain of interpolation up to the next parent.

6 years agoevas: vg loader actually should hold a ref when no parent is given.
Cedric BAIL [Tue, 3 Apr 2018 21:25:20 +0000 (14:25 -0700)]
evas: vg loader actually should hold a ref when no parent is given.

6 years agoevas: for whatever reason the example didn't interpolate the origin before.
Cedric BAIL [Tue, 3 Apr 2018 21:24:30 +0000 (14:24 -0700)]
evas: for whatever reason the example didn't interpolate the origin before.

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>