Commit Graph

60451 Commits

Author SHA1 Message Date
Jaehyun Cho dc4eb5d728 efl_ui_win: enable bg color set although alpha is set
Summary:
This patch sets background transparent if window supports alpha.
If alpha window does not emit signal to show background rectangle,
then the background color set by _efl_ui_win_part_color_set cannot
be applied because the background rectangle remains hidden.

This patch fixes the side effect of D6569.

Test Plan: Run Efl.Ui.Win (Bg part) in elementary_test.

Reviewers: zmike, devilhorns, woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7302
2018-12-06 12:06:17 -05:00
Lauro Moura 44db8aa9a0 eolian_cxx: Add documentation field to property_def
Test Plan: run eolian_cxx suite

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7414
2018-12-06 12:06:17 -05:00
Yeongjong Lee 0d4032ac27 examples: update gitignore
Test Plan:
make examples
git state

Reviewers: Jaehyun_Cho, Hermet, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7406
2018-12-06 12:06:17 -05:00
Carsten Haitzler 4b79c95b35 elm config - fix warnings about unused vars and params 2018-12-06 12:06:17 -05:00
Carsten Haitzler aeaed76b5c elm teest - focus - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 46bd405acf elm tests - focus - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler e75e000d96 elm tests - gengrid - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler b3966ac073 elm test - button - remove unused local var warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 8594417a8d elm main - fix unused param in cb warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler f3d5fd36ae elm toolbar - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler de5191e3d6 elm colorselector - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 64044e564f efl ui focus manager - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler ece7433ff9 benchmarks - focus tree - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 90b8b7678e efl ui focus manager - remove unused local vars warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 34e754ebb4 elm glview - fix unused param warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler c255a72b3d eldbus model - remove unused vars warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 8c55cbff95 eldbus model - fix signed compare warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 4d7d199ace efl model loop - fix unused param (add EINA_UNUSED) - warn 2018-12-06 12:06:17 -05:00
Carsten Haitzler 328afdd698 eina iterator tests - use same unisnged ints to store - warn
use unsigned ints to we have no more wantings about signed compares
2018-12-06 12:06:17 -05:00
Carsten Haitzler a5dbb49b68 eina - iterator - remove unused variable - warn 2018-12-06 12:06:17 -05:00
Marcel Hollerbach 68462553d1 elm_scroller: update behaviour to match legacy behaviour more closely
This implements scrolling the scroller when the scroller is not in the
maximum position of the requested relation, but there is no more focus
object in that relation.

Summing up, the scroller is scrolled manually, when the focus object is
not fitting in the viewport, and the object is beeing out of the
viewport in the requested direction. Or the scroller is not at its max
position in the requested direction, and there is no more focusable
object in this requested direction.

ref T6804

Differential Revision: https://phab.enlightenment.org/D7382
2018-12-06 12:06:17 -05:00
Marcel Hollerbach d24ed5f1d3 efl_ui_focus_manager_root_focus: ensure that adapter is part of viewport
This ensures that the adapter part is part of the viewport elements and
border elements. This is done in order to support cases where a
elm_scroller content is not focusable. Before the element was not
correctly in viewport, and so not correctly registered.

ref T6804

Differential Revision: https://phab.enlightenment.org/D7364
2018-12-06 12:06:17 -05:00
Marcel Hollerbach 03f73ac371 elm_interface_scrollable: add support for *jumping* into a scroller
Until recently we have been only registering the border elements of the
graph, (so only the elements that don't have a neighboor). However this
lead to the situation that a scroller that is scrolled into the middle
(so not the x nor the y axis is scrolled to the max), is not accessable.

Now, we register all elements that have a neighboor in the outside.
The patch in the test suite is required in order to provide the correct
geometry to the implementation of efl_ui_focus_manager_sub.

Differential Revision: https://phab.enlightenment.org/D7360
2018-12-06 12:06:17 -05:00
Hermet Park e45b3d523e evas ector: use proper prefix name 2018-12-06 12:06:17 -05:00
Marcel Hollerbach 0fbace647d elementary: add a benchmark for focus widget tree interation
The benchmark checks how long it takes to move focus through a few
nested scrollers.

Differential Revision: https://phab.enlightenment.org/D7363
2018-12-06 12:06:17 -05:00
Marcel Hollerbach c4245941ad meson: fix running of benchmark
Differential Revision: https://phab.enlightenment.org/D7362
2018-12-06 12:06:16 -05:00
Marcel Hollerbach 907ee1a497 meson: use eolian_gen with -S
this ensures that eolian does not parse installed .eo files

Differential Revision: https://phab.enlightenment.org/D7405
2018-12-06 12:06:16 -05:00
Daniel Kolesa 3b162458ff autotools: include eolian_aux eo files in release 2018-12-06 12:06:16 -05:00
Carsten Haitzler fc7acd0e38 ecore evas - buffer - init ecore event evas as many times as shutdown
so ecore_event_evas_shutdown() was getting called much more than
ecore_event_evas_init() - missing an init in the ee + img obj creator
in ecore evas. this adds it in and ensures in allocation failures we
dont over-init or shutdown too.

@fix
2018-12-06 12:06:16 -05:00
Carsten Haitzler 8c32f8bb22 elm - fix config version bump correctly
bump version right and fix eec7bc458e
properly.
2018-12-06 12:06:16 -05:00
Marcel Hollerbach e3caf6ef84 elm_config: repair configs
Summary:
in eec7bc458e the epoch offset was edited,
which seems to be wrong, as this caused every single config to be
deleted. This also updates the configs in the elementry base configs
as they have been forgotten.

This brings back the ability to edit the config in elementary_config.

Reviewers: segfaultxavi, devilhorns, ManMower, raster

Reviewed By: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7403
2018-12-06 12:06:16 -05:00
Carsten Haitzler 66df2617bc efl ui text - check if string exists beofre using it...
don't segv.
2018-12-06 12:06:16 -05:00
Carsten Haitzler bbd70d1c20 eina+evas cpu - add theoretical SVE support
SVE is a new-ish ARM vector instruction set like neon... but with
wider vectors (and variable vector sizes). this adds the flags and
hwcaps checks.
2018-12-06 12:06:16 -05:00
Carsten Haitzler 9315c220d5 elm perf tool - bring one back to efl
expedite is basically dead. because it's out of tree and because it
was ported to eo too early... but it's also not a great tool given it
requires manual addition of engines and can't test elm stuff (complex
widgets).

so this is an elm based performance tool. i've added some tests (taken
from expedite and modified a bit). to get the ball rolling. the idea
is to add all the important core tests (rects, images, text, video
etc.) and then add widget/smart object like tests that go beyond what
expedite did. the problem with these tests is they are dependent on
theme. there isn't really any way around that... but i might
categorize tests in the end.

@feature
2018-12-06 12:06:16 -05:00
Carsten Haitzler 09f648ed81 ecore_evas - fix aninmator based frame render ticking to full framerate
so i was seeing ecore evas only rendering every 2nd frame... this is
because it was adding and deleting animatiors every time it rendered
instead of keeping one around as lon as updates where there to render
and then remove it afterwards. this caused nasty timing problems and
thus problems assessing framerate of rendered content etc. etc. ...
not good. this fixes that. this only happened if you only used pure
legacy ecore animators. if you used the efl animator tick events it
worked right.

@fix
2018-12-06 12:06:16 -05:00
Daniel Kolesa fe49d57bfe eolian tests: revert incorrect change resulting in failed parsing
Commit 98b716d0fa modified this file
for no apparent reason, breaking tests.
2018-12-06 12:06:16 -05:00
Cedric BAIL 108069fa62 ecore_con: simplify code by using helper that create future directly.
The new helper help replace call to eina_future_resolved and eina_future_rejected with
a scheduler lookup to just one function call.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7342
2018-12-06 12:06:16 -05:00
Cedric BAIL 7f733378b9 ecore: simplify code by using helper that build future directly.
The new helper help replace call to eina_future_resolved and eina_future_rejected with
a scheduler lookup to just one function call.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7341
2018-12-06 12:06:16 -05:00
Cedric BAIL 29faf24a1d eldbus: simplify code by using helper that create future directly.
The new helper help replace call to eina_future_resolved and eina_future_rejected with
a scheduler lookup to just one function call.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7340
2018-12-06 12:06:16 -05:00
Cedric BAIL 6600a035c6 eio: simplify code by using helper that generate future directly.
The new helper help replace call to eina_future_resolved and eina_future_rejected with
a scheduler lookup to just one function call.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7339
2018-12-06 12:06:16 -05:00
Cedric BAIL 0b8da6e945 eio: we do not need to actually loop explicitely for the loop here.
Actually efl_loop_future_scheduler_get does lookup on the object and its provider
someone that could be a loop provider and find a scheduler. There is no need to
custom look for a loop provider.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7338
2018-12-06 12:06:16 -05:00
Cedric BAIL bf82792a22 ecore: add an helper on Efl.Loop_Consumer to build resolved and rejected future more easily.
This make all object that inherit from Efl.Loop_Consumer have an easy ability to create a future
from their link to a loop provider. This way there is no need to further lookup for a scheduler.

This can by applied after the patch series from T7471.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7337
2018-12-06 12:06:16 -05:00
Cedric BAIL 11be2ae234 elementary: simplify code by using proper helper.
efl_loop_promise_new is a helper function that does automatically figure out an
available scheduler and create a promise from it. Basically replacing the call to
eina_promise_new(efl_loop_future_scheduler_get(o), ...).

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7336
2018-12-06 12:06:16 -05:00
Cedric BAIL 76cffceb2e eldbus: simplify code by using proper helper.
efl_loop_promise_new is a helper function that does automatically figure out an
available scheduler and create a promise from it. Basically replacing the call to
eina_promise_new(efl_loop_future_scheduler_get(o), ...).

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7335
2018-12-06 12:06:16 -05:00
Cedric BAIL d20d5021de eio: simplify code by using proper helper.
efl_loop_promise_new is a helper function that does automatically figure out an
available scheduler and create a promise from it. Basically replacing the call to
eina_promise_new(efl_loop_future_scheduler_get(o), ...).

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7334
2018-12-06 12:06:16 -05:00
Cedric BAIL 1c95e64cba ecore_con: simplify code by using proper helper.
efl_loop_promise_new is a helper function that does automatically figure out an
available scheduler and create a promise from it. Basically replacing the call to
eina_promise_new(efl_loop_future_scheduler_get(o), ...).

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7333
2018-12-06 12:06:16 -05:00
Lauro Moura 22c8bc2f59 eolian-cxx: Add property_def
Summary:
While individual getters and setters are added to the list of methods of
a class, property_def will hold them as a pair.

This will help defining accessors like C#'s where they're grouped.

Also update some eolian-cxx tests that were commented out.

Depends: D7262

Test Plan: run eolian-cxx tests

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7389
2018-12-06 12:06:16 -05:00
Larry Lira db579aad3b Efl.Ui.List.View: fixed MVVM life-cycle
Fix bugs on Views and Model related with null items and proper ownership and
life-cycle of components.

Configure default theme for default factory on finalize.
2018-12-06 12:06:16 -05:00
Vitor Sousa 50ce1338b1 elementary: rework Efl.Ui.Layout boolean signal-connection to Models
Add new feature to specify signal connection to boolean properties of Models.
This also fix some '%v' substitution problems.

Parsing EINA_VALUE_TYPE_BOOL as boolean in Efl.Ui.Layout signal updates from
Models (instead of EINA_VALUE_TYPE_UCHAR). UCHAR no longer has special handling
and falls to the general result of eina_value_to_string() as other types do.

Use EINA_VALUE_TYPE_BOOL instead of EINA_VALUE_TYPE_UCHAR to signal selection on
click events to the Model.

Update examples to make usage of the new property connection feature in order to
model selection of items on Views.
2018-12-06 12:06:16 -05:00
Stefan Schmidt 5d04985888 Revert "eina: add locale-independent eina_convert_strtod_c function"
This reverts commit bef1c5cc43.

The commit breaks the build on macos. I gave it soem time to get fixed
up quickly, but its late Friday night in Korea now and this is unlikely
to get fixed until Monday. Revert here until fixed.

./src/lib/eina/eina_private.h:158:1: error: unknown type name 'locale_t'

https://travis-ci.org/Enlightenment/efl/jobs/461790674
2018-12-06 12:06:16 -05:00