summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* elm: add basics test to create a destroy *every* widget with errorsdevs/bu5hm4n/test-tryMarcel Hollerbach2019-09-304-1/+141
| | | | | | | | | | | this simply creates packs, resizes, and destroys every single widget that we have in legacy elm. This i made to ensure that there are no mistakes in the construction chain. Additionally, a second test case checks that creation with none elm parents is erroring but not failing, this seems weird, but we have provided that in the past, so we should continue providing this. Differential Revision: https://phab.enlightenment.org/D10088
* eolian-cxx: Release iteratorsLauro Moura2019-09-301-2/+8
| | | | | | | | | | | | | | | | | | | | Summary: When the iterators advanced, the CXX wrappers null'd them but did not call eina_value_free. ref T8280 Reviewers: q66, brunobelo, felipealmeida Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8280 Differential Revision: https://phab.enlightenment.org/D10238
* bindings: Fix disposal of eolian stateLauro Moura2019-09-302-33/+7
| | | | | | | | | | | | | | | | | | | | Summary: It was actually leaking before. Let's use some RAII classes that were already there. ref T8280 Reviewers: q66, felipealmeida, brunobelo Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8280 Differential Revision: https://phab.enlightenment.org/D10237
* mono-docs: Add some missing docs for workaround.csXavi Artigas2019-09-301-4/+17
| | | | | | | | | | | | | | Test Plan: Only docs changed. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10249
* theme: remove duplicated version 119Jaehyun Cho2019-09-301-1/+0
| | | | | | | | | | | | | | Summary: Since the current version is 123, duplicated version 119 is removed. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10248
* eolian: fix potential ABI violation in expr serializationDaniel Kolesa2019-09-301-2/+4
| | | | | | | | While this may seem safe, and likely is on any 64-bit system, it may not be entirely well defined. And in this case we should not have to worry about copying. Maybe fixes T8276...
* tests/position_manager: initialize variable in declarationMike Blumenkrantz2019-09-301-1/+1
| | | | | | | CID 1404756, 1404747 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10202
* elm_code_widget: when the position is updated, set new geom to cursorMarcel Hollerbach2019-09-301-0/+3
| | | | | | | | | | | in order to do that, we need to ensure that the internal box is calculated, otherwise the position is still not updated correctly. This fixes wrong cursor positions in edi. fixes T8214 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10225
* elm_code_widget: initialize these vars correctlyMarcel Hollerbach2019-09-301-1/+1
| | | | | | | | otherwise we are setting a cursor from time to time at a uninitialized position. Which causes disappeared cursors Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10224
* Revert "eo beta - mark task, io classes as beta because they are..."Mike Blumenkrantz2019-09-303-3/+3
| | | | | | | | | | | | This reverts commit 5455a2dcf7ded4e0fe91c0a6b734998278de8fe8. these classes were explicitly stabilized for 1.22 see T7599, T7600, T7601 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D9901
* Updating README for clang requirements.Bruno da Silva Belo2019-09-301-0/+1
| | | | | | | | OpenMP needs to be installed in system to sucessfully compile with clang, needs libomp, while gcc use his version, libgomp. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10213
* test_code: do not create a background by handMarcel Hollerbach2019-09-301-6/+2
| | | | | | | | the background here was wrong, it hasnt resizable hints, which means that the whole object cannot be resized. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10223
* efl_ui: remove legacy component includes, include Efl_Layout.h and Efl_Canvas.hMike Blumenkrantz2019-09-301-23/+2
| | | | | | | | | this header shouldn't include any legacy headers whatsoever fix T8274 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10236
* efl_ui: remove efl_ui_text headers from Efl_Ui.h for nowMike Blumenkrantz2019-09-3017-13/+32
| | | | | | | | these require legacy types and headers, which should not be brought into this header Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10235
* benchmark/collection: add Elementary.hMike Blumenkrantz2019-09-301-0/+1
| | | | | | | this uses legacy api Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10234
* tests/spin_button: include Elementary.h since this uses legacy apiMike Blumenkrantz2019-09-301-0/+1
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10233
* tests/spec: use eo types here since this isn't supposed to use legacyMike Blumenkrantz2019-09-301-3/+3
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10232
* efl_ui: explicitly include eo headers for a couple typesMike Blumenkrantz2019-09-301-2/+2
| | | | | | | the general headers here pull in legacy headers, which is bad Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10231
* elm_test/radio: use eo type hereMike Blumenkrantz2019-09-301-1/+1
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10230
* edje: add Efl_Layout.h for eo-based layout headersMike Blumenkrantz2019-09-306-0/+71
| | | | | | | | | | | this includes all related headers ref T8274 Additional Authors: Lauro Moura <lauromoura@expertisesolutions.com.br> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10228
* edje: rename edje_types.eot to efl_canvas_types.eot and move includeMike Blumenkrantz2019-09-305-4/+4
| | | | | | | this has no relation to legacy and should not be included in legacy headers Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10227
* efl/canvas: add Efl_Canvas.hMike Blumenkrantz2019-09-306-1/+127
| | | | | | | | | | this includes all the efl.canvas headers and adds some compilation tests for the header to the unit test suite ref T8274 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10226
* evas map: diable high quality texture mapping feature.Hermet Park2019-09-301-1/+7
| | | | | | This is a little bit buggy, need to make it stablize further. Temporarily diable this for 1.23 release.
* theme: port to efl.ui.clickable and use macro for anchor styleJaehyun Cho2019-09-301-6/+1
| | | | | | | | | This patch applies the following commits to anchor style. bb1388798b1afaced65484cedf385a93f6b1bb6a 122ca2fa2f9290729e10715253e45f0ad343e09a Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10247
* eolian_mono: support beta for enum if mono-beta is enabledJaehyun Cho2019-09-301-1/+3
| | | | | | | | | | | | | | | | Summary: this generates beta enum with `-Dmono-beta=true`. Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, YOhoho Reviewed By: YOhoho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10246
* eolian_mono: Respect beta for enumYeongjong Lee2019-09-302-0/+5
| | | | | | | | | | | | | | | | Summary: this prevent generating beta enum with `-Dmono-beta=false`. Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=false Reviewers: lauromoura, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10245
* Pyolian: implemented eolian Error objectDave Andreoli2019-09-293-0/+35
|
* Pyolian: reformat code to make pycharm happyDave Andreoli2019-09-294-139/+177
| | | | and fix some typos in the code
* elm_*: make scrolling correct againMarcel Hollerbach2019-09-287-39/+28
| | | | | | | | | | | | | | | | | in revision D9859 the scroll events have been renamed. However this also renamed the legacy widgets, which also renamed the evas smart events, which is a bug. With this commit we are back to plain old evas_smart_callback_call calls, as these just take the string, and do not need the bypassing through the eo events. This fixes: - elm_test gengrid,toolbar,panel (the events are now shown correctly again) - scrolling in elm_code_widget - elm_map in a touchscreen Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10240
* elm_test: undef logging macros before redefining them in headerMike Blumenkrantz2019-09-271-0/+5
| | | | | | | | | | | | | | Summary: Depends on D10228 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10229
* efl_ui_suite: Some pointers were being delete.Bruno da Silva Belo2019-09-271-1/+4
| | | | | | | | | `efl_ui_smart_transition_lifetime` test causes segfault when compile with `clang`. Fixes half of T8277 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10221
* themes: Rename "dragable" to "draggable"Xavi Artigas2019-09-2712-206/+206
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: "Dragable" is a misspelling: https://en.wiktionary.org/wiki/dragable We have it EVERYWHERE in EFL, even with jokes: ./src/lib/efl/interfaces/efl_ui_drag.eo:1 This patch only fixes the theme API so it does not get carved in stone for this release. Depends on D10217 Test Plan: No functional changes. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10218
* theme: replace hbar and vbar to horizontal_bar and vertical_barJaehyun Cho2019-09-279-126/+126
| | | | | | | | | | | | | | | | Summary: To make clear the meaning, hbar and vbar are replaced to horizontal_bar and vertical_bar. Reviewers: zmike, woohyun, segfaultxavi Reviewed By: zmike, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10217
* evas filter: Implement grayscale filter in pure GLShinwoo Kim2019-09-2712-2/+237
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Initial version implementing grayscale filter in pure GL. This patch needs a logt of love as 5bce712 did. Grasyscale formula: https://www.tutorialspoint.com/dip/grayscale_to_rgb_conversion.htm Test Plan: 1. Create filter_example with following . efl_gfx_filter_program_set(image, "grayscale ()", "grayscale"); 2. Run. ELM_ACCEL=gl ./filter_example Reviewers: Hermet, jsuya Subscribers: ali.alzyod, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9858
* evas: fix memory leak with Efl.Canvas.VgCedric Bail2019-09-272-10/+14
| | | | | | | | | | | | | | | | | | | | Summary: It is not correct to change the parent and hope that refcount will work for you. The parent chain is a decision made by the user, not something a widget can touch. Only ref count are to be used when given an outside object. As things where not triggering destruction, there was also no point where the image buffer would be getting to zero and be freed. This commit also fix this. Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10169
* theme: remove efl.track.slider and efl.track2.slider from efl_ui_sliderJaehyun Cho2019-09-261-44/+0
| | | | | | | | | | | | | | | | | Summary: efl_ui_slider does not support popup which shows the current value. Therefore, efl.track.slider and efl.track2.slider swallows which set the popup size and position are not required in efl_ui_slider. Reviewers: zmike, woohyun Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10216
* evas/object; fix null derefMike Blumenkrantz2019-09-261-2/+7
| | | | | | | | | | | | | | | | | | Summary: _efl_canvas_object_clipper_prev_reset() derefs obj->cur CID 1396985 Depends on D10211 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10212
* eio/dir: fix null derefMike Blumenkrantz2019-09-261-2/+3
| | | | | | | | | | | | | | | | | | Summary: above cases may fail, causing target to be null CID 1399103 Depends on D10210 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10211
* efl_ui/image fix null derefsMike Blumenkrantz2019-09-261-2/+2
| | | | | | | | | | | | | | | | Summary: CID 1405781, 1405780 Depends on D10209 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10210
* efl_ui/scroll_manager: fix null derefsMike Blumenkrantz2019-09-261-2/+2
| | | | | | | | | | | | | | | | Summary: CID 1405811, 1405804 Depends on D10208 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10209
* efl_ui/table: handle case where table has no itemsMike Blumenkrantz2019-09-261-0/+5
| | | | | | | | | | | | | | | | Summary: CID 1399086 Depends on D10207 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10208
* ecore_evas/convert: fix div by zeroMike Blumenkrantz2019-09-261-1/+1
| | | | | | | | | | | | | | | | | | Summary: if one is 0, the printf line will divide by it CID 1403900 Depends on D10206 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10207
* tests/eina: outdent codeMike Blumenkrantz2019-09-261-3/+3
| | | | | | | | | | | | | | | | | | Summary: this is a very important coverity issue. CID 1400838 Depends on D10205 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10206
* eina/list: move dead code inside corresponding #ifdefMike Blumenkrantz2019-09-261-2/+2
| | | | | | | | | | | | | | | | | | Summary: this is debug code CID 1404753, 1404745 Depends on D10204 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10205
* tests/strbuf: call va_end for varargsMike Blumenkrantz2019-09-261-0/+1
| | | | | | | | | | | | | | Summary: CID 1400792 Reviewers: brunobelo Reviewed By: brunobelo Subscribers: brunobelo, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10204
* epp: remove extra variable passed in format specifierMike Blumenkrantz2019-09-261-1/+1
| | | | | | | | | | | | | | Summary: CID 1402674 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10203
* eolian_cxx: Possible infinite loop, if called.Bruno da Silva Belo2019-09-261-1/+1
| | | | | | | | | | | | Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10200
* efl_ui/item_clickable: mark beta againMike Blumenkrantz2019-09-261-3/+3
| | | | | | | | | | | | | Summary: this isn't strictly necessary at the moment Depends on D10197 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10199
* theme: add spec documentation for all stabilized theme groups in 1.23Mike Blumenkrantz2019-09-2616-3/+438
| | | | | | | | | | | | | | | | | Summary: this is just output from edje-theme-spec tool. it isn't really enough to be considered full theme documentation, but it's better than nothing ref T8231 Depends on D10196 Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10197
* theme: remove efl_ui_slider "disabled" stylesMike Blumenkrantz2019-09-261-4/+0
| | | | | | | | | | | | | Summary: these should be handled in the regular theme group, no idea why they existed Depends on D10195 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10196