Commit Graph

7213 Commits

Author SHA1 Message Date
Hosang Kim 32affd3725 added callback call "scroll", "scroll,anim,start", "scroll,anim,stop", "scroll,drag,start", "scroll,drag,stop"
in toolar widget.
2013-07-03 13:57:17 +09:00
Daniel Juyung Seo 71341d5005 elm_win.c: added comments for internal functions.
_elm_win_resize_objects_eval()
_window_layout_stack()
2013-07-03 13:20:01 +09:00
Thiep Ha dbfd56f98e [Entry] Avoid showing multiple popups on one entry.
Multiple popups (anchor hover and hoversel) are showing in following cases:
- Run elementary_test with Mobile profile --> Entry Anchor
+ click on anchor to show hover, then press menu key
+ right click on anchor
2013-07-03 13:13:11 +09:00
Daniel Juyung Seo 758d01ef99 elm_entry.c: removed unnecessary line. 2013-07-03 13:13:11 +09:00
Daniel Juyung Seo 19cec53fff elm_widget_entry.h: added more comment for entry + formatting fix. 2013-07-03 13:13:11 +09:00
Daniel Juyung Seo 65771f8b22 test_entry_anchor*.c: refactoring.
1. use proper local variable for entry. av -> en
2. use proper window name.
3. use proper callback function name.
4. use proper callback function prototype.
2013-07-03 13:13:11 +09:00
Hosang Kim cbc70b32fe [config] fixed wrong function name for scroller config
Should call elm_config_scroll_thumbscroll_hold_threshold_get but this line calls elm_config_scroll_thumbscroll_threshold_get.
2013-07-02 22:51:01 +09:00
Carsten Haitzler 651214b722 put a lot more hysterisis on drag detects in genlist... 2013-07-02 19:33:00 +09:00
Jaehwan Kim c25006bd20 Fix the timing which the content_viewport_resize callback is called.
It is proper when the EVAS_CALLBACK_RESIZE is called instead of _pan_smart_resize.
When the _pan_smart_resize is called, the geometry of an object is not changed.
So the widget use the signal can miss-calculate the size.
2013-07-01 20:17:30 +09:00
ChunEon Park 66a489a14d elementary/naviframe - If the current item is added as the resize object, the previous will be canceled.
Now, keep the smart members always.
2013-06-30 17:42:59 +09:00
Jaehwan Kim 577166b06e Remove Warning 2013-06-30 15:30:06 +09:00
Jaehwan Kim de36ba66cf Fix the parameter. This is related to previous commit. 2013-06-30 15:15:08 +09:00
Jaehwan Kim d418b27b96 Add the elm_scrollable_interface_content_viewport_resize_cb_set.
When the viewport is resized, the enrolled function is called.
2013-06-30 14:42:34 +09:00
Ryuan Choi 0ccfc31ee1 fileselector: Fixed regression of rELM3d2ae6d25ddc
https://phab.enlightenment.org/T198

After rELM3d2ae6d25ddc, buttons are destroyed when ok_cancel_set(true) is
called twice.
Spotted by uartie.
2013-06-29 07:27:23 +09:00
Daniel Zaoui db3db8ba59 DnD: rotate the dragwin of the user icon according to the rotation of
the main win.
2013-06-28 11:15:59 +03:00
Cedric Bail a0f3716168 elementary: fix build without public Eo API turned on. 2013-06-28 10:23:14 +09:00
Ryuan Choi 27f6087892 Prefer eina_stringshare_strlen for shared strings 2013-06-27 19:24:18 +09:00
Daniel Willmann df2b8a24a0 elc_naviframe: Use ! instead of ?-operator in _resize_object_reset()
Shorter and easier to understand this way.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 09:40:06 +01:00
Carsten Haitzler f0e4b05a86 elm config: fix all_flush to not delay as this causes odd behavior in feedback loops with x11 and property changes 2013-06-27 17:30:00 +09:00
WooHyun Jung 6535743497 elementary/elm_entry.c : Removed test log. 2013-06-27 17:09:35 +09:00
WooHyun Jung 7447477981 elementar/elm_entry.c : Just fixed memory leak by elm_entry_utf8_to_markup. 2013-06-27 16:30:54 +09:00
Ryuan Choi 989c343d16 fileselector : Fix Segfault in elementary file_selector_example when closed
https://phab.enlightenment.org/T133

list_itc and grid_itc are static variables, but they were managed by file_selector instance.
For example, they are allocated two times and first allocated classes are dangling
when two file selector are created.

This patch moves their init/deinit logic to constructor/destructor of file selector class.
2013-06-27 15:38:46 +09:00
Daniel Juyung Seo 43abefe26f elm_gesture_layer.c: fixed warnings. 2013-06-27 10:43:45 +09:00
Alex Wu d9414a6d5d elm_cnp: Fix building issue when not defined HAVE_ELEMENTARY_X
Put the static function that will be used both by wayland
and x11 at the common place.
2013-06-27 10:30:36 +09:00
Daniel Juyung Seo a4e8501ed6 examples: refactoring about elm_win_resize_object_add.
1. call evas_object_size_hint_weight_set() before calling elm_win_resize_object_add() as documented.
2. evas_object_size_hint_align_set() is not needed for elm_win_resize_object_add().
2013-06-27 08:27:48 +09:00
Daniel Willmann be9e031e07 elm_win: Cast Ecore_X_Illume_Indicator_State to Elm_Win_Indicator_Mode
Avoids a warning in clang

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:06:18 +01:00
Daniel Willmann 420bf76bc9 elm_entry: Explicitly cast Elm enums to their Edje counterparts
and vice versa. Avoids some warnings in clang and it helps see that
these are actually different types.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 17:54:26 +01:00
Daniel Willmann a856be3c59 elc_naviframe.c: Correctly call _resize_object_reset()
Incorrect use of the ?-operator...

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 16:45:54 +01:00
Daniel Juyung Seo 1e6f58bd01 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 4.
now it's done :)
2013-06-26 21:26:21 +09:00
Daniel Juyung Seo d372445a1b examples: refactoring. use elm_win_util_standard_add() for normal cases. season 3. 2013-06-26 21:26:21 +09:00
Daniel Zaoui 50218ec1ba DnD: move NULL check to a better place 2013-06-26 15:02:09 +03:00
Daniel Zaoui e49de4c97b Gesture Layer: support multiple callbacks per type/state.
elm_gesture_layer_cb_add/del functions have been added to provide this
functionality.
elm_gesture_layer_cb_set provided only one callback and so was
overriding the callback with the new one.

For ABI compatibility, some rules were needed:
- when set function is called with NULL, all the callbacks of the state will be
removed (old behavior respect)
- try to use set or add/del exclusively with a preference to the new
APIs. This is because of the first rule and because it will be more correct.
- if you remove a callback, only one instance of this callback of this
type/state for this gesture will be removed, by comparing func and data.
It means that if you register twice the same callback/data, it will be added
twice and you will have to remove also twice too.
2013-06-26 14:37:52 +03:00
Daniel Juyung Seo 61dd0ba0ba hoversel_example_01.c: refactoring example.
Make the button text description clear. It was ambigous what will happen if we press the buttons and hoversel items.
This fixes T181 issue. https://phab.enlightenment.org/T181
2013-06-26 16:24:53 +09:00
Daniel Juyung Seo 1e4ee8a6e5 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 2. 2013-06-26 15:34:38 +09:00
Daniel Juyung Seo 53a3c18c5b examples: refactoring. use elm_win_util_standard_add() for normal cases. 2013-06-26 15:16:08 +09:00
Ryuan Choi 64371a5981 elementary_config: Fix possible leak when ELM_EFREET is enabled 2013-06-26 12:52:33 +09:00
Daniel Juyung Seo c5486ca5d3 list_example_02.c: remove box. box is not needed in this example. 2013-06-26 11:02:44 +09:00
Daniel Juyung Seo fc08fd6bc6 src/examples: use delete,request callback only when it's really needed. this can be covered by elm_policy_set and elm_win_autodel_set easily. 2013-06-26 10:54:58 +09:00
Daniel Juyung Seo be02a7fd65 test_ctxpopup.c: code cleanup. 2013-06-26 09:35:55 +09:00
Daniel Juyung Seo eb41a56d85 ctxpopup_example01.c: delete ctxpopup object when it's dismissed. 2013-06-26 09:35:26 +09:00
Ryuan Choi c6190fa7bb elm_font: Remove unnecessary realloc 2013-06-25 19:37:57 +09:00
Daniel Zaoui aea9b1d262 Gesture Layer: Add API to set the finger size for taps.
The default value is the one stored in elm_config.
2013-06-25 10:43:04 +03:00
Aharon Hillel dcab3545cf Gesture Layer: fix to improve fingers taps registration
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
2013-06-25 10:42:39 +03:00
Daniel Juyung Seo 1b1e1f99e3 edje_externals/elm_web.c, doc/widgets/wiget_preview_web.c: applied api changes elm_web_uri -> elm_web_url. 2013-06-25 12:05:57 +09:00
Daniel Juyung Seo 376ebbadb2 examples: fixed warnings. 2013-06-25 12:05:43 +09:00
Daniel Juyung Seo bcd0f81381 elm_image_legacy.h: updated elm_image_file_set() documentation for animated gif image. 2013-06-25 11:20:25 +09:00
Daniel Juyung Seo 59c5970c72 elm_image.c: eo refactoring. place internal functions into a better place. 2013-06-25 11:15:15 +09:00
Ryuan Choi 0bda4b1918 elm_notify: Fix crash when timeout is zero
Because _timer_init() can be called multiple times,
sd->timer should be cleard if we will not add new timer

This fixes https://phab.enlightenment.org/T178
Thanks brian.lovin for the report.
2013-06-25 08:18:25 +09:00
Ryuan Choi fec9eab52c fileselector: Fix possible leak of _buttons_ok_cancel_set
When called _buttons_ok_cancel_set(true) two times,
buttons are created without release.
2013-06-25 06:08:18 +09:00
Ryuan Choi ce69eac081 fileselector: Added @since 1.8 for new APIs
4c7285d add new APIs but missed "@since 1.8"
Spotted by Hermet.
2013-06-24 20:09:26 +09:00