Dave Andreoli [Wed, 28 Nov 2018 19:16:19 +0000 (20:16 +0100)]
Pyolian tests: 2 small improvements
1. properly use unittest infra to skip tests, otherwise we will
forgot the commented tests
2. split the new name collision test (failing, but really cool)
so it have a proper name and the results are more readable
Daniel Kolesa [Wed, 28 Nov 2018 13:45:31 +0000 (14:45 +0100)]
meson: include whole src/lib for eo file generation in ifaces
In autotools, src/lib is used as an include path for finding
eo files, which is the same behavior you would get as when using
a system directory. In meson, this was changed to include only
certain directories.
This presents a problem (
05682eed7d572874928424af82fba819790c4228)
as it is not possible to reference symbols from other paths within
documentation.
Since this is necessary for the time being, work around the problem
by doing a whole src/lib include for now, which fixes the parsing.
Longer term solution is to be discussed and implemented.
Xavi Artigas [Wed, 28 Nov 2018 12:33:46 +0000 (13:33 +0100)]
eo-docs: Remove Doxygen tags from efl*.eo files
Summary:
- Replace '\@ref name' with '@name'
- Remove unused \@internal tag
This tag affects text AFTER it, and there is no text after it.
- Remove \@note tag
Replaced with a simple NOTE: text, since eolian does not have an equivalent tag.
- Remove spurious \@Efl... tags
They should really be @Efl...
- Remove \@p tags
There is no eolian equivalent, and a simpler $ suffices in this case.
Fixes T7482
Reviewers: q66
Reviewed By: q66
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7482
Differential Revision: https://phab.enlightenment.org/D7372
Hermet Park [Wed, 28 Nov 2018 07:44:51 +0000 (16:44 +0900)]
ector: fix indentation.
Hosang Kim [Wed, 28 Nov 2018 05:32:39 +0000 (14:32 +0900)]
efl_ui_scrollable: implement efl_ui_scrollable_content_pos_get method.
Summary:
Applications want to know current position on scroller.
Also, it is necessary when calculate position of focusable object.
Reviewers: herdsman, akanad, YOhoho, bu5hm4n
Reviewed By: bu5hm4n
Subscribers: bu5hm4n, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7251
Lauro Moura [Tue, 27 Nov 2018 21:25:53 +0000 (22:25 +0100)]
pyolian: Fix tests after class renames and API change
Summary:
There is still a test failing as at least Ecore.Audio is both a
namespace and a class.
Test Plan: python test_pyolian.py
Reviewers: DaveMDS, q66
Reviewed By: q66
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7371
Hermet Park [Tue, 27 Nov 2018 02:24:10 +0000 (11:24 +0900)]
Revert "evas map: calc map geometry when it is out of screen"
This reverts commit
8a7817cdd9e3a347c301370c2d401a4c5691b6d8.
Sorry, I didn't intend this patch...
Shinwoo Kim [Tue, 27 Nov 2018 02:21:51 +0000 (11:21 +0900)]
evas map: calc map geometry when it is out of screen
Summary:
The map geometry(cur.map->normal_geometry) is calculated only if
evas_render_updates_internal_loop calls evas_render_mapped as below.
evas_render_mapped
-> evas_object_map_update
-> evas_object_map_update
-> _evas_map_calc_map_geometry
If the mapped object is not on screen, then evas_render_updates_internal_loop
does not call evas_render_mapped, because the mapped object is not active.
The mapped object is not active(i.e. is_active is 0) always because cache.clip
data including visilbe and geometry is not updated after the object goes out
of screen.
Usually the unmapped object updates its cache.clip data with updated geometry
even though it is out of screen as below.
_efl_canvas_object_efl_gfx_entity_position_set
-> evas_object_recalc_clippees
-> evas_object_clip_recalc
-> evas_object_clip_recalc_do
So the mapped object geometry(cur.map->normal_geometry) should be updated in
evas_object_clip_recalc_do if it is out of screen.
Test Plan:
Sample code
{
F3455674}
{
F3455673}
{
F3455672}
{
F3455671}
Reviewers: Hermet, jypark
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7344
Daniel Hirt [Thu, 15 Nov 2018 08:55:46 +0000 (10:55 +0200)]
Ui Scroller : remove unnecessary efl_del
Child objects are already destoryed during destruction of the parent
object.
This fixes ERR messages when doing `efl_del(sd->smanager)`
object, which is already destroyed at that point.
Daniel Hirt [Thu, 15 Nov 2018 08:52:16 +0000 (10:52 +0200)]
Scroll manager: remove unnecessary callback_del
Child objects are already destoryed during destruction of the parent
object.
This fixes ERR messages when doing operations on the `event_rect`
object, which is already destroyed at that point.
Daniel Hirt [Tue, 13 Nov 2018 14:14:58 +0000 (16:14 +0200)]
Ui text: remove unused code from internal scroller
Daniel Hirt [Tue, 13 Nov 2018 13:17:28 +0000 (15:17 +0200)]
Ui text: update text; use efl_text_set and not markup_set
Daniel Hirt [Mon, 12 Nov 2018 16:57:42 +0000 (18:57 +0200)]
Ui text: update inputfield test to reflect theme and part changes
Daniel Hirt [Mon, 12 Nov 2018 16:57:24 +0000 (18:57 +0200)]
Ui text: implement efl_part and part_text API to text_set
Daniel Hirt [Mon, 12 Nov 2018 13:15:33 +0000 (15:15 +0200)]
Ui text: have "inputfield" example use the default theme values
Daniel Hirt [Mon, 12 Nov 2018 13:14:11 +0000 (15:14 +0200)]
Ui text: read init text properties from theme
Daniel Hirt [Mon, 12 Nov 2018 13:14:53 +0000 (15:14 +0200)]
Ui text: add initial properties for theme
Daniel Hirt [Mon, 12 Nov 2018 13:13:09 +0000 (15:13 +0200)]
Ui text interactive: emit changed,user event correctly
Daniel Hirt [Mon, 12 Nov 2018 13:09:56 +0000 (15:09 +0200)]
Ui text scroller: add usage of a guide
Marcel Hollerbach [Thu, 22 Nov 2018 14:50:04 +0000 (15:50 +0100)]
efl_ui_focus_manager_sub: freeze manager when parent manager is frozen
a efl_ui_focus_manager_sub object is a manager object by itself. It
registeres the border elements of itself in the parent focus manager.
However, all elements that are registered in this manager object, are
also automatically children of the parent root object, which means, when
the root object of the parent manager object is moved, then those
children will also be moved. Which means, when the parent manager can
ignore those changes, we can also ignore them.
This improves the overall performance of the "Scroller 2" test case by
26%.
The change to the test is required in order to redirect the events so
the self_dirty bit is setted correctly
Differential Revision: https://phab.enlightenment.org/D7350
Marcel Hollerbach [Thu, 22 Nov 2018 14:47:52 +0000 (15:47 +0100)]
elm_interface_scrollable: freeze the manager object when content moves
this freezes the manager object of the user of the interface. This
improves the overall performance when moving arround focus in a
scrollable object, since no new relations are needed to be recalculated.
This safes up about 2% in the "Scroller 2" test. Additional
optimizations are added in another commit.
Differential Revision: https://phab.enlightenment.org/D7349
Marcel Hollerbach [Fri, 23 Nov 2018 11:38:00 +0000 (12:38 +0100)]
efl_ui_focus_manager_calc: ensure that the coords are marked dirty
this is needed when a object is unregistered, otherwise a user of the
event is not informed when a element is gone, and thus the border
elements might have changed.
Differential Revision: https://phab.enlightenment.org/D7353
Marcel Hollerbach [Thu, 22 Nov 2018 14:41:31 +0000 (15:41 +0100)]
efl_ui_focus_manager: introduce a new API
the new api can be used to freeze the cache. This means, when the
widgets of the focus manager are all equally moved, the cache can stay,
cause the relative positions did not change, this enables a whole new
set of available optimizations.
Differential Revision: https://phab.enlightenment.org/D7348
Marcel Hollerbach [Fri, 23 Nov 2018 08:49:55 +0000 (09:49 +0100)]
efl_ui_focus_object: introduce a new event for focus geometry changes
before the move and resize events have been used. However, this turned
out to not work well, because not all registered items are real
efl.gfx.entity objects, there is also a custom property for getting the
focus geometry, so now this property is completed with a event that is
emitted when the focus geometry changes. With this event we can
reintroduce relation caching. Since all events are marked correctly
dirty now.
Differential Revision: https://phab.enlightenment.org/D7347
Marcel Hollerbach [Thu, 22 Nov 2018 16:54:57 +0000 (17:54 +0100)]
elm_focus: implement missing functions
there is one function that needs to be implemented by the inheritor of
Efl.Ui.Focus.Object and that is focus_parent, otherwise child_focus
cannot be propagated correctly. This is now achived correctly for all
widgets.
This fixes from elm_object_focus_get results for toolbar and calendar.
Segmentcontrol inherits from the class, however, the widget itself does
not allow focus, so its never registered probebly.
Differential Revision: https://phab.enlightenment.org/D7331
Marcel Hollerbach [Wed, 21 Nov 2018 19:57:32 +0000 (20:57 +0100)]
efl_ui_focus_manager_calc: reduce the amount of list operations
it appears that the calculation of the unordered elements can be done a
lot easier here, when checking in the initial for loop for the right
parent safes us two more list walk later on.
Additionally, if all elements in this chain have the right parent, and
the amount of elements is the same as the parent has, then this list can
be used as a full replacement.
Differential Revision: https://phab.enlightenment.org/D7330
Daniel Zaoui [Mon, 26 Nov 2018 08:32:31 +0000 (10:32 +0200)]
FlipSelector: fix items creation when range is used
In the case step is 0, the application will enter in an infinite loop
where the max will never be reached. To fix this, step is set to 1 if 0
is given by the user.
Moreover, step is forced to positive. According to the given min and
max values, the step will be negative or positive. In this way, we are
sure to be inside the correct range.
Cedric BAIL [Thu, 22 Nov 2018 01:33:10 +0000 (17:33 -0800)]
eo: rename efl_future_Eina_FutureXXX_then in efl_future_then as this has been available for some time.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7327
Cedric BAIL [Thu, 22 Nov 2018 01:03:53 +0000 (17:03 -0800)]
eldbus: switch Eldbus.Model to inherit from Efl.Model_Loop.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7326
Cedric BAIL [Thu, 22 Nov 2018 01:03:34 +0000 (17:03 -0800)]
eio: switch Eio.Model to inherit from Efl.Model_Loop.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7325
Cedric BAIL [Thu, 22 Nov 2018 01:03:10 +0000 (17:03 -0800)]
ecore: switch all Efl.Model to inherit first from Efl.Model_Loop.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7324
Cedric BAIL [Thu, 22 Nov 2018 00:44:17 +0000 (16:44 -0800)]
ecore,efl: add Efl.Model.property_get helper which will suceed once when a property finally has a value.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7323
Cedric BAIL [Thu, 22 Nov 2018 00:43:10 +0000 (16:43 -0800)]
eio: use the right type of Eina_Value to report error.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7322
Cedric BAIL [Fri, 23 Nov 2018 16:25:19 +0000 (16:25 +0000)]
efl: make Efl.Model.properties_get return an Iterator<string>.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7289
Cedric BAIL [Fri, 16 Nov 2018 01:44:09 +0000 (17:44 -0800)]
eina: add tests for eina_multiple_iterator_new.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7287
Cedric BAIL [Fri, 16 Nov 2018 01:42:27 +0000 (17:42 -0800)]
eina: add eina_multi_iterator_new.
This will return an Iterator that will walk over a serie of iterator.
This technicaly take ownership of the iterator it is walking over and
destroy as it goes and doesn't need them anymore.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7286
Cedric BAIL [Thu, 15 Nov 2018 23:38:40 +0000 (15:38 -0800)]
eina: add test for Eina_Iterator over pure C array.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7285
Cedric BAIL [Thu, 15 Nov 2018 23:37:15 +0000 (15:37 -0800)]
eina: add a way to iterate over a pure C array with no NUL terminating element.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7284
Stefan Schmidt [Fri, 23 Nov 2018 16:11:05 +0000 (17:11 +0100)]
travis: temporarily disabled mingw job as hot fix
Since a recent commit eolian_gen from HEAD is needed to build efl.
So far the mingw cross build avoided the double build of efl for
bootstrapping purpose and used the 1.21 package for the cross build.
This does no longer work and all Travis jobs are now failung due to
this. As a hotfix I disable the build now (Friday evening) to have
working builds over the weekend and find a better solution next week.
Stefan Schmidt [Wed, 21 Nov 2018 15:49:14 +0000 (16:49 +0100)]
travis: reorder jobs to reduce overall build time per push
We currently have 6 jobs runnign after a git push, but only 5 parallel
workers available. The macos build takes way longer then the meson
builds for example which we will use to our advantage.
Starting the longest builds (macos and mingw) first and letting the
second meson build start after the first ones finishes. That way the
limitation is still the long running macos job.
Differential Revision: https://phab.enlightenment.org/D7321
Marcel Hollerbach [Wed, 7 Nov 2018 16:06:10 +0000 (17:06 +0100)]
ci: here comes ninja!
this updates the scripts in order to make ninja all / ninja test work as
expected. For now there are 2 new jobs options-enabled and
options-disabled. mingw and osx will follow in another commit.
Benchmarks are disabled for now, as the eina benchmark does not seem to
terminate.
Differential Revision: https://phab.enlightenment.org/D7255
Stefan Schmidt [Mon, 19 Nov 2018 13:22:10 +0000 (14:22 +0100)]
travis: merge wayland build into misc and rename to options-enabled
The misc build already had most of the extra options enabled for the EFL
build. Instead of wasting CPU cycles on a full seperate build for just
wayland options we merge these two together. In the process we rename
from misc (pretty vague) to options-enabled and options-disbaled.
Due to the combination of options we need to disable sdl for now. It
clashes with the OpenGL ES option we enable for wayland. Having build
for the different GL flavours is something we should look into at some
point.
Patch is based on the patches from Marcel in D7253 and D7254
Differential Revision: https://phab.enlightenment.org/D7320
Daniel Kolesa [Thu, 22 Nov 2018 16:17:29 +0000 (17:17 +0100)]
eolian: implement new syntax for inheritance
This new syntax separates the parent class from extensions, in
a familiar way to similar to e.g. Java. Since changing everything
at once is a lot of effort, implement it alongside for the time
being.
Daniel Kolesa [Thu, 22 Nov 2018 15:21:52 +0000 (16:21 +0100)]
eolian: implement new inherit behavior
Eolian now separates 'parent' and 'extensions'. For regular
classes, parent is the first item in the inherits list and
extesions is the rest. For interfaces and mixins, parent is
NULL and extends is the inherits list.
The reason for this is the separation of them in syntax in near
future. It also slightly changes the behavior; since for interfaces
and mixins, parent is always NULL now, you can freely inherit from
all types of classes without needing to manually put an interface
type as the first item of the inherits list.
Jaehyun Cho [Fri, 23 Nov 2018 12:26:00 +0000 (21:26 +0900)]
efl_interpolator: rename subclasses of Efl.Interpolator
Subclasses of Efl.Interpolator are renamed intuitively from backward
order to forward order.
Jaehyun Cho [Fri, 23 Nov 2018 10:30:36 +0000 (19:30 +0900)]
efl_interpolator: change Efl.Interpolator class to interface
Since Efl.Interpolator's subclasses are used as interpolator class,
Efl.Interpolator class is changed to be an interface.
This change allows Efl.Canvas.Animation to have Efl.Interpolator as its
property in efl_canvas_animation.eo.
Yeongjong Lee [Wed, 14 Nov 2018 06:30:10 +0000 (06:30 +0000)]
elm_gengrid: remove all_items_deselect call in _gengrid_element_focused
focus_changed doesn't mean select_changed. selection is handled the code below.
Differential Revision: https://phab.enlightenment.org/D7268
Derek Foreman [Tue, 20 Nov 2018 19:57:12 +0000 (13:57 -0600)]
elm: roll _tree_custom_chain_missing into main focus test function
Further reduction in eo overhead.
Differential Revision: https://phab.enlightenment.org/D7315
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Tue, 20 Nov 2018 17:20:36 +0000 (11:20 -0600)]
elm: Compress more focus tests into the same list walk
Since we're already at the top of the list, we can do the WIN_CLASS test
much more cheaply.
Differential Revision: https://phab.enlightenment.org/D7314
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Tue, 20 Nov 2018 16:49:40 +0000 (10:49 -0600)]
elm: Re-order focus tests
Placing the cheapest tests first can save on some heavy walks.
Differential Revision: https://phab.enlightenment.org/D7313
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Tue, 20 Nov 2018 16:48:29 +0000 (10:48 -0600)]
elm: Walk parents instead of parent widget in focus test
This Should Work, right?
Differential Revision: https://phab.enlightenment.org/D7312
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Mon, 19 Nov 2018 21:30:25 +0000 (15:30 -0600)]
elm: speed up _eval_registration_candidate
combining _tree_unfocusable and _tree_disabled into a single function
reduces eo overhead. This saves a few ms at startup in elementary_test.
Differential Revision: https://phab.enlightenment.org/D7308
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Stefan Schmidt [Wed, 21 Nov 2018 08:28:04 +0000 (09:28 +0100)]
elm/themes: make sure the new grid.edc file ends up in the dist tarball
The new file has been added in
4b5304d7f2b400064c0896f7510f31850912e5af
but forgotten to be added to the list of edc files for the dist tarball.
https://travis-ci.org/Enlightenment/efl/jobs/
457510394
Differential Revision: https://phab.enlightenment.org/D7319
Yeongjong Lee [Thu, 22 Nov 2018 08:22:04 +0000 (17:22 +0900)]
Remove duplicated interface inheritance in eo
Summary:
Delete unnecessary interface inheritance
Efl.Ui.Base ==> Efl.Ui.Widget - Efl.Canvas.Group - Efl.Canvas.Object - Efl.Ui.Base
Efl.Text_Cursor ==> Efl.Text_Markup - Efl.Text_Cursor
Efl.Pack_Layout ==> Efl.Ui.Box - Efl.Pack_Layout
Efl.Ui.Translatable ==> Efl.Ui.Layout - Efl.Ui.Widget - Efl.Ui.Translatable
Efl.Part ==> Efl.Ui.Widget - Efl.Part
Efl.Ui.View ==> Efl.Ui.Layout.Object - Efl.Ui.View
Efl.Access.Value ==> Efl.Ui.Spin - Efl.Access.Value
Efl.Gfx.Buffer ==> Efl.Canvas.Image_Internal - Efl.Gfx.Buffer
Efl.Canvas.Pointer ==> Efl.Ui.Widget - Efl.Canvas.Group - Efl.Canvas.Object - Efl.Canvas.Pointer
Efl.Gfx.Size_Hint ==> Efl.Ui.Widget - Efl.Canvas.Group - Efl.Canvas.Object - Efl.Gfx.Size_Hint
Test Plan: make check
Reviewers: Jaehyun_Cho, Hermet, woohyun, segfaultxavi
Reviewed By: Jaehyun_Cho, segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7241
Chris Michael [Wed, 21 Nov 2018 16:06:51 +0000 (11:06 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 16:05:41 +0000 (11:05 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 16:03:35 +0000 (11:03 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:59:17 +0000 (10:59 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:58:14 +0000 (10:58 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:56:46 +0000 (10:56 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:53:11 +0000 (10:53 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:51:43 +0000 (10:51 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:49:14 +0000 (10:49 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:48:30 +0000 (10:48 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:47:38 +0000 (10:47 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:46:31 +0000 (10:46 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:45:48 +0000 (10:45 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:45:04 +0000 (10:45 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:43:54 +0000 (10:43 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:43:13 +0000 (10:43 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:42:35 +0000 (10:42 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:41:23 +0000 (10:41 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:40:31 +0000 (10:40 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:39:33 +0000 (10:39 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:38:24 +0000 (10:38 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:33:49 +0000 (10:33 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:30:29 +0000 (10:30 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:29:45 +0000 (10:29 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:28:51 +0000 (10:28 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Chris Michael [Wed, 21 Nov 2018 15:27:29 +0000 (10:27 -0500)]
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Daniel Kolesa [Wed, 21 Nov 2018 15:26:00 +0000 (16:26 +0100)]
eolian: check whether events conflict in inheritance tree (off)
Previously, the EOLIAN_EVENT_REDEF_WARN environment variable
enabled extra checks that would include events in checking
conflicts against methods. Since this is probably not necessary
and naming events the same as methods is perfectly fine in itself,
relax this rule and check events completely independently.
In practice, this will disallow using the same name for two
events within the same inheritance tree, which is desirable
in longer term, but cannot be enabled just yet because we have
too many of those conflicts. But it also allows the events to
be named the same as methods or parts, which is fine and was not
possible before.
Chris Michael [Wed, 21 Nov 2018 15:00:09 +0000 (10:00 -0500)]
emotion: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
Carsten Haitzler (Rasterman) [Tue, 20 Nov 2018 17:15:57 +0000 (17:15 +0000)]
eet - dictorinary - tidy up code to be easier to read
more compact so less scrolling - easier to read.
Carsten Haitzler (Rasterman) [Tue, 20 Nov 2018 16:57:24 +0000 (16:57 +0000)]
eet dict - remove redundant check of len, str and possibly strcmp
aim for small speedups.
Carsten Haitzler (Rasterman) [Tue, 20 Nov 2018 16:55:45 +0000 (16:55 +0000)]
eet - dictionary - use rwlocks instead of spinlocks - better contention
if the dict is contended on by lots of threads then a spinlock really
makes it slow. a rwlock gets about 1.5-2x speedup depending on
arch/thread count.
@optimize
Jiyoun Park [Wed, 21 Nov 2018 11:55:32 +0000 (20:55 +0900)]
evas_object_image: fix cutout bug related with opaque object
Summary:
condition:
1. full size rect
2. upper side, if there is same size image object and image object preload state is EVAS_IMAGE_PRELOADING.
below rect cannot be rendered because upper image object was added to cutout area event though image object is not opaque.
so fix opaque check function return false for opaque state of preloading image.
Reviewers: Hermet, raster
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7318
Marcel Hollerbach [Wed, 14 Nov 2018 16:50:04 +0000 (17:50 +0100)]
elm_gengrid: transform P233 into a testcase
the new testcase checked if the focus is correctly restored after the
gengrid is focused again. And it checks that the focused_item pointer is
NULLed out when the gengrid is not focused at all anymore.
Differential Revision: https://phab.enlightenment.org/D7272
Marcel Hollerbach [Tue, 13 Nov 2018 16:36:31 +0000 (17:36 +0100)]
elm_gengrid: enable focus api for none realized items
this ensures that the item is focused once the item is realized.
The last_focused_item point is not NULLed anymore, it will be overridden
anyways a few lines below, if the 'if' below is not going to be
executed, then we should not NULL out the field at all, since we want to
remember the item when we are restoring focus in
_elm_gengrid_efl_ui_focus_manager_setup_on_first_touch.
This resolved the latest comment in D7230
This also resolves T7391.
Differential Revision: https://phab.enlightenment.org/D7271
Marcel Hollerbach [Tue, 13 Nov 2018 08:33:28 +0000 (09:33 +0100)]
elm_legacy: use the new api
with using the new api of efl.ui.focus.object we can resolve a bug that
was pointed out in P243.
Differential Revision: https://phab.enlightenment.org/D7267
Marcel Hollerbach [Tue, 20 Nov 2018 17:18:04 +0000 (18:18 +0100)]
elm-test: simulate focus on the window
we cannot rely on the compositor to actaully get focus.
However, a few widgets are only doing focus operations if they can get
focus, if not they do nothing. Which effectifility turns off every focus
operation if you don't have compositor focus. In order to work arround
this, we are getting the ee, NULL out the callbacks, so the window does
not know about the the *real* compositor focus, after that we manully
say that the root object has focus, so normal operations can be
performed again.
Differential Revision: https://phab.enlightenment.org/D7311
Marcel Hollerbach [Tue, 13 Nov 2018 15:34:17 +0000 (16:34 +0100)]
elm_gen****: correctly return the focus parent
this was forgotten before. However, now the correct parents are returned
This is needed in order to have the child_focus property propagated
correctly accross the parent chain.
Differential Revision: https://phab.enlightenment.org/D7266
Marcel Hollerbach [Mon, 12 Nov 2018 15:08:40 +0000 (16:08 +0100)]
efl_ui_focus_object: add new event
the new event indicates when the focus property of a child has changed.
Fixes T7438
Differential Revision: https://phab.enlightenment.org/D7263
Marcel Hollerbach [Fri, 2 Nov 2018 01:18:44 +0000 (02:18 +0100)]
elm-test: add a test for checking the event handling
This tests creates a giant box with widgets in them. Each widget that is
tested is added to the box, focus is moved into it, and away from it,
the corresponding events are then checked.
Differential Revision: https://phab.enlightenment.org/D7233
Marcel Hollerbach [Fri, 2 Nov 2018 09:27:25 +0000 (10:27 +0100)]
elm_list: fix focus without items
Differential Revision: https://phab.enlightenment.org/D7232
Change-Id: Ia609c84ebe119011ad5a76c14dfb0de53914a4b0
Marcel Hollerbach [Fri, 2 Nov 2018 01:17:26 +0000 (02:17 +0100)]
elm_gen****: ensure that no focus item is handled correctly
This ensures that on first touch the root dummy element is focused
correctly.
fix T7203
Differential Revision: https://phab.enlightenment.org/D7231
Change-Id: Icaaad4d03b50430e87f2c3d2bb46d5be65d09b70
Marcel Hollerbach [Fri, 2 Nov 2018 01:13:48 +0000 (02:13 +0100)]
efl_ui_focus_manager: make active getter work correctly
focus managers can be used via composition, in this case the normal
manager is NOT inheriting from the
EFL_UI_FOCUS_MANAGER_WINDOW_ROOT_INTERFACE class, but the composition
parent is.
fix T7390
Differential Revision: https://phab.enlightenment.org/D7230
Stefan Schmidt [Wed, 22 Aug 2018 12:51:12 +0000 (14:51 +0200)]
ci: mingw build target to cross compile EFL for Windows
We are using the EFL windows package installer (ewpi) from Vincent Torri
here (thanks!) to setup all the needed cross compiled dependencies for
EFL.
The make target is disabled as we are not able to execute the windows
binaries withour additional work to run check.
Work is ongoing in ewpi to have the dependencies provided for soem of
the disabled build options (gstreamer, webp, tiff, physics, etc). Once
these are working well in ewpi we will enable them here as well.
[Brought back after revert. CI image is now fixed to have the needed
pre-built windows components again]
Differential Revision: https://phab.enlightenment.org/D7294
Stefan Schmidt [Mon, 19 Nov 2018 13:24:52 +0000 (14:24 +0100)]
ci/dockerfiles: remove outdated files maintained elsewhere
For a long time now we maintain the needed dockerfiles in a different
repo: https://github.com/Enlightenment/ci-support-files
Doing so allows use to easily use Docker Hub to build these images being
used by Travis CI. The ones deleted here are outdated for a while now
and of no real use anymore.
Differential Revision: https://phab.enlightenment.org/D7307
Stefan Schmidt [Mon, 19 Nov 2018 13:12:22 +0000 (14:12 +0100)]
travis: drop archlinux from Travis cron builds
With Archlinux being a rolling release every new build of the docker
image could contain new changes that would break for us. For all other
distros we also follow the latest release approach where we want to make
sure efl still builds for it. With Archlinux this is not possible by its
nature. Luckily enough efl developers use Archlinux so the risk of
issues being left unnoticed is small enough.
Differential Revision: https://phab.enlightenment.org/D7306
Woochanlee [Tue, 20 Nov 2018 08:59:18 +0000 (09:59 +0100)]
efl_ui_format: remove supporting default TM format in interface.
Summary:
efl_ui_format printed ERR log in calendar use case.
calendar only accept format as "B,b,h,m,y,Y"
But it doesn't cover that and not supporting TM type.
If there is other widget which one using format interface, It also has own accpeted format.
So i think it should impelment on widget side.
Test Plan: elementary_test -> efl_ui_calendar.
Reviewers: Hermet, singh.amitesh, Jaehyun, zmike, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6871