summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-01EFL Model Form View for MVC designdevs/felipealmeida/emodel-viewLarry Jr
Elementary view that show an EFL.model and keep them synchronized asynchronously. The elm_view_form connects properties of a data model to different widgets. There is an example defined in src/examples/filemvc.c that also uses a list view. You can add widgets connected to properties using: eo_do(formview, elm_view_form_widget_add("filename", _label_init(win, bxr, "File Name"))); @feature
2015-07-01EFL Model List View for MVC designLarry Jr
Elementary views that show an EFL.model and keep them synchronized asynchronously. The elm_view_list show a tree data structure using a genlist. Each property is seen as a different data column. There is an example defined in fileviewlist.c. @feature
2015-07-01elm_entry: use Efl.File in Elm_EntryVitor Sousa
Summary: Also using the second optional string parameter of efl_file_set as the text format specifier. Added string constants to represent the possible values. Address the issue: - Elm entry and the file interface clash on file_set. Specified in the page: https://phab.enlightenment.org/w/efl_interfaces/ Reviewers: felipealmeida, tasn Reviewed By: tasn Subscribers: thiepha, raster Differential Revision: https://phab.enlightenment.org/D2353
2015-07-01win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDENVitor Sousa
Summary: Add the "autohide" property to elm_win. This property, when set to EINA_TRUE, automatically hides the window upon a "delete,request" signal. Create ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN, a new quit policy that automatically exit from the elm_run loop when all windows are hidden. It is an alternative to autodel to conciliates the memory management framework of Eo with any other memory management model the program may be using (e.g. RAII principles of C++). Create the auxiliary function "_elm_win_policy_quit_triggered" to check triggering of quit policies. The check in "smart_hide" is now necessary, since ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN can be triggered when a window is hidden. Create the auxiliary function "_elm_win_flush_cache_and_exit" to avoid code repetition for exiting the elm_run loop. Make a small update on documentation in elm_win.h to mention the new autohide property. @feature Reviewers: raster, felipealmeida, cedric, tasn Reviewed By: felipealmeida Differential Revision: https://phab.enlightenment.org/D2751
2015-07-01genlist: broadcast atspi expanded state changesLukasz Stanislawski
2015-07-01layout: Fix eo API error while running "Genlist 7" in elementary_test.Amitesh Singh
In case of naviframe, resize_obj is not edje. Steps to reproduce: 1. elementary_test 2. Open "Genlist 7" sample. 3. Switch focus between windows ("elementary_test" <---> "Genlist 7"). Eo Errors: ERR<8720>:eo lib/eo/eo.c:678 _eo_call_resolve() in lib/edje/edje_object.eo.c:430: func 'edje_obj_message_signal_process' (733) could not be resolved for class 'Elm_Layout'. @fix Resolves: T2534
2015-07-01test_focus: Focus should to move layout's entryAnand
Summary: While going through the test_focus(focus 2-> give focus to layout "entry") code found focus should move to layout's entry instead of entry outside the layout. Just change the entry object in callback ;) Test Plan: elementry_test-->focus2-->give focus to layout "entry". Reviewers: cedric, Hermet Differential Revision: https://phab.enlightenment.org/D2611
2015-07-01Elm_Interface_Scrollable: Improvement in looping behaviorUmesh Tanwar
Summary: x and y position variable assumes values ranging from min to max. cw, the content width is larger than max in x axis. Beacause of this the scroller is not able to loop in rigth/bottom direction. For looping comparision min and max values should be used instead of content width. @fix Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com> Reviewers: raster, seoz, cedric, Hermet Reviewed By: Hermet Subscribers: eagleeye, SanghyeonLee, singh.amitesh, sachin.dev Differential Revision: https://phab.enlightenment.org/D2731
2015-07-01elm_datetime: Fix datetime ctxpopup resize issuedivyesh purohit
Summary: In elm_datetime, ctxpopup does not resize @fix Test Plan: 1) Change the scale value in elementary_config to 2.0 (so that a better size change in the ctxpopup's can be observed) 2) Open elementary_test and then the datetime 3) Click on the first datetime field and observe the ctxpopup's arrow position and then close it 4) Click on the same datetime field again, now observe that the ctxpopup's arrow has concided with the diskselector as it wasn't resized properly. Reviewers: raster, Hermet, shilpasingh, subodh6129, seoz Reviewed By: shilpasingh, subodh6129 Subscribers: rajeshps, govi, poornima.srinivasan Differential Revision: https://phab.enlightenment.org/D2628
2015-07-01multibuttonentry: Delete item size min set when first box resize time.woochan lee
Summary: The mbe items has to get own min size to calc each items locate, box size etc... but when first time box resize it will ignored. It makes item wrong size issue when mbe located at some part of layout in runtime. Reviewers: Hermet, seoz, woohyun Differential Revision: https://phab.enlightenment.org/D2657
2015-06-30atspi: enable atspi also in quicklaunch infrastructureLukasz Stanislawski
2015-06-30Genlist: use correct variable during realizeDaniel Zaoui
VIEW(it) is not set when the function is called. view should be used instead. @fix
2015-06-29atspi: fix missing Window signals on AT-SPI2 initializationLukasz Stanislawski
Patch adds connected/disconnected elm_atspi_bridge events to avoid races between window getting focus and AT-SPI2 bus initialization. When bridge gets connected windows will reemit all "Created", "Activated" and "Deactivated" events with regard to window focus.
2015-06-29Set file permissions back to 644Daniel Zaoui
Few files permissions have been modified by mistake in the past patches.
2015-06-29atspi: add org.a11y.atspi.Application interface to root objectLukasz Stanislawski
2015-06-29atspi: add missing headerLukasz Stanislawski
2015-06-29atspi: refactor atspi_bridge to eo objectLukasz Stanislawski
This will allow to reuse eo events infrastructure in next patches.
2015-06-29elm_flip: porting evas smart callbacks to eoAvi Levin
2015-06-29elm_photo: porting evas smart callbacks to eoAvi Levin
2015-06-29elm_dayselector: porting evas smart callbacks to eoAvi Levin
2015-06-29elc_player: porting evas smart callbacks to eoAvi Levin
2015-06-29elc_popup: porting evas smart callbacks to eoAvi Levin
2015-06-29elm_box: porting evas smart callbacks to eoAvi Levin
Replacing calls of evas_object_smart_callback_add/del/call with eo_callback_add/del/call. This will reduce the use of legacy events and callbacks lists in smart_object which in turn will improve performance and reduce memory use.
2015-06-29slider: call elm_widget_theme_get instead of elm_object_theme_get.Amitesh Singh
This reduces one function call and make code more consistent between widgets.
2015-06-29Revert "theme: return false if elm_object_style_set() failed to set ↵Amitesh Singh
requested style." This reverts commit 76004dfbec84664e253babc5bf576398a5901395. We need to change other code also to accommodate this change. _elm_theme_set should return an enum which tells what failed. enum { THEME_APPLY_FAILED, THEME_DEFAULT_SUCCESS. THEME_APPLY_SUCCESS }; Based on that, we decide what needs to be done. The above code will break the layout theme if incorrect theme are passed. It should be backported to Elm 1.14. @fix
2015-06-26Wayland cnp: Fix const qualifier discarding following eolian const fixes.Tom Hacohen
2015-06-26Replace C names by Eolian namespaced names in .eo filesVitor Sousa
Reviewers: tasn, felipealmeida, raster, cedric Differential Revision: https://phab.enlightenment.org/D2750
2015-06-26elm_config: Add feature to control transition scale for edjejiin.moon
Summary: If the transition scale flag is enable in edje, this value affect the transition scale for edje. @feature Test Plan: test elementary_config with enventor tool Reviewers: raster, Hermet Subscribers: raster Differential Revision: https://phab.enlightenment.org/D2288
2015-06-26test_focus_policy: Enhance object focus policy test.Daniel Juyung Seo
- Add more descriptions in the test. - Set the focus to the first button automatically.
2015-06-26layout: Add more description for layout's internal smart data members.Daniel Juyung Seo
2015-06-26elm: Add missing const for getters.Daniel Juyung Seo
2015-06-26interface_scrollable: Add more description to animators.Daniel Juyung Seo
It is surprising that there is no such a comment on a scrollerable interface considering the complexity of scroller.
2015-06-26elm: Remove shadow variable declarations.Daniel Juyung Seo
2015-06-26edje_externals: Fix wrong free.Daniel Juyung Seo
_signal is used after free. _signal will be freed soon any way. This was introduced in 3da3082. This fixes coverity CID 1308263.
2015-06-26test_win_keygrab: Fix buffer not null terminated error.Daniel Juyung Seo
This fixes coverity CID 1308264.
2015-06-25elementary: Add rudimentary support for Elm Wayland apps to set border iconChris Michael
Summary: This is a patch to fix T2453 where elm apps in weston/E did not display the icon on the border. This is just preliminary support because it only tries to find the efreet desktop file based on _elm_appname. This support Could be extended to allow efreet to search based on window title, etc, etc. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-25elm_interface_scrollable: fix wrong mirrored calculationSangHyeon Lee
Summary: This Patch is regarding D2553, but funtionally independent patch. D2557 is also related with this patch, so to test working fine, need to install those all three patches. 1. _elm_interface_scrollable_content_region_show store wx into scroll_interface_data without coverting mirrored_x. fix to store wx to mirror-converted x if is_mirrored. 2. _elm_scroll_x_mirrored_get return mirroed_x after compare zero not minx. so current mirrored_x couldn't be less then 0. fix to check min not 0 for set return value. 3. _elm_scroll_x_mirrored_get calculation need to consider start position of scroller. some scroller(e.g. gengrid) start from non-zero position, so calculation need to change like below. ret = (cw - (x + w - min)); @fix Test Plan: You can test this after merge D2553 patch and D2557 and test gengrid2. Reviewers: raster, Hermet, seoz, jaehwan, tanwar.umesh07, cedric Subscribers: tanwar.umesh07, Jaehyun, anand.km, eagleeye, singh.amitesh Differential Revision: https://phab.enlightenment.org/D2558 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25elm_gengrid: fix an overlap issue of item and group item on focus.Prince Kr Dubey
Summary: Issue: Gengrid item comes over group item on click. Test Plan: Run elementary test. Open GenGrid Group. Click on any item which slightly overlap with group item. Item comes over group item. Reviewers: raster, cedric Reviewed By: cedric Subscribers: rajeshps, govi, poornima.srinivasan, shilpasingh Differential Revision: https://phab.enlightenment.org/D2589 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25elm_gengrid: fix the bug that gengrid item index(position) is updated wrong ↵SangHyeon Lee
value in item_update Summary: elm_gengrid_item_update perform item_unrealize/item_realize/item_place itself. But when gengrid items are added and not calculated yet, caller want to get item's index after execute elm_gengrid_item_update, return value is wrong because item_place update it's position in not-updated item's x and y. to prevent this, if item position is already updated, do not updates position in item place. additionally, I fixed gengrid item prepend wrong posiiton update. gengrid item position start from 1 not 0, so item_position_update also must be started from 1. @fix Test Plan: To test this scenario, need to fix src/bin/test_gengrid.c first. 1. add below codes in bottom of _after_bt_clicked(line 703). ``` Elm_Object_Item *it = elm_gengrid_item_next_get(id->item); printf("before update efl item[%p], index [%d]\n",id->item,elm_gengrid_item_index_get(it)); elm_gengrid_item_update(it); printf("after update efl item[%p], index [%d]\n",id->item,elm_gengrid_item_index_get(it)); ``` 2. execute elementary_test and go to gengrid2 test. 3. add 3 items and select 2nd item then add new item by insert after. 4. you can see index is changed wrong value after item_update executed. after add fallback code in item_update, index is returned same value even after item_update execusion. Reviewers: raster, Hermet, seoz, jaehwan Subscribers: anand.km, eagleeye, singh.amitesh Differential Revision: https://phab.enlightenment.org/D2616 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25elm_list & elm_genlist & elm_gengrid: fix the behavior of using the mouse.Hosang Kim
Summary: Elementary widgets have different behavior of using the mouse, they need to be unified. - swipe : without checking on hold, just checking drag state. - longpress : after longpress, _item_unhighlight(), _item_unselect() are called. - select : when the mouse pointer leaves item area, _item_unhighlight(), _item_unselect() are called. First, apply this commit https://phab.enlightenment.org/D2550 Test Plan: elementary_test -> list Reviewers: seoz, Hermet, CHAN, woohyun, kimcinoo, jaehwan, SanghyeonLee, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D2622 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25gengrid: add unhighlight callbackHosang Kim
Summary: item_unselect check it->select status, so when item highlighted but not selected, item highlight is remaining even after unselect_cb is called. And item_select and item_highlight are separated, but item_unselect and item_unhighlight are mixed. so divide them, too. This patch will solve upon problem. Reviewers: seoz, woohyun, Hermet, CHAN, raster, SanghyeonLee, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D2653 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25gengrid: add item cache in gengrid for efficient realize/unrealize operation.SangHyeon Lee
Summary: gengrid realize/unrealize items each smart calculation if their posiiton is updated. This concept will be occurred useless view object creation and deletion. So instead of delete items in unrealize function, push item cache into cache list, and pop item cache from cache list in realize function to reuse item view object more efficiently. the cache concept is already implemented in genlist widget and this patch is improved item cache of genlist cache. @feature ``` NOTICE: This patch is written under the D2561 Patch which add elm_gengrid_item_fields_update. So it must submitted after D2561. ``` Test Plan: I've tested below three cases, 1. tested ith this patch in elementary_test and checked all gengrid features are working properly. 2. tested with changing CACHE_MAX to another value which is set 40 in default and checked all gengrid features are working properly. 3. tested with set it->item->nocache true, and checked cache is never generated and checked all gengrid features are working properly. Reviewers: raster, Hermet, seoz, jaehwan, singh.amitesh Subscribers: eagleeye, singh.amitesh, Jaehyun Differential Revision: https://phab.enlightenment.org/D2641 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25elm_spinner: add feature in spinner to change values while dragging relative ↵godly.talias
to the speed of dragging Summary: Currently the values in spinner change while dragging only based on the amount of pixels dragged, this patch will enable Spinner to change value based on the speed of dragging so that it will be more user friendly. This will help users to alter drag values by big amounts if dragged in a good speed. Test Plan: test_spinner.c in elementary_test Reviewers: raster, prince.dubey, shilpasingh, cedric Reviewed By: cedric Subscribers: poornima.srinivasan, rajeshps, govi Differential Revision: https://phab.enlightenment.org/D2659 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25genlist/list/win: Revert focus highlight animation when looping is enableAmitesh Singh
Summary: - Revert "focus: Added internal widget APIs of focus highlight object of elm window." This reverts commit 3f98d71830163a154762f2d16301d720c781b7c5. - Revert "List: Focus highlight when loop is enable" This reverts commit 57ad32a900e71f83441bf7246671b8f16a8ec909. - Revert "genlist: Focus highlight when loop is enable" This reverts commit 91282a22cba66ee5e7799018d3abe8957fb1b1fa. Reviewers: seoz, raster, jpeg, SanghyeonLee Subscribers: anand.km, seoz Differential Revision: https://phab.enlightenment.org/D2725 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25calendar: show days of prev/next month.Youngbok Shin
Summary: Show days of previous and next month on the blank area of calendar. @feature Test Plan: See calendar widget on elementary_test. Reviewers: raster, seoz, woohyun, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D2728 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25elm_colorselector: pixel-picker accuracy fixVitalii Vorobiov
Summary: Looking at the base array of pixels, the real middle of taken picture is actually number 8 from array of 17 pixels (which starts from 0). @fix Reviewers: reutskiy.v.v, raster, NikaWhite, cedric Reviewed By: NikaWhite, cedric Differential Revision: https://phab.enlightenment.org/D2749 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25focus: fix typo in API Documentation.Vaibhav Gupta
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com> Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: sachin.dev, singh.amitesh Differential Revision: https://phab.enlightenment.org/D2767 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25elm: constify Eolian methods correctly because of recent Eolian changesDaniel Kolesa
2015-06-25cnp: remove loss callback when object is deletedThiep Ha
Summary: SEG_FAULT happens when the object which has selection is deleted, and new selection is done at another object. Reason: loss_cb is not removed when the object which has selection is deleted. When new selection is set for new object, the loss_cb is called for deleted object. As result, SEG_FAULT happens. Test Plan: Run elementary test, open Entry, do selection, close Entry window, open Entry one more time, do selection. Reviewers: JackDanielZ Differential Revision: https://phab.enlightenment.org/D2763
2015-06-25config: read flush.cfg when elm_config_all_flush is called.Jaehwan Kim
When elm_config_all_flush is called, another processes should get the config of current process instead of saved base.cfg. so current process save the config to flush.cfg and another processes read it when it is changed. @fix