Commit Graph

4119 Commits

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