Ryuan Choi [Sun, 13 Oct 2013 15:57:42 +0000 (00:57 +0900)]
popup: Change the behavior of adding or removing buttons.
Summary:
Although user should give the position of button such as button1, current elm_popup
changes button's position or style as the number of buttons while adding or removing
buttons.
So, when application developers add buttons as wrong order or removed buttons,
applications may be crashed.
This patch refactored the behavior not to change the position intended by application
developer.
Test Plan: added new test case to test_popup.
Reviewers: seoz
Reviewed By: seoz
Differential Revision: https://phab.enlightenment.org/D259
Daniel Juyung Seo [Sat, 12 Oct 2013 05:10:16 +0000 (14:10 +0900)]
elc_popup.c: fixed up signal names according to the latest change.
This is a continuous job of raster's change,
f9adb79740555c8e39e9d32ff2a755693dbea8dc.
Daniel Juyung Seo [Sat, 12 Oct 2013 04:13:13 +0000 (13:13 +0900)]
popup.edc: unbork default popup for the moment.
This was broken by raster's recent popup theme api break.
Even though default theme will be replaced by dark theme, I will keep default theme working.
Ryuan Choi [Fri, 11 Oct 2013 12:52:15 +0000 (21:52 +0900)]
elm_win: Fixed warning after
99ab56d5
ELM_WIDGET_SUB_ID_THEME needs to return Eina_Bool.
In addition, calls the super function of ELM_WIDGET_SUB_ID_THEME.
Reproduce step is changing profile in elementary_config.
ChunEon Park [Thu, 10 Oct 2013 10:58:01 +0000 (19:58 +0900)]
elementary/scroller - fix the scroller to locate the current page correctly in case that the scroller is suddenly resized and then the drag couldn't capture the page location.
Daniel Juyung Seo [Thu, 10 Oct 2013 09:47:18 +0000 (18:47 +0900)]
elm_flipselector.h: Added more description about event_info parameter for flipselector selected smart callback.
Daniel Juyung Seo [Thu, 10 Oct 2013 00:00:08 +0000 (09:00 +0900)]
elc_naviframe_common.h: Fixed a typo.
ChunEon Park [Wed, 9 Oct 2013 14:29:35 +0000 (23:29 +0900)]
elementary/scroller - --duplicated compare.
ChunEon Park [Wed, 9 Oct 2013 12:50:16 +0000 (21:50 +0900)]
elementary - updated launcher 2 test case.
arrange the default window/scroller page size fitted to the one page size.
Daniel Juyung Seo [Tue, 8 Oct 2013 10:57:40 +0000 (19:57 +0900)]
elm_access.c: Removed dead code.
ho cannot be null.
This fixes coverity CID 1046506.
Stefan Schmidt [Tue, 8 Oct 2013 09:54:57 +0000 (10:54 +0100)]
elm_layout: Remove now superfluous NULL check.
After switching to ELM_WIDGET_DATA_GET_OR_RETURN this NULL check is no
longer needed.
CID: 1102552
deasung.kim [Tue, 8 Oct 2013 06:41:06 +0000 (15:41 +0900)]
ctxpopup: fix elm_object_content_unset didn't unpack content from box
Reviewers: seoz
Reviewed By: seoz
Differential Revision: https://phab.enlightenment.org/D261
Daniel Juyung Seo [Mon, 7 Oct 2013 15:08:19 +0000 (00:08 +0900)]
elm_cnp.c: Did a subtle code cleanup.
savedtypes.imgfile should not be null logically or this function should have been returned in advance.
Daniel Juyung Seo [Mon, 7 Oct 2013 15:03:05 +0000 (00:03 +0900)]
elm_cnp.c: removed unused pointer value and initialized some local variables.
This fixes coverity CID 1102548, 1102553, and 1102554.
Daniel Juyung Seo [Mon, 7 Oct 2013 14:38:28 +0000 (23:38 +0900)]
elm_spinner.c: call _value_set after resetting spin timer.
There is a chance that spin timer is deleted in _value_set() by any chance.
So reset the spin timer and call _value_set after that.
Special thanks to Shilpa.
ChunEon Park [Sun, 6 Oct 2013 14:35:51 +0000 (23:35 +0900)]
elementary/scroller - set the NULL to not access dangling pointer after deleting animator.
Ryuan Choi [Sun, 6 Oct 2013 03:37:13 +0000 (12:37 +0900)]
popup.edc: Follow new namespace.
Since
7b7c2275, popup style is broken so buttons are not drawn using default theme.
Carsten Haitzler (Rasterman) [Sat, 5 Oct 2013 12:35:27 +0000 (21:35 +0900)]
fix up namespace for many signal while keeping old versions for compat
Carsten Haitzler (Rasterman) [Sat, 5 Oct 2013 10:06:05 +0000 (19:06 +0900)]
write down the breaks.
maxerba [Sat, 5 Oct 2013 09:20:15 +0000 (11:20 +0200)]
Adding italian entry in desktop file
Daniel Juyung Seo [Sat, 5 Oct 2013 08:59:58 +0000 (17:59 +0900)]
elm_layout: Internal refactoring about layout frozen check.
1. Moved frozen variable to more proper position. Elm_Widget_Smart_Data -> Elm_Layout_Smart_Data.
2. Check frozen at one place. This makes codes cleaner and reduces human mistakes.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:29:13 +0000 (17:29 +0900)]
elm: Use ELM_LAYOUT_DATA_GET convenient macro instead of calling eo_data_scope_get(obj, ELM_OBJ_LAYOUT_CLASS).
Daniel Juyung Seo [Sat, 5 Oct 2013 08:25:22 +0000 (17:25 +0900)]
elm_web.c: use ECORE_CALLBACK_RENEW instead of EINA_TRUE for timer/animator's callbacks return value.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:22:41 +0000 (17:22 +0900)]
elm_win.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:22:32 +0000 (17:22 +0900)]
elm_web.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:16:55 +0000 (17:16 +0900)]
all: Applied ELM_WIDGET_DATA_GET_OR_RETURN macro to more widgets.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:16:05 +0000 (17:16 +0900)]
elm_web2.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:16:02 +0000 (17:16 +0900)]
elm_video.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:58 +0000 (17:15 +0900)]
elm_toolbar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:56 +0000 (17:15 +0900)]
elm_thumb.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:53 +0000 (17:15 +0900)]
elm_spinner.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:49 +0000 (17:15 +0900)]
elm_slideshow.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:46 +0000 (17:15 +0900)]
elm_slider.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:43 +0000 (17:15 +0900)]
elm_separator.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:37 +0000 (17:15 +0900)]
elm_segment_control.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:27 +0000 (17:15 +0900)]
elm_scroller.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:22 +0000 (17:15 +0900)]
elm_radio.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:19 +0000 (17:15 +0900)]
elm_progressbar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:16 +0000 (17:15 +0900)]
elm_prefs.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:13 +0000 (17:15 +0900)]
elm_plug.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:09 +0000 (17:15 +0900)]
elm_photocam.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:06 +0000 (17:15 +0900)]
elm_photo.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:03 +0000 (17:15 +0900)]
elm_panes.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:15:00 +0000 (17:15 +0900)]
elm_panel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:55 +0000 (17:14 +0900)]
elm_menu.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:52 +0000 (17:14 +0900)]
elm_mapbuf.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:50 +0000 (17:14 +0900)]
elm_map.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:47 +0000 (17:14 +0900)]
elm_list.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:43 +0000 (17:14 +0900)]
elm_label.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:40 +0000 (17:14 +0900)]
elm_inwin.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:38 +0000 (17:14 +0900)]
elm_index.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:35 +0000 (17:14 +0900)]
elm_hover.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:31 +0000 (17:14 +0900)]
elm_grid.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:28 +0000 (17:14 +0900)]
elm_glview.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:25 +0000 (17:14 +0900)]
elm_genlist.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:21 +0000 (17:14 +0900)]
elm_gengrid.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:19 +0000 (17:14 +0900)]
elm_frame.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:15 +0000 (17:14 +0900)]
elm_flipselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:12 +0000 (17:14 +0900)]
elm_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:08 +0000 (17:14 +0900)]
elm_diskselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:03 +0000 (17:14 +0900)]
elm_dayselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:14:00 +0000 (17:14 +0900)]
elm_datetime.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:57 +0000 (17:13 +0900)]
elm_conform.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:53 +0000 (17:13 +0900)]
elm_colorselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:50 +0000 (17:13 +0900)]
elm_clock.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:47 +0000 (17:13 +0900)]
elm_check.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:43 +0000 (17:13 +0900)]
elm_calendar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:39 +0000 (17:13 +0900)]
elm_button.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:35 +0000 (17:13 +0900)]
elm_bubble.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:31 +0000 (17:13 +0900)]
elm_box.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:27 +0000 (17:13 +0900)]
elm_bg.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:23 +0000 (17:13 +0900)]
elm_actionslider.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:18 +0000 (17:13 +0900)]
elm_access.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:14 +0000 (17:13 +0900)]
elc_popup.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:13:09 +0000 (17:13 +0900)]
elc_player.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:12:56 +0000 (17:12 +0900)]
elc_naviframe.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:12:50 +0000 (17:12 +0900)]
elc_multibuttonentry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:12:44 +0000 (17:12 +0900)]
elc_hoversel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:12:27 +0000 (17:12 +0900)]
elc_fileselector_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:12:19 +0000 (17:12 +0900)]
elc_fileselector_button.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:12:11 +0000 (17:12 +0900)]
elc_fileselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 08:11:57 +0000 (17:11 +0900)]
elc_ctxpopup.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 07:36:33 +0000 (16:36 +0900)]
elm_layout.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Sat, 5 Oct 2013 07:25:40 +0000 (16:25 +0900)]
elm_widget.h: support return values for ELM_WIDGET_DATA_GET_OR_RETURN macro.
Daniel Juyung Seo [Fri, 4 Oct 2013 13:20:43 +0000 (22:20 +0900)]
elm_glview.c: Set ret value false by default on smart_on_focus.
Carsten Haitzler (Rasterman) [Fri, 4 Oct 2013 13:39:30 +0000 (22:39 +0900)]
popup - this BREAKS THEME API. i know. it is needed:
namespacing wrong for popup theme elements. you cant sensibly have the
transparent popup test work without namespacing the style with an
extra popup/stylename. since its breaking also naming of swallows for
actionbtns wasnty namespaced. WRONG!
so yes - i know this breaks theme api. live with it. its needed. like
with elm_player.
ami [Fri, 4 Oct 2013 12:07:05 +0000 (21:07 +0900)]
[hover.edc] - corrected indentation and removed unnecessary 'rel2.relative: 1.0 1.0'
Summary: corrected indentation and removed unnecessary 'rel2.relative: 1.0 1.0'
Reviewers: seoz, Hermet
Reviewed By: seoz
Differential Revision: https://phab.enlightenment.org/D254
Carsten Haitzler (Rasterman) [Fri, 4 Oct 2013 06:00:26 +0000 (15:00 +0900)]
genlist - fix homogenouse mode after previous fix to stop realizing all
ChunEon Park [Thu, 3 Oct 2013 14:57:08 +0000 (23:57 +0900)]
elementary/focus - update focus highlight when theme is changed.
Daniel Juyung Seo [Wed, 2 Oct 2013 11:18:49 +0000 (20:18 +0900)]
elm_config/elm_image: Internal small refactoring.
1. Use more ELM_SAFE_FREE macro.
2. Use correct more descriptive macro for timer callback.
Daniel Juyung Seo [Wed, 2 Oct 2013 06:22:27 +0000 (15:22 +0900)]
test_icon_animated.c: Internal code refactoring.
1. remove unnecessary calls.
2. added elm_policy_set.
3. changed internal callback function name.
4. cleaned up print out message.
5. added helper label for users.
Ryuan Choi [Wed, 2 Oct 2013 03:35:23 +0000 (12:35 +0900)]
fileselector: fileselector: Add "activated" smart callback
It can be used to execute a file activated by double-clicking or
pressing Enter key.
Jaeun Choi [Tue, 1 Oct 2013 13:18:57 +0000 (22:18 +0900)]
bug fix: fixed memory leak
Summary:
The original code created an edje object temporarily for index calculation
and didn't delete it which caused memory leak. fixed it.
Test Plan: None
Reviewers: Hermet, seoz
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D246
Jean-Philippe Andre [Tue, 1 Oct 2013 09:05:21 +0000 (18:05 +0900)]
elm_image: Fix preload for normal files
grmbl, elm_image must explicitely start preload or the
image will stay blank if evas_object_show() is called before
elm_image_file_set().
Jean-Philippe Andre [Fri, 27 Sep 2013 08:09:36 +0000 (17:09 +0900)]
elm_image: Remove double callback on mouse_up
In case of MOUSE_UP event, both the hit rectangle and the
smart image object received the event, thus producing double
clicks.
Carsten Haitzler (Rasterman) [Tue, 1 Oct 2013 03:54:28 +0000 (12:54 +0900)]
genlist - fix homogenous to NOT go (un)realizing every item on queue
Carsten Haitzler (Rasterman) [Tue, 10 Sep 2013 23:53:02 +0000 (08:53 +0900)]
remove ifdef from glsl in glview shader - ifdefs not universally supported
Ryuan Choi [Mon, 30 Sep 2013 15:49:50 +0000 (00:49 +0900)]
elc_fileselector: Add fileselector_double_tap_navigation_enable configuration
elm_filechooser used single tap not only for selection of file but also for
navigation of directory.
So it did not provide a way to select directory without navigation.
With fileselector_double_tap_navigation_enable option, single tap will be used
only for selection and double tap will be used for navigation of file or
directory.
Daniel Juyung Seo [Mon, 30 Sep 2013 13:16:34 +0000 (22:16 +0900)]
elc_naviframe.c: Check value before dereferencing it.
This fixes coverity CID 1099698.
Daniel Juyung Seo [Mon, 30 Sep 2013 10:21:31 +0000 (19:21 +0900)]
elm: Longwaited trailing white space removal. Clean elm up!