Commit Graph

7629 Commits

Author SHA1 Message Date
Daniel Juyung Seo 50463d76b0 elementary_codegen.c: removed unused pointer value.
This fixes coverity CID 1039982.
2013-08-11 15:19:40 +09:00
Daniel Juyung Seo ac1ac07790 test_main_main.c: refactoring.
use elm_win_util_standard_add.
move around the code.
2013-08-11 15:04:14 +09:00
Daniel Juyung Seo 1c2a91353c elm_panes.c: formatting fix while reading the code. 2013-08-11 15:00:43 +09:00
ChunEon Park 87993d76ba elementary/popup - Fix the corrupted internal widget tree that caused elm_theme_set() doesn't work correctly. 2013-08-10 18:52:35 +09:00
ChunEon Park 2d651a3688 elementary/popup - fixed typo 2013-08-10 16:47:28 +09:00
ChunEon Park bc13d70e5e elementary/popup - only set the notify style if the notify is the parent of the popup 2013-08-10 16:41:25 +09:00
ChunEon Park 75b631f07e elementary/popup - Don't need to set the style since widget infra setup themes for sub objects on behind. 2013-08-10 15:01:05 +09:00
ChunEon Park 301dd870e5 elementary/naviframe - update only theme changed views 2013-08-10 13:58:17 +09:00
Cedric Bail 1baaa321a7 elm_image: add support for url. 2013-08-09 21:13:15 +09:00
Cedric Bail fc479b7161 elm_image: fix structure order to avoid hole in it. 2013-08-09 21:13:15 +09:00
Shinwoo Kim 7af04bd5ec [access] remove double free possibility by removing object data 2013-08-09 19:03:56 +09:00
Carsten Haitzler fb66d6963b elm popup leak fix! also in notify! 2013-08-09 17:48:31 +09:00
Shinwoo Kim 673fed4667 test_access.c - fixed typo 2013-08-09 10:59:08 +09:00
ChunEon Park 5194da10b3 Elm_datetime bug fix patch: Max days in a month is giving wrong values because of summer time adjustment 2013-08-09 02:59:48 +09:00
Daniel Zaoui cb8d4790e6 Gesture Layer: fix typo on Eo op 2013-08-08 16:16:31 +03:00
Daniel Juyung Seo 58a6915482 test_progressbar.c: enable/disable start/stop buttons according to the state. 2013-08-08 02:27:28 +09:00
Daniel Juyung Seo 45d386ccde test_progressbar.c: refactoring. run flag is not needed. 2013-08-08 02:23:59 +09:00
Carsten Haitzler bd5299d1a1 fix finger size calc for calendar 2013-08-07 16:50:00 +09:00
Daniel Juyung Seo 9cfbcc25ac test_progressbar.c: use EINA_TRUE for eina_bool type. 2013-08-07 13:53:50 +09:00
Daniel Juyung Seo b20c482cb0 progressbar_example.c: fixed wheel style pluse issue. 2013-08-07 13:53:50 +09:00
Ryuan Choi 5cfb0d9b7c fileselector: Simple refactoring to fix possible leak.
This fixes "Resource leaks" which was spotted by coverity. CID 1054518
2013-08-06 20:08:16 +09:00
WooHyun Jung 5c49ccfb24 elementary/elm_widget.c : When there is no resize object, widget object itself should get evas focus when it steals elementary focus. 2013-08-06 18:14:44 +09:00
WooHyun Jung 24896e2ffd elementary/elm_spinner.c : Whenever spinner is unfocused, timers related with value change should be deleted. 2013-08-06 18:13:10 +09:00
Yakov Goldberg 5ed1390c9f fileselector: unfocus if anchor clicked/entry activated
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-08-06 11:17:40 +03:00
Yakov Goldberg a355c3f3f5 fileselector: fix show filename in anchor for some cases
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-08-06 11:17:40 +03:00
Yakov Goldberg de24d2c5c0 fileselector: fix typo + behavior
- _anchors_do() receive fileselector object as first parameter,
    in _on_text_unfocused cb fileselector passed as 'data' and not as
    'obj';
 - when entry is unfocused, it can contain usual text or anchor-styled text,
   so the only secure way to pass path is to pass sd->path.
2013-08-06 11:17:40 +03:00
Yakov Goldberg b26418ae7d fileselector: added TODO note
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-08-06 11:17:40 +03:00
Shinwoo Kim dec4d56d95 [access] call smart_access(); of the object which does not have parent object 2013-08-06 14:00:50 +09:00
Carsten Haitzler d0d2020b07 fix up elm thumb docs/examples. 2013-08-05 18:45:27 +09:00
Carsten Haitzler ebc1219eef Revert "elm_thumb - Fix always false on elm_thumb_ethumb_client_get"
This reverts commit 0b787c4829a7b54b8612a9828aba47df7fe37588.
2013-08-05 12:16:55 +09:00
Stephen Houston 78153901f5 Merge branch 'master' of git+ssh://git.enlightenment.org/core/elementary 2013-08-04 16:51:51 -05:00
Stephen Houston e3484dcac4 elm_thumb - Fix always false on elm_thumb_ethumb_client_get
When ethumb_client_init is called in elm_need_ethumb, the ethumb client needs to be set in order to use
elm_thumb_ethumb_client_get after calling elm_need_ethumb. spank spank raster for removing? :)
2013-08-04 16:40:29 -05:00
Daniel Juyung Seo 91e8853535 elm_win.c: rename variable correctly. top_animate -> animate. 2013-08-04 17:52:54 +09:00
Daniel Juyung Seo a6d5d9909d elm_win.c: refactoring. cleaner code. 2013-08-04 17:38:02 +09:00
Daniel Juyung Seo 36efa6439e elm_win.c: more descriptive variable name. top -> fobj for focus edje object. 2013-08-04 17:37:30 +09:00
Daniel Juyung Seo c4bfc46960 elm_win.c: more ELM_SAFE_FREE adoption. 2013-08-04 17:15:03 +09:00
Daniel Juyung Seo 96c0e0f910 elm_win.c: rename internal variable for consistency. 2013-08-04 17:14:44 +09:00
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 5b2f9a18fc add disabled actionslider test. 2013-07-31 18:53:15 +09:00
Carsten Haitzler 03eab34d44 slideshow - use images not photos. :) 2013-07-31 18:15:05 +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 cd9f1a22bc elementary/segment control - updated example 2013-07-30 18:17:17 +09:00
ChunEon Park 432e19a87f elementary/segmentcontrol - updated test case. 2013-07-30 15:03: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
ChunEon Park 68b23ed66c elementary/dayselector - fix formatting in it's example 2013-07-23 22:37:58 +09:00
ChunEon Park 6928d6ce7a elementary/dayselector - added disabled case example 2013-07-23 22:36:28 +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
ChunEon Park 156f9c05a2 elementary/dayselector - fix test case that the sunday first to be correctly shown. 2013-07-23 21:59:19 +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
Chris Michael 8e02c9541c Add elm quit policy to conformant_example_02.
NB: In the future, can we please add this to any new examples also ?
so that we do not have to waste time chasing down stupid phab tickets
about apps not closing when the 'X' is pressed...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:35:02 +01: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
ChunEon Park 8659b377cb elementary/diskselector - fix the test case that caused _smart_need_recalculate problems. 2013-07-22 17:38:26 +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 a88c5340b4 remove printfs from video test 2013-07-18 20:22:09 +09:00
Carsten Haitzler 85996e0a21 make video test notify usage less annoying. 2013-07-18 19:02:08 +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
Carsten Haitzler 6a4f95029c make test video not use alpha and be a more sensible size by default 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
Daniel Juyung Seo 32e966e353 config.c: make a group of scroller bounce configurations. 2013-07-15 14:04:15 +09:00
Daniel Juyung Seo ca33876fdd config.c: make a group of scroller acceleration configurations. 2013-07-15 13:59:00 +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 44c59ce40e test_list.c: added elm_object_item_part_text_set sample. 2013-07-13 16:05:59 +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 f7bd096d15 Elementary: Gesture Layer updated test 2 Added callbacks for MOVE state of Double, Triple Tap gesture
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
2013-07-11 15:41:55 +01: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
Daniel Juyung Seo 1735270a05 config.c: add more comments for the readability. 2013-07-09 13:36:19 +09:00
Carsten Haitzler 11d57a21f6 add disabled list items for horizontal lists in test 2013-07-07 10:56:36 +09:00
Ryuan Choi 1ef1afbae2 elementary_test : Fixed my fault.
Valgrind complains invalid read of size 1
2013-07-06 20:58:03 +09:00
Daniel Juyung Seo 47a73ea391 test_access.c: added an instruction how to run the test. 2013-07-06 16:41:25 +09:00
Daniel Juyung Seo dcfaceccc0 test_access.c: refactoring.
1. removed unnecessary align hint set.
2. changed code sequence more logically.
3. use ECORE_CALLBACK_PASS_ON instead of EINA_TRUE for ecore event callback function.
2013-07-06 16:35:29 +09:00
Ryuan Choi 573d1bef88 elementary_test: elementary_test should be more kind to execute specific test
I frequently mistake test name because of spaces like "fileselector"
In this case, nothing appeared and nothing is complained.

For lazy developer like me, this patch makes elementary_test ignore spaces.
In addition, elementary_test will complain and exit if wrong test name is given.
2013-07-06 15:51:22 +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 76657cf05c config.c: just free the list.
This fixes 'unused pointer value' warning which was spotted by coverity. CID 1039983.
2013-07-06 13:28:02 +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 3771cda12d test_panel.c: fixed derefence null return value from getenv issue which was spotted by coverity. CID 1040025. 2013-07-06 12:05:36 +09:00
Daniel Juyung Seo 0e2b1b03ba test_fileselector_entry.c: fixed unchecked return value warning which was spotted by coverity. CID 1040043. 2013-07-06 11:59:07 +09:00
Daniel Juyung Seo 3ce65ada92 test_config.c: comparing array against 0 is useless. compare the first value instead.
This was spotted by coverity CID 1040027.
2013-07-06 11:55:51 +09:00
Daniel Juyung Seo 5954ce1419 test_external.c: removed duplicated calls.
This removes unused pointer value warning which was spotted by coverity.
CID 1039977.
2013-07-06 03:13:50 +09:00
Daniel Juyung Seo 9ef0df6010 test_naviframe_complex.c: removed unused pointer value which was spotted by coverity. CID 1039976. 2013-07-06 03:12:44 +09:00
Daniel Juyung Seo 5ca3ca7124 test_ctxpopup.c: Use normal internal function instead of macro.
This fixes unused pointer value warning which was spotted by coverity.
CID 1039978 ~ 1039981.
2013-07-06 03:06:02 +09:00
Ryuan Choi 560f7184b4 quicklaunch: Fixed double close issue spotted by coverity. CID1039972. 2013-07-05 23:40:53 +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 43b4b6ce18 test_gengrid.c: fixed memory leak spotted by coverity.
CID 1040015, 1040014, 1040013, 1040011, 1040010.
2013-07-05 18:31:38 +09:00
Daniel Juyung Seo 955a3712fa test_access.c: fixed memory leak spotted by coverity. CID 1040017, 1040018. 2013-07-05 18:00:31 +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
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
Ryuan Choi 2cfa0ce7db file selector:Add support mime type filter 2013-06-24 15:42:51 +09:00
ChunEon Park cdae0e4064 elementary/ctxpopup - more clean code. 2013-06-24 09:54:16 +09:00
Carsten Haitzler f6ba63b7dc fix style test for genlist -> media-preview not media_preview. 2013-06-23 23:18:13 +09:00
Carsten Haitzler 153f5d9de2 genlist - fix some stacking issues when selecting items with group headers
stacking become a lot more complex when re-order mode was added, group
headers and more, so simple raise/lower wasn't enough, so this adds 2
stacking markers (rectangles) and objects are stacked above or below
these 2 markers. that basically provides 4 possible stacking slots
that are easy to address, and if you also still raise/lower you get 6
slots. use these markers for stacking so items go into a fixed
stacking layer when they stack around.
2013-06-23 15:17:39 +09:00
ChunEon Park 72f639543c elementary/ctxpopup - apply current ctxpopup style to the internal list. 2013-06-23 02:23:23 +09:00
ChunEon Park 36ad1cc0e8 ctxpopup - block mouse events when ctxpopup is on dismiss. 2013-06-22 15:21:00 +09:00
Carsten Haitzler ee51f840ad exit if window cresation failes in tests. 2013-06-22 12:42:59 +09:00
Thiep Ha d062cc2004 [Elm_Entry] Show magnifier when selection handlers are pressed or moved.
Show magnifier when selection handlers are pressed or moved.
This patch is depended on D171 patch.

Conflicts:

	ChangeLog
	NEWS
2013-06-22 12:37:15 +09:00
Thiep Ha ca66c7cc6c When mouse moves in longpress state, the cursor should be moved along
with magnifier.

Conflicts:

	ChangeLog
2013-06-22 12:26:37 +09:00
Jaehwan Kim cb8c288f42 Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page. 2013-06-19 23:31:36 +09:00
Daniel Juyung Seo a7082cfb73 naviframe_example.c: added very simple naviframe example. 2013-06-19 02:02:17 +09:00
Daniel Juyung Seo 6ae4796cd1 genlist_example_0x.c: clean up sample codes.
1. use elm_win_util_standard_add in normal case. don't need to create the bg manually.
2. size hint align is not needed for window resize object.
2013-06-19 01:25:32 +09:00
Jaehwan Kim a9bd591af9 In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce. 2013-06-18 16:28:06 +09:00
Daniel Juyung Seo a070c90ca1 elm_layout_legacy.h: added missing ingroup for layout documentation. 2013-06-18 03:15:50 +09:00
Gustavo Lima Chaves 515b1ec64a Better logic for elm_scroller_current_page_get() while scrolling/dragging.
We still report the topmost/leftmost page, but DURING animations we
return which of the competing pages on the top, left edge get the
majority of their regions in the viewport.
2013-06-17 13:23:45 -03:00
Daniel Juyung Seo 8e8f98ce93 src/examples/.gitignore: updated git ignore. 2013-06-16 22:28:46 +09:00
ChunEon Park 5488d7c1b4 elementary/naviframe - dont' be popped if the event is freezed and popping is going on. 2013-06-16 19:57:19 +09:00
Daniel Juyung Seo 64a8f6608e elm_genlist.h: added missing " in the documentation. 2013-06-15 23:48:44 +09:00
Ryuan Choi 5ae1e19911 elm_main : Do not release strings which eina_prefix returns
The getter functions of eina_prefix just returns internal string.
So they should not be released in application side.
2013-06-15 13:02:25 +09:00
Ryuan Choi c3e0b5fc7c Fix build break on example
I got a below break while building example.

/usr/bin/ld: location_example_01.o: undefined reference to symbol 'elocation_address_free'
/usr/bin/ld: note: 'elocation_address_free' is defined in DSO /usr/elocal/lib/libelocation.so.0 so try adding it to the linker command line
/usr/elocal/lib/libelocation.so.0: could not read symbols: Invalid operation
2013-06-14 09:25:38 +09:00
Gustavo Lima Chaves 8e644dd21e Fix elm_scroller_child_size_get() to work all scrollables.
My bad on this one, it was never made to act like so since my
new widget schema.
2013-06-13 18:09:04 -03:00
Stefan Schmidt c44bd02f0e elm_gesture_layer: Fix potential NULL pointer dereference.
If _pointer_even_make is false pe stays NULL and might get dereferenced
later. Instead we return now if _pointer_event_make fails.

Thanks to Tom for consulting with the gesture layer code.
2013-06-13 16:25:14 +01:00
Stefan Schmidt 3134a75de1 elm_web: Fix up various typos from URL conversion.
Ryuan please check if I adapted these correctly. And next time please
do a compile before pushing it. Spank :)

Thanks to Uartie for spotting it.
2013-06-13 15:45:33 +01:00
Ryuan Choi ff89b116db elm_web: Fix typo.
Thanks to ya-kov for reporting this.
2013-06-13 19:02:29 +09:00
ChunEon Park eaa94c2688 elementary/naviframe - oops, here more proper check. 2013-06-13 16:36:13 +09:00
ChunEon Park 5263213062 elemenatry/naviframe - keep the current view on top to have events and don't try to add member for the deleted dummy. 2013-06-13 15:46:16 +09:00
Ryuan Choi 1af4430e6a web/web2 : Deprecated uri. url will be used instead(2).
Sorry, I missed elm_web_legacy.h from previous commit.
In addition, updated ChangeLog and NEWS.
2013-06-13 13:56:16 +09:00
Ryuan Choi e11bbc24b5 web/web2 : Deprecated uri. url will be used instead.
ewebkit used uri and url as mixed for a long time.
But last year, ewebkit2 decide to use url for the consistency.

Below is discussion and webkit-efl bug about "uri vs url"
https://lists.webkit.org/pipermail/webkit-efl/2012-October/000312.html
https://bugs.webkit.org/show_bug.cgi?id=98643
2013-06-13 10:30:10 +09:00
ChunEon Park 7982138843 elementary/naviframe - more clean code 2013-06-12 22:28:40 +09:00
Carsten Haitzler fe97f8d508 add more test/example cases to genlist test. 2013-06-12 20:15:52 +09:00
Daniel Juyung Seo c7cfcc43f2 elc_fileselector.c: check null path before fileselector populate.
If no path was selected we don't need to populate fileselector.
This fixes https://phab.enlightenment.org/T132.
Thanks uartie for the report.
2013-06-12 15:03:49 +09:00
Daniel Juyung Seo e44d3427e1 fileselector_example.c: fix the compile command. 2013-06-12 14:23:13 +09:00
Daniel Juyung Seo e92b0c4121 elm_check.h: updated check documentation.
"on" and "off" text parts work only with "toggle" style of check.
This fixes https://phab.enlightenment.org/T154
Thanks brian.lovin for the report.
2013-06-12 14:14:25 +09:00
Daniel Juyung Seo 3c0c5a8724 test_popup.c: refactoring. added comments and empty lines for the readability. 2013-06-12 13:39:42 +09:00
Ryuan Choi c15ebf2e0e elm_web2: Implemented missing navigation and user-agent APIs. 2013-06-12 09:19:51 +09:00
Ryuan Choi 71a41a8c16 elm_web2: Fixed simple warning 2013-06-12 09:19:51 +09:00
Eduardo Lima (Etrunko) fffdaeb025 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:06 -03:00
ChunEon Park 3edbacc7d4 elementary/naviframe - it's not intended code. remove it. 2013-06-11 21:55:44 +09:00
Daniel Willmann c093a07541 els_tooltip: Only call ecore_x_pointer_xy_get() if we're in X
We don't want to call X functions (and segfault) if X is not actually
running.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 12:48:52 +01:00
Daniel Willmann 363da34f27 els_tooltip.c: Initialize px and py to zero
px and py might not be set if X support is not compiled in and
ecore_x_pointer_xy_get() is not called. In that case make sure they are
not used uninitialized.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 12:48:48 +01:00
Daniel Willmann 4d40f16f5e els_tooltip: Don't expect to have X running if support is compiled in
Refactor the code so common code is not duplicated inside the
if (transparent) and else blocks

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 11:27:23 +01:00
Ryuan Choi 54663d2970 colorselector: Remove srgb and lrgb from Elm_Colorselector_Smart_Data
They are always calculated before used so they can be removed from smart data.
2013-06-11 18:57:37 +09:00
ChunEon Park 2368f82e31 elementary/naviframe - Keep the smart members of the naviframe views whenever resize object is changed.
This prevents the dangling view objects of the naviframe and keep the layer consistency.
2013-06-11 18:08:10 +09:00
Stefan Schmidt 06c869eece elc_fileselector: Small formatting fix.
Spotted by devilhorns. Somehow I feel watched here. ;)
2013-06-11 08:48:20 +01:00
Ryuan Choi 215e935ea1 colorselector: Do not send "changed" signal twice when pressed color bar
Regardless of color selector mode, mouse down captured color.
This patch moves callbacks related to picker mode to _start_grab_pick_cb.
2013-06-11 12:22:08 +09:00
ChunEon Park a1d3265cad naviframe - keep the animator just one. 2013-06-11 12:20:10 +09:00
Stefan Schmidt 33eca6e2c0 elc_fileselector: Fix memory leak in _selected_set.
Using ecore_file_dir_get() like this will leak the returned string as we
have no way to control its free'ing. Better use a separate variable for it.
2013-06-10 15:47:54 +01:00
Stefan Schmidt 125938e968 elm_cnp: Fix memory leak in error path.
We allocate info->filename in all cases but missed a free in the error path.
2013-06-10 14:53:11 +01:00
Ryuan Choi 15883b69ce elm_colorselector: Refactored not to change RGBA values many times.
For example, colors_set changed RGBA five times (The first is in colors_set itself,
the others are in _hsl_to_rgb which called by _rectangle_redraw).

First, this patch splits _rectangle_redraw to 3 separate functions,
_update_colorbars, _update_hsla_from_colorbar and _update_ergb.
So only proper functions will be called instead of _rectangle_redraw.

Second, SIG_CHANGED will be called when RGBA was only changed.
2013-06-10 16:38:35 +09:00
Daniel Juyung Seo e4c5d37ccc diskselector, icon, map, progressbar: no @since for smart callback just use since or it will cause line break in the doxygen documentation. 2013-06-10 14:54:08 +09:00
Chris Michael 7e198bf9c1 Add Elementary_Wayland flags & libs to test building
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 06:48:26 +01:00
Daniel Juyung Seo a5066a5747 panel, video, web, web2: added focused, unfocused smart callback documentation. 2013-06-10 14:37:47 +09:00
Daniel Juyung Seo 6cf684f02a elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo f1b685897d elm: do not declare SIG_FUCSED/SIG_UNFOCUSED if the const char is not used more than once.
ctxpopup, fileselector_button, naviframe, player, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 37822734cc elm: fixed focused and unfocused documentation.
1. ctxpopup, fileselector_entry, naviframe, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2. since 1.8
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 1d0521337c elm_panel.c: call elm_widget_can_focus_set() just once in smart add. 2013-06-10 14:13:55 +09:00
ChunEon Park 5eb167c922 elementary/conformant - remove the keyboard area in the conformant if the keyboard state is off. 2013-06-10 13:33:00 +09:00
Ryuan Choi c6ee22e312 Add myself in AUTHORS and elm_authors.h 2013-06-10 11:29:44 +09:00
Daniel Juyung Seo 8cf2c8a422 calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid: added "focused" and "unfocused" documentations. 2013-06-09 18:55:42 +09:00
Daniel Juyung Seo 7b71bd1973 ctxpopup, fileselector_button, naviframe, player, popup, bubble, button: added "focused" and "unfocused" documentations. 2013-06-09 18:54:43 +09:00
Daniel Juyung Seo 3c7fb77167 elc_ctxpopup.h: more and better ctxpopup documentation for smart callbacks.
1. put numbers for the dismissed smart callback emit cases.
2. added missing language,changed smart callback documentation for ctxpopup.
2013-06-09 18:06:14 +09:00
Daniel Juyung Seo d7483ee627 elm_general.h: better documentation. 2013-06-09 18:01:21 +09:00
Daniel Juyung Seo 46d08b10f8 datetime, lable: use SIG_LANG_CHANGED instead of SIG_LANGUAGE_CHANGED for consistency. 2013-06-09 17:56:30 +09:00
Daniel Juyung Seo 99ed8edb84 elm_widget_toolbar.h: more internal toolbar documentation. 2013-06-09 17:47:39 +09:00
Daniel Juyung Seo d8057c52eb documentation: fixed a typo. 2013-06-09 17:14:31 +09:00
Daniel Juyung Seo ed24ca26d4 elm_widget.h: more widget documentation. 2013-06-09 17:13:07 +09:00
Daniel Juyung Seo 9353cdeac8 elm_widget.h: update elm_wdg_on_focus documentation. 2013-06-09 16:54:26 +09:00
Daniel Juyung Seo 253e6369e4 elm_widget.c: handle focus fail case. 2013-06-09 16:54:00 +09:00
ChunEon Park d260935270 elementary/naviframe - don't ignore the subtitle case 2013-06-08 18:13:26 +09:00
ChunEon Park 16bcf540b2 elementary/naviframe - return as soon as possible 2013-06-08 18:11:09 +09:00
ChunEon Park 8c7b28b4ed elementary/naviframe - try to read the titles only when title is set and title_area is visible 2013-06-08 18:10:17 +09:00
ChunEon Park 76465a7fdd elementary/naviframe - no! don't have the keyboard dependenccy with naviframe. 2013-06-08 17:40:39 +09:00
Carsten Haitzler 0c13ec5ced part of the entry magnifier feature set from thiep. still more to go. 2013-06-07 17:17:30 +09:00
Daniel Juyung Seo d878787b02 elm_win.c: changed EINA_LOG_INFO to INF to use elementary log domain. 2013-06-07 13:47:58 +09:00
Ryuan Choi 091498f4cc elm_clock: Removed unnecessary check routine
Small refactoring.
2013-06-07 13:01:33 +09:00
Boris Faure bda98e9dd3 fix compilation 2013-06-06 21:20:20 +02:00
Rafael Antognolli 678c41b289 elm/scrollable: Fix count of mouse move events.
It should use just the events that really happened (after the mouse move
starting timestamp).
2013-06-06 14:24:37 -03:00
Rafael Antognolli cc19e3948d elm/scrollable: Avoid division by zero during scroll.
When several mouse move events arrive with the same timestamps, the
calculation done to get an average of movement will try to divide things
by zero. This fix will make it ignore this calculation and just go back
to assuming that there's only one last move event.

Such behavior can happen on wayland backend, when using the X11 backend
for Weston, since it will process several X events in one loop iteration
and send all of them with the same timestamp.
2013-06-06 14:24:37 -03:00
Rafael Antognolli 14cc29a188 elm/scrollable: Fix typo that came with ELM_FREE_FUNC. 2013-06-06 14:24:37 -03:00
Daniel Juyung Seo 8bfdbd2ba6 elm: all the focusable widget now emits "focused" and "unfocused" smart callbacks.
1. documentations, NEWS, and ChangeLog will be updated later after some more test.
2. need to check entry.
2013-06-07 01:13:37 +09:00
Daniel Juyung Seo 93fb6bcde9 elm_entry.c: put focused and unfocused together for the readability. 2013-06-07 00:35:53 +09:00
Ryuan Choi ee4ba61327 elm_clock : The step of hour decimal in editing mode should be 12 not to touch hour unit. 2013-06-06 07:54:51 +09:00
Chris Michael dd2e663651 Initialize 'win' to NULL and only return a window id if we have a
valid 'win'

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-05 18:21:55 +01:00
Chris Michael 04ff986be5 Check for valid savedtypes imgfile before trying to use it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-05 12:57:10 +01:00