platform/upstream/elementary.git
12 years agoElm genlist: Revert "From: Bluezery <ohpowel@gmail.com>"
Bluezery [Mon, 22 Oct 2012 14:34:43 +0000 (14:34 +0000)]
Elm genlist: Revert "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.

Breaks "genlist 2" test and clouseau. Just open genlist 2, press the "X"
button, and then the "+" button.

This reverts commit 77944.

SVN revision: 78336

12 years agoMake widget search instantaneous.
Sanjeev BA [Mon, 22 Oct 2012 06:00:50 +0000 (06:00 +0000)]
Make widget search instantaneous.

SVN revision: 78315

12 years agoelm elm_bubble.h: Added documentation for bubble widget.
Daniel Juyung Seo [Mon, 22 Oct 2012 00:47:10 +0000 (00:47 +0000)]
elm elm_bubble.h: Added documentation for bubble widget.

SVN revision: 78310

12 years agoelm/data/themes images: Move all image files for default to images directories. This...
Daniel Juyung Seo [Sun, 21 Oct 2012 08:34:20 +0000 (08:34 +0000)]
elm/data/themes images: Move all image files for default to images directories. This cleans up data/themes directory.

SVN revision: 78304

12 years agoelementary/transit - fix elm_transit image animation that last few frame are skipped
ChunEon Park [Fri, 19 Oct 2012 07:46:33 +0000 (07:46 +0000)]
elementary/transit - fix elm_transit image animation that last few frame are skipped

SVN revision: 78233

12 years agoelm: ChangeLog and NEWS for r78221.
Daniel Juyung Seo [Fri, 19 Oct 2012 05:40:16 +0000 (05:40 +0000)]
elm: ChangeLog and NEWS for r78221.

SVN revision: 78223

12 years agoelm gengrid: Fixed wrong _calc_job parameter. Patch by Bluezery <ohpowel@gmail.com>
Daniel Juyung Seo [Fri, 19 Oct 2012 04:06:42 +0000 (04:06 +0000)]
elm gengrid: Fixed wrong _calc_job parameter. Patch by Bluezery <ohpowel@gmail.com>

On Fri, Oct 19, 2012 at 12:30 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear all,
>
> There is a bug, invalid data assign into ecore_job.
> Trivial whilte space removal is included also.  it's automated in my editor :D.
>
> Please review this patch.
>
> --
> BRs,
> Kim.

SVN revision: 78221

12 years agoelementary: adds safety check when setting childs to elm_layout_box_*.
Cedric BAIL [Fri, 19 Oct 2012 03:17:00 +0000 (03:17 +0000)]
elementary: adds safety check when setting childs to elm_layout_box_*.

Patch from KoziarekBeata <b.koziarek@samsung.com>

SVN revision: 78220

12 years agoelementary: starting work for using WebKit2 as an alternative to WebKit.
Cedric BAIL [Fri, 19 Oct 2012 03:08:45 +0000 (03:08 +0000)]
elementary: starting work for using WebKit2 as an alternative to WebKit.

Patch by ryuan Choi <ryuan.choi@gmail.com>

SVN revision: 78219

12 years agoelementary/elm_entry : Add widget checking for some APIs.
WooHyun Jung [Fri, 19 Oct 2012 00:56:03 +0000 (00:56 +0000)]
elementary/elm_entry : Add widget checking for some APIs.

SVN revision: 78207

12 years agoWhen the theme is changed, the min value should be set the min of edc newly.
Jaehwan Kim [Thu, 18 Oct 2012 08:47:41 +0000 (08:47 +0000)]
When the theme is changed, the min value should be set the min of edc newly.

SVN revision: 78162

12 years agoAdd the fitting the size of items according the viewport size.
Jaehwan Kim [Thu, 18 Oct 2012 07:57:13 +0000 (07:57 +0000)]
Add the fitting the size of items according the viewport size.
If the sum of item's min is larger than the viewport size in ELM_TOOLBAR_SHRINK_EXPAND mode,
it can be scroll. And the end of the item is fitted on the end of the viewport.

SVN revision: 78156

12 years agochange returned value from -1 to EINA_FALSE.
Sanjeev BA [Thu, 18 Oct 2012 00:55:19 +0000 (00:55 +0000)]
change returned value from -1 to EINA_FALSE.

Author:    KoziarekBeata <b.koziarek@samsung.com>

SVN revision: 78142

12 years agoelm: ChangeLog and NEWS for r78111.
Daniel Juyung Seo [Wed, 17 Oct 2012 10:27:27 +0000 (10:27 +0000)]
elm: ChangeLog and NEWS for r78111.

SVN revision: 78113

12 years agoelm: Fixed on_focus_region() issue. Focused area should be scrolled only when it...
Daniel Juyung Seo [Wed, 17 Oct 2012 10:09:52 +0000 (10:09 +0000)]
elm: Fixed on_focus_region() issue. Focused area should be scrolled only when it is needed. Now only entry needs this feature.

SVN revision: 78111

12 years agooops accidentally committed test code! :(
Carsten Haitzler [Wed, 17 Oct 2012 07:02:51 +0000 (07:02 +0000)]
oops accidentally committed test code! :(

SVN revision: 78106

12 years agoelm test_map.c: Fixed infinite menu creation bug. Remove menu on map deletion. Patch...
Daniel Juyung Seo [Wed, 17 Oct 2012 02:43:50 +0000 (02:43 +0000)]
elm test_map.c: Fixed infinite menu creation bug. Remove menu on map deletion. Patch by Bluezery <ohpowel@gmail.com>

SVN revision: 78098

12 years agoRevert "elementary: hide naviframe itens added but not on
Bruno Dilly [Tue, 16 Oct 2012 18:01:21 +0000 (18:01 +0000)]
Revert "elementary: hide naviframe itens added but not on
 top"

This reverts commit r78006.

SVN revision: 78069

12 years agoNo need code.
Jaehwan Kim [Tue, 16 Oct 2012 05:29:24 +0000 (05:29 +0000)]
No need code.

SVN revision: 78033

12 years agoelm elc_naviframe.c: Initialize on declaration.
Daniel Juyung Seo [Tue, 16 Oct 2012 02:54:59 +0000 (02:54 +0000)]
elm elc_naviframe.c: Initialize on declaration.

SVN revision: 78028

12 years agoelm/video: fix elm_widget_type_check (obj=0x0, type=0x29a520 elm_layout, func=0x29ade...
Jihoon Kim [Tue, 16 Oct 2012 01:25:37 +0000 (01:25 +0000)]
elm/video: fix elm_widget_type_check (obj=0x0, type=0x29a520 elm_layout, func=0x29ade9 elm_layout_sizing_eval)

SVN revision: 78024

12 years agoelm: Added Jiyoun Park to elementary authors list.
Daniel Juyung Seo [Tue, 16 Oct 2012 00:01:38 +0000 (00:01 +0000)]
elm: Added Jiyoun Park to elementary authors list.

SVN revision: 78021

12 years agoelm elm_authors.h: Synced authors with AUTHORS file.
Daniel Juyung Seo [Tue, 16 Oct 2012 00:01:33 +0000 (00:01 +0000)]
elm elm_authors.h: Synced authors with AUTHORS file.

SVN revision: 78020

12 years agoelm elc_naviframe.c: Line breaks.
Daniel Juyung Seo [Mon, 15 Oct 2012 23:44:39 +0000 (23:44 +0000)]
elm elc_naviframe.c: Line breaks.

SVN revision: 78019

12 years agoElm_Win: Don't draw decorations for ELM_WIN_INLINED_IMAGE on
Eduardo Lima (Etrunko) [Mon, 15 Oct 2012 20:51:23 +0000 (20:51 +0000)]
Elm_Win: Don't draw decorations for ELM_WIN_INLINED_IMAGE on
 Wayland

Closes ticket #1419

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
SVN revision: 78007

12 years agoelementary: hide naviframe itens added but not on top
Bruno Dilly [Mon, 15 Oct 2012 16:26:22 +0000 (16:26 +0000)]
elementary: hide naviframe itens added but not on top

SVN revision: 78006

12 years agoelementary: fix naviframe insert before func
Bruno Dilly [Mon, 15 Oct 2012 16:26:11 +0000 (16:26 +0000)]
elementary: fix naviframe insert before func

Adding before a unique item was segfaulting

SVN revision: 78005

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Mon, 15 Oct 2012 09:14:23 +0000 (09:14 +0000)]
From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] ctxpopup - use proper mouse
signal for item

ctxpopup had used its own item not the elm_list. i would like to fix a bug
on selecting item to support user who is using old version ctxpopup.
the reproduce steps are as below.

 0. precondition: ctxpopup displays which has a lot of items, so user
 should scroll to select bottom(or up) side item.
  1. scroll down(or up) ctxpopup item
   2. select one of items

   on step 2,
   the item back ground seems to be clicked. it means part "bg" changes its
state to "clicked" when part "over2" emits "mouse,down,1"
and "default" when part "over2" emits "mouse,up,1".

but, part "over1" have used "ignore_flags: ON_HOLD" with "mouse,up,1", so
on step 2, it cannot emit "elm,action,click"
because elm_scroller uses ELM_EVENT_FLAG_ON_HOLD. so user should
select(click) the item once again.

so in the attached patch, it would be better to remove the "ignore_flags:
ON_HOLD" and use "mouse,clicked,1" instead of "mouse,up,1" as others.
then, please review the attached patch and give feedback. thanks.

SVN revision: 77994

12 years agoFrom: DUBEYPRINCE KUMAR <prince.dubey@samsung.com>
DUBEYPRINCE KUMAR [Mon, 15 Oct 2012 09:10:05 +0000 (09:10 +0000)]
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

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Mon, 15 Oct 2012 08:43:14 +0000 (08:43 +0000)]
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

12 years agoelm elm_widget: Use const for getters.
Daniel Juyung Seo [Mon, 15 Oct 2012 06:26:56 +0000 (06:26 +0000)]
elm elm_widget: Use const for getters.

SVN revision: 77978

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Mon, 15 Oct 2012 05:47:02 +0000 (05:47 +0000)]
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

12 years agoelementary : Just fixed some mis-typos :)
WooHyun Jung [Mon, 15 Oct 2012 01:22:12 +0000 (01:22 +0000)]
elementary : Just fixed some mis-typos :)

SVN revision: 77970

12 years agoelementary: Fix a bunch of warnings
Mike McCormack [Sun, 14 Oct 2012 20:15:09 +0000 (20:15 +0000)]
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

12 years agoModify Elm conformant widget to notify display mode change
Jiyoun Park [Sun, 14 Oct 2012 14:48:02 +0000 (14:48 +0000)]
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

12 years agotypo--
Carsten Haitzler [Sat, 13 Oct 2012 12:59:39 +0000 (12:59 +0000)]
typo--

SVN revision: 77957

12 years agoelementary/transit - fix the transit to launch the effect right away when elm_transit...
ChunEon Park [Sat, 13 Oct 2012 06:43:01 +0000 (06:43 +0000)]
elementary/transit - fix the transit to launch the effect right away when elm_transit_go is called

SVN revision: 77949

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Sat, 13 Oct 2012 04:50:15 +0000 (04:50 +0000)]
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

12 years agofix toggle sizing with small finger size. minor thing - wont backport.
Carsten Haitzler [Sat, 13 Oct 2012 04:45:08 +0000 (04:45 +0000)]
fix toggle sizing with small finger size. minor thing - wont backport.

SVN revision: 77946

12 years agofix chglog
Carsten Haitzler [Sat, 13 Oct 2012 04:25:24 +0000 (04:25 +0000)]
fix chglog

SVN revision: 77945

12 years agoFrom: Bluezery <ohpowel@gmail.com>
Bluezery [Sat, 13 Oct 2012 04:23:43 +0000 (04:23 +0000)]
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

12 years agoelementary: elm_map use now image proxy and do some cleaning in theme, big thx to...
Michael BOUCHAUD [Fri, 12 Oct 2012 14:51:45 +0000 (14:51 +0000)]
elementary: elm_map use now image proxy and do some cleaning in theme, big thx to Bluezery !

SVN revision: 77939

12 years agoelementary : From. Michal Jagiello.
WooHyun Jung [Fri, 12 Oct 2012 10:37:23 +0000 (10:37 +0000)]
elementary : From. Michal Jagiello.
In elm_slideshow_timeout_get documentation is no information about what
function returns on errors.

SVN revision: 77936

12 years agoelementary: add elm_map_name_search
Michael BOUCHAUD [Fri, 12 Oct 2012 10:27:08 +0000 (10:27 +0000)]
elementary: add elm_map_name_search

SVN revision: 77935

12 years agoelm: fix typo in elm_notify
Jihoon Kim [Thu, 11 Oct 2012 00:37:26 +0000 (00:37 +0000)]
elm: fix typo in elm_notify

SVN revision: 77839

12 years agoremove trailing spaces and fix coding style
Jihoon Kim [Thu, 11 Oct 2012 00:35:00 +0000 (00:35 +0000)]
remove trailing spaces and fix coding style

SVN revision: 77838

12 years agoelementary: remove unneeded code & add some prevent code in elm_map. Patch from Bluez...
Michael BOUCHAUD [Wed, 10 Oct 2012 12:29:08 +0000 (12:29 +0000)]
elementary: remove unneeded code & add some prevent code in elm_map. Patch from Bluezery, thx :)

SVN revision: 77756

12 years agoi have no idea now why i put this here, hmm yes it did disable item
Carsten Haitzler [Wed, 10 Oct 2012 11:06:00 +0000 (11:06 +0000)]
i have no idea now why i put this here, hmm yes it did disable item
cache - re-enable! :(

SVN revision: 77750

12 years agooops i didnt mean to commit this with shinwoo's patch. remove.
Carsten Haitzler [Wed, 10 Oct 2012 11:03:44 +0000 (11:03 +0000)]
oops i didnt mean to commit this with shinwoo's patch. remove.

SVN revision: 77749

12 years agoelementary: better fix for data corruption in multibuttonentry.
Cedric BAIL [Wed, 10 Oct 2012 09:44:38 +0000 (09:44 +0000)]
elementary: better fix for data corruption in multibuttonentry.

Patch by Jihyeon Seol <jihyeon.seol@samsung.com>

SVN revision: 77742

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Wed, 10 Oct 2012 09:43:58 +0000 (09:43 +0000)]
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

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Wed, 10 Oct 2012 09:37:50 +0000 (09:37 +0000)]
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

12 years agoFrom: KoziarekBeata <b.koziarek@samsung.com>
KoziarekBeata [Wed, 10 Oct 2012 09:26:29 +0000 (09:26 +0000)]
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

12 years agoelementary: don't try to find one more time the node we want to remove. We already...
Michael BOUCHAUD [Tue, 9 Oct 2012 08:49:06 +0000 (08:49 +0000)]
elementary: don't try to find one more time the node we want to remove. We already have it !

SVN revision: 77630

12 years agoelementary: fix calculation of scale table, thx to Bluezery
Michael BOUCHAUD [Tue, 9 Oct 2012 08:18:28 +0000 (08:18 +0000)]
elementary: fix calculation of scale table, thx to Bluezery

SVN revision: 77620

12 years agoelementary: add since tag on new spinner funcs
Bruno Dilly [Mon, 8 Oct 2012 22:55:26 +0000 (22:55 +0000)]
elementary: add since tag on new spinner funcs

SVN revision: 77600

12 years agoelementary: update changelog
Bruno Dilly [Mon, 8 Oct 2012 22:39:26 +0000 (22:39 +0000)]
elementary: update changelog

I was forgetting to add changelog entries

SVN revision: 77591

12 years agoelementary: add special value del / get funcs to spinner
Bruno Dilly [Mon, 8 Oct 2012 22:39:15 +0000 (22:39 +0000)]
elementary: add special value del / get funcs to spinner

SVN revision: 77590

12 years agoelementary: replace previously special value set
Bruno Dilly [Mon, 8 Oct 2012 22:39:05 +0000 (22:39 +0000)]
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

12 years agoelm elementary_codegen.c: Removed 'may be used uninitialized.' warnings.
Daniel Juyung Seo [Fri, 5 Oct 2012 14:36:00 +0000 (14:36 +0000)]
elm elementary_codegen.c: Removed 'may be used uninitialized.' warnings.

SVN revision: 77535

12 years agoelementary: should work with wayland when both wayland and x11 backend are build.
Cedric BAIL [Fri, 5 Oct 2012 01:59:11 +0000 (01:59 +0000)]
elementary: should work with wayland when both wayland and x11 backend are build.

SVN revision: 77496

12 years agoelementary: Add COMPOUND_TEXT handler
Sebastian Dransfeld [Thu, 4 Oct 2012 23:19:05 +0000 (23:19 +0000)]
elementary: Add COMPOUND_TEXT handler

Needed for vim cnp

SVN revision: 77486

12 years agoelementary: Don't allocate unneeded data
Sebastian Dransfeld [Thu, 4 Oct 2012 23:17:28 +0000 (23:17 +0000)]
elementary: Don't allocate unneeded data

SVN revision: 77475

12 years agoelm configure.ac: elementary colorselector needs ecore input. now fixed. spank cedric.
Daniel Juyung Seo [Thu, 4 Oct 2012 16:33:22 +0000 (16:33 +0000)]
elm configure.ac: elementary colorselector needs ecore input. now fixed. spank cedric.

SVN revision: 77443

12 years agoelm test_colorselector.c: Added PICKER mode for color selector.
Daniel Juyung Seo [Thu, 4 Oct 2012 11:00:26 +0000 (11:00 +0000)]
elm test_colorselector.c: Added PICKER mode for color selector.

SVN revision: 77426

12 years agoelementary: add color picker to elm_colorselector.
Cedric BAIL [Thu, 4 Oct 2012 08:27:07 +0000 (08:27 +0000)]
elementary: add color picker to elm_colorselector.

SVN revision: 77409

12 years agoelementary: oops forgot to update the AUTHORS files.
Cedric BAIL [Thu, 4 Oct 2012 08:22:44 +0000 (08:22 +0000)]
elementary: oops forgot to update the AUTHORS files.

SVN revision: 77408

12 years agoelementary: Require Ecore >= 1.7.99 to build Elementary to fix following
Cedric BAIL [Thu, 4 Oct 2012 02:50:29 +0000 (02:50 +0000)]
elementary: Require Ecore >= 1.7.99 to build Elementary to fix following

Patch by Igor Murzov <e-mail@date.by>

SVN revision: 77399

12 years agoelementary: Fixes copy&paste error and possible invalid memory access.
Cedric BAIL [Thu, 4 Oct 2012 02:47:15 +0000 (02:47 +0000)]
elementary: Fixes copy&paste error and possible invalid memory access.

Patch by Igor Murzov <e-mail@date.by>

SVN revision: 77397

12 years agoelementary: Simplifies code and removes redundant duplicated code.
Cedric BAIL [Thu, 4 Oct 2012 02:43:57 +0000 (02:43 +0000)]
elementary: Simplifies code and removes redundant duplicated code.

Patch by Igor Murzov <e-mail@date.by>

SVN revision: 77396

12 years agoelementary: Fixes bad format strings in *printf() calls.
Cedric BAIL [Thu, 4 Oct 2012 02:42:26 +0000 (02:42 +0000)]
elementary: Fixes bad format strings in *printf() calls.

Patch by Igor Murzov <e-mail@date.by>

SVN revision: 77395

12 years agoelementary: Removes unused variable.
Cedric BAIL [Thu, 4 Oct 2012 02:40:59 +0000 (02:40 +0000)]
elementary: Removes unused variable.

Patch by Igor Murzov <e-mail@date.by>

SVN revision: 77394

12 years agoelementary: correctly balance init counts
Bruno Dilly [Wed, 3 Oct 2012 16:41:46 +0000 (16:41 +0000)]
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

12 years agoelementary: on external widgets del just call shutdown
Bruno Dilly [Wed, 3 Oct 2012 16:41:30 +0000 (16:41 +0000)]
elementary: on external widgets del just call shutdown

Instead of adding it to an idler.
If the main loop is already dead it won't shutdown correctly.

SVN revision: 77377

12 years agoelementary: add elm_calendar_displayed_time_get to know which month is displayed...
Michael BOUCHAUD [Wed, 3 Oct 2012 10:02:27 +0000 (10:02 +0000)]
elementary: add elm_calendar_displayed_time_get to know which month is displayed. And add a signal display,changed

SVN revision: 77362

12 years agoupdating galician translations
Massimo Maiurana [Tue, 2 Oct 2012 21:11:31 +0000 (21:11 +0000)]
updating galician translations

SVN revision: 77336

12 years agoelementary_codegen: Fixing a small problem with programs
Flavio Vinicius Alvares Ceolin [Tue, 2 Oct 2012 19:09:10 +0000 (19:09 +0000)]
elementary_codegen: Fixing a small problem with programs

Generating code even when there is no signal and/or source
in a program with SIGNAL_EMIT action.

SVN revision: 77332

12 years agoelementary: fix enum docs on elm_general
Bruno Dilly [Tue, 2 Oct 2012 17:06:20 +0000 (17:06 +0000)]
elementary: fix enum docs on elm_general

SVN revision: 77329

12 years agoelementary: add policy for elm exit
Bruno Dilly [Tue, 2 Oct 2012 17:06:11 +0000 (17:06 +0000)]
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

12 years agoelementary/genlist: Init itc to NULL before using it.
Stefan Schmidt [Tue, 2 Oct 2012 12:53:58 +0000 (12:53 +0000)]
elementary/genlist: Init itc to NULL before using it.

SVN revision: 77320

12 years agoelementary: fix spinner wrap
Bruno Dilly [Mon, 1 Oct 2012 20:44:19 +0000 (20:44 +0000)]
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

12 years agoelm genlist: Fixed reorder mode to scroll the pan when reorder item approaches to...
Daniel Juyung Seo [Mon, 1 Oct 2012 08:55:46 +0000 (08:55 +0000)]
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

12 years agoelementary/flip - not inteded this line..
ChunEon Park [Mon, 1 Oct 2012 08:22:49 +0000 (08:22 +0000)]
elementary/flip - not inteded this line..

SVN revision: 77251

12 years agoelm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
Daniel Juyung Seo [Mon, 1 Oct 2012 07:36:27 +0000 (07:36 +0000)]
elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).

SVN revision: 77244

12 years agoelementary/flip - reverted 77229. actually clo.png is used.
ChunEon Park [Mon, 1 Oct 2012 06:35:08 +0000 (06:35 +0000)]
elementary/flip - reverted 77229. actually clo.png is used.

SVN revision: 77236

12 years agoelementary/flip - removed unnecessay line
ChunEon Park [Sun, 30 Sep 2012 13:39:37 +0000 (13:39 +0000)]
elementary/flip - removed unnecessay line

SVN revision: 77229

12 years agoElm: fix compilation of codegen on Mac and formatting in elm_priv.h
Vincent Torri [Sun, 30 Sep 2012 07:15:30 +0000 (07:15 +0000)]
Elm: fix compilation of codegen on Mac and formatting in elm_priv.h

SVN revision: 77220

12 years agoelementary/genlist - my fault. fixed build error :1
ChunEon Park [Sat, 29 Sep 2012 18:45:15 +0000 (18:45 +0000)]
elementary/genlist - my fault. fixed build error :1

SVN revision: 77219

12 years agoelementary/genlist - remove it safely.
ChunEon Park [Sat, 29 Sep 2012 18:40:43 +0000 (18:40 +0000)]
elementary/genlist - remove it safely.

SVN revision: 77218

12 years agoelementary: remove wrap from one of spinner tests
Bruno Dilly [Fri, 28 Sep 2012 21:07:28 +0000 (21:07 +0000)]
elementary: remove wrap from one of spinner tests

Since all the spinners have wrap set we don't test if min / max
are working fine without it.
Also, using EINA_TRUE instead of ELM_WRAP_CHAR makes more sense.

Anyway I couldn't reproduce the bug Ricardo reported to me =/

SVN revision: 77213

12 years agoelm: add bg external
Bruno Dilly [Fri, 28 Sep 2012 21:07:23 +0000 (21:07 +0000)]
elm: add bg external

I know some guys insinuated it's useless, since if you want to
put a image in your theme you can just place a image part.

But there are some cool things:
 - You can add a background that fits the theme (default bg theme)
 - You can use background options (tile, stretch...)

SVN revision: 77212

12 years ago[elm] Let's check for an elm widget before recursing on elm_widget_theme().
Gustavo Lima Chaves [Fri, 28 Sep 2012 14:08:00 +0000 (14:08 +0000)]
[elm] Let's check for an elm widget before recursing on elm_widget_theme().

SVN revision: 77207

12 years agoWe don't want to get err messages on !win objects on entry focus.
Gustavo Lima Chaves [Fri, 28 Sep 2012 14:07:16 +0000 (14:07 +0000)]
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

12 years agoFrom: Jihyeon Seol <jihyeon.seol@samsung.com>
Jihyeon Seol [Fri, 28 Sep 2012 09:28:18 +0000 (09:28 +0000)]
From: Jihyeon Seol <jihyeon.seol@samsung.com>
Subject: [E-devel] [Patch] multibuttonentry - data corruption issue of
the box list

here is a problem in the data corruption of the box list in
_box_layout_cb() of the multibuttonentry.

EINA_LIST_FOREACH is used to move and resize the objects.
but if box unpack/pack is called in the EINA_LIST_FOREACH loop,
the data of the box list will be corrupted.

This problem can not be solved immediately due to the structural
problems of
the MBE.
So the attached patch, a workaround, avoids calling unpack/pack in the
EINA_LIST_FOREACH loop.

I am in the process of refactoring MBE but in the mean time,
this patch will resolve the above issue.

SVN revision: 77192

12 years agotypo--
Carsten Haitzler [Fri, 28 Sep 2012 08:50:19 +0000 (08:50 +0000)]
typo--

SVN revision: 77183

12 years agoFrom: Kim Shinwoo <kimcinoo.efl@gmail.com>
Kim Shinwoo [Fri, 28 Sep 2012 08:48:48 +0000 (08:48 +0000)]
From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - checking middle
item

the diskselector object x-coordinate would not be 0.
but the _scroll_animate_stop_cb() calculates selected item with assumption
that the diskselector object x-coordinate is 0.
so different item which is not in middle of diskselector is selected.

SVN revision: 77182

12 years agofix indentation
Jaehwan Kim [Fri, 28 Sep 2012 04:23:29 +0000 (04:23 +0000)]
fix indentation

SVN revision: 77177

12 years agoAdd the toolbar API which expand the transverse length
Jaehwan Kim [Thu, 27 Sep 2012 03:05:50 +0000 (03:05 +0000)]
Add the toolbar API which expand the transverse length

SVN revision: 77107

12 years agoelementary: Fix uninitialized variable warning
Mike McCormack [Wed, 26 Sep 2012 19:53:53 +0000 (19:53 +0000)]
elementary: Fix uninitialized variable warning

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

12 years agoelementary/transit - removed unnecessary line
ChunEon Park [Wed, 26 Sep 2012 09:15:34 +0000 (09:15 +0000)]
elementary/transit - removed unnecessary line

SVN revision: 77077