Commit Graph

4916 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 1cbb9301ca [elm] Here, better.
SVN revision: 74679
2012-07-31 22:05:50 +00:00
Gustavo Lima Chaves 68c6df3ec7 [elm] Hover now inheritable.
SVN revision: 74678
2012-07-31 22:05:43 +00:00
Gustavo Lima Chaves 72fa126e71 [elm] Inheritance tweeks on layout.
SVN revision: 74677
2012-07-31 22:05:38 +00:00
Gustavo Lima Chaves 5080061dbb [elm] Mapbuf now inheritable.
SVN revision: 74676
2012-07-31 22:05:33 +00:00
Gustavo Lima Chaves 0da58ae800 [elm] Notify now inheritable.
SVN revision: 74675
2012-07-31 22:05:27 +00:00
Gustavo Lima Chaves af665a23cc [elm] Elm container a little bit more
future-proof.




SVN revision: 74674
2012-07-31 22:05:22 +00:00
Gustavo Lima Chaves d987a06044 [elm] Route now inheritable.
SVN revision: 74673
2012-07-31 22:05:17 +00:00
Gustavo Lima Chaves 230aa70cab [elm] Plug now inheritable.
SVN revision: 74672
2012-07-31 22:05:12 +00:00
Gustavo Lima Chaves b038205281 [elm] Grid now inheritable.
SVN revision: 74671
2012-07-31 22:05:06 +00:00
Gustavo Lima Chaves 0a1b1445f5 [elm] Diskselector now inheritable.
SVN revision: 74670
2012-07-31 22:05:00 +00:00
Gustavo Lima Chaves 664f2a7db5 [elm] Glview now inheritable.
SVN revision: 74669
2012-07-31 22:04:54 +00:00
Gustavo Lima Chaves af7673fcb4 [elm] Web now inheritable.
We still gotta find a way to use our scrolling infra with it.



SVN revision: 74668
2012-07-31 22:04:45 +00:00
Kim Shinwoo 13648c3680 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] ctxpopup, focus-chain

i'd like to raise an issue about focus chain on the ctxpopup. the focus
would go around only in the ctxpopup. (IMHO, raster keep the previous
popup
patch. so definitely!!)
but.. first of all, current ctxpopup does not have focus_next(). even
though there is focus_next(), it is not work properly,
because the parent of ctxpopup would be a widget which does not take
care
of sub objects in the focus_next(); such as elm_list.
(every widget can be a parent of ctxpopup, if the widget is enough
size to
display ctxpopup. thus the elm_list can be a parent of ctxpopup also).
anyhow, to resolve this issue, the patch uses event() of
elm_widget_event_hook_set().

the ctxpopup item is equal to the elm_list item. but the focus chain of
elm_list does not work properly.
generally, we use 'Tab' key to move focus, but elm_list uses the
(up,down)
arrow key moreover it is not a focus.
if you want to check this patch, it would be better to use
ELM_ACCESS_MODE=1.



SVN revision: 74650
2012-07-31 12:30:48 +00:00
Kim Shinwoo 82b68bd53d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] dayselector - focus chain, and
about accessibility policy.

dayselector does not work in focus cycle because there is no
focus_chain().
because dayselctor is a child of Elm_Layout_Smart_Class, so it is
enough to
use focus_chain() of layout.

and.. very carefully..
i'd like to raise an issue that currently visually impaired person
should
be obliged to click(tap) quickly two times to activate widget such as
button, check.
the implementation to check 2nd click in elm_access is great. but one
single click is enough to activate button or change state of elm_check.
moreover some widgets like dayselector which has customized style for
elm_check does not work properly, because they do something at signal
'mouse,down,1'.



SVN revision: 74649
2012-07-31 12:24:58 +00:00
Carsten Haitzler 0991e35a4c fix 1 liner oops in smart member add handler.. yet AGAIN runing the
smart member add... :)



SVN revision: 74648
2012-07-31 12:19:15 +00:00
Kim Shinwoo ecbb34fce6 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] naviframe - focus chain, access

i have attached a patch to fix focus chin issue when the item title is not
visible. and to add accessibility feature.



SVN revision: 74646
2012-07-31 11:12:00 +00:00
Daniel Juyung Seo be4d9166f4 elm gengrid: Fixed item_show bug.
SVN revision: 74643
2012-07-31 11:02:27 +00:00
Gustavo Lima Chaves 50305f191b [elm] Map now inheritable.
SVN revision: 74610
2012-07-30 22:36:50 +00:00
Gustavo Lima Chaves 9319d50d54 [elm] Icon now inheritable.
SVN revision: 74609
2012-07-30 22:36:38 +00:00
Gustavo Lima Chaves 539db7e34a [elm] Remove unused var.
SVN revision: 74608
2012-07-30 22:36:29 +00:00
Gustavo Lima Chaves 451c8e6791 [elm] Image now (better) inheritable.
SVN revision: 74607
2012-07-30 22:36:19 +00:00
Gustavo Lima Chaves 39ebd3a128 [elm] Photocam now inheritable.
SVN revision: 74606
2012-07-30 22:36:06 +00:00
Gustavo Lima Chaves 463dd0f8ae [elm] Menu now inheritable.
SVN revision: 74605
2012-07-30 22:35:55 +00:00
Gustavo Lima Chaves 4ee9bb397e [elm] Thumb now inheritable.
SVN revision: 74604
2012-07-30 22:35:44 +00:00
Gustavo Lima Chaves f4ed81812b [elm] Table now inheritable.
SVN revision: 74603
2012-07-30 22:35:32 +00:00
Gustavo Lima Chaves 052c2e1c21 [elm] Making box inheritable.
SVN revision: 74602
2012-07-30 22:35:22 +00:00
Gustavo Lima Chaves b47c5855cf [elm] Making photo inheritable.
SVN revision: 74601
2012-07-30 22:35:11 +00:00
Gustavo Lima Chaves 1fd2616b4c [elm] Permit multipe object
attachments/detachments from a scrollable iface.




SVN revision: 74600
2012-07-30 22:34:57 +00:00
Christopher Michael 40eacfcb99 Elm: Account for framespace when resizing frame object. Do not need to
account for it in any other case.



SVN revision: 74569
2012-07-30 10:06:28 +00:00
Cedric BAIL a948fe54ca elementary: defert Elm_Calendar generation until needed.
NOTE: The new infra is awesome ! That was a piece of cake once
I understand how it work. I love it !


SVN revision: 74562
2012-07-30 09:02:23 +00:00
Christopher Michael bb27d02b6e Elm: Formatting.
SVN revision: 74554
2012-07-30 07:18:16 +00:00
Cedric BAIL 5e5d86df36 elementary: add thaw/freeze to Elm_Layout and use it in Elm_Calendar.
NOTE: This improve calendar performance quite a lot, but a better improvement
would be to populate the object when we really need it. I don't know how to
do that in current Elementary source code. Reason for another expected massive
improvement is that every time you set a property on an Elm_Calendar trigger
a populate and that one is costly (Around 6 populates call per Elm_Calendar in
our code example, meaning doing it could give us a 6 times boost...).


SVN revision: 74553
2012-07-30 07:14:33 +00:00
Jihoon Kim 937958c2da elm_main.c: fix typo
SVN revision: 74552
2012-07-30 06:50:44 +00:00
Cedric BAIL 74ecff49ec elementary: round up the spinning speed when the step is too small with a warning message.
Patch by Jean-Philippe André <jpeg@videolan.org>


SVN revision: 74528
2012-07-28 13:29:50 +00:00
Kim Shinwoo 2d35ea7985 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] popup - focus chain,
accessibility

you would be in rush because of freezing.. but there is still hot. -_-;
i'd like to raise an issue about focus chain on the popup. The focus would
go around only in the popup. (IMHO)
but current popup gives a chance to get the focus to other widget which is
not in the popup.
please check the attachment which has accessibility feature also and give
your opinion. thanks.



SVN revision: 74467
2012-07-27 02:27:16 +00:00
Gustavo Sverzut Barbieri f97856f4e7 naviframe: improve automatic previous button without breaking compatibility.
proper fix instead of r74428.



SVN revision: 74450
2012-07-26 19:39:10 +00:00
Carsten Haitzler 635c241d33 lets not break theme api :( sorry. :(
SVN revision: 74428
2012-07-26 09:10:25 +00:00
Daniel Juyung Seo 4f14e49e5f elm genlist: Enhance genlist item unrealize performance by
initializing text parts first. Patch by Bluezery <ohpowel@gmail.com>

On Thu, Jul 26, 2012 at 2:29 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> This patch make genlist free their text parts when each item is
unrealized.
> Before this patch, the item is just cached when an item is unrealized
> and the text part is freed and set by other text when the cached item
> is realized.
> This improves scrolling performance with very long text because this
> can reduce needless edje size recalculation time.
>  Please review this patch.
>

SVN revision: 74413
2012-07-26 05:50:31 +00:00
Daniel Juyung Seo a78f99241f elm genlist: Fixed garbage item issue in decorate all mode.
This fixes "elm - genlist decorate all mode on and scroll - garbage
items left around."

Note: Do not manipulate swallowed items. Unswallow it first then
manipulate it.

SVN revision: 74412
2012-07-26 05:50:21 +00:00
WooHyun Jung 0cc6390e32 elementary/elm_toolbar : Toolbar didn't get key_down event because
there was no evas focus. And add event_hook for JaeHwan :)


SVN revision: 74411
2012-07-26 04:36:12 +00:00
ChunEon Park cc536e6ace naviframe - removed unnecessary line
SVN revision: 74410
2012-07-26 04:26:31 +00:00
Kim Shinwoo 973c52bda3 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] popup - getting proper geometry value]

current popup does not give proper geometry value,
evas_object_geometry_get(popup, &x, &y, &w, &h) gives 0, 0, 0, 0.
the patch resolves it, but it would be not a good way to get geometry
value. which is the best way to set obj->cur.geometry.x(y,w,h)?
please enlighten me. thanks.



SVN revision: 74409
2012-07-26 03:57:25 +00:00
Gustavo Lima Chaves c134c85cd6 [elm] One more scrolling hook that must be there
till I address it.




SVN revision: 74406
2012-07-25 22:03:15 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
Gustavo Sverzut Barbieri 51e2c4e18b naviframe improvements:
- fixed theme to look less like an arse:
    - overlap theme is translucent
    - naviframe title visibility toggle is now animated
    - item pop/push animation now applies to title area as well
    - icon without title label is now centered (see Naviframe 2 test)
    - title label and subtitle are now centered among the free space, should not overlap buttons anymore.
    - title will use a font-size range, trying to not overlap buttons anymore.
    - title will use ellipsis, trying to not overlap buttons anymore.
    - prev/next buttons do not have a fixed min/max size anymore
 - emit signals elm,state,title_label,show and elm,state,title_label,hide
 - by default the previous button label is the title of the previous page

however by using a regular elm_button with an icon and long label
exposes a bug with button theme. And there is a conceptual issue: if
the previous button label is too big, it will look horrible. We should
have a maximum size that, if reached, should have ellipsis. This
should be a different elm_button style, with
elm/button/base/naviframe/back_btn/default being an alias to it.



SVN revision: 74403
2012-07-25 21:08:53 +00:00
Daniel Juyung Seo 8f730decf1 elm genlist.h: Added more description about elm_genlist_homogeneous_set.
SVN revision: 74402
2012-07-25 21:07:54 +00:00
Gustavo Sverzut Barbieri 570cfc1de9 naviframe: back button text defaults to previous page title.
SVN revision: 74401
2012-07-25 17:38:48 +00:00
Gustavo Sverzut Barbieri 62ad4dd002 naviframe: improve default back button.
back button now uses standard icon "arrow_left", and provides a "Back"
text that should be translated with the application.

Then we can define the elm/button/base/naviframe/back_btn/default as
an alias to the default button. If a theme wants it could still
provide an alternative button. IOW no breaks.



SVN revision: 74399
2012-07-25 17:20:34 +00:00
Jihoon Kim f0819aa9b0 elm: fix typos
SVN revision: 74397
2012-07-25 14:55:04 +00:00
Gustavo Lima Chaves fde535affd [elm] Apparently I missed part aliasing for the
alien naviframe case.




SVN revision: 74395
2012-07-25 14:39:03 +00:00
Carsten Haitzler 84643ee0f2 fix fileselctor to not display > next to files... in expand mode.
SVN revision: 74386
2012-07-25 11:19:59 +00:00
WooHyun Jung eea64e7322 elementary / elc_popup : Add focus direction for popup.
SVN revision: 74383
2012-07-25 10:28:51 +00:00
WooHyun Jung 46eb6df9ef elementary/elm_widget : focus_region function in elm_scroller was not
executed because of _elm_legacy_is always returned EINA_FALSE. So I removed
it.


SVN revision: 74367
2012-07-25 02:43:32 +00:00
WooHyun Jung 37ccbbcd72 elementary/elm_scroller : Focus direction failed on elm_scroller.
So I fixed.


SVN revision: 74366
2012-07-25 02:39:33 +00:00
Gustavo Sverzut Barbieri 88abf5f63d flip: proper api: elm_flip_go_to().
In real world it's very likely you're flipping to something, back or
front, not randomly flipping around based on one button.

I'd say we should deprecate the elm_flip_go().



SVN revision: 74360
2012-07-24 21:57:11 +00:00
Gustavo Sverzut Barbieri e6f2ea6708 flip: make quick sequence of "go" work.
whenever we "go" flip while flipping, we'll enter an inconsitent
state. We should detect where to flip and flip back if required.

Test: go to "Flip" test, click "1" button twice, before the first
animation ends.



SVN revision: 74359
2012-07-24 21:39:12 +00:00
Gustavo Lima Chaves ef219914b3 [elm] Also don't advertise this type on our tree
figures.




SVN revision: 74358
2012-07-24 17:34:06 +00:00
Gustavo Lima Chaves 5a7d091705 [elm] This must be an internal object.
SVN revision: 74357
2012-07-24 17:33:58 +00:00
Carsten Haitzler 9be83f5d70 printf--
SVN revision: 74349
2012-07-24 09:35:27 +00:00
Carsten Haitzler 3c95a78d0c fix layer bug with floating popup object in slider i added just before
freeze.



SVN revision: 74343
2012-07-24 04:59:45 +00:00
Daniel Juyung Seo 6475300e0e elm genlist.h: Added more description for elm_genlist_item_update.
SVN revision: 74335
2012-07-24 03:08:10 +00:00
ChunEon Park 5ab310ef5d elementary/scroller - Fixed scroller to not have the hold flag which causes the edje object up event block.
Please review this patch I don't know the intention why did someone add this flags on mouse up in scroller.

Anyhow I tested and works fine.



SVN revision: 74334
2012-07-24 02:35:25 +00:00
Carsten Haitzler b3d52034ae fix segv on popup... with items. infinite stack blow. but oh my there
is so much more to fix.. i don't know where to begin.



SVN revision: 74324
2012-07-23 12:35:48 +00:00
ChunEon Park d555e52cc4 elementary/win - fixed invalid sd memory access catched by valgrind.
now, more simple and clear!



SVN revision: 74310
2012-07-23 08:23:01 +00:00
Jaehwan Kim 634b9dc80e The label should be inserted and the visible signal should be emitted, only when the text exists.
SVN revision: 74304
2012-07-23 01:59:41 +00:00
Gustavo Lima Chaves e9b7bdc7b4 [elm] Oopsie--.
SVN revision: 74259
2012-07-20 20:38:18 +00:00
Gustavo Lima Chaves f1db4efbbe [elm] Fix changed API call for webkit.
SVN revision: 74256
2012-07-20 14:58:39 +00:00
Gustavo Lima Chaves a2f1c95825 [elm] Fix on focus handle on photocam.
SVN revision: 74255
2012-07-20 14:58:33 +00:00
Gustavo Lima Chaves ae24291d9a [elm] Removing unused var.
SVN revision: 74254
2012-07-20 14:58:21 +00:00
Carsten Haitzler 28ac974f16 fix OTHER segv in colorselector! the one cedric didn't find!
SVN revision: 74228
2012-07-20 10:08:08 +00:00
Carsten Haitzler ba2410ffd2 fix transit to expect elm_icon not icon due to internal type name changes.
SVN revision: 74216
2012-07-20 08:10:44 +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
Gustavo Lima Chaves 6b109ac32f [elm] Map now using the scrollable interface.
SVN revision: 74194
2012-07-19 20:26:09 +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
Cedric BAIL 27dc623150 elementary: call this on the samrt object.
SVN revision: 74174
2012-07-19 09:24:29 +00:00
Seunggyun Kim 133937ed6d From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_icon is disappeared when theme hook is
called.

[Current Issue]
 - The elm_icon can be disappeared when theme hook is called.
    You can see the problem in the below situation.
        a) elementary_test -> Layout select
            b) elementary_config -> Fonts(toolbar) -> select some font
class, font,
style, size
    c) Select "Apply" button
       then two icons in title layout are disappeared.
       
       [Main cause]
        - when theme hook is called, internally
_elm_image_smart_sizing_eval
function is called.
   The function calculates icon's min, max size. 
      But min, max size is calculated  only in case no_scale is true or
      resize_down or resize_up is false.
         If application isn't set no_scale or resize_down/up, minw and
minh value
is just -1.
   So when theme hooks is called then sizing_eval is called, icon's
min size
is -1 and that is disappeared.

[Change Description]
 - I just added evas_object_size_hint_min_get(obj, &minw, minh) in
 _elm_image_smart_sizing_eval.
     Patch is working well, but I don't think this is right solution
because
that would break image(icon) min,max concept



SVN revision: 74163
2012-07-19 08:10:02 +00:00
Carsten Haitzler 2c4a48b386 commit patch from:
http://trac.enlightenment.org/e/ticket/1174



SVN revision: 74161
2012-07-19 07:37:48 +00:00
Gustavo Sverzut Barbieri 6ba97ecbc7 add missing bureaucracy.
thanks vtorri, our restless monitor of forgotten files, changelog,
news and @since.



SVN revision: 74158
2012-07-19 04:47:20 +00:00
Gustavo Sverzut Barbieri 3506c20374 elm_win: support trapping ecore_evas calls (aka: e17 support)
Allows setting a trap in elm_win that intercepts calls to
ecore_evas. If there is a trap and the trap returns EINA_FALSE, then
the corresponding call is NOT issued. If it does not exist or returns
EINA_TRUE, then the call is executed.

Enlightenment window manager will set these traps and will call
e_border directly, allowing E17 to use Elementary! A major feature
given e_widgets painful usage.

This should also help integrating into Wayland or even debug.





SVN revision: 74156
2012-07-19 04:35:50 +00:00
Gustavo Lima Chaves bc3dd23c35 [elm] Fix bad timer usage on notify.
SVN revision: 74151
2012-07-18 21:03:58 +00:00
Gustavo Lima Chaves dae34c056e [elm] Cosmetic.
SVN revision: 74150
2012-07-18 21:03:51 +00:00
Gustavo Lima Chaves 40c3ef3b46 [elm] Fix bad gengrid porting on a function.
SVN revision: 74149
2012-07-18 21:03:46 +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 5a44c924e4 [elm] New infra to help factorize initting code for
widgets.

Some of them have initting code using the parent ptr for some logic.
Now there's a new idiom on instantiating widgets which adresses
that. It'll be used for all widgets from now on.



SVN revision: 74147
2012-07-18 21:03:28 +00:00
Gustavo Lima Chaves 844889a9f7 [elm] Let's not depend on layout calls inside the
interface.




SVN revision: 74075
2012-07-18 17:09:51 +00:00
Daniel Juyung Seo 0c83ecbc18 elm elm_list.h: Fix typo pointed out by Goffi on irc.
SVN revision: 74069
2012-07-18 13:24:45 +00:00
ChunEon Park 64eaac722b elementary/mapbuf - Fix the mapbuf to resize the contents(smart obj) correctly.
When smart obj was set as the contents the _configure would be called recursively.
In this process the lastest size could be reverted as the previous one.



SVN revision: 74064
2012-07-18 12:36:09 +00:00
yan.wang 9521230ca9 From: yan.wang@linux.intel.com
Subject: [E-devel] [PATCH] Add frame size when calculating minimized
elm_win size

Hi,
  I found frame size including width and height isn't counted in
  _elm_win_resize_objects_eval() when calculating minimized elm_window
  size.
    It is OK for X engine because elementary only draw client area and X
    provides widow frame. So both the width and height from
    evas_output_framespace_get are 0.
      But it cause bug for wayland engine because elementary need draw
window
frame by itself. So real client area size is smaller than window size.
If frame size isn't counted into minimized window size, there isn't
enough client area to layout widgets.
  So it is bug for any engine in which elementary draws window frame by
  itself. It is the reason of
http://trac.enlightenment.org/e/ticket/1064.
  Could you please my attached patch for this issue?
    Thanks.
    


SVN revision: 74049
2012-07-18 08:27:52 +00:00
Carsten Haitzler e73440197e fix evil scroller self-feeing loop scrollbar sizing issues.
SVN revision: 74041
2012-07-18 06:59:16 +00:00
Daniel Juyung Seo 5575df4a09 elm image: Removed existing trailing whitespace while reading the
code.

SVN revision: 74031
2012-07-18 02:25:38 +00:00
Daniel Juyung Seo 6c7791d580 elm image: Renamed internal variable/function name to be less confusing. They could be confused by no_scale option.
SVN revision: 74030
2012-07-18 02:25:34 +00:00
Gustavo Lima Chaves e6b6bcd8b4 [elm] Diskselector now a scrollable widget.
Again, all bugs and features kept. Enjoy.



SVN revision: 74027
2012-07-17 22:09:07 +00:00
Gustavo Lima Chaves ef87e0cfb6 [elm] Style fix.
SVN revision: 74025
2012-07-17 18:46:18 +00:00
Gustavo Lima Chaves b24829d701 [elm] Init fix for frame.
SVN revision: 74024
2012-07-17 18:46:12 +00:00
Gustavo Lima Chaves 8855306850 [elm] Init fixes for slider.
SVN revision: 74023
2012-07-17 18:46:03 +00:00
Gustavo Lima Chaves 4e73e51582 [elm] Style fixes.
SVN revision: 74022
2012-07-17 18:45:57 +00:00
Gustavo Lima Chaves 950c0a06f0 [elm] Init fix for photo.
SVN revision: 74021
2012-07-17 18:45:51 +00:00
Gustavo Lima Chaves 48222a539e [elm] Repeated call now gone.
SVN revision: 74020
2012-07-17 18:45:39 +00:00
Gustavo Lima Chaves 4e88d3f1c7 [elm] Init PARTIAL fix for conform.
Widgets dealing with parent widget on init are on my TODO, yet.
Ideas?



SVN revision: 74019
2012-07-17 18:45:33 +00:00
Gustavo Lima Chaves 04d48d8499 [elm] Init fix for segment control.
SVN revision: 74018
2012-07-17 18:45:27 +00:00