Commit Graph

6330 Commits

Author SHA1 Message Date
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 18e998b9f1 elementary: catching double and triple clicks in spinner.
Patch by Jean-Philippe André <jpeg@videolan.org>


SVN revision: 74529
2012-07-28 13:32:53 +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 0108fa90bb check/toggle: toggle on click.
If we just clicked a toggle, we should toggle it. No need to drag.



SVN revision: 74461
2012-07-26 23:12:18 +00:00
Gustavo Sverzut Barbieri c146fb2b95 naviframe: always keep title centered
if there is a button, consider the same amount on the other side, even
if there is no button in there, limited to the maximum button size
(100px). It's not optimal, but looks less ugly.



SVN revision: 74451
2012-07-26 20:50:34 +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
Gustavo Sverzut Barbieri de83b738fa naviframe: fix missing clips spotted by elementary_config.
as Tasn reported elementary_config was broken as the naviframe title
was covering the toolbar. This was due its usage of
elm_naviframe_item_simple_push() that uses
elm_naviframe_item_title_visible_set(FALSE) and a missing clipper on
my part.



SVN revision: 74449
2012-07-26 19:21:27 +00:00
Carsten Haitzler 635c241d33 lets not break theme api :( sorry. :(
SVN revision: 74428
2012-07-26 09:10:25 +00:00
Carsten Haitzler 93a34da403 setitng min/max size hint on an elm obj actually should not be done
because elm controls these itself. examples all wrong in thsi regard.
fix!



SVN revision: 74414
2012-07-26 06:41:22 +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 Sverzut Barbieri f169c358e8 segment control: improve test, show broken theme.
segment control theme is broken and non-standard. It should be like a
button in internals.



SVN revision: 74407
2012-07-25 22:42:21 +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 7bf179679d check: fix visual annoyances for toggle.
toggle was clipping the drag knob and this always annoyed me. Now it's
on top of frame and makes me happy.



SVN revision: 74404
2012-07-25 22:02:29 +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 11f2703a7e test_naviframe: use standard icons, recommended elm_layout_content_set().
SVN revision: 74400
2012-07-25 17:29:17 +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
Carsten Haitzler 4b8b546688 fix player theme to work in both illume and standard and not be
unusable/look like arse



SVN revision: 74385
2012-07-25 11:11:51 +00:00
WooHyun Jung eea64e7322 elementary / elc_popup : Add focus direction for popup.
SVN revision: 74383
2012-07-25 10:28:51 +00:00
Carsten Haitzler 9fd2229702 oops printf--
SVN revision: 74381
2012-07-25 10:00:25 +00:00
Carsten Haitzler cbad53a5c8 fix auicklaunch to transport environment as well as args. fixes
startup id tracking for e.



SVN revision: 74380
2012-07-25 09:56:00 +00:00
Daniel Juyung Seo 3c241774c0 elm test_genlist.c: Fix wrong callback name.
SVN revision: 74370
2012-07-25 05:03:53 +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
Jihoon Kim ffbd6e1629 [elm] fix typos in elementary_test
SVN revision: 74362
2012-07-25 01:52:43 +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
Carsten Haitzler 0cdff070e5 fix name of title/name of 3d test window
SVN revision: 74341
2012-07-24 04:35:08 +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 573fe422ea elementary - Updated Changelog
SVN revision: 74320
2012-07-23 11:16:42 +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 733c4ac0f4 lets not have the getsure layer 3 test us ea timer - bad bad bad style
and jerky anim! :(



SVN revision: 74220
2012-07-20 08:42:52 +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
Carsten Haitzler c0d4574cf5 fix diskselector if figner size small.
SVN revision: 74215
2012-07-20 08:01:59 +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 c19ed13320 [elm] This file was not meant to exist.
SVN revision: 74195
2012-07-19 20:26:35 +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
Carsten Haitzler 2fa4669675 1. datetime font should be sanes, not slp, size 10, and
2. diskselector belongs in diskselector, not datetime edc.



SVN revision: 74160
2012-07-19 07:20:06 +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
ChunEon Park d64db308c7 elementary/mapbuf - more proper size for test
SVN revision: 74059
2012-07-18 11:43:02 +00:00
Carsten Haitzler a0a750ea86 fix flipselector theme to not lose chars. amazing it degraded so
gracefully in the first place! :)



SVN revision: 74056
2012-07-18 11:06:25 +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 721f5e1a26 clean up default check/radio sizing.
SVN revision: 74048
2012-07-18 08:23:15 +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
Carsten Haitzler 3250310508 clean up desktop scroller theme a bit.
SVN revision: 74040
2012-07-18 06:57:52 +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 b9a1c7d940 [elm] Updating class images.
SVN revision: 74029
2012-07-17 22:34:26 +00:00
Gustavo Lima Chaves 45e5030474 [elm] Fix image name on a script.
SVN revision: 74028
2012-07-17 22:27:01 +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