Commit Graph

170 Commits

Author SHA1 Message Date
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Carsten Haitzler 146f134413 to make show/bring in work for list - canvas objects need calcing
first! so,., calc!



SVN revision: 69560
2012-03-22 10:10:29 +00:00
cnook 18ac67edd1 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elm_list] bug fix: crash occurs when
container which contains the elm_list is deleted on the "elm_list item
clicked" callback

I have resolved the elm_list issue(goto ELM_LIST_CRASH_ISSUE_MAIL below, I
sent mail but I cannot find the previous mail -_-;).
It would be related with double free issue. In the "sub-obejct-del"
callback which name is _sub_del() sets item->icon to NULL.
And in the EVAS_CALLBACK_MOUSE_UP callback funtion which name is
_mouse_up() calls evas_object_unref();
It would try to free the item->icon but the item->icon is already set to
NULL. So.. the crash would occur..



SVN revision: 69555
2012-03-22 05:58:49 +00:00
cnook 6b592fcea5 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_list.c - item_content_set()
related.

The Eina_Bool item->dummy_icon and item->dummy_end of Elm_List_Item
indicate whether the content has REAL object or not.
- "not" means.. if elm_object_item_part_content_set(); is called with
NULL content, the Elm_List set the swallow part with
rectangle which has alpha value 0 and the item->dummy_icon or
item->dummy_end is set to EINA_TRUE. -
But in the item_content_set(); it works the opposite way. So when
content set with NULL value the flag should be EINA_TRUE.



SVN revision: 69535
2012-03-21 10:41:42 +00:00
Daniel Juyung Seo 676cf93ec3 elm list: Added elm_list_first/last_item_get() APIs. I know we freezed API but they are so primitive and necessary for 1.0
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69505
2012-03-19 07:27:53 +00:00
Jiyoun Park c421626833 remove elm_list_always_select_mode_get/set deprecated API
SVN revision: 69330
2012-03-14 11:13:24 +00:00
Jiyoun Park d16e5bf412 remove code related with
elm_list_item_disabled
elm_list_item_XXX
which was deprecated


SVN revision: 69109
2012-03-09 15:03:18 +00:00
Jiyoun Park ab59567695 remove deprectated function related with elm_list_item_base_get & elm_mapbuf_content_
SVN revision: 69084
2012-03-09 09:35:21 +00:00
Mike Blumenkrantz 4b8fcf7430 seriously file globbing. another day would have been much better.
SVN revision: 68991
2012-03-07 16:18:38 +00:00
Mike Blumenkrantz 80d8165a15 wtf globbing y u no work???
SVN revision: 68983
2012-03-07 16:05:28 +00:00
Hyoyoung Chang abe3dd222a From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_list - add select_mode_set and some
remove deprecated apis in examples

Like other widget (genlist, gengrid...), I add select_mode to elm_list.

+elm_list_select_mode_set(Evas_Object *obj,
Elm_Object_Select_Mode_Type mode)

+EAPI Elm_Object_Select_Mode_Type
+elm_list_select_mode_get(const Evas_Object *obj)

And I removed deprecated apis (no_select, always_select) in examples
and edje_externals.



SVN revision: 68971
2012-03-07 15:22:12 +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 c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park fd909fc341 elementary/list - deprecated elm_list_item_del()
please use elm_object_item_del().



SVN revision: 67598
2012-01-30 06:06:03 +00:00
Carsten Haitzler 4dcc354c80 deprecate more list item funcs. replace with object item ones (for
cursors).



SVN revision: 67380
2012-01-20 10:13:56 +00:00
ChunEon Park 8e4a2fcbe9 elementary/toolbar, diskseletor - deprecated tooltip APIs
SVN revision: 67127
2012-01-12 08:25:12 +00:00
ChunEon Park 3d44aa9d9b elementary/list - deprecated tooltip APIs & updated doc
SVN revision: 67124
2012-01-12 07:51:15 +00:00
ChunEon Park a3935da066 elementary/list - internal item type chage regarded to Elm_Object_Item for more less casting!
SVN revision: 67111
2012-01-12 03:18:43 +00:00
ChunEon Park 11282d3953 Elementary/list - Elm_List_Item -> Elm_Object_Item
SVN revision: 67110
2012-01-12 03:03:56 +00:00
ChunEon Park 0f8b78cdd5 elementary - renamed internal callback function
elm_widget_item_disabled_set_hook_set -> elm_widget_item_disabled_hook_set



SVN revision: 67007
2012-01-10 01:00:23 +00:00
Carsten Haitzler 4390f8f16f ooh deprecate elm_list calls than can be done with elm_object_item
stuff :)



SVN revision: 66796
2012-01-03 13:13:39 +00:00
Carsten Haitzler e4bfe66bfe deprecate 2 callls already using the new infra
SVN revision: 66788
2012-01-03 11:48:34 +00:00
Carsten Haitzler e7e7a55d00 put notes in elm_list.c as to what to do.
SVN revision: 66777
2012-01-03 05:28:34 +00:00
Carsten Haitzler a13a0b4a0f deprecate disabled list item apis - use object item.
SVN revision: 66772
2012-01-03 04:17:32 +00:00
Mike Blumenkrantz 608d52ba61 missed some things with my tooltip api break
SVN revision: 65917
2011-12-05 17:14:07 +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
Daniel Juyung Seo 75481b9870 elm list: Removed deprecated signals.
SVN revision: 65794
2011-12-02 01:54:28 +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
Daniel Juyung Seo a9e92c7bc3 elm genlist/list/gengrid: Changed edge smart callback name. 'edge' callback is not scrolling. So "scroll,edge,up" -> "edge,up". elm_scroller already used this name.
SVN revision: 64200
2011-10-20 16:42:42 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

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

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Daniel Juyung Seo 12f074553c elm list: Fixed elm_list_scroller_policy_set(). Closed ticket #842.
SVN revision: 62956
2011-08-29 16:13:35 +00:00
Daniel Juyung Seo 954d3e31cf elm list: Fixed elm_list_item_disabled_set() API. Closed trac #844.
SVN revision: 62932
2011-08-29 05:10:20 +00:00
Daniel Juyung Seo 9692d6d2d4 elm list/gengrid: Fixed typo in internal functions and variables. hilight -> highlight.
Hilight is a common mis-spelling of highlight. http://en.wiktionary.org/wiki/hilight 


SVN revision: 62830
2011-08-25 17:19:22 +00:00
Daniel Juyung Seo 0e3f0d69c6 elm list: Changed elm_list_item_base_get() to elm_list_item_object_get() like other widgets such as gengrid/menu/genlist/slideshow/segment_control.
I also changed all related code in trunk.
Deprecated elm_list_item_base_get(). I will remove this later.


SVN revision: 62730
2011-08-23 16:55:28 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
Mike Blumenkrantz 47574fccbf add new signal for list/genlist/gengrid: "activated"
this signal is called whenever an item receives either a double click or selection+(enter/spacebar/return)

this commit also unifies the click/enter/spacebar/etc event api for these widgets, including removing the double click signal from keypress events and removing the 'clicked' signal from double click events


SVN revision: 61720
2011-07-26 01:49:24 +00:00
Bruno Dilly 6a1768ead2 Elementary: List Documentation
SVN revision: 61711
2011-07-25 20:47:59 +00:00
ChunEon Park 5e8a3cf674 elementry/list - added missing a line.
When raster modified to use standard macro, 
this line is removed also. 



SVN revision: 61221
2011-07-11 02:26:27 +00:00
Daniel Juyung Seo bc07b91b0e elm genlist/list/gengrid: Removed deprecated signal "clicked". Use
"clicked,double" instead.

The name was wrong and I added a proper signals few months ago. Not I
removed wrong signals.


SVN revision: 61115
2011-07-07 12:49:39 +00:00
ChunEon Park ccd3773962 elementary/list - just removed empty lines
SVN revision: 60125
2011-06-09 10:11:25 +00:00
ChunEon Park dce560688a elementary/list - fixed for potential duplicated deletion (this is patched by jae.hwan.kim@samsung.com)
since the list calls the unref, it could be deleted multiple times 
when user delete the list in it's callback function. 




SVN revision: 60124
2011-06-09 10:08:58 +00:00
ChunEon Park a1d5dfb531 elementary/list - avoid unnecessary checking when deleting sub-objects
SVN revision: 60120
2011-06-09 08:36:55 +00:00
Daniel Juyung Seo 04b491da11 Elementary: Changed homogenous to homogeneous.
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.


SVN revision: 59160
2011-05-04 04:53:39 +00:00
ChunEon Park d45f0154cf elementary / menu, list, index, pager - modified to use signal callback table.
SVN revision: 58807
2011-04-21 15:57:03 +00:00
Daniel Juyung Seo ebfa1123c0 Elementary list: Fixed doxygen for "clicked,double" callback.
SVN revision: 58595
2011-04-12 14:16:41 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
Daniel Juyung Seo 16848f903d Elementary: Fixed wrong smart callback signal name. clicked -> clicked,double
Unified double-click smart callback signal name to "clicked,double".
Wrong signal name "clicked" is still there.
But this will be removed soon after fixing all codes in trunk.


SVN revision: 58293
2011-04-03 09:36:47 +00:00
Daniel Juyung Seo 8a108db5ab Elementary: Use pre-defined type Edje_Signal_Cb instead of describing all of its parameters.
SVN revision: 58283
2011-04-03 05:32:17 +00:00