Commit Graph

4315 Commits

Author SHA1 Message Date
ChunEon Park 7c6576a186 elementary/elm_slideshow - updated document.
SVN revision: 66050
2011-12-09 04:19:28 +00:00
Tom Hacohen 822bde1f45 Elm entry: Use the new evas_textblock_markup_to_plain when pasting.
This sloves many issues with pasting format.

SVN revision: 66036
2011-12-08 15:13:19 +00:00
Tom Hacohen f38430a2d8 Elm: Update the lib to use the new self-closing textblock tags.
SVN revision: 66035
2011-12-08 15:13:14 +00:00
ChunEon Park abab649687 elemenatry/toolbar -
removed BASE macro to disable the item.
but use the elm_widget_item_disabled_get instead. 




SVN revision: 66033
2011-12-08 13:53:38 +00:00
Tom Hacohen c45ce564dc Elm test: Update tests to use the new self-closing textblock tags.
SVN revision: 66026
2011-12-08 12:39:18 +00:00
ChunEon Park fdc7cd86a4 elementary/slideshow - Elm_Slideshow_Item -> Elm_Object_Item
WARNING. This may cause build breaks. 



SVN revision: 66021
2011-12-08 11:01:01 +00:00
ChunEon Park 7dc62ae5c3 elementary/naviframe - trivial change. recommended by ShilpaOnkar Singh
SVN revision: 66020
2011-12-08 10:37:41 +00:00
Tom Hacohen 291f7087e6 Elm toolbar: Fix brokeness introduced by commit 65708.
Disabled is a property of Elm_Object_Item and was a property of
Elm_Toolbar_Item as well. The aforementioned commit didn't remove the
property from the latter and then used both properties in an
inconsistent manner which caused data not to be up to date.

SVN revision: 65989
2011-12-07 12:56:34 +00:00
Tom Hacohen 33cb46d033 Elm entry: Fixed entry min size calculations.
I dunno how, why and by who it got broken, but it should be working now.
If you have any issues, let me know.

SVN revision: 65960
2011-12-06 15:52:11 +00:00
Tom Hacohen 8168430115 Revert "elementary/elm_entry : When singlelined & scrolled, entry's min width"
This reverts commit 64721.

This commit causes other issues, and it also slows entry down.

SVN revision: 65959
2011-12-06 15:52:05 +00:00
Michael BOUCHAUD 17cdac8d95 elementary: add ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN a new policy for zoom in elm_photocam
SVN revision: 65958
2011-12-06 15:11:59 +00:00
Michael BOUCHAUD 65106b50ac elementary: API break ! using Elm_Index_Item instead of the item's data in the index widget. This was applied for function and smart callbacks
SVN revision: 65956
2011-12-06 14:05:55 +00:00
ChunEon Park 3dae010810 elementary/naviframe - fixed logic error.
happened after shilpa's refactoring patch.

it caused the elm_naviframe_item_style_set does not work properly.

more case-by-case checking added.



SVN revision: 65953
2011-12-06 10:53:20 +00:00
Carsten Haitzler 4ca8671927 if u are going to add assert()'s - include assert.h!
SVN revision: 65952
2011-12-06 09:39:38 +00:00
Carsten Haitzler 6541ee34b2 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
2011-12-06 09:03:01 +00:00
ChunEon Park 17baa1f76b 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
2011-12-06 08:18:14 +00:00
WooHyun Jung eb8d16dfb4 elementary/elm_entry.c : When scrollable_set is called, scroller's
policy should be decided with consideration of single line mode.


SVN revision: 65933
2011-12-06 02:19:43 +00:00
Daniel Juyung Seo 8c626b33ee elm genlist: Calculate expanded_depth in _item_new
SVN revision: 65932
2011-12-06 01:37:53 +00:00
Daniel Juyung Seo 8d0301505a elm genlist/gengrid: Added documentation. Fixed documentation. Fixed
formatting.

SVN revision: 65931
2011-12-06 01:23:55 +00:00
Daniel Juyung Seo 95f6ebae61 elm genlist/gengrid: Refactoring. Moved global function pointers to
widget data.

SVN revision: 65930
2011-12-06 01:19:12 +00:00
WooHyun Jung a524b3eb04 elementary/elm_entry.c : Scroller should be created when it is needed.
i.e in scrollable_set function.


SVN revision: 65929
2011-12-06 01:07:04 +00:00
Mike Blumenkrantz 608d52ba61 missed some things with my tooltip api break
SVN revision: 65917
2011-12-05 17:14:07 +00:00
Cedric BAIL 8832e77e58 elementary: fix reordering bug.
NOTE: queue and item list should have the same order,
but that's not the case.



SVN revision: 65915
2011-12-05 16:43:29 +00:00
Mike Blumenkrantz 5b3283d6b5 <stefan_schmidt> discomfitor: successful commits are often just a compile away.
SVN revision: 65914
2011-12-05 16:05:11 +00:00
Mike Blumenkrantz 6a4c087750 better use of sub-object-del
SVN revision: 65911
2011-12-05 15:32:53 +00:00
Mike Blumenkrantz ba25d2754d use sub-object-del signal for win stuff
SVN revision: 65910
2011-12-05 15:27:32 +00:00
Mike Blumenkrantz 890a378db7 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
2011-12-05 15:25:09 +00:00
Cedric BAIL cdec869772 elementary: forgotten fast path.
SVN revision: 65899
2011-12-05 10:49:46 +00:00
WooHyun Jung 83fa8cf4aa elementary/elm_entry : Delete a meaningless code. wd->ent will be set as
resize object for elm_entry.


SVN revision: 65893
2011-12-05 09:01:54 +00:00
ChunEon Park 2a3bb21c44 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
2011-12-05 09:00:04 +00:00
Bluezery 944ecff8f1 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
2011-12-05 07:30:31 +00:00
ChunEon Park 51609f5f5f elementary/naviframe - no need to allocate item pair when content is NULL
SVN revision: 65889
2011-12-05 07:28:52 +00:00
ChunEon Park 25d9ba0731 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
2011-12-05 05:04:24 +00:00
Hyoyoung Chang 201f622feb 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
2011-12-05 04:32:37 +00:00
Mike Blumenkrantz c74f2f3db5 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
2011-12-05 04:26:32 +00:00
ChunEon Park 7c915bb141 elementary/button - prevent the clicked event, when button is disabled or freezed events.
SVN revision: 65883
2011-12-05 04:03:12 +00:00
Mike Blumenkrantz ed23ba2a83 make sub-object delete failure messages even more useful
SVN revision: 65882
2011-12-05 03:27:32 +00:00
Mike Blumenkrantz 6d343a75c5 make sub-object delete failure messages useful
SVN revision: 65881
2011-12-05 03:26:19 +00:00
Mike Blumenkrantz 6353f0fcec fix an infinite recursion bug and related crash in elm_box_recalculate
SVN revision: 65880
2011-12-05 02:57:40 +00:00
Mike Blumenkrantz 88a2ddbe71 move safety check to actually do stuff here
SVN revision: 65872
2011-12-04 22:02:02 +00:00
Mike Blumenkrantz 60b7773ac6 add safety checks for elm_win_center
SVN revision: 65870
2011-12-04 20:44:41 +00:00
Mike Blumenkrantz 7db72819ed front...front...front...BACK! BACK! NO WAIT FRONT! NO, BACK! ARRRRRRRRRRGHHHHHHHHHHHHHHHHHHHH
finding this commit wasted an hour of my life.


SVN revision: 65867
2011-12-04 07:35:33 +00:00
Mike Blumenkrantz 762c57d0d9 header and docs for elm_win_center got lost in an earlier merge I guess
SVN revision: 65866
2011-12-04 05:02:02 +00:00
Mike Blumenkrantz d3b755cbe6 MIN/MAX macros -> elm_priv.h
+elm_win_center
+elm_win_screen_constrain_get/set


SVN revision: 65859
2011-12-03 22:51:12 +00:00
Mike Blumenkrantz a1f1635499 completely disable selection and cnp in password entries
SVN revision: 65858
2011-12-03 22:16:14 +00:00
Cedric BAIL 10287f3551 elementary: forgotten file.
SVN revision: 65849
2011-12-03 17:03:20 +00:00
Cedric BAIL 4e33fe455c elementary: add elm_video/elm_player test.
SVN revision: 65847
2011-12-03 16:36:39 +00:00
Carsten Haitzler 5a26396eda evas_gl support back after evas 1.1 out.
SVN revision: 65842
2011-12-03 14:21:58 +00:00
Cedric BAIL 4fee080155 elementary: make it possible to have more than one text in a slider.
SVN revision: 65827
2011-12-02 17:51:49 +00:00
Cedric BAIL 36f42652ca elementary: improve rendering stability by ordering queue like the displayed list.
SVN revision: 65826
2011-12-02 16:17:10 +00:00
Cedric BAIL 3270f81a6d elementary: prevent early death of items.
SVN revision: 65824
2011-12-02 16:00:41 +00:00
Daniel Juyung Seo 2c748e3fc6 elm genlist: More documentation.
SVN revision: 65820
2011-12-02 15:24:50 +00:00
Daniel Juyung Seo d22eb91185 elm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and elm_genlist will survive.
SVN revision: 65815
2011-12-02 14:09:24 +00:00
Cedric BAIL 62838a114e elementary: do not do any call after smart callback (object could have been destroyed).
SVN revision: 65814
2011-12-02 14:08:24 +00:00
Cedric BAIL 926e801b59 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
2011-12-02 13:43:02 +00:00
ChunEon Park 2d90565a85 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
2011-12-02 10:02:53 +00:00
ChunEon Park 0442af83fc elementary/bubble - updated content part name
SVN revision: 65807
2011-12-02 09:51:23 +00:00
Daniel Juyung Seo 75481b9870 elm list: Removed deprecated signals.
SVN revision: 65794
2011-12-02 01:54:28 +00:00
Daniel Juyung Seo 497ffe3218 elm els_scroller.c: Initialize variables.
SVN revision: 65789
2011-12-02 01:16:54 +00:00
Daniel Juyung Seo 049f9ce7ac elm: Updated documentations.
SVN revision: 65788
2011-12-02 00:11:06 +00:00
Mike Blumenkrantz db2a4ec3ec +elm_toolbar_item_icon_file_set()
at some point this whole item api should probably be replaced with generic object stuff


SVN revision: 65785
2011-12-01 19:14:48 +00:00
Cedric BAIL fbe34af38f elementary: fix massive breakage.
Someone learned to well from me...


SVN revision: 65784
2011-12-01 16:53:57 +00:00
Cedric BAIL 13c14120f2 elementary: use new Ethumb facility.
SVN revision: 65782
2011-12-01 15:37:56 +00:00
Aharon Hillel e9f0867326 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
2011-12-01 13:20:34 +00:00
ShilpaOnkar Singh 2917a8bab2 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
2011-12-01 11:41:47 +00:00
Cedric BAIL da302ac7c7 elementary: propagate drag,set signal to.
patch by Mikael Sans <sans.mikael@gmail.com>


SVN revision: 65776
2011-12-01 11:00:55 +00:00
Jiyoun Park 7742f2bdd3 fix a spelling mistake
SVN revision: 65761
2011-12-01 08:34:43 +00:00
ChunEon Park 2ccd676067 elementry/toolbar - fixed typo
SVN revision: 65759
2011-12-01 08:26:17 +00:00
Daniel Juyung Seo 618f268973 elm Elementary.h.in: Refine the documentation.
SVN revision: 65755
2011-12-01 07:31:03 +00:00
Daniel Juyung Seo db0bd60ce6 elm genlist/gengrid: Removed 'label_get' backport now not later.
SVN revision: 65754
2011-12-01 07:29:30 +00:00
Daniel Juyung Seo 964dda89df elm Elementary.h.in: Fix more documentation.
SVN revision: 65753
2011-12-01 07:11:40 +00:00
Carsten Haitzler 2bdda6fe40 fix some of sanjeev's api review commentry.
SVN revision: 65752
2011-12-01 06:43:06 +00:00
Daniel Juyung Seo 9266096bdf 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
2011-12-01 06:15:08 +00:00
Daniel Juyung Seo 434ad96199 elm Elementary.h.in: Fixed documentation typo.
SVN revision: 65744
2011-12-01 05:28:33 +00:00
Daniel Juyung Seo 7a50ddb3d5 elm map: Moved zoom_min_get()/zoom_max_get() to source_init() to
simplify code. Patch by Bluezery <ohpowel@gmail.com>


SVN revision: 65730
2011-12-01 03:54:52 +00:00
Daniel Juyung Seo 7307440546 elm bin/test.c: No horizontal bouncing for elm_test menu.
SVN revision: 65726
2011-11-30 17:48:22 +00:00
Daniel Juyung Seo f391a7d6bc elm: Removed trailing whitespaces.
SVN revision: 65725
2011-11-30 17:44:00 +00:00
Daniel Juyung Seo 3fd427b0d3 elm gen/gengrid/genlist: More clean ups.
SVN revision: 65724
2011-11-30 17:42:26 +00:00
Daniel Juyung Seo 35fc57e252 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
2011-11-30 17:31:01 +00:00
Daniel Juyung Seo 0cabbec4e1 elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist. (Season 2)
SVN revision: 65721
2011-11-30 17:13:57 +00:00
Rafael Antognolli ce30de426c elm/win: Improve the docs to make clear the behavior of resize objects.
SVN revision: 65720
2011-11-30 17:12:34 +00:00
Daniel Juyung Seo 462f1dc43d elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.
SVN revision: 65718
2011-11-30 16:03:03 +00:00
Daniel Juyung Seo d397598ab1 elm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.
SVN revision: 65717
2011-11-30 14:40:22 +00:00
Daniel Juyung Seo c6b3a7b863 elm gen/gengrid/genlist: Applied gen deprecation and gengrid/genlist undeprecation.
SVN revision: 65716
2011-11-30 14:19:29 +00:00
Michael BOUCHAUD 76285554aa elementary: fix wrong calculation for gengrid group items
SVN revision: 65714
2011-11-30 11:03:22 +00:00
Daniel Juyung Seo 0bb9c1e212 elm map: Fixed memory leaks in _nominatim_url_cb() function. Patch by
Bluezery <ohpowel@gmail.com>


SVN revision: 65712
2011-11-30 08:37:55 +00:00
ChunEon Park befb09c131 elementary/toolbar - Elm_Toolbar_Item -> Elm_Object_Item
tweet: API Changes. This change may cause build break.



SVN revision: 65708
2011-11-30 05:10:23 +00:00
Daniel Juyung Seo 7cd22aa075 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
2011-11-30 05:00:56 +00:00
Daniel Juyung Seo 6f1dd8c84d 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
2011-11-30 00:59:19 +00:00
RAJEEV RANJAN 192938a19a 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
2011-11-30 00:16:36 +00:00
RAJEEV RANJAN 3983da5dbf 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
2011-11-30 00:12:10 +00:00
RAJEEV RANJAN ba55a1b120 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
2011-11-30 00:07:44 +00:00
Daniel Juyung Seo 8b017483ea 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
2011-11-29 14:03:14 +00:00
Carsten Haitzler 4fc906898c update po's
SVN revision: 65687
2011-11-29 09:40:49 +00:00
Carsten Haitzler f74c3d0d3c add shot.sh to makefile.am
SVN revision: 65686
2011-11-29 09:40:37 +00:00
RAJEEV RANJAN 4ed6d0abed 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
2011-11-29 09:26:59 +00:00
Mike McCormack e736f755f3 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
2011-11-29 09:24:41 +00:00
Mike McCormack 6ac6d1e6f0 elementary: Remove extra \n in printf
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65681
2011-11-29 09:24:31 +00:00
Rajeev Ranjan 10e1220af7 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
2011-11-29 09:20:31 +00:00
Daniel Juyung Seo c66f21a87a elm genlist: Changed int to Eina_Bool in case it uses 1 or 0.
SVN revision: 65679
2011-11-29 08:54:19 +00:00
ChunEon Park f7fcfcc09e elementary/button - removed an unnecessary line.
reported by discomfitor who has eagle eyes.



SVN revision: 65678
2011-11-29 07:44:06 +00:00
ChunEon Park 8f58ad1dc7 elementary/button - Setting the text after button is disabled then the text does not showed up with disabled status.
fixed it.



SVN revision: 65668
2011-11-29 04:56:08 +00:00
ChunEon Park 27c999d5ae 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
2011-11-29 00:52:09 +00:00
ChunEon Park d1fac92dc8 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
2011-11-29 00:09:56 +00:00
ChunEon Park 43c470e6b9 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
2011-11-29 00:06:55 +00:00
Cedric BAIL f7e4327955 ethumb: cleanup API.
SVN revision: 65660
2011-11-28 23:24:32 +00:00
Cedric BAIL 6f093511f2 elementary: fix typos.
SVN revision: 65643
2011-11-28 10:21:55 +00:00
ChunEon Park 7cfc36bb00 elementary/naviframe - implement unset hook
SVN revision: 65638
2011-11-28 08:28:34 +00:00
ChunEon Park 923b9c7d8d elementary/naviframe - do resize when size of sub objects is changed.
SVN revision: 65636
2011-11-28 07:21:44 +00:00
Jiyoun Park 89738a7fd6 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
2011-11-28 04:42:34 +00:00
Mike Blumenkrantz b4ca9b3eee fix parsing <br /> tags in markup_to_utf8
SVN revision: 65630
2011-11-28 03:09:24 +00:00
Sanjeev BA 8d7966e5f4 Fix documentation.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 65625
2011-11-28 01:55:40 +00:00
ChunEon Park be86dc2831 elementary/toolbar, table, box - removed *homongenous* APIs
SVN revision: 65603
2011-11-26 04:55:03 +00:00
Mike Blumenkrantz 4bbc58f084 add size hints change resize callback
SVN revision: 65600
2011-11-25 21:40:00 +00:00
Mike Blumenkrantz d37f2891dd add promote/demote functions for genlist
SVN revision: 65599
2011-11-25 20:27:27 +00:00
Daniel Juyung Seo 92349c7b82 elm toolbar: Applied the API change - elm_menu_item_disabled_set to elm_object_item_disabled_set.
SVN revision: 65598
2011-11-25 15:30:57 +00:00
ChunEon Park d263480f83 elementary/menu - applied elm_object_item common APIs.
@deprecated 
elm_menu_item_label_set
elm_menu_item_label_get
elm_menu_item_object_content_set
elm_menu_item_object_content_get
elm_menu_item_disabled_set
elm_menu_item_disabled_get
elm_menu_item_data_set
elm_menu_item_data_get




SVN revision: 65597
2011-11-25 11:52:35 +00:00
ChunEon Park 468985fa84 elementary/menu - Elm_Menu_Item -> Elm_Object_Item
SVN revision: 65596
2011-11-25 10:57:39 +00:00
Sanjeev BA 058c062a8d Documentation fixes.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 65585
2011-11-24 15:15:48 +00:00
Sanjeev BA 09465adfeb Documentation fixes.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 65584
2011-11-24 15:15:45 +00:00
Sanjeev BA 2b9ef7eceb Fix typo.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 65583
2011-11-24 15:15:41 +00:00
Sanjeev BA f61effb7a7 Fix a few typos.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 65577
2011-11-24 15:15:23 +00:00
ChunEon Park fd6f69ca53 elementary/naviframe - patched by shilapaonkar singh (shilpa.singh@samsung.com)
Hi Mr. Park,

Change description:  [ commit message ]
Bug: Hide signal sent twice in case of prev button, next button and icon swallow areas. 
Fix: Hide signal sent only once in delete callback.

Thanks & Regards
Shilpa Singh




SVN revision: 65570
2011-11-24 11:26:41 +00:00
Carsten Haitzler 15468ff4d1 it's time we dont auto-scale finger size with scale .. set finger size
to what u need/want.



SVN revision: 65569
2011-11-24 10:31:42 +00:00
Mike McCormack a41de1da8f elementary: Tweak multibuttonentry docs
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65568
2011-11-24 08:35:14 +00:00
Mike McCormack 4d5d076d72 elementary: Remove duplicated entry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65567
2011-11-24 08:35:05 +00:00
Mike McCormack 1c6b05543b elementary: Declare multibuttonentry in list of edje externals
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65566
2011-11-24 08:34:56 +00:00
Mike McCormack 969eef895a elementary: Tweak multibuttonentry spacing
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65565
2011-11-24 08:34:47 +00:00
Mike McCormack 25708dfb05 elementary: Avoid fixed length static buffers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65564
2011-11-24 08:34:37 +00:00
Mike McCormack 8b310f0c48 elementary: Fix style issues in multibuttonentry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65563
2011-11-24 08:34:26 +00:00
Mike Blumenkrantz 45e5c083c3 make insanely huge icon scale with screen size, this is broken somehow because of some icon sizing bug
SVN revision: 65562
2011-11-24 05:07:23 +00:00
Mike Blumenkrantz 0a7bec205b even better tooltip placement, more debug messages, some developer comments, don't show tooltip if it's going to be a failure offscreen tooltip (FOT) (tm)
SVN revision: 65561
2011-11-24 04:52:16 +00:00
Mike Blumenkrantz 5121192fac further improve tooltip placement, add debug messages so I don't have to keep writing them in when I want to tinker with this
SVN revision: 65559
2011-11-24 04:16:03 +00:00
Mike McCormack 7616608594 elementary: Update translations
SVN revision: 65558
2011-11-24 04:02:27 +00:00
Mike McCormack fdc12cedf6 elementary: Add edje support for multibuttonentry
Original code by Hyunsil Park <hyunsil.park@samsung.com>

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

SVN revision: 65557
2011-11-24 04:02:18 +00:00
Mike McCormack 0a6442fc26 elementary: Formatting tweaks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65556
2011-11-24 04:02:09 +00:00
Mike McCormack f7f32ff7c0 elementary: Formatting fixes for multibuttonentry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65555
2011-11-24 04:01:56 +00:00
Mike Blumenkrantz 0958bb17a7 only run one test
SVN revision: 65554
2011-11-24 03:22:32 +00:00
Mike Blumenkrantz 54efa8cf9a unbreak tooltip placement
SVN revision: 65553
2011-11-24 02:42:46 +00:00
Mike McCormack b3e0c80cfa elementary: Fix warnings in multibuttonentry
CC     libelementary_la-elc_multibuttonentry.lo
elc_multibuttonentry.c: In function ‘_set_vis_guidetext’:
elc_multibuttonentry.c:309:20: warning: unused variable ‘en_width’
elc_multibuttonentry.c: In function ‘_resize_button’:
elc_multibuttonentry.c:741:16: warning: unused variable ‘button_text’
elc_multibuttonentry.c: In function ‘_add_button_item’:
elc_multibuttonentry.c:772:40: warning: unused variable ‘h_btn’
elc_multibuttonentry.c: In function ‘_entry_resized_cb’:
elc_multibuttonentry.c:1064:86: warning: unused parameter ‘event_info’
elc_multibuttonentry.c: In function ‘elm_multibuttonentry_item_select’:
elc_multibuttonentry.c:1531:12: warning: suggest explicit braces to avoid ambiguous ‘else’
elc_multibuttonentry.c: In function ‘_resize_button’:
elc_multibuttonentry.c:747:37: warning: ‘padding_inner’ is used uninitialized in this function
^Cmake: *** [libelementary_la-elc_multibuttonentry.lo] Error 1

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

SVN revision: 65550
2011-11-24 01:06:45 +00:00
Mike McCormack 905f9ec84a elementary: Fix warnings in multibuttonentry
test_multibuttonentry.c: In function ‘_item_selected_cb’:
test_multibuttonentry.c:7:37: warning: unused parameter ‘data’
test_multibuttonentry.c:7:56: warning: unused parameter ‘obj’
test_multibuttonentry.c: In function ‘_item_added_cb’:
test_multibuttonentry.c:15:34: warning: unused parameter ‘data’
test_multibuttonentry.c:15:53: warning: unused parameter ‘obj’
test_multibuttonentry.c: In function ‘_item_deleted_cb’:
test_multibuttonentry.c:22:36: warning: unused parameter ‘data’
test_multibuttonentry.c:22:55: warning: unused parameter ‘obj’
test_multibuttonentry.c:22:66: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_item_clicked_cb’:
test_multibuttonentry.c:28:37: warning: unused parameter ‘data’
test_multibuttonentry.c:28:56: warning: unused parameter ‘obj’
test_multibuttonentry.c: In function ‘_mbe_clicked_cb’:
test_multibuttonentry.c:34:36: warning: unused parameter ‘data’
test_multibuttonentry.c:34:66: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_mbe_unfocused_cb’:
test_multibuttonentry.c:54:38: warning: unused parameter ‘data’
test_multibuttonentry.c:54:68: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_mbe_focused_cb’:
test_multibuttonentry.c:61:36: warning: unused parameter ‘data’
test_multibuttonentry.c:61:55: warning: unused parameter ‘obj’
test_multibuttonentry.c:61:66: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_expanded_cb’:
test_multibuttonentry.c:67:32: warning: unused parameter ‘data’
test_multibuttonentry.c:67:51: warning: unused parameter ‘obj’
test_multibuttonentry.c:67:62: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_shrank_cb’:
test_multibuttonentry.c:73:30: warning: unused parameter ‘data’
test_multibuttonentry.c:73:49: warning: unused parameter ‘obj’
test_multibuttonentry.c:73:60: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_shrink_state_changed_cb’:
test_multibuttonentry.c:79:44: warning: unused parameter ‘data’
test_multibuttonentry.c:79:63: warning: unused parameter ‘obj’
test_multibuttonentry.c:79:74: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘_item_filter_cb’:
test_multibuttonentry.c:85:47: warning: unused parameter ‘obj’
test_multibuttonentry.c:85:82: warning: unused parameter ‘item_data’
test_multibuttonentry.c:85:99: warning: unused parameter ‘data’
test_multibuttonentry.c: In function ‘_button_clicked_cb’:
test_multibuttonentry.c:92:38: warning: unused parameter ‘data’
test_multibuttonentry.c:92:57: warning: unused parameter ‘obj’
test_multibuttonentry.c:92:68: warning: unused parameter ‘event_info’
test_multibuttonentry.c: In function ‘test_multibuttonentry’:
test_multibuttonentry.c:161:38: warning: unused variable ‘bx2’

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

SVN revision: 65549
2011-11-24 01:06:36 +00:00
이고은 6824852f0c elementary: Add multibuttonentry widget
---------------------------------------------------

Dear Developers,

I added a new widget called “Multibuttonentry" which could be used as contact button in App
This widget allows a user to insert a text button.
text button is inserted by pressing the "Enter key"
If there is no space in the current row, the new button is entered in the next row. If the button is clicked, it will become focused.
And focused button can be removed by pressing the "backspace" key.
when items are added over 1 lines, if Multibuttonentry lost focus, it becase shrink mode (made it as 1 line)

Please review it's APIs and functionalities.

Thank you,
Goun

---------------------------------------------------

Widget was originally written by Hyunsil Park <hyunsil.park@samsung.com>.
It has been contributed to by the following people:
 * Jihoon Kim <jihoon48.kim@samsung.com>
 * WooHyun Jung <wh0705.jung@samsung.com>
 * deasung.kim <deasung.kim@samsung.com>
 * Myungjae Lee <mjae.lee@samsung.com>
 * Goun Lee <gouni.lee@samsung.com>
 * Mike McCormack <mj.mccormack@samsung.com>
 * Daniel Juyung Seo <juyung.seo@samsung.com>
 * Seunggyun Kim <sgyun.kim@samsung.com>
 * sanghoon80.cho <sanghoon80.cho@samsung.com>

Signed-off-by: 이고은 <gouni.lee@samsung.com>
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65548
2011-11-24 01:06:26 +00:00
Mike Blumenkrantz d40045cceb match partial test words in elm_test
SVN revision: 65544
2011-11-23 23:14:12 +00:00
Daniel Juyung Seo 1ec974561d elm genlist.edc: Used CURRENT feature for edc transition.
yay! this is the first commit using CURRENT.


SVN revision: 65537
2011-11-23 12:09:51 +00:00
Daniel Juyung Seo e9d191712a elm Elementary.h.in: Sync with AUTHORS.
SVN revision: 65536
2011-11-23 10:48:48 +00:00
Mike Blumenkrantz b06935fb7e should probably have my dev id in here with my name...
SVN revision: 65533
2011-11-23 08:49:47 +00:00
Mike Blumenkrantz ba11f8a9a3 change of email address: this is going to be ugly
SVN revision: 65531
2011-11-23 08:40:50 +00:00
Mike McCormack 1570bdbe3a elementary: Fix a warning
elm_win.c: In function ‘elm_win_focus_get’:
elm_win.c:2182:4: warning: ‘return’ with no value, in function returning non-void

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

SVN revision: 65527
2011-11-23 07:45:48 +00:00
ChunEon Park 4e13dde318 elementary/panes - change the default to left content
my fault. left content would be better as a default content 



SVN revision: 65525
2011-11-23 02:47:57 +00:00
Gustavo Lima Chaves 080f67be82 [elementary] Fix return value on function.
SVN revision: 65515
2011-11-22 12:37:26 +00:00