summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-24efl: use new eolian error functionality instead of globalsDaniel Kolesa
Also enable referencing errors in docs.
2019-09-24declare first round of classes stableMarcel Hollerbach
this stabelizes the "stableized" column of the efl: api workboard. fixes T8208, fixes T8158, fixes T8156, fixes T8025, fixes T8024, fixes T7976, fixes T7946, fixes T7928, fixes T7923, fixes T7905, fixes T7902, fixes T7901, fixes T7900, fixes T7898, fixes T7897, fixes T7895, fixes T7894, fixes T7893, fixes T7891, fixes T7880, fixes T7873, fixes T7869, fixes T7867, fixes T7865, fixes T7862, fixes T7854, fixes T7847, fixes T7881, fixes T7870, fixes T9086 Differential Revision: https://phab.enlightenment.org/D10008
2019-09-24efl_ui_collection: this interface is not event usedMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D10108
2019-09-24efl_ui_win: default the window type to basicMarcel Hollerbach
normally when you create a window, you just want to have it beeing a basic window. If not you still can set the window type. ref T8229 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10049
2019-09-24efl: make Efl.Ui.Factory.release work in batches.Cedric Bail
This will enable better strategy in scheduling removal of object from the cache instead of doing the throttling in the View as there is a better understanding of the different layer the items are going to go through and where they will consume time. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9955
2019-09-24elementary: rework Efl.Ui.Factory to have another additional stage during ↵Cedric Bail
releasing of items. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9954
2019-09-24efl: simplify logic for widget created by factory.Cedric Bail
In an attempt to make things more complex than they should have been, I tried to change the inheritance tree on the fly and assume widget would rely on autodeleting its children. This is way more complex of a solution than to let the View actually release all the child manually and just set the window as the default parent.h Co-authored-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9953
2019-09-24efl: split Efl.Ui.Factory.create stage into constructing and buildingMarcel Hollerbach
constructing is called during construction time, building is called after finalize. This is usefull for theme related properties that can only be set after the theme is applied, which happens during finalize. Being event allow the user of the factory to add more initialization without needing to implement any new class. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9952
2019-09-24elementary: Efl.Ui.Layout_Factory bind property during widget creation.Cedric BAIL
In the same vain as previous patch this will initialize more of the widget during its creation and reduce unecessary recalc. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9951
2019-09-24elementary: Efl.Ui.Image_Factory bind property also during widget creation.Cedric BAIL
In the same vain as previous patch this will initialize more of the widget during its creation and reduce unecessary recalc. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9950
2019-09-24ecore: update Efl.Boolean_Model to handle children removal and shifting all ↵Cedric Bail
necessary boolean and index. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10033
2019-09-24ecore: correctly handle children removal in Efl.Composite_Model by updating ↵Cedric Bail
all required index. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10032
2019-09-24efl_gfx_path: Add optimized path commandJunsuChoi
Summary: If 'L' is removed due to optimization, it should be supported like 3b1f7be If the previous command is 'M', use 'L'. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10104
2019-09-24evas vg: fix gradient stroke fill memory leaks.Hermet Park
There were continous creation of gradient objects, We can stop it by caching it properly, Also, fix mismatched ref/unref counts.
2019-09-24efl_gfx_path: Support 'l' command for optimized path.JunsuChoi
Summary: If there is no 'l' command for path optimization, refer to the previous cmd. If the previous command is 'm', use 'l'. Test Plan: [Example SVG] ''' <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 40 40"> <g fill="none" fill-rule="evenodd"> <rect width="40" height="40" fill="#f00" opacity="0"/> <path d="m12 20 13-12-13 12zm0 0 13 12-13-12z" fill-rule="nonzero" opacity=".12" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/> </g> </svg> ''' Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10074
2019-09-23efl-mono: Additional blank line between all methods.Bruno da Silva Belo
Summary: For better indentation, adding a blank line in the end of methods. Test Plan: using efl_ui_layout.eo.cs, efl_access_object.eo.cs, efl_part.eo.cs and efl_ui_factory_bind.eo.cs as references, apply changes to the code then check the diffs of after and before of the references files Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, felipealmeida, lauromoura Tags: PHID-PROJ-uhnmnvlvunw6jgoqdnd4, #efl_language_bindings, #refactoring Maniphest Tasks: T8167 Differential Revision: https://phab.enlightenment.org/D9712
2019-09-23docs: Add documentation for Efl.Ui.ScrollerXavi Artigas
Summary: These docs were missing. Ref T7891 Test Plan: Only docs changed Reviewers: zmike, woohyun, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7891 Differential Revision: https://phab.enlightenment.org/D10019
2019-09-23osx - require full opengl for gl support on osxCarsten Haitzler (Rasterman)
the default still is gl-es as documented. you need to explicitly turn on full opengl to get gl support on osx because thats all the engine does. document this exception for osx (having gl magically being full on osx and gle-es elsewhere is another option but then we need different os specific defaults for this which is kind of bad in other ways).
2019-09-23theme: add 'required' to efl/tab_pager group partsXavi Artigas
Summary: ref T8231 Reviewers: zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10087
2019-09-23efl_ui_pack: allow NULL as existing parameter in after and beforeMarcel Hollerbach
Summary: with this commit all implementations of Efl.Pack_Linear to permit NULL as existing parameter, this is verified with a spec test unit. fixes T8210 Reviewers: zmike, segfaultxavi Reviewed By: zmike Subscribers: woohyun, Jaehyun_Cho, YOhoho, segfaultxavi, zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8210 Differential Revision: https://phab.enlightenment.org/D10023
2019-09-23doc: wrap comment for EFL_UI_CLICKABLE_PART_BIND docs in edcMike Blumenkrantz
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10089
2019-09-23ci - osx - switch to full gl option on osxCarsten Haitzler (Rasterman)
2019-09-23theme: add 'required' to efl/button:anchor group partsXavi Artigas
Summary: ref T8231 Reviewers: zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10086
2019-09-23tests: Initialize variables and quiet warning.Lauro Moura
Summary: The switch does not cover all Align enum values. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10085
2019-09-23theme: add 'required' to efl/spin_button group partsXavi Artigas
Summary: ref T8231 Reviewers: zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10084
2019-09-23theme: add 'required' to efl/timepicker partsXavi Artigas
Summary: ref T8231 Reviewers: zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10083
2019-09-23efl: improve test in checking the return value during Eina_Value get operation.Cedric Bail
Summary: Depends on D10061 Reviewers: zmike, bu5hm4n, SanghyeonLee, segfaultxavi, felipealmeida, lauromoura Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10062
2019-09-23docs: Clarify behavior of NULL in Efl.Pack_Linear.Xavi Artigas
Summary: Depends on D10023 Reviewers: zmike, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8210 Differential Revision: https://phab.enlightenment.org/D10024
2019-09-23build - update README and meson options to match echother in defaultsCarsten Haitzler (Rasterman)
update some defaults like move to gl-es by default, tslib off by default as this really makes efl simpler to confgure ... by default with less things to change to get stuff working.
2019-09-23theme: add 'required' to efl/bg group partsMike Blumenkrantz
ref T8231 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10056
2019-09-23theme: add 'required' to efl/popup (and related group) partsMike Blumenkrantz
ref T8231 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10057
2019-09-23theme: add 'required' to efl/scroller group partsMike Blumenkrantz
ref T8231 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10058
2019-09-23theme: add 'required' to efl/datepicker partsMike Blumenkrantz
ref T8231 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10059
2019-09-23efl_ui_position_manager: review cache accessesMarcel Hollerbach
in position manager grid and list, there are caches for the sizes, so the access within placing the item is faster. The cache sometimes is invalidated, which means, it must be rebuild before accessing it. This commit is the result of reviewing all the accesses, that the correct item is available. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10065
2019-09-23efl_ui_focus_managr_sub: fix a err messageMarcel Hollerbach
with this commit there are a few errors less, for the case a object is destroyed while registered as a border element in the sub manager. This adds a few more callbacks to the list of callbacks, however, i could not messure a big performance impact. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10067
2019-09-23ecore_thread: Fix arguments to match with the function call.Woochanlee
see the _eina_thread_internal() function r = c->func((void*) c->data, eina_thread_self()); The second param has been missed in ecore_thread_worker, ecore_direct_worker functions. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10073
2019-09-23build: fix EFL_VERSION_MICRO defineMike Blumenkrantz
this was never pulled in from the build system and thus was never actually defined Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10078
2019-09-23efl_ui/layout: move 'frozen' struct member to be a bool bitflagMike Blumenkrantz
this is already handled by edje, all we really want here is a flag to avoid more eo lookups internally when calling canvas_group_change Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10079
2019-09-23cxx: Fix some warnings from -WextraLauro Moura
Summary: - As we don't have C++17's [[fallthrough]], rely on GCC'd detection of fallthrough comments. See https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ - Replaced some copy constructors with typecast operators. Previously, a constructor with remove_const/remove_cv were used to allow const iterators to be constructed from non-const iterators. This had the side effect of making these constructors actual copy constructors for non const lists. As we did not define other special constructors/operators, the rule of 5 were violated for these cases. This commit replaces these constructors with actual typecast operators that promote non const iterators to their const counterparts. - Cast a Eina_Bool/bool narrowing conversion - Add a missing break statement from D10050 Reviewers: zmike, brunobelo, felipealmeida Reviewed By: brunobelo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9934
2019-09-23docs: Efl.Ui.Widget_Scroller_Content updated docsXavi Artigas
Summary: Ref T8254 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8254 Differential Revision: https://phab.enlightenment.org/D10082
2019-09-23eina_array: do not mix declaration and definitionVincent Torri
fix warning when used in C90 code. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10077
2019-09-23gesture: fix it not to lose information by dividingWonki Kim
division of integer by integer results integer. this patch fix the case to make a division result more precise. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10039
2019-09-23theme: efl/photocam -> efl/image_zoomableMike Blumenkrantz
the theme group for a class should match its class name ref T8231 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D10052
2019-09-23theme: remove dead popup theme groupsMike Blumenkrantz
these widgets were removed ref T8231 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D10054
2019-09-23eina_log: ensure that we do not spam journald with our intree binariesMarcel Hollerbach
EFL_RUN_IN_TREE is set for all binaries that are executed during build time, and test suites. With this commit we are ensuring that we are not sending messages during that time to journald, otherwise we would waste a lot of time + we would create a lot of unneccessary log messages. (eina test suite runtime with journald hook: 11.21s without journald hook: 0.57s) Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10076
2019-09-23eolian: allow read-only stringshare in eventsDaniel Kolesa
While the type cannot be moved to the callee, it at least provides a hint that it's a stringshare, leeting people ref it instead of copying.
2019-09-23ci: add back target to do out-of-tree test buildMike Blumenkrantz
this is necessary in order to ensure that our headers are usable ref T8228 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10036
2019-09-23elementary: unref objects when memory allocation fails in factoryJaehyun Cho
The objects referenced are unreferenced when memory allocation fails in elementary factory. Differential Revision: https://phab.enlightenment.org/D9968
2019-09-23ector engine: +null checking.Hermet Park
Null pixels is allowed when drawing region is 0, In that case, the pixel buffer can be destroyed earlier by vg. @fix
2019-09-23efl_ui_tab_pager: fix infinite selected callsJaehyun Cho
Since tab_pager's _select() and tab_bar's _selection_change_cb() cause calling each other infinitely.