platform/upstream/elementary.git
9 years agogenlist: Fix genlist index get bug
ChunEon Park [Mon, 5 Jan 2015 11:43:58 +0000 (20:43 +0900)]
genlist: Fix genlist index get bug

Because not all item block have "max_items_per_block" number of items in it's block.
So the calculation is not correct when items are added & removed in each block.

Anyhow, we need more efficient way for this API because genlist uses inlinst.

9 years agogenlist: add some comment in code.
ChunEon Park [Mon, 5 Jan 2015 11:21:26 +0000 (20:21 +0900)]
genlist: add some comment in code.

9 years agogenlist: use macro as possible.
ChunEon Park [Mon, 5 Jan 2015 06:56:27 +0000 (15:56 +0900)]
genlist: use macro as possible.

9 years agogenlist: use ELM_NEW
ChunEon Park [Mon, 5 Jan 2015 06:55:39 +0000 (15:55 +0900)]
genlist: use ELM_NEW

9 years agogenilst: unselect items if the genlist select mode is display only or none.
ChunEon Park [Mon, 5 Jan 2015 06:42:22 +0000 (15:42 +0900)]
genilst: unselect items if the genlist select mode is display only or none.

make it behavior same with elm_genlist_item_select_mode_set()

@fix

9 years agogenlist: unselect item if the select mode is display only or none.
ChunEon Park [Mon, 5 Jan 2015 06:37:41 +0000 (15:37 +0900)]
genlist: unselect item if the select mode is display only or none.

@fix

9 years agoggenlist: code refactoring.
ChunEon Park [Mon, 5 Jan 2015 06:03:37 +0000 (15:03 +0900)]
ggenlist: code refactoring.

don't do anything if same mode is applied.

9 years agoImprove win dialog test to also include a test for standard_win
Dave Andreoli [Sun, 4 Jan 2015 14:38:37 +0000 (15:38 +0100)]
Improve win dialog test to also include a test for standard_win

9 years agoElm_Entry: Fix dropped text data insertion
Daniel Hirt [Sun, 4 Jan 2015 11:54:03 +0000 (13:54 +0200)]
Elm_Entry: Fix dropped text data insertion

Fixes bad drag&drop into entry widgets, since the drop callback
assumed that the dropped text ends with a NULL character.

How to reproduce:
1. Open 'elementary_test -to Entry'
2. Open some application (e.g. Firefox)
3. Select some (preferably short) text, and drag&drop it to the entry
widget. This sometimes pastes additional corrupted text (better try
with a 1-3 characters text).

@fix

9 years agoAdded the elm_win_util_dialog_add() API function
Dave Andreoli [Sat, 3 Jan 2015 13:13:35 +0000 (14:13 +0100)]
Added the elm_win_util_dialog_add() API function

This new @feature is just a convenient way to create dialogs, It
mimic the elm_win_util_standard_add() function but crete a
standard dialog, with background and the parent set.

WinDialog test changed to use the new function.

9 years agoIcon: added documentation for the new fdo icon names
Dave Andreoli [Sat, 3 Jan 2015 11:49:08 +0000 (12:49 +0100)]
Icon: added documentation for the new fdo icon names

9 years agogenlist: remove useless deco texts.
ChunEon Park [Fri, 2 Jan 2015 11:18:24 +0000 (20:18 +0900)]
genlist: remove useless deco texts.

9 years agogenlist: + null check
ChunEon Park [Fri, 2 Jan 2015 11:04:55 +0000 (20:04 +0900)]
genlist: + null check

9 years agogenlist: code refactoring
ChunEon Park [Fri, 2 Jan 2015 10:59:39 +0000 (19:59 +0900)]
genlist: code refactoring

refactor _item_content_realize() prototype to keep the consistency with state,text_realize()

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 10:45:48 +0000 (19:45 +0900)]
genlist: code refactoring.

apply facade at _view_inflate() for simple item realization.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 10:04:34 +0000 (19:04 +0900)]
genlist: code refactoring.

remove contents_obj but use contents instead.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 08:34:05 +0000 (17:34 +0900)]
genlist: code refactoring.

remove target states strings in the widget item.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 07:54:01 +0000 (16:54 +0900)]
genlist: code refactoring.

just clean up code. no logic change.

9 years agogenlist: refactoring code.
ChunEon Park [Fri, 2 Jan 2015 07:48:29 +0000 (16:48 +0900)]
genlist: refactoring code.

removed invalid content string free call.
and renamed flip_content_objs -> flip_contents.

9 years agogenlist: code refactoring.
ChunEon Park [Fri, 2 Jan 2015 07:17:16 +0000 (16:17 +0900)]
genlist: code refactoring.

remove contents string list that doesn't needed to keep in widget data.

next code refactoring based on this patch will be coming.

9 years agogenlist: exceptional handling.
ChunEon Park [Fri, 2 Jan 2015 03:14:41 +0000 (12:14 +0900)]
genlist: exceptional handling.

just be hidden if contents are failed to swallow.

9 years agobox layout should not silently fail when size is less than min size hint
Mike Blumenkrantz [Wed, 31 Dec 2014 20:30:57 +0000 (15:30 -0500)]
box layout should not silently fail when size is less than min size hint

this broke box display in any case where the user had manually changed size hints, eg. when using box align

@fix

9 years agogenlist: free selected items when genlist is cleared.
ChunEon Park [Wed, 31 Dec 2014 10:55:09 +0000 (19:55 +0900)]
genlist: free selected items when genlist is cleared.

9 years agogenlist: send reorder signal to decoration item and views.
ChunEon Park [Wed, 31 Dec 2014 10:10:40 +0000 (19:10 +0900)]
genlist: send reorder signal to decoration item and views.

Previous logic was too much stick to special case for *tizen*
let decide item styles in theme as possible.

This might break reorder group item ui, but it won't be critical.
because tizen ui only depeneded on the scenario and they don't use them anymore.

This will be much better for multiple scenario in the future.

9 years agogenlist: let group item set reorder style as it needs.
ChunEon Park [Wed, 31 Dec 2014 09:59:28 +0000 (18:59 +0900)]
genlist: let group item set reorder style as it needs.

we don't need to limit the group item it's reorder style.

9 years agotest_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.
woochan lee [Wed, 31 Dec 2014 08:38:28 +0000 (17:38 +0900)]
test_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.

Summary:
Item_Data size set as 144 before. but test_gengrid_speed function called create_gengrid function with 5000 items.
it makes crash.

@fix

Test Plan:
1. run elementary_test.
2. click Gengrid update Speed.
3. crash.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1834

9 years agotest_glview_simple: opimize draw code.
Amitesh Singh [Wed, 31 Dec 2014 08:33:32 +0000 (17:33 +0900)]
test_glview_simple: opimize draw code.

Summary:
There is no need to call glVertexAttribPointer &
glEnableVertexAttribArray() while rendering.

Reviewers: seoz, jpeg, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1827

9 years agoIcon theme: added standard freedesktop names.
Dave Andreoli [Tue, 30 Dec 2014 22:02:24 +0000 (23:02 +0100)]
Icon theme: added standard freedesktop names.

OK, this  commit try to fix the mess we have done with icon names in elm.
I just added standard names to icons yet existing in the elm theme, the
old name are, of course, preserved. But I marked them as -deprecated-.

Also added a new test: Icon Standard. It show all the icon that have standard
fdo names. This can be really usefull for user that need to choose icons to use.

I put some guidelines comment in the icons.edc files, I hope people will follow
the rules from now on... or will recive my personal spanking :D

I will work on those icons more in the next days: will add the new names to
elm docs, will try to match better fdo icon names, and maybe also add some
new icons...

Suggestions are always welcome.
@feature (maybe)

9 years agoRevert "gesture_layer: Remove unnecessary value assignment."
Daniel Juyung Seo [Tue, 30 Dec 2014 16:05:07 +0000 (01:05 +0900)]
Revert "gesture_layer: Remove unnecessary value assignment."

This reverts commit d389a44b42d482414d1bfb2f4d0ccebbda510d7b.

Tasn said this value needs to be used. Let's fix it correctly later.
Thanks Tom.

9 years agogesture_layer: Remove unnecessary value assignment.
Daniel Juyung Seo [Tue, 30 Dec 2014 15:12:57 +0000 (00:12 +0900)]
gesture_layer: Remove unnecessary value assignment.

This fixes coverity CID 1261280.
But this is not critical.

9 years agogenlist: + warning msg for user notice
ChunEon Park [Tue, 30 Dec 2014 08:56:24 +0000 (17:56 +0900)]
genlist: + warning msg for user notice

don't unrealize reordering item.

9 years agogenlist: use convenient macro.
ChunEon Park [Tue, 30 Dec 2014 08:36:14 +0000 (17:36 +0900)]
genlist: use convenient macro.

9 years agoRevert "genlist: return as possible as soon."
ChunEon Park [Tue, 30 Dec 2014 06:44:19 +0000 (15:44 +0900)]
Revert "genlist: return as possible as soon."

This reverts commit ef56ed167206612f146d2c70f5b35a7bcd62c4c6.

This caused logic change. should not be changed.

9 years agoRevert "genlist: return as possible as soon"
ChunEon Park [Tue, 30 Dec 2014 06:43:20 +0000 (15:43 +0900)]
Revert "genlist: return as possible as soon"

This reverts commit 1e6736c3a13d58c4e1a01d7e23983c721051be08.

This caused logic. should not be changed.

9 years agogenlist: return as possible as soon
ChunEon Park [Tue, 30 Dec 2014 06:32:41 +0000 (15:32 +0900)]
genlist: return as possible as soon

9 years agoelm_colorselector: Fixed to get proper min size with picker only mode
Jee-Yong Um [Tue, 30 Dec 2014 04:11:50 +0000 (13:11 +0900)]
elm_colorselector: Fixed to get proper min size with picker only mode

Summary:
Fixed to make colorselector have proper min size
when colorselector is in ELM_COLORSELECTOR_PICKER mode

@fix

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1832

9 years agogenlist: removed unnecessary check
ChunEon Park [Tue, 30 Dec 2014 02:16:56 +0000 (11:16 +0900)]
genlist: removed unnecessary check

9 years agogenlist: Fix internal comments.
Daniel Juyung Seo [Mon, 29 Dec 2014 16:31:43 +0000 (01:31 +0900)]
genlist: Fix internal comments.

9 years agotest_genlist: Add clicked,right test case.
Daniel Juyung Seo [Mon, 29 Dec 2014 15:35:24 +0000 (00:35 +0900)]
test_genlist: Add clicked,right test case.

9 years agogenlist: return as possible as soon.
ChunEon Park [Mon, 29 Dec 2014 13:58:38 +0000 (22:58 +0900)]
genlist: return as possible as soon.

9 years agogenlist: clean up code.
ChunEon Park [Mon, 29 Dec 2014 13:51:39 +0000 (22:51 +0900)]
genlist: clean up code.

repositioned function and remove unnecessary prototype declaration.

9 years agogenlist: remove duplicated signal registration.
ChunEon Park [Mon, 29 Dec 2014 13:34:45 +0000 (22:34 +0900)]
genlist: remove duplicated signal registration.

9 years agogenlist: send an additional signal
ChunEon Park [Mon, 29 Dec 2014 13:27:28 +0000 (22:27 +0900)]
genlist: send an additional signal

send flip disabled signal when it's state is switched.

9 years agogenlist: send a signal internally.
ChunEon Park [Mon, 29 Dec 2014 13:15:16 +0000 (22:15 +0900)]
genlist: send a signal internally.

send a signal so that item set it's style according to it's depth

9 years agoFileselector: beautify the search entry
Dave Andreoli [Mon, 29 Dec 2014 12:46:50 +0000 (13:46 +0100)]
Fileselector: beautify the search entry

Entry moved to the top-right corner and added the guide text

9 years agogenlist: send a disabled signal when the decorated item is unrealized.
ChunEon Park [Mon, 29 Dec 2014 12:44:07 +0000 (21:44 +0900)]
genlist: send a disabled signal when the decorated item is unrealized.

9 years agoHover and derivates: dismiss with every mouse buttons, not only 1
Dave Andreoli [Mon, 29 Dec 2014 11:45:43 +0000 (12:45 +0100)]
Hover and derivates: dismiss with every mouse buttons, not only 1

9 years agoList: new signal: clicked,right with simple test
Dave Andreoli [Mon, 29 Dec 2014 11:17:41 +0000 (12:17 +0100)]
List: new signal: clicked,right with simple test

@feature

9 years agogenlist: code refactoring
ChunEon Park [Mon, 29 Dec 2014 10:49:19 +0000 (19:49 +0900)]
genlist: code refactoring

declare/use const strings for internal signals

9 years agoGengrid: new signal: clicked,right with proper test
Dave Andreoli [Mon, 29 Dec 2014 10:38:17 +0000 (11:38 +0100)]
Gengrid: new signal: clicked,right with proper test

@feature

9 years agoGenlist: do not fire clicked,right while dragging in progress
Dave Andreoli [Mon, 29 Dec 2014 10:19:21 +0000 (11:19 +0100)]
Genlist: do not fire clicked,right while dragging in progress

9 years agogenlist: add "scroll" smart call
ChunEon Park [Mon, 29 Dec 2014 09:59:14 +0000 (18:59 +0900)]
genlist: add "scroll" smart call

@feature

9 years agotest_transit: Cast integer to pointer correctly to support 64 bit system.
Daniel Juyung Seo [Sat, 27 Dec 2014 13:25:24 +0000 (22:25 +0900)]
test_transit: Cast integer to pointer correctly to support 64 bit system.

9 years agotest_glview: Refractored the shader/program log code.
Amitesh Singh [Sat, 27 Dec 2014 13:12:30 +0000 (22:12 +0900)]
test_glview: Refractored the shader/program log code.

Summary:
Added a function print_glerror_log to handle both shaders and programs
logs.

Test Plan: elementary_test -> glview

Reviewers: raster, jpeg, seoz

Reviewed By: seoz

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D1826

9 years agoImprove -clicked- detection code by accept only if the mouse do not move too much
Dave Andreoli [Fri, 26 Dec 2014 17:46:28 +0000 (18:46 +0100)]
Improve -clicked- detection code by accept only if the mouse do not move too much

Too much in this case is a fixed 4px. As fingers do not have a right button I think
that taking into account finger size is not needed here.

Also someone argued about the signal name is not really correct...
should I change it to somethig like: clicked,secondary ?

9 years agoGenlist: added the clicked,right event on items
Dave Andreoli [Fri, 26 Dec 2014 16:29:51 +0000 (17:29 +0100)]
Genlist: added the clicked,right event on items

@feature

9 years agoGenlist: better text style for the default_style selected style
Dave Andreoli [Fri, 26 Dec 2014 14:19:56 +0000 (15:19 +0100)]
Genlist: better text style for the default_style selected style

When the genlist item is selected it change the text effect from
shadow to glow, this has 2 side effects:
1. the text gets an unwanted 2px offset (because glow require more space, I think)
2. the text color the user has set usually looks ugly with the glow color

This commit change the style to always use a normal shadow, whenever the item
is selected or not. Only apply to the default_style item style.

9 years agolist/genlist/gengrid: Fix memory leak.
Amitesh Singh [Fri, 26 Dec 2014 11:22:57 +0000 (20:22 +0900)]
list/genlist/gengrid: Fix memory leak.

Summary: @Fix

Reviewers: kimcinoo, SanghyeonLee, raster, seoz

Reviewed By: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1825

9 years agogengrid: Enhance realized_items_get performance.
Daniel Juyung Seo [Fri, 26 Dec 2014 09:45:29 +0000 (18:45 +0900)]
gengrid: Enhance realized_items_get performance.

9 years agogengrid, genlist, list, toolbar: Fix memory leak and enhance performance.
Daniel Juyung Seo [Fri, 26 Dec 2014 09:40:14 +0000 (18:40 +0900)]
gengrid, genlist, list, toolbar: Fix memory leak and enhance performance.

1. Fix memory leak by freeing eina_list.
2. Enhance performance by getting the item list when it is really
needed.

@fix

9 years agogenlist: Return the correct pointer for object item.
Daniel Juyung Seo [Fri, 26 Dec 2014 05:36:36 +0000 (14:36 +0900)]
genlist: Return the correct pointer for object item.

No backport needed.

9 years agogengrid: Add missing "moved" callback call on item reorder by key.
Daniel Juyung Seo [Fri, 26 Dec 2014 05:33:32 +0000 (14:33 +0900)]
gengrid: Add missing "moved" callback call on item reorder by key.

This is a gengrid version of de75e6c0e852a2664c0ed022a6f79d6f431f64a0.

@fix

9 years agoelm_genlist: add missing callback call
Andrii Kroitor [Fri, 26 Dec 2014 05:21:02 +0000 (14:21 +0900)]
elm_genlist: add missing callback call

Summary:
Added missing "moved" callback call when reordering items with keyboard
"up" and "down" arrows

@fix

Reviewers: cedric, raster, seoz

Reviewed By: seoz

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1818

9 years agoelm_toolbar: fix memory leak in _elm_toolbar_nearest_visible_item_get
Andrii Kroitor [Fri, 26 Dec 2014 02:26:42 +0000 (11:26 +0900)]
elm_toolbar: fix memory leak in _elm_toolbar_nearest_visible_item_get

@fix

Reviewers: cedric, seoz, Hermet, raster

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1822

9 years agotransit: revise tween sample
ChunEon Park [Fri, 26 Dec 2014 02:22:02 +0000 (11:22 +0900)]
transit: revise tween sample

9 years agogenlist should ignore no-select items when moving with the keyboard
Mike Blumenkrantz [Fri, 26 Dec 2014 01:38:54 +0000 (20:38 -0500)]
genlist should ignore no-select items when moving with the keyboard

@fix

9 years agoelm_transit: Append Elm_Transit_Tween_Mode sample to elementary_test
Jee-Yong Um [Fri, 26 Dec 2014 01:27:15 +0000 (10:27 +0900)]
elm_transit: Append Elm_Transit_Tween_Mode sample to elementary_test

Summary:
A sample for elm_transit_tween mode which can be executed via
"Effects"-"Transit Tween Mode" button in elementary_test

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1817

9 years agoadd clipper for gadget popup shine
Mike Blumenkrantz [Wed, 24 Dec 2014 22:58:37 +0000 (17:58 -0500)]
add clipper for gadget popup shine

@fix

9 years agoimage: fix clipped image issue if x or y is less than zero
jiin.moon [Wed, 24 Dec 2014 05:07:32 +0000 (14:07 +0900)]
image: fix clipped image issue if x or y is less than zero

Summary:
After applying clipping patch about image on outside,
the width or height of the image be decreased
if x or y of an image is less than zero.
The way to calculate width/height has changed.

This fixes a side effect added in 2839881f37ea85b3469d8fd37cfaa4f9d67458fa

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1810

9 years agoelm_colorselector: Fix layout broken in ELM_COLORSELECTOR_ALL mode
Jee-Yong Um [Tue, 23 Dec 2014 00:50:52 +0000 (09:50 +0900)]
elm_colorselector: Fix layout broken in ELM_COLORSELECTOR_ALL mode

Summary:
Fix layout broken in ELM_COLORSELECTOR_ALL mode
due to missing part for layout sizing evaluation

@fix

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1802

9 years agoelm_transit: Support rotation keeping current map effect.
Jaehyun Cho [Tue, 23 Dec 2014 00:39:28 +0000 (09:39 +0900)]
elm_transit: Support rotation keeping current map effect.

Summary:
Support rotation keeping current map effect.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1806

9 years agoelm_transit: Support zoom keeping current map effect.
Jaehyun Cho [Tue, 23 Dec 2014 00:36:37 +0000 (09:36 +0900)]
elm_transit: Support zoom keeping current map effect.

Summary:
Support zoom keeping current map effect.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1805

9 years agoelm_colorselector: fix not intended duplication
Jee-Yong Um [Fri, 19 Dec 2014 05:27:00 +0000 (14:27 +0900)]
elm_colorselector: fix not intended duplication

Summary:
When colorselector widget is added, there are two align set command on palette_box part,
but that for picker part is omitted.
Apply elm_box_align_set function to picker part correctly.

@fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1790

9 years agoimage: Fix formatting for the latest commit 283988.
Daniel Juyung Seo [Thu, 18 Dec 2014 17:36:16 +0000 (02:36 +0900)]
image: Fix formatting for the latest commit 283988.

9 years agotransit: revise sample
ChunEon Park [Thu, 18 Dec 2014 11:11:36 +0000 (20:11 +0900)]
transit: revise sample

9 years agoelm/image: Fix an unclipped issue about image bigger than object size
jiin.moon [Thu, 18 Dec 2014 08:53:44 +0000 (17:53 +0900)]
elm/image: Fix an unclipped issue about image bigger than object size

Summary:
When resizes an image
if "fill_inside" and "aspect_fixed" in Elm_Image_Data struct are "TRUE",
extra width or height go outside of the object area.
The width or height on outside will be clipped.
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1794

9 years agomodules: Make sure we have all linker flags setup for our modules.
Stefan Schmidt [Thu, 18 Dec 2014 07:58:52 +0000 (08:58 +0100)]
modules: Make sure we have all linker flags setup for our modules.

We missed this here and test_mapo wanted eina_stringshare. Thanks to Andreas
Metzler for the report and initial patch.

@fix

Fix T1920

9 years agotransit: clean up beizer test code...
ChunEon Park [Thu, 18 Dec 2014 06:16:59 +0000 (15:16 +0900)]
transit: clean up beizer test code...

oh please, this must be the last touch!

9 years agotransit: print more detail control points message in the bezier sample
ChunEon Park [Thu, 18 Dec 2014 05:50:12 +0000 (14:50 +0900)]
transit: print more detail control points message in the bezier sample

9 years agoelm_widget: Pass Elm_Object_Item *item as *event_info in item->del_func.
Jaehyun Cho [Thu, 18 Dec 2014 05:42:13 +0000 (14:42 +0900)]
elm_widget: Pass Elm_Object_Item *item as *event_info in item->del_func.

Summary:
Pass Elm_Object_Item *item instead of Elm_Widget_Item_Data *item as
         *event_info in item->del_func to let *event_info be used.
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1788

9 years agotransit: adjust control point position range in the bezier sample
ChunEon Park [Thu, 18 Dec 2014 05:37:39 +0000 (14:37 +0900)]
transit: adjust control point position range in the bezier sample

9 years agotransit: add bezier curve tween mode example
ChunEon Park [Thu, 18 Dec 2014 05:33:06 +0000 (14:33 +0900)]
transit: add bezier curve tween mode example

9 years agoelm_label: Add an example handling "slide,end" signal
Jee-Yong Um [Thu, 18 Dec 2014 05:24:29 +0000 (14:24 +0900)]
elm_label: Add an example handling "slide,end" signal

Summary:
Label widget example that handles "slide,end" signal
When each label ends its slide, it stops and makes next one slide.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1787

9 years agoelm_label: Add "slide,end" signal emission
Jee-Yong Um [Thu, 18 Dec 2014 05:24:12 +0000 (14:24 +0900)]
elm_label: Add "slide,end" signal emission

Summary:
In label styles providing slide fuctions (slide_[long|short|bounce])
"slide,end" signal is emitted, when every slide ends.

@fix

Reviewers: raster, Hermet

Subscribers: raster, Hermet

Differential Revision: https://phab.enlightenment.org/D1782

9 years agotransit: renamed to explicit examples.
ChunEon Park [Thu, 18 Dec 2014 00:39:37 +0000 (09:39 +0900)]
transit: renamed to explicit examples.

9 years agotransit: fix warning (different types comparing)
ChunEon Park [Wed, 17 Dec 2014 10:46:22 +0000 (19:46 +0900)]
transit: fix warning (different types comparing)

added in 8a46bf160273ecda8eac5b60c8c445b5e5a046e3

9 years agoTransit: Support BEZIER CURVE
jiin.moon [Wed, 17 Dec 2014 10:35:13 +0000 (19:35 +0900)]
Transit: Support BEZIER CURVE

Summary:
Support BEZIER CURVE in elm transit
         @feature

Reviewers: seoz, raster, Hermet

Subscribers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D1759

9 years agogenlist: Fix dereference before null check.
Daniel Juyung Seo [Tue, 16 Dec 2014 14:54:13 +0000 (23:54 +0900)]
genlist: Fix dereference before null check.

This fixes coverity CID 1258636.
No backport needed.

9 years agoelm_list : Resolved TODO in elm_list.c and declared corresponding macros in elm_macros.h
kabeer khan [Tue, 16 Dec 2014 11:01:04 +0000 (20:01 +0900)]
elm_list : Resolved TODO in elm_list.c and declared corresponding macros in elm_macros.h

Summary:
As mentioned in TODO replaced expressions in if statement with macros in elm_macros.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: seoz, raster

Reviewed By: raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D1424

9 years agoFix T1525 New Append/Prepend Gengrid Item cannot be seen in viewport
Kairong Yin [Tue, 16 Dec 2014 10:49:54 +0000 (19:49 +0900)]
Fix T1525 New Append/Prepend Gengrid Item cannot be seen in viewport

Reviewers: seoz, raster

Differential Revision: https://phab.enlightenment.org/D1392

9 years agoelm - fix warnings added in f99be3a1d6bdc63153598b592b5437c33da44bf0
Carsten Haitzler (Rasterman) [Tue, 16 Dec 2014 10:36:35 +0000 (19:36 +0900)]
elm - fix warnings added in f99be3a1d6bdc63153598b592b5437c33da44bf0

9 years agogengrid: Fix mirroring issue about key event
Hosang Kim [Tue, 16 Dec 2014 10:28:50 +0000 (19:28 +0900)]
gengrid: Fix mirroring issue about key event

Summary:
Originally, key "Left" is mapped elm_gengrid_item_prev_get. But when gengrid is mirrored, key "Left" should remap elm_gengrid_item_next_get.
So I add more condition for checking mirroring.

1. reverse Left and Right key event
2. fix _elm_gengrid_item_edge_check logic
3. fix _item_show_region logic

Test Plan: elementary_test -> gengrid

Reviewers: SanghyeonLee

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1381

Conflicts:
src/lib/elm_gengrid.c

9 years agogenlist: added reorder feature on key events
Jyotiprakash Sahoo [Tue, 16 Dec 2014 07:56:34 +0000 (16:56 +0900)]
genlist: added reorder feature on key events

Summary: This feature allows user to reorder items using up/down keys.

Test Plan: elementary_test -to "Genlist Reorder Mode"

Reviewers: singh.amitesh, raster, seoz, SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D1262

Conflicts:
src/bin/test_genlist.c
src/lib/elm_genlist_legacy.h

9 years agochange elm_naviframe_itepm_pop_to api document
taehyub [Tue, 16 Dec 2014 07:13:33 +0000 (16:13 +0900)]
change elm_naviframe_itepm_pop_to api document

Summary:
Naviframe: modify elm_naviframe_item_pop_to api's document guide more specific to avoid confusion.

the elm_naviframe_item_pop_to api does not pop all items from the top to the target item.
It destory the items between the top and the target item, after that pop and destory the top item.
so, the descriptions of elm_naviframe_item_pop_to() is modified to avoid cunfusion like above.

Reviewers: Hermet, woohyun, seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1780

9 years agotest_check: deleted useless code.
woochan lee [Tue, 16 Dec 2014 07:10:37 +0000 (16:10 +0900)]
test_check: deleted useless code.

Summary:
in this test sample, evas object size hint weight, align set API doesn't need to make view.
and line changed to code consistency.

Test Plan:
1. run elementary_test.
2. execution check test.
3. window resize.
   - some objects align to left side of window. in the other hands, some objects align to center of window.

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1781

9 years agoGengrid: Focus highlight should move to nearest visible object.
Chinmaya [Tue, 16 Dec 2014 03:22:58 +0000 (12:22 +0900)]
Gengrid: Focus highlight should move to nearest visible object.

Summary:
If item_loop is not enabled, the focus highlight should move to nearest visible object
with key events.

Test Plan: elementary_test -to "gengrid 2"

Reviewers: seoz, raster

Subscribers: sachin.dev, seoz

Differential Revision: https://phab.enlightenment.org/D1261

9 years agowin: Add more description for automatic switch to alpha window by theme.
Daniel Juyung Seo [Mon, 15 Dec 2014 17:09:16 +0000 (02:09 +0900)]
win: Add more description for automatic switch to alpha window by theme.

This is a documentation for e07061c5d5a9b1ec79278da82208ad486937b873.

9 years agowin: Rename the internal variable to avoid confusion.
Daniel Juyung Seo [Mon, 15 Dec 2014 17:02:40 +0000 (02:02 +0900)]
win: Rename the internal variable to avoid confusion.

layout -> edje to explicitly say this is an edje object.
This avoids confusion between elm_layout and edje_object, thus makes
less human mistakes.

9 years agowin: Support runtime alpha window switch on theme change.
Daniel Juyung Seo [Mon, 15 Dec 2014 16:57:24 +0000 (01:57 +0900)]
win: Support runtime alpha window switch on theme change.

Once the window alpha is on, it would not go back to non-alpha window
automatically.

- non-alpha theme -> alpha theme: switch to alpha window
- alpha theme -> non-alpha theme: stay in alpha window

@feature

9 years agowin: Support elm_win style change and runtime theme change.
Daniel Juyung Seo [Mon, 15 Dec 2014 16:45:59 +0000 (01:45 +0900)]
win: Support elm_win style change and runtime theme change.

@feature