platform/upstream/efl.git
6 years agoeolian: remove old APIs for path retrieval
Daniel Kolesa [Fri, 2 Mar 2018 12:53:34 +0000 (13:53 +0100)]
eolian: remove old APIs for path retrieval

6 years agoelua: update path retrieval APIs
Daniel Kolesa [Fri, 2 Mar 2018 12:52:13 +0000 (13:52 +0100)]
elua: update path retrieval APIs

6 years agoeolian: remove old directory_scan/file_parse APIs
Daniel Kolesa [Fri, 2 Mar 2018 12:46:57 +0000 (13:46 +0100)]
eolian: remove old directory_scan/file_parse APIs

6 years agoelua: remove old dir scan/parse APIs
Daniel Kolesa [Fri, 2 Mar 2018 12:43:16 +0000 (13:43 +0100)]
elua: remove old dir scan/parse APIs

6 years agoelua: add new API prototypes in eolian bindings
Daniel Kolesa [Fri, 2 Mar 2018 12:37:00 +0000 (13:37 +0100)]
elua: add new API prototypes in eolian bindings

6 years agoeolian*: replace various directory_scan/file_parse
Daniel Kolesa [Fri, 2 Mar 2018 12:30:14 +0000 (13:30 +0100)]
eolian*: replace various directory_scan/file_parse

6 years agoeolian: replace directory_scan and file_parse in tests
Daniel Kolesa [Fri, 2 Mar 2018 12:21:20 +0000 (13:21 +0100)]
eolian: replace directory_scan and file_parse in tests

6 years agoPyolian: new APIs for typedecl lookups
Dave Andreoli [Thu, 1 Mar 2018 16:08:56 +0000 (17:08 +0100)]
Pyolian: new APIs for typedecl lookups

6 years agoPyolian: new variable lookup APIs
Dave Andreoli [Thu, 1 Mar 2018 15:35:22 +0000 (16:35 +0100)]
Pyolian: new variable lookup APIs

with adjusted tests

6 years agoPyolian: new APIs for class retrieval
Dave Andreoli [Thu, 1 Mar 2018 14:51:59 +0000 (15:51 +0100)]
Pyolian: new APIs for class retrieval

Also updated tests, generator and gendoc accordly

6 years agoefl file interface - fix reyturn if no file set to return a null file
Carsten Haitzler (Rasterman) [Thu, 1 Mar 2018 13:35:21 +0000 (22:35 +0900)]
efl file interface - fix reyturn if no file set to return a null file

6 years agoeolian: new APIs for typedecl lookups
Daniel Kolesa [Thu, 1 Mar 2018 11:42:40 +0000 (12:42 +0100)]
eolian: new APIs for typedecl lookups

6 years agoeolian: new variable lookup APIs
Daniel Kolesa [Thu, 1 Mar 2018 11:09:02 +0000 (12:09 +0100)]
eolian: new variable lookup APIs

6 years agoeolian: new APIs for class retrieval
Daniel Kolesa [Thu, 1 Mar 2018 10:42:30 +0000 (11:42 +0100)]
eolian: new APIs for class retrieval

6 years agoevas: Check for NEON via eina_cpu_features if possible
Derek Foreman [Wed, 28 Feb 2018 22:38:53 +0000 (16:38 -0600)]
evas: Check for NEON via eina_cpu_features if possible

On linux we can do this test without firing a SIGILL and trapping it,
if getauxval() is present.

ref T6711

6 years agoeet: add doc note for EET_DATA_DESCRIPTOR_ADD_VAR_ARRAY_STRING
Mike Blumenkrantz [Wed, 28 Feb 2018 18:55:44 +0000 (13:55 -0500)]
eet: add doc note for EET_DATA_DESCRIPTOR_ADD_VAR_ARRAY_STRING

6 years agoelm config: hide theme and profile config in gui when running in enlightenment
Mike Blumenkrantz [Tue, 27 Feb 2018 23:32:59 +0000 (18:32 -0500)]
elm config: hide theme and profile config in gui when running in enlightenment

put some small effort into preventing the user from destroying their config

6 years agoelm: fix config upgrades for user profiles
Mike Blumenkrantz [Tue, 27 Feb 2018 23:15:10 +0000 (18:15 -0500)]
elm: fix config upgrades for user profiles

loading the system profile only works if the current profile has the
same name as a system profile

6 years agotheme: add fallback matching when referenced theme is not found
Mike Blumenkrantz [Wed, 28 Feb 2018 16:01:26 +0000 (11:01 -0500)]
theme: add fallback matching when referenced theme is not found

if done properly, this should never occur, but at least find some
layout to use if one is available

6 years agotheme: introduce theme overlay/extension matching
Mike Blumenkrantz [Tue, 27 Feb 2018 20:42:58 +0000 (15:42 -0500)]
theme: introduce theme overlay/extension matching

after this commit, efl base themes should now specify:

data.item: "efl_theme_base" "theme_name";

and overlays/extensions which match a given theme should use:

data.item: "efl_theme_match" "theme_name";

this will cause overlays and extensions with the data.item to only
be loaded when the corresponding theme is in use. note that this
should not be specified for theme-independent overlays/extensions
as it will completely block loading of themes

6 years agoelm_theme: deduplicate theme apply code
Mike Blumenkrantz [Tue, 27 Feb 2018 20:22:08 +0000 (15:22 -0500)]
elm_theme: deduplicate theme apply code

the "default" style fallback code here was identical, so just call again
with "default" instead of copy and pasting the same code

6 years agoelm_theme: massively simplify internals
Mike Blumenkrantz [Tue, 27 Feb 2018 20:07:13 +0000 (15:07 -0500)]
elm_theme: massively simplify internals

instead of maintaining separate lists for the file and the edje file,
maintain a single list of structs containing both of these

also dynamically manage a string list of files to preserve compat with
existing (bad) functions which return this directly

6 years agoelm: set default theme name internally when applying config
Mike Blumenkrantz [Tue, 27 Feb 2018 19:21:14 +0000 (14:21 -0500)]
elm: set default theme name internally when applying config

for whatever reason this is only generated in elm_theme_get(), so call
that whenever doing theme string parsing

@fix

6 years agoedje: add ability to reference images from other edje files
Mike Blumenkrantz [Mon, 26 Feb 2018 23:54:38 +0000 (18:54 -0500)]
edje: add ability to reference images from other edje files

this uses the just-added "id" property to allow referencing images
by name from that theme. example:

=FILE1=
id: "myfile";
images.image: "someimage.png" COMP;

=FILE2=
requires: "myfile";
images.image: "someimage.png" EXTERNAL "myfile";

FILE2 will now load someimage.png from FILE1 at runtime if FILE1 is
currently opened in edje, and FILE1 will be kept open until FILE2 is
closed

@feature

6 years agoedje_cc: add "id" toplevel property
Mike Blumenkrantz [Mon, 26 Feb 2018 21:21:44 +0000 (16:21 -0500)]
edje_cc: add "id" toplevel property

this can be used by edje files to identify themselves

6 years agoedje: reformat bin/ c files
Mike Blumenkrantz [Mon, 26 Feb 2018 21:15:30 +0000 (16:15 -0500)]
edje: reformat bin/ c files

a lot of this was unreadable due to mixed tabs/spaces or just random
formatting

6 years agoedje: EDJE_IMAGE_SOURCE_TYPE_EXTERNAL -> EDJE_IMAGE_SOURCE_TYPE_USER
Mike Blumenkrantz [Mon, 26 Feb 2018 20:44:58 +0000 (15:44 -0500)]
edje: EDJE_IMAGE_SOURCE_TYPE_EXTERNAL -> EDJE_IMAGE_SOURCE_TYPE_USER

no functional changes, just a confusing define rename

6 years agoRevert "wayland_imf: Fix bug in shutdown"
Derek Foreman [Wed, 28 Feb 2018 19:33:32 +0000 (13:33 -0600)]
Revert "wayland_imf: Fix bug in shutdown"

This reverts commit fb01a697dd099f17a6a30c74781b6cfeb72bc512.

The problem this commit was anticipating never happened.

Now the next version of wayland will allow us to make protocol symbols
private, so it makes more sense to have this stuff back where it was
in the first place.

6 years agoPyolian: add APIs to retrieve units from a state
Dave Andreoli [Wed, 28 Feb 2018 13:18:45 +0000 (14:18 +0100)]
Pyolian: add APIs to retrieve units from a state

Also fixed a declaration error from previous commit

6 years agoPyolian: add API to get file name of a unit
Dave Andreoli [Wed, 28 Feb 2018 12:36:49 +0000 (13:36 +0100)]
Pyolian: add API to get file name of a unit

6 years agoPyolian: add API to get children of a unit
Dave Andreoli [Wed, 28 Feb 2018 12:16:53 +0000 (13:16 +0100)]
Pyolian: add API to get children of a unit

6 years agoPyolian: reorder the header file
Dave Andreoli [Wed, 28 Feb 2018 11:58:06 +0000 (12:58 +0100)]
Pyolian: reorder the header file

No functional changes, just reordered the declarations

6 years agoRevert "elm: make elm_view_list legacy"
Marcel Hollerbach [Wed, 28 Feb 2018 08:47:26 +0000 (09:47 +0100)]
Revert "elm: make elm_view_list legacy"

This reverts commit d2d63a8c239cf40b7b828303cca34a0d0dde97ec.

This broke compilation of efl applications, since elm_view_list.eo.h
is required, however, this again leaves the installed .eo files broken.

6 years agoeina/bezier: use FLT_EQ marcro for float equal comparison.
subhransu mohanty [Wed, 28 Feb 2018 06:15:20 +0000 (15:15 +0900)]
eina/bezier: use FLT_EQ marcro for float equal comparison.

Reviewers: SanghyeonLee, jpeg, cedric

Subscribers: cedric

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

6 years agoecore_wl2: Disable horizontal resize optimization
Derek Foreman [Tue, 27 Feb 2018 22:24:25 +0000 (16:24 -0600)]
ecore_wl2: Disable horizontal resize optimization

We had a "clever" optimization that would keep a buffer on resize
if it was resizing up horizontal and fit within the previously
allocated stride.

Unfortunately, there still needs to be a buffer reconfigure between
client and compositor that wasn't taking place.  Remove this for now.

6 years agoPyolian: rename Eolian to Eolian_State
Dave Andreoli [Tue, 27 Feb 2018 18:13:15 +0000 (19:13 +0100)]
Pyolian: rename Eolian to Eolian_State

6 years agoPyolian: eolian_file_parse -> eolian_state_file_parse
Dave Andreoli [Tue, 27 Feb 2018 17:10:29 +0000 (18:10 +0100)]
Pyolian: eolian_file_parse -> eolian_state_file_parse

6 years agoPyolian: rename path/filename retrieval APIs
Dave Andreoli [Tue, 27 Feb 2018 17:05:21 +0000 (18:05 +0100)]
Pyolian: rename path/filename retrieval APIs

6 years agoPyolian: rename all_files_parse functions
Dave Andreoli [Tue, 27 Feb 2018 16:56:06 +0000 (17:56 +0100)]
Pyolian: rename all_files_parse functions

6 years agoPyolian: new APIs for directory scanning
Dave Andreoli [Tue, 27 Feb 2018 16:48:31 +0000 (17:48 +0100)]
Pyolian: new APIs for directory scanning

eolian_directory_scan => eolian_state_directory_add
eolian_system_directory_scan => eolian_state_system_directory_add

6 years agoeio_file: fix some indentation.
Al Poole [Tue, 27 Feb 2018 17:33:47 +0000 (17:33 +0000)]
eio_file: fix some indentation.

Make this easier to read.

6 years agoeolian: rename path/filename retrieval APIs
Daniel Kolesa [Tue, 27 Feb 2018 15:11:56 +0000 (16:11 +0100)]
eolian: rename path/filename retrieval APIs

6 years agoeolian: rename all_files_parse functions
Daniel Kolesa [Tue, 27 Feb 2018 15:04:19 +0000 (16:04 +0100)]
eolian: rename all_files_parse functions

6 years agoeolian: eolian_file_parse -> eolian_state_file_parse
Daniel Kolesa [Tue, 27 Feb 2018 14:59:53 +0000 (15:59 +0100)]
eolian: eolian_file_parse -> eolian_state_file_parse

6 years agoeolian: add API to get file name of a unit
Daniel Kolesa [Tue, 27 Feb 2018 14:53:35 +0000 (15:53 +0100)]
eolian: add API to get file name of a unit

6 years agoeolian: add API to get children of a unit
Daniel Kolesa [Tue, 27 Feb 2018 14:46:39 +0000 (15:46 +0100)]
eolian: add API to get children of a unit

6 years agoeolian: add APIs to retrieve units from a state
Daniel Kolesa [Tue, 27 Feb 2018 12:24:05 +0000 (13:24 +0100)]
eolian: add APIs to retrieve units from a state

6 years agoeolian: new APIs for directory scanning
Daniel Kolesa [Tue, 27 Feb 2018 12:07:31 +0000 (13:07 +0100)]
eolian: new APIs for directory scanning

6 years agoeolian: eolian_* -> eolian_state_*, Eolian -> Eolian_State
Daniel Kolesa [Tue, 27 Feb 2018 12:00:36 +0000 (13:00 +0100)]
eolian: eolian_* -> eolian_state_*, Eolian -> Eolian_State

6 years agoevas: minor formatting fix
Chris Michael [Wed, 21 Feb 2018 14:07:58 +0000 (09:07 -0500)]
evas: minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-drm2: Add API function to retrieve output user data
Chris Michael [Tue, 20 Feb 2018 15:33:51 +0000 (10:33 -0500)]
ecore-drm2: Add API function to retrieve output user data

With the rework of Ecore_Evas drm engine, we need to get the
ecore_evas itself in the pageflip callback so we have to reassign
output->user_data to the ecore_evas which we can then use to retrieve
via this function

This is needed as the pageflip callback will pass us the output on
which the pageflip completed.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-drm2: Free stringshare for relative output during output_free
Chris Michael [Tue, 27 Feb 2018 14:22:04 +0000 (09:22 -0500)]
ecore-drm2: Free stringshare for relative output during output_free

When we destroy a given output, we should be freeing the
eina_stringshare for relative.to

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-drm2: Add API to get/set which output is relative to another
Chris Michael [Wed, 21 Feb 2018 17:16:31 +0000 (12:16 -0500)]
ecore-drm2: Add API to get/set which output is relative to another

In order to know which output we should clone, we need a way to
store/retrieve the output which should be cloned. This patch adds a
small api we can use in randr config dialog to get/set that value.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoelm_datetime: Handle wrong param case for legacy.
Woochan Lee [Tue, 27 Feb 2018 11:01:22 +0000 (20:01 +0900)]
elm_datetime: Handle wrong param case for legacy.

Summary:
This wrapper didn't consider wrong param given case.

@fix

Test Plan: elementary_test -> elm_datetime sample.

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric

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

6 years agocxx: Fix manual code after efl_app change.
Lauro Moura [Tue, 27 Feb 2018 00:14:09 +0000 (21:14 -0300)]
cxx: Fix manual code after efl_app change.

Test Plan: Run make check

Reviewers: felipealmeida

Subscribers: cedric

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

6 years agotests: add test for efl.ui header compilation
Mike Blumenkrantz [Mon, 26 Feb 2018 19:48:24 +0000 (14:48 -0500)]
tests: add test for efl.ui header compilation

6 years agoevas: fix nolegacy builds with evas headers
Mike Blumenkrantz [Mon, 26 Feb 2018 19:47:57 +0000 (14:47 -0500)]
evas: fix nolegacy builds with evas headers

6 years agoefl_ui: do not include evas gl header if legacy support is not requested
Mike Blumenkrantz [Mon, 26 Feb 2018 19:47:25 +0000 (14:47 -0500)]
efl_ui: do not include evas gl header if legacy support is not requested

this will not build without legacy

6 years agoeio: move some typedefs into base eio header
Mike Blumenkrantz [Mon, 26 Feb 2018 19:46:35 +0000 (14:46 -0500)]
eio: move some typedefs into base eio header

eio eo api uses these. FIXME?

6 years agoefl: move signal events from efl.loop to efl.app
Mike Blumenkrantz [Mon, 26 Feb 2018 18:40:41 +0000 (13:40 -0500)]
efl: move signal events from efl.loop to efl.app

these are process-wide and not loop-specific

6 years agoefl: add test suite for efl_app
Mike Blumenkrantz [Mon, 26 Feb 2018 18:18:54 +0000 (13:18 -0500)]
efl: add test suite for efl_app

this moves existing tests out of the ecore suite and into a new one,
adds some checks to verify loop object parenting, and verifies compile
for Efl_Core.h and Efl_Net.h using EFL_NOLEGACY_API_SUPPORT

6 years agoefl: create Efl.App class, the parent of Efl.Loop
Mike Blumenkrantz [Mon, 26 Feb 2018 17:16:20 +0000 (12:16 -0500)]
efl: create Efl.App class, the parent of Efl.Loop

6 years agoefl.ui.progressbar: change signal name for icon/text
YeongJong Lee [Mon, 26 Feb 2018 12:22:08 +0000 (21:22 +0900)]
efl.ui.progressbar: change signal name for icon/text

Summary: see also 73f8b3b78f0ff92ddfc1c16426bf7c176f10293a

Test Plan:
1. elementary_test -to progressbar
and elementary_test -to efl.ui.progressbar
2. check that icon and text are visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

6 years agoelm_part: use TYPE _CLASS instead of MY_CLASS
YeongJong Lee [Mon, 26 Feb 2018 12:21:57 +0000 (21:21 +0900)]
elm_part: use TYPE _CLASS instead of MY_CLASS

Summary:
legacy part do not have MY_CLASS. if ELM_PART_OVERRIDE_PARTIAL is used for
legacy part, it call efl_super(non-legacy class).
we need super of TYPE _CLASS instead of MY_CLASS.

Test Plan:
WITH D5818
1. elementary_test -to progressbar
2. check that efl_part is working in _progressbar_part_value_set

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

6 years agoefl.ui.slider: change signal name for icon/text
YeongJong Lee [Mon, 26 Feb 2018 12:11:58 +0000 (21:11 +0900)]
efl.ui.slider: change signal name for icon/text

Summary:
See also 73f8b3b78f0ff92ddfc1c16426bf7c176f10293a

because slider use "elm.swallow.icon" part name, it don't need to edit .c file.

Test Plan:
1. elementary_test -to efl.ui.slider
2. check that icon and text are visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

6 years agoefl.ui.check: change signal name for icon/text
YeongJong Lee [Mon, 26 Feb 2018 11:28:37 +0000 (20:28 +0900)]
efl.ui.check: change signal name for icon/text

Summary: see also 73f8b3b78f0ff92ddfc1c16426bf7c176f10293a

Test Plan:
1. elementary_test -to check
2. check that icon is visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

6 years agoeina_vpath: include the config header
Marcel Hollerbach [Mon, 26 Feb 2018 09:42:24 +0000 (10:42 +0100)]
eina_vpath: include the config header

so the function detection macros are defined.

6 years agoefreet: fix for windows
Marcel Hollerbach [Mon, 26 Feb 2018 09:41:48 +0000 (10:41 +0100)]
efreet: fix for windows

there is probebly not geteuid / getuid

6 years agoefl.ui.radio: change signal name for icon/text
YeongJong Lee [Mon, 26 Feb 2018 10:59:31 +0000 (19:59 +0900)]
efl.ui.radio: change signal name for icon/text

Summary: see also 73f8b3b78f0ff92ddfc1c16426bf7c176f10293a

Test Plan:
1. elementary_test -to radio
2. check that icon is visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

6 years agoecore signal - memset data about to be sent over to 0 first
Carsten Haitzler (Rasterman) [Mon, 26 Feb 2018 06:28:06 +0000 (15:28 +0900)]
ecore signal - memset data about to be sent over to 0 first

makes valgrind happier and less noise, though not strictly needed,
thus not fixing a bug...

6 years agoecore anim - use pointers to real things for epoll objects
Carsten Haitzler (Rasterman) [Mon, 26 Feb 2018 06:26:27 +0000 (15:26 +0900)]
ecore anim - use pointers to real things for epoll objects

while really "fake" they are real pointers and thus shouldnt get
complaints from tools about invalid ptrs... doesnt fix any bug though.

6 years agoelput - don't segv on shutdown when libinput dispatch happens to free lib
Carsten Haitzler (Rasterman) [Sun, 25 Feb 2018 15:35:20 +0000 (00:35 +0900)]
elput - don't segv on shutdown when  libinput dispatch happens to free lib

6 years agoecore evas - drm engine - fix focus set on show to work correctly
Carsten Haitzler (Rasterman) [Sun, 25 Feb 2018 15:28:47 +0000 (00:28 +0900)]
ecore evas - drm engine - fix focus set on show to work correctly

6 years agoelm: make elm_view_list legacy
Marcel Hollerbach [Sun, 25 Feb 2018 15:22:44 +0000 (16:22 +0100)]
elm: make elm_view_list legacy

so this is not installed, but build.

6 years agoeo: avoid useless computations
Jean Guyomarc'h [Mon, 8 Jan 2018 23:03:21 +0000 (00:03 +0100)]
eo: avoid useless computations

Better exploit class constructor and destructor to initialize data once
and for all. This allows not make initialization checks at runtime.

6 years agoeo: mark more unlikely labels as cold
Jean Guyomarc'h [Mon, 8 Jan 2018 23:02:59 +0000 (00:02 +0100)]
eo: mark more unlikely labels as cold

This is one more hint the compiler can take to spatially isolate
unlikely branches and possibly improving the hot paths.

6 years agoeina - windows home get - donyt have static buffer and do it like unix
Carsten Haitzler (Rasterman) [Sun, 25 Feb 2018 10:29:10 +0000 (19:29 +0900)]
eina - windows home get - donyt have static buffer and do it like unix

6 years agoecore_signal: check the return value of write(2)
Jean Guyomarc'h [Sun, 25 Feb 2018 09:40:50 +0000 (10:40 +0100)]
ecore_signal: check the return value of write(2)

Some glibc declare write(2) with the attribute warn unused result.
So we now ensure that the calls to write(2) are successful. Otherwise,
we print an error and update errno accordingly.

6 years agoefl_exe: check the calls to pipe(2)
Jean Guyomarc'h [Sun, 25 Feb 2018 09:38:57 +0000 (10:38 +0100)]
efl_exe: check the calls to pipe(2)

Some glibc versions declare pipe(2) with a warn unused result attribute,
leading to compile-time warnings when pipe(2)'s return value is not
checked.

If pipe(2) fails, we now print an error and make the calling function
fail.

6 years agoelm_config: fixup copy paste error
Marcel Hollerbach [Sat, 24 Feb 2018 20:07:13 +0000 (21:07 +0100)]
elm_config: fixup copy paste error

when i did the vpath transition i made a copy and paste error, that
might made a few people miss theire config and appear weird directories
~/elementary.elementary/ in theire homedirectory, sorry for that!

6 years agoelm_view_list: do not install this
Marcel Hollerbach [Sat, 24 Feb 2018 19:33:29 +0000 (20:33 +0100)]
elm_view_list: do not install this

this breaks the eolian database, as it imports files that are not
installed. (namely elm_genlist_item_types)

6 years agoFocus test 6: add ability to move the focus by API
Dave Andreoli [Sat, 24 Feb 2018 10:33:27 +0000 (11:33 +0100)]
Focus test 6: add ability to move the focus by API

6 years agoeolian: perform correct unit lookups in public API
Daniel Kolesa [Fri, 23 Feb 2018 14:34:52 +0000 (15:34 +0100)]
eolian: perform correct unit lookups in public API

This finally enables looking up things from the current unit
rather than from a backing storage in the Eolian state. This
also means that the benefits of having a unit system will
finally be visible.

6 years agoeolian: simplify adding/refcounting objects
Daniel Kolesa [Fri, 23 Feb 2018 14:25:32 +0000 (15:25 +0100)]
eolian: simplify adding/refcounting objects

6 years agoeolian: proper in-unit storage for all declarations
Daniel Kolesa [Fri, 23 Feb 2018 14:14:13 +0000 (15:14 +0100)]
eolian: proper in-unit storage for all declarations

This makes sure variables are stored as well as types within their
respective units. Also, declarations are now refcounted just like
any other Eolian object.

6 years agoeina vpath - improve docs and add app.tmp and usr.tmp vpaths too
Carsten Haitzler (Rasterman) [Fri, 23 Feb 2018 07:26:30 +0000 (16:26 +0900)]
eina vpath - improve docs and add app.tmp and usr.tmp vpaths too

definitely kaes the docs better with lots of sample paths and some
indication of what these may map to in real life.

6 years agoeina: Change assert_ptr_null to asset_ptr_eq(null)
Lauro Moura [Thu, 22 Feb 2018 23:37:11 +0000 (20:37 -0300)]
eina: Change assert_ptr_null to asset_ptr_eq(null)

Summary:
Again, ptr_null/nonnull were added in check 0.11, while we depend on
0.9.10.

Test Plan: Run make check

Reviewers: marcelhollerbach, cedric, felipealmeida

Reviewed By: felipealmeida

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

6 years agomono: Whitelist some interfaces and classes
Lauro Moura [Thu, 22 Feb 2018 23:22:51 +0000 (20:22 -0300)]
mono: Whitelist some interfaces and classes

Summary: Among them, IO interfaces are needed by the new efl.Task.

Test Plan: Run make check

Reviewers: felipealmeida

Subscribers: cedric

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

6 years agoeina: make eina_vpath_interface_app_set an internal function.
Cedric Bail [Thu, 22 Feb 2018 23:26:28 +0000 (15:26 -0800)]
eina: make eina_vpath_interface_app_set an internal function.

I am wondering if this one shouldn't even be a private one and
directly used by eina_prefix.

6 years agoeina: make eina_vpath_interface_user_set an internal API.
Cedric Bail [Thu, 22 Feb 2018 22:57:36 +0000 (14:57 -0800)]
eina: make eina_vpath_interface_user_set an internal API.

6 years agoefl: fix warning due to vpath change.
Cedric Bail [Thu, 22 Feb 2018 22:56:31 +0000 (14:56 -0800)]
efl: fix warning due to vpath change.

6 years agoedje: silence warning due to vpath change.
Cedric Bail [Thu, 22 Feb 2018 22:55:55 +0000 (14:55 -0800)]
edje: silence warning due to vpath change.

6 years agoemotion: silence warning due to vpath change.
Cedric Bail [Thu, 22 Feb 2018 22:55:31 +0000 (14:55 -0800)]
emotion: silence warning due to vpath change.

6 years agoevas event_grabber: fix child ordering when adding non-top children
Mike Blumenkrantz [Thu, 22 Feb 2018 20:30:10 +0000 (15:30 -0500)]
evas event_grabber: fix child ordering when adding non-top children

another ref 0516cdc0f9dc0969ac96df6984af2413680cad01

@fix

6 years agoefl-wl: send surface enter/leave based on compositor object visibility
Mike Blumenkrantz [Thu, 22 Feb 2018 18:00:04 +0000 (13:00 -0500)]
efl-wl: send surface enter/leave based on compositor object visibility

this allows clients to conserve memory when the compositor is in a
hidden or obscured state

@feature

6 years agoevas: include legacy vg header instead of manually declaring typedef
Mike Blumenkrantz [Thu, 22 Feb 2018 13:50:17 +0000 (08:50 -0500)]
evas: include legacy vg header instead of manually declaring typedef

fix T6720

6 years agoeolian: fix eina hash usage so it doesn't consume all your memory
Daniel Kolesa [Thu, 22 Feb 2018 10:18:55 +0000 (11:18 +0100)]
eolian: fix eina hash usage so it doesn't consume all your memory

This makes sure items are checked before being added, so that eina
hash doesn't get confused, add each item thousands of times and
run out of memory.

6 years agoeolian: store types/typedecls in units
Daniel Kolesa [Wed, 21 Feb 2018 16:59:39 +0000 (17:59 +0100)]
eolian: store types/typedecls in units

6 years agoeolian: add eolian_object_add wrapper
Daniel Kolesa [Wed, 21 Feb 2018 16:50:18 +0000 (17:50 +0100)]
eolian: add eolian_object_add wrapper

6 years agolets delete efl_vpath
Marcel Hollerbach [Sun, 18 Feb 2018 20:58:57 +0000 (21:58 +0100)]
lets delete efl_vpath

Its not used anymore.

ref T5314