path: root/src/lib/efl (unfollow)
AgeCommit message (Collapse)Author
2018-12-07elementary: make Efl.Ui.Factory.create asynchronous.Cedric BAIL
Reviewers: felipealmeida, SanghyeonLee, vitor.sousa, bu5hm4n, segfaultxavi Reviewed By: felipealmeida, vitor.sousa, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision:
2018-12-06meson: use eolian_gen with -SMarcel Hollerbach
this ensures that eolian does not parse installed .eo files Differential Revision:
2018-12-03meson: use eolian_gen with -SMarcel Hollerbach
this ensures that eolian does not parse installed .eo files Differential Revision:
2018-11-28meson: include whole src/lib for eo file generation in ifacesDaniel Kolesa
In autotools, src/lib is used as an include path for finding eo files, which is the same behavior you would get as when using a system directory. In meson, this was changed to include only certain directories. This presents a problem (05682eed7d572874928424af82fba819790c4228) as it is not possible to reference symbols from other paths within documentation. Since this is necessary for the time being, work around the problem by doing a whole src/lib include for now, which fixes the parsing. Longer term solution is to be discussed and implemented.
2018-11-28eo-docs: Remove Doxygen tags from efl*.eo filesXavi Artigas
Summary: - Replace '\@ref name' with '@name' - Remove unused \@internal tag This tag affects text AFTER it, and there is no text after it. - Remove \@note tag Replaced with a simple NOTE: text, since eolian does not have an equivalent tag. - Remove spurious \@Efl... tags They should really be @Efl... - Remove \@p tags There is no eolian equivalent, and a simpler $ suffices in this case. Fixes T7482 Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7482 Differential Revision:
2018-11-23ecore,efl: add Efl.Model.property_get helper which will suceed once when a ↵Cedric BAIL
property finally has a value. Reviewed-by: Vitor Sousa da Silva <> Differential Revision:
2018-11-23efl: make Efl.Model.properties_get return an Iterator<string>.Cedric BAIL
Reviewed-by: Vitor Sousa da Silva <> Differential Revision:
2018-11-23efl_interpolator: change Efl.Interpolator class to interfaceJaehyun Cho
Since Efl.Interpolator's subclasses are used as interpolator class, Efl.Interpolator class is changed to be an interface. This change allows Efl.Canvas.Animation to have Efl.Interpolator as its property in efl_canvas_animation.eo.
2018-11-20efl_ui_format: remove supporting default TM format in interface.Woochanlee
Summary: efl_ui_format printed ERR log in calendar use case. calendar only accept format as "B,b,h,m,y,Y" But it doesn't cover that and not supporting TM type. If there is other widget which one using format interface, It also has own accpeted format. So i think it should impelment on widget side. Test Plan: elementary_test -> efl_ui_calendar. Reviewers: Hermet, singh.amitesh, Jaehyun, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision:
2018-11-12efl interface: update efl_gfx_shape_stroke_dash doc.Hermet Park
2018-11-06Efl text style: remove 'underline2_type' propertyDaniel Hirt
This moves the logic to the 'underline_type' property, in which we define the type.
2018-11-05Text: add markup_range_getDaniel Hirt
This allows to retrieve the markup representation of the current text. @feature
2018-10-24meson: prepare general build for the bindingsMarcel Hollerbach
for bindings we needed a system that could be used to find all special directories of every subsystem, for eo files headers etc. The mechanism is documented in the root Differential Revision:
2018-10-24meson: add eolian custom dependencies supportDaniel Kolesa
This uses the meson/ninja depfile functionality + eolian to make sure proper dependencies between generated files and .eo files are managed, to ensure consistent re-generation of all generated files that are affected upon .eo file modification. For custom rules with multiple outputs, Ninja currently does not support depfiles. Therefore, split those into two custom rules so that the depfiles functionality can be enabled. While this is ugly and slows down the process a little by having to invoke Eolian twice instead of once, it has to be done and it's still better than what we had in Autotools anyway. Differential revision: D7187 Fixes T6700.
2018-10-18Revert "meson: add cxx bindings"Marcel Hollerbach
This reverts commit 5aaf2cbb5defd64a2048fe90e80004d435bbca1a. The cxx bindings were accidently merged. Things are missing (like .eot.h files)
2018-10-18meson: add cxx bindingsMarcel Hollerbach
this commit adds cxx bindings to meson. Differential Revision:
2018-10-16interface gfx_path: fix incorrect doc content.Hermet Park
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <> Differential Revision: Depends on D7011
2018-09-18efl gfx_path: prevent buffer overflow.Hermet Park
Summary: the counter must be less than 7, don't allow to over the index. @fix Reviewers: #committers Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-08-31docs: Fix typos in API reference doc and comments.Yeongjong Lee
Reviewers: Hermet, segfaultxavi Reviewed By: Hermet, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-08-27Format-string harden eina_strbuf_append_printf useRoss Vandegrift
Summary: gcc -Werror=format-security flags this for lacking a format string. Fixes: Reviewers: #committers, Hermet Reviewed By: #committers, Hermet Subscribers: Hermet, cedric, #reviewers, #committers, zmike Tags: #efl Maniphest Tasks: T7325 Differential Revision:
2018-08-20evas textblock: add/apply cursor cluster APIs based on grapheme clusterYoungbok Shin
Summary: Add a feature for moving cursor over a grapheme cluster. It is applied to edje_entry.c and elm_entry.c for improving cursor handling just like other modern text editors. ex) gedit The patch on Evas needs to update libunibreak library. So, the patch will update libunibreak, too. @feature Test Plan: 1. Put "ഹലോ" in your entry. 2. Your cursor can reach at the end of text from the beginning only in 2 right key event with this feature. Reviewers: raster, cedric, jpeg, herdsman, zmike, devilhorns Reviewed By: herdsman, zmike Subscribers: #reviewers, #committers, zmike, bowonryu, woohyun Tags: #efl Differential Revision:
2018-08-17efl_ui/format: revert some patches to fix some regressionsMike Blumenkrantz
Summary: it seems that the original patch in this case introduced a regression where format strings ending with %% in progressbar would not be displayed correctly. a followup patch attempted to resolve this, but this second patch introduced another regression where some format strings would always display 0% fixing compiler warnings is always valued, but in the case where the patch to fix the warning creates regressions then we will live with the warnings instead This reverts commit b4112b9735ce75bce95974a257aa1880fa52a6bf. This reverts commit be770d37fb05b8486907796dd16f4635bceb4ce1. Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision:
2018-08-08efl/ui_format: Use STRING type for format strings that contain %%Stephen Houston
Summary: This fixes progressbar format strings that contain the pattern %%, thus making it a string and not a format. Test Plan: elementary_test progressbar shows %% on the first vertical progressbar before this patch. afterwords it shows % correctly. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision:
2018-07-31efl_model: fix redefine warningMarcel Hollerbach
Summary: The struct definition here is not needed as it will be redefined anyways later in the efl_model.eo.h header. Depends on D6705 Reviewers: zmike, #committers, lauromoura, felipealmeida Reviewed By: zmike, #committers Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision:
2018-06-25efl_gfx_path: remove unsued function.Marcel Hollerbach
Summary: the function can be regained by reverting this. Depends on D6381 Reviewers: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision:
2018-06-25efl_gfx_path: make counters unsignedMarcel Hollerbach
Summary: we are comparing to unsigned number, and the number are moving strongly from 0 up. Depends on D6380 Reviewers: devilhorns Subscribers: Hermet, cedric, #committers, zmike Tags: #efl Differential Revision:
2018-06-14efl interface: remove weired implementation.Hermet Park
This color interpolation should not a part of efl_gfx_shape. Color should be interpolated by Vg.Node which implements Efl.Gfx.Color.
2018-06-14evas vg: fix broken morphing(interpolation)Hermet Park
efl_gfx_path itself took care of efl_gfx_shape data but its heirarchy was conceptually wrong. Even efl_gfx_shape is mixing the efl_gfx_path... Damend design... Some of derived classes of efl_gfx_path (i.e. Vg.Node and Vg.Container) are none of the Path acutally. They are just mixing Path's interpolation interface. So, Here patch changes VG.Node to stop calling the super's interpolate method and Vg.Shape to call both super -gfx_shape and vg_node- interpolate method. @fix T6996
2018-06-10edje: fix edje_part_helpers refcountingMarcel Hollerbach
Summary: the reference from efl_reuse was forgotten & the parent relation was not correctlty setted, which led to the fact that NOREF was never emitted. This caused that thte object never really was destructed probebly, and thus the del_interceptor_cb was not executed, and the object simply leaked. The test checks that those properties are correctly set, additionally a error is printed in the efl code when a part has not the expected reference properties. This also enforces errors when users are doing wrong things with objects returned by efl_part. Reviewers: ManMower, zmike Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Differential Revision:
2018-05-24efl: major rewrite of efl_part.Cedric BAIL
The interface efl_part_get should not be directly called from C, but the efl_part wrapper should. It rely on efl_noref to properly destroy the object. Binding can control the lifecycle of the reference the way they want by either calling the wrapper or efl_part_get directly. It also means that the ugly ___efl_auto_unref_set doesn't need to be exposed outside of EFL anymore. Differential Revision:
2018-05-23efl: rename Efl.Ui.Zoom.Mode -> Efl.Ui.Zoom_ModeXavi Artigas
2018-05-23efl: rename Efl.Ui.Text.Change_Info -> Efl.Ui.Text_Change_InfoXavi Artigas
2018-05-23efl: rename Efl.Ui.Drag.Dir -> Efl.Ui.Drag_DirXavi Artigas
2018-05-23efl: rename Efl.Text.Bidirectional_Type -> Efl.Text_Bidirectional_TypeXavi Artigas
2018-05-23efl: rename Efl.Observable.Tuple -> Efl.Observable_TupleXavi Artigas
2018-05-23efl: rename Efl.Input.Device.Type -> Efl.Input.Device_TypeXavi Artigas
2018-05-23efl: rename Efl.Gfx.*.* -> Efl.Gfx.*_*Xavi Artigas
2018-05-23efl: rename Efl.Gfx.Color_Class.Layer -> Efl.Gfx.Color_Class_LayerXavi Artigas
2018-05-23efl: rename Efl.Event.Animator_Tick -> Efl.Event_Animator_TickXavi Artigas
2018-05-19efl: Add missing event typesXavi Artigas
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision:
2018-05-18efl_input_device: Fix seat_getDerek Foreman
Summary: This was testing the same thing twice. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, zmike Tags: #efl Differential Revision:
2018-05-13eolian: second batch of unused import removalsDaniel Kolesa
This fixes all remaining occurences introduced by false negatives in 6bcd70f01d527cb05c16bfde0bf85ce79bef465e. The rest was already fixed in 6be3809c04fad847e353edecf5b6eef3c8766df4.
2018-05-13eolian: first batch of unused import removalsDaniel Kolesa
Initial results of our static analysis showed a bunch of unused imports or imports used only for documentation references. In the first case, remove entirely, in the second case, change to 'parse' in order to keep references working. The static analysis is not perfect and yields false negatives for certain cases, so there will be a second batch later.
2018-05-03eolian: switch Eina.Future instances to future<T>Daniel Kolesa
2018-05-03efl ui fmt - make strbuf simpler and dont use printf to avoid warningsCarsten Haitzler (Rasterman)
if someone turns on a lot of warning flags this is a warning (fals as the string is checked already for having a static format - no fmt flags, thus printf is valid).
2018-05-01ecore: move close_on_destructor to close_on_invalidate as that describe the ↵Cedric BAIL
behavior best. Fix all use to correctly behave on invalidate.
2018-05-01efl: refactor model error creation.Cedric BAIL
2018-05-01efl: Efl_Model can decide to optionnaly provide a child if it has it at hand.Cedric Bail
2018-04-30ecore: move efl_model_list_value_get to be an internal function.Cedric BAIL