Commit Graph

447 Commits

Author SHA1 Message Date
Carsten Haitzler af5309f0a2 no space affter cast
SVN revision: 68296
2012-02-23 04:09:43 +00:00
Carsten Haitzler 0d93e97822 can_focus ne3eds to be actually set - not just tested against
SVN revision: 68295
2012-02-23 04:09:05 +00:00
ChunEon Park ed5c8799f5 elementary/focus - reviewed done!
SVN revision: 68218
2012-02-21 12:36:54 +00:00
Carsten Haitzler 549b50e5ec oops return the focus order no matter what
SVN revision: 68212
2012-02-21 10:55:30 +00:00
Carsten Haitzler 628927d3d4 use focus order to determine if window never focused before instead of
show count. fixes focus problems in elm tests for entries



SVN revision: 68211
2012-02-21 10:54:46 +00:00
Carsten Haitzler 14d2ad43e6 fix up some missing checks.
SVN revision: 68158
2012-02-20 12:23:46 +00:00
Carsten Haitzler 80f5f7ec1d missing EAPI
SVN revision: 68157
2012-02-20 12:17:45 +00:00
Carsten Haitzler 1656bc941d make sure to pass const to these funcs when getting.
SVN revision: 68156
2012-02-20 12:13:08 +00:00
ChunEon Park 991bed89dc elementary/widget - improve coding convention
SVN revision: 67968
2012-02-15 09:02:07 +00:00
ChunEon Park b3af72d606 elementary/widget - fixed to prevent infinite loop.
Now, if user passes the parent object of obj as the sub object, 
then it reverses the obj - subobj relationship.



SVN revision: 67823
2012-02-10 12:29:04 +00:00
ChunEon Park 4c6d88b090 elementary/widget - sorry. I didn't intend this.
SVN revision: 67669
2012-02-01 05:24:59 +00:00
ChunEon Park 4ea4e28f15 elementary/widget - just removed macros duplicated impl.
SVN revision: 67666
2012-02-01 03:07:53 +00:00
ChunEon Park 40e51b5fea elementary/gengrid - deprecated elm_gengrid_item_del()
please use elm_object_item_del() instead



SVN revision: 67621
2012-01-31 03:03:17 +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 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
ChunEon Park 594430c470 elementary/widget - just renamed internally.
SVN revision: 67006
2012-01-10 00:33:51 +00:00
ChunEon Park aac0e16d03 elementary/widget - +del_pre_hook
now elm_object_item_del is exposed to users, 
this callback is used for widgets to use internally.



SVN revision: 67004
2012-01-10 00:02:58 +00:00
ChunEon Park 923fe0cef6 elementary/widget - modified like freeze_pop.
SVN revision: 66986
2012-01-09 07:03:28 +00:00
Kim Shinwoo 78abd8f634 elementary/widget
Re: [E-devel] [Patch] elc_ctxpopup, using elm_smart_scroller_freeze_set() not elm_object_scroll_freeze_push(), pop()

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>



SVN revision: 66985
2012-01-09 06:59:33 +00:00
Carsten Haitzler 1713de6106 add recursie object find function - it will only look at elm children
not go into edje objects et.c and hunt their children too. should be
more efficient than evas's recursive name finder.



SVN revision: 66591
2011-12-28 06:01:31 +00:00
Carsten Haitzler b8d342e49e add func for recursively finding named widgets.
SVN revision: 66589
2011-12-28 05:51:10 +00:00
ChunEon Park 98686a8dc6 elemenatry/widget - added NULL check
SVN revision: 66322
2011-12-19 07:22:25 +00:00
ChunEon Park 507e025612 elemenatry/elm_widget - removed unnecesary compare.
if the obj is NULL then sd will be NULL also.



SVN revision: 66321
2011-12-19 07:06:22 +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 ba25d2754d use sub-object-del signal for win stuff
SVN revision: 65910
2011-12-05 15:27:32 +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
Mike Blumenkrantz c74f2f3db5 fix super annoying elm_win bug that went something like this:
win_resize_object_add(win, subobj);
object_content_set(otherobj, subobj);
object_del(win);


ERR<21326>:elm-externals elm_widget.c:978 elm_widget_sub_object_del() removing sub object 0xdeadbeef (some_stupid_widget) from parent 0xRRRRRRRR (win), but elm-parent is different 0xFUCKTHIS (NOT EVEN A WIDGET)!


SVN revision: 65884
2011-12-05 04:26:32 +00:00
Mike Blumenkrantz ed23ba2a83 make sub-object delete failure messages even more useful
SVN revision: 65882
2011-12-05 03:27:32 +00:00
Mike Blumenkrantz 6d343a75c5 make sub-object delete failure messages useful
SVN revision: 65881
2011-12-05 03:26:19 +00:00
Jaehwan Kim 546d5e51e5 Bug fix about scrolling wrong location. The main point is to use the UPDATED geometry of the child object, but the geometry has yet to be calculated and is queued for calculation later.
Firstly, for efficiency, we add a Job to calculate the whole canvas. Jobs implicitly coallate work per event loop.
Calcuation of object can be a reasonably intensive set of work.
In the job callback we calculate the whole canvas with evas_smart_objects_calculate() to ensure that all objects have the correct geometry at this point.
Reviewed by Raster.


SVN revision: 65509
2011-11-22 06:37:30 +00:00
Cedric BAIL 22fbd58e71 elementary: fix build of elementary without internationalization.
SVN revision: 65435
2011-11-20 13:58:35 +00:00
WooHyun Jung a8bd6a6ff4 elementary/elm_widget : sd2->parent should be set as NULL after all
focus control is finished.


SVN revision: 65400
2011-11-19 03:50:58 +00:00
WooHyun Jung d6be239f73 elementary/elm_widget : When elm_widget_sub_object_del is called with
focused sub-object, focus should be reverted back to the latest focused object.


SVN revision: 65399
2011-11-19 03:47:27 +00:00
ChunEon Park 63d9164a36 elementray - +2 APIs
elm_object_item_disabled_set/get 



SVN revision: 65324
2011-11-17 01:58:03 +00:00
WooHyun Jung 378ccf637c elementary/elm_widget : Fixed wrong indentation
SVN revision: 64627
2011-11-02 00:36:24 +00:00
WooHyun Jung 18f1dd78a5 elementary/elm_widget : Just changed some Int values to Eina_Bool.
SVN revision: 64626
2011-11-02 00:27:04 +00:00
WooHyun Jung 73408c102b elementary/elm_widget : Focus should be moved by "clicked" not by
"mouse_up". So modified about this.


SVN revision: 64548
2011-10-31 08:26:12 +00:00
Gustavo Lima Chaves e9a1d80e4a [elementary] Fix edje signals leak!!
Besides we free the object pointed by esd, we NEED the right pointer's
value to unregister the signal with
edje_object_signal_callback_del_full().



SVN revision: 64415
2011-10-26 16:57:12 +00:00
Carsten Haitzler ba1d2ac288 make elm widget a bit more paranoid/safe
SVN revision: 64392
2011-10-25 12:30:39 +00:00
Daniel Juyung Seo 9483f54dd1 elm widget.c: Refactorying. Use same variable name as others. Easier to read the code.
SVN revision: 64192
2011-10-20 07:31:37 +00:00
Daniel Juyung Seo 6e2e8e44ae elm widget.c: Set resize_obj first.
SVN revision: 64185
2011-10-19 17:36:51 +00:00
Daniel Juyung Seo 72e463d9b0 elm widget.c: Code refactorying. Check sobj first. We do not need to check sobj twice.
SVN revision: 64182
2011-10-19 17:07:15 +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
ChunEon Park 009d533645 elementary - fixed some logic errors patched by rajeev.r@samsung.com
Hi all,
I found few memory related issues in elementary package when performed static analysis on it.

These issues include:
Array indices getting out of bounds, freed memory address being passed to a function as parameter, memory not getting cleaned up because of earlier return statement.

Issues details:
1. In elm_widget.c inside function elm_widget_signal_callback_del(), it is possible that freed memory address esd is passed to the sd->callback_del_func(). I think it should be data, not esd.
Moreover what if the callback frees memory for data, then the other problem is that the return value is data from the function elm_widget_signal_callback_del() which in my opinion can be a problem.

2. Inside directory src/edje_externals for files elm_genlist.c, elm_notify.c, elm_list.c, elm_thumb.c and elm_map.c, array indices can go beyound bounary.
sizeof() operator for an array of character pointers will return [number of elements in the array * size of (char*)], basically 4 times the number of elements which has been taken care in assertion inside src/edje_extenarnals
while performing assertion but has been missed in the next statement in the loop condition.

3. In file src/lib/elm_config.c inside function _elm_config_profiles_list, freeing of file iterator has been missed out.

Please review the attached patch and let me know your opinion.

Thanks.
Regards,
Rajeev



SVN revision: 63550
2011-09-23 00:02:13 +00:00
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
Tiago Rezende Campos Falcao 7b9804f31a Don't add again one child to the same parent
SVN revision: 53193
2010-10-08 16:27:01 +00:00
?\236?\157?\180?\235?\170?\133?\236?\158?\172 acec5fa410 From: ?\236?\157?\180?\235?\170?\133?\236?\158?\172 <mjae.lee@samsung.com>
Subject: patch for elm_widget_show_region_set function
  
back in again. i backed it out because of unrelated issues.



SVN revision: 53184
2010-10-08 12:50:40 +00:00
Tiago Rezende Campos Falcao f24cfca511 Removing unused variables to clean compile
SVN revision: 53146
2010-10-07 14:49:37 +00:00
Carsten Haitzler cddcaed64e aaaagh! free the member list! :)
SVN revision: 53131
2010-10-07 03:53:53 +00:00
Tiago Rezende Campos Falcao d959e612eb Adding custom chain to focus.
Added set, get, unset, prepend and append (relative or not).

Set - overwrite the custom chain
Unset - Delete the custom chain
Get- Return the custom chain
Append - append after the relative object or in the end
Prepend - prepend before the relative object or in the start

SVN revision: 53115
2010-10-06 20:24:22 +00:00
Tiago Rezende Campos Falcao ef18ffa4f4 Set const where need in focus_next_get functions set
SVN revision: 53114
2010-10-06 20:24:19 +00:00
Tiago Rezende Campos Falcao 434ed6e093 Adding elm_widget_focus_cycle method
This will cycle focus inside the sub-tree of one object.

SVN revision: 53113
2010-10-06 20:24:16 +00:00
Tiago Rezende Campos Falcao 198ca1fd95 Rename focus method from cycle to next_get
SVN revision: 53112
2010-10-06 20:24:13 +00:00
Tiago Rezende Campos Falcao c3e3585e83 Optimized Linear Focus Chain
Before, the focus_cycle try pass the focus to next, and try again if
need loop the objects. Now, the focus cycle return possible next
object and if is necessary loop or not to focus this returned object.

SVN revision: 53111
2010-10-06 20:24:09 +00:00
Tiago Rezende Campos Falcao a11d03a921 Adding method to output the elm obj tree in dot.
This Debug search all subobjects from one object and put in file all
sub-tree of elementary objects as dot language in file. After you can
use dot(from graphviz) to generate PNG, SVG,... diagram of objects.

SVN revision: 53035
2010-10-04 18:37:48 +00:00
Tiago Rezende Campos Falcao 3b04b52ba4 Adding debug option in elementary.
SVN revision: 52966
2010-10-01 19:03:23 +00:00
Tiago Rezende Campos Falcao 6fd3d0b565 Better management to focus cycle.
Now Widgets can control between children interation or receive focus
itself. And focus_cycle has now one default code.

And don't pass focus to disabled widgets

SVN revision: 52959
2010-10-01 19:02:55 +00:00
Carsten Haitzler c48b8da243 one more focus case.
SVN revision: 52879
2010-09-29 05:27:42 +00:00
Carsten Haitzler 540bb06455 this should fix reparenting of already focused widgets and properly
reset focus stack.



SVN revision: 52876
2010-09-29 03:59:28 +00:00
Iván Briano 8f7c57b6c7 Little debug function. It helped already to track the scrolled_entry focus problems.
SVN revision: 52861
2010-09-28 19:35:12 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Tiago Rezende Campos Falcao a276bb071a Refactoring focus_cycle_next_get and copies
SVN revision: 52813
2010-09-27 21:13:25 +00:00
Brett Nash fba4994c3d Shush GCC up.
SVN revision: 52796
2010-09-27 04:25:10 +00:00
Bruno Dilly 89f23acadc Remove some dead assignments from elementary
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Bruno Dilly 3dd29a961c Implements a way to select if we should use ecore_evas for cursor or only engine
With this commit is now possible to not use theme's cursor (default behevior)
that could be overriding cursors defined by the engine.



SVN revision: 52761
2010-09-25 22:03:37 +00:00
Bruno Dilly 816c77b3fa Add cursor support on Elm using ecore_evas
Basically, get the group from widget theme, using the string passed to
elm_object_cursor_set, get hot spots x and y from the theme (keeps the object
and these two integers on cursor struct).
Cursor is set with ecore_evas_object_cursor_set()

Some functions to change style were added to the api.



SVN revision: 52760
2010-09-25 22:01:19 +00:00
Tiago Rezende Campos Falcao 113ad55d2e Focus Linear Chain for some Widgets
Containers implemented (and with test):
* Win
* Box
* Scroller
* Layout
* Panel

SVN revision: 52686
2010-09-24 14:47:59 +00:00
Tiago Rezende Campos Falcao 66d585a905 Elm_widget_can_focus only return if can have focus.
If want the old comportament, use elm_widget_can_focus_receive_get()

SVN revision: 52684
2010-09-24 14:47:52 +00:00
Iván Briano 7255d69dc1 Highlight in theme wins over generic object
Still needs stuff done in themes and widgets code to make it functional.
It will start coming tomorrow morning. (My morning)



SVN revision: 52608
2010-09-22 22:33:57 +00:00
Gustavo Lima Chaves 79de9a1792 Fix reverting focus to the previous widget.
There's currently in Elementary a way for widgets that die to revert
    focus to whoever had it first, but it was broken in some cases.




SVN revision: 52550
2010-09-21 18:55:32 +00:00
Tiago Rezende Campos Falcao ba4e1c944e Elementary event propagation to widget parents
The Elm Widgets aren't disposed exactly as trees of Evas Objects, so
need store widget parents separated from Evas Smart Object parents.

The Evas propagation events don't satisfy all use cases. Like managing
events in elm_win or try if one parent manage the event before manage
it.

In this, I add hook to each widget manage their interested events or
from their child.

SVN revision: 52527
2010-09-21 02:02:24 +00:00
Iván Briano 6879d7fdad Begins highlight on focused object.
There's still work to do here, particularly in the theme, but it has
something nice and fun to see the code working.
The idea behind this:
Window tracks focused object and sends the highlight object(s) to it. These
are simple edje objects, one on top, one below the focused widget for nice
effects. Widgets can choose to ignore the highlight and this will be sent to
the parent object, if it doesn't ignore it as well.
About the bottom object, it doesn't work now. For the most part, focused
widget will always be a member of some smart object, so stacking won't work
and the desired effect is nowhere to be seen. This will be worked out later.
To be done now:
 - Let the theme for a widget define its own highlight, disabling if needed
 the standard one for those objects.
 - Needed base in code to allow animations when switching focus. All in theme.
 - Properly test all widgets and fix some things that will most likely work
 in weird ways, given the nature of Evas/Edje and how Elementary makes use
 of them.
 - Forgot the rest, stay tuned, test, report, give ideas, plant a tree.

Work started by glima, continued with some refactors by me when he
decided he needed vacations.


SVN revision: 52524
2010-09-20 22:18:58 +00:00
Iván Briano 66707ffab4 Fix typo, we want the parent, not some random data
SVN revision: 52506
2010-09-20 19:54:48 +00:00
Bruno Dilly 66e512552f Add support on Elm to customized cursors
Widgets can have customized cursors setting it with elm_object_cursor_set.
Widget's item can use elm_X_item_cursor_set to set a different cursor
for each item.
It will work only if HAVE_ELEMENTARY_X for now, but support for themeable
cursors is planned.



SVN revision: 52382
2010-09-17 18:24:10 +00:00
Carsten Haitzler bb4e5a8f8a just a sec. back that out.. someone has broken icons.. and now i dont
want to hunt thru recent commits to find it.



SVN revision: 52335
2010-09-16 05:33:19 +00:00
이명재 6b36a90eae From: 이명재 <mjae.lee@samsung.com>
Subject: patch for elm_widget_show_region_set function



SVN revision: 52334
2010-09-16 05:23:34 +00:00
Carsten Haitzler 68f5b4119b oooh big cleanup. internal elm widget api cleaned up a bit.
SVN revision: 52178
2010-09-13 07:56:23 +00:00
Gustavo Sverzut Barbieri 494c1a6dca Tooltips: split owner/eventarea, allow subitems to have indepentent tooltips.
Now owner widget (elm_widget) is just used to listen for theme changes
and create/destroy the tooltip data. The actual mouse events operates
on all Evas_Object and is the one where tooltip data is actually
stored.

The public API is basically the same, just the event_info is now NULL
to avoid confusion.

The internal API introduces elm_object_sub_tooltip_content_cb_set()
and as the first parameter the eventarea. While this may be confusing,
as the second parameter is the actual elementary object, it is the one
that all other calls receive, like elm_object_tooltip_hide() or
elm_object_tooltip_unset(), thus it does make sense to have such order.

Also internal API, elm_widget_item_tooltip_* functions were
added. They are a variation of the widget API to handle its items, as
such the func() gets one more parameter: item, and the del_cb() gets
the item as event_info (that's why the public widget version got
event_info always NULL, to not confuse with this one!)

Widgets with items that makes sense to have tooltips got extra API:
  * toolbar
  * list
  * gengrid
  * genlist




SVN revision: 52173
2010-09-12 21:05:13 +00:00
Gustavo Sverzut Barbieri 5c61931bd1 Welcome Tooltips.
Tooltips are set using elm_object_tooltip_content_cb_set(), that
returns the desired Evas_Object to use as contents, or using the
helper function elm_object_tooltip_text_set() that uses that
underneath.

The behavior is controlled part on elm_config, theme and user
application. In elm_config one defines the tooltip timeout. The theme
defines the padding around cursor x/y and window border x/y, as well
as the look and feel. Last but not least, the user application may
want to change the tooltip style with elm_object_tooltip_style_set().

Have fun!

This code was initially written by Tiago Falcao and Fabiano Fidencio,
I did some API review and changed some bits.

TODO: elm widget item support, like with toolbar items.




SVN revision: 52150
2010-09-11 00:52:33 +00:00
Gustavo Sverzut Barbieri 5e7dfe1c8c Introducing Elm_Widget_Item: common ground for widget sub items.
Lots of widgets have items that are not Evas_Object of type elm_widget
per se, like Elm_List_Item or Elm_Toolbar_Item. They all have, or
should have, some common attributes and functions such as data,
del_cb, a view object and a parent/owner widget. Thus this is being
provided and will be later used in future patches.

Right now I opted to hide elm_widget_item_del_cb_set(),
elm_widget_item_data_get(), elm_widget_item_data_set() inside
elm_priv.h and keep the old functions as wrappers to the new. But
maybe in future we can remove them and have the user to call the
common function.

Future extensions will use this base, such as tooltip support.




SVN revision: 52116
2010-09-10 01:54:05 +00:00
Carsten Haitzler 9edf419558 and umm... work... and .. struff.. ugh. don't ask.
SVN revision: 51851
2010-09-03 00:08:11 +00:00
Carsten Haitzler 27298797f0 finally! flip works! happy!
SVN revision: 51833
2010-09-02 10:25:05 +00:00
Carsten Haitzler cda4f422b1 ooof flippidy-do-da... working much better.
SVN revision: 51831
2010-09-02 09:58:52 +00:00
Carsten Haitzler 42ec2033bb fix some most unfortunate lack of clip honorning :)
SVN revision: 51773
2010-08-31 06:20:33 +00:00
Lucas De Marchi 5fa0945d28 Constify parameters of elm_widget_drag_*_get functions
Change "Evas_Object*" to "const Evas_Object*" in:
 * elm_widget_drag_lock_x_get()
 * elm_widget_drag_lock_y_get()
 * elm_widget_drag_child_locked_x_get()
 * elm_widget_drag_child_locked_y_get()

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 50177
2010-07-10 22:05:37 +00:00
Bruno Dilly d350f3a293 Change elm functions elm_object_signal_listen to elm_object_signal_callback_add
and elm_object_signal_unlisten to elm_object_signal_callback_del


SVN revision: 49926
2010-06-28 15:32:20 +00:00
Bruno Dilly 8d644e43ed Implement elm_object_signal_listen and unlisten
elm_object_signal_listen add callback(s) for edje object(s) of the widget.
elm_object_signal_unlisten delete this callback.
They're general functions, and every widget should set hooks for these.

It will improve elm extension flexibility. We have already
elm_object_signal_emit to send signals for the widgets theme, adding callbacks
is an expected step.

It provides a way to support sound on widgets. For example, in the elm extension
we could emit "file_to_play", "play", and add a callback with
elm_object_signal_listen for "*", "play". The callback function could use
the signal received to request the file to be played by the backend
sound system.

Certainly we should look for a better way to provide support for sound
on edje, but for now, it does the work. And anyway, it's only a use case
for these new functions.



SVN revision: 49868
2010-06-25 22:38:32 +00:00
Carsten Haitzler 643d06dd16 aaah safety delete - nash nash nash. for you.
SVN revision: 49825
2010-06-24 02:54:03 +00:00
Iván Briano 1e173716de Fix the usage of API_ENTRY macro in the new funcion _newest_focus_order_get
By: Thiago Ribeiro Masaki <masaki@profusion.mobi>



SVN revision: 49785
2010-06-21 18:16:45 +00:00
Carsten Haitzler e8e922488e fix focus issue if child has focus and is deleted (or in this case not
- hidden) - focuse most recent focused widget.



SVN revision: 49780
2010-06-21 07:39:49 +00:00
Bruno Dilly db550353a8 Add elm_object_signal_emit
This function sends a signal to the edje object of the obj.
It's a general function, and every widget should set a hook for this.

I'm setting a hook only for the spinner now, but soon I will work on other widgets.



SVN revision: 49681
2010-06-15 14:11:13 +00:00
Fabiano Fidêncio 7746e8b514 From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...



SVN revision: 49470
2010-06-05 13:12:45 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Carsten Haitzler 83286a1d84 scroller in scroller.... works! well with scrollers for now (elm_scroller).
need to fix up some other instances of use of elm_smart_scroller. it's a 1
liner.



SVN revision: 48667
2010-05-07 13:21:45 +00:00
Carsten Haitzler 27012f5b0e sorry.. elm_widget is internal. dont document it. not to be known outside of
elm. :)



SVN revision: 48535
2010-05-02 01:44:38 +00:00
Vincent Torri 86d5c41583 * remove shadow declarations
* missing initializer in Evas_Smart_Class (the data field was missing)


SVN revision: 48197
2010-04-21 07:46:03 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Gustavo Sverzut Barbieri 86bf257913 fix _elm_widget_type_check() to return FALSE on failure.
SVN revision: 47497
2010-03-27 01:19:44 +00:00
Gustavo Sverzut Barbieri dbd9fcce4d Enable check of Elementary widgets and getting the first widget that
is parent of an Evas_Object.

With these in place, one can check if the given object is an elmentary
widget and query for the first widget that is parent, so we can add
them and keep focus chain correct, useful for Edje externals, patch to
follow.




SVN revision: 47374
2010-03-22 21:36:59 +00:00
Carsten Haitzler 2257453fe4 example of how to work around heirachy to go back up the tree - but wont work
for going bck down. i.e. - focus.



SVN revision: 47302
2010-03-17 01:08:39 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler f3034c8196 more members for newer struct - init to null.
SVN revision: 47092
2010-03-09 16:56:31 +00:00
Carsten Haitzler 6792e2db2c warning fix 1. :)
SVN revision: 47074
2010-03-09 07:30:48 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Gustavo Sverzut Barbieri 818032a68f elm_layout: deferred sizing_eval to calculate (pre-render) phase.
This plays well with edje's own deferred calculations. Usually size
hints are set on children and edje will flag itself as dirty, but real
calculations are deferred to "calculate" phase before rendering.

For now this unbreaks elm_layout with contents... but other types such
as GROUP, BOX and TABLE remain broken: when they change their internal
state (ie: child object is packed into box or table), this will not
trigger elm_layout.

That said, we need a better solution. Maybe ask edje to emit signals
when one of its children change hints (it already listen to this
anyway), in this case elm_layout should listen to those instead of
connecting directly to objects given through elm_layout_content_set().



SVN revision: 43752
2009-11-17 16:32:45 +00:00
Gustavo Sverzut Barbieri 16fec09332 nasty bug, die die dieeeeeeeeeeeeee
took me some time to spot the problem was in the nasty typo... :-(



SVN revision: 43681
2009-11-13 22:18:43 +00:00
Jonathan Atton 7be1d94aa2 Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Carsten Haitzler 07dee04e84 dont grab focus if widget cant focus.
SVN revision: 43197
2009-10-22 12:04:55 +00:00
Christopher Michael 8eab5228ea Remove unused variables.
Formatting.



SVN revision: 43144
2009-10-18 06:03:03 +00:00
Carsten Haitzler 82540069b8 fix scale_get(). thanks marco
SVN revision: 43010
2009-10-11 05:43:42 +00:00
Jonathan Atton 82a9eb4bc5 elementary, new widget: slideshow. See elementary_test
SVN revision: 42660
2009-09-23 22:56:47 +00:00
Carsten Haitzler fa8fac0c23 comments.
SVN revision: 42339
2009-09-08 04:41:36 +00:00
Christopher Michael 158f95cd37 Simplier check for disabled state.
SVN revision: 42022
2009-08-26 16:52:53 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Gustavo Sverzut Barbieri 324514d258 report global scale if none is set.
If there is no parent or no scale set we should report the global
value, not try to get from the existent parent that would fail the
API_ENTRY and thus return 1.0.



SVN revision: 41022
2009-06-12 22:55:06 +00:00
Carsten Haitzler 26b4f340b6 actually give widgets type name strings and set parent by default
SVN revision: 40618
2009-05-13 12:21:52 +00:00
Carsten Haitzler f1bd3ad572 use style generic call in test and fix up freeing of style string.
SVN revision: 40320
2009-04-23 04:10:43 +00:00
Carsten Haitzler 73f3de55f4 patch from victor to make styles generic - not all widgets support them
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.



SVN revision: 40317
2009-04-23 04:03:27 +00:00
Carsten Haitzler 16a328cba1 and make entry work nicely by freezing/holding scrolling (hold == different
scroll mode).



SVN revision: 39601
2009-03-20 15:08:33 +00:00
Carsten Haitzler 2685a2feef oopsie thanks to hendrik!
SVN revision: 39513
2009-03-17 00:37:02 +00:00
Gustavo Sverzut Barbieri d7829ccd3c use EINA_LIST_FREE()
This macro helps releasing a list of elements in efficient and safe way.



SVN revision: 39217
2009-02-25 20:18:38 +00:00
Gustavo Sverzut Barbieri d1d91b99df Move eina list iterations to EINA_LIST_FOREACH variants.
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.



SVN revision: 39216
2009-02-25 19:50:45 +00:00
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler 1d36bea662 use new fill mode, fix bug in object tracking and deletion - nasty one. more
genlist work too.



SVN revision: 39021
2009-02-15 02:53:56 +00:00
Carsten Haitzler 986fcca059 allow for all widgets.objects to have different scaling factors.
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)



SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler 9287f01020 fix other focus walking issues
SVN revision: 38368
2008-12-31 00:43:06 +00:00
Carsten Haitzler f05d05fc0e better kbd focus handling and inwin is there.
SVN revision: 38357
2008-12-30 16:19:46 +00:00
Carsten Haitzler b3be933103 remove some aborts
SVN revision: 38315
2008-12-24 05:04:33 +00:00
Carsten Haitzler 793b34f2f9 fix some dynamic object deletion for sub-objects. fix some theme stuff too
for popout hover.



SVN revision: 37818
2008-11-27 05:41:13 +00:00
Carsten Haitzler 8e9f6b8fbc more todo items done/added
SVN revision: 37702
2008-11-18 10:11:57 +00:00
Carsten Haitzler 1917ae7240 make use of the signal propagatin to child objects for cursors etc. and so
indicate focus with a cursor.



SVN revision: 37689
2008-11-17 05:58:21 +00:00
Carsten Haitzler ee7131de29 and make elm auto-scale much better on the fly - not perfect... but not to
shabby. also in theory should cover theme changes on the fly... haven't tested.



SVN revision: 37662
2008-11-15 13:58:50 +00:00
Carsten Haitzler 08c021a0c6 handle changes in scaling... a bit...
SVN revision: 37654
2008-11-15 06:09:04 +00:00
Gustavo Sverzut Barbieri 66ba6e635a Set member_{add,del} to NULL.
SVN revision: 37086
2008-10-25 02:57:03 +00:00
Carsten Haitzler 6f493e0ee1 so much more - valgrind complaints fixed in many places, leaks
and anchorblock/view are working...



SVN revision: 37081
2008-10-25 02:11:06 +00:00
Cedric BAIL 2d9ac9118b Remove Evas list from elementary.
SVN revision: 36979
2008-10-22 14:11:59 +00:00
Carsten Haitzler f6c143674f and now focus works right! excellent.
SVN revision: 36969
2008-10-22 12:08:39 +00:00
Carsten Haitzler fc392751dc use hold flags
SVN revision: 36965
2008-10-22 12:00:16 +00:00
Carsten Haitzler a3ad00322f and support password mode and proper focus on click
SVN revision: 36958
2008-10-22 08:58:56 +00:00
Carsten Haitzler ab493a0d00 and now entry is pretty much done (no hooks to x copy/paste selections etc.
but for now that's ok)



SVN revision: 36754
2008-10-17 14:40:54 +00:00
Carsten Haitzler c78abf03be 1. fix scale property fetch
2. add hover object - beginning to work. will be used to pop up menus/options
etc.



SVN revision: 36515
2008-10-08 06:38:20 +00:00
Carsten Haitzler e8bfcbd777 remvoe minw/h from widget - not needed anymore. ad hovers placeholder
SVN revision: 36499
2008-10-07 12:58:08 +00:00
Carsten Haitzler 2eee18b46f fix sub object tracking. add layout object (untested)
SVN revision: 36491
2008-10-07 06:55:11 +00:00
Carsten Haitzler e8ef0d8bab new elm api - more evas liek and evas/edje freindly. i can mvoe forward now.
SVN revision: 36487
2008-10-07 01:23:49 +00:00
Carsten Haitzler 51123a3452 elementary becomes its own tree/lib/test binary
SVN revision: 36343
2008-09-30 06:58:56 +00:00