Commit Graph

5140 Commits

Author SHA1 Message Date
Bruno Dilly 53c51e0512 elementary: hide naviframe itens added but not on top
SVN revision: 78006
2012-10-15 16:26:22 +00:00
Bruno Dilly 0e626b7e08 elementary: fix naviframe insert before func
Adding before a unique item was segfaulting



SVN revision: 78005
2012-10-15 16:26:11 +00:00
DUBEYPRINCE KUMAR 1b2a42c819 From: DUBEYPRINCE KUMAR <prince.dubey@samsung.com>
Subject: [E-devel] [PATCH][ELEMENTARY][BUG Fix] Current Reordering
item is not resizing on genlist resize (e.g On roation)

Please review the attached patch created to fix the current reordering
item
resizing issue.
 
 [ISSUE] Current genlist reordering item is not resizing on genlist
resize
(e.g. On rotation).
 
Change Description:
 
In _calc_job call back, the width of reordering item is corrected.
   


SVN revision: 77992
2012-10-15 09:10:05 +00:00
Kim Shinwoo 39eb187493 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - blank item
should be added on round disabled mode

blank item should be added on the round disabled mode.
current diskselector adds blank item even though the round mode is enabled.
so please check the patch and give feedback. thanks.



SVN revision: 77990
2012-10-15 08:43:14 +00:00
Daniel Juyung Seo 16cb7ae33f elm elm_widget: Use const for getters.
SVN revision: 77978
2012-10-15 06:26:56 +00:00
Kim Shinwoo 0dc4ef5aef From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] toolbar - highlighting item on
access

the current toolbar does not show highlight effect on accessibility mode.
the attached would give the highlight to toolbar item.
please review the patch and give feedback. thanks.



SVN revision: 77972
2012-10-15 05:47:02 +00:00
WooHyun Jung 2640f9a966 elementary : Just fixed some mis-typos :)
SVN revision: 77970
2012-10-15 01:22:12 +00:00
Mike McCormack a32e6997d4 elementary: Fix a bunch of warnings
elc_naviframe.c: In function ‘_on_obj_size_hints_changed’:
elc_naviframe.c:1027:7: warning: assignment from incompatible pointer type
elc_naviframe.c:1020:34: warning: unused parameter ‘data’
elc_naviframe.c:1020:46: warning: unused parameter ‘e’
elc_naviframe.c:1020:73: warning: unused parameter ‘event_info’

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77969
2012-10-14 20:15:09 +00:00
Jiyoun Park 997824fba0 Modify Elm conformant widget to notify display mode change
to child widget related with keypad state change.
elm naviframe check this change and deal with this using theme


SVN revision: 77965
2012-10-14 14:48:02 +00:00
Carsten Haitzler c2f161fb3d typo--
SVN revision: 77957
2012-10-13 12:59:39 +00:00
ChunEon Park 73931a889c elementary/transit - fix the transit to launch the effect right away when elm_transit_go is called
SVN revision: 77949
2012-10-13 06:43:01 +00:00
Kim Shinwoo ef0f67781c From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] conformant - use layout focus
next, direction

um.. there would be a reason to not use focus next and direction stuff..
please let me know why the conform does not use those..
if there is no reason, please keep the patch. thanks.



SVN revision: 77947
2012-10-13 04:50:15 +00:00
Bluezery 7e4f0011bd From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [E-Devel][Patch][Elementary]Genlist - Edje Item
Cache Refactoring

This is patch for reconstructing genlist's item cache.
Each item cache functions do harsh jobs so just push,pop by
Elm_Gen_Item * now.
Before, cache is disabled by comments. But I enabled item cache again
(even for the case which tree_effect_enabled is on).

I changed some functions:
_item_cache_find() --> _item_cache_pop()
_item_cache_add() --> _item_cache_push()
_item_cache_zero() -->_item_cache_all_free()

And I removed _item_cache_clean() function because I made
_item_cache_push() to don't exceed the item_cache_max. So clean-up of
cache is not needed anymore.



SVN revision: 77944
2012-10-13 04:23:43 +00:00
Michael BOUCHAUD a1661712da elementary: elm_map use now image proxy and do some cleaning in theme, big thx to Bluezery !
SVN revision: 77939
2012-10-12 14:51:45 +00:00
WooHyun Jung ba316374b9 elementary : From. Michal Jagiello.
In elm_slideshow_timeout_get documentation is no information about what
function returns on errors.


SVN revision: 77936
2012-10-12 10:37:23 +00:00
Michael BOUCHAUD b6c771c97c elementary: add elm_map_name_search
SVN revision: 77935
2012-10-12 10:27:08 +00:00
Jihoon Kim 9a8fc5433e elm: fix typo in elm_notify
SVN revision: 77839
2012-10-11 00:37:26 +00:00
Jihoon Kim d19a9669c3 remove trailing spaces and fix coding style
SVN revision: 77838
2012-10-11 00:35:00 +00:00
Michael BOUCHAUD fc1d6f99de elementary: remove unneeded code & add some prevent code in elm_map. Patch from Bluezery, thx :)
SVN revision: 77756
2012-10-10 12:29:08 +00:00
Carsten Haitzler 3a2c283d26 i have no idea now why i put this here, hmm yes it did disable item
cache - re-enable! :(



SVN revision: 77750
2012-10-10 11:06:00 +00:00
Carsten Haitzler f917683f58 oops i didnt mean to commit this with shinwoo's patch. remove.
SVN revision: 77749
2012-10-10 11:03:44 +00:00
Cedric BAIL 2c6d0a57c9 elementary: better fix for data corruption in multibuttonentry.
Patch by Jihyeon Seol <jihyeon.seol@samsung.com>


SVN revision: 77742
2012-10-10 09:44:38 +00:00
Kim Shinwoo 1cdbfa5f82 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - bug fix

diskselector has two bugs.

1. on round enable mode
elm_diskselector_item_append(); does not call elm_box_pack_*() for
over_items and under_items which are added when the display item is
bigger
than 3.
because over_items and under_items is not added, the diskselector shows
just 4 items + half item(NOT 5 items), in case of display item number
is 5
- elm_diskselector_display_item_num(obj, 5); -.
this bug could be found only if u use as following sequence.
   a. elm_diskselector_round_enabled_set(obj, EINA_TRUE);
      b. elm_diskselector_item_append();
      
      2. on the round disable mode + bigger than 3 display item
      even though display item is bigger than 3 on the round disable
mode, only
two blank items are added - left_blank, right_blank.
because of this, the first item could not be selected. means.. the first
item cannot be located in the middle of diskselector.
if u scroll the diskselector to the left-most, then the second item is
selected as below.

   [blank] [ 1st ] [ 2nd ] [ 3rd ] [ 4th ]
   
   so if the display item is bigger than 3, more blank items would be
   necessary.
   include lines to resolve above 1st bug, the patch would resolve
this issue
also.



SVN revision: 77740
2012-10-10 09:43:58 +00:00
Kim Shinwoo 0864af3230 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] multibuttonentry - access feature

i have attached a patch which has access feature for the multibuttonentry.
it was hard time to implement access feature on the multibuttonentry than
others.



SVN revision: 77738
2012-10-10 09:37:50 +00:00
KoziarekBeata 39d8d990e3 From: KoziarekBeata <b.koziarek@samsung.com>
Subject: [E-devel] [elementary] size value checking in elm config

This patch contains size value checks for some functions in elm_config
file.
 
I think that calling these function with negative size values has no
sense.



SVN revision: 77734
2012-10-10 09:26:29 +00:00
Michael BOUCHAUD 994441181c elementary: don't try to find one more time the node we want to remove. We already have it !
SVN revision: 77630
2012-10-09 08:49:06 +00:00
Michael BOUCHAUD 881c36211c elementary: fix calculation of scale table, thx to Bluezery
SVN revision: 77620
2012-10-09 08:18:28 +00:00
Bruno Dilly fed295ce26 elementary: add since tag on new spinner funcs
SVN revision: 77600
2012-10-08 22:55:26 +00:00
Bruno Dilly e0d1bab54a elementary: add special value del / get funcs to spinner
SVN revision: 77590
2012-10-08 22:39:15 +00:00
Bruno Dilly 93295e2657 elementary: replace previously special value set
When adding a special value, check if there is already a label for
the value. If it's the case, just replace the label.



SVN revision: 77589
2012-10-08 22:39:05 +00:00
Cedric BAIL 6f20d1cb7f elementary: should work with wayland when both wayland and x11 backend are build.
SVN revision: 77496
2012-10-05 01:59:11 +00:00
Sebastian Dransfeld 870c91ca10 elementary: Add COMPOUND_TEXT handler
Needed for vim cnp

SVN revision: 77486
2012-10-04 23:19:05 +00:00
Sebastian Dransfeld 9444642ee7 elementary: Don't allocate unneeded data
SVN revision: 77475
2012-10-04 23:17:28 +00:00
Cedric BAIL 98f1dc53d6 elementary: add color picker to elm_colorselector.
SVN revision: 77409
2012-10-04 08:27:07 +00:00
Cedric BAIL 441a2ef861 elementary: Fixes copy&paste error and possible invalid memory access.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77397
2012-10-04 02:47:15 +00:00
Cedric BAIL 4e92316193 elementary: Simplifies code and removes redundant duplicated code.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77396
2012-10-04 02:43:57 +00:00
Cedric BAIL f79c9bb374 elementary: Fixes bad format strings in *printf() calls.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77395
2012-10-04 02:42:26 +00:00
Bruno Dilly 900ba23681 elementary: correctly balance init counts
It was always increasing quicklaunch count on init, but
only reducing on shutdown when _elm_init_count is zeroed,
i.e., the quicklaunc_shutdown rountine wasn't being executed.



SVN revision: 77378
2012-10-03 16:41:46 +00:00
Michael BOUCHAUD 14e4e7dfbe elementary: add elm_calendar_displayed_time_get to know which month is displayed. And add a signal display,changed
SVN revision: 77362
2012-10-03 10:02:27 +00:00
Bruno Dilly f3106115d3 elementary: fix enum docs on elm_general
SVN revision: 77329
2012-10-02 17:06:20 +00:00
Bruno Dilly 322ceb0458 elementary: add policy for elm exit
With ELM_POLICY_EXIT it's possible to request elementary
to delete all the windows before shutdown instead of just
quitting the main loop.



SVN revision: 77328
2012-10-02 17:06:11 +00:00
Stefan Schmidt f2f7c1deef elementary/genlist: Init itc to NULL before using it.
SVN revision: 77320
2012-10-02 12:53:58 +00:00
Bruno Dilly 34dbd67c31 elementary: fix spinner wrap
It's weird, but looks like wrap mode of the spinner is broken at least
since the move of elm to trunk.

The current code:

  if (sd->wrap)
     {
        while (new_val < sd->val_min)
          new_val = sd->val_max + new_val + 1 - sd->val_min;
        while (new_val > sd->val_max)
          new_val = sd->val_min + new_val - sd->val_max - 1;
     }

doesn't seems correct. Since even the documented example would fails:

 * E.g.:
 * @li min value = 10
 * @li max value = 50
 * @li step value = 20
 * @li displayed value = 20
 *
 * When the user decrement value (using left or bottom arrow), it will
 * displays @c 40, because max - (min - (displayed - step)) is
 * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.

With the current code the value will be 41.

It also could lead to values above min, like happens on the first spinner test,
when you could go to -50.5 because new value will become:
 250 + (-50.5) + 1 - (-50) in the first while() and later since these value
 is bigger then 250, would go back to -50.5 ...

So, a reasonable algorithm would be

  if (sd->wrap)
     {
        if (new_val < sd->val_min)
          new_val = sd->val_max + new_val - sd->val_min;
        else if (new_val > sd->val_max)
          new_val = sd->val_min + new_val - sd->val_max;
     }

But it doesn't works fine for cases like the months spinners test, when you
have min = 1, max = 12, step = 1 and each option should be displayed with
wrap. This algorithm would wraps from 1 to 11, so would skip December...

So, I think just going to the max value when min is reached is the better
choice.

   if (sd->wrap)
     {
        if (new_val < sd->val_min)
          new_val = sd->val_max;
        else if (new_val > sd->val_max)
          new_val = sd->val_min;
     }



SVN revision: 77278
2012-10-01 20:44:19 +00:00
Daniel Juyung Seo 838684f1bf elm genlist: Fixed reorder mode to scroll the pan when reorder item approaches to the edges. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Sep 28, 2012 at 10:04 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear EFL developers,
>
> In current genlist reorder mode, reordering is not moved when
> reordering item is on top or in bottom of within genlist objec because
> of scroller's hold mode.
> After mouse point is moved out of genlist object, then reordering item
> can be moved.
> But in mobile, mouse point can not be moved out of window (if genlist
> item is expanded in window).
> So I add some tweaks to reordering item can be moved when reordering
> item is moved on top item or bottom item.
>
> Please review this patch.
>
> BRs
> Kim.

SVN revision: 77255
2012-10-01 08:55:46 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Vincent Torri 9da7ce5abe Elm: fix compilation of codegen on Mac and formatting in elm_priv.h
SVN revision: 77220
2012-09-30 07:15:30 +00:00
ChunEon Park 5db89a0439 elementary/genlist - my fault. fixed build error :1
SVN revision: 77219
2012-09-29 18:45:15 +00:00
ChunEon Park 48613d7cd8 elementary/genlist - remove it safely.
SVN revision: 77218
2012-09-29 18:40:43 +00:00
Gustavo Lima Chaves 6914df9e5f [elm] Let's check for an elm widget before recursing on elm_widget_theme().
SVN revision: 77207
2012-09-28 14:08:00 +00:00
Gustavo Lima Chaves 939a530ebb We don't want to get err messages on !win objects on entry focus.
This can happen on window deletion scenario:

the parent object is elm_widget_sub_object_del()ed BEFORE it gets
evas_object_del()ed, so its children won't reach the window anymore.



SVN revision: 77206
2012-09-28 14:07:16 +00:00