Commit Graph

65 Commits

Author SHA1 Message Date
Cedric BAIL 3ef34e5dac elementary: eo_data_get can return NULL if the object is dead.
SVN revision: 80418
2012-12-07 08:44:47 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Sanjeev BA 5d488c8ffb change returned value from -1 to EINA_FALSE.
Author:    KoziarekBeata <b.koziarek@samsung.com>

SVN revision: 78142
2012-10-18 00:55:19 +00:00
Jihoon Kim d19a9669c3 remove trailing spaces and fix coding style
SVN revision: 77838
2012-10-11 00:35:00 +00:00
Cedric BAIL 2c6d0a57c9 elementary: better fix for data corruption in multibuttonentry.
Patch by Jihyeon Seol <jihyeon.seol@samsung.com>


SVN revision: 77742
2012-10-10 09:44:38 +00:00
Kim Shinwoo 0864af3230 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] multibuttonentry - access feature

i have attached a patch which has access feature for the multibuttonentry.
it was hard time to implement access feature on the multibuttonentry than
others.



SVN revision: 77738
2012-10-10 09:37:50 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Jihyeon Seol ca35233c07 From: Jihyeon Seol <jihyeon.seol@samsung.com>
Subject: [E-devel] [Patch] multibuttonentry - data corruption issue of
the box list

here is a problem in the data corruption of the box list in
_box_layout_cb() of the multibuttonentry.

EINA_LIST_FOREACH is used to move and resize the objects. 
but if box unpack/pack is called in the EINA_LIST_FOREACH loop, 
the data of the box list will be corrupted.

This problem can not be solved immediately due to the structural
problems of
the MBE. 
So the attached patch, a workaround, avoids calling unpack/pack in the
EINA_LIST_FOREACH loop.

I am in the process of refactoring MBE but in the mean time, 
this patch will resolve the above issue.



SVN revision: 77192
2012-09-28 09:28:18 +00:00
Gustavo Lima Chaves 7f8d2e218e [elm] Multibuttonentry now a layout.
SVN revision: 75895
2012-08-30 16:46:12 +00:00
Jihyeon Seol de77d3aa99 From: Jihyeon Seol <jihyeon.seol@samsung.com>
Subject: [E-devel] [Patch] elc_multibuttonentry resize patch.

Currently, there is a problem in the logic of getting the size in the
MBE's
box.

For each line, the height of the line is calculated according to the
biggest
item's height 
and is applied to the box size, but problem occurs when the newly added
item's height is larger than the one before.

For example, when the entry is located in the front of the last line, 
the line's height is determined by the entry. 

When the button is added by the user's input at this state, 
because button's height is larger than the entry's height 
I have modified each line to have the equal height.



SVN revision: 75453
2012-08-20 08:02:47 +00:00
ChunEon Park 11e03b096f elementary/multibuttonentry - [E-devel] [Patch] elc_multibuttonentry memory leak patch
Dear, all

I've attached a patch that fixed the memory leak.

There is not a free() in _del_hook().

Please review this patch.

Sincerely yours,

Jihyeon Seol

Signed-Off-By: JiHyeon Seol<jiheyon.seol@samsung.com>




SVN revision: 75439
2012-08-20 05:22:06 +00:00
Minseok Kim 06be3e5ab6 From: Minseok Kim <minseok3.kim@samsung.com>
Subject: [E-devel] [E-deve] [Patch] Add new apis for editable set/get
in multibuttonentry

Typically multibuttonentry is used as a composer.
But sometimes, Multibuttonentry can be used as a viewer.
Currently there is no way to use multibuttonentry as non-editable
viewer.
So I added new APIs which are elm_multibuttonentry_editable_set/get().
If editable is true, entry in multibuttonentry is activated and user can
compose item by pressing the return key.
If not, entry is hidden and muttibuttonentry works as a non-editable
viewer.



SVN revision: 73223
2012-07-03 11:22:46 +00:00
Minseok Kim db61fd9dbb elementary/multibuttonentry: add focus handling at clicked,
and remove box region show. 

Signed-off-by: Minseok Kim <minseok3.kim@samsung.com>


SVN revision: 72484
2012-06-19 14:48:05 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Daniel Juyung Seo 728ecc1b32 elm multibuttonentry: Deprecated elm_multibuttonentry_item_data_get/set. Use elm_object_item_data_get/set instead.
SVN revision: 69622
2012-03-26 00:07:28 +00:00
Daniel Juyung Seo 84edf10d93 elm multibuttonentry: Refactoring. Use more descriptive name for variable. current -> selected_it.
SVN revision: 69621
2012-03-26 00:07:14 +00:00
Daniel Juyung Seo 346aec5ad5 elm multibuttonentry: Fixed formatting.
SVN revision: 69607
2012-03-25 08:51:12 +00:00
GoUn Lee b655b831d3 From: GoUn Lee <gouni.lee@samsung.com>
Subject: [E-devel] [?Patch]elm_?multibutto?nentry bug fix

I've attached patch to fix bug in multibuttonentry.
When this widget is unfocused, there's no code for making unfocused
entry in multibuttonentry.
Because of that, when multibuttonentry got focus again, entry couldn't
get focus normally.
so I've added  code to fix this issue. when it's unfocused.

Also I removed unused value in resize_button() which is 'padding_inner'
 


SVN revision: 69583
2012-03-23 07:49:14 +00:00
ChunEon Park 2e43c4d488 elementary/multibuttonentry - let use signal callback description table
SVN revision: 69273
2012-03-13 00:45:01 +00:00
Jiyoun Park df7de15c06 remove deprecated code related with
elm_multibuttonentry_shrink_mode_get/set
elm_multibuttonentry_guide_text_get/set
function.


SVN revision: 69243
2012-03-12 10:20:42 +00:00
Jiyoun Park 8e57190579 remove code related with
elm_multibuttonentry_label
elm_multibuttonentry_item_label
elm_multibuttonentry_item_del
which was deprecated


SVN revision: 69107
2012-03-09 14:10:16 +00:00
Daniel Juyung Seo 543d234a2b elm multibuttonentry: Changed smart callback name. Discussed with multibuttonentry contributor. 'shrink,state,changed' -> 'expand,state,changed'.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68882
2012-03-07 07:00:56 +00:00
Sanjeev BA 6f2249d9e9 add todo for elc_multibuttonentry.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68878
2012-03-07 06:20:18 +00:00
Sanjeev BA 9832fdca93 Fix elm_multibuttonentry API to have callbacks. For now we only have the API format fixed. This code needs lot more refactoring after discussing with the widget author. So, we will address the implementation later.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68866
2012-03-07 02:57:36 +00:00
Sanjeev BA de64c5bf43 Add selected item getter and setter API. Getter to be implemented.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 68839
2012-03-06 15:18:02 +00:00
Sanjeev BA 3d6850c2c9 Rename callback function.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 68838
2012-03-06 15:17:57 +00:00
Carsten Haitzler f3f023a108 ok warn-- in multibuttonentry - getting bored of seeing it.
SVN revision: 68817
2012-03-06 12:14:35 +00:00
Daniel Juyung Seo 36d4a048f4 elm multibuttonentry: Revised code.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68814
2012-03-06 12:06:47 +00:00
Carsten Haitzler 7a5a301a63 rename a whole host of config-related functions to be elm_config_*
now. yes - no deprecation. no time to do that.



SVN revision: 68810
2012-03-06 12:04:25 +00:00
Daniel Juyung Seo 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +00:00
Carsten Haitzler 4118b5806c deprecate guide text set api in multibutton as per xxx
SVN revision: 68787
2012-03-06 07:45:10 +00:00
Sanjeev BA 2634455235 Remove unwanted function.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68784
2012-03-06 07:25:28 +00:00
Sanjeev BA c44902e2f5 Break MBE API. Cannot fix without breaking it.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68779
2012-03-06 07:01:09 +00:00
Sanjeev BA 7e80c536d0 Fix formatting.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68778
2012-03-06 07:01:06 +00:00
Sanjeev BA 6e33787747 refactor mbe code.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68777
2012-03-06 07:00:59 +00:00
Sanjeev BA 612348e150 Remove unwanted null check. It happens in _set_guidetext.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68776
2012-03-06 07:00:15 +00:00
Sanjeev BA 45afba43d2 Fix delete key function and remove stray 'BackSpace (' handling in code.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 68763
2012-03-06 02:51:54 +00:00
Sanjeev BA dad510faff Rename mbe shrink_mode to expanded. Consistent with genlist naming.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 68760
2012-03-06 01:45:25 +00:00
GoUn Lee 05b41d2469 From: GoUn Lee <gouni.lee@samsung.com>
Subject: [E-devel] [Patch]New feature in Multibuttonentry widget
(input panel handles manually)

I've added patch for a new feature in Multibuttonentry widget.
When Multibuttonenetry gets/lost a focus, it shows input panel(virtual
keyboard) using elm_entry_input_panel_show/hide() function.
A multibuttonenetry manually handles input panel.
The reason why it handles manually input panel even though it has entry,
the multibuttonentry must show input panel when entry lost focus and
multibuttonentry widget is focused.
Such as item(button) is clicked.

So I've added this feature.
Please review this patch.



SVN revision: 68688
2012-03-05 09:58:38 +00:00
Daniel Juyung Seo 4f9b433c22 elm multibuttonentry: Revised codes.
1. fixed formatting.
2. renamed smart callback "shrank" -> "contracted"
I just renamed this smart callback without backport because multibuttonentry committed recently and backport will be removed in a couple of days (elm 1.0 api freeze)
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68639
2012-03-03 06:11:50 +00:00
Daniel Juyung Seo 448157e020 elm multibuttonentry: Reviewed some parts of multibuttonentry.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68627
2012-03-02 12:43:02 +00:00
Carsten Haitzler e7af5e0e91 warn--
SVN revision: 68430
2012-02-25 05:11:59 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
Hyoyoung Chang c575025a4a From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elc_multibuttonentry - checking focus
before elm_widget_show_region_set

In elc_multibuttonentry, there're some elm_widget_show_region_set callings.
However it's not checking whether it got focused or not,
sometimes it's bugging users when the user's trying to move scroller.
So I changed to check focused.



SVN revision: 67285
2012-01-18 03:53:02 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park 5f1c8f6107 elementary/multibuttonentry - deprecated APIs. Now, let's use elm_common APIs.
elm_multibuttonentry_label_set()
elm_multibuttonentry_label_get()
elm_multibuttonentry_item_label_set()
elm_multibuttonentry_item_label_get()



SVN revision: 66739
2012-01-02 10:40:17 +00:00
ChunEon Park ab3198151c elementary/multibuttonentry - Elm_Multibuttonentry_Item -> Elm_Object_Item
SVN revision: 66737
2012-01-02 10:10:23 +00:00