platform/upstream/elementary.git
12 years agoFrom: Rajeev Ranjan (Rajeev) <rajeev.r@samsung.com> <rajeev.jnnce@gmail.com>
Carsten Haitzler [Tue, 6 Dec 2011 09:03:01 +0000 (09:03 +0000)]
From: Rajeev Ranjan (Rajeev) <rajeev.r@samsung.com> <rajeev.jnnce@gmail.com>
Subject: Re: [E-devel] [Patch] elm_slideshow patch

From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>

On behalf of Rajeev Ranjan, I am submitting the elm_slideshow patch
which add support for getting notification when transition completes.
Change Log:
new signal “transition,end” has been introduced to get notification
when transition completes.

Detail Description:
The actual requirement is to get user notified when the last item is
visible in the slideshow. In this case, user wants to take some
action, say updating button text to Restart if the slideshow does not
have loop.
The current implementation of slideshow has a signal called “changed”
which has current visible item as event_info parameter in the
callback. User can compare it with the last appended item and come to
know that the last item is visible if even_info is equal to the data
passed which should be the last appended item. The only problem is
that this signal is emitted by C code  asynchronously to the
transition, hence if the transition involves an animation, user will
most likely get it even before the transition completes. This may look
bad to the user if the button label gets updated to Restart even
before the last transition gets over.
In order to fulfill the requirement, I have introduced another signal
“transition,end” which is emitted once the transition is over.
The same requirement could have been fulfilled by emitting “changed”
signal after the transition gets over but then this will be different
from the existing implementation for other widgets, hence I introduced
the new signal “transition,end”.

SVN revision: 65951

12 years agoelementary/fileselector
ChunEon Park [Tue, 6 Dec 2011 08:18:14 +0000 (08:18 +0000)]
elementary/fileselector

Hi,

On behalf of Rajeev Ranjan, I am submitting the elc_fileselector patch.

Change Log:
Fix for the memory leak in function elm_fileselector_selected_get. Memory allocated by ecore_file_dir_get() internally using strdup was not freed.
Introduced a char *dir variable to store the memory returned by ecore_file_dir_get() function and releasing the memory before returning to caller.

Please review it.
I'd appreciate any comments on this.

Thank you,
Prince

Signed-Off-By: Rajeev Ranjan (rajeev.r@samsung.com)
Signed-Off-By: Prince Kumar Dubey (prince.dubey@samsung.com)
Signed-Off-By: ChunEon Park (hermet@hermetpe.kr)
SVN revision: 65950

12 years agoelementary/elm_entry.c : When scrollable_set is called, scroller's
WooHyun Jung [Tue, 6 Dec 2011 02:19:43 +0000 (02:19 +0000)]
elementary/elm_entry.c : When scrollable_set is called, scroller's
policy should be decided with consideration of single line mode.

SVN revision: 65933

12 years agoelm genlist: Calculate expanded_depth in _item_new
Daniel Juyung Seo [Tue, 6 Dec 2011 01:37:53 +0000 (01:37 +0000)]
elm genlist: Calculate expanded_depth in _item_new

SVN revision: 65932

12 years agoelm genlist/gengrid: Added documentation. Fixed documentation. Fixed
Daniel Juyung Seo [Tue, 6 Dec 2011 01:23:55 +0000 (01:23 +0000)]
elm genlist/gengrid: Added documentation. Fixed documentation. Fixed
formatting.

SVN revision: 65931

12 years agoelm genlist/gengrid: Refactoring. Moved global function pointers to
Daniel Juyung Seo [Tue, 6 Dec 2011 01:19:12 +0000 (01:19 +0000)]
elm genlist/gengrid: Refactoring. Moved global function pointers to
widget data.

SVN revision: 65930

12 years agoelementary/elm_entry.c : Scroller should be created when it is needed.
WooHyun Jung [Tue, 6 Dec 2011 01:07:04 +0000 (01:07 +0000)]
elementary/elm_entry.c : Scroller should be created when it is needed.
i.e in scrollable_set function.

SVN revision: 65929

12 years agomissed some things with my tooltip api break
Mike Blumenkrantz [Mon, 5 Dec 2011 17:14:07 +0000 (17:14 +0000)]
missed some things with my tooltip api break

SVN revision: 65917

12 years agoelementary: fix reordering bug.
Cedric BAIL [Mon, 5 Dec 2011 16:43:29 +0000 (16:43 +0000)]
elementary: fix reordering bug.

NOTE: queue and item list should have the same order,
but that's not the case.

SVN revision: 65915

12 years ago<stefan_schmidt> discomfitor: successful commits are often just a compile away.
Mike Blumenkrantz [Mon, 5 Dec 2011 16:05:11 +0000 (16:05 +0000)]
<stefan_schmidt> discomfitor: successful commits are often just a compile away.

SVN revision: 65914

12 years agobetter use of sub-object-del
Mike Blumenkrantz [Mon, 5 Dec 2011 15:32:53 +0000 (15:32 +0000)]
better use of sub-object-del

SVN revision: 65911

12 years agouse sub-object-del signal for win stuff
Mike Blumenkrantz [Mon, 5 Dec 2011 15:27:32 +0000 (15:27 +0000)]
use sub-object-del signal for win stuff

SVN revision: 65910

12 years agoAPI BREAK
Mike Blumenkrantz [Mon, 5 Dec 2011 15:25:09 +0000 (15:25 +0000)]
API BREAK
elm_XXX_tooltip_size_restrict_disable() -> elm_XXX_tooltip_window_mode_set()
elm_XXX_tooltip_size_restrict_disabled_get() -> elm_XXX_tooltip_window_mode_get()

SVN revision: 65909

12 years agoelementary: forgotten fast path.
Cedric BAIL [Mon, 5 Dec 2011 10:49:46 +0000 (10:49 +0000)]
elementary: forgotten fast path.

SVN revision: 65899

12 years agoelementary/elm_entry : Delete a meaningless code. wd->ent will be set as
WooHyun Jung [Mon, 5 Dec 2011 09:01:54 +0000 (09:01 +0000)]
elementary/elm_entry : Delete a meaningless code. wd->ent will be set as
resize object for elm_entry.

SVN revision: 65893

12 years agoelementary/map
ChunEon Park [Mon, 5 Dec 2011 09:00:04 +0000 (09:00 +0000)]
elementary/map

Sorry, I have forgotten adding comments to my patch.
OSM recommends to requesting map images distributively.
Please refere http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames

I used 3 input parameters for selecting one from a, b, c or 1, 2, 3, 4
tile servers.
I attached patch with comments.

Signed-Off-By: TaeHwan Kim(ohpowel@gmail.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)
SVN revision: 65892

12 years agoFrom: Bluezery <ohpowel@gmail.com>
Bluezery [Mon, 5 Dec 2011 07:30:31 +0000 (07:30 +0000)]
From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][elm_map] Remove unnecessary flags

There are too may flags in elm_map. Most of them are duplicated and unnecessary.
I have removed "want", "download", "have" variables.

I use gi->job instead of "want" & "download".
I use ecore_file_exists() instead of "have" flags.

SVN revision: 65890

12 years agoelementary/naviframe - no need to allocate item pair when content is NULL
ChunEon Park [Mon, 5 Dec 2011 07:28:52 +0000 (07:28 +0000)]
elementary/naviframe - no need to allocate item pair when content is NULL

SVN revision: 65889

12 years agoelementary/map
ChunEon Park [Mon, 5 Dec 2011 05:04:24 +0000 (05:04 +0000)]
elementary/map

I have using elementary_test for testing elementary map widget.
But it use invalid object for signal callback. I have changed win --> map.
Also I have fixed invalid log message.

Signed-Off-By: TaeHwan Kim(ohpowel@gmail.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)
SVN revision: 65886

12 years agoFrom: Hyoyoung Chang <hyoyoung@gmail.com>
Hyoyoung Chang [Mon, 5 Dec 2011 04:32:37 +0000 (04:32 +0000)]
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] els_pan - bugfix gravity move
Date: Mon, 5 Dec 2011 13:29:48 +0900

Dear developers.

When gravity set on els_pan, user events are processing improperly.
Any touch event move pan to wrong position.
It's due to accumulate px, py.
So I fixed it.

Thanks

SVN revision: 65885

12 years agofix super annoying elm_win bug that went something like this:
Mike Blumenkrantz [Mon, 5 Dec 2011 04:26:32 +0000 (04:26 +0000)]
fix super annoying elm_win bug that went something like this:

win_resize_object_add(win, subobj);
object_content_set(otherobj, subobj);
object_del(win);

ERR<21326>:elm-externals elm_widget.c:978 elm_widget_sub_object_del() removing sub object 0xdeadbeef (some_stupid_widget) from parent 0xRRRRRRRR (win), but elm-parent is different 0xFUCKTHIS (NOT EVEN A WIDGET)!

SVN revision: 65884

12 years agoelementary/button - prevent the clicked event, when button is disabled or freezed...
ChunEon Park [Mon, 5 Dec 2011 04:03:12 +0000 (04:03 +0000)]
elementary/button - prevent the clicked event, when button is disabled or freezed events.

SVN revision: 65883

12 years agomake sub-object delete failure messages even more useful
Mike Blumenkrantz [Mon, 5 Dec 2011 03:27:32 +0000 (03:27 +0000)]
make sub-object delete failure messages even more useful

SVN revision: 65882

12 years agomake sub-object delete failure messages useful
Mike Blumenkrantz [Mon, 5 Dec 2011 03:26:19 +0000 (03:26 +0000)]
make sub-object delete failure messages useful

SVN revision: 65881

12 years agofix an infinite recursion bug and related crash in elm_box_recalculate
Mike Blumenkrantz [Mon, 5 Dec 2011 02:57:40 +0000 (02:57 +0000)]
fix an infinite recursion bug and related crash in elm_box_recalculate

SVN revision: 65880

12 years agomove safety check to actually do stuff here
Mike Blumenkrantz [Sun, 4 Dec 2011 22:02:02 +0000 (22:02 +0000)]
move safety check to actually do stuff here

SVN revision: 65872

12 years agoadd safety checks for elm_win_center
Mike Blumenkrantz [Sun, 4 Dec 2011 20:44:41 +0000 (20:44 +0000)]
add safety checks for elm_win_center

SVN revision: 65870

12 years agofront...front...front...BACK! BACK! NO WAIT FRONT! NO, BACK! ARRRRRRRRRRGHHHHHHHHHHHH...
Mike Blumenkrantz [Sun, 4 Dec 2011 07:35:33 +0000 (07:35 +0000)]
front...front...front...BACK! BACK! NO WAIT FRONT! NO, BACK! ARRRRRRRRRRGHHHHHHHHHHHHHHHHHHHH

finding this commit wasted an hour of my life.

SVN revision: 65867

12 years agoheader and docs for elm_win_center got lost in an earlier merge I guess
Mike Blumenkrantz [Sun, 4 Dec 2011 05:02:02 +0000 (05:02 +0000)]
header and docs for elm_win_center got lost in an earlier merge I guess

SVN revision: 65866

12 years agoMIN/MAX macros -> elm_priv.h
Mike Blumenkrantz [Sat, 3 Dec 2011 22:51:12 +0000 (22:51 +0000)]
MIN/MAX macros -> elm_priv.h
+elm_win_center
+elm_win_screen_constrain_get/set

SVN revision: 65859

12 years agocompletely disable selection and cnp in password entries
Mike Blumenkrantz [Sat, 3 Dec 2011 22:16:14 +0000 (22:16 +0000)]
completely disable selection and cnp in password entries

SVN revision: 65858

12 years agoelementary: forgotten file.
Cedric BAIL [Sat, 3 Dec 2011 17:03:20 +0000 (17:03 +0000)]
elementary: forgotten file.

SVN revision: 65849

12 years agoelementary: add elm_video/elm_player test.
Cedric BAIL [Sat, 3 Dec 2011 16:36:39 +0000 (16:36 +0000)]
elementary: add elm_video/elm_player test.

SVN revision: 65847

12 years agoevas_gl support back after evas 1.1 out.
Carsten Haitzler [Sat, 3 Dec 2011 14:21:58 +0000 (14:21 +0000)]
evas_gl support back after evas 1.1 out.

SVN revision: 65842

12 years agoelementary: make it possible to have more than one text in a slider.
Cedric BAIL [Fri, 2 Dec 2011 17:51:49 +0000 (17:51 +0000)]
elementary: make it possible to have more than one text in a slider.

SVN revision: 65827

12 years agoelementary: improve rendering stability by ordering queue like the displayed list.
Cedric BAIL [Fri, 2 Dec 2011 16:17:10 +0000 (16:17 +0000)]
elementary: improve rendering stability by ordering queue like the displayed list.

SVN revision: 65826

12 years agoelementary: prevent early death of items.
Cedric BAIL [Fri, 2 Dec 2011 16:00:41 +0000 (16:00 +0000)]
elementary: prevent early death of items.

SVN revision: 65824

12 years agoelm genlist: More documentation.
Daniel Juyung Seo [Fri, 2 Dec 2011 15:24:50 +0000 (15:24 +0000)]
elm genlist: More documentation.

SVN revision: 65820

12 years agoelm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and...
Daniel Juyung Seo [Fri, 2 Dec 2011 14:09:24 +0000 (14:09 +0000)]
elm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and elm_genlist will survive.

SVN revision: 65815

12 years agoelementary: do not do any call after smart callback (object could have been destroyed).
Cedric BAIL [Fri, 2 Dec 2011 14:08:24 +0000 (14:08 +0000)]
elementary: do not do any call after smart callback (object could have been destroyed).

SVN revision: 65814

12 years agoelementary: now elm_gen*_clear only destroy the item created before calling it.
Cedric BAIL [Fri, 2 Dec 2011 13:43:02 +0000 (13:43 +0000)]
elementary: now elm_gen*_clear only destroy the item created before calling it.

NOTE: As side fix, both genlist and gengrid now share their Widget_Data. Need
a lot more work to be clean and match our quality standard.

NOTE2: Genclear is now faster as it doesn't require to mark all item that need
to be removed, but just increase one int.

SVN revision: 65811

12 years agoelementary/naviframe
ChunEon Park [Fri, 2 Dec 2011 10:02:53 +0000 (10:02 +0000)]
elementary/naviframe

Added in to edje externals

Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)
Signed-Off-By: ChunEon Park(hermet@hermet.pe.kr)
SVN revision: 65808

12 years agoelementary/bubble - updated content part name
ChunEon Park [Fri, 2 Dec 2011 09:51:23 +0000 (09:51 +0000)]
elementary/bubble - updated content part name

SVN revision: 65807

12 years agoelm list: Removed deprecated signals.
Daniel Juyung Seo [Fri, 2 Dec 2011 01:54:28 +0000 (01:54 +0000)]
elm list: Removed deprecated signals.

SVN revision: 65794

12 years agoelm els_scroller.c: Initialize variables.
Daniel Juyung Seo [Fri, 2 Dec 2011 01:16:54 +0000 (01:16 +0000)]
elm els_scroller.c: Initialize variables.

SVN revision: 65789

12 years agoelm: Updated documentations.
Daniel Juyung Seo [Fri, 2 Dec 2011 00:11:06 +0000 (00:11 +0000)]
elm: Updated documentations.

SVN revision: 65788

12 years ago+elm_toolbar_item_icon_file_set()
Mike Blumenkrantz [Thu, 1 Dec 2011 19:14:48 +0000 (19:14 +0000)]
+elm_toolbar_item_icon_file_set()
at some point this whole item api should probably be replaced with generic object stuff

SVN revision: 65785

12 years agoelementary: fix massive breakage.
Cedric BAIL [Thu, 1 Dec 2011 16:53:57 +0000 (16:53 +0000)]
elementary: fix massive breakage.

Someone learned to well from me...

SVN revision: 65784

12 years agoelementary: use new Ethumb facility.
Cedric BAIL [Thu, 1 Dec 2011 15:37:56 +0000 (15:37 +0000)]
elementary: use new Ethumb facility.

SVN revision: 65782

12 years agoElm glayer: Fixed zoom with mouse wheel.
Aharon Hillel [Thu, 1 Dec 2011 13:20:34 +0000 (13:20 +0000)]
Elm glayer: Fixed zoom with mouse wheel.

Got broken with the patch applied by Hermet.

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
SVN revision: 65780

12 years agoelementary/naviframe - title_content_set refactored.
ShilpaOnkar Singh [Thu, 1 Dec 2011 11:41:47 +0000 (11:41 +0000)]
elementary/naviframe - title_content_set refactored.

1. Modified to support NULL content.
2. Unnecessary parameter  removed.
3. Number of lines Optimization.

Signed-Off-By: ShilpaOnkar Singh <shilpa.singh@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65777

12 years agoelementary: propagate drag,set signal to.
Cedric BAIL [Thu, 1 Dec 2011 11:00:55 +0000 (11:00 +0000)]
elementary: propagate drag,set signal to.

patch by Mikael Sans <sans.mikael@gmail.com>

SVN revision: 65776

12 years agofix a spelling mistake
Jiyoun Park [Thu, 1 Dec 2011 08:34:43 +0000 (08:34 +0000)]
fix a spelling mistake

SVN revision: 65761

12 years agoelementry/toolbar - fixed typo
ChunEon Park [Thu, 1 Dec 2011 08:26:17 +0000 (08:26 +0000)]
elementry/toolbar - fixed typo

SVN revision: 65759

12 years agoelm Elementary.h.in: Refine the documentation.
Daniel Juyung Seo [Thu, 1 Dec 2011 07:31:03 +0000 (07:31 +0000)]
elm Elementary.h.in: Refine the documentation.

SVN revision: 65755

12 years agoelm genlist/gengrid: Removed 'label_get' backport now not later.
Daniel Juyung Seo [Thu, 1 Dec 2011 07:29:30 +0000 (07:29 +0000)]
elm genlist/gengrid: Removed 'label_get' backport now not later.

SVN revision: 65754

12 years agoelm Elementary.h.in: Fix more documentation.
Daniel Juyung Seo [Thu, 1 Dec 2011 07:11:40 +0000 (07:11 +0000)]
elm Elementary.h.in: Fix more documentation.

SVN revision: 65753

12 years agofix some of sanjeev's api review commentry.
Carsten Haitzler [Thu, 1 Dec 2011 06:43:06 +0000 (06:43 +0000)]
fix some of sanjeev's api review commentry.

SVN revision: 65752

12 years agoelm gengrid/genlist: Changed 'label_get' to 'text_get' according to the
Daniel Juyung Seo [Thu, 1 Dec 2011 06:15:08 +0000 (06:15 +0000)]
elm gengrid/genlist: Changed 'label_get' to 'text_get' according to the
recent elementary api corrections.

I changed item class's 'label_get' to 'text_get'. But 'label_get' is still
supported by union structure. So 'label_get' will just give you
deprecated warnings while compiling but it's recommended to fix your
apps to 'text_get'. Sometimes when you initialize item class using
braces, you will get 'missing braces around initializer' but ignore
this. That warning will be gone after I remove 'label_get' backport. I
will remove this 'label_get' backport after I finish below
jobs.

[TODO]
1. Fix all apps in trunk.
2. Change edc "labels" to "texts" as well. I haven't done this yet.

SVN revision: 65751

12 years agoelm Elementary.h.in: Fixed documentation typo.
Daniel Juyung Seo [Thu, 1 Dec 2011 05:28:33 +0000 (05:28 +0000)]
elm Elementary.h.in: Fixed documentation typo.

SVN revision: 65744

12 years agoelm map: Moved zoom_min_get()/zoom_max_get() to source_init() to
Daniel Juyung Seo [Thu, 1 Dec 2011 03:54:52 +0000 (03:54 +0000)]
elm map: Moved zoom_min_get()/zoom_max_get() to source_init() to
simplify code. Patch by Bluezery <ohpowel@gmail.com>

SVN revision: 65730

12 years agoelm bin/test.c: No horizontal bouncing for elm_test menu.
Daniel Juyung Seo [Wed, 30 Nov 2011 17:48:22 +0000 (17:48 +0000)]
elm bin/test.c: No horizontal bouncing for elm_test menu.

SVN revision: 65726

12 years agoelm: Removed trailing whitespaces.
Daniel Juyung Seo [Wed, 30 Nov 2011 17:44:00 +0000 (17:44 +0000)]
elm: Removed trailing whitespaces.

SVN revision: 65725

12 years agoelm gen/gengrid/genlist: More clean ups.
Daniel Juyung Seo [Wed, 30 Nov 2011 17:42:26 +0000 (17:42 +0000)]
elm gen/gengrid/genlist: More clean ups.

SVN revision: 65724

12 years agoelm gen/gengrid/genlist: Moved more gen stuffs to genlist. Most of all gen stuffs...
Daniel Juyung Seo [Wed, 30 Nov 2011 17:31:01 +0000 (17:31 +0000)]
elm gen/gengrid/genlist: Moved more gen stuffs to genlist. Most of all gen stuffs were moved to genlist as of now. This is for elementary 1.0 release.

SVN revision: 65722

12 years agoelm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genli...
Daniel Juyung Seo [Wed, 30 Nov 2011 17:13:57 +0000 (17:13 +0000)]
elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist. (Season 2)

SVN revision: 65721

12 years agoelm/win: Improve the docs to make clear the behavior of resize objects.
Rafael Antognolli [Wed, 30 Nov 2011 17:12:34 +0000 (17:12 +0000)]
elm/win: Improve the docs to make clear the behavior of resize objects.

SVN revision: 65720

12 years agoelm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.
Daniel Juyung Seo [Wed, 30 Nov 2011 16:03:03 +0000 (16:03 +0000)]
elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.

SVN revision: 65718

12 years agoelm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.
Daniel Juyung Seo [Wed, 30 Nov 2011 14:40:22 +0000 (14:40 +0000)]
elm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.

SVN revision: 65717

12 years agoelm gen/gengrid/genlist: Applied gen deprecation and gengrid/genlist undeprecation.
Daniel Juyung Seo [Wed, 30 Nov 2011 14:19:29 +0000 (14:19 +0000)]
elm gen/gengrid/genlist: Applied gen deprecation and gengrid/genlist undeprecation.

SVN revision: 65716

12 years agoelementary: fix wrong calculation for gengrid group items
Michael BOUCHAUD [Wed, 30 Nov 2011 11:03:22 +0000 (11:03 +0000)]
elementary: fix wrong calculation for gengrid group items

SVN revision: 65714

12 years agoelm map: Fixed memory leaks in _nominatim_url_cb() function. Patch by
Daniel Juyung Seo [Wed, 30 Nov 2011 08:37:55 +0000 (08:37 +0000)]
elm map: Fixed memory leaks in _nominatim_url_cb() function. Patch by
Bluezery <ohpowel@gmail.com>

SVN revision: 65712

12 years agoelementary/toolbar - Elm_Toolbar_Item -> Elm_Object_Item
ChunEon Park [Wed, 30 Nov 2011 05:10:23 +0000 (05:10 +0000)]
elementary/toolbar - Elm_Toolbar_Item -> Elm_Object_Item

tweet: API Changes. This change may cause build break.

SVN revision: 65708

12 years agoelm map: Add error handling to see the definite error log because
Daniel Juyung Seo [Wed, 30 Nov 2011 05:00:56 +0000 (05:00 +0000)]
elm map: Add error handling to see the definite error log because
sometimes evas_object_image_file_set() is failed. Patch by Bluezery
<ohpowel@gmail.com>

SVN revision: 65707

12 years agoelm gen/gengrid/genlist: Undeprecate some gengrid/genlist APIs and
Daniel Juyung Seo [Wed, 30 Nov 2011 00:59:19 +0000 (00:59 +0000)]
elm gen/gengrid/genlist: Undeprecate some gengrid/genlist APIs and
deprecate all elm_gen APIs.

We will merge gengrid into genlist later and remove elm_gen.
I updated http://trac.enlightenment.org/e/wiki/ElementaryChanges
I will fix other libraries/programs in trunk soon.

SVN revision: 65700

12 years agoelementary/quicklaunch - [E-devel] [Patch] quicklaunch patch
RAJEEV RANJAN [Wed, 30 Nov 2011 00:16:36 +0000 (00:16 +0000)]
elementary/quicklaunch - [E-devel] [Patch] quicklaunch patch

a. Fix to handle the condition when read returns 0 and the content of buf is uninitialized in function handle_run inside file "src/bin/quicklaunch.c".
b. Indentation correction in function handle_run around the location of fix above.

Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsumg.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65699

12 years agoelementary/photocam - [E-devel] [Patch] elm_photocam patch
RAJEEV RANJAN [Wed, 30 Nov 2011 00:12:10 +0000 (00:12 +0000)]
elementary/photocam - [E-devel] [Patch] elm_photocam patch

a. Handled memory allocation failure in function grid_create inside source file src/lib/elm_photocam.c of package elementary.
b. Fixed Memory leak in functiongrid_create due to return without releasing memory allocated for variable g of type Grid *.

Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsung.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65698

12 years agoelementary/index - [E-devel] [Patch] elm_index patch
RAJEEV RANJAN [Wed, 30 Nov 2011 00:07:44 +0000 (00:07 +0000)]
elementary/index - [E-devel] [Patch] elm_index patch

Hi,

Attachment to the mail is elm_index patch.

Change Log:
a. Memory leak fix in function elm_index_item_append_relative due to memory allocated for item creation reamined allocated when the control returns.
b. Memory leak fix in function elm_index_item_prepend_relative due to memory allocated for item creation reamined allocated when the control returns.

Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsung.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65697

12 years agoelm genlist: Added elm_genlist_item_fields_update(). Patch by Hyoyoung
Daniel Juyung Seo [Tue, 29 Nov 2011 14:03:14 +0000 (14:03 +0000)]
elm genlist: Added elm_genlist_item_fields_update(). Patch by Hyoyoung
Chang <hyoyoung.chang@samsung.com>

2011/10/27 Hyoyoung Chang <hyoyoung.chang@samsung.com>:
> Dear developers
>
> I made a patch to add elm_genlist_item_fields_update function.
> It can be used to updating genlist's item part without
realize/unrealize
> itself.
>
> Prototype is
> elm_genlist_item_fields_update
> (Elm_Genlist_Item *it, const char *part,
Elm_Genlist_Item_Field_Flags itf)
>
> Part supports globbing. Passing "*" to part means updating all parts.
> Item field can be one of icon, content and state.
> I think it's useful to speed up if an app updates frequently.
>
> Thanks

SVN revision: 65688

12 years agoupdate po's
Carsten Haitzler [Tue, 29 Nov 2011 09:40:49 +0000 (09:40 +0000)]
update po's

SVN revision: 65687

12 years agoadd shot.sh to makefile.am
Carsten Haitzler [Tue, 29 Nov 2011 09:40:37 +0000 (09:40 +0000)]
add shot.sh to makefile.am

SVN revision: 65686

12 years agoelementary/glview - [E-devel] [Patch] elm_glview patch
RAJEEV RANJAN [Tue, 29 Nov 2011 09:26:59 +0000 (09:26 +0000)]
elementary/glview - [E-devel] [Patch] elm_glview patch

Fix to unreachable code in function elm_glview_resize_policy_set.

Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsung.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65684

12 years agoelementary: Fix a warning
Mike McCormack [Tue, 29 Nov 2011 09:24:41 +0000 (09:24 +0000)]
elementary: Fix a warning

elc_naviframe.c: In function ‘_title_content_unset’:
elc_naviframe.c:786:17: warning: ‘content’ may be used uninitialized in this function

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 65682

12 years agoelementary: Remove extra \n in printf
Mike McCormack [Tue, 29 Nov 2011 09:24:31 +0000 (09:24 +0000)]
elementary: Remove extra \n in printf

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 65681

12 years agoelementary/gesture_layer - [E-devel] [Patch] elm_gesture_layer patc
Rajeev Ranjan [Tue, 29 Nov 2011 09:20:31 +0000 (09:20 +0000)]
elementary/gesture_layer - [E-devel] [Patch] elm_gesture_layer patc

Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_gesture_layer patch.

Change Log:
a. Variable was used after freeing in function _remove_touched_device, now storing return value of eina_list_remove and then freeing pointer.
b. gesture pointer was dereferenced before checking it against NULL in function _rotate_test. Now dereferencing happens after NULL check.
c. Added NULL check for pointer before using it in function _event_process which is dereferenced in function _add_touched_device.
d. Memory leak fix in function elm_gesture_layer_add. Now using ELM_WIDGET_STANDARD_SETUP which takes care of NULL checks and freeing memory in case of failure.

Please review it.
I'd appreciate any comments on this.

Thank you,

Signed-Off-By: Rajeev Ranjan <rajeev.r@samsung.com>
Signed-Off-By: Prince Kumar Dubey <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65680

12 years agoelm genlist: Changed int to Eina_Bool in case it uses 1 or 0.
Daniel Juyung Seo [Tue, 29 Nov 2011 08:54:19 +0000 (08:54 +0000)]
elm genlist: Changed int to Eina_Bool in case it uses 1 or 0.

SVN revision: 65679

12 years agoelementary/button - removed an unnecessary line.
ChunEon Park [Tue, 29 Nov 2011 07:44:06 +0000 (07:44 +0000)]
elementary/button - removed an unnecessary line.

reported by discomfitor who has eagle eyes.

SVN revision: 65678

12 years agoelementary/button - Setting the text after button is disabled then the text does...
ChunEon Park [Tue, 29 Nov 2011 04:56:08 +0000 (04:56 +0000)]
elementary/button - Setting the text after button is disabled then the text does not showed up with disabled status.

fixed it.

SVN revision: 65668

12 years agoelementary/cnp_helper - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
ChunEon Park [Tue, 29 Nov 2011 00:52:09 +0000 (00:52 +0000)]
elementary/cnp_helper - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>

Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_cnp_helper patch.

Change Log:
Removal of DEAD_CODE (Unreachable code statement tmppath = "/tmp").

Please review it.
I'd appreciate any comments on this.

Thank you,

SVN revision: 65666

12 years agoelementary/flip - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
ChunEon Park [Tue, 29 Nov 2011 00:09:56 +0000 (00:09 +0000)]
elementary/flip - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>

Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_flip patch.

Change Log:
a. Removed unnecessary comparison and assignment from the function _state_update inside file src/bin/test_flip_page.c. The comparison test will always be failed. Hence the assignment which was unreachable is removed.
b. Removed unnecessary comparison and assignment from the function _state_update inside file src/lib/elm_flip.c. The comparison test will always be failed. Hence the assignment which was unreachable is removed.

Please review it.
I'd appreciate any comments on this.

Thank you,

SVN revision: 65664

12 years agoelementary/genlist - patched by PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
ChunEon Park [Tue, 29 Nov 2011 00:06:55 +0000 (00:06 +0000)]
elementary/genlist - patched by PRINCE KUMAR DUBEY<prince.dubey@samsung.com>

Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_genlist patch.

Change Log:
a. Dead code removal in function _sizing_eval
b. Memory leak fix in function elm_genlist_item_insert_before due to return when wd->items is NULL and in this case, memory allocated for item was not getting free.
c. Memory leak fix in function elm_genlist_item_insert_after due to return when wd->items is NULL and in this case, memory allocated for item was not getting free.

Please review it.
I'd appreciate any comments on this.

Thank you,

SVN revision: 65662

12 years agoethumb: cleanup API.
Cedric BAIL [Mon, 28 Nov 2011 23:24:32 +0000 (23:24 +0000)]
ethumb: cleanup API.

SVN revision: 65660

12 years agoelementary: fix typos.
Cedric BAIL [Mon, 28 Nov 2011 10:21:55 +0000 (10:21 +0000)]
elementary: fix typos.

SVN revision: 65643

12 years agoelementary/naviframe - implement unset hook
ChunEon Park [Mon, 28 Nov 2011 08:28:34 +0000 (08:28 +0000)]
elementary/naviframe - implement unset hook

SVN revision: 65638

12 years agoelementary/naviframe - do resize when size of sub objects is changed.
ChunEon Park [Mon, 28 Nov 2011 07:21:44 +0000 (07:21 +0000)]
elementary/naviframe - do resize when size of sub objects is changed.

SVN revision: 65636

12 years agoelm els_icon.c: There is some bug in _els_smart_icon_orient_set function.
Jiyoun Park [Mon, 28 Nov 2011 04:42:34 +0000 (04:42 +0000)]
elm els_icon.c: There is some bug in _els_smart_icon_orient_set function.
it didn't work if orient were ELM_IMAGE_ROTATE_90_CW or CCW.
and it also make seg fault if application calls elm_image_orient_set more than twice.
for 90 or 270 rotation, we need seperate memory.
(It can be algorithm without more memory, but I selected readability than memory efficiency)

Before, els icon use file name for data2.
So it make problem, if file name was removed because of obj's data_set or size_set function.
I modified els icon code using copy data function.

SVN revision: 65634

12 years agofix parsing <br /> tags in markup_to_utf8
Mike Blumenkrantz [Mon, 28 Nov 2011 03:09:24 +0000 (03:09 +0000)]
fix parsing <br /> tags in markup_to_utf8

SVN revision: 65630

12 years agoFix documentation.
Sanjeev BA [Mon, 28 Nov 2011 01:55:40 +0000 (01:55 +0000)]
Fix  documentation.

Signed-off-by: Sanjeev BA <as2902.b@samsung.com>
SVN revision: 65625

12 years agoelementary/toolbar, table, box - removed *homongenous* APIs
ChunEon Park [Sat, 26 Nov 2011 04:55:03 +0000 (04:55 +0000)]
elementary/toolbar, table, box - removed *homongenous* APIs

SVN revision: 65603

12 years agoadd size hints change resize callback
Mike Blumenkrantz [Fri, 25 Nov 2011 21:40:00 +0000 (21:40 +0000)]
add size hints change resize callback

SVN revision: 65600