Commit Graph

6330 Commits

Author SHA1 Message Date
Carsten Haitzler af59342da3 fix namespace probs with colorsel - support backwards compat. 2013-08-01 21:06:22 +09:00
Carsten Haitzler b2ee9057a0 make colorselector set colors correctly (premul argb) and not mess entries 2013-08-01 20:53:50 +09:00
Daniel Juyung Seo 508786cfb2 elm_win.c: more friendly output. 2013-08-01 20:03:19 +09:00
Carsten Haitzler 5fbab0330c fix namespace for slideshow to use elm, not slideshow - support old namespace for compat. 2013-07-31 18:57:12 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
ChunEon Park b331eeb660 elementary/naviframe - eeek. please keep the smart member order. 2013-07-29 19:51:44 +09:00
ChunEon Park 99921e7f7e Revert "elementary/fileselector - added new api. elm_fileselector_entry_entry_get()"
This reverts commit c699ec2158d6ee56fc8cf07c3ded2b2688267f28.

Since "selected" smart callback returns the current entry text,
This is not necessary.
2013-07-29 11:42:23 +09:00
Cedric Bail 118918d42c elm_image: let's only propagate the event from one object.
NOTE: Why do we destroy and recreate the image object, couldn't we just reset its state ?
2013-07-29 11:31:23 +09:00
ChunEon Park 71358bdeb4 elementary/fileselector - added new api. elm_fileselector_entry_entry_get() 2013-07-29 01:31:49 +09:00
ChunEon Park 970257d3fc elementary/flip - fix the flip page to not flip on a direction if the direction is disabled. 2013-07-26 21:12:27 +09:00
ChunEon Park 26a8472a45 elementary/flip - use enum for readability. 2013-07-26 20:56:24 +09:00
ChunEon Park c8d99e3b25 elementary/flip - index table by enum. It's more clear. 2013-07-26 20:03:26 +09:00
Carsten Haitzler c7facc4739 re-fix slider to work again with def theme. 2013-07-26 16:26:17 +09:00
Carsten Haitzler a5d5d0ec14 add throttle policy settings to elm 2013-07-25 22:17:52 +09:00
Carsten Haitzler 63b6e67659 elm-player: do a whole bunch of work to make this a usable widget now. 2013-07-25 18:30:35 +09:00
Daniel Juyung Seo ac17ecd0b6 elm_radio.c: remove unused callback. elm,action,radio,on.
elm,action,radio,on was not used since elm 1.0 so this is not a theme api break.
2013-07-24 20:48:23 +09:00
ChunEon Park 04b47eb74d elementary/widget - fix the insane NULL set in translated string list.
Thanks JackDanielZ for catching this issue.
2013-07-24 13:02:39 +09:00
Daniel Juyung Seo c9049f12c7 AUTHORS, elm_authors.h: add Youngbok Shin to elementary authors list since he already pushed 6 patches :) 2013-07-24 10:23:29 +09:00
Carsten Haitzler 14cd12f4b2 elm player: use position swallow, so volume etc. can be done later 2013-07-23 22:11:47 +09:00
Carsten Haitzler fd0bcb80db elm player - fix null icon set - forgot to tag button objects 2013-07-23 21:56:02 +09:00
Carsten Haitzler e487976dce elm player - this breaks elm player theme api. it was broken to begin with
now elm player is a much mroe useful widget with nice auto-show/hide
controls and can in future be extended to do more. dark theme has full
support now.
2013-07-23 19:17:01 +09:00
Jaehwan Kim 5e7742d4c3 Fix the wrong parameter in multibuttonentry. 2013-07-23 18:48:09 +09:00
Cedric Bail 6907a1fc29 map: fix header split to actually be a split ! 2013-07-23 11:27:34 +09:00
Cedric Bail d3247dd10a elementary: fix header inclusion order. 2013-07-23 11:27:34 +09:00
Daniel Juyung Seo 2e3fb71933 elc_fileselector.c: check null for part name and set the label for another part as well. 2013-07-23 06:11:30 +09:00
Daniel Juyung Seo ecf6eff9a4 elm: formatting fix for consistency. 2013-07-23 06:05:16 +09:00
Daniel Juyung Seo 896f149e82 elm: use more descriptive and consistent local variable name. 2013-07-23 05:34:19 +09:00
ChunEon Park 95ca372382 elementary/fileselector - support elm_object_part_text_set() to set the ok, cancel button label. 2013-07-23 01:51:27 +09:00
Ryuan Choi 07c8f3e011 ewk changed run_open_panel interface since webkit's r123847
In order to support all of <file> attribute, run_open_panel was changed since r123847.
For more information, please see https://bugs.webkit.org/show_bug.cgi?id=91956
2013-07-22 08:04:44 +09:00
Carsten Haitzler b93ba7b894 stop fetching invalid window id's even thought ecore handles it fine. 2013-07-19 19:56:58 +09:00
Carsten Haitzler e8e8c2334b slider - finally actually remove callback feedback loop from slider changes! 2013-07-19 16:00:45 +09:00
Carsten Haitzler cc3a575f95 fix self-feedback loop between slider and elm player in slider. 2013-07-18 23:10:34 +09:00
Carsten Haitzler 2ae7a8cffb work on slider issues like not showing units brought up by player test 2013-07-18 22:19:44 +09:00
Carsten Haitzler 6aec9ab4c3 remove printf in elm_player 2013-07-18 21:24:17 +09:00
Carsten Haitzler 260f817986 fix some over-zealous emitting when not needed. 2013-07-18 18:28:35 +09:00
Carsten Haitzler 0b881c3478 elm_player: now really dont self-event-feed on user drag + chg slider. 2013-07-18 17:19:53 +09:00
ChunEon Park 657a0f4d18 elementary/layout - revert commit b4e1b33cbea974e7e05d61a1c37c21f97ff7eabd for the app compatibility. 2013-07-18 13:03:00 +09:00
Carsten Haitzler 3571cdd209 unregister access fully on del of src obj. 2013-07-18 12:48:22 +09:00
Ryuan Choi f12b32955a Revert "Remove redundant check routine what elm_entry_utf8_to_markup() returns."
This commit is invalid.
It just use strdup and strdup may return NULL when memory is not enough.

This reverts commit f579f7fd4b5e863f01a001876e536f5becc40811.
2013-07-18 10:26:27 +09:00
Ryuan Choi 51e684553b Cleanup _on_item_selected
Just return for the exception and avoid unnecessary allocation.
2013-07-18 02:56:50 +09:00
Ryuan Choi d6b87a1859 Remove redundant check routine what elm_entry_utf8_to_markup() returns.
elm_entry_utf8_to_markup() always returns allocated string.
So, we don't need to check what it returns.
2013-07-18 02:01:43 +09:00
ChunEon Park 366ddff2b9 elementary/panes - fixed typo 2013-07-18 01:27:43 +09:00
Carsten Haitzler b845949e1a fix player widget feedback loop with slider 2013-07-17 19:29:52 +09:00
ChunEon Park fff2f05bb1 elementary/widget - use eina_inlist in transate data to improve memory access / allocations. 2013-07-17 15:05:40 +09:00
ChunEon Park 9f9348fd8d elementary/layout - Send visible/hidden signals whenever contents are set/unset (not only icon and end parts) 2013-07-17 10:50:08 +09:00
Ryuan Choi 2ecff945b9 scroller: ELM_PRIV_XXX_SIGNALS adoption for scroller
Refactored signal declarations since b430c07ca1f1.
2013-07-16 08:11:52 +09:00
Carsten Haitzler 9076fb4834 elm datetime -> set child objects to disabled if main obj is 2013-07-15 19:45:41 +09:00
Carsten Haitzler 35db502d5b namespace special parts elm looks for with elm.* 2013-07-15 18:00:49 +09:00
ChunEon Park ff4a69c790 elementary/naviframe - improve doc. 2013-07-15 14:34:13 +09:00
Ryuan Choi 809759083b entry: ELM_PRIV_XXX_SIGNALS adoption for entry(2)
Fixed typo.
2013-07-15 13:37:34 +09:00
Ryuan Choi 4143fe5612 entry: ELM_PRIV_XXX_SIGNALS adoption for entry
Refactored signal declarations since b430c07ca1f1.
2013-07-15 12:13:53 +09:00
Ryuan Choi 477c38cdd8 elm, genlist: Introduce ELM_PRIV_STATIC_VARIABLE_DECLARE and ELM_PRIV_SMART_CALLBACKS_DESC
This can reduce human mistakes when adding new signals (and typing).

This is not all, I will work on adopting these macros for oter widgets.
2013-07-15 11:28:18 +09:00
ChunEon Park 74d5da9cf4 elementry/entry - Change the keyboard mode only if the imf is not available.
If the imf is available, the keyboard mode should be decided by ime, but not
entry. This prevents the asynchorouse states between ime and conformant.
2013-07-13 18:58:30 +09:00
Daniel Juyung Seo f877718bf6 elm_list.h: add more documentation for supported parts. 2013-07-13 16:07:12 +09:00
Daniel Juyung Seo a0605b196c elm_list.c: fixed elm_object_item_part_content_set bug with 'end' part in elm_list. 2013-07-13 15:45:44 +09:00
WooHyun Jung d659ee012e elementary/elm_win.c : When highlight shutdown, custom highlight of current focused widget should be hidden. 2013-07-13 12:37:03 +09:00
Gustavo Lima Chaves bfc9706bc5 Forgotten release boilerplate. 2013-07-12 12:01:17 -03:00
cabelitos 4fea84ea8b Adding an API to Dayselector.
This patches introduces a new API that will make the Dayselector more
flexible. Before this patch the only way that the week this was being shown
was according to the '%a' format type from the strftime() function,
However the user may want to abbreviate using another criterion. This patch
will allow the user to do that.
2013-07-12 11:45:05 -03:00
Daniel Juyung Seo d6cfb5122b Opps revert this commit. It was my mistake. Sorry.
Revert "sldkfj"

This reverts commit a52b461984914211ee98f390b957b0c370347bfc.
2013-07-12 07:20:01 +09:00
Thiep Ha 504c134bf1 sldkfj 2013-07-12 06:57:00 +09:00
Aharon Hillel c557da90cc Elementary: Gesture Layer added move for Taps Added MOVE state report for Double,Triple Tap gesture
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
2013-07-11 15:41:55 +01:00
WooHyun Jung 27d51db839 We can change the focusable state of elm_layout by calling elm_object_focus_allow_set from application side. 2013-07-11 17:47:25 +09:00
Daniel Juyung Seo dbbe13e7ca elm_authors.h: synchronize elm_authors.h with AUTHORS. 2013-07-11 12:54:54 +09:00
Tae-Hwan Kim 7471612475 theme: free all theme resources when elementary is shutdown. 2013-07-11 11:34:46 +09:00
Youngbok Shin d7b9aa66b1 [entry] Fix non-scrollable entry did not comply focus_highlight data.
elm_entry checked focus_highlight data only if entry is scrollable.
Now elm_entry will check focus_highlight data on any style of entries.
2013-07-09 18:47:45 +09:00
Youngbok Shin 368810690c Entry: _elm_entry_smart_signali calls edje_object_message_signal_process for processing the pending messages.
_elm_entry_smart_signali calls edje_object_message_signal_process for processing the pending messages.
Because Edje can’t changes size or position of parts immediately when it receive a signal without this.
2013-07-09 18:31:22 +09:00
Youngbok Shin c17f88ace3 entry: Fix elm_entry_end_visible_set checked wrong content.
the elm_entry_end_visible_set checked elm.swallow.icon.
It should checked elm.swallow.end.
2013-07-09 16:57:17 +09:00
Daniel Juyung Seo a4ad57f627 elm_config.c: set the default value for thumbscroll flick distance tolerance when the value equals to zero. 2013-07-09 14:07:21 +09:00
Shinwoo Kim e35f12deaa [access] add elm_access_highlight_next_set, export elm_widget_focus_region_show 2013-07-06 14:41:00 +09:00
Daniel Juyung Seo b0e946684a elm_disselector.c: removed redundant code.
This fixes 'dereference before null check' issue which was spotted by coverity. CID 1040001.
2013-07-06 13:01:55 +09:00
Daniel Juyung Seo 23d6d17695 elm_genlist.c: refactoring. use correct parameters. 2013-07-06 13:00:39 +09:00
Daniel Juyung Seo d66e2ed136 elm_genlist.c: do not check null. it should not be a null and it was already dereferenced.
This fixes 'dereference before null check' issue which was spotted by coverity. CID 1040000.
2013-07-06 12:56:58 +09:00
Daniel Juyung Seo 14c7bf8039 elm_gengrid/genlist.c: removed logically dead code. NULL is already checked.
This fixes 'Logically dead code' warning which was spotted by coverity.
CID 1040038, 1040040, 1040036, 1040037.
2013-07-06 12:49:54 +09:00
Daniel Juyung Seo 3be4bf95ce elm_gesture_layer.c: removed unnecessary assignment.
This fixes 'unused pointer value' warning which was spotted by coverity. CID 1039974.
2013-07-06 12:46:07 +09:00
Daniel Juyung Seo 2160622fc5 elm_prefs.c: used strncpy for the fixed size array copy.
This fixes 'copy into fixed size buffer' issue which was spotted by coverity. CID 1039998.
2013-07-06 12:33:52 +09:00
Daniel Juyung Seo 7bbcf8a271 elm_toolbar.c: check reorder_from at the start of _items_change. reorder_from is used here and there.
this fixes dereference before null issue which was spotted by coverity. CID 1039999.
2013-07-06 12:26:59 +09:00
Daniel Juyung Seo 2d8238b9f2 elm_web.c: removed unnecessary assignment.
this fixes dereference after null check warning which was spotted by coverity. CID 1040033.
2013-07-06 12:22:26 +09:00
Daniel Juyung Seo 2540d5770a els_pan: remove unused code. pan was migrated to scrollable interface. 2013-07-06 12:20:01 +09:00
Daniel Juyung Seo df0383a45a elm_config.c: fixed dereference before null check issue which was spotted by coverity. CID 1040002.
efd->text_class should be a null.
2013-07-06 12:14:02 +09:00
Daniel Juyung Seo b45be2b9b7 elm_colorselector.c: removed dead default in switch code which was spotted by coverity. CID 1040039. 2013-07-06 12:10:16 +09:00
Daniel Juyung Seo cc9a5b3f06 elc_multibuttonentry.c: fixed dereference null return value issue which was spotted by coverity. CID 1040023.
elm_widget_item_new() can return NULL on error so it's better to check NULL.
2013-07-06 12:07:51 +09:00
Daniel Juyung Seo 2af97e24a0 elm_sys_notify.c: fixed memory illegal access issue spotted by coverity. CID 1039984. 2013-07-05 19:09:22 +09:00
Daniel Juyung Seo 7714e068c7 elm_entry.c: fixed uninitialized variable issue spotted by coverity. CID 1039985. 2013-07-05 19:05:29 +09:00
Daniel Juyung Seo a4d654896b elm_cnp.c: fixed uninitialized variable warning spotted by coverity.
CID 1039986, 1039987.
2013-07-05 19:05:29 +09:00
Shinwoo Kim 0853e304e6 [access] set a module api to NULL in shutdown(); because _elm_module_unload(); could access m->api and try to free(); 2013-07-05 19:04:36 +09:00
Daniel Juyung Seo 74682ebb4e elm_cnp.c: fixed use after free spotted by coverity CID 1039969. 2013-07-05 17:35:29 +09:00
Thiep Ha 7686648e12 Fix horizontal list size issue in desktop mode (T179)
Issue: horizontal list does not show correctly in desktop mode.
- The way to reproduce isssue is discribled in Task T179.
- We can also reproduce issue by runnin Ctxpopup at horizontal mode in elmentary test with standard profile.
2013-07-05 02:58:16 +09:00
Daniel Zaoui 76719a836b Gesture Layer: implementation of 'tap + longpressed' sequence
Callbacks can be set:
- at the start of the sequence, i.e at the start of the single tap
- at the end of the sequence, i.e when mouse up occurs on long press
- when longpress is detected, i.e when mouse is still down during
longpress
2013-07-04 14:47:10 +03:00
Aharon Hillel 3b26991959 Gesture Layer: cancel timer on delete.
We need to cancel any running timers when GLayer is deleted.
2013-07-04 10:38:42 +03:00
Daniel Juyung Seo 47fd3f6a24 elm_entry.c: more ELM_FREE_FUNC for entry. 2013-07-04 15:03:18 +09:00
Carsten Haitzler f4896a6ae6 ethumb - stop requesting ethumbd to start again every time it dies 2013-07-04 08:39:00 +09:00
Aharon Hillel f2b02d0680 Gesture Layer: changed order in cleanup func.
Changed the order when GLayer is deleted. First we cancel all Gestures,
then we handle any event forwarding.
2013-07-03 13:57:22 +03:00
Aharon Hillel 13da4a3a80 Gesture Layer: fix crash during deletion.
if target object is deleted before GLayer is deleted, we get a crash
from _event_history_clear.
Setting target to NULL on delete, then testing it before reporting state
takes care of this problem.
2013-07-03 13:57:22 +03:00
Jaehwan Kim fab1a003fc viewport_size_get func doesn't need any more in that code. 2013-07-03 19:31:12 +09:00
Jaehwan Kim 1c40d6cbab If the flick distance is more than thumbscroll_flick_distance_tolerance, it become same with thumbscroll_flick_distance_tolerance. 2013-07-03 19:25:24 +09:00
Jaehwan Kim 504f59f174 Change the method to calculate a distance which be scrolled from linear to sine curve.
And add the configuration thumbscroll_flick_distance_tolerance. It's the max flick distance.
2013-07-03 18:43:19 +09:00
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