Commit Graph

252 Commits

Author SHA1 Message Date
Daniel Juyung Seo 93eed9dd9a elm: Removed trailing whitespaces.
SVN revision: 63512
2011-09-21 10:37:23 +00:00
ChunEon Park a1f1eb1689 elementary/elm_object_item - added signal emit func.
SVN revision: 63424
2011-09-16 02:10:07 +00:00
Daniel Juyung Seo 95d188941d elm elm_widget.c: Fixed indentation.
SVN revision: 63361
2011-09-13 16:59:25 +00:00
Mike Blumenkrantz c705290b44 make ELM_CHECK_WIDTYPE & co macros useful. would you believe this macro came from my first ever code patch :D
SVN revision: 63334
2011-09-12 02:06:27 +00:00
WooHyun Jung d20294db8e elementary : Elementary focus can be controlled only when top window's
canvas gets focus. If elementary's focus control is tried with
unfocused canvas, newest_focus_count is only updated.


SVN revision: 63245
2011-09-07 06:15:55 +00:00
Tom Hacohen e36e207812 Elm tooltip: Added checks if the object passed is an elm object.
SVN revision: 62919
2011-08-28 14:12:38 +00:00
Daniel Juyung Seo 2d8183991e elm: Removed trailing whitespaces.
Raster finished accessibility. So I fixed it too.


SVN revision: 62737
2011-08-24 08:11:58 +00:00
Carsten Haitzler 27d751a236 and now add custom access info for items too and clean up nicely.
SVN revision: 62734
2011-08-24 06:39:29 +00:00
Carsten Haitzler a3592b4da6 and now add a "clicked" say... when u click.
SVN revision: 62587
2011-08-19 11:47:30 +00:00
Mike Blumenkrantz 49ab1fb009 clean up some of this horrific function pointer debacle
SVN revision: 62322
2011-08-10 23:43:50 +00:00
WooHyun Jung bda792c39a elementary : elm_win didn't be focused/unfocused following the focus
state of its ecore_evas.


SVN revision: 62235
2011-08-09 08:36:02 +00:00
Carsten Haitzler 465ca66ed3 we really should focus when we release mouse AND on_hold is... NOT
set. happy happy joy joy.



SVN revision: 62197
2011-08-08 10:32:32 +00:00
WooHyun Jung cf9f98b706 elementary : Partly rollback for about the feature "focus movement by
arrow keys". There is a better way to support this feature, so
implementing it now.


SVN revision: 62168
2011-08-06 07:39:31 +00:00
WooHyun Jung 85351c10c5 elementary : Focus movement is possible with arrow keys. You can check
this feature in elementary_test -> focus. 


SVN revision: 62125
2011-08-05 08:25:07 +00:00
ChunEon Park 646f514d34 elementary/elm_widget - patched by hyoyoung.chang@samsung.com
[E-devel] [patch] elm_widget - elm_widget_type_unregister

Dear developers.

This patch is adding a api to elm_widget.
In elm_widget, there is an api to register widget type to elementary's own
list.
However it doesn't provide unregister api.
So I made this patch.

Most of case, it's not needed. But in some case, it's useful.
(such as elm objects in DSO, if a DSO unloaded, registered widtype is
invalidated)

Thank you



SVN revision: 62099
2011-08-04 17:10:17 +00:00
ChunEon Park d16f2e9938 elementary/elm_widget - implemented elm_wiget_item_content_set_hook_set series.
SVN revision: 62095
2011-08-04 15:15:40 +00:00
ChunEon Park 4f559a7cdb elementary/elm_widget_item - wrapped the elm_widget_item with elm_object_item
But wonder, is it really needed the auto casting macros?

Why user not just use the elm_widget_item directly
and make their item data structures dangled to elm_widget_item just like smart object?



SVN revision: 62079
2011-08-04 05:06:02 +00:00
ChunEon Park bcd5e510b7 elementary - just renamed paramenter names for consistency.
SVN revision: 62053
2011-08-03 12:27:57 +00:00
ChunEon Park f14c66d340 elementary/elm_object_item - modified for consistency (naming, macros)
SVN revision: 62050
2011-08-03 11:55:24 +00:00
Daniel Juyung Seo 2f2ebe1835 elm focus: Added elm_object_focus_set() API. Use this instead elm_object_focus/unfocus().
SVN revision: 62049
2011-08-03 11:46:23 +00:00
ChunEon Park 1acea3d138 elementary/common - exported Elm_Object_Item type and a few common item APIs.
SVN revision: 62047
2011-08-03 09:34:00 +00:00
Carsten Haitzler 4f64dc8441 fix re-focusing of widgets once inlined window is focus. kind of
tricky requiring a 2nd shadowed parent.



SVN revision: 61989
2011-08-02 10:34:30 +00:00
Carsten Haitzler 99a6dcc101 spacing fix.
SVN revision: 61888
2011-07-29 11:21:43 +00:00
WooHyun Jung b1dde8fb29 elementary : Modified comments and removed trailing white spaces :)
SVN revision: 61839
2011-07-28 08:14:30 +00:00
WooHyun Jung 73057c35bd elementary/elm_main : Add elm_object_tree_unfocusable_set/get. This
API will set an object and its child objects to be
unfocusable/focusable.


SVN revision: 61838
2011-07-28 06:58:29 +00:00
ChunEon Park 2b8ae14cd2 elementary - added common APIs elm_object_content_set/get/unset
Now need to widgets use them. 



SVN revision: 61802
2011-07-27 09:49:14 +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
WooHyun Jung 26d14e25c9 elementary/elm_widget : add focus_disabled_handle.
SVN revision: 61270
2011-07-12 08:22:16 +00:00
WooHyun Jung 094e70883a elementary/elm_widget : When elm_win sets as disabled,
elm_widget_focus_cycle does nothing. So should be separated as sepcial
case.


SVN revision: 61169
2011-07-09 05:13:35 +00:00
WooHyun Jung e1aed4de50 elementary/elm_widget : One of parents sets as disabled, focus_steal
should be ignored.


SVN revision: 61165
2011-07-09 02:26:49 +00:00
Daniel Juyung Seo a4ba91dd39 elm conform: Eina_Bool parameter is added to API
elm_widget_show_region_set to set the show region always. Earlier, the
API expects some change, to redo the job. Patch by Prince Kumar Dubey
<prince.dubey@samsung.com>

------- Original Message -------
Sender : PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
Date : 2011-05-20 17:41 (GMT+09:00)
Title : [E-devel] [Patch] elm_conform patch

Hi Mr Seo,
Can you please send the attached patch of elm_conformant to EFL ope-src community.
Change Log:
Eina_Bool parameter is added to API elm_widget_show_region_set to set
the show region always. Earlier, the API expects some change, to redo the job.
This enhancement is already approved by raster in gerrit review.

Thank you.
Regards,

Prince


SVN revision: 61148
2011-07-08 07:50:36 +00:00
WooHyun Jung a36e9072b6 elementary/elm_widget : Fix _newest_focus_order_get, it should not
return disabled object


SVN revision: 61033
2011-07-05 07:59:01 +00:00
Tom Hacohen 4b0af66c91 Elementary: Rename elm_object_label_* -> elm_object_text_part_*.
This name is better as it also applies for entries, and not just
for labels.

SVN revision: 60975
2011-07-04 09:18:16 +00:00
WooHyun Jung eb919f67b6 elementary/elm_widget.c : fix wrong indentation :)
SVN revision: 60912
2011-07-01 09:10:11 +00:00
WooHyun Jung 695123a92c elementary/elm_widget.c : Delete meaningless conditional state
(already been checked by the above code)


SVN revision: 60911
2011-07-01 09:07:36 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

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

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Mike McCormack 75b14b3c7f elementary: Add hooks to set label get/set functions
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60796
2011-06-29 06:41:10 +00:00
Mike McCormack 6488c3d956 elementary: Add generic label getter and setter
These need to be hooked into each widget, one by one.

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

SVN revision: 60795
2011-06-29 06:40:59 +00:00
WooHyun Jung d2e1bb54ea Elementary elm_widget.c: fixed a bug in elm_widget_sub_object_del
Original code did nothing for sd->child_can_focus, So fixed it.


SVN revision: 60470
2011-06-18 05:47:57 +00:00
WooHyun Jung bc20ba3b20 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] elm_widget_focus_steal should be executed
only with "can_focus" object.

I think elm_widget_focus_steal function should be executed only with
"can_focus" widget object.

("Cannot_focus" object has no right to steal focus from others !!)



SVN revision: 59733
2011-05-27 10:47:52 +00:00
Carsten Haitzler 57fbce9787 lets warning-- shall we?
SVN revision: 59731
2011-05-27 10:44:21 +00:00
Daniel Juyung Seo 9005f95c62 Elementary: Removed trailing whitespaces except for some files that
raster is heavily working on recently.


SVN revision: 59683
2011-05-26 00:39:12 +00:00
Carsten Haitzler 356e7c1d4d fmting.
SVN revision: 59640
2011-05-24 07:49:37 +00:00
Daniel Juyung Seo 8c7b5da537 Elementary elm_widget: Use Eina_Bool instead of int for boolean type.
SVN revision: 58969
2011-04-27 16:12:56 +00:00
Carsten Haitzler 59f8230bb5 kbd input/fcosu works on inlined wins. wootsors
SVN revision: 58664
2011-04-14 12:47:16 +00:00
Boris Faure f51d67cc85 elementary: fix compilation
SVN revision: 58298
2011-04-03 11:55:56 +00:00
Daniel Juyung Seo b690e88b69 Elementary elm_widget.c: Fix formatting.
Used ecrustify then fixed manually. Ecrustify still has wrong formatting.


SVN revision: 58285
2011-04-03 06:43:17 +00:00
Daniel Juyung Seo 4c5e18eb11 Elementary elm_widget.c: Removed ; after INTERNAL_ENTRY.
SVN revision: 58284
2011-04-03 05:48:00 +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 22588576be elementary/theme, widget, win, toolbar, thumb, toggle, util, box - removed white spaces
SVN revision: 58249
2011-04-01 11:20:18 +00:00
Daniel Juyung Seo 65a8f97f30 Elementary elm_widget.c: Modification of last change in
elm_widget_show_region_set function.

Patch by WooHyun Jung <wh0705.jung@samsung.com>



SVN revision: 58015
2011-03-23 07:15:01 +00:00
Daniel Juyung Seo 08bde06005 Elementary elm_widget.c: Used API_ENTRY, INTERNAL_ENTRY macros. Prevented segv.
SVN revision: 58001
2011-03-22 22:12:33 +00:00
Carsten Haitzler daff42bd02 warning--
SVN revision: 57955
2011-03-22 02:12:27 +00:00
WooHyun Jung 52c6c2171d From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] Focus issue in elm_widget.c

I've checked there were some focus problems when an object is hidden. 

So I made patch for that ~ 



SVN revision: 57898
2011-03-19 15:13:14 +00:00
Tom Hacohen 42588f455d Elementary widget: Fixed NULL checking in elm_widget_show_region_set
Patch by WooHyun Jung.

SVN revision: 57823
2011-03-17 12:10:02 +00:00
ChunEon Park d3c8d9fe03 elementary/elm_widget - fixed typo
SVN revision: 57820
2011-03-17 10:49:31 +00:00
ChunEon Park 8bbb43b901 [elementary/widget] fixed logic error which was caused by me.
SVN revision: 57817
2011-03-17 09:39:36 +00:00
ChunEon Park 7a7a2dd695 elementary/elm_widget - added minor exceptions.
SVN revision: 57688
2011-03-11 11:44:23 +00:00
ChunEon Park f5c5b5d054 elementary/widget - add one exception handling where it should be.
After a widget is created(obj = elm_widget_add), the object does not have any parent object.
However if user call elm_widget_sub_object_add(parent, obj), then CRI will be happened. 
So the exception should be there. 



SVN revision: 57667
2011-03-10 12:04:00 +00:00
Daniel Juyung Seo 160b24fdb3 Elementary elm_widget.c: Removed trailing whitespaces.
SVN revision: 57655
2011-03-10 07:22:22 +00:00
Tom Hacohen f5cad764e6 Elementary ui-mirroring: Added on-the-fly ui-mirroring infrastructure
SVN revision: 56845
2011-02-09 16:13:58 +00:00
Tom Hacohen 689ff9abd5 Elementary: Added the infrastructure for ui-mirroring support.
* Added elm_mirrored_get/set to set the system mirrored mode
* Added elm_widget_mirrored/get/set to set each widget's mirrored mode.
* Added code to set the system mirrored mode from translations to elementary and added translations for all the rtl languages. (a trick to load according to locale).
* Future commits will include specific widgets mirrored mode handling.
Work by Aharon Hillel and Tom Hacohen.

SVN revision: 56673
2011-02-03 15:52:49 +00:00
Carsten Haitzler 7ab9807bd0 fix over-render bug in map/mapbuf and with changed flags! that was
nasty to find!



SVN revision: 56220
2011-01-19 11:59:53 +00:00
Carsten Haitzler 1dd7415d72 and handle null/default theme stuff
SVN revision: 56045
2011-01-11 09:40:03 +00:00
Carsten Haitzler bbb3cea0ef fix theme specific add if default theme involved.
SVN revision: 56042
2011-01-11 07:48:02 +00:00
Gustavo Lima Chaves 654cdc80f8 Revert "This helps at Elementary vs non-Elementary UI elements mix scenarios WRT *focus*."
This proved not to help much, as dealing with non-elm things
focus-wise is pure hell. Reverting.



SVN revision: 55675
2010-12-20 19:21:17 +00:00
Gustavo Lima Chaves 19daef4293 This helps at Elementary vs non-Elementary UI elements mix scenarios WRT *focus*.
It seems not to hurt at Elementary only applications, but if you see
any regressions, please tell me!!



SVN revision: 55600
2010-12-16 18:38:46 +00:00
Gustavo Lima Chaves 160bef2629 One more useful debugging info. at the dot graph.
SVN revision: 55599
2010-12-16 18:38:38 +00:00
Myungjae Lee e16cbefa0e From: Myungjae Lee <mjae.lee@samsung.com>
Subject: Re: [E-devel] [PATCH] elm widget: make show_region_set
function call all region show functions set by parents

I'm trying to send several patches that I've changed.
This is just the beginning of my patch rushes..

'elm_widget_show_region_set' function works fine in the simple case (any
widget inside one scroller) however, in the complex parent-child case
(such
as entry in the box in the horizontal scroller in the layout in the
vertical
scroller) it doesn't work correctly because all show region functions
set by
scrollers are not called.

So I changed it to call all show region functions set by its parents
widgets
if exist.

Please review the attached patch file and feel free to give me any
kind of
feedback.



SVN revision: 55592
2010-12-16 09:53:25 +00:00
Tiago Rezende Campos Falcao 31152f038c RIP elm_widget_focus_jump
The last call to this method was removed. This method broke the focus
tree and we don't need it anymore.

SVN revision: 55410
2010-12-09 13:07:45 +00:00
Tiago Rezende Campos Falcao f3b2aaffa3 Replace focus_jump by focus_cycle in disabled_set
elm_widget_disabled_set was calling focus_jump and it broke the focus tree.
Now, using focus_cycle to pass focus to next object.

Added test to disable focused button in test_focus.

SVN revision: 55408
2010-12-09 13:07:39 +00:00
Gustavo Lima Chaves 98c069eaef Now those won't appear in doxygen's output.
SVN revision: 55362
2010-12-07 19:17:50 +00:00
Gustavo Lima Chaves f84b6c5f52 Mouse wheel events elm-propagated too.
SVN revision: 55324
2010-12-06 12:45:41 +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 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Carsten Haitzler 01e71a2649 well... many things - genlist, when it is processign quue, or u
add.del items will try and stick to viewing an acnhor item. it also
handles wrapping text properly now if style has such a thing - a test
style with that is there too (message style) for now - found isasue in
edje with textblock styles - doesnt change on state change. but anyway
- re-wrapping text works.. and it progressively processes the genlist
blocks to re-calc sizes etc. etc. so you dont block and so-on. i5ts
not too shabby. as for that - store has a generic struct type reader
now and is being tested... and get rid of unused var.



SVN revision: 54738
2010-11-20 08:43:43 +00:00
Carsten Haitzler b74087982a no debug!
SVN revision: 54492
2010-11-12 10:59:44 +00:00
Carsten Haitzler 0584726101 fix focus revert -> reverting should revert only to widgets that say
they CAN be focused :) see conform 2 test. focuse the entry in the
pager then dlete the pager page (pop). before focus vanished. now it
goes back to the top entry as you'd expect.



SVN revision: 54486
2010-11-12 04:16:24 +00:00
Carsten Haitzler 5f8146dff7 comment++!
SVN revision: 54485
2010-11-12 03:13:38 +00:00
Carsten Haitzler 5400a9a7f1 elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).



SVN revision: 54169
2010-11-05 08:37:31 +00:00
Bruno Dilly 7c5152ef83 Add cursor getters for elm widgets and items
SVN revision: 54164
2010-11-05 00:46:54 +00:00
Carsten Haitzler 32c2779ac4 mapbuf -> hide/show content absolutely if mapbuf is hidden/shown and
add test.



SVN revision: 54014
2010-10-30 04:01:09 +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 d938999c78 Add missing object type checkers.
The test test_decl now warn about missing API_ENTRY or
ELM_CHECK_WIDTYPE.

SVN revision: 53956
2010-10-28 13:38:55 +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
Iván Briano 3ec77727cc Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.


SVN revision: 53778
2010-10-22 18:29:51 +00:00
Tiago Rezende Campos Falcao 6bea70c4e4 Improve Focus manager.
In Window show, the focus is given to first focusable object, or to
window if no exist focusable object. So, suggest create the widgets
before show the window.

If pager is focused, it give the focus to top page in each promote.

SVN revision: 53733
2010-10-21 18:58:43 +00:00
Tiago Rezende Campos Falcao ece2114120 Review type checkers in main and widget
SVN revision: 53732
2010-10-21 18:58:40 +00:00
Tiago Rezende Campos Falcao b8ac8c0e80 Added focus_direction_go entry in API.
Also, exported the focus_cycle.

SVN revision: 53659
2010-10-20 12:38:27 +00:00
Bruno Dilly a109dce782 Fix some wextra complains on elm lib
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Tiago Rezende Campos Falcao b0694a1817 Include docs to focus cycle.
SVN revision: 53618
2010-10-19 14:17:03 +00:00
Iván Briano 0016872d45 Kill double declaration.
Patch by Fidencio again, after I stupidly forgot to remove it in the first one.


SVN revision: 53574
2010-10-18 17:11:18 +00:00
Iván Briano 2235e7f37d Properly check for Smart_Data of subobject before using.
Modified patch by Fabiano Fidencio


SVN revision: 53573
2010-10-18 17:01:11 +00:00
Leandro Pereira c245c6483f [Elementary] Code cleanups, as suggested by clang static analyzer.
SVN revision: 53472
2010-10-15 21:26:11 +00:00
Carsten Haitzler ee860fa225 handle resize object set better if resize obj already a child of
another elm widget



SVN revision: 53435
2010-10-15 06:04:33 +00:00
Bruno Dilly fcccd7dd5a Clean elm of null pointers dereferences
SVN revision: 53399
2010-10-14 14:12:26 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Tiago Rezende Campos Falcao f17463a37f Add Object name in dot dump
Now can generate graphs like this:
https://trac.profusion.mobi/~tiago/editje_elm_dump.png

Call elm_object_tree_dot_dump(obj, "file.dot")
and use $ dot -Tpng file.dot -ofile.png

SVN revision: 53205
2010-10-08 20:16:48 +00:00
Tiago Rezende Campos Falcao 9ff54ffc12 Fix event propagation in elementary.
Need set ON_HOLD, and check it.

SVN revision: 53194
2010-10-08 16:27:04 +00:00