platform/upstream/elementary.git
9 years agoelm_transit: Add elm_transit_go_in() API
Jee-Yong Um [Mon, 16 Feb 2015 23:34:46 +0000 (08:34 +0900)]
elm_transit: Add elm_transit_go_in() API

Summary:
elm_transit_go() is executed immediately after it is called.
elm_transit_go_in() starts transit in given seconds.

@feature

Reviewers: Hermet, seoz

Reviewed By: seoz

Subscribers: seoz, Hermet

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

9 years agomultibuttonentry: Item selected callback called twice redundantly.
woochan lee [Sat, 14 Feb 2015 13:56:05 +0000 (22:56 +0900)]
multibuttonentry: Item selected callback called twice redundantly.

Summary:
_current_item_change() called at _item_select() internally.
it means _current_item_changed() called two times in vain.
so that's why item select callback called two times.
@fix

Test Plan:
1. Run elementary_test
2. Excute multibuttonentry sample.
3. Added some items and click the item area.
4. Select signal called two times.

Reviewers: Hermet, woohyun, JackDanielZ, seoz

Reviewed By: seoz

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

9 years agopanes: improve doc.
Hermet [Sat, 14 Feb 2015 04:29:20 +0000 (13:29 +0900)]
panes: improve doc.

9 years agoelementary: Remove unused variable
Chris Michael [Fri, 13 Feb 2015 14:44:05 +0000 (09:44 -0500)]
elementary: Remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoels_tooltip: compiler portability (use full ternary operator)
Daniel Kolesa [Fri, 13 Feb 2015 14:22:28 +0000 (14:22 +0000)]
els_tooltip: compiler portability (use full ternary operator)

9 years agopopup: removed button style setting code in theme_apply
Jaeun Choi [Fri, 13 Feb 2015 12:28:05 +0000 (21:28 +0900)]
popup: removed button style setting code in theme_apply

popup buttons are created by users
it's inappropriate to set button style in widget code

@fix

9 years agoelm_photo: sanitise file path
kabeer khan [Fri, 13 Feb 2015 07:26:04 +0000 (16:26 +0900)]
elm_photo: sanitise file path

Summary:
Resolved FIXME deal with relative path by sanitising file path

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

Reviewed By: cedric, seoz, devilhorns

Subscribers: cedric

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

9 years agoelm scroller - add adnimated and accelerated wheel scroll
Carsten Haitzler (Rasterman) [Fri, 13 Feb 2015 04:14:07 +0000 (13:14 +0900)]
elm scroller - add adnimated and accelerated wheel scroll

now when a whele event comes in, 1. the amount we scroll accelerates
based on time between wheel events (the faster wheel events come out,
the more accel), and 2. we animate to the new position providing a
smooth transition to the new spot rather than a jump. very visually
nice.

@feature

9 years agogenlist: Fix elm_genlist_item_index_get.
Daniel Juyung Seo [Thu, 12 Feb 2015 13:01:59 +0000 (22:01 +0900)]
genlist: Fix elm_genlist_item_index_get.

The first item's index is 1 not 0.

@fix

9 years agogengrid: select the focused item on enter key input
Jaeun Choi [Thu, 12 Feb 2015 10:15:57 +0000 (19:15 +0900)]
gengrid: select the focused item on enter key input

there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix

9 years agogenlist: select the focused item on enter key input
Jaeun Choi [Thu, 12 Feb 2015 08:31:00 +0000 (17:31 +0900)]
genlist: select the focused item on enter key input

there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix

9 years agoelm_toolbar: remove code duplication
Jee-Yong Um [Wed, 11 Feb 2015 07:49:24 +0000 (16:49 +0900)]
elm_toolbar: remove code duplication

Summary:
elm_coords_finger_size_adjust() is called twice.
It might not be intended.

Reviewers: Hermet, Jaehyun, seoz

Reviewed By: seoz

Subscribers: raster, seoz, Hermet

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

9 years agoupdate po
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 03:30:18 +0000 (12:30 +0900)]
update po

9 years agocomp theme now allows for modification of focus rect
Mike Blumenkrantz [Tue, 10 Feb 2015 23:09:43 +0000 (18:09 -0500)]
comp theme now allows for modification of focus rect

9 years agoRevert "gengrid: call "selected" callback on entey key input"
Jaeun Choi [Tue, 10 Feb 2015 11:58:39 +0000 (20:58 +0900)]
Revert "gengrid: call "selected" callback on entey key input"

This reverts commit 0debdcf1ca166da1c083765bdb1542183fe96427.

9 years agogengrid: call "selected" callback on entey key input
Jaeun Choi [Tue, 10 Feb 2015 11:29:47 +0000 (20:29 +0900)]
gengrid: call "selected" callback on entey key input

9 years agoelm engine - restore explicit use of ELM_ENGNE env var
Carsten Haitzler (Rasterman) [Tue, 10 Feb 2015 10:48:21 +0000 (19:48 +0900)]
elm engine - restore explicit use of ELM_ENGNE env var

this fixes a deprecation of elm engine done just before 1.13 release
that ends up breaking "make doc" and also will make ELM_ENGINE env var
stop working (the latter was intentional). but since this is relied on
for things like make doc - keep the env var and haveit set preferred
engine and let people migrate away from using the engine var EXCEPT
for things like the shot engine

@fix

9 years agodatetime: Clean up datetime module codes.
Daniel Juyung Seo [Tue, 10 Feb 2015 08:15:45 +0000 (17:15 +0900)]
datetime: Clean up datetime module codes.

9 years agopopup: passing right parameter to elm_layout_sizing_eval
Jaeun Choi [Tue, 10 Feb 2015 07:01:23 +0000 (16:01 +0900)]
popup: passing right parameter to elm_layout_sizing_eval

pass popup object instead of main_layout to elm_layout_sizing_eval()
so that _elm_popup_elm_layout_sizing_eval is called

@fix

9 years agomultibuttonentry: refactoring(makes button object Elm_Item_Object instead of edje...
woochan lee [Tue, 10 Feb 2015 05:22:43 +0000 (14:22 +0900)]
multibuttonentry: refactoring(makes button object Elm_Item_Object instead of edje object)

Summary:
There was no consistency with another widget which has item object, basically widgets has Elm_Object_Item object for own's item object.
but multibuttonentry used edje object for item object before.

Test Plan:
1. Run elementary test.
2. Execute multibuttonentry.
3. Doing variety action on multibuttonentry widget.(add, delete, key event, focus etc...)

Reviewers: seoz, woohyun, Jaehyun, Hermet, JackDanielZ

Subscribers: herdsman, cedric

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

9 years agopanel: Remove error message from elm_panel_add API and _theme_apply func.
Youngbok Shin [Tue, 10 Feb 2015 04:41:13 +0000 (13:41 +0900)]
panel: Remove error message from elm_panel_add API and _theme_apply func.

Summary:
elm_layout_content_set API calls _elm_panel_elm_container_content_set func.
The panel widget checks the given "parts" string is whether "elm.swallow.event" or not.
To avoid error message and set the given object to the "elm.swallow.event" internally,
the panel widget need to call *_content_set for "elm.swallow.event" part using eo_do_super.
@fix

Test Plan: elementary_test -> panel

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

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

9 years agoconfigure: Switch to dev mode again. Merge window for 1.14 is open now.
Stefan Schmidt [Mon, 9 Feb 2015 13:09:20 +0000 (14:09 +0100)]
configure: Switch to dev mode again. Merge window for 1.14 is open now.

9 years agorelease: Update NEWS and bump version for 1.13.0 release v1.13.0
Stefan Schmidt [Mon, 9 Feb 2015 12:39:59 +0000 (13:39 +0100)]
release: Update NEWS and bump version for 1.13.0 release

9 years agoelm_config: Avoid access of deleted item data.
Stefan Schmidt [Mon, 9 Feb 2015 11:36:01 +0000 (12:36 +0100)]
elm_config: Avoid access of deleted item data.

This belongs to the fixes raster just did here. It was the only one I was able
to trigger after his fixes.

Last one in a row that fixes T2072.

9 years agoelm - list - fix invalid item data scope get
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 11:25:44 +0000 (20:25 +0900)]
elm - list - fix invalid item data scope get

@fix

9 years agoelm config - font selector - avoid accessing invalid data on deld items
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 11:21:54 +0000 (20:21 +0900)]
elm config - font selector - avoid accessing invalid data on deld items

@fix

9 years agoelm list - fix access of deleted items in list when recursing
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 09:20:45 +0000 (18:20 +0900)]
elm list - fix access of deleted items in list when recursing

@fix

9 years agowidgets: Apply default return value according to description in .eo or add descriptio...
Youngbok Shin [Mon, 9 Feb 2015 04:09:05 +0000 (13:09 +0900)]
widgets: Apply default return value according to description in .eo or add description too.

Summary:
1) According to description in .eo file,
some APIs return not 0 when the given object is NULL or not proper object.
But, several APIs are not implemented as those description.
Now, they will return a value as description.
2) If there is no description about the return value when the API fail,
put description according to pair API or old version of elementary.
@fix

Reviewers: woohyun, Hermet, seoz

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

9 years agoelm_widget: added evas smart callback descriptions
kabeer khan [Mon, 9 Feb 2015 01:40:29 +0000 (10:40 +0900)]
elm_widget: added evas smart callback descriptions

Summary:
Resolved FIXME filled all smart callbacks and also set it in the constructor

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

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

9 years agotest_genlist: Clean up reorder test case.
Daniel Juyung Seo [Mon, 9 Feb 2015 01:34:06 +0000 (10:34 +0900)]
test_genlist: Clean up reorder test case.

9 years agoUpdate russian translation
Igor Murzov [Sat, 7 Feb 2015 12:17:53 +0000 (15:17 +0300)]
Update russian translation

9 years agoelm - fix engine config mismatch with new perferred accel vs old engine
Carsten Haitzler (Rasterman) [Sat, 7 Feb 2015 03:54:11 +0000 (12:54 +0900)]
elm - fix engine config mismatch with new perferred accel vs old engine

the elm config tool only lets you set accel preference. if you set
none, then the old engine config takes charge, but there is no way to
change/set this, so deprecate the old engine set and don't use it.
this accel preference has been around for a while, so use it now
instead.

9 years agoelm_slider: modified each slider have its indicator visible mode.
Sung-Taek Hong [Fri, 6 Feb 2015 12:58:32 +0000 (21:58 +0900)]
elm_slider: modified each slider have its indicator visible mode.

Summary: Added indicator_visible_mode to each slider in order not to make elm_config controlls every sliders.

Reviewers: Hermet, woohyun, seoz

Subscribers: seoz

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

9 years agodoc: Fix typos in documentations.
Daniel Juyung Seo [Fri, 6 Feb 2015 06:15:44 +0000 (15:15 +0900)]
doc: Fix typos in documentations.

9 years agowin_example: Fix win example codes.
Daniel Juyung Seo [Fri, 6 Feb 2015 06:11:32 +0000 (15:11 +0900)]
win_example: Fix win example codes.

- return value in ecore event handler callback.
- remove unnecessary variable.

9 years agowin: fix an issue that profile is erased and set to NULL.
Youngbok Shin [Fri, 6 Feb 2015 06:06:49 +0000 (15:06 +0900)]
win: fix an issue that profile is erased and set to NULL.

Summary:
When ecore_evas_window_profile_supported_get API return EINA_FALSE,
elm_win widget should not get profile from ecore_evas_window_profile_get API.
@fix

Reviewers: woohyun, Hermet, seoz

Reviewed By: seoz

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

9 years agofix win center trap for elm to pass in h and v params
Carsten Haitzler (Rasterman) [Fri, 6 Feb 2015 02:32:55 +0000 (11:32 +0900)]
fix win center trap for elm to pass in h and v params

while this is technically an abi break, it should actually have no
real impact. it will have warnings - sure, but running existing code
will simply not see the extra parammeters on the stack and not use
them so it'll continue to work. if we removed paramms, we'd be in
pain. (same applies to params passed in registers).

this fixes T2031

9 years agoelm - win - dont use deprecated func - use new one.
Carsten Haitzler (Rasterman) [Thu, 5 Feb 2015 11:44:49 +0000 (20:44 +0900)]
elm - win - dont use deprecated func - use new one.

cleanup to match efl 1.13 changes

9 years agoelm_label: Fixed label disappearing after theme changed
Jee-Yong Um [Thu, 5 Feb 2015 11:41:16 +0000 (20:41 +0900)]
elm_label: Fixed label disappearing after theme changed

Summary:
There is a bug that text disappears when theme is changed after label shown.
This patch fixed it.

@fix

Reviewers: woohyun, Hermet, Jaehyun, seoz

Subscribers: Jaehyun, seoz

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

9 years ago[tooltip] use proper object to set tooltip layer
Shinwoo Kim [Thu, 5 Feb 2015 11:02:24 +0000 (20:02 +0900)]
[tooltip] use proper object to set tooltip layer

Summary:
tooltip could be hide by the other object which have lower layer than target object of tooltip.
the layer of content could be changed, when is set to the tooltip as a content.

@fix

Test Plan: check added test lines

Reviewers: cedric, jpeg, seoz, raster

Reviewed By: raster

Subscribers: singh.amitesh, stefan_schmidt, seoz

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

9 years agoelm_label: Fixed to prevent slide's autostart before calling elm_label_slide_go()
Jee-Yong Um [Wed, 4 Feb 2015 10:26:06 +0000 (19:26 +0900)]
elm_label: Fixed to prevent slide's autostart before calling elm_label_slide_go()

Summary:
Label should not start sliding before elm_label_slide_go() is called.
However, label starts sliding automatically,
because resize callback emits slide start signal.
This patch prevents label from sliding before calling elm_label_slide_go().

@fix

Reviewers: woohyun, Hermet, seoz

Subscribers: CHAN, woohyun

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

9 years agodatetime_module: Fix build warning.
Jaehwan Kim [Wed, 4 Feb 2015 10:19:45 +0000 (19:19 +0900)]
datetime_module: Fix build warning.

Include the elm_widget.h

9 years agoupdate po
Carsten Haitzler (Rasterman) [Wed, 4 Feb 2015 10:04:53 +0000 (19:04 +0900)]
update po

9 years agodatetime module: include elm_widget_datetime.h instead of elm_priv.h
Jaehwan Kim [Wed, 4 Feb 2015 09:52:14 +0000 (18:52 +0900)]
datetime module: include elm_widget_datetime.h instead of elm_priv.h

The external module can't include elm_priv.h.
So Elm_Datetime_Module_Data moves in elm_widget_datetime.h

9 years agoNEWS: Pedantic change of capital letter in NEWS fi.e
Daniel Juyung Seo [Wed, 4 Feb 2015 01:27:24 +0000 (10:27 +0900)]
NEWS: Pedantic change of capital letter in NEWS fi.e

9 years agotest_label: Cleanup label wrap test.
Daniel Juyung Seo [Wed, 4 Feb 2015 01:16:57 +0000 (10:16 +0900)]
test_label: Cleanup label wrap test.

- remove unnecessary box.
- use ELM_SCALE_SIZE macro for a better scalability.

9 years agoGengrid : Fix memory leak in elm_gengrid_realized_items_update
VBS [Tue, 3 Feb 2015 23:30:06 +0000 (08:30 +0900)]
Gengrid : Fix memory leak in elm_gengrid_realized_items_update

Summary:
Eina_List from elm_gengrid_realized_items_get must be freed by caller,
         but elm_gengrid_realized_items_update doesn't free Eina_List.
         So memory leak is happens.
@fix

Test Plan: Call elm_gengrid_realized_items_update repeatly and check memory share increase.

Reviewers: raster, seoz

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

9 years agoUpdating serbian translation
maxerba [Tue, 3 Feb 2015 20:07:45 +0000 (21:07 +0100)]
Updating serbian translation

9 years agorelease: Update NEWS and bump version for 1.13.0-beta3 release v1.13.0-beta3
Stefan Schmidt [Tue, 3 Feb 2015 09:22:43 +0000 (10:22 +0100)]
release: Update NEWS and bump version for 1.13.0-beta3 release

9 years agoelm_image: fix elm_image_memfile_set API fail when elm_image widget is not visible.
Youngbok Shin [Tue, 3 Feb 2015 09:17:47 +0000 (10:17 +0100)]
elm_image: fix elm_image_memfile_set API fail when elm_image widget is not visible.

Summary:
It could success only when the widget was visible.
The API must return EINA_TRUE if buffer and size has no problem, not visiblity of widget.
@fix

Reviewers: Hermet, woohyun, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agolist/genlist/gengrid/toolbar: set focus/unfocus on item when focus is actually set...
Amitesh Singh [Tue, 3 Feb 2015 06:47:32 +0000 (15:47 +0900)]
list/genlist/gengrid/toolbar: set focus/unfocus on item when focus is actually set on widget.

Summary: @Fix

Reviewers: raster, Hermet, seoz

Reviewed By: seoz

Subscribers: seoz

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

9 years agomultibuttonentry: Delete duplicate running code.
woochan lee [Tue, 3 Feb 2015 02:38:21 +0000 (11:38 +0900)]
multibuttonentry: Delete duplicate running code.

Summary:
When layout clicked, "elm_widget_on_focus()" called with "entry_focus_in()" callback.
The "view update" and "focus set to entry" already call in those callbacks, so i deleted duplicate code and it also make focus issue when user click the entry to add item.
@fix

Test Plan:
Run elementary_test.

1. excute multibuttonentry.
2. click the entry area.
3. see the elm_widget_on_focus called twice.
   (layout callback function called view update -> elm_box_unpack called in view update ->
    entry lose focus -> on_focus_callback call again)

Reviewers: Hermet, seoz, Jaehyun_Cho, JackDanielZ

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

9 years agowin: Add default return value at elm_win_type_get API according to API description.
Youngbok Shin [Fri, 30 Jan 2015 02:04:24 +0000 (11:04 +0900)]
win: Add default return value at elm_win_type_get API according to API description.

Summary: The API must return ELM_WIN_UNKNOWN (-1) when the given object is improper.

Test Plan: None.

Reviewers: woohyun, JackDanielZ, seoz

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

9 years agotest_label: Use meaningful test name for label test.
Daniel Juyung Seo [Fri, 30 Jan 2015 00:10:43 +0000 (09:10 +0900)]
test_label: Use meaningful test name for label test.

9 years agoElm_Entry: Removed empty line and added error message
kabeer khan [Thu, 29 Jan 2015 23:02:21 +0000 (08:02 +0900)]
Elm_Entry: Removed empty line and added error message

Summary:
Resolved FIXME in utf8_markup_save by adding error messages
for fopen and fputs command

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

Reviewed By: seoz

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

9 years agoNEWS: Clean up news file before release.
Daniel Juyung Seo [Thu, 29 Jan 2015 22:35:16 +0000 (07:35 +0900)]
NEWS: Clean up news file before release.

9 years agotest_panes: Remove unnecessary align/weight set for panes contents.
Daniel Juyung Seo [Thu, 29 Jan 2015 06:28:08 +0000 (15:28 +0900)]
test_panes: Remove unnecessary align/weight set for panes contents.

9 years agoedje_externals/elm_video: Fix bug where we override the rememberred position
Stefan Schmidt [Wed, 28 Jan 2015 12:49:00 +0000 (13:49 +0100)]
edje_externals/elm_video: Fix bug where we override the rememberred position

This bug was there from the initial commit of elm_video. Classical
copy&andpaste bug.

CID: 1267207

9 years agopanes: Fix elm_panes_fixed_set.
Daniel Juyung Seo [Tue, 27 Jan 2015 04:11:05 +0000 (13:11 +0900)]
panes: Fix elm_panes_fixed_set.

@fix

9 years agoNEWS: Manually fix up a news entry
Stefan Schmidt [Mon, 26 Jan 2015 14:02:55 +0000 (15:02 +0100)]
NEWS: Manually fix up a news entry

9 years agorelease: Update NEWS and bump version for 1.13.0-beta2 release v1.13.0-beta2
Stefan Schmidt [Mon, 26 Jan 2015 12:09:54 +0000 (13:09 +0100)]
release: Update NEWS and bump version for 1.13.0-beta2 release

9 years agoIcon: choose the fdo icon size using the evas obj geometry
Dave Andreoli [Sun, 25 Jan 2015 17:31:59 +0000 (18:31 +0100)]
Icon: choose the fdo icon size using the evas obj geometry

Use the min between w and h of the evas object to
request the size in the icon theme. Fdo icon are always
square (1:1) so min seems correct.

Also improved the test to include a test that do
not relay on the size_hint_min of the icon.

Now in all the test I have done always the correct
fdo icon are used.

9 years agoRevert "Icon: use size_hint_min instead of image_size to know the wanted size"
Dave Andreoli [Sun, 25 Jan 2015 15:48:21 +0000 (16:48 +0100)]
Revert "Icon: use size_hint_min instead of image_size to know the wanted size"

This reverts commit 75176a789981bd6b1ef0bfcc95793c896b5bde07.

Was not the correct solution, as min_size can be smaller than
the real wanted size. Need to find another solution.

Thanks TAsn to spot this

9 years agoIcon: use size_hint_min instead of image_size to know the wanted size
Dave Andreoli [Sun, 25 Jan 2015 14:48:41 +0000 (15:48 +0100)]
Icon: use size_hint_min instead of image_size to know the wanted size

This @fix fdo icons to load the correct image for the requested size.

Whitout this the small images (16x16) was never used, because once a big
(64x64 for example) image was loaded, that size was used as min.

See the Icon Standard test for a better explanation

9 years agoIcon: no more reimplement sizing_eval
Dave Andreoli [Sun, 25 Jan 2015 14:39:43 +0000 (15:39 +0100)]
Icon: no more reimplement sizing_eval

The code there was trying to reload the icon to have an
image that should match the requested size, this was totally
wrong, the calculation was always resulting in an image bigger
than the needed.

It was also useless as this logic is yet handled in the resize
callback.

9 years agoImprove Standard Icon test
Dave Andreoli [Sun, 25 Jan 2015 14:16:51 +0000 (15:16 +0100)]
Improve Standard Icon test

You can now select the size of the icons in the list and
also added a single icon that you can resize.

The size of the icons is important as icon themes usually
provide different images for different sizes.

This test now spot out some errors in elm_icon wrt icon
sizing, will fix soon

9 years agoAdd correct fdo name for the last added search icon
Dave Andreoli [Fri, 23 Jan 2015 20:44:15 +0000 (21:44 +0100)]
Add correct fdo name for the last added search icon

9 years agoelm_image: Add missing semi-colon to terminate line.
Stefan Schmidt [Fri, 23 Jan 2015 11:45:33 +0000 (12:45 +0100)]
elm_image: Add missing semi-colon to terminate line.

No compiler warning for this because the macro was terminated with it.
It still looks wrong without it and does no harm.

9 years agoelm_image: Fix memory leak in GETDAT macro.
Stefan Schmidt [Fri, 23 Jan 2015 11:43:49 +0000 (12:43 +0100)]
elm_image: Fix memory leak in GETDAT macro.

Free data2 on error path.

CID: 1265609, 1265610, 1265611, 1265612

9 years agotest_disable: Extend button array to fix memory corruption
Stefan Schmidt [Fri, 23 Jan 2015 11:32:42 +0000 (12:32 +0100)]
test_disable: Extend button array to fix memory corruption

We are accessing btn[3] in the code so we should make sure the array it big
enough for it.

CID: 1265613

9 years agotransit: Fix read from pointer after free.
Daniel Juyung Seo [Fri, 23 Jan 2015 05:32:35 +0000 (14:32 +0900)]
transit: Fix read from pointer after free.

This fixes coverity CID 1265738.

9 years agotest_win_state: Add elm_win_center() sample.
Daniel Juyung Seo [Fri, 23 Jan 2015 05:29:15 +0000 (14:29 +0900)]
test_win_state: Add elm_win_center() sample.

9 years agowin centering: unbork!
Mike Blumenkrantz [Fri, 23 Jan 2015 03:35:28 +0000 (22:35 -0500)]
win centering: unbork!

not centering on an axis does not mean that it needs to be moved to the screen origin.

also clamp to screen x,y, not 0,0

9 years agotransit: fix crash issue.
ChunEon Park [Thu, 22 Jan 2015 08:44:09 +0000 (17:44 +0900)]
transit: fix crash issue.

This fixes the side effect that introduced from 1e06309be42fd2b5d0900b16da0178215c111681

Since transit has supported adding a map effect on the previous map status,
transit tried to access object-state map pointer.

but theses map pointer won't be valid if the transit keeps the last state
because it doesn't back up any object-state data.

9 years agotest_gengrid: Dynamically allocate item data.
Daniel Juyung Seo [Fri, 16 Jan 2015 05:45:42 +0000 (14:45 +0900)]
test_gengrid: Dynamically allocate item data.

Do not waste unnecessary memory.

9 years agotest_colorselector: Clean up a little bit.
Daniel Juyung Seo [Fri, 16 Jan 2015 05:33:06 +0000 (14:33 +0900)]
test_colorselector: Clean up a little bit.

- Remove unnecessary data set.
- Use ELM_SCALE_SIZE on min set for a better scalability.

Yes this colorselector test needs a looooot of love.

9 years agocolorselector: Remove unnecessary pointer redirection.
Daniel Juyung Seo [Fri, 16 Jan 2015 05:13:30 +0000 (14:13 +0900)]
colorselector: Remove unnecessary pointer redirection.

Elm_Colorselector_Data pointer is already there.

9 years agotest_icon: Clean up icon standard sample.
Daniel Juyung Seo [Thu, 15 Jan 2015 20:00:11 +0000 (05:00 +0900)]
test_icon: Clean up icon standard sample.

- Do not set unnecessary min size for the icons. Just follow list's item
size naturally.
- Do not free unnecessary list which was already freed by
EINA_LIST_FREE.
- Do not set align for the window resize object which is not required to
be set.
- Follow conventional way of pointer declaration.

9 years agoimage now implements edje object size functions
Mike Blumenkrantz [Wed, 21 Jan 2015 20:15:43 +0000 (15:15 -0500)]
image now implements edje object size functions

      Edje.Object.size_min.get;
      Edje.Object.size_max.get;
      Edje.Object.size_min_calc;
      Edje.Object.calc_force;

fixes all image-in-edje sizing issues/errors

9 years agoimage animation functions now work as expected for edje images
Mike Blumenkrantz [Wed, 21 Jan 2015 20:14:20 +0000 (15:14 -0500)]
image animation functions now work as expected for edje images

9 years agowin_example now exits fullscreen on any key press...always
Mike Blumenkrantz [Tue, 20 Jan 2015 18:03:52 +0000 (13:03 -0500)]
win_example now exits fullscreen on any key press...always

fix T516

9 years agoElm_Entry: set handler style according to current widget style
Jaeun Choi [Tue, 20 Jan 2015 01:32:06 +0000 (10:32 +0900)]
Elm_Entry: set handler style according to current widget style

Previously, entry set handlers' style as default when they are created
and changed style on theme_apply function. But in usual scenario, users create
entry and set style before handlers are created, so when they are created
the style is set as default regardless of the style users already set.
This patch fixes it.

@fix

9 years agorelease: Update NEWS and bump version for 1.13.0-beta1 release v1.13.0-beta1
Stefan Schmidt [Mon, 19 Jan 2015 14:12:06 +0000 (15:12 +0100)]
release: Update NEWS and bump version for 1.13.0-beta1 release

9 years agoRevert "genlist: added reorder feature on key events"
Stefan Schmidt [Mon, 19 Jan 2015 11:56:50 +0000 (12:56 +0100)]
Revert "genlist: added reorder feature on key events"

This reverts commit f99be3a1d6bdc63153598b592b5437c33da44bf0.

The API is not ready to be released. Please see the thread on the e-devel
mailing list under this subject. This can get another try in the 1.14
release cycle.

Conflicts:
src/lib/elm_genlist.c

9 years agogenlist: fix incorrect grammar.
ChunEon Park [Mon, 19 Jan 2015 08:29:20 +0000 (17:29 +0900)]
genlist: fix incorrect grammar.

No allow attaching double definite articles.

Thanks vincent for reporting.

9 years agoelm_transit: Fix crash issue caused by multiple transit effects.
Jaehyun Cho [Mon, 19 Jan 2015 06:35:17 +0000 (15:35 +0900)]
elm_transit: Fix crash issue caused by multiple transit effects.

Summary:
Fix crach issue caused by multiple transit effects on a single object.
         This patch prevents deleting obj_data while the obj_data is still used by other transit objects.
         This fix is related to commits "Support zoom keeping current map effect."(60214e6a172e42303fdfc69ef3d1996b25132242)
         and "Support rotation keeping current map effect."(1e06309be42fd2b5d0900b16da0178215c111681).
         @fix

Reviewers: Hermet

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

9 years agogenlist: fix genlist multi-selected problem.
ChunEon Park [Mon, 19 Jan 2015 06:26:21 +0000 (15:26 +0900)]
genlist: fix genlist multi-selected problem.

user request was ignored if they calls the genlist_item_selected_set(true)
to another item in an item selected callback. because genlist made
the selected item highlighted after user "selected" callback.

The behavior had been changed on my genlist refactoring,
so the behavior was actually just restored.

This issue resolves T2020

9 years agoelm_transit: Fix to support zoom rate zero.
Jaehyun Cho [Mon, 19 Jan 2015 06:30:26 +0000 (15:30 +0900)]
elm_transit: Fix to support zoom rate zero.

Summary:
Fix to support zoom rate zero by using evas_map_util_zoom() instead of evas_map_util_3d_perspective().
@fix

Reviewers: Hermet

Reviewed By: Hermet

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

9 years agowidget: elm_win can be unfocused only when its ecore_evas loses focus.
WooHyun Jung [Sat, 17 Jan 2015 07:29:46 +0000 (16:29 +0900)]
widget: elm_win can be unfocused only when its ecore_evas loses focus.

9 years agoconfigure: Fix typo in coverage option help text
Stefan Schmidt [Fri, 16 Jan 2015 20:16:04 +0000 (21:16 +0100)]
configure: Fix typo in coverage option help text

9 years agotests: add coverage support.
Cedric BAIL [Fri, 16 Jan 2015 15:39:37 +0000 (16:39 +0100)]
tests: add coverage support.

And our current score is 19% functions coverage for Elementary.

9 years agotests: actually run the main loop properly to be able to enter in idle state.
Cedric BAIL [Fri, 16 Jan 2015 13:29:23 +0000 (14:29 +0100)]
tests: actually run the main loop properly to be able to enter in idle state.

Note that the iterate function will never trigger the idler that are registered
in Ecore. That's by definition. I changed the code to actually use the full
main loop and trigger the change detection on idle enterer. That should be enough
for Elementary as all idler should logically affect the visual aspect of something
at some point and exit idle.

Thanks marcel-hollerbach@t-online.de for helping me debug this issue.

9 years agoUpdating italian translation
maxerba [Fri, 16 Jan 2015 11:34:13 +0000 (12:34 +0100)]
Updating italian translation

9 years agogenlist: code clean up
ChunEon Park [Thu, 15 Jan 2015 14:01:00 +0000 (23:01 +0900)]
genlist: code clean up

highlight item with one entry.

9 years agogenlist: don't access item after removing it.
ChunEon Park [Thu, 15 Jan 2015 13:36:57 +0000 (22:36 +0900)]
genlist: don't access item after removing it.

9 years agogenlist: guard the item deletion problem.
ChunEon Park [Thu, 15 Jan 2015 13:36:28 +0000 (22:36 +0900)]
genlist: guard the item deletion problem.

this exceptional code prevents the deletion of the item
in the middle of the callback.

9 years agogenlist: fix the access of the invalid items.
ChunEon Park [Thu, 15 Jan 2015 07:12:37 +0000 (16:12 +0900)]
genlist: fix the access of the invalid items.

still, there were case item or genlist is cleared in the user callback.
don't access the cleared items if they are requested deletion.

9 years agogenlist needs to also highlight items on keyboard select
Mike Blumenkrantz [Wed, 14 Jan 2015 20:19:48 +0000 (15:19 -0500)]
genlist needs to also highlight items on keyboard select

this should probably just happen in _item_select() to avoid future incidents

ref T1986

9 years agoRevert "genlist: fix a crash when deleting a item in selected callback."
Mike Blumenkrantz [Wed, 14 Jan 2015 19:41:50 +0000 (14:41 -0500)]
Revert "genlist: fix a crash when deleting a item in selected callback."

This reverts commit c80b24baf815e35c160bf0dbe8ecae6ea247aef8.

this broke the selection callback completely and makes every genlist app unusable.

please, please, please, please, I'm seriously begging you hermet, do ANY amount of testing before making further genlist commits.

9 years agogenlist: fix a crash when deleting a item in selected callback.
ChunEon Park [Wed, 14 Jan 2015 14:30:43 +0000 (23:30 +0900)]
genlist: fix a crash when deleting a item in selected callback.

if user deletes the item in the callback,
current function(_item_select) would be corrupted.
just leave the callback call in the last of the function.