Commit Graph

4155 Commits

Author SHA1 Message Date
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