summaryrefslogtreecommitdiff
path: root/src/bin (follow)
AgeCommit message (Collapse)Author
2019-08-09elm_test: fix crashing in efl.ui.popup when closing windowsMike Blumenkrantz
avoid double free on pointer in callback Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9540
2019-08-08get rid of shadow variablesBoris Faure
Summary: gl: add some EINA_FALLTHROUGH Reviewers: #reviewers, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9525
2019-08-06efl_ui_check: migrate from own property to Efl.Ui.SelectableMarcel Hollerbach
this is the basic work for getting radio group as a single_selection interface, which can be a part of mutli_selection. Which will come both later on. ref T8057 Differential Revision: https://phab.enlightenment.org/D9504
2019-08-06efl_ui_collection: implement initial focus behaviourMarcel Hollerbach
Summary: the behaviour here is that the next item according to the direction is getting focused. This sounds easy but is quite complex given the fact that the items might be hidden. This is the first draft for this, to see how good it performes. Reviewers: zmike, stefan_schmidt, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9496
2019-08-06efl_input_hold: replace hold property name with input_holdYeongjong Lee
Sorry to touch stable eo classes. there is name conflict issue between class and property when binding language is generated from eo. for example in C#, compiler error occurs. ``` src/bindings/mono/efl_input_hold.eo.cs(166,17): error CS0542: `Efl.Input.Hold.Hold': member names cannot be the same as their enclosing type ``` This patch changes Efl.Input.Hold.GetHold/SetHold to Efl.Input.Hold.GetInputHold/SetInputHold and generates Efl.Input.Hold.InputHold property. Note that CAPI is not changed. ref T8093 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Lauro Neto <lauromauro_> Differential Revision: https://phab.enlightenment.org/D9484
2019-08-05csharp: fix ownership of value types in arrays and listsVitor Sousa
Summary: `eolian_mono` now considers the implicit ownership of value types in arrays and lists when generating ownership flags. Also, update manual bindings for arrays and lists to no longer free elements in the `Dispose` method when the container has ownership of the elements but C# itself does not have ownership of the container; the elements will be freed by whoever owns the container. Modifying and removing elements will still free them though. Re-enabled unit tests that required ownership of value type elements. Reviewers: felipealmeida, q66, vitor.sousa Reviewed By: felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9457
2019-08-05edje cc - fix coverity warning for uninit local varCarsten Haitzler (Rasterman)
fix CID 1382208
2019-08-05efl-mono: Add Model manual implementation to C# and MVVM factoriesLauro Moura
Summary: Depends on D9273, D9270 Test Plan: Run added testcases. Reviewers: cedric, bu5hm4n, zmike, SanghyeonLee, felipealmeida, segfaultxavi Reviewed By: cedric Subscribers: cedric Tags: #expertise_solutions, #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D8080
2019-08-05epp - fix tchnical leak for coverityCarsten Haitzler (Rasterman)
its technically a leak.. but epp will give up a nd error out anyway here so... didn't matter. fix CID 1402655
2019-08-05efl_input_key: replace key property name with key_symYeongjong Lee
Summary: Sorry to touch stable eo classes. there is name conflict issue between class and property when binding language is generated from eo. for example in C#, compiler error occurs. ``` src/bindings/mono/efl_input_key.eo.cs(272,26): error CS0542: `Efl.Input.Key.Key': member names cannot be the same as their enclosing type ``` This patch changes Efl.Input.Key.GetKey/SetKey method to Efl.Input.Key.GetKeySym/SetKeySym and generates Efl.Input.Key.KeySym property. Note that CAPI is not changed. ref T8093 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, woohyun, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8093 Differential Revision: https://phab.enlightenment.org/D9483 zmike note: this class was not released at the point of this patch, the class was only recently marked as stable
2019-08-03efl_ui_spin: move the step implementation to spin_buttonMarcel Hollerbach
having efl_ui_spin implementing efl.ui.range_interactive does not make sense. Efl.Ui.Spin is a not interactive widget, so it should not implement that interface. ref T7897 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9475
2019-08-02mono-docs: Add more event args link for event handlersXavi Artigas
There were some events missing <value> tags (see f01b1134012bafcc4d0c82588230796a7c9ef5bb)
2019-08-02mono-docs: Escape the recently added docsXavi Artigas
This is the second time I forget...
2019-08-02mono-docs: Add descriptions to event argsXavi Artigas
Event args structs had fields without description (missing <value> tag).
2019-08-02mono-docs: Proper indentation for previous commitXavi Artigas
2019-08-02mono-docs: Add event args link for event handlersXavi Artigas
For some reason DocFX does not generate links for templated event handlers: event EventHandler<Efl.Input.IInterfacePointerOutEvt_Args> PointerOutEvt; After unsuccessfully trying to find out why, this patch adds the link to the event arguments in a <value> tag, so at least it shows in the documentation and the reader has somewhere to click to find out what arguments an event is sending.
2019-08-02efl_input_clickable: increase the time interval for repeated counterJaehyun Cho
Summary: The repeated counter in Efl.Input.Clickable_Clicked can be used to identify double click or triple click. Previously, the repeated counter in Efl.Input.Clickable_Clicked was calculated within the time interval 0.1 second. Now, the time interval for the repeated counter is increased to 0.25 second. It seems that 0.25 second is more appropriate to identify if the two consecutive clicks should be considered together. (e.g. considered as double click or triple click) Moreover, in ecore_event and edje, 0.25 second is already used as a time interval for double click. Test Plan: 1. Run Efl.Ui.Button in elementary_test 2. Do double click or triple click the buttons Reviewers: segfaultxavi, bu5hm4n, YOhoho Reviewed By: segfaultxavi, YOhoho Subscribers: YOhoho, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9485
2019-08-01efl_ui_spin_button: rename circulate to wraparoundMarcel Hollerbach
ref T8097 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9461
2019-08-01efl_ui_spin_button: use the newly emitted event from range_interactiveMarcel Hollerbach
this event is not also in range_interactive, so better use this. ref T8097 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9459
2019-08-01csharp: Add a documentation_string generatorLauro Moura
Summary: Escapes a single string, without leading `///` Depends on D9481 Reviewers: segfaultxavi, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9482
2019-08-01csharp: Avoid generating empty <value> tagsLauro Moura
Depends on D9478 Reviewers: segfaultxavi, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9481
2019-08-01mono-docs: Add misc struct docsXavi Artigas
Summary: Structs have a convenience constructor which was missing parameter documentation. Struct fields need a <value> tag or there is a hole in the generated docs. The documentation for the type of the field has been used, when available. Test Plan: Build docs and look at generated pages for structs. Reviewers: lauromoura, vitor.sousa, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9478
2019-08-01eolian_mono: Fix whitespace in generated cs filesXavi Artigas
Pet peeve of mine.
2019-08-01elementary_test: add a test to show our frame widgetMarcel Hollerbach
it does not work yet, but we at least have the chance of seeing it. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9194
2019-07-31eolian-cxx: Generate eot filesFelipe Magno de Almeida
Summary: Eolian Type files were not being generated, which made some template specialization to not be defined, for example for function_wrappers. Reviewers: bu5hm4n, woohyun, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9468
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-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_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-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_gen: generate freefuncs for strbuf/binbufDaniel Kolesa
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-29elm_test: add option for running all tests on startupMike Blumenkrantz
this is useful for doing quick testing when making invasive changes that affect a large number of widgets, such as rewriting all sizing calc code Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9407
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-29elm_test: add keybinds to rapidly flip between testsMike Blumenkrantz
when not using --test-win-only, allow opening new tests forward and backward with alt+. and alt+, Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9406
2019-07-29elm_test: replace bespoke arg handling with a for loopMike Blumenkrantz
this fixes handling of --help regardless of its position in the arg array Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9405
2019-07-29elm_test/modal_win: handle case where test is not passed the main windowMike Blumenkrantz
Summary: this test is not runnable when it is not triggered directly from pressing a button in the main window Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D9401
2019-07-29elm_test: fix anchor popup testMike Blumenkrantz
Summary: this group name was wrongly changed by sed ref d4526f44b8c20010061c42a87ac0496796311afb Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9419
2019-07-29efl_input_clickable: rename efl_ui_clickable to efl_input_clickableWooHyun Jung
Summary: Renamed all efl_ui_clickable_XXX to efl_input_clickable_XXX based on the discussion in T7847 ref T7847 T7976 Reviewers: zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7976, T7847 Differential Revision: https://phab.enlightenment.org/D9427
2019-07-28elm test - set var to null to avoid warningCarsten Haitzler (Rasterman)
2019-07-28Evil: remove pwd code in Evil and fix compilation failures after the removalVincent Torri
Summary: remove pwd code in Evil Test Plan: compilation Reviewers: zmike, cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9420
2019-07-25elm_test/plug: fix error handlingMike Blumenkrantz
Summary: if plug connection fails, a notification can't always be created because there may be no object passed to this function to create a notify object on @fix Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D9400
2019-07-25efl_ui_spotlight_container: mirror the behavior of view_managerMarcel Hollerbach
setting the parent here is usefull, as we can forgot about this object then, and do not have to free the object by hand. Differential Revision: https://phab.enlightenment.org/D9305
2019-07-25efl_ui_spotlight_container: fix ownership behavior of view_managerMarcel Hollerbach
view_manager is a property that takes ownership of the view_manager object. We are setting the parent in the setter which means, we should actaully have one ref to the parent, and one from the caller, so we need to unref one. Differential Revision: https://phab.enlightenment.org/D9304
2019-07-25rename efl_ui_item_container -> efl_ui_collectionMarcel Hollerbach
this is the first rename of the main widget, the renames of the test suites will follow Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9408
2019-07-25mono-docs: Clearer docs for ConstructingHandleXavi Artigas
Only *slightly* clearer.
2019-07-24elementary: make Efl.Ui.Position_Manager a namespace.Cedric BAIL
This does the following rename as per T8058: Efl.Ui.Item_Position_Manager -> Efl.Ui.Position_Manager.Entity Efl.Ui.Grid_Position_Manager -> Efl.Ui.Position_Manager.Grid Efl.Ui.List_Position_Manager -> Efl.Ui.Position_Manager.List Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9388
2019-07-24Introduce Efl.Ui.Item_ContainerMarcel Hollerbach
this is a new widget which aims to replace Efl.Ui.Grid / Efl.Ui.List. The widget is split up in a widget and a interface for item placement. Efl_Ui_Item_Position_Manager: The interface contains API which is used by the Item_Container to place the items, there is also a set of common tests which tests for the casual tripping wires, and ensures that the events are emitted in the correct moments (the later part still can be improved) Efl_Ui_Item_Container: The widget itself, it contains the API for the enduser to add Items to the widget, it handles the different modes for selection type and emits the events for selection changes. The pack API is conform with the spec unit test. An additional set of tests is defined which should be able to be run on every widget with a specific position_manager beeing set. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9285
2019-07-23mono-docs: Indicate when methods and properties are BETAXavi Artigas
Summary: Previous commit added a <remarks> section to BETA classes. Methods (and properties) cannot have <remarks> section so a bit of bold text is added instead to their summary. Depends on D9380 Test Plan: Generate docs and observe beta methods and properties have a note regarding their betaness in the summary. Reviewers: lauromoura, vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9382
2019-07-23mono-docs: Indicate when a class is BETAXavi Artigas
Summary: The mono generator adds a <remarks> section to all BETA classes with an explanatory text. These tags are understood by DocFX and Monodevelop. On top of this, this commit modifies the DocFX template to give the Remarks section a more prominent place in the page. Test Plan: Render docs, Beta classes should have a big blue box with a remark about the class being Beta and dangerous. Reviewers: lauromoura, vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9381