platform/upstream/efl.git
4 years agoelm_conform : Add elm_conformant_input_area_disabled_set/get APIs
Woochanlee [Thu, 12 Mar 2020 07:33:03 +0000 (16:33 +0900)]
elm_conform : Add elm_conformant_input_area_disabled_set/get APIs

Applications in certain environments do not want to resize the conformant due to the input area.
For example, in an app where a round image is set as the background above the contour,
the image may look broken when the conformation is resized.

@tizen_feature

Change-Id: I731abbc6eb4769ad965eaba37b6d2518fe760df6

4 years agoevas_vg: add since tags for evas vector APIs
Taehyub Kim [Mon, 16 Mar 2020 10:44:52 +0000 (19:44 +0900)]
evas_vg: add since tags for evas vector APIs

Change-Id: Ifdd0dbfc8e2ab98f2c5a4302890402f1f55cb1ea

4 years agoevas_vg: refined the documentation for evas vector APIs
Taehyub Kim [Mon, 16 Mar 2020 10:24:58 +0000 (19:24 +0900)]
evas_vg: refined the documentation for evas vector APIs

Change-Id: I31d33f277e99b3bbaa4d1975af613a687b5687df

4 years agoevas_vg: refined the evas vector APIs set
Taehyub Kim [Mon, 16 Mar 2020 09:52:48 +0000 (18:52 +0900)]
evas_vg: refined the evas vector APIs set

Change-Id: I22e05e7f452694edd8deebd0b6045aebd25cf4ee

4 years agodoxygen docs: Fix Eina Promises doc structure and links
Xavi Artigas [Tue, 17 Mar 2020 18:21:41 +0000 (19:21 +0100)]
doxygen docs: Fix Eina Promises doc structure and links

Man, this was a tough one!
The content still needs work, but the structure makes a bit more sense now,
and there are no broken links, typos or doxygen warnings anymore.

4 years agodoxygen docs: Create Eina Vector2 group in the right place
Xavi Artigas [Fri, 13 Mar 2020 10:03:21 +0000 (11:03 +0100)]
doxygen docs: Create Eina Vector2 group in the right place

A couple members were outside the group and appeared in the
Eina Data Types page instead.

4 years agodoxygen docs: Put quadtrees in their own group
Xavi Artigas [Fri, 13 Mar 2020 10:00:59 +0000 (11:00 +0100)]
doxygen docs: Put quadtrees in their own group

To clean up the Eina Data Types page

4 years agocanvas3d: remove canvas3d examples.
Hermet Park [Tue, 17 Mar 2020 12:04:47 +0000 (21:04 +0900)]
canvas3d: remove canvas3d examples.

Summary: This is a dead feature, remove it.

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoSpotlight: Remove jump_setup from ctors list
Xavi Artigas [Tue, 17 Mar 2020 10:56:37 +0000 (11:56 +0100)]
Spotlight: Remove jump_setup from ctors list

This feature has not been used yet and it is making mono_gen abort, breaking build
(probably because this property has setter but no getter).

4 years agodocs: Improve Spotlight.Animation_Manager docs
Xavi Artigas [Tue, 17 Mar 2020 10:39:41 +0000 (11:39 +0100)]
docs: Improve Spotlight.Animation_Manager docs

4 years agoecore evas x - on argb dont create unused 1 bit pixmap masks
Carsten Haitzler (Rasterman) [Mon, 16 Mar 2020 20:34:57 +0000 (20:34 +0000)]
ecore evas x - on argb dont create unused 1 bit pixmap masks

found out we had a wasted 1 bit pixmap mask for argb windows left over
from shaped window support... so don't create it. drop resources a bit.

@fix

4 years agomove stabelized items out of @beta
Ali Alzyod [Wed, 12 Feb 2020 13:07:17 +0000 (13:07 +0000)]
move stabelized items out of @beta

ref T8541
ref T8522

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11328

4 years agoefl_ui_spotlight: Introduce animation manager
Marcel Hollerbach [Fri, 14 Feb 2020 18:02:14 +0000 (19:02 +0100)]
efl_ui_spotlight: Introduce animation manager

the manager is basically not new, its just the moved fade manager, with
a little bit more utilization. The manager now can be equipt with 3
animaton objects that are played when the correct reason happens.

For now the fade manager is the only thing that uses that.

Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D11358

4 years agoefl_ui_spotlight_manager: introduce a reason for switch_to
Marcel Hollerbach [Fri, 14 Feb 2020 16:37:42 +0000 (17:37 +0100)]
efl_ui_spotlight_manager: introduce a reason for switch_to

This is preparation work for a later commit. This brings a flag that
indicates what the reason for a switch to call is, either a jump a push
or a pop.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D11357

4 years agoecore_cocoa: fix wrong word in documentation
Taehyub Kim [Thu, 5 Mar 2020 02:54:21 +0000 (02:54 +0000)]
ecore_cocoa: fix wrong word in documentation

modified the wrong word for mime_type parameters

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D11446

4 years agoecore_input_evas: fix memory leak when ecore_event_evas is shutdown.
Hosang Kim [Tue, 17 Mar 2020 03:34:05 +0000 (03:34 +0000)]
ecore_input_evas: fix memory leak when ecore_event_evas is shutdown.

_last_events and eel structure are not freed when ecore_event_evas is shutdown.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11520

4 years agoeina_file: fix a typo error
Wonki Kim [Mon, 16 Mar 2020 07:24:24 +0000 (07:24 +0000)]
eina_file: fix a typo error

'sefl' is definitely a typo
this patch fixes it

Reviewed-by: Shinwoo Kim <cinoo.kim@samsung.com>
Differential Revision: https://phab.enlightenment.org/D11510

4 years agoevas_table: inherit all the types we are implementing
Marcel Hollerbach [Tue, 17 Mar 2020 08:31:05 +0000 (09:31 +0100)]
evas_table: inherit all the types we are implementing

4 years agowin/widget: free array when object is deleted.
Hosang Kim [Tue, 17 Mar 2020 04:12:19 +0000 (04:12 +0000)]
win/widget: free array when object is deleted.

It makes a memory leak.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11522

4 years agoevas_table: inherit all the types we are implementing
Marcel Hollerbach [Sun, 15 Mar 2020 21:10:31 +0000 (22:10 +0100)]
evas_table: inherit all the types we are implementing

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11515

4 years agoedje_part: move part_type to common interface
Marcel Hollerbach [Mon, 16 Mar 2020 12:53:03 +0000 (13:53 +0100)]
edje_part: move part_type to common interface

In EFL we have multiple hirachies of parts. One in Efl.Layout namespace
(alias edje) and one in Efl.Ui namespace. The seperation of these two
makes sense from the perspective of hiding functionality. However, a
functionality that we want to have on both is: we want to be able to
check which type of part this is. In order to do so, this commit
introduces a common interface, which allows that.

This is required because eo is currently undergoing some works, where
only APIs on a object are allowed, that are also inheriting its type,
which is normal in OOP, but sometimes, due to the lack of limitation, we
did that. This commit resolves one more case of that.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11516

4 years agoevas_render: use do_async for mapped child (SW)
Shinwoo Kim [Mon, 16 Mar 2020 10:15:17 +0000 (19:15 +0900)]
evas_render: use do_async for mapped child (SW)

Summary:
On the SW engine, the rendering has inconsistent between smart object and
non-smart object, if they are mapped children. The smart object does ASYNC
render while the non-smart object does SYNC render. Because of this there
is a filckering rendering problem.

[Problem]
The following is a case of problems.

  elm_layout (mapped, map_surface_1)
   │
   ├─ elm_image_1 (mapped)
   │
   └─ elm_image_2 (not mapped)
       │
       └─ evas_object_image

After elm_image_1 adds draw command to the draw thread queue, and it starts
its drawing on the map_surface_1 on a thread, and stops middle of drawing.
At this point, evas_object_image does SYNC draw on the same surface
map_surface_1. And the thread for elm_image_1 works for remains.

Because the evas_object_image draws before finishing drawing of elm_image_1,
There is the problem.

F.Y.I. From the first evas_render has done SYNC render for mapped child.

   cb10c7d evas: Modify software_generic ... with threaded renderer

This patch makes mapped children do ASYNC render.

Test Plan:
{F3856130}

{F3856131}

Reviewers: Hermet, jsuya, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas_wl: update rotation at the time of uniconify
Changyeon Lee [Wed, 11 Mar 2020 12:23:29 +0000 (21:23 +0900)]
ecore_evas_wl: update rotation at the time of uniconify

rotation isn't updated if window is iconify state in
callback of output transform '_ecore_evas_wl_common_cb_output_transform'.
this patch updates rotation in the above case.

Change-Id: I8827d1972a632237b214206ed1b08277e19fdafb

4 years agoUpdating serbian translation
maxerba [Sat, 14 Mar 2020 14:19:50 +0000 (15:19 +0100)]
Updating serbian translation

4 years agoefl/wl: remove old doxygen docs
Mike Blumenkrantz [Fri, 13 Mar 2020 16:17:03 +0000 (12:17 -0400)]
efl/wl: remove old doxygen docs

Summary:
these are no longer applicable
Depends on D11504

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/wl: add docs for surface object and re-namespace
Mike Blumenkrantz [Fri, 13 Mar 2020 16:16:57 +0000 (12:16 -0400)]
efl/wl: add docs for surface object and re-namespace

Summary: Depends on D11501

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/wl: add docs for base compositor object
Mike Blumenkrantz [Fri, 13 Mar 2020 16:16:51 +0000 (12:16 -0400)]
efl/wl: add docs for base compositor object

Summary:
also rename some methods

Depends on D11500

Reviewers: bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/gesture: remove duplicated line
Mike Blumenkrantz [Fri, 13 Mar 2020 13:08:25 +0000 (09:08 -0400)]
efl/gesture: remove duplicated line

Summary: this was somehow duplicated

Reviewers: CHAN, bu5hm4n, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_common: rgba32 to Y8 (Enhance Conversion)
ali [Fri, 13 Mar 2020 08:54:54 +0000 (09:54 +0100)]
evas_common: rgba32 to Y8 (Enhance Conversion)

Summary:
Made small change to expand mapping range by using celling values.
Now : rgb(255,255,255)   ->  y(255)
Now : rgb(1  , 1 ,1  )   ->  y(1)

Old : rgb(255,255,255)   ->  y(254)
Old : rgb(1  ,  1,  1)   ->  y(0)

It is important for white point convert to not loss any value

Test Plan:
```
#include <stdio.h>

int main()
{
    unsigned char r =255, g =255,b =255;
    unsigned int gry8_old = ((r * 19595) + (g * 38469) + (b * 7471)) >> 16;
    unsigned int gry8_new = ((r * 19596) + (g * 38470) + (b * 7472)) >> 16;

    printf("gry_old=%i\n",gry8_old);
    printf("gry_new=%i\n",gry8_new);

    return 0;
}

```

Reviewers: cedric, raster, zmike, vtorri, Hermet, woohyun, bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje/style: Fix regression caused by changes in opensource
Subhransu Mohanty [Thu, 12 Mar 2020 03:31:30 +0000 (12:31 +0900)]
edje/style: Fix regression caused by changes in opensource

The regression is caused due to recent changes in text_class override in object level
which changed the whole idea of lazy generation of styles only when needed.
this patch undo those changes.

Now for global, file and object level text_class change we will just invalidate the
edje style cache so that when next request to the style_get() function called we
will recompute the style with the new changes.

Change-Id: I064a140bba1e23bf76b011a5da02e12eef655985

4 years agoRevert "efl_mono: install libeflcustomexportsmono.so to support EflSharp"
Jaehyun Cho [Thu, 12 Mar 2020 05:17:46 +0000 (14:17 +0900)]
Revert "efl_mono: install libeflcustomexportsmono.so to support EflSharp"

This reverts commit cf6f5687d8dc9c12b326721606f745ec937487a4.

Change-Id: Ib557acd216f4076adee2b5acba26ab5da20762bc

4 years agoRevert "efl_mono: install libeflcustomexportsmono.so to support EflSharp by meson"
Jaehyun Cho [Thu, 12 Mar 2020 05:16:36 +0000 (14:16 +0900)]
Revert "efl_mono: install libeflcustomexportsmono.so to support EflSharp by meson"

This reverts commit 86845b2b3e53cfc0300fe7fb28d5c302c0f2bd0b.

Change-Id: Icb9b2d2ca3a663a275036e8e9bb783a02340b51f

4 years agoRevert "packaging: install libeflcustomexportsmono.so by efl-devel rpm"
Jaehyun Cho [Thu, 12 Mar 2020 05:14:14 +0000 (14:14 +0900)]
Revert "packaging: install libeflcustomexportsmono.so by efl-devel rpm"

This reverts commit 70341d1d3908ca07ea5eba2b0f3d535a52789d2b.

Change-Id: If25453e3498c0cd6be4580bbd507a3eee37cb850

4 years agoRevert "efl_mono: update meson.build to build efl_mono_model_internal.c"
Jaehyun Cho [Thu, 12 Mar 2020 04:56:45 +0000 (13:56 +0900)]
Revert "efl_mono: update meson.build to build efl_mono_model_internal.c"

This reverts commit 29e71bba32743fba111300749714db33d1bd7479.

Change-Id: Iec7f748159579927a49335d6630a0dc8e4d6fdea

4 years agobuild/fix: change false to EINA_FALSE
Subhransu Mohanty [Thu, 12 Mar 2020 03:42:22 +0000 (12:42 +0900)]
build/fix: change false to EINA_FALSE

Change-Id: I095288d086353ff7ff4f73ac7261ea30bed3ac18

4 years agobuild: resolve migration build error
Jongmin Lee [Fri, 13 Mar 2020 01:14:46 +0000 (10:14 +0900)]
build: resolve migration build error

rename efl-wl to efl-canvas-wl

Change-Id: Iefa26f3408cc1533c704ef7b7ba2858730dca7cf

4 years agodocs: Efl.Ui.Textbox: Clarify when is Efl.Ui.Scrollable enabled
Xavi Artigas [Thu, 12 Mar 2020 17:13:50 +0000 (18:13 +0100)]
docs: Efl.Ui.Textbox: Clarify when is Efl.Ui.Scrollable enabled

4 years agoeina: do not free NULL ptr
Marcel Hollerbach [Thu, 12 Mar 2020 17:06:54 +0000 (18:06 +0100)]
eina: do not free NULL ptr

this is definitly NULL here, but usefull for later usage.

4 years agoefl: check config values before passing to non-null function
Mike Blumenkrantz [Thu, 12 Mar 2020 16:50:26 +0000 (12:50 -0400)]
efl: check config values before passing to non-null function

if these config values don't exist, we should return the inlined defaults

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11499

4 years agoefl.ui.textbox: proxy for efl.ui.scrollable interface
Ali Alzyod [Tue, 10 Mar 2020 08:46:18 +0000 (08:46 +0000)]
efl.ui.textbox: proxy for efl.ui.scrollable interface

Allow users to use scroller functinality with efl.ui.textbox

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11479

4 years agoefl/gesture: add fallback for glayer_tap_finger_size not being found
Mike Blumenkrantz [Thu, 12 Mar 2020 13:11:53 +0000 (09:11 -0400)]
efl/gesture: add fallback for glayer_tap_finger_size not being found

just in case

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

4 years agoevas_object_box: respect static clipper.
Alastair Poole [Thu, 12 Mar 2020 16:52:41 +0000 (16:52 +0000)]
evas_object_box: respect static clipper.

Check here for a static clipper else  the clipper
will move. This causes problems with very large boxes where
content will stop rendering due to the clipper moving.

Originally this wasn't meant to move but this was missed with the
API changes. It wasn't noticed as the clipper default size is
very large.

See: src/lib/evas/canvas/evas_object_smart.c.

If we exceed the 10k range content does not render due to the
move.

@fix

4 years agodoxygen docs: Fix illegal references
Xavi Artigas [Thu, 12 Mar 2020 12:52:42 +0000 (13:52 +0100)]
doxygen docs: Fix illegal references

Mostly typos and unescaped # signs

4 years agodoxygen docs: Do not parse file Eo.h
Xavi Artigas [Thu, 12 Mar 2020 12:18:02 +0000 (13:18 +0100)]
doxygen docs: Do not parse file Eo.h

Doxygen is used to build Legacy documentation, which is unrelated to Eo.h
This fixes quite a few "explicit link request could not be resolved" problems
produced by Eo.h which was missing the rest of the Unified Efl headers.

4 years agodoxygen docs: Fix some more Illegal commands
Xavi Artigas [Thu, 12 Mar 2020 10:12:29 +0000 (11:12 +0100)]
doxygen docs: Fix some more Illegal commands

Who thought that Italic Links was a good idea?
Anyway, Doxygen does not like them.

4 years agodoxygen docs: Fix some more invalid commands
Xavi Artigas [Thu, 12 Mar 2020 10:02:11 +0000 (11:02 +0100)]
doxygen docs: Fix some more invalid commands

4 years agoefl_canvas_vg_shape: fix the wrong parameter order in the wrapper of evas_vg_shape_ap...
Taehyub Kim [Thu, 12 Mar 2020 16:16:39 +0000 (12:16 -0400)]
efl_canvas_vg_shape: fix the wrong parameter order in the wrapper of evas_vg_shape_append_cubic_to()

Summary: The x, y parameter order should be the end of efl_gfx_path_append_cubic_to()

Reviewers: Hermet, jsuya

Reviewed By: jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/exe: don't err on del if exe has been killed
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:37 +0000 (12:16 -0400)]
efl/exe: don't err on del if exe has been killed

Summary:
the point of this err is to inform the user that their exe is (possibly) dangling,
but if the user just wants to ignore the exit callback this isn't a problem
Depends on D11496

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/wl: define opaque wl/xkb types to native types when those headers are included
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:31 +0000 (12:16 -0400)]
efl/wl: define opaque wl/xkb types to native types when those headers are included

Summary:
simplify a lot of casting when we're in a native wl env
Depends on D11495

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/wl: add 'extracted' property for surfaces
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:25 +0000 (12:16 -0400)]
efl/wl: add 'extracted' property for surfaces

Summary:
useful to be able to know whether a surface has been extracted
Depends on D11476

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoadd EFL_VERSION_1_24 define
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:20 +0000 (12:16 -0400)]
add EFL_VERSION_1_24 define

Summary: this needs to go in right after every release

Reviewers: stefan_schmidt, devilhorns

Reviewed By: stefan_schmidt, devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: rename to efl.canvas.wl
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:14 +0000 (12:16 -0400)]
efl-wl: rename to efl.canvas.wl

Summary:
this is a canvas object so it needs to be in the canvas namespace

Depends on D11475

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: move flags_run to exec_flags property
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:10 +0000 (12:16 -0400)]
efl-wl: move flags_run to exec_flags property

Summary:
typically the compositor wants to run all exes with the same flags so this
makes more sense
Depends on D11470

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: add active_surface property
Mike Blumenkrantz [Thu, 12 Mar 2020 16:16:04 +0000 (12:16 -0400)]
efl-wl: add active_surface property

Summary:
this is probably useful?

Depends on D11469

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: make surface restacking functions return the current surface
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:57 +0000 (12:15 -0400)]
efl-wl: make surface restacking functions return the current surface

Summary:
seems more useful

Depends on D11468

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: move keymap functions to eo
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:50 +0000 (12:15 -0400)]
efl-wl: move keymap functions to eo

Summary:
more 1:1 changes

Depends on D11467

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: rework parent surface getter to a more useful property
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:43 +0000 (12:15 -0400)]
efl-wl: rework parent surface getter to a more useful property

Summary:
getting any parent is probably fine

Depends on D11466

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: convert comp surface object to eo
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:40 +0000 (12:15 -0400)]
efl-wl: convert comp surface object to eo

Summary:
this is a 1:1 conversion

Depends on D11454

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/exe: add term_with_parent flag
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:34 +0000 (12:15 -0400)]
efl/exe: add term_with_parent flag

Summary:
same as ecore_exe

Depends on D11451

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl-wl: start conversion to eo
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:27 +0000 (12:15 -0400)]
efl-wl: start conversion to eo

Summary:
this converts the main efl-wl object to an eo-based canvas group object

Depends on D11465

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/exe: add 'pid' property
Mike Blumenkrantz [Thu, 12 Mar 2020 16:15:20 +0000 (12:15 -0400)]
efl/exe: add 'pid' property

Reviewers: bu5hm4n, segfaultxavi

Reviewed By: bu5hm4n

Subscribers: bu5hm4n, vtorri, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoexactness: factor out duplicated code for debug session handling
Stefan Schmidt [Mon, 9 Mar 2020 16:25:03 +0000 (17:25 +0100)]
exactness: factor out duplicated code for debug session handling

No need to have these macros ducplicated in two file, we can just share
them and reduce maintenance.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11459

4 years agoexactness: hamonize use of PATH_MAX as maximal path length allowed
Stefan Schmidt [Tue, 3 Mar 2020 16:36:15 +0000 (17:36 +0100)]
exactness: hamonize use of PATH_MAX as maximal path length allowed

There have been to many different defines for this in exactness.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11457

4 years agoexactness: factor out _printf() handling into common part
Stefan Schmidt [Tue, 3 Mar 2020 16:03:41 +0000 (17:03 +0100)]
exactness: factor out _printf() handling into common part

First step to do some re-factoring of the exactness binaries. We will
share common parts from the different binaries in common.{c,h} to reduce
the code duplication. The start makes _printf() used in various places.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11456

4 years agoeina log bt - on by default always if unwind found
Carsten Haitzler (Rasterman) [Thu, 12 Mar 2020 13:35:50 +0000 (13:35 +0000)]
eina log bt - on by default always if unwind found

i'm tried of telling people how to turn this on. enough. on by
default. if you dont want bt's and its just some helpful log output
then just printf it or use WRN, INF and set log levels...

4 years agoedje_cc - provide better error info log on part id out of range
Carsten Haitzler (Rasterman) [Thu, 12 Mar 2020 13:13:35 +0000 (13:13 +0000)]
edje_cc - provide better error info log on part id out of range

4 years agocanvas proxy: fix a missing case that proxy not updated properly.
Hermet Park [Thu, 12 Mar 2020 11:39:12 +0000 (20:39 +0900)]
canvas proxy: fix a missing case that proxy not updated properly.

Very complex to say, if its source object is remained as chaged state in pending object
in rendering stage, the proxy object could miss to update in the next frame because
source object won't be changed again in evas_object_change().

Thus we need to double-check if the proxy missed update or not just in the rendering.
Not clean but this is a compromised solution to not be burden for finding/checking proxies
in object trees every time.

@fix

4 years agoedje_textblock: style font size override size_range max
Ali Alzyod [Thu, 12 Mar 2020 11:07:12 +0000 (20:07 +0900)]
edje_textblock: style font size override size_range max

Summary: style font size (also text_class) will change size_range max value, regardless of what user specifed in textblock description

Reviewers: woohyun

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje_util: Prevent null pointer access
JunsuChoi [Thu, 12 Mar 2020 05:43:37 +0000 (14:43 +0900)]
edje_util: Prevent null pointer access

Summary: locale can be null. so add null check.

Test Plan: N/A

Reviewers: Hermet, kimcinoo, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoRevert "ecore_con: fix a improper condition"
Wonki Kim [Wed, 11 Mar 2020 07:03:11 +0000 (16:03 +0900)]
Revert "ecore_con: fix a improper condition"

This reverts commit ecf18c0064a58603cc1916cc9493b27d02f53847.

Change-Id: Ic2ff63d5a1fc8d0f697228ae7599bce0cf975c28

4 years agoecore_con: fix a improper condition
Wonki Kim [Thu, 20 Feb 2020 01:11:07 +0000 (10:11 +0900)]
ecore_con: fix a improper condition

there is a imporper condition on if statement.
this patch fixes it.

Change-Id: I0e9ef161d569ebdc900e13036c20db2ce70e724a

4 years agoevas_gl_shader: check lock_path length to avoid truncation by snprintf
Yeongjong Lee [Tue, 25 Feb 2020 03:43:51 +0000 (12:43 +0900)]
evas_gl_shader: check lock_path length to avoid truncation by snprintf

@tizen_fix

Change-Id: I4c981fc719b5911b8feac1469fdc242932bac257

4 years agoefl_gesture_manager: Fix incorrect override system config value.
Woochanlee [Tue, 10 Mar 2020 05:05:10 +0000 (14:05 +0900)]
efl_gesture_manager: Fix incorrect override system config value.

Change-Id: I973778100de960892c785aa10dbc4533ab2bc43f

4 years agoefl_ui/layout: skip versioning checks for legacy widgets
Mike Blumenkrantz [Wed, 11 Mar 2020 13:37:42 +0000 (09:37 -0400)]
efl_ui/layout: skip versioning checks for legacy widgets

Summary:
legacy widgets are always stable

fix T8630

Reviewers: eagleeye

Reviewed By: eagleeye

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8630

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

4 years agoevas_textblock: replace evil tabs with spaces
Ali Alzyod [Wed, 11 Mar 2020 11:37:47 +0000 (12:37 +0100)]
evas_textblock: replace evil tabs with spaces

Reviewers: devilhorns, ali.alzyod

Reviewed By: devilhorns

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agodoxygen docs: Fix tons of invalid Doxygen commands
Xavi Artigas [Tue, 10 Mar 2020 09:20:24 +0000 (10:20 +0100)]
doxygen docs: Fix tons of invalid Doxygen commands

Mostly typos

4 years agodoxygen docs: Adapt to Doxygen syntax
Xavi Artigas [Tue, 10 Mar 2020 08:41:14 +0000 (09:41 +0100)]
doxygen docs: Adapt to Doxygen syntax

I don't know where did these comments come from, but it was not Doxygen.

4 years agoevas.image: add evas_object_image_animated_frame_get
Shinwoo Kim [Tue, 10 Mar 2020 13:27:30 +0000 (09:27 -0400)]
evas.image: add evas_object_image_animated_frame_get

this adds an api for getting the current frame of an animation

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

4 years agoevas_object_text: Fix unused parameter
Christopher Michael [Tue, 10 Mar 2020 15:02:18 +0000 (11:02 -0400)]
evas_object_text: Fix unused parameter

When we do Not build with BIDI_SUPPORT, then "const Eo *eo_obj" is
never used and thus spits out an unused parameter warning during
compile. This has been bugging me for quite some time now, so put in a
small patch to silence this warning.

4 years agoeina_abstract_content: Fix resource leak
Christopher Michael [Tue, 10 Mar 2020 14:34:07 +0000 (10:34 -0400)]
eina_abstract_content: Fix resource leak

If we error out in this function, then we should be freeing 'content'
also as it was previously calloc'd above

Fixes CID1420317

4 years agoecore-evas-wayland: Check for valid 'fd' before passing to write()
Christopher Michael [Tue, 10 Mar 2020 14:31:46 +0000 (10:31 -0400)]
ecore-evas-wayland: Check for valid 'fd' before passing to write()

write() cannot be passed a negative value. If
ecore_main_fd_handler_fd_get returns -1, then this is an issue. Check
for valid fd being returned from fd_handler_fd_get and if it is
negative, then cleanup and get out.

Fixes CID1420318

4 years agoecore-evas-wayland: Fix resource leak
Christopher Michael [Tue, 10 Mar 2020 14:28:01 +0000 (10:28 -0400)]
ecore-evas-wayland: Fix resource leak

If we are going to be exiting this function without setting up the
ecore_main_fd_handler (and thus passing forign_slice), then we should
free forign_slice as it was previously calloc'd above.

Fixes CID1420322

4 years agoeina_abstract_content: Fix dereference before null check
Christopher Michael [Tue, 10 Mar 2020 14:25:10 +0000 (10:25 -0400)]
eina_abstract_content: Fix dereference before null check

Fixes Coverity CID1420337

4 years agovg_common_json: register shape name as it's designed.
JunsuChoi [Tue, 10 Mar 2020 12:12:52 +0000 (21:12 +0900)]
vg_common_json: register shape name as it's designed.

Summary: Caller could find/access a specific node with the name.

Test Plan: N/A

Reviewers: Hermet, herb, kimcinoo, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje: Rename Json to Lottie in edj supporting
JunsuChoi [Tue, 10 Mar 2020 06:42:12 +0000 (15:42 +0900)]
edje: Rename Json to Lottie in edj supporting

Summary:
The json file used by edje is for lottie output.
json can be used in many ways. So the purpose is clear.

Test Plan: N/A

Reviewers: Hermet, kimcinoo, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_gl_font: free data paths if alloca fails
Ali Alzyod [Tue, 10 Mar 2020 02:41:57 +0000 (11:41 +0900)]
evas_gl_font: free data paths if alloca fails

Reviewers: Hermet, woohyun, bu5hm4n, zmike

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_evas: do not leak allocated memory in error case
Marcel Hollerbach [Mon, 9 Mar 2020 16:07:35 +0000 (17:07 +0100)]
ecore_evas: do not leak allocated memory in error case

4 years agoecore_evas: only free content when content is != NULL
Marcel Hollerbach [Mon, 9 Mar 2020 16:05:17 +0000 (17:05 +0100)]
ecore_evas: only free content when content is != NULL

otherwise we might run into issues with that.

4 years agoecore_evas_x: fix memory leak when enter drag and drop, without a ee
Marcel Hollerbach [Mon, 9 Mar 2020 16:00:29 +0000 (17:00 +0100)]
ecore_evas_x: fix memory leak when enter drag and drop, without a ee

this is something that can *never* happen otherwise we would have never
got this call. But lets make coverity happy.

4 years agoefl_ui_textbox: dont leak a array when no type is available
Marcel Hollerbach [Mon, 9 Mar 2020 15:59:33 +0000 (16:59 +0100)]
efl_ui_textbox: dont leak a array when no type is available

this fixes a possible leak.

4 years agoecore_evas_x: correctly handle images in X11
Marcel Hollerbach [Mon, 9 Mar 2020 15:47:16 +0000 (16:47 +0100)]
ecore_evas_x: correctly handle images in X11

I thought that i explicitly tested this. However, it seems i was wrong,
this way now this is handled correctly, and the image is stored and
coverted to a path.

With this you can now copy images from chromium and firefox to elm apps.

The change in elm_entry reverts parts of the rewrite of the elm
handling, as initially every path came *without* "file://" in front, so
we have to maintain that.

fixes T8625

4 years agoelm_cnp: move free call after the last usage
Marcel Hollerbach [Mon, 9 Mar 2020 15:46:01 +0000 (16:46 +0100)]
elm_cnp: move free call after the last usage

this is however pretty much irrelevant as only the pointer is used.

4 years agoelm_cnp: free array when going out of scope
Marcel Hollerbach [Mon, 9 Mar 2020 15:45:36 +0000 (16:45 +0100)]
elm_cnp: free array when going out of scope

this was missing and indeed a memory leak.

4 years agoefl_ui_win: Fix null pointer dereference
Christopher Michael [Mon, 9 Mar 2020 13:07:48 +0000 (09:07 -0400)]
efl_ui_win: Fix null pointer dereference

Fixes Coverity CID1420321

4 years agoefl_ui_win: Fix null pointer dereference
Christopher Michael [Mon, 9 Mar 2020 13:03:58 +0000 (09:03 -0400)]
efl_ui_win: Fix null pointer dereference

Fixes Coverity CID1420329 and CID1420328

4 years agoefl_ui_win: Fix horrible formatting
Christopher Michael [Mon, 9 Mar 2020 13:02:21 +0000 (09:02 -0400)]
efl_ui_win: Fix horrible formatting

NB: No functional changes

4 years agoeina_content: fix use after free in test code
Marcel Hollerbach [Mon, 9 Mar 2020 12:05:38 +0000 (13:05 +0100)]
eina_content: fix use after free in test code

4 years agoeina_content: free memory in error paths
Marcel Hollerbach [Mon, 9 Mar 2020 12:04:35 +0000 (13:04 +0100)]
eina_content: free memory in error paths

4 years agoeina: fix define of Eina_Content
Marcel Hollerbach [Mon, 9 Mar 2020 09:03:37 +0000 (10:03 +0100)]
eina: fix define of Eina_Content

there is no need to declare that const.

4 years agodoxygen docs: remove @ender_group and organize eina vectors
Xavi Artigas [Mon, 9 Mar 2020 12:01:11 +0000 (13:01 +0100)]
doxygen docs: remove @ender_group and organize eina vectors

Mysterious @ender_group is an invalid doxygen command and I could not find
it defined anywhere. I could not infer its purpose either so... removed.
Put the Eina Vector 2D and 3D groups in their proper place so they appear
with the rest of the Eina basic types.