aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary (follow)
Commit message (Collapse)AuthorAgeFilesLines
* meson: elm: add pie and fPIC cflags and ldflags to elm binariesStefan Schmidt2019-01-101-1/+2
| | | | | | | | | | | | | My use case here is having elementary_test being loaded by exactness. That has been working fine with our autotools based build system but no longer with meson. Bringing fPIC and pie back as options allows exactness to dlopen the binary and work again. Differential Revision: https://phab.enlightenment.org/D7587 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
* Intruduce Efl.Ui.Panel (Create Efl Ui Widget from elm widget(elm_panel))Woochanlee2018-12-204-0/+165
| | | | | | | | | | | | | | | | 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: https://phab.enlightenment.org/D7238
* silence most left over compiler warningsJérémy Zurcher2018-12-183-5/+5
| | | | | | | | | | | | | | Summary: silence -Wshadow -Wunused-variable -Wunused-parameter Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7473
* elm_focus: implement elm_object_focus_next_item_set / getMarcel Hollerbach2018-12-172-1/+63
| | | | | | | | | | | | | | 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 <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7408
* meson: add inital support for windows compilationMarcel Hollerbach2018-12-071-26/+34
| | | | Differential Revision: https://phab.enlightenment.org/D7416
* meson: enable cross compilingMarcel Hollerbach2018-12-071-0/+10
| | | | | | | | | | | | 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: https://phab.enlightenment.org/D7415
* efl: fix misspelt focused in API and documents.Alastair Poole2018-12-061-2/+2
| | | | | Fix spelling in elm_code API and other documents too where this occurs. Differential Revision: https://phab.enlightenment.org/D7299
* Tests: adapt some tests for ExactnessDaniel Zaoui2018-12-054-17/+58
| | | | | | 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.
* elm test - button - remove unused local var warnCarsten Haitzler (Rasterman)2018-12-041-1/+1
|
* elm_scroller: update behaviour to match legacy behaviour more closelyMarcel Hollerbach2018-12-042-0/+74
| | | | | | | | | | | | | | | | 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: https://phab.enlightenment.org/D7382
* efl_ui_focus_manager_root_focus: ensure that adapter is part of viewportMarcel Hollerbach2018-12-042-0/+46
| | | | | | | | | | | 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: https://phab.enlightenment.org/D7364
* elm perf tool - bring one back to eflCarsten Haitzler (Rasterman)2018-12-0311-1/+1664
| | | | | | | | | | | | | | | | | 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
* efl_ui_scrollable: implement efl_ui_scrollable_content_pos_get method.Hosang Kim2018-11-281-2/+4
| | | | | | | | | | | | | | | | 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: https://phab.enlightenment.org/D7251
* Ui text: update text; use efl_text_set and not markup_setDaniel Hirt2018-11-261-1/+1
|
* Ui text: update inputfield test to reflect theme and part changesDaniel Hirt2018-11-261-1/+1
|
* Ui text: have "inputfield" example use the default theme valuesDaniel Hirt2018-11-261-3/+0
|
* eo: rename efl_future_Eina_FutureXXX_then in efl_future_then as this has ↵Cedric BAIL2018-11-231-1/+1
| | | | | | | been available for some time. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7327
* efl_interpolator: rename subclasses of Efl.InterpolatorJaehyun Cho2018-11-231-13/+13
| | | | | Subclasses of Efl.Interpolator are renamed intuitively from backward order to forward order.
* efl_ui_bg: remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget classJaehyun Cho2018-11-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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: https://phab.enlightenment.org/D7304
* elementary: rename Efl.Ui.Popup classesJaehyun Cho2018-11-162-147/+147
| | | | | | | | | | | | | | | | | | | | 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: https://phab.enlightenment.org/D7292
* elementary: remove Efl.Ui.Layout namespaceJaehyun Cho2018-11-164-12/+12
| | | | | | | | | | | | | | | | | | 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: https://phab.enlightenment.org/D7291
* elm test config - ensure buffer does't get overfilled with lots of profsCarsten Haitzler (Rasterman)2018-11-091-3/+5
| | | | | | | | | | | | | 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.
* elm quicklaunch - fix defines to handle no-environ case without warningsCarsten Haitzler (Rasterman)2018-11-091-0/+2
|
* elm quicklaunch - warn - explicitly handle socket length being too longCarsten Haitzler (Rasterman)2018-11-091-1/+9
| | | | make socket too long an error. fixes warning.
* elm prefs cc - warn - use memcpy instead since we are really truncatingCarsten Haitzler (Rasterman)2018-11-091-1/+1
| | | | | fix strncpy warning... and use memcpy as we are explicitly truncating. we mean it.
* xxx - fix eina_future_then calls to pass sotrage val - fix warnsCarsten Haitzler (Rasterman)2018-11-092-2/+2
|
* Ui text: port widget to new interfacesDaniel Hirt2018-11-052-240/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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"
* codegen: ensure we include the filename and not the pathMarcel Hollerbach2018-11-021-1/+2
| | | | | | | | | 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: https://phab.enlightenment.org/D7235
* Meson: link elementary_test with rdynamicDaniel Zaoui2018-10-211-1/+7
| | | | | | | | | | | | | | | | | | | | Summary: This is needed to let dlsym extract the efl_main/main... symbols. For example, the Exactness player needs it to launch a given binary. If this option is not provided during the linkage of the binary, the player won't be able to run it. Test Plan: exactness_play -t <path to exactness scenarios>/radio.rec -- elementary_test -to radio Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7178
* build: move ELM_INTERNAL_API_ARGESFSDFEFC into buildsystemMarcel Hollerbach2018-10-181-1/+0
| | | | | | | the definition is now defined in the buildtools autools / meson. This reduces the amount of warnings in meson. Differential Revision: https://phab.enlightenment.org/D7170
* Revert "elm config: hide theme and profile config in gui when running in ↵Carsten Haitzler (Rasterman)2018-10-111-6/+4
| | | | | | | | | | | | enlightenment" This reverts commit 0b6aade84db1e15b51daeb4e2584ed3b7df8bc86. Let's not do this as it makes the tool harder to test AND actually removes vital features even under E. elementary_Config is really meant as a demo config tool. not a good usable one. Ultimately E should actually do all the good things in elm config so its just some debug tool then or one for other non-e desktops to use.
* efl_ui_tab_pager: modified test for regression testBowon Ryu2018-10-101-5/+10
| | | | | | | | | | | | | | | | Summary: Fixed randomly generated tab items to be generated sequentially in test code. Test Plan: elementary_test -to efl.ui.tab_pager Reviewers: Jaehyun_Cho, jsuya Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7154
* here comes mesonMarcel Hollerbach2018-10-021-0/+228
| | | | | | | | | | | | | | | | | | | | | | | 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 <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
* elementary_test: use snprintf to prevent memory overflow in test_efl_ui_textYoungbok Shin2018-09-241-6/+6
| | | | | | | | | | | | | | | | Summary: To prevent memory overflow, use snprintf instead of sprintf. Test Plan: N/A Reviewers: raster, cedric, zmike, Hermet, netstar Reviewed By: netstar Subscribers: netstar, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7095
* Efl.Ui.Popup.Alert: add icon parameter for icon button of popupTaehyub Kim2018-09-211-60/+60
| | | | | | | | | | | | | | | | | | | | Summary: add icon parameter for icon button of popup Test Plan: 1. run elementry_test 2. run Efl.Ui.Popup.Alert sample 3. call set button function of popup and pass the icon by parameter 4. see the result of the popup Reviewers: Jaehyun_Cho, jpeg, raster, cedric, woohyun Reviewed By: Jaehyun_Cho Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7079
* efl_ui_tab_pager : Fix type mismatch for callocJunsuChoi2018-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | Summary: Fix type mismatch. The return value of function 'calloc' is cast to type 'App_Data *', which doesn't match the sizeof expression 'sizeof (ad)' passed as its 2nd argument 'sizeof (ad)'. The size of the result is 8 bytes, value of the sizeof expression is 4. Test Plan: N/A Reviewers: bowonryu, SanghyeonLee Reviewed By: bowonryu, SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7067
* test_gengrid: add focused, unfocused callback to test focus signalYeongjong Lee2018-09-131-0/+11
| | | | | add focused, unfocused callback for test Differential Revision: https://phab.enlightenment.org/D7018
* efl_ui_popup: Remove inheritance from Efl.Canvas.ObjectJaehyun Cho2018-09-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Class Efl.Ui.Popup_Part_Backwall inherits from multiple classes, class Efl.Ui.Layout.Part and abstract Efl.Canvas.Object. To remove multiple class inheritance, Efl.Canvas.Object is not derived and its property, repeat_events, is newly defined in Efl.Ui.Popup_Part_Backwall. Test Plan: 1. Execute elementary_test. 2. Select Efl.Ui.Popup. 3. Select "Show Dummy Button". 4. Select "Repeat Event Set". 5. Test if repeat event works. Reviewers: woohyun, felipealmeida, Hermet, segfaultxavi Reviewed By: Hermet, segfaultxavi Subscribers: bu5hm4n, q66, cedric, segfaultxavi, lauromoura, #reviewers, herb, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6984
* efl_ui_spin_button: Addded direction feature.Woochanlee2018-08-211-0/+1
| | | | | | | | | | | | | | | | | | | Summary: The Spin_Button class supports two types(horizontal, vertical). User can use 'efl_ui_direction()' for spin_button. @feature Test Plan: elementary_test-> spin_button sample. Reviewers: Hermet, Jaehyun_Cho Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6680
* quicklaunch: use xdg abstraction instead of direct env varMarcel Hollerbach2018-08-201-5/+2
| | | | | | | | | | | | | | | | | | | | Summary: there are defined ways what should happen in XDG_RUNTIME_DIR is not defined, eina_vpath is the abstraction for doing this. This ensures that the socket is created in the correct directory. Depends on D6744 Reviewers: zmike, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6745
* elm_image: add EINA_UNUSED to avoid build warningYeongjong Lee2018-08-161-1/+1
| | | | Differential Revision: https://phab.enlightenment.org/D6844
* Elementary test : add a checkbox to hide beta apis.chris2018-08-131-7/+24
| | | | | | | | | | Reviewers: zmike Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6817
* elm_image : Remove unnecessary test about imageJunsuChoi2018-08-101-19/+0
| | | | | | | | | | | | | | | | | | Summary: The elm_transit test is in test_transit.c. Testing for elm_transit in test_image.c is unnecessary Test Plan: elementary_test -to "image click" Reviewers: Hermet, #reviewers, eunue Reviewed By: Hermet, #reviewers Subscribers: cedric, akanad, bowonryu, #reviewers, YOhoho, #committers, JackDanielZ, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6799
* elm test - expand --help to also do -h and -helpCarsten Haitzler (Rasterman)2018-07-241-1/+3
|
* elm test - unbreak elm test ...Carsten Haitzler (Rasterman)2018-07-241-3/+3
| | | | | | | 7ebcb710d2776a0bbd905552226dc1141a18ef7d / D6668 breaks elm test. a fix actually that breaks it even more. before only --help didn't work... now -to/--test-win-only is broken which is the actually useful option... :)
* elm_test: fix arg parsingMike Blumenkrantz2018-07-231-5/+5
| | | | | | | | | | | | | | | | | | Summary: recent changes to ecore changed arg numbering again and no callers outside of test suites were updated ref 9c8749b99a03d3601321da6d16071dd7b631d1ae Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D6668
* elm_code: (cherry-pick) Support indentation styles that are purely tab basedAndy Williams2018-07-222-2/+54
| | | | | read: Allow non-EFL style indentation. This is off by default but is switched on if you turn 'tabs insert spaces' off
* Ctxpopup super slow with some more itemsDave Andreoli2018-07-211-0/+27
| | | | | | | If you put some (like 100) items in a ctxpopup it will take 5 seconds to show up and throw all kind of errors on console. This is an example that show the issue, I opened T7176 to track this issue
* efl selection manager + elm dnd test fix with bad string handlingCarsten Haitzler (Rasterman)2018-07-161-3/+7
| | | | | | | | | | | | | | so there are 2 problems behind T7113. first is a problem in the efl selection manager being "sloppy" with selection data. it's doing a strlen on the data but it's not a normal c string. it's a blob of binary data + length value. this fixes that "sloppiness" by using the len field. there is also another bug in the dnd test code that again has to do with "sloppy" handling of data buffers and assuming nul byte termination and not using the len field properly. this fixes T7113.
* elm_test: fix invalid read in dnd image dropMike Blumenkrantz2018-07-031-1/+3
| | | | | | | | | | | | | | | | Summary: this selection is data with a specified length, not a terminated string @fix Depends on D6484 Reviewers: devilhorns Subscribers: netstar, cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6485