summaryrefslogtreecommitdiff
path: root/src/lib (follow)
AgeCommit message (Collapse)Author
2019-02-06edje: make legacy edje call rely directly on edje internal.Cedric BAIL
Reviewers: zmike, q66, segfaultxavi, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7671 Differential Revision: https://phab.enlightenment.org/D7869
2019-02-06ecore-drm2: Minor formatting fixes.Christopher Michael
NB: No functional changes
2019-02-06ecore-drm2: Reduce duplicated codeChristopher Michael
No need for this line to be there twice as it is going to be called in either case. NB: No functional changes
2019-02-06ecore-drm2: Remove useless if checkChristopher Michael
_ecore_drm2_use_atomic is already checked just above this, so there is no need for this if statement
2019-02-06eo: remove whitespacesMarcel Hollerbach
remove the whitespaces from this file. Every editor in this world removes unneccessay whitespaces at the end of a line. So every time i am touching this header, i need to get rid of them, which is super annoying. I know we are used to *not* doing such patches, but this is just a waste of time, getting them out of the header every and every single time. Differential Revision: https://phab.enlightenment.org/D7880
2019-02-06eo: repair EO_CLASS_POINTER macrosMarcel Hollerbach
the function has changed, but the macro was not adjusted. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7878
2019-02-05docs: Minor Efl.Access.Window EO fixesXavi Artigas
2019-02-04eo: implement class overriding (+unit tests)Mike Blumenkrantz
this enables an app or a platform to add an override for a given class, then return a different object when that class is created. the benefit is that a class can be internally customized by the app without needing to modify upstream versions of that class @feature fix T7516 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7702
2019-02-01efl_interfaces: missing interfaces prefixLarry Lira
Summary: efl_ui_direction_readonly.c is missing "interfaces" prefix path in .eo.c include Reviewers: lauromoura, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7848
2019-02-01replace hton and ntoh family functions with ones defined in einaVincent Torri
Summary: This fixes especially the execution of edje_cc on Windows Test Plan: execution of edje_cc Reviewers: cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7834
2019-02-01eo: fix efl_isa to work propertly with interfacesMarcel Hollerbach
mro only contains special interfaces, not in general all, in order to have a working function, while NOT having a bad performance. In order to achive that we just copy the code that is done on efl_isa for a object. which is a linear walk of a list ref D7857 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7860
2019-02-01ecore_imf: fix wrong sample codeJihoon Kim
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-02-01Revert "evas: make efl_canvas_animation abstract"Jaehyun Cho
Efl.Canvas.Animation class can be used for custom animation with Efl.Player class' event callbacks as follows. Example code: void _anim_running_cb(void *data, const Efl_Event *event) { //Do custom animation } { Eo *anim = efl_add(EFL_CANVAS_ANIMATION_CLASS, win); Eo *player = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, efl_animation_player_animation_set(efl_added, anim)); efl_event_callback_add(player, EFL_ANIMATION_PLAYER_EVENT_RUNNING, _anim_running_cb, NULL); } As a result, Efl.Canvas.Animation is required to be a regular class instead of an abstract class. This reverts commit ea9ff9f547b54255d36973da8e8ba378c5ad2684.
2019-02-01efl_ui_win_part: remove unused interfaceWooHyun Jung
Summary: Efl.Gfx.Entity is not used in Efl.Ui.Win.Part. The interface can be added when it is needed later. ref T5719 Test Plan: make check Reviewers: zmike, bu5hm4n, cedric, Jaehyun_Cho, Hermet Reviewed By: Hermet Subscribers: Hermet, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T5719 Differential Revision: https://phab.enlightenment.org/D7844
2019-01-31evas_private: Fix typoDerek Foreman
Summary: Depends on D7853 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7854
2019-01-31evas_object_smart: Consistently use MY_CLASSDerek Foreman
Summary: While it may not be popular opinion that MY_CLASS is confusing and does more harm than good, using it sometimes and not others in the same file is pretty obviously not helpful to casual readers. Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7852
2019-01-31efl_ui_win: add 'exit_on_close' property and unit testMike Blumenkrantz
Summary: this property can enable the associated window to quit the main loop with the passed exit code when the window is destroyed @feature fix T5494 Depends on D7594 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T5494 Differential Revision: https://phab.enlightenment.org/D7595
2019-01-31efl_ui_win: add 'exit_on_all_windows_closed' class property and unit testMike Blumenkrantz
Summary: this property causes the main loop to exit with the passed exit code when the standby event is triggered @feature ref T5494 Reviewers: cedric, bu5hm4n, segfaultxavi Reviewed By: cedric, bu5hm4n, segfaultxavi Subscribers: segfaultxavi, bu5hm4n, #reviewers, #committers Tags: #efl Maniphest Tasks: T5494 Differential Revision: https://phab.enlightenment.org/D7594
2019-01-31elput: Update doxygen parametersChristopher Michael
NB: No functional changes
2019-01-31ecore_drm2: Add API to allow settings tap-to-click on pointer deviceMichaël Bouchaud (yoz)
Summary: Add a way to configure pointer device with tap-to-click features. @feature Depends on D7843 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7847
2019-01-31elput: Add API to allow settings tap-to-click on pointer deviceMichaël Bouchaud (yoz)
Summary: Add a way to configure pointer device with tap-to-click features. @feature Reviewers: ManMower, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7843
2019-01-31elm_code: Fix formatting of error stringChris Michael
the ERR line here used %s for 'mode', but 'mode is an unsigned int thus causing compiler warning. Fix it.
2019-01-31ecore-evas-buffer: Fix formattingChris Michael
NB: No functional changes
2019-01-31efl_ui_tab_bar: fix tab sizing issueBowon Ryu
Summary: The default value of hint_align has changed. So change the hint_align of tab(layout) to HINT_FILL. * Recently, the size_hint_fill API has been added, but currently tab_bar is not available because it uses evas_object_box. * I plan to change evas_object_box to efl.ui.box in the future. Test Plan: elementary_test -to efl.ui.tab_pager Reviewers: Jaehyun_Cho, YOhoho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7835
2019-01-31efl_model : rename all efl_model based classes.SangHyeon Jade Lee
Summary: As the result of discussion in T7458, we need to rename all efl_model based classes with efl_XXX_Model sequence. I've run few vote for this, see V42, V43 few classes are totally renamed as our consideration of misnaming. | Efl.Model_Loop | Efl.Loop_Model | | Efl.Model_Item | Efl.Generic_Model | | Efl.Model_Container | Efl.Container_Model | | Efl.Model_Container_Item | Efl.Container_Model_Item | | Efl.Model_Composite | Efl.Composite_Model | | Efl.Model_Composite_Boolean | Efl.Boolean_Model | | Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item | | Efl.Model_Composite_Selection | Efl.Select_Model | | Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item | | Efl.Model_View | Efl.View_Model | | Eio.Model | Efl.Io.Model | | Efl.Ui.Model_State | Efl.Ui.State_Model | | Efl.Ui.Model_Size | Efl.Ui.Size_Model | | Efl.Ui.Model_Exact | Efl.Ui.Exact_Model | | Efl.Ui.Model_Average | Efl.Ui.Average_Model | | Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model | I worried about Efl.Io.Model changes, cause it is widely used, but as I tested, there is no issue found yet. Eldbus.Model also may can changed Efl.Dbus.Model, but I cannot found any class who using Efl.Dbus namespace, so I left it future work. Test Plan: Run the Make Test, it works well except Efl test about selection. there are class inheritance problem exist in select_model, I reported it and will fix it in another patch. Reviewers: cedric, felipealmeida, woohyun, Hermet Reviewed By: cedric Subscribers: lauromoura Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D7533
2019-01-30elm: fix dereferencing issue and add error handling and remove unreachable ↵Myoungwoon Roy, Kim
codes. Summary: I had fixed dereferencing issue and added chmod error handling(elm_code_file) I had removed unreachable codes which remains after changing arguments initiallization(efl_ui_win) Test Plan: Run unit test cases Reviewers: eagleeye, Jaehyun_Cho, Hermet, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7816
2019-01-30elementary: add internal Efl_Ui_Model_Average.Cedric BAIL
This model enable View that require to compute the size of their item to rely on its logic to store all items size independently. It has the same interface as the Homogeneous and should be exchangeable for a View. It provide an average total size at all time. It use Efl.Ui.Model_Exact to do most of the work and is a good example on how to alter a Model logic. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7661
2019-01-30elementary: add internal Efl_Ui_Model_Exact.Cedric BAIL
This model enable View that require to compute the size of their item to rely on its logic to store all items size independently. It has the same interface as the Homogeneous and should be exchangeable for a View. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7660
2019-01-30elementary: add internal Efl_Ui_Model_Homogeneous.Cedric BAIL
This model enable View that require to compute the size of their item to rely on its logic to have all items of the same size. It is the equivalent of the Homogeneous behavior of Genlist, except that now this behavior can be customized outside of the View logic itself. Differential Revision: https://phab.enlightenment.org/D7659
2019-01-30elementary: add internal Efl_Ui_Model_Size.Cedric BAIL
This model enable View that require to compute the size of their items to rely on an interface to provide the properties they need to get the object size. This is the base class for all the sizing logic of the new List/Grid View. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7658
2019-01-30ecore: add an index property on Efl.Model_Composite and handle ↵Cedric BAIL
children_slice_get. This will enable inheriting class to not have to implement as much code. This patch fix also all class that use Efl.Model_Composite and its test. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7654
2019-01-30elementary: update Efl.Ui.Caching_Factory to rely on Efl.Ui.Widget_Factory ↵Cedric BAIL
for Efl.Ui.Widget. I am not sure we really need Efl.Ui.Caching_Factory after this, but in case we want a Caching_Factory for non Efl.Ui.Widget, this is supported by this patch (And is the reason why most of the complexity). The benefit from inheriting from Efl.Ui.Widget_Factory allow to get the style of an Efl.Ui.Widget defined by an Efl.Model properly done at creation time. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Reviewed-by: Larry Lira <larry@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7705
2019-01-30elementary: add Efl.Ui.Widget_Factory.Cedric BAIL
The Widget_Factory is in charge of creating any object that inherit from Efl.Ui.Widget Class. If the style property is connected to a model property, it will fetch it and build the widget with that style. This factory is to be used with every View. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7704
2019-01-30efl_ui: mulibuttonentry is now tagsMarcel Hollerbach
Summary: further more it can be just included here, without this warning. Depends on D7819 Reviewers: zmike, cedric, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7830
2019-01-30efl.file: move 'save' method into separate efl.file_save interfaceMike Blumenkrantz
the save method is implemented very rarely, and most objects which use efl.file will not be able to use a save method ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7786
2019-01-30docs: Add links to Efl.Loop_ConsumerXavi Artigas
2019-01-30eo: check memory allocation of table dataJaehyun Cho
Memory allocation is checked for the given domain's table data like other cases for main and shared table data. Differential Revision: https://phab.enlightenment.org/D7810
2019-01-30efl_ui_win: Load config values into gesture manager.Woochanlee
https://phab.enlightenment.org/T7544 The other config values will be added Later. Differential Revision: https://phab.enlightenment.org/D7540
2019-01-30efl.text_markup: move cursor-related methods to efl.text_markup_interactiveMike Blumenkrantz
many users of the markup property are not interactive text cases, so splitting off the interactive methods resolves a number of unimplemented method issues ref T5719 Differential Revision: https://phab.enlightenment.org/D7787
2019-01-30efl_ui_scroll_manager: avoid some safety check errors on deletionMike Blumenkrantz
only remove callbacks if pan_obj is still alive Differential Revision: https://phab.enlightenment.org/D7822
2019-01-30efl_ui: add proto for efl_ui_focus_relation_free() into headerMike Blumenkrantz
ref T7667 Differential Revision: https://phab.enlightenment.org/D7826
2019-01-30docs: Improve Efl.Ui.Tags documentationXavi Artigas
2019-01-30docs: introduce how to receive media contentJihoon Kim
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-01-30efl_ui: include layout header in Efl_Ui.hMike Blumenkrantz
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7823
2019-01-30efl_ui_list_view: Handling failed memory allocationMyoungwoon Roy, Kim
Summary: Add a logic for handling failed memory allocation to prevent null pointer exception Test Plan: Run unit test cases Reviewers: eagleeye, Jaehyun_Cho, Hermet, zmike, SanghyeonLee Reviewed By: SanghyeonLee Subscribers: SanghyeonLee, cedric, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7829
2019-01-29elm: prevent from accessing null pointer after memory allocationWooHyun Jung
Summary: Add null checking code just after allocating memory Test Plan: make check Reviewers: jypark, Jaehyun_Cho, zmike Reviewed By: Jaehyun_Cho, zmike Subscribers: devilhorns, zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7801
2019-01-29efl_ui_grid: Fix return value from macrosChristopher Michael
The function _grid_item_unpack_internal does not return a value, so these macros should not be trying to return EINA_FALSE.
2019-01-29ecore_wl2_input: update a timestamp whenever possibleWonki Kim
Summary: gettimeofday function returns a accumulated timestamp since around 1970 by the way, a argument from server looks like a system uptime based timestamp in some distribution such as tizen. so that this patch appends a logic that updates a timestamp inside Ecore_Wl2_Input* whenever possible to prevent gettimeofday function from being called. Reviewers: #reviewers, cedric, devilhorns Reviewed By: #reviewers, devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7766
2019-01-29eina modinfo: improve eina modinfo guide.Amitesh Singh
2019-01-29efl gfx_frame_controller: improve doc.Hermet Park