Commit Graph

105 Commits

Author SHA1 Message Date
Daniel Juyung Seo 869c313eee elm index: Fixed formatting.
SVN revision: 82468
2013-01-09 15:54:42 +00:00
WooHyun Jung f696af78d1 elementary/elm_index : Freed pointer should not be returned.
SVN revision: 82458
2013-01-09 12:43:51 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +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
Michael BOUCHAUD 17d5be23ff elementary: add missing selected in elm_index, when we use elm_index_item_selected_set
SVN revision: 79186
2012-11-12 17:56:13 +00:00
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +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
Daniel Juyung Seo e8fa4f8035 elm index: Fixed unused variable warnings.
SVN revision: 76879
2012-09-20 00:49:07 +00:00
Kim Shinwoo 5f41a3729d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] index - add access feature

the attachment has access features for the index. and this patch is
depends
on the previous patch which has
_elm_access_edje_object_part_object_unregister();
to find the previous patch, please refer to the following

http://sourceforge.net/mailarchive/forum.php?thread_name=CAP-c0nG8NkMx3J-YkSJnWdB23cWOPrtk1Rx10Lae0Zwxst1eeQ%40mail.gmail.com&forum_name=enlightenment-devel

the index could have two levels, one is level 0, the other is level 1.
the
patch supports only level 0 because we have no style for the level 1..
(just a cowardly excuse, i will keep up with this.. and update..)



SVN revision: 76532
2012-09-12 13:44:27 +00:00
Jihoon Kim f6faf3708e [elm/index] fix indentation
SVN revision: 75745
2012-08-28 04:02:14 +00:00
ChunEon Park 4b6636bdd1 elementary/index - [E-devel] [PATCH] elm_index : set it->letter to NULL after eina_stringshare_del
Hello all,

In elm_index.c, _item_del_pre_hook calls _item_free, where it->letter
is not set to NULL after eina_stringshare_del.
This will cause invalid access later on. The attached patch fixes the
problem, which is reproducible in my code before the fix.
Please check if this makes sense.

I am sorry that I was unable come up with a simple test app to
demonstrate the problem.

Thanks in advance.


Brian

Signed-Off-By:Brian Wang<brian.wang.0721@gmail.com>



SVN revision: 75723
2012-08-27 08:23:20 +00:00
Gustavo Lima Chaves 84b23046da [elm] Now those comments make less sense, remove.
SVN revision: 74768
2012-08-01 21:05:16 +00:00
Gustavo Lima Chaves 31f18bb480 [elm] Index now inheritable.
SVN revision: 74754
2012-08-01 21:03:11 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 5f7bf01397 [elm] item del, not free, on index.
SVN revision: 71564
2012-05-30 17:42:26 +00:00
Gustavo Lima Chaves 6db319d810 [Elm] Index now a layout.
SVN revision: 70739
2012-05-03 22:44:11 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 6008d86c93 [Elm] Index now a layout.
SVN revision: 70662
2012-05-02 17:01:30 +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
ChunEon Park edb1115ddc elementary/index - removed unnecessary code
SVN revision: 69856
2012-04-02 07:51:11 +00:00
Daniel Juyung Seo 91d43ae017 elm: Set timer/animator to NULL after they're deleted.
SVN revision: 69796
2012-03-30 12:31:11 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Jiyoun Park 588ddb272a remove deprecated code related with
elm_index_item_selected_get
function.


SVN revision: 69279
2012-03-13 01:51:46 +00:00
ChunEon Park cac0e6aec9 elementary/index - fixed null string segfault case
SVN revision: 69247
2012-03-12 11:10:57 +00:00
Jiyoun Park 8886ef1e38 remove deprecated code related with
elm_index_active_XXX
elm_index_item_append_relative
elm_index_item_append_relative
function.


SVN revision: 69239
2012-03-12 10:00:17 +00:00
Jiyoun Park 6763d9b38e remove deprecated code related with
elm_index_item_go
function.


SVN revision: 69236
2012-03-12 09:04:53 +00:00
ChunEon Park d25bfa1266 elemenatry/index - removed unnecesary compare and return when realloc is failed
SVN revision: 69099
2012-03-09 13:02:16 +00:00
Jiyoun Park 1b5662554c remove deprecated function related with elm_index
SVN revision: 69078
2012-03-09 08:51:24 +00:00
ChunEon Park b70396c859 elementary/index - + 1 api elm_index_item_selected_set
need compensation



SVN revision: 68867
2012-03-07 04:39:06 +00:00
ChunEon Park 2b45ebba0c elementary/index - more apis
elm_index_horizontal_set/get



SVN revision: 68820
2012-03-06 12:28:52 +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
ChunEon Park 4b9a8cb744 elementary/index - set index visiblility again when style is changed.
SVN revision: 68780
2012-03-06 07:09:57 +00:00
WooHyun Jung 1acacd1c9b elementary/index : changed one API. elm_index_item_selected_set ->
elm_index_selected_item_set. 


SVN revision: 68720
2012-03-05 13:48:24 +00:00
WooHyun Jung 9073ed6efb [elementary/index] Some APIs were modified or removed + fix build
break.


SVN revision: 68690
2012-03-05 10:05:58 +00:00
ChunEon Park d1ac092565 elementary/index - return item handles.
SVN revision: 68660
2012-03-04 13:51:17 +00:00
Daniel Juyung Seo 2a8827cb3e elm index: Fixed build warning.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68623
2012-03-02 12:07:44 +00:00
ChunEon Park f4e81e9033 elementary/index - trivial changes
SVN revision: 68566
2012-03-01 09:44:50 +00:00
ChunEon Park 2e5b1279ca elementary/index - [E-devel] [Patch] Add new API in Index widget (e lm_index_indicator_disabled_set/get())
I've attached patch file about new API in Index widget.
called elm_index_indicator_disabled_set() / elm_index_indicator_disabled_get()
Using this elm_index_indicator_disabled_set API, if it is set EINA_TRUE in second value, popup text could be invisible.
In this API, indicator notes popup text which shows a letter has been selecting.
I tested through elementary_test, and it works.

Signed-Off-By GoUn Lee<gouni.lee@samsung.com>



SVN revision: 68559
2012-03-01 02:42:51 +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
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 569e56e904 elementary - Added 1 more API elm_object_item_del_cb_set()
also deprecated below APIs  

   elm_hoversel_item_del_cb_set()
   elm_diskselector_item_del_cb_set()
   elm_toolbar_item_del_cb_set()
   elm_index_item_del_cb_set()
   elm_menu_item_del_cb_set()                  



SVN revision: 66748
2012-01-02 11:46:32 +00:00
ChunEon Park 4bb1f9830c elementary/index - deprecated APIs
elm_index_item_data_set()
elm_index_item_data_get()



SVN revision: 66661
2011-12-30 05:12:54 +00:00
ChunEon Park 6f07cf3ea0 elementary/index - Elm_Index_Item -> Elm_Object_Item
SVN revision: 66659
2011-12-30 04:57:28 +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
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
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00