platform/upstream/elementary.git
9 years agoGenlist: support of ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode of genlist item for...
Umesh Tanwar [Fri, 22 May 2015 05:33:10 +0000 (14:33 +0900)]
Genlist: support of ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode of genlist item for ELM_ITEM_SELECT_ON_FOCUS_DISABLE config variable.

Summary:
When environment variable ELM_ITEM_SELECT_ON_FOCUS_DISABLE is set
_item_focused_next() function doesn't support for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix

Reviewers: raster, Hermet

Subscribers: singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2464

9 years agoelm config - init wl if env vars indicate we should
Carsten Haitzler (Rasterman) [Fri, 22 May 2015 03:12:36 +0000 (12:12 +0900)]
elm config - init wl if env vars indicate we should

this ensures event id's are initted and more if we are in wl mode like
in x11 mode

@fix

9 years agotest_genlist: Fix warnings while running "Genlist Textblock".
Amitesh Singh [Thu, 21 May 2015 18:42:24 +0000 (03:42 +0900)]
test_genlist: Fix warnings while running "Genlist Textblock".

Summary:
'Genlist Textblock' uses message style which does not have elm.swallow.icon
part.

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Test Plan: elementary_test -to "Genlist Textblock"

Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2546

9 years agofileselector button: correct window parent finding
Thiep Ha [Thu, 21 May 2015 18:35:47 +0000 (03:35 +0900)]
fileselector button: correct window parent finding

Summary:
Fileselector button fails to run in inwin mode.
It is caused by incorrect window parent finding.
This patch corrects the window parent finding.

@fix

Test Plan:
run FileSelector Button, toggle Inwin mode option to on,
eo gives error and nothing is shown.

Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D2552

9 years agoGengrid: Updated gengrid to select the last item.
Vaibhav Gupta [Thu, 21 May 2015 09:02:00 +0000 (18:02 +0900)]
Gengrid: Updated gengrid to select the last item.

Summary:
Updated gengrid to move item selection in 'vertical' mode to the last
item, when currently selected item is not in the last row. As per the
original behaviour, on moving down from such an item, it takes the
focus out of the gengrid widget. Now it is updated to go to the last
item (in last row), and then on further pressing down, focus comes
out of gengrid.

This is something similar to what happens in other UI systems like in
Ubuntu and Windows, when pressing down on (n-1)th row, the last item
in the nth row gets focused.

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: Hermet, SanghyeonLee, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2418

9 years agoFix make clean
Daniel Zaoui [Thu, 21 May 2015 07:00:11 +0000 (10:00 +0300)]
Fix make clean

The problem was that eo files were deleted during make clean.

9 years agoelm_genlist: fix implementation of genlist tooltip functions
Aleksey Karmanov [Thu, 21 May 2015 01:22:23 +0000 (10:22 +0900)]
elm_genlist: fix implementation of genlist tooltip functions

Summary:
elm_genlist_item_tooltip_style_get
elm_genlist_item_tooltip_window_mode_get
@fix

Reviewers: artem.popov, myoungwoon, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2530

9 years agoImmediatly change the cursor if changed from inside the widget
Dave Andreoli [Wed, 20 May 2015 19:31:53 +0000 (21:31 +0200)]
Immediatly change the cursor if changed from inside the widget

@fix elm_object_cursor_set() to work also when used with the mouse pointer
yet inside the widget, otherwise you need to mouseout/mousein to actually see
the new setted cursor.

Please give a short review on this one, maybe there is a simpler way to check
if the pointer is inside the widget...

Also added a button in the cursor test for this use case

9 years agoeo: remove occurences of @const_get/@const_set
Daniel Kolesa [Wed, 20 May 2015 16:54:54 +0000 (17:54 +0100)]
eo: remove occurences of @const_get/@const_set

9 years agoFix usage of the now removed eo_error_set().
Tom Hacohen [Wed, 20 May 2015 15:31:04 +0000 (16:31 +0100)]
Fix usage of the now removed eo_error_set().

This API has been removed from Eo.

9 years agoAdapt Eo classes to use new Eolian types
Daniel Zaoui [Wed, 20 May 2015 11:15:49 +0000 (14:15 +0300)]
Adapt Eo classes to use new Eolian types

9 years agoMove elm_general types to Eolian format
Daniel Zaoui [Wed, 20 May 2015 11:15:23 +0000 (14:15 +0300)]
Move elm_general types to Eolian format

9 years agoEolian: support of eot file
Daniel Zaoui [Mon, 18 May 2015 06:44:27 +0000 (09:44 +0300)]
Eolian: support of eot file

9 years agoAdjust usage of eo_constructor() according to recent changes.
Tom Hacohen [Tue, 19 May 2015 12:34:07 +0000 (13:34 +0100)]
Adjust usage of eo_constructor() according to recent changes.

9 years agoatspi: improve way of setting ATSPI SHOWING state
Lukasz Stanislawski [Tue, 19 May 2015 11:33:19 +0000 (13:33 +0200)]
atspi: improve way of setting ATSPI SHOWING state

After this patch calculation of the atspi SHOWING state takes into
account also viewport of any parent implementing ELM_INTERFACE_SCROLLABLE.

9 years agotest/scroller: apply coding style.
Daniel Zaoui [Wed, 20 May 2015 06:09:46 +0000 (09:09 +0300)]
test/scroller: apply coding style.

9 years agoscroller: add example for resizing scroll's content area.
ChunEon Park [Tue, 19 May 2015 13:00:18 +0000 (22:00 +0900)]
scroller: add example for resizing scroll's content area.

Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.

This is sample for resizing issue.

Test Plan: elementary_test -> scroller3

Reviewers: jaehwan, woohyun, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2291

9 years agoelm_win: Set initial withdrawn state from win's ecore_evas property.
Jaehyun Cho [Tue, 19 May 2015 12:32:10 +0000 (21:32 +0900)]
elm_win: Set initial withdrawn state from win's ecore_evas property.

Summary:
For instance, ecore_evas sets initial withdrawn state EINA_FALSE if elm_engine is "buffer".
Therefore, the initial withdrawn state is derived from ecore_evas property.
@fix

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2435

9 years agohoversel: Added item_focus_set/item_focus_get.
Amitesh Singh [Tue, 19 May 2015 12:24:35 +0000 (21:24 +0900)]
hoversel: Added item_focus_set/item_focus_get.

Summary: @feature

Reviewers: seoz, Hermet, raster

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2436

Conflicts:

src/lib/elm_hoversel_item.eo

9 years agoctxpopup: Added item_focus_set/item_focus_get.
Amitesh Singh [Tue, 19 May 2015 12:21:06 +0000 (21:21 +0900)]
ctxpopup: Added item_focus_set/item_focus_get.

Summary: @feature

Reviewers: raster, Hermet

Reviewed By: Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2439

Conflicts:

src/lib/elm_ctxpopup_item.eo

9 years agoentry: update selection handlers when entry is resized
Thiep Ha [Tue, 19 May 2015 12:13:55 +0000 (21:13 +0900)]
entry: update selection handlers when entry is resized

Summary:
When entry is resized, selection handlers are not updated,
it causes selection handlers to be placed in wrong position.
This patch fixes it.

@fix

Reviewers: woohyun, seoz, herdsman, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2487

9 years agoPatch to fix accessibility issue in coloselector item.
kumar navneet [Tue, 19 May 2015 12:09:38 +0000 (21:09 +0900)]
Patch to fix accessibility issue in coloselector item.

Summary:
Issue: accessibility not working in colorselector item
Soln: Fixed accessibility issue
Signed-off By: Kumar Navneet <k.navneet@samsung.com>
Signed-off By: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan: export ELM_ACCESS_MODE=1, run elementary test and test color selector palette item.

Reviewers: cedric, Hermet, shilpasingh, raster

Reviewed By: shilpasingh

Subscribers: govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2496

9 years agotest_hover.c: remove "transparent" hover style set.
Amitesh Singh [Tue, 19 May 2015 12:06:21 +0000 (21:06 +0900)]
test_hover.c: remove "transparent" hover style set.

Summary: This hover style does not exist anymore in default theme.

Reviewers: seoz, raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2513

9 years agoslider: use theme of object for popup.
Amitesh Singh [Tue, 19 May 2015 12:02:55 +0000 (21:02 +0900)]
slider: use theme of object for popup.

Summary:
@fix

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet, JackDanielZ

Subscribers: sachin.dev, seoz

Differential Revision: https://phab.enlightenment.org/D2542

9 years ago[Elm_ColorSelector]: Unnecessary widget creations, code execution avoided.
shilpa.singh [Tue, 19 May 2015 11:56:48 +0000 (20:56 +0900)]
[Elm_ColorSelector]: Unnecessary widget creations, code execution avoided.

Summary:
Issue: Too many widgets get created during smart add itself, even if
not necessary, adding to the launch time.
Solution:
Create widgets based on mode, check for modes in generic functions
like smart theme, focus etc:-

Test Plan: elementary_test can be used to test colorselector demo.

Reviewers: cedric, raster, Hermet

Subscribers: rajeshps, govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2532

9 years agomultibuttonentry: Delete unused data in edc.
Woochan Lee [Tue, 19 May 2015 11:27:19 +0000 (20:27 +0900)]
multibuttonentry: Delete unused data in edc.

Summary: The "closed_height" is not using in code.

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2535

9 years agotooltip: set the correct style of label.
Amitesh Singh [Tue, 19 May 2015 09:09:50 +0000 (18:09 +0900)]
tooltip: set the correct style of label.

Summary:
check theme of tooltip label by
$clouseau elementary_test -to "tooltip"
tooltipi label theme was elm/label/base/default but we want theme
"elm/label/base/tooltip/default" to be set instead.

@fix

Test Plan: $clouseau elementary_test -to "tooltip"

Reviewers: raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2509

9 years agoeo: Eina_Bool -> bool
Daniel Kolesa [Mon, 18 May 2015 15:27:18 +0000 (16:27 +0100)]
eo: Eina_Bool -> bool

9 years agoeo: sync with eolian syntax changes
Daniel Kolesa [Mon, 18 May 2015 15:16:08 +0000 (16:16 +0100)]
eo: sync with eolian syntax changes

This change is being done as part of the changes started by
EFL revision 058a9c9d88b4532ff859f3d7a82e15ea64a94be3.

9 years agogenlist: track viewport size changes and re-eval items when it resizes
Amitesh Singh [Mon, 18 May 2015 11:29:37 +0000 (20:29 +0900)]
genlist: track viewport size changes and re-eval items when it resizes

Summary:
This uses new Evas Callback type EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
to listen to view port size changes.

Reviewers: Hermet, cedric, raster

Reviewed By: raster

Subscribers: SanghyeonLee, seoz

Differential Revision: https://phab.enlightenment.org/D2527

9 years agoentry: No need to free ptr returned by _elm_util_mkup_to_text
Amitesh Singh [Mon, 18 May 2015 10:31:27 +0000 (13:31 +0300)]
entry: No need to free ptr returned by _elm_util_mkup_to_text

Summary:
This is revision over D2459

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2461

9 years agowidget: more fix wrt item data.
ChunEon Park [Mon, 18 May 2015 08:15:09 +0000 (17:15 +0900)]
widget: more fix wrt item data.

widget item data is no more used.
use eo item data instead.

@fix.

9 years agoelm_object_item: fix the issue that del_cb doens't get item data as its parameter
Jee-Yong Um [Mon, 18 May 2015 08:09:19 +0000 (17:09 +0900)]
elm_object_item: fix the issue that del_cb doens't get item data as its parameter

Summary:
elm_object_item_del_cb_set() can set delete callback that is called on item deletion.
Del_cb, Evas_Smart_Cb, has void pointer for item data as its first parameter.
However, getting item data is broken.

@fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D2524

9 years agoSlideShow: Fix double invocation of ItemClass delete function
Daniel Zaoui [Sun, 17 May 2015 11:59:06 +0000 (14:59 +0300)]
SlideShow: Fix double invocation of ItemClass delete function

When closing the application, the delete function given by the user in
the Item Class was called twice. During the clear process, the function
was called for every built item and then during the item destruction.

This patch fixes this behaviour by calling the user function only during
the item destruction.

Another fix has been added. It zero'es the built list pointer inside the
item. Without this fix, the item points to a list node that is already
freed and can lead during widget deletion to an invalid access inside
the list.

@fix T2394

9 years agolabel: Fix memory leak.
Amitesh Singh [Mon, 18 May 2015 05:25:12 +0000 (08:25 +0300)]
label: Fix memory leak.

Summary:
Fix memory leak when txt is NULL.

@fix

Reviewers: raster, seoz, Hermet, JackDanielZ

Reviewed By: JackDanielZ

Subscribers: JackDanielZ, seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2460

9 years agoclipper: hide the region_set()/get() APIs.
ChunEon Park [Mon, 18 May 2015 04:56:09 +0000 (13:56 +0900)]
clipper: hide the region_set()/get() APIs.

Provide the simple api as possible.

9 years agofix makedist break.
ChunEon Park [Mon, 18 May 2015 04:30:43 +0000 (13:30 +0900)]
fix makedist break.

clipper.eo was missed in include list.

9 years agoelm_toolbar: fixing Eolian comment markup
Yakov Goldberg [Sun, 17 May 2015 15:47:10 +0000 (18:47 +0300)]
elm_toolbar: fixing Eolian comment markup

9 years agoelm_toolbar: Move enums to elm_toolbar.eo
Yakov Goldberg [Sun, 17 May 2015 12:02:03 +0000 (15:02 +0300)]
elm_toolbar: Move enums to elm_toolbar.eo

Move enums from elm_toolbar_common.h to elm_tollbar.eo in order to make
them more accessible for bindings.

9 years agoelm_flip: Move enums to elm_flip.eo
Yakov Goldberg [Sun, 17 May 2015 10:33:36 +0000 (13:33 +0300)]
elm_flip: Move enums to elm_flip.eo

Move enums from elm_flip_common.h to elm_flip.eo in order to make them
more accessible for bindings. Delete elm_flip_common.h.

9 years agoelm_scroller: Move enums to elm_scroller.eo
Yakov Goldberg [Wed, 13 May 2015 16:26:12 +0000 (19:26 +0300)]
elm_scroller: Move enums to elm_scroller.eo

Move enums from elm_scroller_common.h to elm_scroller.eo in order to make them
more accessible for bindings. Delete elm_scroller_common.h.

Moved the include for elm_scroller.eo.legacy.h to the top of elm_scroller_legacy.h
to allow the use of the generated types in the function declarations.

9 years agoelm_panel: Move enums to elm_panel.eo
Yakov Goldberg [Wed, 13 May 2015 14:27:04 +0000 (17:27 +0300)]
elm_panel: Move enums to elm_panel.eo

Move enums from elm_panel_common.h to elm_panel.eo in order to make them
more accessible for bindings.

9 years agoelm.win.eo: fixed typo
Yakov Goldberg [Sun, 17 May 2015 12:31:02 +0000 (15:31 +0300)]
elm.win.eo: fixed typo

Change param type name according to eo file: Elm.Win.Keygrab_Mode

9 years agoclipper: improve doc.
ChunEon Park [Fri, 15 May 2015 14:31:07 +0000 (23:31 +0900)]
clipper: improve doc.

9 years agoelementary: Create new widget for image masking
jiin.moon [Fri, 15 May 2015 14:09:41 +0000 (23:09 +0900)]
elementary: Create new widget for image masking

Summary:
For now, if apply image mask to smart obejct, masking does not work except to implement in edc file.
@feature

Reviewers: Jaehyun_Cho, Jaehyun, jpeg, raster, cedric, Hermet

Subscribers: raster, jpeg, cedric

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D2055

9 years agotheme: return false if elm_object_style_set() failed to set requested style.
Amitesh Singh [Fri, 15 May 2015 10:17:01 +0000 (19:17 +0900)]
theme: return false if elm_object_style_set() failed to set requested style.

Summary:
elm_object_style_set(obj, "XXXX"); should return FALSE if XXXX style does not exist.
Although it does set default style if "XXXX" style does not exist.

@fix

Reviewers: raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2511

9 years agoelc_popup: add scroller into popup content area
taehyub [Fri, 15 May 2015 06:10:34 +0000 (15:10 +0900)]
elc_popup: add scroller into popup content area

Summary:
When popup has a content which is larger than window size, popup is to be larger than window.
so, scroller is added into popup content area.

Test Plan:
1. Making "elementary_test - popup" window smaller than popup content size.
2. Excute "popup-center-title + genlist content + 1 button" in "elementary_test popup"
After applying this patch.
3. popup content shows with scroller.

Reviewers: Hermet, seoz, woohyun, raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2216

9 years agoelm - tests - fix const warnings with new eina home get func
Carsten Haitzler (Rasterman) [Fri, 15 May 2015 03:36:45 +0000 (12:36 +0900)]
elm - tests - fix const warnings with new eina home get func

9 years agolayout: Flush layout resize object's edje signals on focus/unfocus.
Amitesh Singh [Fri, 15 May 2015 03:34:11 +0000 (12:34 +0900)]
layout: Flush layout resize object's edje signals on focus/unfocus.

Summary: @Fix

Reviewers: cedric, seoz, raster

Reviewed By: raster

Subscribers: kimcinoo, seoz

Differential Revision: https://phab.enlightenment.org/D1913

9 years agoelm notify patch submit - rebase lost my fix? fix now in extra commit
Carsten Haitzler (Rasterman) [Fri, 15 May 2015 02:26:47 +0000 (11:26 +0900)]
elm notify patch submit - rebase lost my fix? fix now in extra commit

somehow a git rebase lost a fix. i don't know how. put back.

9 years agoElm_Notify: adding elm_object_part_text_set/get functionality
Vitalii Vorobiov [Fri, 15 May 2015 02:02:47 +0000 (11:02 +0900)]
Elm_Notify: adding elm_object_part_text_set/get functionality

Summary:
Currently elm_notify doesn't allow to set or get text if
user's style contain some text parts and he need to set text into them.

Reviewers: cedric, seoz

Subscribers: raster, stefan_schmidt, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1333

9 years agoelementary: use portable way to get tmp and home environment.
Cedric BAIL [Thu, 14 May 2015 19:26:44 +0000 (21:26 +0200)]
elementary: use portable way to get tmp and home environment.

9 years agogenlist: fix to return item style correctly.
ChunEon Park [Thu, 14 May 2015 13:21:05 +0000 (22:21 +0900)]
genlist: fix to return item style correctly.

Since the genlist items can be unrealized,
they own the tooltip strings in their item field.
Also, the tooltip string should be returned with it.

@fix

9 years agoeo: fix according to latest eolian changes
Daniel Kolesa [Thu, 14 May 2015 10:27:32 +0000 (11:27 +0100)]
eo: fix according to latest eolian changes

9 years agoatspi: add ACTIVE state to elm_win
Lukasz Stanislawski [Wed, 13 May 2015 13:37:47 +0000 (15:37 +0200)]
atspi: add ACTIVE state to elm_win

9 years agoatspi: set FOCUSABLE state only when widget has no focusable children
Lukasz Stanislawski [Wed, 13 May 2015 09:38:20 +0000 (11:38 +0200)]
atspi: set FOCUSABLE state only when widget has no focusable children

AT-SPI2 specification states that active window can have only one widget
with FOCUSED state. This differs from elementary design which assumes
that whole elementary widget tree branch is focused.
Patch assumes that if a widget have no focusable children and can have
focus it can be marked as FOCUSABLE on atspi bus.

9 years agoatspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.
Lukasz Stanislawski [Wed, 13 May 2015 08:12:27 +0000 (10:12 +0200)]
atspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.

According to atspi specification ATSPI_STATE_ACTIVE is reserved
only for windows having keyboard focus.

9 years agoatspi: handle state change notifications in on_focus function
Lukasz Stanislawski [Wed, 13 May 2015 07:57:16 +0000 (09:57 +0200)]
atspi: handle state change notifications in on_focus function

9 years agoelm_win: Add elm win key grab. If keyrouter support several keygrab mode, apps can...
Ji-Youn Park [Wed, 13 May 2015 11:57:36 +0000 (20:57 +0900)]
elm_win: Add elm win key grab. If keyrouter support several keygrab mode, apps can use it.

9 years agoeo: sync with latest Eolian changes and introduce a harmless temporary hack
Daniel Kolesa [Tue, 12 May 2015 15:25:13 +0000 (16:25 +0100)]
eo: sync with latest Eolian changes and introduce a harmless temporary hack

9 years agoatspi: add component interface to elm_widget_item objects.
Lukasz Stanislawski [Tue, 12 May 2015 13:30:52 +0000 (15:30 +0200)]
atspi: add component interface to elm_widget_item objects.

9 years agoatspi: fix accessible_at_point method to match specification.
Lukasz Stanislawski [Tue, 12 May 2015 13:23:21 +0000 (15:23 +0200)]
atspi: fix accessible_at_point method to match specification.

9 years agoeo: fix up the remaining doc comments
Daniel Kolesa [Mon, 11 May 2015 14:25:29 +0000 (15:25 +0100)]
eo: fix up the remaining doc comments

9 years agoelm_widget_item: fix doc comments
Daniel Kolesa [Mon, 11 May 2015 14:11:28 +0000 (15:11 +0100)]
elm_widget_item: fix doc comments

9 years agoatspi: more org.a11y.atspi.Window signals is broadcasted.
Lukasz Stanislawski [Wed, 29 Apr 2015 13:08:57 +0000 (15:08 +0200)]
atspi: more org.a11y.atspi.Window signals is broadcasted.

9 years agoelm_win: Move enums to elm_win.eo
Vitor Sousa [Mon, 4 May 2015 21:33:17 +0000 (18:33 -0300)]
elm_win: Move enums to elm_win.eo

Move enums from elm_win_common.h to elm_win.eo in order to make them
more accessible for bindings.

Moved the include for elm_win.eo.legacy.h to the top of elm_win_legacy.h
to allow the use of the generated types in the function declarations.

9 years agoelm_win_standard: Add elm_win_standard class
Vitor Sousa [Fri, 17 Apr 2015 22:28:51 +0000 (19:28 -0300)]
elm_win_standard: Add elm_win_standard class

This commit adds the Eolian class elm_win_standard.
It is basically a derivation from elm_win that creates a default background.

The intent is to replace the legacy functions elm_win_util_standard_add and
elm_win_util_dialog_add by functions accessible via Eo API functions such as
eo_add and eo_do.

To fully replace an elm_win_util_standard_add call, use:

  eo_add(ELM_WIN_STANDARD_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC),
         elm_obj_win_title_set("Example"));

9 years agoelm_win: Replace elm_win_constructor by constructing properties
Vitor Sousa [Fri, 17 Apr 2015 22:10:11 +0000 (19:10 -0300)]
elm_win: Replace elm_win_constructor by constructing properties

Removed the constructing method elm_obj_win_constructor.
Now "name" and "type" are properties that must be set at creation, like this:

  eo_add(ELM_WIN_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC));

Also, the "title" property can be set at creation now.

9 years agoeolian: use the new property syntax
Daniel Kolesa [Thu, 7 May 2015 16:32:53 +0000 (17:32 +0100)]
eolian: use the new property syntax

9 years agoelm_genlist: Emitting signal when content or text is set in genlist item
Jee-Yong Um [Thu, 7 May 2015 07:21:57 +0000 (16:21 +0900)]
elm_genlist: Emitting signal when content or text is set in genlist item

Summary:
There could be a demand for providing subtle different item styles
according to the existence of icon or text swallowed in genlist item.
For example, if icon exists, genlist item shows icon, or show rectangle
where icon should be placed.
One style can have various form with this signal.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D2348

9 years agoUpdating spanish translation
maxerba [Wed, 6 May 2015 17:03:29 +0000 (19:03 +0200)]
Updating spanish translation

9 years agoelm_photocam: use Efl.File in Elm_Photocam
Vitor Sousa [Tue, 5 May 2015 12:16:19 +0000 (13:16 +0100)]
elm_photocam: use Efl.File in Elm_Photocam

Summary:
Address the issue:
- Elm photocam and the file interface clash on file_set.
Specified in the page:

https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Differential Revision: https://phab.enlightenment.org/D2351

9 years agoWin: Make animator,tick signal actually work.
Tom Hacohen [Thu, 30 Apr 2015 12:58:26 +0000 (13:58 +0100)]
Win: Make animator,tick signal actually work.

This commit also updated one of the elementary test to show
the new one of doing it.

This lets users of the API just add a callback and automatically
get animation ticks. It's done per window, because update rate
may be different for different windows (think different screens).

9 years agoRevised classes and interfaces in .eo files and added missing attributes
Vitor Sousa [Thu, 23 Apr 2015 10:46:48 +0000 (11:46 +0100)]
Revised classes and interfaces in .eo files and added missing attributes

Summary:
Some newly implemented attributes are not present in several classes and
interfaces.

This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2350

9 years agoElm image: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:55:13 +0000 (12:55 +0100)]
Elm image: Use correct Eolian namespace syntax.

9 years agoElm button: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:53:19 +0000 (12:53 +0100)]
Elm button: Use correct Eolian namespace syntax.

9 years agoMost of elm: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:43:05 +0000 (12:43 +0100)]
Most of elm: Use correct Eolian namespace syntax.

9 years agoElm bubble: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:42:35 +0000 (12:42 +0100)]
Elm bubble: Use correct Eolian namespace syntax.

9 years agoElm bg: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:42:21 +0000 (12:42 +0100)]
Elm bg: Use correct Eolian namespace syntax.

9 years agoElm box: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:40:38 +0000 (12:40 +0100)]
Elm box: Use correct Eolian namespace syntax.

9 years agoElm container: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:38:51 +0000 (12:38 +0100)]
Elm container: Use correct Eolian namespace syntax.

9 years agoElm layout: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:37:40 +0000 (12:37 +0100)]
Elm layout: Use correct Eolian namespace syntax.

9 years agoElm actionslider: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:36:32 +0000 (12:36 +0100)]
Elm actionslider: Use correct Eolian namespace syntax.

9 years agoElm access: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:35:56 +0000 (12:35 +0100)]
Elm access: Use correct Eolian namespace syntax.

9 years agoElm widget+item: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:33:10 +0000 (12:33 +0100)]
Elm widget+item: Use correct Eolian namespace syntax.

9 years agoelementary: Remove unused variable
Chris Michael [Wed, 6 May 2015 13:24:11 +0000 (09:24 -0400)]
elementary: Remove unused variable

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoRevert "fileselector: Work around initial genlist size bug for release."
Stefan Schmidt [Wed, 6 May 2015 14:14:28 +0000 (16:14 +0200)]
Revert "fileselector: Work around initial genlist size bug for release."

This reverts commit 64a4cf4c6847936f5074ad94bf9a8f2283609c3b.

Was only a workaround for the release. Needs proper fixing in the 1.15 cycle now.

9 years agoconfigure: Switch to dev mode again. Merge window for 1.15 is open now.
Stefan Schmidt [Wed, 6 May 2015 14:00:13 +0000 (16:00 +0200)]
configure: Switch to dev mode again. Merge window for 1.15 is open now.

9 years agorelease: Update NEWS and bump version for 1.14.0 release v1.14.0
Stefan Schmidt [Wed, 6 May 2015 13:30:02 +0000 (15:30 +0200)]
release: Update NEWS and bump version for 1.14.0 release

9 years agofileselector: Work around initial genlist size bug for release.
Stefan Schmidt [Wed, 6 May 2015 12:14:33 +0000 (14:14 +0200)]
fileselector: Work around initial genlist size bug for release.

Jupp, its a dirty hack but it helps to work around the problem for now and
get the release out. I will revert it in master after the release and we
keep the bug open until this is fixed and hopefully backported.

ref T2367

9 years agonaviframe: fix poping top item continuously to empty the naviframe stack.
Cedric BAIL [Wed, 6 May 2015 12:25:15 +0000 (14:25 +0200)]
naviframe: fix poping top item continuously to empty the naviframe stack.

This should be a proper fix for T1717. Idea is that we build a list of operation
that needs to be deferred in order (including pop and push) so that we are sure
we can pop and push in any order without the need to wait for any event.

9 years agonaviframe: add a test for checking expected behavior or item_pop.
Cedric BAIL [Tue, 5 May 2015 16:13:12 +0000 (18:13 +0200)]
naviframe: add a test for checking expected behavior or item_pop.

9 years agogengrid: fix mem leak occuring when getting name from atspi interface
Lukasz Stanislawski [Mon, 4 May 2015 09:45:06 +0000 (11:45 +0200)]
gengrid: fix mem leak occuring when getting name from atspi interface

9 years agoFix slideshow smart events event_info
Dave Andreoli [Mon, 4 May 2015 00:16:33 +0000 (02:16 +0200)]
Fix slideshow smart events event_info

Changed all the callback_call to pass the correct Elm_Object_Item
(Eo) pointer, was passing Elm_Slideshow_Item_Data instead.

@fix

Also updated the test

9 years agomap: fix scale calculation error
Sung-Taek Hong [Fri, 1 May 2015 05:34:11 +0000 (14:34 +0900)]
map: fix scale calculation error

Summary:
As the map shows the nearer to the equator,
the scale of the map should be smaller.

In elm_map, the opposite happens because
meters per pixel was miscalculated.
Thus, calculation is corrected
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
@fix

Reviewers: seoz, woohyun, Hermet

Differential Revision: https://phab.enlightenment.org/D2426

9 years agoGenlist: rectification in _item_focused_next()
Umesh Tanwar [Fri, 1 May 2015 05:33:18 +0000 (14:33 +0900)]
Genlist: rectification in _item_focused_next()

Summary:
If current item is disabled, next item should be
taken.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix

Reviewers: raster, Hermet

Subscribers: singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2458

9 years agoentry: Fix memory leak.
Amitesh Singh [Fri, 1 May 2015 05:32:34 +0000 (14:32 +0900)]
entry: Fix memory leak.

Summary:
This fixes memory leak in case of txt is NULL

@Fix

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: seoz, raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2459

9 years agoGenlist: fix multiselect for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode
Umesh Tanwar [Fri, 1 May 2015 03:05:07 +0000 (12:05 +0900)]
Genlist: fix multiselect for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode

Summary:
fix the _item_multi_select_down() function for
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode.
_item_multi_select_up is right, but _item_multi_select_down is wrong.
So fixed this.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix

Reviewers: Hermet, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2452

9 years agowin: remove dead code.
Cedric BAIL [Wed, 29 Apr 2015 08:30:18 +0000 (10:30 +0200)]
win: remove dead code.

pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.

9 years agoslider: remove duplicated lines in slider test.
Amitesh Singh [Tue, 28 Apr 2015 09:44:07 +0000 (11:44 +0200)]
slider: remove duplicated lines in slider test.

Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D2389

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>