platform/upstream/elementary.git
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

9 years agotable: Refactor internal codes to keep consistency.
Daniel Juyung Seo [Mon, 15 Dec 2014 15:43:18 +0000 (00:43 +0900)]
table: Refactor internal codes to keep consistency.

9 years agowin: Fix wrong return value of window theme apply.
Daniel Juyung Seo [Mon, 15 Dec 2014 15:40:39 +0000 (00:40 +0900)]
win: Fix wrong return value of window theme apply.

@fix

9 years agotest_external.edc: pulse value have to be true for put in pulsing mode.
woochan lee [Mon, 15 Dec 2014 12:07:14 +0000 (21:07 +0900)]
test_external.edc: pulse value have to be true for put in pulsing mode.

Summary: pulsing mode doen't work even though called elm_progressbar_pulse function in code , if pulse value is not true.

Test Plan:
1. run elementary_test
2. execution ExtProgressBar sample.
3. click 3rd button to start progressbar.

@fix

Reviewers: seoz, Hermet, woohyun, cedric

Subscribers: cedric

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

9 years agoentry: Make documentation less confusing.
Daniel Juyung Seo [Mon, 15 Dec 2014 11:58:17 +0000 (20:58 +0900)]
entry: Make documentation less confusing.

Entry can be used in different meanings. Use 'str' instead of 'entry' to
explicitly show the exact meaning of a parameter.

9 years agoMultibutton entry - handle parent object null case.
Sanjeev BA [Mon, 15 Dec 2014 08:47:05 +0000 (17:47 +0900)]
Multibutton entry - handle parent object null case.

Reviewers: seoz, Hermet

Subscribers: Hermet, seoz

Maniphest Tasks: T1379

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

9 years agoelm - layout - allow elm.txt or elm.text.* parts to signal...
Carsten Haitzler (Rasterman) [Mon, 15 Dec 2014 08:35:01 +0000 (17:35 +0900)]
elm - layout - allow elm.txt or elm.text.* parts to signal...

based on D1234 from Bora, but improved.

9 years agoList: Focus highlight when loop is enable
Anand [Mon, 15 Dec 2014 08:16:18 +0000 (17:16 +0900)]
List: Focus highlight when loop is enable

Summary:
Implemented focus highlight feature in list for vertical and horizontal looping
@feature

Test Plan: elementary_test->"List Focus" & "List Focus Horizontal"

Reviewers: singh.amitesh, nirajkr, seoz, eagleeye, raster

Subscribers: sachin.dev

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

Conflicts:
src/lib/elm_list.c

9 years agoDnD: fix callbacks call on many DnD operations.
Daniel Zaoui [Sun, 14 Dec 2014 13:36:04 +0000 (15:36 +0200)]
DnD: fix callbacks call on many DnD operations.

A leave callback is invoked on the drop target of the previous DnD
operation, leading to inconsistency for applications.
The state of the dropable target was not resetted during drop.
This patch fixes that.

9 years agotest_genlist: Remove unused value.
Daniel Juyung Seo [Sun, 14 Dec 2014 03:07:06 +0000 (12:07 +0900)]
test_genlist: Remove unused value.

This fixes coverity CID 1258428.

9 years agogenlist: Fix genlist crash issue when clearing genlist on item focus callback.
Daniel Juyung Seo [Sat, 13 Dec 2014 19:18:55 +0000 (04:18 +0900)]
genlist: Fix genlist crash issue when clearing genlist on item focus callback.

This fixes "genlist focus" test sample's crash issue.

@fix

9 years agotest_genlist: Refactor genlist focus test.
Daniel Juyung Seo [Sat, 13 Dec 2014 19:06:44 +0000 (04:06 +0900)]
test_genlist: Refactor genlist focus test.

- Add more sample items.
- Clear genlist on focus callback only for the specified item.
- Fix broken item index handling
- Remove unnecessary app data structure members.
- Free unused item class.

9 years agowin: set config engine on higher priority than DISPLAY env var
ChunEon Park [Fri, 12 Dec 2014 12:56:26 +0000 (21:56 +0900)]
win: set config engine on higher priority than DISPLAY env var

DISPLAY environment variable may set regardless of Elementary/EFL.
Mostly user has no way to switch their intent engine such as "buffer"

Guarantee work application engine with their intended engine first.

@fix

9 years agoREADME: Remove outdated version number
Stefan Schmidt [Thu, 11 Dec 2014 13:02:53 +0000 (14:02 +0100)]
README: Remove outdated version number

We have the version in configure.ac and NEWS where it gets updated for
releases. This occurrence gets forgotten to often on the other hand. Its
not needed here so we remove it.

9 years agoelm_win: make it possible to specify alpha window in the theme directly.
Cedric BAIL [Thu, 11 Dec 2014 05:43:53 +0000 (06:43 +0100)]
elm_win: make it possible to specify alpha window in the theme directly.

9 years agoelm_notify: added the notify's edje of popup smart member
woochan lee [Wed, 10 Dec 2014 15:00:21 +0000 (00:00 +0900)]
elm_notify: added the notify's edje of popup smart member

Summary:
Summary: after popup layout refactoring, the popup object cant get evas event.

when popup using notify object block layout object will be covered with edje object.
it breaks evas smart member relationship.

Test Plan:
Test Plan:
1. added popup object.
2. key down event callback add for popup object.
3. run the elementary_test.
4. input some key on popup and check whether the registered function is executed or not.

Reviewers: eunue, Hermet, seoz

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

9 years agoelm_widget_progressbar.c: added description of Progressbar data
woochan lee [Wed, 10 Dec 2014 14:46:18 +0000 (23:46 +0900)]
elm_widget_progressbar.c: added description of Progressbar data

Summary: added description.

Reviewers: Hermet, woohyun, seoz

Reviewed By: seoz

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

9 years agoexample/sphere_hunter: Clean up source code.
Daniel Juyung Seo [Wed, 10 Dec 2014 07:31:16 +0000 (16:31 +0900)]
example/sphere_hunter: Clean up source code.

- Remove shadow variable.
- Don't call elm_init() twice. It is called automatically when you use
ELM_MAIN() macro.
- Don't set weight/align to swallowed objects.
- Set weight first before adding the object to window's resize object.
- Show window after creating all of its content.

9 years agoconfig: improve doc.
ChunEon Park [Wed, 10 Dec 2014 06:39:12 +0000 (15:39 +0900)]
config: improve doc.

9 years agoelementary/config: improve doc.
ChunEon Park [Wed, 10 Dec 2014 06:05:55 +0000 (15:05 +0900)]
elementary/config: improve doc.

9 years ago.gitignore: ignore new example.
Cedric BAIL [Wed, 10 Dec 2014 05:06:50 +0000 (06:06 +0100)]
.gitignore: ignore new example.

9 years agoautotools: build Sphere Hunter with the rest of the examples.
Cedric BAIL [Wed, 10 Dec 2014 05:05:24 +0000 (06:05 +0100)]
autotools: build Sphere Hunter with the rest of the examples.

9 years agosphere_hunter: remove warning.
Cedric BAIL [Wed, 10 Dec 2014 05:05:08 +0000 (06:05 +0100)]
sphere_hunter: remove warning.

9 years agoautotools: fix indentation.
Cedric BAIL [Wed, 10 Dec 2014 02:57:02 +0000 (03:57 +0100)]
autotools: fix indentation.

9 years ago[Elementary/example]: Add new 3D game - Sphere Hunter.
se.osadchy [Wed, 10 Dec 2014 02:53:40 +0000 (03:53 +0100)]
[Elementary/example]: Add new 3D game - Sphere Hunter.

Summary: This example shows the just using elementary with evas 3D.

Reviewers: cedric, raster, Hermet

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