path: root/src/bin (follow)
AgeCommit message (Collapse)Author
2018-12-20Intruduce Efl.Ui.Panel (Create Efl Ui Widget from elm widget(elm_panel))Woochanlee
Summary: Create Efl Ui Widget from elm widget(elm_panel) Test Plan: elementary_test -> efl_ui_panel Reviewers: woohyun, Jaehyun_Cho, segfaultxavi Reviewed By: Jaehyun_Cho, segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-12-18silence most left over compiler warningsJérémy Zurcher
Summary: silence -Wshadow -Wunused-variable -Wunused-parameter Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-12-17build: remove unused meson fileMarcel Hollerbach
this was added by accident Differential Revision:
2018-12-17eolian_mono: use System.Type explicitlyJaehyun Cho
Previously, "Type" was used with "using System". However, it caused ambiguity if some classes had "Type" property. Therefore, "System.Type" is used explicitly to remove ambiguity.
2018-12-17elm_focus: implement elm_object_focus_next_item_set / getMarcel Hollerbach
you can use this now to let the focus move to the widget container of the passed item. I know this patch contains a whitespace change, but i have to get out this whitespace each & every time i am editing the file - which is annoying. So remove it once, which makes further work easier. fixes T6183. Reviewed-by: YeongJong Lee <> Differential Revision:
2018-12-14efl-mono: Fix call of virtual methods after new APILauro Moura
Summary: After the new API, the virtual wrapper classes (*NativeInherit) just declared the wrappers for the current class. But as they didn't have any inheritance information, reimplementing methods from a parent Eo class wouldn't work. (e.g. Efl.Ui.Button reimplementing Efl.Object FinalizeAdd). This commit changes these NativeInherit classes to mimic the inheritance chain of their regular/abstract counterparts, reusing the virtual wrapper implementations. In order to access the correct Eo class created, the methods on it were changed from static to instance methods. The instance will be held as a class member of the regular/abstract API class to keep the delegates alive and allow getting C Function pointers from them. The class_initializer method was also split in two. The method collecting the wrapper delegates was extracted in order to call the parent ones. Also avoid exception in cached strings queries as TryGetValue requires non-null keys. Test Plan: Run test suite. Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-12-14eolian_mono: Add support for C# style propertiesLauro Moura
Summary: Syntatic sugar around the Get/Set functions for now. Test Plan: Run efl-mono-suite Reviewers: vitor.sousa, segfaultxavi, felipealmeida, Jaehyun_Cho Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl_language_bindings Differential Revision:
2018-12-07meson: add inital support for windows compilationMarcel Hollerbach
Differential Revision:
2018-12-07meson: enable cross compilingMarcel Hollerbach
the inital work for this commit was coming from `Mark van der Putten`. In order to not have more options for this, the idea came up to use mesons autodetection using PATH. If a cross file is specified, the binaries are used from the system, rather than from the intree. (Which means --cross-file has the dependency of efl on the buildsystem) Differential Revision:
2018-12-06meson: abstract edje_cc exec linesMarcel Hollerbach
the array is calling the shell etc. this makes cross building easier. Differential Revision:
2018-12-06efl: fix misspelt focused in API and documents.Alastair Poole
Fix spelling in elm_code API and other documents too where this occurs. Differential Revision:
2018-12-05Tests: adapt some tests for ExactnessDaniel Zaoui
Home directory cannot be used for the tests as the shots will always be different between machines. A test directory is created to solve this issue.
2018-12-04elm test - button - remove unused local var warnCarsten Haitzler (Rasterman)
2018-12-04elm_scroller: update behaviour to match legacy behaviour more closelyMarcel Hollerbach
This implements scrolling the scroller when the scroller is not in the maximum position of the requested relation, but there is no more focus object in that relation. Summing up, the scroller is scrolled manually, when the focus object is not fitting in the viewport, and the object is beeing out of the viewport in the requested direction. Or the scroller is not at its max position in the requested direction, and there is no more focusable object in this requested direction. ref T6804 Differential Revision:
2018-12-04efl_ui_focus_manager_root_focus: ensure that adapter is part of viewportMarcel Hollerbach
This ensures that the adapter part is part of the viewport elements and border elements. This is done in order to support cases where a elm_scroller content is not focusable. Before the element was not correctly in viewport, and so not correctly registered. ref T6804 Differential Revision:
2018-12-03meson: use eolian_gen with -SMarcel Hollerbach
this ensures that eolian does not parse installed .eo files Differential Revision:
2018-12-03elm perf tool - bring one back to eflCarsten Haitzler (Rasterman)
expedite is basically dead. because it's out of tree and because it was ported to eo too early... but it's also not a great tool given it requires manual addition of engines and can't test elm stuff (complex widgets). so this is an elm based performance tool. i've added some tests (taken from expedite and modified a bit). to get the ball rolling. the idea is to add all the important core tests (rects, images, text, video etc.) and then add widget/smart object like tests that go beyond what expedite did. the problem with these tests is they are dependent on theme. there isn't really any way around that... but i might categorize tests in the end. @feature
2018-11-29csharp: Change to new class API.Lauro Moura
Summary: As discussed in T7204: - Eo Interfaces/mixins -> C# Interfaces with concrete class implementations - Eo Regular/Abstracts -> Proper C# classes - Added some new generators and helper methods. - Refactored the class generator, splitting into helper methods Eo handles now are stored only in the "root" class in any given inheritance tree (generally, Efl.Object), and accessible to each child. Methods also are defined in a single place instead of repeatedly generated in everyfile, reducing the size of the generated .dll from 30MB to around 4.5MB. Mixins are generated as C# interfaces but any regular class it inherits from is lost, as we can't have interfaces inheriting from regular classes. This will be dealt with in a later commit. Summary of API Changes: - Merged Inherit/Concrete classes. (These suffixes disappear from regular classes). - Interface still have implementations with 'Concrete' suffix for when they are returned from methods. - Removed 'I' from interface names. - Removed interfaces for regular/abstract Eo classes. - Concrete classes for interfaces/mixins hold the event argument struct. - Removed '_' from classes, enums, structs, etc, as indicated in C# naming conventions. - Namespaces are now Camel.Cased. - Renamed IWrapper's raw_handle/raw_klass to NativeHandle/NativeClass Also renamed the test classes as after the namespace change, the test namespace Test can conflict with the helper Test namespace. (And use more meaningful names than Test.Testing...) Also Fixes T7336 by removing a deprecated example and adding efl_loop_timer_example to build system. Fixes T7451 by hiding the class_get DllImports and renaming the IWrapper fields. The native handlers are used in the manual binding. Still need to work: - As there are still some events names clashing (e.g. Efl.Ui.Bg with "resize" from Efl.Gfx.Entity and Efl.Gfx.Image), Events are currently declared on the interface and implemented "namespaced" in the classes, requiring the cast to the interface to access the event. - The Mixin Conundrum. Mixin inheritance will be dealt in a future commit. Depends on D7260 Reviewers: segfaultxavi, vitor.sousa, felipealmeida, Jaehyun_Cho Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7451, T7336 Differential Revision:
2018-11-28efl_ui_scrollable: implement efl_ui_scrollable_content_pos_get method.Hosang Kim
Summary: Applications want to know current position on scroller. Also, it is necessary when calculate position of focusable object. Reviewers: herdsman, akanad, YOhoho, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-11-26Ui text: update text; use efl_text_set and not markup_setDaniel Hirt
2018-11-26Ui text: update inputfield test to reflect theme and part changesDaniel Hirt
2018-11-26Ui text: have "inputfield" example use the default theme valuesDaniel Hirt
2018-11-23eo: rename efl_future_Eina_FutureXXX_then in efl_future_then as this has ↵Cedric BAIL
been available for some time. Reviewed-by: Vitor Sousa da Silva <> Differential Revision:
2018-11-23eolian: implement new inherit behaviorDaniel Kolesa
Eolian now separates 'parent' and 'extensions'. For regular classes, parent is the first item in the inherits list and extesions is the rest. For interfaces and mixins, parent is NULL and extends is the inherits list. The reason for this is the separation of them in syntax in near future. It also slightly changes the behavior; since for interfaces and mixins, parent is always NULL now, you can freely inherit from all types of classes without needing to manually put an interface type as the first item of the inherits list.
2018-11-23efl_interpolator: rename subclasses of Efl.InterpolatorJaehyun Cho
Subclasses of Efl.Interpolator are renamed intuitively from backward order to forward order.
2018-11-20efl_ui_bg: remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget classJaehyun Cho
Summary: Efl.Ui.Bg interface does not have any new property or method. Moreover, Efl.Ui.Bg interface is not used by widgets except Efl.Ui.Bg_Widget and Efl.Ui.Widget_Part_Bg. Consequently, Efl.Ui.Bg interface can be replaced by other interfaces. Due to Efl.Ui.Bg interface, the bg widget class name becomes Efl.UI.Bg_Widget which is not synchronized with other widget names. Therefore, to keep consistency with other widgets, it would be better to remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget to Efl.Ui.Bg. Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-11-16elementary: rename Efl.Ui.Popup classesJaehyun Cho
Summary: Efl.Ui.Popup classes are renamed intuitively from backward order to forward order. Efl.Ui.Popup_Alert -> Efl.Ui.Alert_Popup Efl.Ui.Popup_Alert_Scroll -> Efl.Ui.Scroll_Alert_Popup Efl.Ui.Popup_Alert_Text -> Efl.Ui.Text_Alert_Popup Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: herb, SanghyeonLee, woohyun, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2018-11-16elementary: remove Efl.Ui.Layout namespaceJaehyun Cho
Summary: Efl.Ui.Layout namespace is removed to keep consistency with other widgets. Consequently, "Efl.Ui.Layout.Object" is renamed to "Efl.Ui.Layout" and "Efl.Ui.Layout." is renamed to "Efl.Ui.Layout_". Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: #reviewers, #committers, SanghyeonLee, woohyun Tags: #efl Differential Revision:
2018-11-09efreet mime cache - expand buffer to avoid truncation by snprintfCarsten Haitzler (Rasterman)
2018-11-09efreetd - warn - expand buffer to avoid truncation by snprintfCarsten Haitzler (Rasterman)
2018-11-09embryo_cc - warn - bigger buffer to avoid truncation warningCarsten Haitzler (Rasterman)
2018-11-09eeze mount tool - warn - fix prototypes used for ecore eventsCarsten Haitzler (Rasterman)
2018-11-09edje cc - warn - use correct free prorotype for has free funcCarsten Haitzler (Rasterman)
2018-11-09edje player - fix ridiculous use of srncatCarsten Haitzler (Rasterman)
another case of blind strncat usage rthat seemingly did a: strcat(buf, str); -> strncat(buf, str, strlen(tr)); which is the most pointless thing to do ever. it's no better. it's worse as it makes it harder to identify issues. thanks these days compilers warn about this as a stupid thing to do... so i looked at it and fixed it properly. again - don't do this stuff above - it's pointless. patches that do this should be rejected. fix it properly or leave it as-is.
2018-11-09edje_cc - warn - fix buf truncation by snprintf by extending buffersCarsten Haitzler (Rasterman)
2018-11-09edje_cc - warn - fix free cb to be of right prototypeCarsten Haitzler (Rasterman)
wrap by correctly typed func.
2018-11-09edje_cc_parse - use memcpy instead of strncpy as we are truncatingCarsten Haitzler (Rasterman)
we mean it here so it's right - use memcpy as its equivalent without warnings.
2018-11-09edje_cc_parse - warn - make buffers bigger to avoid truncationCarsten Haitzler (Rasterman)
2018-11-09eeze test - warn - fix ecore event callback prototypesCarsten Haitzler (Rasterman)
2018-11-09elm test config - ensure buffer does't get overfilled with lots of profsCarsten Haitzler (Rasterman)
the "let's use strncpy" brigade of course made sure to use it to "be secure" and yet still overtflow the buffer... this is a perfect lesson in DOP NOT USE strncpy unless you carefully think about the code and get it right. i mean things like: strncat(buf, profiles[i], strlen(profiles[i]) + 1); is blindly using strncpy ... and it's no better than strcpy, but mroe complex and giving the illusion of "it's safe". pay attention to your code people. please. thanks.
2018-11-09elm quicklaunch - fix defines to handle no-environ case without warningsCarsten Haitzler (Rasterman)
2018-11-09elm quicklaunch - warn - explicitly handle socket length being too longCarsten Haitzler (Rasterman)
make socket too long an error. fixes warning.
2018-11-09elm prefs cc - warn - use memcpy instead since we are really truncatingCarsten Haitzler (Rasterman)
fix strncpy warning... and use memcpy as we are explicitly truncating. we mean it.
2018-11-09xxx - fix eina_future_then calls to pass sotrage val - fix warnsCarsten Haitzler (Rasterman)
2018-11-09eolian - fix warnings about strin truncation by expanding buffersCarsten Haitzler (Rasterman)
fixes noisy warnings...
2018-11-09eina - btlog - fix warnign about uninit struct fieldCarsten Haitzler (Rasterman)
sentinel should fill all members to null.
2018-11-05Ui text: port widget to new interfacesDaniel Hirt
This is a big rewrite. In addition to implementing functionality with the new Efl interfaces, a lot of legacy (Elm) code was removed. A lot of work is squashed in this patch as the widget would've been completely broken otherwise. The major changes are: Life-cycle: - Code was split to have 'finalize' - Item anchors (emoticons, images) were rewritten to have proper life-cycle Scrolling logic: - Efl.Ui.Internal_Text_Scroller widget was added, and replaces the old Elm.Interface_Scrollable implementation. Singe-line and multi-line modes were fixed as well as sizing calculations. The object is now swallowed inside the Ui.Text widget. Copy and paste: - Code was converted to Efl.Selection logic. Modified tests: elementary_test -to "efl.ui.text" elementary_test -to "efl.ui.text label" Added tests: elementary_test -to "efl.ui.text inputfield" Removed test: elementary_test -to "efl.ui.text.async"
2018-11-05efl-mono: Typos in generated code commentsXavi Artigas
These comments end up in the API reference docs, so typos look bad.
2018-11-02codegen: ensure we include the filename and not the pathMarcel Hollerbach
this mirrors the behaviour of eolian & eolian_cxx. Usally a generator just generates the files side by side, the directory then needs to be included anyways. thus adding the include with another subdirectory is unusal. Differential Revision:
2018-10-24meson: here comes cxx bindingsMarcel Hollerbach
this commits is bringing cxx bindings. You can enable / disable them with the cxx option. Differential Revision: