Jaehyun Cho [Mon, 14 Jan 2019 06:21:21 +0000 (15:21 +0900)]
efl_mono: remove '_' from type for C# naming convention
Summary:
"type" in .eo is converted to "struct" in .eo.cs.
Since the type name in .eo is the same with the struct name .eo.cs,
'_' is removed from the converted struct in .eo.cs for C# naming
convention.
For example, Efl.Callback_Priority is defined in efl_object.eo and
the name is converted to Efl.CallbackPriority in efl_object.eo.cs.
Efl.Access.StateSet in workaround.cs causes duplicated definition
with this patch so Efl.Access.StateSet in workaround.cs is removed.
Test Plan: Compile with autogen.sh --enable-csharp-bindings
Reviewers: lauromoura, segfaultxavi, felipealmeida
Reviewed By: felipealmeida
Subscribers: segfaultxavi, cedric, #reviewers, #committers, woohyun
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7597
Carsten Haitzler (Rasterman) [Sat, 12 Jan 2019 14:44:03 +0000 (14:44 +0000)]
elm - dnd - restore to working as drop targets
so drop taregts liek rage stopped working - something was wrong with
type handling and fetching selections at all and so on... i've kicked
it back into working again. it's not perfect but it's improved. at
least simple thgins like being a dnd target for dnd from a filemanager
work again which is probably the biggest use case.
@fix
Carsten Haitzler (Rasterman) [Fri, 11 Jan 2019 10:31:16 +0000 (10:31 +0000)]
efl net - connman - fix correct param for promise cancel
the consumer is the obj and the obj is not the pending - it is the
promise data, so warning pointed out an actual bug waiting to happen.
Christopher Michael [Fri, 11 Jan 2019 14:27:53 +0000 (09:27 -0500)]
elementary: Add missing EINA_UNUSED for efl_ui_image_factory_connect
Eo *obj is unused in this function, so mark it as such
Michael Bouchaud (yoz) [Fri, 11 Jan 2019 14:21:19 +0000 (09:21 -0500)]
elm_map: Add new overlay content to the list of smart members of wigdget
Summary: Without this a new overlay content aren't displayed into the map widget.
Reviewers: zmike, devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7457
Christopher Michael [Fri, 11 Jan 2019 14:18:36 +0000 (09:18 -0500)]
ecore_fb: Add missing tslib dependency
If EFL is built with tslib support, which is used by ecore_fb, then we
need to add a dependency on tslib else the build will fail to compile
(undefined reference to ts_open function).
Christopher Michael [Fri, 11 Jan 2019 14:17:03 +0000 (09:17 -0500)]
elementary: Add missing EINA_UNUSED for efl_ui_layout_factory_connect
Eo *obj is unused in this function, so mark it as such
Xavi Artigas [Fri, 11 Jan 2019 13:28:38 +0000 (14:28 +0100)]
efl-mono: Add extra constructors to Eina.Value
Summary:
new Eina.Value(0) is a special case. The 0 is silently converted
to an enum (Eina.ValueType) and therefore the call is ambiguous
with the 0 being first converted to an Eina.Value via the implicit
conversion operator (calling the Eina.Value deep copy constructor).
Adding constructors for all supported types solves the problem because
they have higher priority. Also, they avoid one deep copy of the
Eina.Value.
Includes test case to catch this problem in the future. This was discovered
in the tutorials, where new Eina.Value(0) is being used.
Test Plan:
The src/efl_reference_core_event.exe example from the examples repo was
not compiling before, and now it is.
make check and make examples still work as expected.
Reviewers: lauromoura
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7598
Marcel Hollerbach [Thu, 10 Jan 2019 13:19:58 +0000 (14:19 +0100)]
efl: refactor all mixins
Differential Revision: https://phab.enlightenment.org/D7585
Marcel Hollerbach [Thu, 10 Jan 2019 11:10:47 +0000 (12:10 +0100)]
eolian: introduce the keyword required
This introduces a new keyword called required. It only works on mixins.
You can specify a list of regular/abstract classes in there.
Classes specified after the required keyword are later used to verify
the usage of the mixin. With this feature a mixin can define a list of
types that the inheriting object (the object that inherits from a mixin)
needs to fullfill, if one class that is required is not in the
implemented classes, then eolian will bail out.
Differential Revision: https://phab.enlightenment.org/D7584
Lauro Moura [Fri, 11 Jan 2019 04:14:11 +0000 (04:14 +0000)]
efl-csharp: Temporarily blacklist forwarder function.
Depends on support for constants that will come with T7506
Differential Revision: https://phab.enlightenment.org/D7596
Larry Lira [Fri, 11 Jan 2019 07:24:14 +0000 (16:24 +0900)]
Efl.Ui.List_View: precise layout async
Summary:
fixed precise layouter to work with create asynchronous
fixed example theme signal
Reviewers: cedric, felipealmeida, SanghyeonLee, lauromoura
Reviewed By: SanghyeonLee
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7476
Jaehyun Cho [Fri, 11 Jan 2019 02:17:12 +0000 (11:17 +0900)]
evas textblock update calculation - account for clipped color changes
if clipped color changed and not object color on textblock objects, then
the updates could be missed. This bug seems to have been here a while
unnoticed.
This patch refers the patch
4e044fd9c27db61d792319ce566e1d3eacb553f2.
Daniel Zaoui [Thu, 10 Jan 2019 19:29:04 +0000 (21:29 +0200)]
meson: correct option description
Copy-paste has done its work here :-)
Cedric BAIL [Wed, 2 Jan 2019 23:26:53 +0000 (15:26 -0800)]
eo: improve documentation for event forwarder.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7532
Ali Alzyod [Mon, 17 Dec 2018 08:28:52 +0000 (08:28 +0000)]
optimize glyph images data copy into 4 byte aligned images
Differential Revision: https://phab.enlightenment.org/D7461
Youngbok Shin [Fri, 7 Dec 2018 06:27:13 +0000 (06:27 +0000)]
evas: remove memory leaks from deleted Textblock objects
Even if a object is deleted, its render_pre function could be called.
Especially, Evas Textblock is calling relayout() function if there are
any changes. In relayout() function, it creates at least one paragraph
and one line. Normally, all of paragraphs and its line should be removed
when Evas Textblock object is deleted. But, paragraphs and lines which are
created after deleting its object never be free'd.
@fix
Differential Revision: https://phab.enlightenment.org/D7427
Shinwoo Kim [Tue, 18 Dec 2018 10:40:33 +0000 (10:40 +0000)]
efl_ui_win: make win work for evas_norender
The evas_norender updates the canvas internal objects.
But efl_ui_win does not evaluate its internal objects, when evas_norender is
called before showing, after resizing as below.
evas_object_resize(win, 300, 600);
evas_norender(evas_object_evas_get(win));
evas_object_show(win);
This problem could be verified by checking if a resize function of internal
object is called or not.
minw,h is 0 in _elm_win_resize_objects_eval but deferred_resize_job is TRUE.
evas_norender -> _window_layout_stack -> _elm_win_resize_objects_eval
So if _elm_win_resize_objects_eval does not return if deferred_resize_job is
TRUE even if minw,h is 0, and calls _elm_win_resize_job, then it will work.
_elm_win_resize_objects_eval -> _elm_win_resize_job ->
evas_object_geometry_set -> _efl_canvas_group_group_need_recalculate_set ->
_window_layout_stack -> evas_object_geometry_set -> resize function.
I have checked this behavior without elementary. It seems that evas_norender
works between resize and show in this case. Let me share examples.
ecore_evas_resize(ee, 100, 100);
evas_norender(evas);
ecore_evas_show(ee);
Differential Revision: https://phab.enlightenment.org/D7425
Wonki Kim [Thu, 10 Jan 2019 12:01:08 +0000 (12:01 +0000)]
meson: add a option to config the base directory name for elm data
There is a option(--with-elementary-base-dir) on autotools
this patch provides the exactly same thing that autotools does on meson
Differential Revision: https://phab.enlightenment.org/D7580
Wonki Kim [Thu, 10 Jan 2019 12:13:21 +0000 (12:13 +0000)]
meson: define HAVE_TSLIB once tslib option is set
Nowhere refers to the tslib option
This patch provides a way to set HAVE_TSLIB
Differential Revision: https://phab.enlightenment.org/D7582
Stefan Schmidt [Thu, 10 Jan 2019 16:03:35 +0000 (17:03 +0100)]
meson: elm: add pie and fPIC cflags and ldflags to elm binaries
My use case here is having elementary_test being loaded by exactness.
That has been working fine with our autotools based build system but no
longer with meson.
Bringing fPIC and pie back as options allows exactness to dlopen the
binary and work again.
Differential Revision: https://phab.enlightenment.org/D7587
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
Marcel Hollerbach [Thu, 10 Jan 2019 12:02:38 +0000 (13:02 +0100)]
efl_loop: remove FIXME that is done
Summary:
ref T7514
Depends on D7508
Reviewers: zmike, segfaultxavi, cedric
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7514
Differential Revision: https://phab.enlightenment.org/D7509
Marcel Hollerbach [Thu, 10 Jan 2019 11:51:18 +0000 (12:51 +0100)]
efl_task: remove NOP / unimplement funtions
Summary:
this makes efl_task abstract which ensures that it cannot be
instanciated. Further more, functions that needs to be implement are now
pure_virtual.
ref T7514
Reviewers: zmike, segfaultxavi, cedric
Reviewed By: segfaultxavi, cedric
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7514
Differential Revision: https://phab.enlightenment.org/D7508
Lauro Moura [Thu, 10 Jan 2019 11:36:39 +0000 (12:36 +0100)]
cxx: Add class get name attribute.
Summary:
C# generator was mistakenly reimplementing it assuming everything was
*_class_get.
Test Plan: run cxx/csharp tests
Reviewers: felipealmeida, cedric, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7522
Wonki Kim [Thu, 10 Jan 2019 07:55:56 +0000 (07:55 +0000)]
meson: fix a potentionally unexpected behavior
lidrm is defined in different locations, which causes a unexpected behavior.
this patch fixes it in advance.
Differential Revision: https://phab.enlightenment.org/D7567
Wonki Kim [Thu, 10 Jan 2019 02:05:42 +0000 (02:05 +0000)]
meson: refactor meson.build for ecore_wl2
this patch cleans emson.build for ecore_wl2 up little.
Differential Revision: https://phab.enlightenment.org/D7565
Wonki Kim [Wed, 9 Jan 2019 14:36:09 +0000 (14:36 +0000)]
meson: modify options for enabling the bindings
bindings are added as subdir by foreaching a array defined in meson.build at root.
then meson checks a option which has the same name of the binding.
this patch appends a new option for selecting bindings to build.
[howto]
*as-is
meson build.asis/ -Dmono=false -Dcxx=true
ninja -C build.asis/
*to-be
menson build.tobe/ -Dbindings=luajit,cxx
ninja -C build.tobe/
it is imposibble to use this wrongly because meson raise a error if arguments are not in a predefined list that described in meson_options.txt.
for more information, refer to https://mesonbuild.com/Build-options.html and also take a look at meson_options.txt please.
Differential Revision: https://phab.enlightenment.org/D7563
Wonki Kim [Wed, 9 Jan 2019 09:05:01 +0000 (09:05 +0000)]
meson: excludes stuffs related with gst if gst is disabled
if a option for gstreamer is disabled,
stuffs related with gstreamer should not be compiled.
this patch excludes the stuffs.
Differential Revision: https://phab.enlightenment.org/D7566
Hermet Park [Thu, 10 Jan 2019 06:40:58 +0000 (15:40 +0900)]
evas doc: fix minor typos.
Hermet Park [Thu, 10 Jan 2019 05:15:07 +0000 (14:15 +0900)]
evas vg: clear mask buffer properly.
when mask buffer is reused, it must be cleared first.
Xavi Artigas [Wed, 9 Jan 2019 20:59:22 +0000 (21:59 +0100)]
doc: specify memory units in Efl.Cached.Item
Cedric BAIL [Wed, 9 Jan 2019 20:31:19 +0000 (12:31 -0800)]
eo: fix MacOS break.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7571
Cedric BAIL [Wed, 9 Jan 2019 19:54:54 +0000 (14:54 -0500)]
efl: remove warning due to unused variable/parameters.
Reviewers: #committers, felipealmeida, zmike
Reviewed By: #committers, felipealmeida, zmike
Subscribers: zmike, YOhoho, Hermet, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7554
Cedric BAIL [Fri, 7 Dec 2018 22:42:49 +0000 (14:42 -0800)]
elementary: enable caching for Efl.Ui.LayoutFactory.
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7445
Cedric BAIL [Fri, 7 Dec 2018 22:42:09 +0000 (14:42 -0800)]
elementary: enable caching for Efl.Ui.ImageFactory.
Differential Revision: https://phab.enlightenment.org/D7444
Cedric BAIL [Fri, 7 Dec 2018 00:38:47 +0000 (16:38 -0800)]
elementary: add a factory that handle caching for you.
This factory handle caching of one type of object and automatically empty the cache
when the application goes into pause.
Creating object is costly and time consuming, keeping a few on hands for when you next will need them help a lot.
This is what this factory caching infrastructure provide. It will create the object from the class defined on it,
set the parent and the model as needed for all items a Factory create. The View has to release the Item using the
release function of the Factory interface for all of this to work properly.
This is copying what Elm_Genlist was doing for you in the background and bring Efl interface to parity.
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7443
Cedric BAIL [Fri, 7 Dec 2018 22:39:42 +0000 (14:39 -0800)]
efl: add a factory Eina_Error and rename the file to be more on point with its purpose.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7442
Cedric BAIL [Thu, 27 Dec 2018 22:49:46 +0000 (14:49 -0800)]
eo: add a test to enforce the upper limit of our base object size.
Differential Revision: https://phab.enlightenment.org/D7523
Cedric BAIL [Fri, 7 Dec 2018 00:36:59 +0000 (16:36 -0800)]
eo: add the ability to get the size of object of a certain class.
Their was two different way to implement this, either like this with
a simple function that work on Efl_Class, or by a function on
Efl.Object. I leaned on the first one, but I could easily be convinced
it should be done on Efl.Object actually.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7441
Cedric BAIL [Fri, 7 Dec 2018 00:21:40 +0000 (16:21 -0800)]
eo: provider find actually is just accepting Efl.Class, maybe an hystoric left over.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7440
Carsten Haitzler (Rasterman) [Wed, 9 Jan 2019 18:19:32 +0000 (18:19 +0000)]
elm dnd/selection - only query wl things if thje window is a wl one...
check at RUNTIME not just with ifdefs at compile time. less ERR noise
for sure.
Carsten Haitzler (Rasterman) [Wed, 9 Jan 2019 17:53:10 +0000 (17:53 +0000)]
edje - stop trying to access ready deleted exrt/group swallow objects
_edje_real_part_swallow_clear() would try and manipulate already
deleted group/external objects (not manually swallowed ones) thus
causing safety noise.
@fix.
Carsten Haitzler (Rasterman) [Wed, 9 Jan 2019 11:26:19 +0000 (11:26 +0000)]
ledbus - fix codegen to not conflict keys with eldbus inyternal
__proxy is used, so use __user_proxy in generated code... this lead to
crashes with the music-control module because itused the codegen for
the introspected api and this generated code that messed with
internally used keys.
Wonki Kim [Wed, 9 Jan 2019 17:46:49 +0000 (12:46 -0500)]
ecore: modify documentation for ecore_thread_wait
Summary: this patch modify ecore_thread_wait documentation to use it only main llop explicitly.
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7225
Jean-Philippe André [Wed, 9 Jan 2019 17:46:38 +0000 (12:46 -0500)]
textblock: Fix crash with filters
Summary:
A crash could happen on a bad call to free() context_dup() returns a
newly malloc'ed context if passed NULL (this seems dubious to me, why
not calloc?).
@fix
Test Plan:
Add an empty efl.ui.text object
Set markup text as "<gfx_filter='code'>Hello</>"
Reviewers: cedric, segfaultxavi, Jaehyun, herdsman, zmike
Reviewed By: zmike
Subscribers: zmike, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7368
Yeongjong Lee [Wed, 9 Jan 2019 17:44:50 +0000 (12:44 -0500)]
efl_ui_text: remove duplicated empty string initialization
Summary:
string of text_obj is already initialized in evas_object_textblock_init.
also, this patch fixes text_set bug.
Test Plan:
```
efl_add(EFL_UI_TEXT_CLASS, parent,
efl_text_set(efl_added, "string"));
```
or
elementary_test -to 'efl.ui.slider'
Reviewers: herdsman, zmike
Reviewed By: zmike
Subscribers: zmike, segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7561
Christopher Michael [Wed, 9 Jan 2019 15:07:59 +0000 (10:07 -0500)]
ecore-con: Add missing EINA_UNUSED for unused parameter
Christopher Michael [Wed, 9 Jan 2019 15:07:17 +0000 (10:07 -0500)]
ecore-con: Minor formatting fix
NB: No functional changes
Hermet Park [Wed, 9 Jan 2019 04:56:15 +0000 (13:56 +0900)]
evas vg: refactor internal function name.
Specify explict svg name in vg common function
since the function totally depends on svg spec.
No logic changes.
Carsten Haitzler (Rasterman) [Tue, 8 Jan 2019 14:41:30 +0000 (14:41 +0000)]
elm win - we forgot to add gl_drm to possible elm win engines
this was forgotten it seems, so add it alongside drm engine etc. so we
can do accelerated gl in the "fb" via drm too for elm app windows.
Hermet Park [Tue, 8 Jan 2019 11:01:23 +0000 (20:01 +0900)]
elementary genlist: make it sure object type.
Summary:
elm has some cases that resize_obj is not the group object.
That case, efl_canvas_group_need_recalculate_get() prints
annoying type-check errors.
Reviewers: #committers, SanghyeonLee
Reviewed By: #committers, SanghyeonLee
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7557
Hermet Park [Tue, 8 Jan 2019 11:00:19 +0000 (20:00 +0900)]
elementary selection_manager: remove unused paramter warning.
Hermet Park [Tue, 8 Jan 2019 10:58:57 +0000 (19:58 +0900)]
evas vg: remove unused parameter warning.
Hermet Park [Tue, 8 Jan 2019 10:57:59 +0000 (19:57 +0900)]
ecore thread: remove an unused variable.
Hermet Park [Tue, 8 Jan 2019 10:57:14 +0000 (19:57 +0900)]
ecore model_view: remove unused compile warning.
Hermet Park [Tue, 8 Jan 2019 10:54:03 +0000 (19:54 +0900)]
efl shape: remove unused parameter warning.
Hermet Park [Tue, 15 Jan 2019 11:22:29 +0000 (20:22 +0900)]
evas vg: improve cache logic.
1. drop cached surface if the size is changed,
2. only cache target needs to acquire cached surface.
Change-Id: I231d5da598744b5eafa11a01a703cabeb1f5e0bd
JunsuChoi [Thu, 10 Jan 2019 10:19:44 +0000 (19:19 +0900)]
ATSPI : remove unnecessary error message.
This function also works when the screen reader is not connected.
Since this state is not an error.
Change-Id: I2af8a290b45c17baa18449069191b53a9f0d4649
Shinwoo Kim [Tue, 15 Jan 2019 02:50:22 +0000 (11:50 +0900)]
evas_tbm: fix typo of image_draw
It seems that following commit has a small mistake.
e35a4dd evas_tbm : support ROI mode (tbm rot, flip, ratio)
The destination geometry should consider object geometry as well as other line
using image_draw under different condition does.
If you have following condition, then you will get unexpected result
- ratio: 0
- object geometry: 0, 446, 720, 834
- fill: -280, 57, 1280, 720
- imagew, h: 1280, 720
because the destination geometry becomes -280, 57, 1280, 720.
Change-Id: I4c3d010b2e1f9fc5823f896a7fe869c80702de00
JunsuChoi [Mon, 14 Jan 2019 09:59:26 +0000 (18:59 +0900)]
Elm_Animation_View: Add elm_animation_view_frame_count_get api
Summary:
elm_animation_view_frame_count_get is return
to the total number of frames of vector.
Test Plan: N/A
Reviewers: Hermet
Subscribers: cedric, #reviewers, #committers, smohanty, SanghyeonLee
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7616
Change-Id: I6faf76b710a1dde47070821eb138b9b330865df6
Junseok, Kim [Fri, 11 Jan 2019 09:04:04 +0000 (18:04 +0900)]
efl_ui_win: fix return value in error case at aux_hint functions
Change-Id: Iee104d390b6fdb755d2cbd3cdd7618eaf5bbf26b
Junseok, Kim [Fri, 11 Jan 2019 07:27:47 +0000 (16:27 +0900)]
ecore_evas: wrap TIZEN_ONLY comment at null checker in aux_hint
Change-Id: I341152bd7d01aac8cef24a5c4ba7036c0eb71bd2
Junseok, Kim [Fri, 11 Jan 2019 04:40:17 +0000 (13:40 +0900)]
ecore_evas: add null check on ecore_evas_aux_hint*
Change-Id: I1131f76b0828aa7456c8c0df6b0891f56d0dacaa
Daniel Zaoui [Thu, 10 Jan 2019 19:29:04 +0000 (21:29 +0200)]
meson: correct option description
Copy-paste has done its work here :-)
Change-Id: Id69ef0193e3282d01b7819e9a40d8cfd301a3cc9
Wonki Kim [Thu, 10 Jan 2019 12:01:08 +0000 (12:01 +0000)]
meson: add a option to config the base directory name for elm data
There is a option(--with-elementary-base-dir) on autotools
this patch provides the exactly same thing that autotools does on meson
Differential Revision: https://phab.enlightenment.org/D7580
Change-Id: I2dd218291eadbb93efb6d68368af8f2341c15372
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Thu, 10 Jan 2019 12:07:39 +0000 (12:07 +0000)]
meson: Add a option for hyphen dictionaries directory
this patch provides a way to config hyphen dictionaries dir on meson.
Differential Revision: https://phab.enlightenment.org/D7581
Change-Id: I04eb0d957a5de93731819b3753b228e78716b367
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Thu, 10 Jan 2019 12:13:21 +0000 (12:13 +0000)]
meson: define HAVE_TSLIB once tslib option is set
Nowhere refers to the tslib option
This patch provides a way to set HAVE_TSLIB
Differential Revision: https://phab.enlightenment.org/D7582
Change-Id: I947370a024781891d1359c10177d48e922f0b68c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Stefan Schmidt [Thu, 10 Jan 2019 16:03:35 +0000 (17:03 +0100)]
meson: elm: add pie and fPIC cflags and ldflags to elm binaries
My use case here is having elementary_test being loaded by exactness.
That has been working fine with our autotools based build system but no
longer with meson.
Bringing fPIC and pie back as options allows exactness to dlopen the
binary and work again.
Differential Revision: https://phab.enlightenment.org/D7587
Change-Id: I1d97107f4c049bc89b80f46a4a5ac069387c956f
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
Wonki Kim [Thu, 10 Jan 2019 07:55:56 +0000 (07:55 +0000)]
meson: fix a potentionally unexpected behavior
lidrm is defined in different locations, which causes a unexpected behavior.
this patch fixes it in advance.
Differential Revision: https://phab.enlightenment.org/D7567
Change-Id: If298ba9a7c861f0ecf2520d539d5988996ccbe28
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Thu, 10 Jan 2019 02:05:42 +0000 (02:05 +0000)]
meson: refactor meson.build for ecore_wl2
this patch cleans emson.build for ecore_wl2 up little.
Differential Revision: https://phab.enlightenment.org/D7565
Change-Id: Ifc1cbdc8687dd3c8e47dc2ded13ac20f032d3e84
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 9 Jan 2019 14:36:09 +0000 (14:36 +0000)]
meson: modify options for enabling the bindings
bindings are added as subdir by foreaching a array defined in meson.build at root.
then meson checks a option which has the same name of the binding.
this patch appends a new option for selecting bindings to build.
[howto]
*as-is
meson build.asis/ -Dmono=false -Dcxx=true
ninja -C build.asis/
*to-be
menson build.tobe/ -Dbindings=luajit,cxx
ninja -C build.tobe/
it is imposibble to use this wrongly because meson raise a error if arguments are not in a predefined list that described in meson_options.txt.
for more information, refer to https://mesonbuild.com/Build-options.html and also take a look at meson_options.txt please.
Differential Revision: https://phab.enlightenment.org/D7563
Change-Id: I5fa0af9ecf9b76a15a40f2822f6f34c5e4602c3b
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 9 Jan 2019 09:05:01 +0000 (09:05 +0000)]
meson: excludes stuffs related with gst if gst is disabled
if a option for gstreamer is disabled,
stuffs related with gstreamer should not be compiled.
this patch excludes the stuffs.
Differential Revision: https://phab.enlightenment.org/D7566
Change-Id: Ie9130c66361dacd09f40e63f81a354c0574b649a
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Hermet Park [Thu, 10 Jan 2019 06:32:07 +0000 (15:32 +0900)]
***** This is a sync with upstream for vector meson build.
elementary: introduce a new widget - elm_animation_view
Elm_Animation_View is designed to display Efl_Canvas_Vg Animation (Lottie),
has a set of animation control functions.
@feature
Change-Id: Ic77544301ffe459b92cc4169d5365beba629be1c
Hermet Park [Wed, 9 Jan 2019 04:56:15 +0000 (13:56 +0900)]
evas vg: refactor internal function name.
Specify explict svg name in vg common function
since the functiona is totally depends on svg spec.
No logic changes.
Change-Id: Iba597350072bd2a291cab0b8dbe1766b13c11e89
Hermet Park [Wed, 9 Jan 2019 07:22:52 +0000 (16:22 +0900)]
***** This is a sync with upstream for vector meson build.
evas json: introduce lottie animation in efl.
lottie animation is a new format of animation data
that works based on vector graphics and key frames.
lottie-player is a standalone library that manipulate
lottie animation scenes. Since lottie animation file format
is json, evas json loader is added here and it parses json data
using lottie player and construct vector nodes graphs
by accessing lottie-player interfaces.
Since evas vector is designed for static image,
here changes vg object interfaces to newly afford animation controller
by expanding Gfx.Image.Animation_Controller and expand vg cache routines
for caching first and last frame images which is mostly used repeatedly
in common scenarios.
@feature
Change-Id: Ia94b00c0f834c524c7f3242f95687b487d7b37e7
Juyeon Lee [Fri, 11 Jan 2019 02:03:38 +0000 (11:03 +0900)]
fix build break
Change-Id: Ibf881f8c8fb0a7eca505ef40658ed5bbb890aefe
Juyeon Lee [Wed, 9 Jan 2019 02:19:20 +0000 (11:19 +0900)]
ecore_wl2_display: check fd_hdl null condition when _ecore_wl2_display_connect
@tizen_only
Change-Id: Ie4e0eb9ef4df7a6cc211d904706c6626989ecac7
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
junsu choi [Fri, 4 May 2018 21:17:15 +0000 (14:17 -0700)]
Access: Add the missing patch related by Efl.Access_Object.relations_get
There is the missing patch related by Efl.Access_Object.relations_get
This patch removes the relation_set_get and uses relations_get.
It also deletes the associated eternal APIs.
In Tizen, elm_atspi_accessible_relation_ * APIs are used.
We also use custom_relation of efl_ui_widget.
Modify and migrate patches for Tizen_only.
elementary: small correction in the API of Efl.Access.Object to have proper lifecycle.
This API require more review, I have just fixed API that return type that are
inconsistent over time and fail to allow for proper lifecycle of event, which
lead to crash when those event trigger at unexpected point.
Differential Revision: https://phab.enlightenment.org/D6102
Change-Id: I42b605aa7e6857047d3833d746e6882085dd1773
Signed-off-by: JunsuChoi <jsuya.choi@samsung.com>
Hermet Park [Tue, 8 Jan 2019 08:06:12 +0000 (17:06 +0900)]
evas json: remove dead code
Change-Id: I404e4418fdf22d595060048f859f04d789bc91a8
Jeonghyun Yun [Wed, 9 Jan 2019 05:01:30 +0000 (14:01 +0900)]
efl_ui_widget: fix legacy type table to correct type (toolbar, multibuttonentry)
@tizen_fix
Change-Id: Ib7108ff8a7f9bbe8ee384fab9c8f46007f2e6866
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
Xavi Artigas [Tue, 6 Nov 2018 14:21:03 +0000 (15:21 +0100)]
doc: Add support for DocFX (C# doc generator)
Summary: Usage instructions in the README file.
Test Plan:
Follow the README to produce the documentation pages.
Point your browser to docfx/_site/index.html to see the results.
Reviewers: lauromoura, bu5hm4n, cedric, myoungwoon, zmike
Reviewed By: lauromoura, bu5hm4n
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7424
Differential Revision: https://phab.enlightenment.org/D7502
Hermet Park [Mon, 7 Jan 2019 10:23:37 +0000 (19:23 +0900)]
evas vg: don't draw invisible nodes.
Change-Id: I1a582f0ceb7c2572bcf47ce0bf1741750eb833cc
Marcel Hollerbach [Fri, 4 Jan 2019 14:29:56 +0000 (15:29 +0100)]
eo: move definitions of priority from Eo.h to the object
So it can be references from the later coming definition of
callback_forwarder
ref D7532
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7542
Marcel Hollerbach [Fri, 4 Jan 2019 14:09:32 +0000 (15:09 +0100)]
meson: support cmakeconfigs
this was forgotten, but its required from Ecrire Clouseau etc.
fixes T7540.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7541
Felipe Magno de Almeida [Thu, 3 Jan 2019 21:06:53 +0000 (21:06 +0000)]
efl-mono: Add efl_mono.dll.config file to run tests from within tree
Required by some distros like Arch.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7527
Marcel Hollerbach [Thu, 3 Jan 2019 22:07:36 +0000 (23:07 +0100)]
meson: lets keep dependency
the reason for using dependency here is that meson *sometimes* uses
dependency as a wrapper arround finding a dependency, this is usefull if
a known target is having different library names on different OSs. On
macos the cc.find_library was causing errors, since the library is not
called GL there.
This fixes the macos build.
Marcel Hollerbach [Thu, 3 Jan 2019 21:59:01 +0000 (22:59 +0100)]
meson: and another missing file in ecore
they are so slowly caught by two reasons:
- .eo.c files are defining weak symbols, so no warnings when a symbol is
missing
- The APIs of the missing files are not tested, nor in examples in tree,
so not build and not discovered
Jaehyun Cho [Fri, 4 Jan 2019 06:11:08 +0000 (15:11 +0900)]
efreet: fix build error by using PACKAGE_SYSCONF_DIR
This patch fixes build error of make build by applying
0d7f20bbc63da62bbd7af9ae92c38ecc034ec213.
meson build defines PACKAGE_SYSCONF_DIR so there is no build error but
make build did not define it.
Alastair Poole [Thu, 3 Jan 2019 19:16:16 +0000 (19:16 +0000)]
efreet: Add installation prefix search for XDG_DATA_DIRS.
Summary:
Currently path parsed for XDG_DATA_DIRS is hard-coded to
/etc. By using eina_prefix_get and adding to the list
of directories efreet should use efreet will use path
relative to the EFL installation.
Reviewers: #committers, bu5hm4n, cedric, raster, zmike
Reviewed By: #committers, zmike
Subscribers: zmike, #reviewers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7534
Marcel Hollerbach [Thu, 3 Jan 2019 14:59:43 +0000 (15:59 +0100)]
meson: warn on unused parameters like on autotools
this mirrors the behaviour of autotools.
Hermet Park [Tue, 8 Jan 2019 04:00:29 +0000 (13:00 +0900)]
evas vg: enable visibility true by default.
So far, vg shapes had been rendered regardless of its visibility.
Recently, I pushed a patch -
fa1420965dd264fc8836d133a3215b94e423b8bf
not to render nodes which is invisible. This occurred a side effect
because previous vg implementations didn't take care of nodes visiblity.
It means, though vg users didn't make nodes visible but nodes were
rendered in unintended way.
This is a sort of compatibility problem but I can't let vg users
to change their nodes visible by calling visible set api explicity.
Instead, I'm gonna change the nodes visibility default value to true
so that skiping invisible nodes and compatibility issue as well.
Change-Id: If95f369ee984516ad515cfe0c01866c7c65dd852
Hermet Park [Mon, 7 Jan 2019 10:23:37 +0000 (19:23 +0900)]
evas vg: don't draw invisible nodes.
Change-Id: I002e3e18f5e96112caa66098f1c4e04ae6ed4cd4
Radoslaw Cybulski [Thu, 3 Jan 2019 10:34:55 +0000 (11:34 +0100)]
Fix for crash due to call to eina_error_set when bridge object is null
In some scenarios it's possible to call _bridge_object_unregister
function, when bridge object was not constructed, which resulted in
call eina_error_set and possibly crash. This patch adds an if check
for existence of bridge object.
Change-Id: Ic1995f1c0728c08c0cc007f5476d7a68a8a1d5ed
Shinwoo Kim [Fri, 4 Jan 2019 00:22:54 +0000 (09:22 +0900)]
[MIGRATION] efl_ui_dnd: fix the TC break
This patch set is the adaption of following commit which is changed
accidentally by migration work.
ffad0af efl_ui_dnd: fix the TC break
Change-Id: I45aa9bbc531f1fa509aa9274444081f5299b77e7
Sung-Jin Park [Thu, 3 Jan 2019 08:45:37 +0000 (17:45 +0900)]
ecore_wl2: correct cb_pre_handle_data and cb_awake callbacks
Fix : cb_pre_handle_data()
When there are any events remain in wayland event list, they
are going to be dispatched through wl_display_dispatch_pending().
By the way, if there is any error set in last_error in ewd->wl.display,
wl_display_dispatch_pending() will be failed and we must return directly
, unless ewd->prepare_read will be set true, wl_display_read_events()
will be called in _ecore_wl_cb_awake(). Calling wl_display_read_events()
without wl_display_prepare_read() will cause a deadlock in multi-threaded
wayland client.
Fix : cb_awake()
When there is an error on wayland display socket fd, _ecore_wl_cb_wake()
will also be called. Now when a error comes to _ecore_wl_cb_awake(),
it'll cause to call wl_display_read_events()/wl_display_cancel_events().
Calling those APIs will cause a deadlock in multi-threaded wayland clients.
Thus, we must return directly.
Change-Id: I6165989104038ff3b8435d18891dea3f7f979ac6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Shinwoo Kim [Thu, 3 Jan 2019 08:02:36 +0000 (17:02 +0900)]
[MIGRATION] FIX BUILD ERRORS
Collaboration between following commit and TIZEN ONLY commit occurs lots of
build errors. :/
94a681a elementary: rename Efl.Ui.Translatable -> Efl.Ui.L10n
Cedric BAIL [Wed, 19 Dec 2018 22:50:11 +0000 (14:50 -0800)]
ecore: add tests when not defining setter/getter/free in ModelView callback.
Differential Revision: https://phab.enlightenment.org/D7490
Cedric BAIL [Wed, 19 Dec 2018 22:49:23 +0000 (14:49 -0800)]
ecore: define behavior when no getter/setter callback function is defined for ModelView property logic.
This allow for simplifying the code that doesn't need to handle get/set/free
callback when not needed.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7489
Cedric BAIL [Thu, 13 Dec 2018 19:51:52 +0000 (11:51 -0800)]
ecore: test for Efl.ModelView.
This does cover pretty much everything that Efl.ModelView provide.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7488
Cedric BAIL [Thu, 29 Nov 2018 00:03:33 +0000 (16:03 -0800)]
ecore: add an helper class Efl.Model_View
With the advancement of our MVVM interfaces, we realize that it could be made easier,
especially for bindings, to write an Efl.Model that proxy another one without having to
necessarily implement the entire logic of propagating event and checking if the property
we are getting request for is actually handle by our own Efl.Model. To simplify this,
I introduce this class that allow to set new callback for each property you want to handle
on your object.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7487