summaryrefslogtreecommitdiff
path: root/src/lib (follow)
AgeCommit message (Collapse)Author
2019-08-01evas_gl: implement EvasGL ES 3.2Daekwang Ryu
add a wrapper function for glFramebufferTexture. some bugs were fixed. I tested on Ubuntu 14.04(x64) and nVidia 375 driver with VK-GL-CTS Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D4831
2019-08-01eolian: remove __builtin_free_cbDaniel Kolesa
This has long been unused. If we need to replace this eventually, it should be done correctly.
2019-08-01eolian: disallow ptr() in containers in stable APIDaniel Kolesa
2019-08-01efl_ui_collection: Mark unused parameterChristopher Michael
double align is actually unused in this function, so mark it as such
2019-08-01efl_input_clickable: add longpress_abortWooHyun Jung
Now, a specific class which uses efl_input_clickable_util is able to cancel ongoing longpress event by calling longpress_abort. This commit shows how efl_ui_text uses longpress_abort to satisfy its own longpress use case ref T7847 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9455
2019-08-01efl_ui_clickable_util: remove efl_input_processed_setWooHyun Jung
Summary: efl_input_processed_set needs to be used only when specific event marks that it is monopolizing current user interaction. (such as scrolling). But, press event or unpress event looks not that proper. Reviewers: bu5hm4n, Jaehyun_Cho Reviewed By: bu5hm4n, Jaehyun_Cho Subscribers: AbdullehGhujeh, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9454
2019-07-31efl_ui_position_manager: move from accessor to function callbackMarcel Hollerbach
this commit enables access to the item structure of the collection via a function callback. The function callback now enables batching for items, which does not pay off right now. However, a few more optimizations can be done in order to get the whole payoff. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9445
2019-07-31eolian-cxx: Add special type tags to make function_wrapper specializations ↵Felipe Magno de Almeida
unique Reviewers: lauromoura, bu5hm4n, woohyun Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9469
2019-07-31efl_ui/win: use efl_ui_image internally for non-legacy widgetsMike Blumenkrantz
switch to using a fully non-legacy widget when this is not being created with elm_win_add Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9466
2019-07-31elm/colorselector: go back to using elm_box internallyMike Blumenkrantz
legacy widgets should not use efl_ui widgets internally and vice versa reverts b11f3717036bc4675fde5ffbc26775262a184465 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9465
2019-07-31elm/colorselector: directly use smart callback api hereMike Blumenkrantz
this is not a mixed legacy+unified widget, so we don't need to use efl api here Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9464
2019-07-31efl_ui/tags: use flow box internallyMike Blumenkrantz
the existing layout code here is basically just a flow box, so use that instead to avoid mixing legacy widgets in unified ones Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9463
2019-07-31evas_textblock: change font-size/font-family only using EFL.Text.Font Interfaceali
Currently: User cannot change font size only, he needs to set both font and font size with (**efl_text_font_font_set**) To change size only, you need to make two calls, one to get font (**efl_text_font_font_get**) , then pass it again with new size to (**efl_text_font_font_set**). New Behaviour: If user want to change size only, then he passes NULL as font argument to keep same font. If user want to change font only, then he passes 0 as font-size argument, to keep same font-size. Notes: This is not best solution, but it better than current behaviour. I think best solution to have separate function to set font size, but It might break current api or duplicate functions. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9158
2019-07-31efl_ui_check/radio: use clickableMarcel Hollerbach
Summary: with this commit the state of the check / radio buttons are changes when the Widget is clicked. The Widget is now using clickable and emits all the events. ref T7865 Reviewers: segfaultxavi, zmike, Jaehyun_Cho, woohyun Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7865 Differential Revision: https://phab.enlightenment.org/D9456
2019-07-31evas events - fix segv if pointer data is freed by cbCarsten Haitzler (Rasterman)
callback can free what is in context. avoid that problem @fix
2019-07-31Efl.Composite_Model: Improve docs.Xavi Artigas
2019-07-31ecore_wl2: Changed log macro ERR->EINA_LOG_ERR.Woochanlee
Summary: When the ecore_wl2_shutdown() calling without ecore_wl2_init(). It makes crash. Reviewers: eagleeye, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9452
2019-07-31Efl.Ui.Spin: Remove mouse wheel interactionXavi Artigas
This widget is now meant as a base class for other widgets, with very limited user interaction. Efl.Ui.Spin_Button already takes care of mouse wheel events. Ref T7897 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9453
2019-07-31efl_ui_spotlight: pop() unpacks content although there is one contentJaehyun Cho
Previously, pop() does not unpack content if there is one content. Now, pop() unpacks content without transition if there is one content. Since there is no transition, NULL future is returned. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9450
2019-07-31Revert "edje/calc: clamp part calc size to 0"Carsten Haitzler (Rasterman)
This reverts commit 895ffd93cc5d9e183420bbedb86ec92f5c7e5369. This commit broke E's widget toolbars that only had text - so many config dialogs broke. too simple to fix - it's a wrong premise to begin with it would seem.
2019-07-31efl_pan: improve docsMarcel Hollerbach
Summary: documentation now reflects what is happening in the functions Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8863
2019-07-31efl_ui_*: add the new events to the widgetsMarcel Hollerbach
previous commit introduced new events to range_display. This commit ensures correct emittation of those events. ref T7895 Differential Revision: https://phab.enlightenment.org/D9372
2019-07-31efl_ui_range_display: move events from spinMarcel Hollerbach
we concluded min,reached and max,reached should be on every widget that implements range_display. This here is the start of that work, the events are moved, next commit fixes all widgets, the last commits enables tests in the spec unit test. ref T7897 ref T7895 Differential Revision: https://phab.enlightenment.org/D9371
2019-07-31efl_ui_item: remove sizing eval codeMarcel Hollerbach
i do not know why this code is there. But the same code is called in layout itself, additionally this results in way less calls for calculating the minsize (Not sure why). Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9425
2019-07-31efl_ui_spotlight: add scroll_block to Manager_ScrollJaehyun Cho
To support blocking of scrolling movement, @property scroll_block has been added to Manager_Scroll. If scroll_block is set to be true, then scrolling movement by mouse input is blocked. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9444
2019-07-30ecore: Fix download test.Lauro Moura
Summary: After ecore_main_loop_quit() changes, calling it from outside the main loop does not make the next iteration of the main loop quit, causing the original version of the test to deadlock. Also update the function documentation about it. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, felipealmeida, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9448
2019-07-30efl_ui/layout: use MAX macro for min size clamping in group calcMike Blumenkrantz
Summary: Depends on D9442 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D9447
2019-07-30efl_ui: always set restricted_min size hints internallyMike Blumenkrantz
Summary: regular min size hint is for users, internal calcs should use restricted @fix Depends on D9441 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9442
2019-07-30elm_layout: move elm_layout_sizing_restricted_eval to layout mixinMike Blumenkrantz
Summary: this function should never need to be called on new widgets Depends on D9440 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9441
2019-07-30elm_layout: create a mixin to provide elm_layout_sizing_evalMike Blumenkrantz
Summary: this removes elm_layout_sizing_eval entirely from the implementation hierarchy of any efl_ui-based widgets, ensuring that future code will correctly use efl_canvas_group functionality Depends on D9439 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9440
2019-07-30elm/efl_ui: remove elm_layout_sizing_eval implementationsMike Blumenkrantz
Summary: historically there have been two methods of calculating sizes in elm: * elm_layout_sizing_eval * evas_object_smart_calculate (now efl_canvas_group_calculate) the former was used to set size hints on widgets, while the latter was used to perform internal size calcs for the widget. for things to work correctly, these functions had to be triggered in just the right order at just the right time. many hard-to-fix bugs related to widget sizing over the years have been the result of this split this patch removes elm_layout_sizing_eval implementations so that all widgets perform both internal size calcs and size hint setting all in the same function, ensuring that these are always in sync the result is that in the vast majority of cases, far fewer recalcs happen for widgets, and they are quicker to achieve their final size Depends on D9438 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9439
2019-07-30efl_ui/layout_base: add subobjs_calc internal functionalityMike Blumenkrantz
Summary: this functionality forces group_calc on a layout's subobjects during layout group_calc so that the layout's own group_calc will yield consistent and correct results currently this is only used in panel widgets Depends on D9437 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9438
2019-07-30efl_ui/layout_base: add "finger_size_multiplier" propertyMike Blumenkrantz
Summary: this feature is set on objects which inherit from layout_base in order to allow automatically application of variable finger sizes based on a widget's needs an example of this would be a calendar, which is 7:8 fingers this functionality is disabled by passing 0,0 as the property @feature Depends on D9436 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9437
2019-07-30efl_ui/layout: implement group_calc, add finger size for inherited layoutsMike Blumenkrantz
Summary: this adds a group_calc implementation for the layout object (not layout_base) to allow differentiation between inherited layout calcs and layout object calcs by using this, we can automatically apply finger size to inherited layout calcs if the implementation ever reaches this point Depends on D9435 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9436
2019-07-30efl_ui/layout: use min size hints when calculating layout sizeMike Blumenkrantz
Summary: for legacy layouts, all min size hints should be considered when performing size calculations for non-legacy layouts, only "user" min size hints should be considered, as we are calculating the restricted min size hint in this function Depends on D9434 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9435
2019-07-30efl_ui: change calls to elm_layout_sizing_eval to efl_canvas_group_changeMike Blumenkrantz
Summary: elm_layout_sizing_eval is a legacy function which should not need to be called on new widgets Reviewers: segfaultxavi, bu5hm4n Reviewed By: bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T8059 Differential Revision: https://phab.enlightenment.org/D9434
2019-07-30Revert "evas_object_textblock: add support for variation sequences"Marcel Hollerbach
This reverts commit f7ce771e3243e19f8a12672ea2be752dedccbcf6.
2019-07-30csharp: Add marshal support for Eina.ValueTypeLauro Moura
Summary: It uses a custom marshaler and a helper boxing class to convert between the managed enum values and the native Eina_Value_Type pointers. To be used by future MVVM machinery. Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9443
2019-07-30eolian: make strbuf ownableDaniel Kolesa
2019-07-30Fix typo in Efl prefixXavi Artigas
This annoyed me far far far more than it should.
2019-07-29edje/calc: clamp part calc size to 0Mike Blumenkrantz
this could previously have been negative @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9431
2019-07-29elm/config: fix config usage with EFL_RUN_IN_TREE setMike Blumenkrantz
when running in tree, elm_config should not attempt to access files outside the tree, nor should it attempt to overwrite any existing config files @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9433
2019-07-29elm/config: monitor MODIFIED events on config filesMike Blumenkrantz
eio/inotify now receives these events when the config file is modified, even though the file is copied onto that location. this fixes config updating at runtime @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9432
2019-07-29efl_ui_pan: emit position changed when content is resizedMarcel Hollerbach
even if the position is not really changed here, the min / max relation has changed. If we do not emit this event here, every user (that calculates a relative position) would have to monitor the pan position and the size of the content. This simplifies the given usecase, and fixes the scroller position when new items are added to the collection. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9411
2019-07-29elm_test: add a example that shows efl_ui_item instancesMarcel Hollerbach
this is just a little showcase to show the possible items Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9430
2019-07-29efl_ui/popup: unset callbacks on win object when parent is removedMike Blumenkrantz
these callbacks must be removed if there is no parent, otherwise they may trigger once the widget is deleted and trigger invalid object access @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9429
2019-07-29evas_object_textblock: add support for variation sequencesAli Alzyod
update font processing to handle variation sequences unicodes to select proper glypg in respect to variation seqences Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9053
2019-07-29efl_ui_item: try to improve docsMarcel Hollerbach
its everything but perfect, but a start ... Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9424
2019-07-29efl_ui_item: migrate to Efl.Ui.ClickableMarcel Hollerbach
this adds the mixin to the item. With this commit every class inheriting from Efl.Ui.Item will automatically emit all the clickable events. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8830
2019-07-29efl_ui/popup: implement efl.file.unload for popup backwall partMike Blumenkrantz
this fixes unsetting images for popup backwall @fix Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9415