summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-14remove @beta from Canvas_Textblock_Factory and Selection_Formatedevs/woohyun/text_interfaceWooHyun Jung
2020-01-13removing @beta testWooHyun Jung
2020-01-13efl.ui.textbox: Enter on keyboard will add \n instead of paragraph separatorAli Alzyod
Summary: Becuase multiline_set(false) does not work with paragraphs, if user insert text by keyboard with multible line, then set multiline into false, multilines will still shown to user. Test Plan: ``` #define EFL_EO_API_SUPPORT 1 #define EFL_BETA_API_SUPPORT 1 #include <Efl_Ui.h> #include <Elementary.h> static void _multiline_click_callback(void *data, const Efl_Event *event EINA_UNUSED) { Eo *tb = (Eo*) data; efl_text_multiline_set(tb, !efl_text_multiline_get(tb)); } static void _quit_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED) { efl_exit(0); } EAPI_MAIN void efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) { Eo *win, *box; win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), efl_text_set(efl_added, "Hello world"), efl_ui_win_autodel_set(efl_added, EINA_TRUE)); efl_event_callback_add(win, EFL_UI_WIN_EVENT_DELETE_REQUEST, _quit_cb, NULL); efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 240)); box = efl_add(EFL_UI_BOX_CLASS, win, efl_content_set(win, efl_added), efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); Eo *tb = efl_add(EFL_UI_TEXTBOX_CLASS, box, efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0.9), efl_pack(box, efl_added)); Eo *btn = efl_add(EFL_UI_BUTTON_CLASS, box, efl_text_set(efl_added, "multiline switch"), efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0.1), efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _multiline_click_callback, tb), efl_pack(box, efl_added)); } EFL_MAIN() ``` Reviewers: woohyun, segfaultxavi Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11070
2020-01-13eolian_mono: add 1 tab inside the namespaceYeongjong Lee
Summary: Also, this patch will fix indentation of enum, struct. ### Before ``` namespace Efl.Ui { /// <summary>Define the move or resize mode of a window. /// /// The user can request the display server to start moving or resizing the window by combining these modes. However only limited combinations are allowed. ... [Efl.Eo.BindingEntity] public enum WinMoveResizeMode { /// <summary>Start moving window<br/>Since EFL 1.22.</summary> Move = 1, /// <summary>Start resizing window to the top<br/>Since EFL 1.22.</summary> Top = 2, ... } } ``` ### After ``` namespace Efl.Ui { /// <summary>Define the move or resize mode of a window. /// /// The user can request the display server to start moving or resizing the window by combining these modes. However only limited combinations are allowed. ... [Efl.Eo.BindingEntity] public enum WinMoveResizeMode { /// <summary>Start moving window<br/>Since EFL 1.22.</summary> Move = 1, /// <summary>Start resizing window to the top<br/>Since EFL 1.22.</summary> Top = 2, ... } } ``` Reviewers: Jaehyun_Cho, felipealmeida Reviewed By: felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11032
2020-01-10eolian_gen: utilize c_name instead of name for generationDaniel Kolesa
This will make generated output properly respect the @c_name tags.
2020-01-10eolian: use c_name to derive enum c field namesDaniel Kolesa
2020-01-10eolian: fix parsing of c_name tagsDaniel Kolesa
It was not properly consuming the ending ) token.
2020-01-10ci: travis: add build on ARM64 arch now provided by TravisStefan Schmidt
Summary: Cheap and easy way for us to have basic compile testing on ARM64. Travis is also offering ppc64le and s390x for builds, but on ppc64le we get a internal compoler error (yay!) on c++ examples and on s390x we have no luajit. So, these two have to wait a bit more. Reviewers: bu5hm4n, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11060
2020-01-10efl_ui_collection_view: fix testMarcel Hollerbach
count_realize / unrealize are stacked, we should not leak a callback that has a stack var as user_data.
2020-01-09elementary: enable collection view test to wait for "child.selected" event.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11015
2020-01-09elementary: start some collectionview testsMike Blumenkrantz
* basic test checking realize/unrealize signals * selection model test Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D11012
2020-01-09elementary: add proper test for "child.selected" propagation.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11014
2020-01-09elementary: properly propagate "child.selected" change.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11013
2020-01-09docs: Improvements to Text API documentationXavi Artigas
Ref T7855 Ref T7934 Ref T7935 Ref T7936 Ref T7937 Ref T7938 Ref T7941 Ref T7942 Ref T7943 Ref T7944 Ref T7945
2020-01-09tests/ecore_wl2: Remove test the ecore_wl2_window_output_findChristopher Michael
This function is internal to EFL so does not need a test case ref T8016
2020-01-09ecore-wl2: Move ecore_wl2_window_output_find function to be internalChristopher Michael
This function is unused outside of EFL, so it does not need to be public. Move function to be internal ref T8013
2020-01-09efl_wl: Add ecore_wl2_internal includeChristopher Michael
This library uses functions which are now internal to Ecore_Wl2, so we need to add the ecore_wl2_internal header here.
2020-01-09tests/ecore_wl2: Simplify test infrastructureChristopher Michael
This commit adds the _display_connect function to the tests_helpers file so that we do not have to duplicate the function across files. ref T8016
2020-01-09elementary: Include ecore_wl2_internal header when building WaylandChristopher Michael
support Commits b3114e2484d831bfedfd, e3a28ecd1e74465f96, and eafed87ffd70c0a1da18 moved some previously public API functions to be internal because they are not used outside of EFL. As such, we need to include the ecore_wl2_internal.h header file here because those functions are used inside Elementary.
2020-01-09ecore-wl2: Move ecore_wl2_subsurface functions to be internalChristopher Michael
These functions are not used outside of EFL so there is no need for them to be public. ref T8013
2020-01-09ecore-wl2: Move ecore_wl2_offer functions to be internalChristopher Michael
These functions are not used outside of EFL, so there is no need for them to be public. ref T8013
2020-01-09ecore-wl2: Move ecore_wl2_dnd functions to be internalChristopher Michael
These functions are not used inside Enlightenment and are only used internally in EFL, so no need to be public ref T8013
2020-01-09tests/ecore_wl2: Fix ecore_wl2_display_input_find testChristopher Michael
So apparently Enlightenment uses 'seat0' for input name and Weston uses 'default'. Test for E_START env var and adjust function call so that the test does not fail in either case.
2020-01-09docs: Fine-tuning the gesture descriptionsXavi Artigas
2020-01-09elementary: Add missing EINA_UNUSED for unused parameterChristopher Michael
NB: This file is a mess wrt formatting
2020-01-09efl.text.cursor: change to abstract classAli Alzyod
Summary: 1- Change cursor to abstract class 2- Remove copy method from cursor 3- remove cursor_Add method from efl.canvas.textblock and efl.ui.textbox Reviewers: woohyun, segfaultxavi, bu5hm4n Reviewed By: bu5hm4n Subscribers: lauromoura, YOhoho, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8299, T8454 Differential Revision: https://phab.enlightenment.org/D11034
2020-01-09efl.canvas.textblock: rename style strings to have underscore between wordsAli Alzyod
Summary: rename following styling strings: tabstops -> tab_stops linesize -> line_size linerelsize -> line_rel_size linegap -> line_gap linerelgap -> line_rel_gap linefill -> line_fill This will affect Style_Apply, all_style_get, and any method expect styling string Reviewers: segfaultxavi, woohyun Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8523 Differential Revision: https://phab.enlightenment.org/D11043
2020-01-09TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into oppositeAli Alzyod
Summary: TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into opposite Reviewers: segfaultxavi, woohyun Reviewed By: segfaultxavi, woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7939 Differential Revision: https://phab.enlightenment.org/D11058
2020-01-09evas ector: ++safety.Hermet Park
add return value by ector_begin() for vector safety.
2020-01-09efl_ui_textbox: replace elm_obj stuff and focuse stuffAli Alzyod
Summary: efl_ui_textbox: replace elm_obj stuff and focuse stuff Reviewers: woohyun, bu5hm4n Reviewed By: woohyun, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8522 Differential Revision: https://phab.enlightenment.org/D11025
2020-01-09efl.ui.textbox: rename selection_handler to selection_handlesAli Alzyod
Summary: efl.ui.textbox: rename selection_handler to selection_handles Reviewers: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8522 Differential Revision: https://phab.enlightenment.org/D11042
2020-01-08ecore-wl2: Remove unused APIChristopher Michael
This API is not used Anywhere inside EFL, Enlightenment, Or Tizen so there is really no need for it to exist....one less unused API to worry about.
2020-01-08tests/ecore_wl2: Add test for ecore_wl2_input_seat_capabilities_getChristopher Michael
ref T8016
2020-01-08tests/ecore_wl2: Add test for ecore_wl2_display_input_find_by_nameChristopher Michael
ref T8016
2020-01-08tests/ecore_wl2: Add test for ecore_wl2_window_popup_input functionsChristopher Michael
ref T8016
2020-01-08tests/ecore_wl2: Fix input_keymap testChristopher Michael
The test for ecore_wl2_input_keymap_get was causing failues in the suite because we need to verify that the input device is a keyboard before we can check for a keymap. ref T8016
2020-01-08tests/ecore_wl2: Add test for ecore_wl2_window_opaque_region functionsChristopher Michael
ref T8016
2020-01-08tests/ecore_wl2: Add test for ecore_wl2_window_input_region functionsChristopher Michael
ref T8016
2020-01-08Revert "tests/ecore_wl2: Add test for ecore_wl2_window_xxx functions"Christopher Michael
This commit reverts some additional tests which were added. The reason for the revert is that these tests can occasionally cause the ecore_wl2 test suite to timeout/stall. This reverts commit 4ea865623df83b78830dc253bcddd7e64a7810ca.
2020-01-08Text_Format_Horizontal_Alignment_Auto_Type: rename enums, and Doc detailsAli Alzyod
Summary: Text_Format_Horizontal_Alignment_Auto_Type: rename enums, and Doc details Reviewers: woohyun, ali.alzyod Reviewed By: ali.alzyod Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7939 Differential Revision: https://phab.enlightenment.org/D10993
2020-01-08tests/ecore_wl2: Fix formattingChristopher Michael
NB: No functional changes
2020-01-08ecore-wl2: Fix return with no value in function returning non-voidChristopher Michael
2020-01-08ci: travis: enable ptrace capabilities to our docker runsStefan Schmidt
ASAN leak sanitizer needs ptrace capabilities to run. It seems the removal sudo true brings up this issue for us. https://github.com/google/sanitizers/issues/764 https://github.com/travis-ci/travis-ci/issues/9033 It fixes the recent breaks in our ASAN enabled job durign our cron builds. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11041
2020-01-08ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get ↵Woochanlee
functions to be internal Summary: This iconified state doesn't match the compositor's. pending is only works for user manual buffer render case. So, no need for it to be a public. ref T8016 Reviewers: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D11039
2020-01-08ecore_wl2: Add APIs to get window property.Woochanlee
Summary: Creates APIs to get property. +ecore_wl2_window_popup_input_get +ecore_wl2_window_input_region_get +ecore_wl2_window_opaque_region_get ref T8016 Reviewers: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D11038
2020-01-08tests/ecore_wl2: Add test for ecore_wl2_window_xxx functionsWoochanlee
Summary: Add below APIs. ecore_wl2_window_commit ecore_wl2_window_frame_callback_add, del ecore_wl2_window_free ecore_wl2_window_hide ecore_wl2_window_shell_surface_exists ecore_wl2_window_show ecore_wl2_window_update_begin + Fix ecore_wl2_activated_get() ref T8016 Reviewers: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D11007
2020-01-07docs: Better description of the Flick gestureXavi Artigas
2020-01-07edje_load: Delete wrong free callback set for hash.Woochanlee
Summary: This hash free callback already sets in the creating time. Invalid free callback is being called additionally. Therefore, the existing callback(_edje_user_definition_list_free_internal) could not be called, and a memory leak is occurring. Reviewers: zmike, cedric Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11030
2020-01-07efl/gesture: correct namespacing of all gesture enums in CMike Blumenkrantz
these were flattened to all be EFL_GESTURE_$MEMBER, which made them impossible to read and use effectively Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11026
2020-01-07ecore-x add root barrier setup func to fix xserver mouse containmentCarsten Haitzler (Rasterman)
xserver stopped containing mouse to screen bounds a while back... this si broken. so enforce this policy with an api that take a list of screen rects (relative to root) and makes those the barrier bounds so that mouse doesn't go out of the screen anymore. new api to enable this fix in e.