Commit Graph

333 Commits

Author SHA1 Message Date
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Daniel Juyung Seo b10481fa0e elm_list.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:47 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Michael Bouchaud 91848c5b43 elementary: add a way to add some custom part text and save it for Elm_Object_Item 2013-09-18 16:21:10 +02:00
Daniel Juyung Seo abcb183534 elm_list.c: disable edje_object_parts_extends_calc in _item_fix.
This fixed T179 but introduced T286. T286 is bigger and more important issue than T179.
So temporarily disable these lines until it gets fixed correctly.
2013-09-17 01:10:46 +09:00
Michaël Bouchaud (yoz) 62ce625dfc elementary: allow custom text part on item list 2013-09-16 12:19:46 +02:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Daniel Juyung Seo cafca533a4 elm_list.c: check null as well.
This fixes coverity CID 1049944 Dereference after null check (FORWARD_NULL).
2013-08-11 17:11:03 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
Daniel Juyung Seo a0605b196c elm_list.c: fixed elm_object_item_part_content_set bug with 'end' part in elm_list. 2013-07-13 15:45:44 +09:00
Thiep Ha 7686648e12 Fix horizontal list size issue in desktop mode (T179)
Issue: horizontal list does not show correctly in desktop mode.
- The way to reproduce isssue is discribled in Task T179.
- We can also reproduce issue by runnin Ctxpopup at horizontal mode in elmentary test with standard profile.
2013-07-05 02:58:16 +09:00
Daniel Juyung Seo 6cf684f02a elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 1c1da31da3 elm_list.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:00:12 +09:00
Tae-Hwan Kim 10a212a709 [list] Add signal emit hook.
Add signal emit hook same as genlist.
2013-05-27 13:25:18 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00
Yossi Kantor 2e1eacd0ba elementary: Focus improvement for elm_genlist and elm_list
Summary:
This patch applies automatic focus feature to elm_genlist and elm_list
containers.
Currently (prior to this patch), focusable widgets inside list items of both
containers receive focus by an explicit mouse click over them, and lose focus
when focus goes to someone else in the window.
This change also adds the ability to:
- focus by default on the first-from-right focusable widget upon items selection
- lose the focus when another item is selected (focused or not)
- move focus between focusable widgets inside the same item by left and right
arrow keys accordingly (up and down keys when elm_list is in horizontal mode)

Focus is supported for horizontal and vertical lists.

Tests have been added for genlists and lists to check focus feature.
2013-05-12 15:32:33 +03:00
Daniel Zaoui ac01929f37 Elementary: Drag & Drop feature for items containers
New APIs have been added to facilitate DnD for genlist, gengrid and list
widgets.
Tests have been added in the new section DnD to play with that.
2013-05-09 13:57:31 +03:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
ChunEon Park ff10726141 elementary/ctxpopup, hoversel, naviframe, multibuttonentry, popup, diskselector, list, menu, segment_control, toolbar - support widget item language change 2013-04-23 20:30:15 +09:00
Daniel Juyung Seo ba4dbce9d9 elm: enhance eina_list_free usages. use EINA_LIST_FREE if needed. 2013-04-10 20:28:35 +09:00
WooHyun Jung 2f3a41de31 elm_list.c : _elm_list_smart_focus_next_enable is for focus_next function. Not for focus_direction. 2013-04-09 22:22:37 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
WooHyun Jung 2542b16b01 elementary/list : Fixed a bug in elm_list. Focus_next is needed only when access mode is enabled. 2013-03-13 14:05:00 +09:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Shinwoo Kim 317920e3e3 [access] do not have to read out type infomation of genlist and list
the user would be visually impaired person or blind, so the type infomation
of genlist or list is not proper. there would be more proper type infomation.


SVN revision: 83005
2013-01-19 08:05:15 +00:00
Daniel Juyung Seo 84d251acc8 elm list, genlist, gengrid: Added highlighted and unhighlighted signal callbacks.
SVN revision: 82750
2013-01-14 10:12:50 +00:00
Shinwoo Kim 88dac18cf7 [access] export elm_access_activate_cb_set(); and add related documentation.
SVN revision: 82052
2013-01-03 09:31:33 +00:00
Daniel Juyung Seo f4e8c92f0d elm list: Fixed list separator size bug. Patch by Thiep Ha <thiep.ha@samsung.com>
On Sun, Dec 9, 2012 at 11:11 AM, thiep ha <thiep.ha@samsung.com> wrote:

    Dear All,

    In elementary list, the separator is not correctly set.
    I would like to send a patch to correct the list with separator.
    I also add an example named "List Separator" to test it.

    Please review this patch.

    Best Regards,
    Thiep Ha

SVN revision: 82040
2013-01-03 06:23:33 +00:00
Daniel Juyung Seo cf682c4214 elm list: Use EINA_FALSE instead of 0 for Eina_Bool type variable.
SVN revision: 82004
2013-01-02 18:36:22 +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 Juyung Seo 10cb9bcf73 elm elm_list.c: fixed formatting.
SVN revision: 80262
2012-12-05 15:52:43 +00:00
Cedric BAIL d29d66e65e elementary: in some case it could be NULL, resulting in dereferencing a NULL pointer.
SVN revision: 80141
2012-12-04 10:26:31 +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
Shinwoo Kim 3ff4a96fdc [list] enhance access feature - add access activate callback
*note: this commit - callback behavior - would be disputable as genlist becuase list has
       "clicked,double", "selected" and "activated" signal and smart callback also.
       but the access acitvate callback works as the item is selected.



SVN revision: 79451
2012-11-19 13:40:24 +00:00
Shinwoo Kim f81147a18e [access] enhance access feature
1. add _elm_access_object_unregister(); api.
  2. unregister access object properly when unregister widget item.
  3. modify improper access object check.
  4. [list] add smart_access(); lines to provide run time register, unregister.
  5. [genlist] unregister access object when genlist item is unrealized.



SVN revision: 79444
2012-11-19 13:08:54 +00:00
Daniel Juyung Seo 71d832404a elm access: Create access object only when access mode is enabled.
SVN revision: 78992
2012-11-08 08:02:12 +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 ac8ba87340 elm list: Do not process _size_hints_changed_cb when list is going to be deleted.
This fixes list self deletion bug when evas_object_del(list) is called inside item selected callback.

SVN revision: 75832
2012-08-29 23:38:58 +00:00
Carsten Haitzler 4f0c004519 fix selection handling in list if items disabled.
SVN revision: 75041
2012-08-09 11:54:37 +00:00
Gustavo Lima Chaves a0359a65c5 [elm] List now inheritable.
SVN revision: 74688
2012-07-31 22:06:36 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
Cedric BAIL 187462ec9d elementary: fix erroneous memory access.
One more pack of beer for the Valgrind developer !


SVN revision: 74202
2012-07-20 04:20:06 +00:00
Cedric BAIL 5ff2c0d78b elementary: prevent the hook to mess with the event object property.
SVN revision: 74175
2012-07-19 09:25:04 +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 fc488079d6 [elm] No initting code out of smart_add() -- list.
SVN revision: 73997
2012-07-17 15:02:22 +00:00
Gustavo Lima Chaves 5cd7fce261 [elm] Old cosmetical diff flush.
SVN revision: 73993
2012-07-17 14:56:32 +00:00
Gustavo Lima Chaves 9e4f104587 [elm] Fix bad theming on new layout widgets.
SVN revision: 73381
2012-07-05 21:07:15 +00:00
Gustavo Lima Chaves 47c401724c [elm] Fix code duplication on list porting.
SVN revision: 73379
2012-07-05 19:49:54 +00:00
Gustavo Lima Chaves d4f88af273 [elm] Elm list is now a SCROLLABLE layout.
This means it inherits from the layout class and implements the
scrollable interface.



SVN revision: 73310
2012-07-04 21:43:05 +00:00
Kim Shinwoo 4709f16668 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_access, use widget_item in
focus chain

It has been possible to use widget_item in access mode. The mouse-in
event
makes the widget_item speak.
But focus chain is not useful in access mode, because the widget_item
cannot get the focus as the edje object.
The accessibility highlight will move by keeping the attached patch
and you
can hear the sound of widget item information.
Please review the patch and give some feedbacks. There would be further
works such as dynamic setting focus next hook,
the previous _elm_access_list_register();, but please keep this first if
there is no big trouble. I'll do those also. Thanks.



SVN revision: 73074
2012-06-30 06:21:14 +00:00
Carsten Haitzler c7fad4ef42 fix discomfitors list scalign thing.. was actually image/icon madness.
:)



SVN revision: 72109
2012-06-14 07:55:55 +00:00
Mike Blumenkrantz 7ecc19fbae elm list had a typo which seemed harmless but probably broke some things. I corrected it. don't have a full checkout here, so no backporting unless someone else does it or I remember to do it later
SVN revision: 71465
2012-05-28 17:51:02 +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 c4fc10388c elm list/genlist: Renamed interval text get/set hook name.
SVN revision: 70121
2012-04-12 07:14:15 +00:00
Jihoon Kim 3a9a0cb9d5 elm/list: igonore key event of keypad when NumLock is turned on.
SVN revision: 69922
2012-04-05 01:18:51 +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 3d15654faa elm elm_object_item: Fixed item part content set hooks.
1. delete old content object
2. check whether new content object is same as old content object
3. rename internal content set hook function
4. elm_widget_sub_object_del will be followed by evas_object_del
5. added some doxygen description.

SVN revision: 69738
2012-03-29 10:08:37 +00:00
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
ChunEon Park 5176a3f867 elementary / entry, list, scroller, fileselector_button, config, photocam, map, pan, bg, store, priv, pager, conform, box, clock, flipselector
fixed indentation, removed white spaces.



SVN revision: 58267
2011-04-01 19:08:56 +00:00
ChunEon Park 160084626b elementary / menu, notify, list, panes, module, map, pager, panel, mapbuf - removed white spaces
SVN revision: 58251
2011-04-01 11:26:58 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
ChunEon Park e638d13aec elementary/list - fixed minor error.
moved _theme_hook to where after scroller has child. 



SVN revision: 57684
2011-03-11 04:54:39 +00:00
Daniel Juyung Seo c4dda39a0e Elementary elm_list.c: Check null before use it.
SVN revision: 57656
2011-03-10 07:30:02 +00:00
Carsten Haitzler 309d51b3ed and now use the ref/unref goodness from evas to avoid deleting oneself
while doing things.



SVN revision: 57618
2011-03-09 09:56:18 +00:00
Carsten Haitzler d80e09da23 fmting
SVN revision: 57580
2011-03-08 11:48:12 +00:00
Carsten Haitzler 3889d7b22c fmting.
SVN revision: 57579
2011-03-08 11:47:45 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Tom Hacohen 1fc531aabf Elementary: Adjusted elm_list to work with the changes in els_scroller.
SVN revision: 56293
2011-01-25 02:19:03 +00:00
Carsten Haitzler 000843b6f0 safety - check wd return for null.
SVN revision: 56056
2011-01-12 10:04:11 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
WooHyun Jung 34a3ad17b9 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Some modifications for adapting
elm_longpress_timeout_get().

 I made a patch for adapting elm_longpress_timeout_get() function to all
 winsets, using long press event. 
 
 And I checked one warning in elm_entry.c , so I modified it. 
 


SVN revision: 55339
2010-12-07 05:04:45 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Tiago Rezende Campos Falcao 80fc46f893 Add elm genlist scroller policy setter/getter
Author: "Marco Trevisan (Treviño)" <mail at 3v1n0.net>

And add NULL check in elm_list scroller policy getter/setter.

SVN revision: 54797
2010-11-22 15:24:58 +00:00
Carsten Haitzler 39f48066ff set scale on scrollers on re-theme and on list items.
SVN revision: 54775
2010-11-22 09:41:37 +00:00
Gustavo Lima Chaves 646b4007ec Disable hook for elm lists in.
SVN revision: 54680
2010-11-18 10:01:05 +00:00
Bruno Dilly 4e0df34976 Fix List keyboard navigation on horizontal mode
Closes ticket #619



SVN revision: 54411
2010-11-10 18:04:51 +00:00
Bruno Dilly 715dbba805 This small patch allows to get a smart callback when the scrollers in an
elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
signals, backporting them to the list object.

The new smart callbacks called are:
 · "scroll,edge,top" - the list is scrolled until the top edge
 · "scroll,edge,bottom" - the list is scrolled until the bottom edge
 · "scroll,edge,left" - the list is scrolled until the left edge
 · "scroll,edge,right" - the list is scrolled until the right edge

SVN revision: 3



SVN revision: 54393
2010-11-10 02:48:59 +00:00
Carsten Haitzler 78cc8ef853 idea from seokjae but majorly changed patch - use on_hold as
originally intended for holding actions in this case, and also add
momentum acceleration at the same time.



SVN revision: 54356
2010-11-09 06:07:07 +00:00
Bruno Dilly 7c5152ef83 Add cursor getters for elm widgets and items
SVN revision: 54164
2010-11-05 00:46:54 +00:00
Bruno Dilly b8200447ef Add bounce getter for remaining widgets
SVN revision: 54163
2010-11-05 00:45:59 +00:00
Tiago Rezende Campos Falcao 5ef35174ba Add checkers to list items
SVN revision: 54093
2010-11-02 11:26:56 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao ba89544efc list, genlist and gengrid, if no item is selected
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

If no item is selected, pressing up it will select the first and down
will select the last item

SVN revision: 53924
2010-10-27 14:38:57 +00:00
Tiago Rezende Campos Falcao bc44338213 Deselect all items when press Esc
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

list, genlist, gengrid: Using _deselect_all_item

SVN revision: 53923
2010-10-27 14:38:54 +00:00
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Rafael Fonseca a7790e9dd7 Better way of setting bounce from profile.
Change pointed out by k-s.



SVN revision: 53744
2010-10-21 19:57:43 +00:00
Rafael Fonseca 3eaa37aa3b Use bounce information from profile in the scrollers.
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.



SVN revision: 53730
2010-10-21 18:54:47 +00:00
Gustavo Lima Chaves d197de1f28 Missing const here.
SVN revision: 53681
2010-10-20 16:51:26 +00:00
Gustavo Lima Chaves 442cb3b9da Introducing item_disabled_set() for elm_lists, too.
I'm not implementing the default list themes WRT to it right now,
though, I get back to it soon (just implementing it for a new widget).



SVN revision: 53641
2010-10-19 20:19:57 +00:00
Gustavo Lima Chaves 7d4f42fe00 New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.

This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).

Also, I'm introducing a new mode for Elementary lists: expand.



SVN revision: 53640
2010-10-19 20:19:12 +00:00
Lucas De Marchi 473a59fbcd remove ugly chars
\t and trailing whitespaces, stay away from me



SVN revision: 53446
2010-10-15 11:51:15 +00:00