aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Efl.Ui.List_View: precise layout asyncLarry Lira2019-01-114-125/+122
| | | | | | | | | | | | | | | | 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.
* 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
* 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-101-1/+1
| | | | | | 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-101-1/+1
| | | | | this patch provides a way to config hyphen dictionaries dir on meson. Differential Revision: https://phab.enlightenment.org/D7581
* 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-101-6/+15
| | | | | | | | | | | | | | | | | | 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: 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
* 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-091-7/+7
| | | | | | | | | | | | 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-099-2/+291
| | | | | | | | | | | | | | | 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-095-5/+14
| | | | | | | its purpose. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7442
* 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.
* 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
* 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.
* evas vg: don't draw invisible nodes.Hermet Park2019-01-071-0/+2
|
* eo: move definitions of priority from Eo.h to the objectMarcel Hollerbach2019-01-042-25/+15
| | | | | | | | | | 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
* meson: lets keep dependencyMarcel Hollerbach2019-01-041-3/+3
| | | | | | | | | | 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.
* meson: and another missing file in ecoreMarcel Hollerbach2019-01-041-0/+1
| | | | | | | | | 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
* efreet: Add installation prefix search for XDG_DATA_DIRS.Alastair Poole2019-01-031-0/+10
| | | | | | | | | | | | | | | | | | 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
* ecore: define behavior when no getter/setter callback function is defined ↵Cedric BAIL2019-01-021-4/+21
| | | | | | | | | | 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
* ecore: add an helper class Efl.Model_ViewCedric BAIL2019-01-024-1/+677
| | | | | | | | | | | | 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
* ecore: correct object constness and documentation of future_resolved and ↵Cedric BAIL2019-01-022-9/+28
| | | | | | | future_rejected functions. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7486
* ecore: allow for not specifying any static string in ↵Cedric BAIL2019-01-021-3/+2
| | | | | | | Efl.Model.properties.get helper. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7485
* ecore: don't forget to initialize structure.Cedric BAIL2019-01-021-1/+1
| | | | | Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7484
* ecore: make sure that events are being forwarded first.Cedric BAIL2019-01-021-4/+4
| | | | | | | | | In case the model being set has already gotten some event callback set on it, to avoid strange behavior, like event not propagating, it seems best to make sure the event are forwarded first. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7483
* cxx: fix build to generate Eina_Future.Lauro Moura2019-01-021-6/+6
| | | | | | | | This doesn't enable future support in the C++ binding, just allow to build the binding. Signed-off-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>> Differential Revision: https://phab.enlightenment.org/D7498
* eo: enable priority with event forwarder.Cedric BAIL2019-01-023-14/+28
| | | | | | | | | | Note: Their isn't any ability to do something like a static array of events at the moment. It might lead to large memory being used when it wouldn't be necessary. If that was the case, we could fix it, but it would require a lot of dynamic hash operation I think. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7482