summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2019-09-06eolian-mono: Renaming suffix for event and event argsBruno da Silva Belo
Summary: suffix _Args to Args, Evt to Event Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: Jaehyun_Cho, woohyun, segfaultxavi, cedric, felipealmeida, #reviewers, lauromoura, #committers Tags: #refactoring, PHID-PROJ-uhnmnvlvunw6jgoqdnd4, #efl_language_bindings Maniphest Tasks: T8164, T8163 Differential Revision: https://phab.enlightenment.org/D9692
2019-09-06fix xpm loader to be threadable - fixes so much stuff...Carsten Haitzler (Rasterman)
fixes ylee's xpm loading issue... it really is just that xpm's didn't load if you preload/load from a thread... because it wass the only loader that claimed it couldnt be threaded... which it can be. @fix
2019-09-06eolian: change composite syntax from block to inheritance sectionDaniel Kolesa
This makes more sense as these are related to inheritance tree. Therefore, change while we still can. Fixes T8183
2019-09-06ector: code refactoring.Hermet Park
Current vector drawing requires several methods for compositing, it's shouldnt have only masking but other blending functions such as matte in lottie, porter&duff in android, etc. Previously we didn't specify this method name, just reserved the options and now we started to define the methods with ector_renderer_composite_method() with Efl.Gfx.VG_Composite_Method instead of mask_set().
2019-09-06efl_ui_table: respect col,row span in last_position calculationYeongjong Lee
Summary: col,row spen is needed to get correct last_position. Thanks to segfaultxavi for refporting. ref T8182 Test Plan: https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/ui_container.c Check that long button and small button are not overlapped. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8182 Differential Revision: https://phab.enlightenment.org/D9854
2019-09-06efl_ui_table: update recalc boolean in child delete callbackYeongjong Lee
Test Plan: 1. elementary_test -to 'efl.ui.table (linear api)' 2. Click `Append` button 3 times. 3. Click `appended 6` button to delete 4. Click `Append` button. 5. Check that `appended 7` button position (1,1). Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9856
2019-09-06eldbus_proxy: Prevent dangling pointer.JunsuChoi
2019-09-06edje_edit: Prevent dangling pointer.JunsuChoi
2019-09-05bindings: Rename test cxx and csharp eo ownership tagsLauro Moura
Summary: Ref T8199 Depends on D9843 Reviewers: q66, felipealmeida Reviewed By: q66 Subscribers: cedric, #reviewers, brunobelo, #committers Tags: #efl Maniphest Tasks: T8199 Differential Revision: https://phab.enlightenment.org/D9844
2019-09-05eolian_cxx: Replace type_is_owned with is_moveLauro Moura
Summary: is_owned is being replaced with the is_move family of functions. This commit changes only the libeolian usage inside libeolian_cxx, keeping the has_own naming in the generators for a simpler patch during this freeze period. Fixes T8199 Reviewers: q66, felipealmeida Reviewed By: q66 Subscribers: cedric, #reviewers, brunobelo, #committers Tags: #efl Maniphest Tasks: T8199 Differential Revision: https://phab.enlightenment.org/D9843
2019-09-05evil: add newline at end of meson.buildVincent Torri
Reviewers: cedric, raster, zmike, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9848
2019-09-05docs: minor tweaks to efl_io_modelXavi Artigas
This file's docs are far from complete but this idea had to be written down before it was forgotten. Also, TABS.
2019-09-05fix more edje file set breaksCarsten Haitzler (Rasterman)
if group does change unloaidng first is bad because of the same reasons - losing swallowed etc. content. so disable entirely.
2019-09-05fix a bunch of breaks that having a blind file unload has broughtCarsten Haitzler (Rasterman)
We can't blindly unload here - this loses swallowed content (in swallows, boxes, tables etc.) ... this here along with an actual implementation of file unload broke the pager in E for starters as shading then unshading (double click titlebar) a window would lose the mini preview image obj swallowed in. also fullscreening would do it. this also broke gadget bar, the xkb gadget in it too and more... so this is a particularly bad thing break. @fix
2019-09-05eolian: update C generator to respect by_ref as well as testsDaniel Kolesa
2019-09-05ecore-wl2: Update doxygen for various functionsChristopher Michael
Small patch to update some missing doxygen parameter information. ref T8014
2019-09-05ecore-wl2: Fix formatting and remove duplicate EAPIChristopher Michael
Fix some doxygen formatting issues and remove a duplicated EAPI in front of function. NB: No functional changes
2019-09-05Evil: remove installation of header and pc files, remove from git Evil.hVincent Torri
this patch finishes to remove Evil public headers Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9847
2019-09-05evas_textblock: apply coding conventionAli Alzyod
Reviewed-by: Tom Hacohen <tom@stosb.com> Differential Revision: https://phab.enlightenment.org/D9819
2019-09-05efl_ui_text: EFL_UI_EVENT_SELECTION_CLEARED not calledabdulleh Ghujeh
-Add a callback to ui_text for event EFL_UI_EVENT_SELECTION_CLEARED -Select any text in the ui_text -Clear selection by clicking any area by mouse or pressing arrows in keyboard -The selection get cleared but the callback will never be called. Reviewed-by: Tom Hacohen <tom@stosb.com> Differential Revision: https://phab.enlightenment.org/D9771
2019-09-05efl_ui_text : Clear selection after past on selected textabdulleh Ghujeh
{F3752242}Select part of a text and past a smaller text on it the selection will still there. Reviewed-by: Tom Hacohen <tom@stosb.com> Differential Revision: https://phab.enlightenment.org/D9766
2019-09-05efl_ui_collection: use the correct min size hintMarcel Hollerbach
there are not enough size hints, we should add more! I mixed up which size hints i should have used here, after some back and forth it turns out that i should use the combined. This fixes the list example. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9779
2019-09-05canvas 3d: remove potential dangling pointer.Hermet Park
2019-09-05ethumb: fixed a potential dangling pointer.Hermet Park
fixed by null handling.
2019-09-05elm_test: don't use legacy win api in interfaces tags caseMike Blumenkrantz
fix T7754 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9829
2019-09-05tests/check: use test namespace for legacy check test function namesMike Blumenkrantz
no functional changes Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9830
2019-09-05efl/widget: un-@protected style property setMike Blumenkrantz
this is needed for some cases and there isn't a specific reason to keep it proected fix T8100 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9803
2019-09-05evas_textblock: fix compilation without harfbuzzAli Alzyod
Differential Revision: https://phab.enlightenment.org/D9845
2019-09-05elm_entry: handle cursor delete/backspace with clusters consist of one or ↵Ali Alzyod
multible glyphs Summary: Cluster consist of one glyph, expected to be removed on backspace or delete key. Cluster consist of multible glyph, expectd to remove part of on backspace or delete key. This is behaviour founded in Android. (our current way of handling similar to Qt) **New Behaviour** {F3750386} **Old Behaviour** {F3750387} Test Plan: Auto Testing is challenging because there are no easy way to emulate keyboard down on elm_entry ``` #include <Elementary.h> EAPI_MAIN int elm_main(int argc, char **argv) { Evas_Object *win,*box,*entry; elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); win = elm_win_util_standard_add("", ""); elm_win_autodel_set(win, EINA_TRUE); box = elm_box_add(win); entry = elm_entry_add(box); evas_object_size_hint_weight_set(box,EVAS_HINT_EXPAND,EVAS_HINT_EXPAND); evas_object_size_hint_align_set(box,EVAS_HINT_FILL,EVAS_HINT_FILL); elm_entry_entry_set(entry,"<font=NotoColorEmoji wrap=mixed >🇧🇬อั🇧🇬อั&#x1F600;&#x1F600;&#x1F600;&#x1F600;&#x1F600;อั</font>"); evas_object_size_hint_weight_set(entry,EVAS_HINT_EXPAND,0.9); evas_object_size_hint_align_set(entry,EVAS_HINT_FILL,EVAS_HINT_FILL); evas_object_show(entry); evas_object_show(box); elm_box_pack_end(box,entry); elm_win_resize_object_add(win,box); evas_object_resize(win,320,480); evas_object_size_hint_weight_set(entry,EVAS_HINT_EXPAND,0.1); evas_object_size_hint_align_set(entry,EVAS_HINT_FILL,EVAS_HINT_FILL); evas_object_show(win); elm_run(); return 0; } ELM_MAIN() ``` Reviewers: tasn, woohyun, bowonryu Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9628
2019-09-04Efreet_Uri: fix URI decoding when a Windows path (letter followed by :) is ↵Vincent Torri
passed to efreet_uri_decode() Summary: uri decoding returned a wrong URI when a Windows path is given Test Plan: rage, which is using efreet_uri is now playing files on Windows Reviewers: raster, cedric, zmike, stefan_schmidt Reviewed By: raster Subscribers: stefan_schmidt, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9839
2019-09-04efl_io_model: remove custom counting logicMarcel Hollerbach
Summary: this logic brings a few problems: - When files are annonced here, without the monitor having the context of the files, immidiat actions like deletion of the file are resulting in no deletion event. Which is definitly a bug, so we need to wait here for the monitor. - When a new count is annonced before the files are there from the monitor, we are heading towards the same issue - additionally, we might already have files available, due to the custom counting that are not annoncned through the monitor, which means, at a later pointer we are annoncing a new file which is already available via the API. Right now i do not see a way to continue with this code, it caused major issues with our CI and the POLL backend, for now things do work again. Depends on D9624 Reviewers: zmike, stefan_schmidt, cedric, felipealmeida Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9625
2019-09-04eolian: make sure to include by_ref in validation of expressionsDaniel Kolesa
2019-09-04eolian: remove the expression eval_type APIDaniel Kolesa
This is unnecessary because for all contexts where type is relevant the validator already makes sure the type and expression match correctly, so you don't ever need to re-validate it. If you are doing a generic case and are not sure, just use MASK_ALL.
2019-09-04fix parsing module path on WindowsVincent Torri
Summary: only '/' path separator is used while on Windows it can also be '\\'. Fix rage and emotion_test play of videos Test Plan: emotion_test plays videos while it didn't before this patch Reviewers: raster, cedric, zmike Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9837
2019-09-04Efl_Ui: Move elementary and change namespace Ui for ui related modelsSangHyeon Jade Lee
Summary: Select and View is ui characteristic features, so Efl_Select_Model and Efl_View_Model move to elementary from ecore seems more natural. namespace also should changed to Efl.Ui as it's right place. Test Plan: run the test while building it Reviewers: cedric, felipealmeida, bu5hm4n, zmike, lauromoura Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9820
2019-09-04eolian tests: use new c_type APIsDaniel Kolesa
2019-09-04eolian: proper error message for @by_ref on pointer typesDaniel Kolesa
2019-09-04eolian: add APIs to get full C types of parameters/returns/fieldsDaniel Kolesa
These are needed because the type itself does not carry all the information it needs to carry (particularly by_ref).
2019-09-04ector: add FIXME for coming issues.Hermet Park
We have no any test resouce but it seems very weird code... Leave a comment for future task.
2019-09-04ector: fix a wrong target buffer size.Hermet Park
the target buffer is allocated by backend engine, The buffer size must be specified with the stride, not the width. It's real dimension can be different with the our request.
2019-09-04efl_ui_timepicker: change a property name (ampm -> is_24hour)devs/woohyun/raw_editableWooHyun Jung
Summary: For better understanding of the property, "is_24hour" looks better than "ampm". @ref T7901 Reviewers: zmike, segfaultxavi, bu5hm4n, kimcinoo Reviewed By: segfaultxavi, kimcinoo Subscribers: kimcinoo, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7901 Differential Revision: https://phab.enlightenment.org/D9811
2019-09-04vg_common_svg : Initialize "display" attributeJunsuChoi
Summary: In e850e3e, the code to initialize this property is missing. That makes the object invisible when printing svg through edje. This is a patch to fix it. @fix Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9833
2019-09-04freetype: Prevent lose of data when fixed point divide calculation.JunsuChoi
Summary: In environments that long is 4byte, fixed-point division calculations will cause data loss. fixed-point division need to more space. Therefore, change all long types to long long types. Test Plan: N/A Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9817
2019-09-03docs: Update focus documentationXavi Artigas
Lots of improvements to the focus-related classes. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9828
2019-09-03efl_ui_position_manager_grid: honor NULL objectsMarcel Hollerbach
its sometimes possible that there is a NULL object returned by the batch call. We should not just access the NULL element. Additionally, if NULL was returned during visibility setting, we need to set visibility here. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9827
2019-09-03efl_ui_grid_position_manager: recalculate max min size correctlyMarcel Hollerbach
we are walking all the items anyways, so we can recalc the minsize here anyways. Additionally, this pm was never tested with code that just passes a set of items at data-access init time, without calling item_added for each item. (Which is perfectly fine). With this commit this is now perfectly possible, Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9826
2019-09-03efl_ui_position_manager_list: skip cache calculation for not finalizedMarcel Hollerbach
if we are not finalized yet, there is no reason to calculate the caches, as this will be redone later on anyways. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9825
2019-09-03efl_ui_positon_manager_list: skip viewport size setting if its the sameMarcel Hollerbach
this can be skipped. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9824
2019-09-03efl_ui_position_manager_list: require cache hereMarcel Hollerbach
the cache need to be required here, as we are going to access it later on. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9823
2019-09-03efl_ui_position_manager_list: set visibilitly more oftenMarcel Hollerbach
it is possible that the object returned by the batching call is NULL. That is valid, however, if the batching call for the visibility is getting the NULL element, but the placement is getting the none NULL element, then the item on screen will not be visible. This commit ensures that those items will be visible. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9822