Daniel Zaoui
883ed0d646
Drag & Drop: add overlapping feature.
...
This feature is essential if two overlapping widgets can receive drop
information.
Until now, if two widgets (e.g background and button) were added as drop
targets, pointing to common coordinates would have given priority to the
first inserted as drop target.
Now, it will determine which widget is supposed to receive this drop
target by using the same mechanism as used for mouse move, i.e by
walking on the objects tree whose pointer passes through.
A test has been added (Overlapping DnD) to show how this feature can be
used. You can drop in bg, box and button.
2013-10-21 19:04:42 +03:00
WooHyun Jung
b8000c98cd
elementary/elm_entry.c : theme,changed smart callback can move the cursor position ! Thanks Daniel~
2013-10-21 20:59:43 +09:00
WooHyun Jung
de46dc5cd8
elementary/elm_entry.c : evas_smart_objects_calculate in elm_widget_show_region_set can delete elm_entry.
2013-10-21 19:45:53 +09:00
Ryuan Choi
75ae20a30d
elc_fileselector: Update items of file_view to follow changes of selected path
...
This patch implmented for fileselector to monitor and update changes of selected
path. So, changes of selected path from other applications such as mkdir will be
applied to the file_view without refresh.
This feature is only available with EIO.
2013-10-21 14:06:04 +09:00
Daniel Juyung Seo
8ec25b69fb
elm: Added missing undefs.
2013-10-19 02:20:34 +09:00
Ryuan Choi
2452ffe289
gengrid: adopted ELM_PRIV_XXX_SIGNALS to reduce human mistake.
...
"index,update" signal is missing in signal description.
So, This patch refactored signal declarations to avoid mistakes.
It was introduced since b430c07ca1f1.
2013-10-19 00:14:57 +09:00
Daniel Juyung Seo
2cc8f13972
elm_photo: Do not call clicked callback when drag and drop started.
2013-10-18 20:33:47 +09:00
Daniel Juyung Seo
ac54bf0022
test_photo.c: Refactoring sample code.
...
- Removed unnecessary eo_do samples at this stage.
- Removed "drop" callback usage which is not supported in photo widget.
- Fixed wrong smart callback name "drag,stop" -> "drag,end".
- Moved internal functions' position following convensions.
2013-10-18 20:26:14 +09:00
Jaehyun Cho
d29dc290f0
[naviframe] Fix not to re-load previous item view's theme
...
Summary: Calling elm_widget_sub_object_add after calling elm_widget_sub_object_del may cause theme loading even though the sub object's theme is the same as the parent object's theme. This commit prevents the previous item view's theme re-loading.
Reviewers: Hermet, seoz
Reviewed By: seoz
CC: seoz
Differential Revision: https://phab.enlightenment.org/D267
2013-10-18 19:53:16 +09:00
Jaehyun Cho
3f2415fff8
[elm_widget] Enable not to add resize object to or delete resize object from smart member when the resize object is set.
...
Summary: Currently if the third argument of elm_widget_resize_object_set, 'Eina_Bool sub_obj', indicates whether a resize object is added to/deleted from the sub object or not. This commit makes the third argument, 'sub_obj', also indicate whether a resize object is added to/deleted from the smart member or not.
Reviewers: Hermet, seoz
Reviewed By: seoz
CC: seoz
Differential Revision: https://phab.enlightenment.org/D268
2013-10-18 19:52:56 +09:00
Ryuan Choi
9bd1c3ae5a
elc_fileselector: Refactor not to keep two instances(genlist/gengrid) for file list.
...
Consolidates and rename files_list and files_grid to files_view.
2013-10-18 15:14:10 +09:00
Daniel Juyung Seo
9a3608c392
test_gengrid.c: Enable multi select for gengrid test as multi select check is true by default.
...
- This fixes T136.
2013-10-18 13:21:14 +09:00
Ryuan Choi
d5c6eaa50e
elc_fileselector: Added support to show/hide hidden files/directories.
...
Added elm_fileselector_hidden_visible_set/get to show or hide hidden resources.
2013-10-18 12:30:28 +09:00
Ryuan Choi
024ee1241e
elc_fileselector: Moved some initialization of list_itc/grid_itc from smart_add to constructor.
...
Since a305c127, list_itc and grid_itc initialization was moved to constructor of file selector class.
But some parts of them are remained in _elm_fileselector_smart_add() by my mistake.
2013-10-18 08:11:10 +09:00
Daniel Juyung Seo
f07c5538b0
els_tooltip.s: use internal elm_widget function inside elementary instead of external elm_object function.
2013-10-17 21:59:59 +09:00
Carsten Haitzler
09f2edaa24
fix uninitialized memory usage in naviframe
2013-10-17 22:17:02 +09:00
Carsten Haitzler
d3d17c6d49
dark chglog+news
2013-10-17 16:36:44 +09:00
Carsten Haitzler
9d90a3c1c3
new theme (dark) is now default in elm. matches e now in look
2013-10-17 16:35:56 +09:00
Ryuan Choi
6dce293a5e
elm_calendar: Reorder few members of _Elm_Calendar_Smart_Data to reduce size
...
After reordered, sizeof(Elm_Calendar_Smart_Data) is little bit reduced
from 560 to 544 on 64bit system.
2013-10-17 16:34:15 +09:00
Daniel Juyung Seo
bb9325e146
test_fileselector.c: Internal refactoring.
...
- Splitted one big function into three small functions.
- Used frame to look nicer.
- Used radio for mode change.
2013-10-17 15:37:34 +09:00
Daniel Juyung Seo
4cd13727f1
elm_thumb.c: Refactoring. Now thumb inherits layout.
2013-10-17 14:27:01 +09:00
Daniel Juyung Seo
a5a83e7a66
elm: Removed unnecessary local variable in sizing_eval.
2013-10-17 14:27:01 +09:00
Ryuan Choi
2fb023ea21
Multiple selection support in fileselector
...
Summary: Multiple selection support in fileselector
Reviewers: seoz
Reviewed By: seoz
CC: seoz
Differential Revision: https://phab.enlightenment.org/D207
2013-10-17 11:05:45 +09:00
Jaehyun Cho
db2d711d64
[elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
...
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.
Reviewers: Hermet, seoz
CC: Jaehyun_Cho, seoz, raster
Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Daniel Juyung Seo
cdd5ab5ec9
progressbar: Swaped the layer of 'progress' and 'progress1'.
...
- 'progress' is the main progress so it should be on top.
- 'progress' should move slower than 'progress1' in the example.
- Changed the name of multi progress image name from 'recording' to 'double'.
2013-10-16 22:30:32 +09:00
Carsten Haitzler
ad434a0994
tooltips - fix show to be at end just to be cleaner.
2013-10-16 21:29:22 +09:00
Carsten Haitzler
6da4e97e3f
ctxpopup - fix double show emit.
2013-10-16 20:17:57 +09:00
Yakov Goldberg
dedf9648c5
progressbar: fix doxygen
2013-10-15 17:03:26 +03:00
Carsten Haitzler
8051ee206f
elm - entry magnifier - should be elm namespaced.
2013-10-15 13:00:44 +09:00
ChunEon Park
d65b1406fa
elementary/entry - filled a missed smart callback in the doc.
2013-10-15 02:11:42 +09:00
Daniel Juyung Seo
02bf8adc6e
elm_genlist.h: added 'full' style documentation.
...
- 'full' style is so useful, it needs to have a documentation.
- Do not use @ for 'since' in this case. That will cause line break and looks ugly.
- reminded by ccxwrk.
2013-10-14 21:38:58 +09:00
Niraj Kumar
248f1490fd
test_progress.c: Added new test case for vertical progress status
...
Summary: Added new test case for vertical progress status .This would be visible under Progressbar 2 elementary test
Reviewers: seoz, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D233
2013-10-14 20:13:38 +09:00
Daniel Juyung Seo
1ae61021ec
Author: Added Amitesh Singh as an author of elm as he is worth it.
2013-10-14 19:18:29 +09:00
Amitesh Singh
9eb1b1f65e
elm_thumb.c: focus/unfocused support in thumb.
...
This feature is enabled only when the user enalbed focus support manually for thumb.
Reviewers: seoz
Differential Revision: https://phab.enlightenment.org/D241
2013-10-14 19:12:32 +09:00
Daniel Juyung Seo
6397761c6a
elm_test: Fixed formatting. tab to space.
...
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Carsten Haitzler
1c13965658
fix signal callback handling to listen to * for namespacing change to elm
2013-10-14 17:34:26 +09:00
Daniel Juyung Seo
07136563ea
elc_hoversel: Support elm_object_item_signal_emit() in hoversel.
...
This works only when the item is actually created by clicking the hover button.
2013-10-14 13:56:27 +09:00
Ryuan Choi
4314560b49
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
2013-10-14 01:04:01 +09:00
Daniel Juyung Seo
e23e151242
elc_popup.c: fixed up signal names according to the latest change.
...
This is a continuous job of raster's change, f9adb79740555c8e39e9d32ff2a755693dbea8dc.
2013-10-12 14:11:07 +09:00
Daniel Juyung Seo
0f4d70e662
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.
2013-10-12 14:08:55 +09:00
Ryuan Choi
bdab578c1a
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.
2013-10-11 22:05:21 +09:00
ChunEon Park
787eddd3c4
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.
2013-10-10 19:58:42 +09:00
Daniel Juyung Seo
aec82fe17a
elm_flipselector.h: Added more description about event_info parameter for flipselector selected smart callback.
2013-10-10 18:47:18 +09:00
Daniel Juyung Seo
22768fde75
elc_naviframe_common.h: Fixed a typo.
2013-10-10 09:00:31 +09:00
ChunEon Park
77d336b3fb
elementary/scroller - --duplicated compare.
2013-10-09 23:29:35 +09:00
ChunEon Park
cd3f781309
elementary - updated launcher 2 test case.
...
arrange the default window/scroller page size fitted to the one page size.
2013-10-09 21:53:15 +09:00
Daniel Juyung Seo
422728a8d2
elm_access.c: Removed dead code.
...
ho cannot be null.
This fixes coverity CID 1046506.
2013-10-08 19:57:42 +09:00
Stefan Schmidt
e42eedf44c
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
2013-10-08 10:56:49 +01:00
deasung.kim
34d32ef9cf
ctxpopup: fix elm_object_content_unset didn't unpack content from box
...
Reviewers: seoz
Reviewed By: seoz
Differential Revision: https://phab.enlightenment.org/D261
2013-10-08 15:41:06 +09:00
Daniel Juyung Seo
1eb4b8d9e1
elm_cnp.c: Did a subtle code cleanup.
...
savedtypes.imgfile should not be null logically or this function should have been returned in advance.
2013-10-08 00:08:21 +09:00
Daniel Juyung Seo
e9f6a91ff8
elm_cnp.c: removed unused pointer value and initialized some local variables.
...
This fixes coverity CID 1102548, 1102553, and 1102554.
2013-10-08 00:03:05 +09:00
Daniel Juyung Seo
c8a7eded6b
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.
2013-10-07 23:38:30 +09:00
ChunEon Park
bcba80bbc3
elementary/scroller - set the NULL to not access dangling pointer after deleting animator.
2013-10-06 23:35:51 +09:00
Ryuan Choi
5125eed486
popup.edc: Follow new namespace.
...
Since 7b7c2275, popup style is broken so buttons are not drawn using default theme.
2013-10-06 12:37:13 +09:00
Carsten Haitzler
95fdc9cc88
fix up namespace for many signal while keeping old versions for compat
2013-10-05 21:35:27 +09:00
Carsten Haitzler
48d42f9f87
write down the breaks.
2013-10-05 19:06:05 +09:00
maxerba
d42f09b369
Adding italian entry in desktop file
2013-10-05 11:20:15 +02:00
Daniel Juyung Seo
3a10554b11
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.
2013-10-05 17:59:58 +09:00
Daniel Juyung Seo
c40fbd89b8
elm: Use ELM_LAYOUT_DATA_GET convenient macro instead of calling eo_data_scope_get(obj, ELM_OBJ_LAYOUT_CLASS).
2013-10-05 17:29:13 +09:00
Daniel Juyung Seo
6ccf0b5b21
elm_web.c: use ECORE_CALLBACK_RENEW instead of EINA_TRUE for timer/animator's callbacks return value.
2013-10-05 17:25:22 +09:00
Daniel Juyung Seo
252ec02cc2
elm_win.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:22:41 +09:00
Daniel Juyung Seo
408f59f2bb
elm_web.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:22:32 +09:00
Daniel Juyung Seo
b813cec72a
elm_web2.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:16:05 +09:00
Daniel Juyung Seo
302f740d6e
elm_video.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:16:02 +09:00
Daniel Juyung Seo
e82477ab29
elm_toolbar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:58 +09:00
Daniel Juyung Seo
b76f4b9e2e
elm_thumb.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:56 +09:00
Daniel Juyung Seo
f23e09d451
elm_spinner.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:53 +09:00
Daniel Juyung Seo
152bb8242b
elm_slideshow.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:49 +09:00
Daniel Juyung Seo
3b2c52c711
elm_slider.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:46 +09:00
Daniel Juyung Seo
e75aec5a24
elm_separator.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:43 +09:00
Daniel Juyung Seo
4774e07e4c
elm_segment_control.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:37 +09:00
Daniel Juyung Seo
6b101a10f1
elm_scroller.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:27 +09:00
Daniel Juyung Seo
c874448f47
elm_radio.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:22 +09:00
Daniel Juyung Seo
a3025db614
elm_progressbar.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:19 +09:00
Daniel Juyung Seo
99c9cf4ce0
elm_prefs.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:16 +09:00
Daniel Juyung Seo
811f113b8c
elm_plug.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:13 +09:00
Daniel Juyung Seo
10c6f78561
elm_photocam.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:09 +09:00
Daniel Juyung Seo
87fe4080fc
elm_photo.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:06 +09:00
Daniel Juyung Seo
ef83cd7a23
elm_panes.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:03 +09:00
Daniel Juyung Seo
c368eb9d05
elm_panel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:15:00 +09:00
Daniel Juyung Seo
a3d4db85c0
elm_menu.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:55 +09:00
Daniel Juyung Seo
810a680f15
elm_mapbuf.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:52 +09:00
Daniel Juyung Seo
aa5934c029
elm_map.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:50 +09:00
Daniel Juyung Seo
b10481fa0e
elm_list.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:47 +09:00
Daniel Juyung Seo
0851c999e3
elm_label.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:43 +09:00
Daniel Juyung Seo
2e4d17d0f1
elm_inwin.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:40 +09:00
Daniel Juyung Seo
4343a9d73b
elm_index.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:38 +09:00
Daniel Juyung Seo
326a89298e
elm_hover.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:35 +09:00
Daniel Juyung Seo
d273a5e9a7
elm_grid.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:31 +09:00
Daniel Juyung Seo
1c4cf43803
elm_glview.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:28 +09:00
Daniel Juyung Seo
a2c704d613
elm_genlist.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:25 +09:00
Daniel Juyung Seo
d9edd168d7
elm_gengrid.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:21 +09:00
Daniel Juyung Seo
259b70217c
elm_frame.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:19 +09:00
Daniel Juyung Seo
4ff025786e
elm_flipselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:15 +09:00
Daniel Juyung Seo
407ffdb1a8
elm_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:12 +09:00
Daniel Juyung Seo
ef877959c8
elm_diskselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:08 +09:00
Daniel Juyung Seo
f7a18014ea
elm_dayselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:03 +09:00
Daniel Juyung Seo
4ae3fcc273
elm_datetime.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:00 +09:00
Daniel Juyung Seo
30e7ced193
elm_conform.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:13:57 +09:00
Daniel Juyung Seo
2ccb8399e0
elm_colorselector.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:13:53 +09:00