Commit Graph

4980 Commits

Author SHA1 Message Date
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
Gustavo Lima Chaves 3e35c5c2eb [elm] Init fix for plug.
SVN revision: 74017
2012-07-17 18:45:20 +00:00
Gustavo Lima Chaves 7ad609b771 [elm] Init fix for slideshow.
SVN revision: 74016
2012-07-17 18:45:16 +00:00
Gustavo Lima Chaves 1e5389754e [elm] Fix init on image.
SVN revision: 74015
2012-07-17 18:45:09 +00:00
Gustavo Lima Chaves fd330affa3 [elm] Init fix for actionslider.
SVN revision: 74014
2012-07-17 18:45:04 +00:00
Gustavo Lima Chaves 96dddcd203 [elm] Init fix for bubble.
SVN revision: 74013
2012-07-17 18:44:55 +00:00
Gustavo Lima Chaves a1780e5677 [elm] Init code fix -- datetime.
SVN revision: 74012
2012-07-17 18:44:50 +00:00
Gustavo Lima Chaves 691b413204 [elm] Init code fix -- glview.
SVN revision: 74011
2012-07-17 18:44:43 +00:00
Gustavo Lima Chaves 775c39ed91 [elm] Init code fix -- check.
SVN revision: 74010
2012-07-17 18:44:36 +00:00
Gustavo Lima Chaves 39e29b9d91 [elm] Init code fix -- label.
SVN revision: 74009
2012-07-17 18:44:28 +00:00
Gustavo Lima Chaves 8e73de2016 [elm] Init code fix -- clock.
SVN revision: 74008
2012-07-17 18:44:23 +00:00
Gustavo Lima Chaves 3d00e9761d [elm] Init code fix -- calendar.
SVN revision: 74007
2012-07-17 18:44:16 +00:00
Gustavo Lima Chaves 971b8a98fa [elm] Init code fix - thumb.
SVN revision: 74005
2012-07-17 18:43:53 +00:00
Gustavo Lima Chaves 18a193ad22 [elm] Init code placement fix -- gengrid.
SVN revision: 74002
2012-07-17 16:42:20 +00:00
Gustavo Lima Chaves 0d1638272e [elm] More initting code placement fix -- photocam.
SVN revision: 74001
2012-07-17 16:38:07 +00:00
Gustavo Lima Chaves fc488079d6 [elm] No initting code out of smart_add() -- list.
SVN revision: 73997
2012-07-17 15:02:22 +00:00
Gustavo Lima Chaves 0bb6d4f99b [elm] Cosmetic.
SVN revision: 73996
2012-07-17 14:56:51 +00:00
Gustavo Lima Chaves 0ead820b96 [elm] No init code out of smart_add() -- scroller.
SVN revision: 73995
2012-07-17 14:56:44 +00:00
Gustavo Lima Chaves beaea7e451 [elm] More cosmetic.
SVN revision: 73994
2012-07-17 14:56:38 +00:00
Gustavo Lima Chaves 5cd7fce261 [elm] Old cosmetical diff flush.
SVN revision: 73993
2012-07-17 14:56:32 +00:00
Gustavo Lima Chaves dbd0cb20c9 [elm] Old cosmetical diff flush.
SVN revision: 73992
2012-07-17 14:56:23 +00:00
Gustavo Lima Chaves 8d3d2cd457 [elm] Fix an old bad "fix" for bad code.
This was a PITA to find, fuck.



SVN revision: 73943
2012-07-16 21:56:48 +00:00
Gustavo Lima Chaves 9cea522b88 [elm] Genlist now a scrollable layout.
The ERRs thrown on the terminal while exiting some tests were already
there -- check that those decorate and stuff modes add lots of NULL
children on lists.

Genlist work exactly as before. All the bugs and feature were kept :)



SVN revision: 73941
2012-07-16 21:56:30 +00:00
Gustavo Lima Chaves 9199e0d974 [elm] Forgotten cleanups and comments on gengrid.
SVN revision: 73940
2012-07-16 21:56:18 +00:00
Carsten Haitzler b682a7dbcb alas por yorrick... umm errr... alas por html mode copy & paste, we
knew him well. disable because it seems nothing i try requests it
except thunderbird, and thunderbird seems to sumarrily ignore the text
we provide. why - don't know. would have to now dig into thunderbir
src, but suffice to say plaintext is working a charmer, so let's stick
to that.



SVN revision: 73913
2012-07-16 09:16:30 +00:00
Carsten Haitzler 1b1ff559f2 fix gesture layer if config happens to have 0 timeouts which causes
misbehavior.



SVN revision: 73842
2012-07-14 09:17:04 +00:00
Carsten Haitzler 4b84720636 fix Ticket #1122
SVN revision: 73614
2012-07-12 11:11:21 +00:00
ChunEon Park df36c3afa2 elementary/toolbar -- removed white space
SVN revision: 73598
2012-07-12 06:19:16 +00:00
Daniel Juyung Seo 11d5f579a7 elm genlist: Vertical bounce enable value can be changed by
elementary configuration environment. Patch by Bluezery
<ohpowel@gmail.com>

On Thu, Jul 12, 2012 at 1:00 AM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Vertical bounce enable value can be changed by elementary
> configuration environment.
> But currently It was always EINA_FALSE.  I fix that this value can be
> got from elm_config value.
>
> Please review this patch.
> Thanks

SVN revision: 73596
2012-07-12 04:46:46 +00:00
Christopher Michael e7aff2633f Elm: Commit roberts patch which fixes the unsafe call to
ecore_evas_window_get with a replacement function that checks the
currently used engine first. This fixes a segfault when running elm
with the wayland engines.



SVN revision: 73568
2012-07-11 11:53:29 +00:00
Michael BOUCHAUD 9a280627db elementary: fix vcard cnp, patch from Guillaume PROUVOT. thx!
SVN revision: 73561
2012-07-11 10:08:46 +00:00
Gustavo Lima Chaves b53c85632c [elm] Missing @sinces and stuff, sorry.
SVN revision: 73547
2012-07-11 01:38:34 +00:00
Gustavo Lima Chaves 363cdf94c3 [elm] Gengrid now a scrollable layout.
SVN revision: 73541
2012-07-10 21:40:38 +00:00
Gustavo Lima Chaves ce361dca42 [elm] Bug fixing on scroller.
We had an inconsistency of two missing getters, that would "leak" API
deprecation on specialized scrollers (scrollables). Putting them in
for good now.



SVN revision: 73540
2012-07-10 21:40:30 +00:00
Carsten Haitzler 1e93fdbe4e update all versions in @sincs, README's and configure.ac's etc. to
reflect a unified release version, for now 1.6.99.



SVN revision: 73498
2012-07-09 10:20:21 +00:00
Jaehwan Kim 1231092691 The more panel should be changed when the theme is changed.
SVN revision: 73483
2012-07-09 05:22:25 +00:00
Jaehwan Kim 445926adf9 The visible signal should be called when it is reloaded in _theme_hook_item.
SVN revision: 73482
2012-07-09 05:11:05 +00:00
Tom Hacohen 317f074fc1 Elm smart/pan: Check obj != NULL before fetching smart data.
Patch by Daniel Zaoui.

SVN revision: 73464
2012-07-08 10:31:34 +00:00
Carsten Haitzler 9e254d1313 slider popup outside widget mode. backwards-compatible too. :)
i know - freeze is on. last thing going into elm. only because i
rejected the patch at the last minute and it was small enough to do
now.



SVN revision: 73450
2012-07-07 09:44:52 +00:00
ChunEon Park ded80f5fdd elementary/general - also here a comment for the future.
SVN revision: 73446
2012-07-07 06:34:16 +00:00
ChunEon Park 057025d659 elementary/general - just added a comment
SVN revision: 73444
2012-07-07 06:27:18 +00:00
Carsten Haitzler 92f359ca78 formatting consistency++
SVN revision: 73439
2012-07-07 03:50:59 +00:00
Gustavo Lima Chaves 3bc7c87649 [elm] Porting 73388 back to new scrolling infra.
SVN revision: 73423
2012-07-06 17:04:48 +00:00
Kim Shinwoo 14c52fe469 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector, duplicate icon
for rounded item

minor fix to diskselector to repeat icons right.

The diskselector has round mode which can be set by
elm_diskselector_round_enabled_set().
In case of round mode is enabled, the icon does not display properly
because diskselector replace the icon for the additional items - not copy
and paste. To enable round mode, diskselector adds over/under itmes(additional
itmes) by using normal mode items. So there is a icon to set two places in
diskselector. But diskselector does not duplicate the icon.. this makes item
without icon but there should be.. I'm not sure the best way to duplicate icon.



SVN revision: 73397
2012-07-06 07:08:16 +00:00
Kim Shinwoo 86f0153542 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: Re: [E-devel] [Patch][layout] select layout in access mode

I revised the patch which has the way to get the state of
accessibility now. elm_layout_edje_object_can_access_set/get().



SVN revision: 73393
2012-07-06 04:03:21 +00:00
Jiyoun Park e99f497332 [els scroller] add debug code to measure smoothness of scroller
it count standard deviation of scroll velocity
and modify smooth algorithm


SVN revision: 73388
2012-07-06 01:59:57 +00:00
Gustavo Lima Chaves 9e4f104587 [elm] Fix bad theming on new layout widgets.
SVN revision: 73381
2012-07-05 21:07:15 +00:00
Gustavo Lima Chaves 47c401724c [elm] Fix code duplication on list porting.
SVN revision: 73379
2012-07-05 19:49:54 +00:00
Gustavo Lima Chaves c96106df2c [elm] Fix missing initializer on base smart class.
Please explain this new access virtual.


Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73359
2012-07-05 14:37:18 +00:00
Tom Hacohen ff4b55937a Elm entry: Fixed issues with deferred entry inserts and immediate text get.
Thanks to yoz for reporting this.

SVN revision: 73346
2012-07-05 13:32:19 +00:00
Carsten Haitzler 95bb03f0be add dpi get func in elm.
SVN revision: 73342
2012-07-05 12:59:06 +00:00
Carsten Haitzler 0e2924f6a7 someone change... bdilly 72499. bad! iterators are not safe for
deletions of hashes if u iterate over what u are deleting!



SVN revision: 73335
2012-07-05 09:36:07 +00:00
Carsten Haitzler c417a9c99f fix several elm+fb related issues and add a feature.
SVN revision: 73334
2012-07-05 09:23:38 +00:00
Gustavo Lima Chaves fffbdfce6a [elm] Elm photocam on scrollable iface, now.
SVN revision: 73311
2012-07-04 21:43:29 +00:00
Gustavo Lima Chaves d4f88af273 [elm] Elm list is now a SCROLLABLE layout.
This means it inherits from the layout class and implements the
scrollable interface.



SVN revision: 73310
2012-07-04 21:43:05 +00:00
Gustavo Lima Chaves 41892a360f [elm] Scroller widget now on scrollable interface.
Its API will be the the common one on ALL scrollable widgets, too.
Any scrollable widget having a function behaviour clashing with one of
the elm_scroller_* will be marked as DEPRECATED from now on.



SVN revision: 73309
2012-07-04 21:42:35 +00:00
Gustavo Lima Chaves 45e8d67a78 [elm] New scrollable interface in.
This is meant to be used for all widgets implementing scrolling views.
An Elementary interface adds a given behaviour to whichever widget,
from any class.



SVN revision: 73307
2012-07-04 21:41:01 +00:00
Gustavo Lima Chaves 9d25d801e6 [elm] These intricate scrolling hooks will be the
last to be evaluated.

Porting of the basic scrolling infra to an interface will happenfirst, as well as the scrolling widgets porting.

Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73306
2012-07-04 21:36:50 +00:00
Kim Shinwoo a060189012 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elm_widget] access hook

Real time setting would be necessary in case of running applications
which
have elm_layout or elm_widget_item.
If the access mode does not care of this, running applications should
restart. The attached for this. Please review the patch and give any
feedbacks. Thanks.



SVN revision: 73229
2012-07-03 12:09:34 +00:00
Minseok Kim 06be3e5ab6 From: Minseok Kim <minseok3.kim@samsung.com>
Subject: [E-devel] [E-deve] [Patch] Add new apis for editable set/get
in multibuttonentry

Typically multibuttonentry is used as a composer.
But sometimes, Multibuttonentry can be used as a viewer.
Currently there is no way to use multibuttonentry as non-editable
viewer.
So I added new APIs which are elm_multibuttonentry_editable_set/get().
If editable is true, entry in multibuttonentry is activated and user can
compose item by pressing the return key.
If not, entry is hidden and muttibuttonentry works as a non-editable
viewer.



SVN revision: 73223
2012-07-03 11:22:46 +00:00
Tom Hacohen 55e3f1df07 Elm glayer: Fixed longtap.
Thanks to raster for spotting this.

SVN revision: 73187
2012-07-03 05:24:03 +00:00
Cedric BAIL 4f3f2480bb elementary: initialize emotion when necessary.
SVN revision: 73180
2012-07-03 02:13:42 +00:00
Michael BOUCHAUD 0f101bb5e3 elementary: add since keyword to the signal documentation
SVN revision: 73140
2012-07-02 09:20:27 +00:00
Gustavo Sverzut Barbieri e79f9fb665 fix elm_segment_control to not abuse user's data for items.
SVN revision: 73118
2012-07-02 01:39:10 +00:00
Gustavo Sverzut Barbieri c4caf9d82f safety for elm_object_item_widget_get().
SVN revision: 73117
2012-07-02 01:38:21 +00:00
Artem Popov 1de4f59187 From: Artem Popov <artem.popov@samsung.com>
Subject: [E-devel]  [Patch] Patch for normal scaling in elm_panel.c
widget

Problem:

   Ticket #656 (new Bug) . The whole test window size will just grow
larger and
   larger on each _theme_hook called.

   Easy to reproduce: 1. Open elementary_test's panel test 2. Do
something that
   issues a theme_hook (change scale etc)



SVN revision: 73076
2012-06-30 06:40:06 +00:00
Kim Shinwoo 4709f16668 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_access, use widget_item in
focus chain

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



SVN revision: 73074
2012-06-30 06:21:14 +00:00
Kim Shinwoo 577a646924 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: Re: [E-devel] [Patch][elementary] elm_cofig, setting
accessibility mode



SVN revision: 73073
2012-06-30 06:01:25 +00:00
Carsten Haitzler c21998e3b3 oops forgot part of previous toolbar style patch. in!
SVN revision: 73035
2012-06-29 12:28:08 +00:00
Artem Popov 281c8480ee From: Artem Popov <artem.popov@samsung.com>
Subject: [E-devel] Fwd:  [Patch] elm_toolbar add signals patch.

For new style of toolbar (align icon and text to center of item) are
necessary some signals ("elm,state,text,visible",
"elm,state,text,hidden", "elm,state,icon,visible",
"elm,state,icon,hidden")

 New style for toolbar, where icon and text are align to center of item.



SVN revision: 73028
2012-06-29 10:03:27 +00:00
Gustavo Lima Chaves cd1f900a46 [elm] Forgotten elm icon function to deprecate in favor of an image one.
SVN revision: 73017
2012-06-28 18:40:35 +00:00
Daniel Juyung Seo 36d4de353a elm genlist: Fixed homogeneous mode bug with ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY item. Now it calculates display only item size correctly.
SVN revision: 72910
2012-06-27 03:23:52 +00:00
Tom Hacohen 2500a5248a Elm glayer: Filter out the duplicate multi* events.
One should either listen to mouse events and filter the corrosponding multi
events, or listen only to multi events. We chose the former, so we should
handle it correctly.

SVN revision: 72905
2012-06-27 00:27:18 +00:00
Gustavo Lima Chaves ece6378d0c [elm] Unb0rk flip selector.
Patch by me and Ingvaldur Sigurjonsson (thanks for working on the
issue exactly when I tackled it :)).



SVN revision: 72885
2012-06-26 14:28:59 +00:00
Cedric BAIL d78b70af51 elementary: use Edje to enable accessibility on TEXTBLOCK.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>.


SVN revision: 72841
2012-06-26 05:54:45 +00:00
Michael BOUCHAUD b5e474ebb1 elementary: I think this needs some fixing. fileselector, select the wrong dir
SVN revision: 72834
2012-06-26 00:10:15 +00:00
Carsten Haitzler af564b3dc7 improve cnp to tell you when you lost a selection and track obj
deletions.



SVN revision: 72798
2012-06-25 11:16:25 +00:00
Jaehwan Kim cab76c1f57 Sorry, Fix build conflict.
SVN revision: 72792
2012-06-25 08:50:11 +00:00
Daniel Juyung Seo a47bf5576f elm genlist: Fixed tree expand bug. Check item type when an item is
requested to be expanded/contracted.

SVN revision: 72790
2012-06-25 08:42:26 +00:00
Jaehwan Kim f4db8e4ec1 In case a user sets min-value of the item, the toolbar shouldn't set the min-value to the number which is smaller than it.
SVN revision: 72788
2012-06-25 08:33:15 +00:00
Michael BOUCHAUD 38a2383e8a elementary: Add to the progressbar widget a changed signal to be emitted when the value is changed. Patch from Daniel Willmann. Thx
SVN revision: 72709
2012-06-22 22:45:13 +00:00
Gustavo Sverzut Barbieri 74cf7f640a oops, unb0rk compat layer.
glima was on d0rgs...


SVN revision: 72678
2012-06-21 23:37:49 +00:00
Tom Hacohen db4635cfc1 Elm gengrid: (void *) and substraction don't play nicely together.
SVN revision: 72594
2012-06-21 11:55:19 +00:00
Daniel Juyung Seo 49a68f7f74 elm genlist: Fixed a bug with decorate all mode + tree effect. Delete tree effect animator and set the effect mode to none when decorate all mode is set.
SVN revision: 72591
2012-06-21 10:56:15 +00:00
Daniel Juyung Seo be4e82df1c elm genlist: Fixed formatting.
SVN revision: 72575
2012-06-21 08:36:21 +00:00
Gustavo Sverzut Barbieri 866c5b7a98 CNP is completely broken -- note where it should be fixed.
come on... I'd rather remove this crap than keep it like that. :-(



SVN revision: 72507
2012-06-19 23:33:57 +00:00
Daniel Willmann 7e35c19135 elementary: revert commit 72459. Please see commit 72197, it's the same functionality
revert ->
Log:
From: Daniel Willmann <d.willmann@samsung.com>
 Subject: Re: [E-devel] [PATCH] elementary: Add
 elm_progressbar_maxunit_{set, get} functions

 Some more discussion in IRC led to the conclusion that this should be a
 handled in a signal callback I've attached the new patch where I also
 updated the progress bar example.



Author:       raster
Date:         2012-06-19 02:26:29 -0700 (Tue, 19 Jun 2012)
New Revision: 72459

SVN revision: 72506
2012-06-19 22:53:46 +00:00
Gustavo Sverzut Barbieri dafcd43f50 EAPI elm_drag and elm_drop so I can use them from terminology.
SVN revision: 72505
2012-06-19 20:17:46 +00:00
Bruno Dilly d6341bfc9e Elm: module unloading
Implements the module unloading to all modules on elm_module_shutdown.
This change also fixes a memory leak within elm_module picked by valgrind.

Here follows the valgrind log:

96 bytes in 1 blocks are definitely lost in loss record 105 of 168
    at 0x4C29DB4: calloc (
            in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
            by 0x52065B6: _elm_module_add (elm_module.c:223)
            by 0x520669E: _elm_module_parse (elm_module.c:77)
            by 0x51F1249: elm_quicklaunch_sub_init (elm_main.c:437)
            by 0x51F12BE: elm_init (elm_main.c:180)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72499
2012-06-19 18:24:17 +00:00
Bruno Dilly 04061fc239 Elm: fix the widget event callback freeing
Removes the event callback list within _smart_del. The current
implementation does not care about the node data resulting on
memory leaks.

Here follows the valgrind log:

16 bytes in 1 blocks are definitely lost in loss record 11 of 168
at 0x4C29DB4: calloc (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        by 0x522EC34: elm_widget_event_callback_add (elm_widget.c:1996)
        by 0x5A7AA2B: _edje_emit_handle (edje_program.c:1322)
        by 0x5A766B6: _edje_message_queue_process (edje_message_queue.c:764)
        by 0x5A76856: _edje_job (edje_message_queue.c:160)
        by 0x628C02A: _ecore_job_event_handler (ecore_job.c:115)
        by 0x6288C1F: _ecore_event_call (ecore_private.h:319)
        by 0x628D09B: _ecore_main_loop_iterate_internal (ecore_main.c:1814)
        by 0x628D566: ecore_main_loop_begin (ecore_main.c:931)
        by 0x4023B0: elm_main (test.c:198)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72498
2012-06-19 18:20:38 +00:00
Gustavo Lima Chaves 7f0048b9b8 [elm] Switching in slideshow with no transition effect
Patch by Rajeev Ranjan <rajeev.r@samsung.com>.



SVN revision: 72492
2012-06-19 16:31:30 +00:00
Minseok Kim db61fd9dbb elementary/multibuttonentry: add focus handling at clicked,
and remove box region show. 

Signed-off-by: Minseok Kim <minseok3.kim@samsung.com>


SVN revision: 72484
2012-06-19 14:48:05 +00:00
Daniel Willmann 2e9ae9f539 From: Daniel Willmann <d.willmann@samsung.com>
Subject: Re: [E-devel] [PATCH] elementary: Add
elm_progressbar_maxunit_{set, get} functions

Some more discussion in IRC led to the conclusion that this should be a 
handled in a signal callback I've attached the new patch where I also 
updated the progress bar example.



SVN revision: 72459
2012-06-19 09:26:29 +00:00
Vincent Torri 3917e6a733 Elm: add missing @since.
SVN revision: 72436
2012-06-19 05:07:29 +00:00
Vincent Torri 00f27253fd please also add @since in newly typedef, struct, enum etc...
SVN revision: 72435
2012-06-19 04:50:11 +00:00
Carsten Haitzler 02e4bce0b1 fix genlist issue that turned up in terminology fn selector where all
items get realized. fix! :)



SVN revision: 72377
2012-06-18 09:54:00 +00:00
Carsten Haitzler f30ff2330e document new styles for gl items
SVN revision: 72365
2012-06-18 07:40:36 +00:00
Daniel Juyung Seo 282f65fe8d elm genlist: Unbork genlist group index and fix it in a correct way. Thanks to Raster for notifying that bug.
SVN revision: 72304
2012-06-17 17:20:23 +00:00
Cedric BAIL 17e30e1dea elementary: don't crash on NULL filename in elm_video.
NOTE: I don't know when this bug was introduced.


SVN revision: 72260
2012-06-17 02:45:12 +00:00
Carsten Haitzler fae68f6397 add xxx for tomorrow.
SVN revision: 72246
2012-06-16 19:07:45 +00:00
Carsten Haitzler 8b5963cd77 fix group item header placement when genlist is not at 0,0 - ppl dont
test this :)



SVN revision: 72234
2012-06-16 12:55:29 +00:00
Davide Andreoli a6a41f5717 elm_map: add elm_map_overlay_del_cb_set() to get notified when an overlay is deleted.
SVN revision: 72233
2012-06-16 12:50:54 +00:00
Daniel Juyung Seo 1f01713eb3 elm genlist: Removed 'const' from elm_genlist_decorated_item_get() API's return value. This API was aimed to manipulate decorated item so no const for the return value. Raster confirmed that this is not a API break. Thanks.
SVN revision: 72221
2012-06-16 10:12:15 +00:00
Michael BOUCHAUD 48728c1039 elementary: and now fix me
SVN revision: 72198
2012-06-15 16:48:25 +00:00
Michael BOUCHAUD d24e7b363d elementary: add elm_progressbar_unit_format_function_set
SVN revision: 72197
2012-06-15 16:32:54 +00:00
Michael BOUCHAUD 4d5405a135 elementary: fix typo in doc
SVN revision: 72196
2012-06-15 16:21:21 +00:00
Stefan Schmidt b65fe02596 elementary/elm_win: No need to define and undef the same macro all over again.
SVN revision: 72194
2012-06-15 14:11:47 +00:00
Vincent Torri bc0efce43a elm: @since. Reviewers, please, review...
SVN revision: 72189
2012-06-15 11:43:02 +00:00
Daniel Juyung Seo fab4708d34 elm genlist: Unset decorate item mode when decorate mode set is called. Yes that's so confusing. 'Decorate Item Mode' and 'Decorate Mode' are different and exlusive from the implementation.
SVN revision: 72173
2012-06-15 07:58:08 +00:00
Michael BOUCHAUD 3e382200a5 elementary: add an enum for mark repeat type, ELM_CALENDAR_LAST_DAY_OF_MONTH. fix #855
SVN revision: 72145
2012-06-14 17:10:31 +00:00
Stefan Schmidt 9c0f6e7709 elementary/elm_win: Also check for potential NULL in other defines
Thanks to Daniel Willmann pointing them out to me. Actually I wonder
why we need all this define and undef for ENGINE_COMPARE. Will dig a
bit deeper into that and see if we may can go with a single one.

SVN revision: 72144
2012-06-14 15:56:42 +00:00
Stefan Schmidt c6ff40ba13 elementary/elm_win: Check argument for NULL before we pass it to strncmp
strncmp() really does not like that. So we should not be lazy and check for it. Say thanks to
scan-build which reported these to me.

SVN revision: 72142
2012-06-14 15:01:37 +00:00
Daniel Willmann 1e25de9ab3 From: Daniel Willmann <d.willmann@samsung.com>
Subject: [PATCH] elementary: Minor fix to the documentation of ActionSlider
Date: Thu, 14 Jun 2012 15:31:05 +0100

Yeah, the most overhead I could imagine. :-)


SVN revision: 72141
2012-06-14 14:42:34 +00:00
Mike Blumenkrantz e2d63d4c40 massive, massive, MASSIVE spankies to the person that wrote gengrid's sorted insert functions. cannot overstate the size of the spankies that await you if I decide to look through the svn logs.
also fixes ticket #984
--This line
\
, and those below, will be ignored--

M    lib/elm_gengrid.c


SVN revision: 72139
2012-06-14 14:11:04 +00:00
Jaehwan Kim 3f370e5148 Add the reorder feature when the more panel is shown.
After the item is long-pressed, it can be moved.


SVN revision: 72129
2012-06-14 12:59:38 +00:00
Mike Blumenkrantz e4baf0e068 fix doc error as spotted by Daniel Willmann <d.willmann@samsung.com>
SVN revision: 72127
2012-06-14 12:41:18 +00:00
Seunggyun Kim 4f7121cd4a From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_config_font_overlay_apply bug fix

[Current Issue]
 - The API applies the changes with elm_config_font_overlay_set(). 
   But at the first time, application fonts have not been changed after
elm_config_font_overlay_apply api is called.
   The application fonts changed only when the display is updated or
elm_config_font_overlay_apply api is called again.

[Main cause]
 - When the elm_config_font_overlay_apply is called at fist time, it
calls
edje_text_class_del and edje_text_class_set in locally. But
edje_text_class_set just returns without _ejde_reclc() when new text
class
is ceated. 
  So in this case, there is nothing to be changed.
  Since second call the api, edje_text_class_del api calls
_edje_recalc() in
locally. So the application fonts are changed.

[Change Description]
 - There is two method. The first is to enable ejde_test_class_set api
is
can be recalced when the fist calling.
   The second is to add _elm_rescale() function in
elm_config_font_overlay_apply API. This occurs edje_recalc effect
after font
overay set.
   I attached the second method.



SVN revision: 72124
2012-06-14 10:55:16 +00:00
Carsten Haitzler c7fad4ef42 fix discomfitors list scalign thing.. was actually image/icon madness.
:)



SVN revision: 72109
2012-06-14 07:55:55 +00:00
Gustavo Lima Chaves c3512bb998 Be clear about gesture layer's usage.
Elm widget as parent, any Evas object as target.



SVN revision: 72091
2012-06-13 17:21:13 +00:00
Jaehwan Kim e828e20bb7 In case of scroll in scroll, the outside scroller shouldn't be scrolled if the inside scroller can be scrolled.
SVN revision: 72064
2012-06-13 07:01:00 +00:00
Gustavo Lima Chaves 7753347d27 [elm] Sexying up elm_win_icon_object_set()'s doc
string.



SVN revision: 72045
2012-06-12 16:40:57 +00:00
Carsten Haitzler 0babab585e bitch--
SVN revision: 72044
2012-06-12 16:31:02 +00:00
Carsten Haitzler 9e0801e8ea debug bitch--
SVN revision: 72042
2012-06-12 16:27:15 +00:00
Carsten Haitzler 5ef9fe3db7 complaint--
SVN revision: 72040
2012-06-12 16:21:56 +00:00
Mike Blumenkrantz 1913c99bc1 ticket #902: elementary saves map data into /tmp
now we use XDG_CACHE_HOME


SVN revision: 72035
2012-06-12 14:50:15 +00:00
Carsten Haitzler 2165089e21 add docs for new win funcs.
SVN revision: 72012
2012-06-12 10:21:41 +00:00
Carsten Haitzler 78b003d5ea new api's for hinting base+step sizes for a window.
SVN revision: 72009
2012-06-12 10:15:19 +00:00
ChunEon Park a9b4b5cd4a elementary/transit - fixed wipe effect flickering.
evas_map_point_coord APIs have the int values but evas_map_point_image_uv_set have the double parameters on the other hand.
This inconsistency causes the inexact result(flickering). 

It's not good APIs for users.



SVN revision: 71979
2012-06-12 06:39:25 +00:00
Davide Andreoli 9b72ec0dea another non premul color
SVN revision: 71970
2012-06-11 23:56:01 +00:00
Davide Andreoli 8babe97704 whops, this file wasnt mean to be committed
SVN revision: 71968
2012-06-11 23:35:05 +00:00
Davide Andreoli 5a1213ec8c evas only handle premul colors (note: not making any news or bp)
SVN revision: 71965
2012-06-11 23:25:43 +00:00
Mike Blumenkrantz ea5e907bb6 should probably return these values instead of just copy/pasting code around
SVN revision: 71935
2012-06-11 08:19:04 +00:00
Gustavo Lima Chaves 9ec740624f [elm] Just cosmetical, but since it's here on my
changes...



SVN revision: 71869
2012-06-08 21:05:51 +00:00
Gustavo Lima Chaves b15d43ef71 [elm] Oops, forgotten class smart cbs setting
paths.
This will also unb0rk Edje externals signal proxying.



SVN revision: 71868
2012-06-08 21:05:45 +00:00
Jaehwan Kim b55c923034 Add elm_object_scroll_hold/freeze_get
SVN revision: 71836
2012-06-08 08:59:07 +00:00
Mike Blumenkrantz f18b904b2a elm notify can now have the timeout set before it becomes visible
SVN revision: 71832
2012-06-08 07:20:39 +00:00
Cedric BAIL cf2c7ac35a elementary: randomly testing elementary let me come to this completly broken widget.
SVN revision: 71828
2012-06-08 02:16:19 +00:00