aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eolian: introduce the keyword requiredMarcel Hollerbach2019-01-118-2/+210
| | | | | | | | | | | | 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
* efl-csharp: Temporarily blacklist forwarder function.Lauro Moura2019-01-111-0/+1
| | | | | Depends on support for constants that will come with T7506 Differential Revision: https://phab.enlightenment.org/D7596
* Efl.Ui.List_View: precise layout asyncLarry Lira2019-01-115-126/+123
| | | | | | | | | | | | | | | | 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
* evas textblock update calculation - account for clipped color changesJaehyun Cho2019-01-111-1/+5
| | | | | | | | 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.
* meson: correct option descriptionDaniel Zaoui2019-01-101-1/+1
| | | | Copy-paste has done its work here :-)
* eo: improve documentation for event forwarder.Cedric BAIL2019-01-102-6/+27
| | | | | Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7532
* optimize glyph images data copy into 4 byte aligned imagesAli Alzyod2019-01-101-12/+14
| | | | Differential Revision: https://phab.enlightenment.org/D7461
* evas: remove memory leaks from deleted Textblock objectsYoungbok Shin2019-01-101-0/+2
| | | | | | | | | | | | 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
* efl_ui_win: make win work for evas_norenderShinwoo Kim2019-01-101-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* meson: add a option to config the base directory name for elm dataWonki Kim2019-01-102-2/+8
| | | | | | 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
* meson: Add a option for hyphen dictionaries directoryWonki Kim2019-01-102-1/+7
| | | | | this patch provides a way to config hyphen dictionaries dir on meson. Differential Revision: https://phab.enlightenment.org/D7581
* meson: define HAVE_TSLIB once tslib option is setWonki Kim2019-01-101-0/+4
| | | | | | Nowhere refers to the tslib option This patch provides a way to set HAVE_TSLIB Differential Revision: https://phab.enlightenment.org/D7582
* meson: elm: add pie and fPIC cflags and ldflags to elm binariesStefan Schmidt2019-01-101-1/+2
| | | | | | | | | | | | | 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>
* efl_loop: remove FIXME that is doneMarcel Hollerbach2019-01-101-1/+0
| | | | | | | | | | | | | | | | | | | 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
* efl_task: remove NOP / unimplement funtionsMarcel Hollerbach2019-01-102-24/+3
| | | | | | | | | | | | | | | | | | | | | 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
* cxx: Add class get name attribute.Lauro Moura2019-01-103-7/+30
| | | | | | | | | | | | | | | | | | 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
* meson: fix a potentionally unexpected behaviorWonki Kim2019-01-101-5/+2
| | | | | | lidrm is defined in different locations, which causes a unexpected behavior. this patch fixes it in advance. Differential Revision: https://phab.enlightenment.org/D7567
* meson: refactor meson.build for ecore_wl2Wonki Kim2019-01-101-2/+5
| | | | | this patch cleans emson.build for ecore_wl2 up little. Differential Revision: https://phab.enlightenment.org/D7565
* meson: modify options for enabling the bindingsWonki Kim2019-01-103-22/+9
| | | | | | | | | | | | | | | | | | | 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
* meson: excludes stuffs related with gst if gst is disabledWonki Kim2019-01-102-3/+16
| | | | | | | 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
* evas doc: fix minor typos.Hermet Park2019-01-101-4/+4
|
* evas vg: clear mask buffer properly.Hermet Park2019-01-101-0/+5
| | | | when mask buffer is reused, it must be cleared first.
* doc: specify memory units in Efl.Cached.ItemXavi Artigas2019-01-091-1/+1
|
* eo: fix MacOS break.Cedric BAIL2019-01-091-1/+1
| | | | | Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7571
* efl: remove warning due to unused variable/parameters.Cedric BAIL2019-01-094-10/+9
| | | | | | | | | | | | Reviewers: #committers, felipealmeida, zmike Reviewed By: #committers, felipealmeida, zmike Subscribers: zmike, YOhoho, Hermet, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7554
* elementary: enable caching for Efl.Ui.LayoutFactory.Cedric BAIL2019-01-092-17/+21
| | | | | Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7445
* elementary: enable caching for Efl.Ui.ImageFactory.Cedric BAIL2019-01-092-16/+22
| | | | Differential Revision: https://phab.enlightenment.org/D7444
* elementary: add a factory that handle caching for you.Cedric BAIL2019-01-0911-2/+294
| | | | | | | | | | | | | | | 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
* efl: add a factory Eina_Error and rename the file to be more on point with ↵Cedric BAIL2019-01-096-7/+16
| | | | | | | its purpose. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7442
* eo: add a test to enforce the upper limit of our base object size.Cedric BAIL2019-01-091-0/+9
| | | | Differential Revision: https://phab.enlightenment.org/D7523
* eo: add the ability to get the size of object of a certain class.Cedric BAIL2019-01-092-1/+35
| | | | | | | | | | 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
* eo: provider find actually is just accepting Efl.Class, maybe an hystoric ↵Cedric BAIL2019-01-091-1/+1
| | | | | | | | 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
* elm dnd/selection - only query wl things if thje window is a wl one...Carsten Haitzler (Rasterman)2019-01-093-45/+23
| | | | | check at RUNTIME not just with ifdefs at compile time. less ERR noise for sure.
* edje - stop trying to access ready deleted exrt/group swallow objectsCarsten Haitzler (Rasterman)2019-01-091-2/+1
| | | | | | | | _edje_real_part_swallow_clear() would try and manipulate already deleted group/external objects (not manually swallowed ones) thus causing safety noise. @fix.
* ledbus - fix codegen to not conflict keys with eldbus inyternalCarsten Haitzler (Rasterman)2019-01-091-8/+8
| | | | | | | __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.
* ecore: modify documentation for ecore_thread_waitWonki Kim2019-01-091-0/+3
| | | | | | | | | | | | | | 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
* textblock: Fix crash with filtersJean-Philippe André2019-01-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_text: remove duplicated empty string initializationYeongjong Lee2019-01-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* ecore-con: Add missing EINA_UNUSED for unused parameterChristopher Michael2019-01-091-1/+1
|
* ecore-con: Minor formatting fixChristopher Michael2019-01-091-1/+1
| | | | NB: No functional changes
* evas vg: refactor internal function name.Hermet Park2019-01-098-27/+24
| | | | | | | Specify explict svg name in vg common function since the function totally depends on svg spec. No logic changes.
* elm win - we forgot to add gl_drm to possible elm win enginesCarsten Haitzler (Rasterman)2019-01-083-4/+18
| | | | | 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.
* elementary genlist: make it sure object type.Hermet Park2019-01-081-3/+6
| | | | | | | | | | | | | | | | | 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
* elementary selection_manager: remove unused paramter warning.Hermet Park2019-01-081-1/+2
|
* evas vg: remove unused parameter warning.Hermet Park2019-01-081-1/+1
|
* ecore thread: remove an unused variable.Hermet Park2019-01-081-1/+0
|
* ecore model_view: remove unused compile warning.Hermet Park2019-01-081-5/+5
|
* efl shape: remove unused parameter warning.Hermet Park2019-01-081-1/+1
|
* evas vg: enable visibility true by default.Hermet Park2019-01-081-0/+1
| | | | | | | | | | | | | | | 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.
* doc: Add support for DocFX (C# doc generator)Xavi Artigas2019-01-0711-0/+262
| | | | | | | | | | | | | | | | | | | | 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