summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2016-01-30js: Added combobox class to JavaScript bindingdevs/felipealmeida/nextdivyesh purohit
2016-01-26combobox: avoid calling item_selected and dismissed signal on showDivyesh Purohit
Summary: After this patch https://phab.enlightenment.org/rELM0f6e1a46a402fd9cf848ffb1bd47c6b406eb7ffa calling item,selected and dismissed signals should be avoided on combobox show. Signed-off-by: Divyesh Purohit <purohit.div@gmail.com> Test Plan: please run combobox example from elementary_test Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D3603 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-26combobox: fix continuous clicks on hoverDivyesh Purohit
Summary: Continouous clicks on hover would need to ensure that variable on_dismiss of combobox_vertical style in hover.edc should 0 when slot is being shown, otherwise events would be disabled on hover even though swallow content is shown. @fix Signed-off-by: Divyesh Purohit <purohit.div@gmail.com> Test Plan: Click continouosly on combobox and events on hover would be disabled. Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D3601 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-25Elm Image: fix usage of animated gif on the same image object more than one timeDave Andreoli
This patch @fix this usage example: 0. image obj create 1. file_set(an animated gif) 2. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play 3. file_set(a normal image) ... at this point elm_image is confused because it still think that the image is animated 4. file_set(an animated gif) 5. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play ...this now do not work because elm think that the image is already animated
2016-01-25elementary: Add missing EINA_UNUSED in combobox functionChris Michael
_elm_combobox_elm_genlist_filter_set function does not use the Eo *obj parameter so mark it as EINA_UNUSED to remove compiler warning Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-25naviframe: Update documentation of item_pop_cb_set and item_pop_to.Jaehyun Cho
2016-01-25elm_test: Show popup error when Plug can't connectJean-Philippe Andre
2016-01-24Genlist: do not select the item two times in case of a double click.Dave Andreoli
In the case of a genlist set as ELM_OBJECT_SELECT_MODE_ALWAYS the "selected" cb was called 2 times. This @fix that by skipping the selection code in case the click is not the first one (EVAS_BUTTON_NONE). Also merge the conditions of two consecutive "if" in a single statement.
2016-01-24Genlist/grid: do not set again the focus on double/triple clickDave Andreoli
Focus is already setted on first mouse-up, no need to set again in double and triple click up events @Fix the issue reported in previous commits
2016-01-24Reveal the same focus bug of previous commit also in genlist.Dave Andreoli
See previous commit for instructions on how to reproduce in "Genlist Focus" test.
2016-01-24Add a test to reveal a focus bug in Genlist/GengridDave Andreoli
To reproduce: * elm_test -to "GenGrid Focus" * turn on the "Focus Highlight" checkbox * double-click an item to show a popup that should have the focus As you can see the mouse-up event on the gengrid item steal the focus from the popup. When, instead, the item is activated with the keyboard the popup correctly keep the focus. I have this problem in both genlist and gengrid, so probably the error is not in the gengrid code, but somewhere else that I cannot find. ...any help appreciated
2016-01-22combobox: apply proper styledivyesh purohit
Summary: Initially combobox used hover's default style, this patch would make combobox use hoversel_vertical style. @Fix T3075 for 2nd point. Signed-off-by: divyesh purohit <div.purohit@samsung.com> Test Plan: please run combobox example from elementary_test Reviewers: shilpasingh, cedric, raster Subscribers: rajeshps, govi Maniphest Tasks: T3075 Differential Revision: https://phab.enlightenment.org/D3596 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-22combobox: "return" key handled correctly and removed unreachable code.divyesh purohit
Summary: _key_action_activate was triggered when "return" was pressed, _key_action_move contained the "return" key handling, which is unreachable code. @fix T3075 (1st point). Signed-off-by: divyesh purohit <div.purohit@samsung.com> Test Plan: please run combobox example in elementary_test Reviewers: shilpasingh, cedric, raster Subscribers: rajeshps, govi Maniphest Tasks: T3075 Differential Revision: https://phab.enlightenment.org/D3599 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-22combobox: move responsibility to define filter and content to the user of a ↵Cedric BAIL
combobox Before this patch, the filter was set inside the combobox. This is confusing for the user of the object as it can't define a custom filter except on strings. It is also impossible to bind as binding require to know what was put in and they can't differentiate between a genlist filter being set from the binding to one being set internally by the combobox. @fix
2016-01-22genlist : fix tree item floating issue when homoegeneous mode is enabledSangHyeon Lee
genlist item is flaoting upon the expanded item when homoegeneous mode is enabled. when item block is recalculated by tree expanding, new item didn't update their properties and values becuase of size hash, but edc actaully need to be recaculated after swallowing tree size padding. solve the issue by adding expand depth check in size hash. you can check the previous issue in T2708 elementary_test->genlist tree->homoegeneous check @fix
2016-01-21Adjust "context_menu_disabled" configuration.Dave Andreoli
This @fix three (yes 3!) errors from commit cafda5928f9bf8116564219dc03d12c3a6e131b3 1. the initial value in the standard config is wrong, causing ctx menu to be disabled for everyone! 2. the argument of the api should be named "disabled" (like all the other disable API in this context) 3. (minor) fixed doc for elm_config_context_menu_disabled_set NOTE: there are no configuration gui for this option, if you cleared your elm config recently you probably now have the ctx menu disabled everywhere, only solution is to wipe your config (to let elm create a new correct one) Big SPANK to the author, the commiter and all the reviewers of D2463!!!
2016-01-21elm: Replace EO_EV_ by EO_BASE_EVENT_Jean-Philippe Andre
EO_EV_ stuff is deprecated
2016-01-20elm_hoversel: fix calculation to make items fit to dropdown boxJee-Yong Um
Summary: While applying scroller on hoversel, several lines for item size calculation were added, but they failed to have item get proper size. Now redundant codes are removed and some are fixed, and hoversel will be shown more well-ordered. Test Plan: elementary_test hoversel Reviewers: jpeg, raster, cedric Differential Revision: https://phab.enlightenment.org/D3589
2016-01-20elm_widget: use internal function for clearing the focusMinkyu Kang
Summary: This patch will remove duplicate logic Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Reviewers: seoz, Hermet, cedric Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D3573
2016-01-20update authorHermet Park
2016-01-20elm_widget: cleanup _elm_widget_on_focus functionMinkyu Kang
Summary: This patch will reduce duplicate codes and code depth for readability Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Reviewers: seoz, Hermet, cedric Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D3574
2016-01-19Combobox: rename the "selected" event to "item,selected" as it should be.Dave Andreoli
Also updated the test to reflect this change
2016-01-19elementary: Fix elm_win_window_id_get functionChris Michael
When using this function with wayland windows, we should be returning the matching Ecore_Wl2_Window id, not the surface_id ref T3058 @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-18Hoversel: add a test for the populate-on-click scenarioDave Andreoli
2016-01-18gitignore: Add new example to gitignore list.Daniel Juyung Seo
2016-01-18examples/combobox: Remove unused functions.Daniel Juyung Seo
2016-01-17Gengrid: improve item_region_show codeDave Andreoli
There is no need to recalc row and col position of the item, they are already stored in the item struct. The old implementation was calculating wrong values and also was storing this wrong values in it->x and it->y, resulting in wrong results for the elm_gengrid_item_pos_get() function. so, at the end, this is a @fix for the pos_get() function. Also changed a bit the test to let the gengrid fill the window and thus testing behaviour on col/row changes. I didn't find any regression in all the gengrid tests after this, let me know if it broke something for you.
2016-01-15config: Correct defaults in upgrade of popup confAndy Williams
After bumping version we need to create a new IFCFG block. @fix T3008
2016-01-15slider: fix segfault in case of obj is deleted before wheel timeout timer ↵Amitesh Singh
expires Issue: 1. elementary_test -> slider 2. move mousewheel on slider and popup gets shown. 3. close the slider window very fast or increase the wheel_timeout to 4 seconds 4. observe crash
2016-01-14config: try to properly update config for popup new align value.Cedric BAIL
This idea has been suggested by Andrew Williams and I hope it does work just fine. Please report any problem. @fix T3008
2016-01-14elm_config: close file before moving itStefan Schmidt
2016-01-14elm_config: print an eror message if we fail to save the derived config profileStefan Schmidt
2016-01-14elm_config: handle eet_data_write possible error returnStefan Schmidt
CID: 1347399
2016-01-14examples: fix compilation from command line (file models)Jean-Philippe Andre
2016-01-13box: enforce size recalc during unpack_all()Mike Blumenkrantz
deleting subobjects here was occurring and triggering sizing eval prior to removing the objects from the evas box, resulting in a failure to accurately calculate and set size hints also set delete_me to block sizing evals during subobj deletion loop in order to avoid object thrashing during the time when nothing is happening @fix
2016-01-13box: improve aspected layout for non-1:1 ratio aspectsMike Blumenkrantz
the aspect calc function requires unaliased size params, so don't pass aliased params also clamp min axis size to min aspected item size as intended
2016-01-11els_cursor: mark internal struct staticStefan Schmidt
2016-01-11elmn_config: mark some internal variables and functions staticStefan Schmidt
2016-01-11atspi: mark some internal structs staticStefan Schmidt
2016-01-11examples/combobox: include string.h for strcasestr()Stefan Schmidt
2016-01-11Widgets: remove duplicate declaration of language,changed signal.Tom Hacohen
They are already defined in Elm.Widget, and they inherit from it. Fixes T3208.
2016-01-11Widgets: remove duplicate declaration of access,changed signal.Tom Hacohen
They are already defined in Elm.Widget, and they inherit from it. Fixes T3208.
2016-01-11modules/prefs/elm_entry: Add safety check for NULL pointer and fix memory leakMinwoo, Lee
Summary: Add safety check for NULL pointer and fix memory leak Reviewers: cedric, woohyun, Hermet, stefan_schmidt, raster Reviewed By: stefan_schmidt, raster Subscribers: Hermet Differential Revision: https://phab.enlightenment.org/D2740
2016-01-11elm entry: check for null return from eina_rectangle_newCarsten Haitzler (Rasterman)
this will handle if eina_rectangle_new can't allocate a rect (basically never will happen...) @fix
2016-01-09js: fix examples functionsLarry
Summary: update functions in examples @fix Reviewers: cedric, felipealmeida Differential Revision: https://phab.enlightenment.org/D3548 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-09combobox: fix recalc and hover's best_location errordivyesh purohit
Summary: 1) Recalc error occurs if combobox_hover_begin() was called by the app, it can be reproduced by keeping elm_combobox_hover_begin() in the test_combobox.c 2) Content_set in hover always considered "bottom" as it's best_location as it done during the constructor. @fix Signed-off-by: divyesh purohit <div.purohit@samsung.com> Test Plan: It can be reproduced by keeping elm_combobox_hover_begin() in the test_combobox.c. Also the changing the position of combobox in the window would give top/bottom as it's best location. Reviewers: cedric, shilpasingh Reviewed By: shilpasingh Subscribers: rajeshps, govi Differential Revision: https://phab.enlightenment.org/D3544 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-08box: update evas box geometry during layout after smart extents calcMike Blumenkrantz
smart extents may trigger a recalc during size hint setting, resulting in the box being moved/resized during layout
2016-01-08hoversel: don't activate if the items were none.Hermet Park
it's wierd to expand hoversel without items. the behavior made me suprised before i analyzed it. it looked almost a bug. if you have any other objections, please ping me.
2016-01-08hide indicator after mouse wheel activation.Hermet Park
we need to customize the duration of the indicator from api or theme data. @fix T2348
2016-01-08ctxpopup: add geometry,update smart callback.Hermet Park
conceptually, ctxpopup won't give any geometry information of the container. this event is a way for returning the information of the container for user scenarios. @feature. fix @T2042