platform/upstream/elementary.git
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>
9 years agophotocam: update photocam example to demonstrate photocam orientation.
kabeer khan [Tue, 28 Apr 2015 09:42:55 +0000 (11:42 +0200)]
photocam: update photocam example to demonstrate photocam orientation.

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoRevert "elm_photocam: Limiting image reload in zoom in/out"
kabeer khan [Tue, 28 Apr 2015 09:38:50 +0000 (11:38 +0200)]
Revert "elm_photocam: Limiting image reload in zoom in/out"

Summary:
After discussion with DaveMDS, D2402 is a wrong fix and must be reverted.
This reverts commit a7978f931a4b67820b6b65758ce6f362c1ebec70.

Reviewers: cedric, DaveMDS

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agorelease: Update NEWS and bump version for 1.14.0-beta3 release v1.14.0-beta3
Stefan Schmidt [Mon, 27 Apr 2015 12:49:00 +0000 (14:49 +0200)]
release: Update NEWS and bump version for 1.14.0-beta3 release

9 years agoFix scrollbar position issue when content is resized.
Hosang Kim [Mon, 27 Apr 2015 04:55:10 +0000 (13:55 +0900)]
Fix scrollbar position issue when content is resized.

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

Test Plan: elementary_test -> scroller3

Reviewers: seoz, jaehwan, woohyun, cedric, raster, kimcinoo, Hermet

Reviewed By: Hermet

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

9 years agoelm_toolbar: fix memory leaks
Andrii Kroitor [Mon, 27 Apr 2015 01:53:28 +0000 (10:53 +0900)]
elm_toolbar: fix memory leaks

Summary:
incorrect evas_object_box_children_get usage: returned list must be freed

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

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

9 years agoelm_multibuttonentry: fix label position and size defects
Vitalii Vorobiov [Mon, 27 Apr 2015 01:47:22 +0000 (10:47 +0900)]
elm_multibuttonentry: fix label position and size defects

Summary:
1.) Fixing defective label position.
Whenever user create multibuttonentry and set some text into label,
label will be shown at zero point (0,0) of MultiButtonEntry parent.
But then, after clicking on any button of MBE object, label position forced to
be recalculated and changes it's position.

2.) Fixing wrong size when label is not used.
When label is not being used, buttons shift by few pixels,
and it looks like if label is actually there, which is wrong.

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: NikaWhite

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

9 years agotheme: fix typo, thanks arrowdodger.
Cedric BAIL [Sat, 25 Apr 2015 18:08:39 +0000 (20:08 +0200)]
theme: fix typo, thanks arrowdodger.

9 years agospinner: Fix entry not inactive even gets an enter key cb.
Woochan Lee [Fri, 24 Apr 2015 07:27:15 +0000 (16:27 +0900)]
spinner: Fix entry not inactive even gets an enter key cb.

Summary:
 The entry inactive signal emitted when finish spinner value set.
but the active signal emitted after that. so it makes weird view state.

 The function 'key_action_toggle()' called twice. (for entry, spinner)
event propagate called this func twice and its make this issue.

This patch makes to ignore toggle event when entry is not visible.
T2262

Test Plan:
Run elementary_test, execute spinner widget sample.

Click the first spinner.
Input something on entry.
Press enter key.
Check the issue.

Reviewers: raster, Hermet

Subscribers: kuuko

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

9 years agotest_naviframe_complex.c: naviframe prev button auto pushed set as false.
Woochan Lee [Fri, 24 Apr 2015 07:22:07 +0000 (16:22 +0900)]
test_naviframe_complex.c: naviframe prev button auto pushed set as false.

Summary:
There is a invisible prev button. but it can get a focus and delete the current naviframe item.
Its not intend to added here i think, so i add a function that not add prev button automatically.

Test Plan:
Run elementary_test -> Naviframe Complex
Move focus use arrow key button and input enter key on prev button.
Click the View list, check the ERR msgs.

Reviewers: Jaehyun, Hermet

Reviewed By: Hermet

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

9 years agoelm_multibuttonentry: change theme_set API to provide full widget theming
Vitalii Vorobiov [Thu, 23 Apr 2015 02:05:31 +0000 (11:05 +0900)]
elm_multibuttonentry: change theme_set API to provide full widget theming

Summary:
While setting theme currently changes style and theme to all button and
whole multibuttonentry object, it doesn't change few other parts of this object.
Part are, for examples, "guidetext", "label" and "closedbutton".

Fixing this sad mistake leads to be able to create different styles for such
wonderful widget.

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: NikaWhite

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

9 years agotests/elm_test_image: Give a proper path to test images
Stefan Schmidt [Wed, 22 Apr 2015 15:08:59 +0000 (17:08 +0200)]
tests/elm_test_image: Give a proper path to test images

../../ does not always work. VPATH builds like distcheck have a different
dir layout.

ref T2028

9 years agoTest gengrid: use the gengrid enum, and not the genlist one.
Tom Hacohen [Wed, 22 Apr 2015 12:33:40 +0000 (13:33 +0100)]
Test gengrid: use the gengrid enum, and not the genlist one.

They are probably in sync, but this is just wrong.
Especially if people copy/paste this.

9 years agoSpinner: use fabs for floating point absolute value.
Tom Hacohen [Wed, 22 Apr 2015 12:31:10 +0000 (13:31 +0100)]
Spinner: use fabs for floating point absolute value.

9 years agoGesture layer: fabs->abs for int parameters.
Tom Hacohen [Wed, 22 Apr 2015 12:29:21 +0000 (13:29 +0100)]
Gesture layer: fabs->abs for int parameters.

Clear more correct clang warnings.

9 years agoelm_photocam: Limiting image reload in zoom in/out
kabeer khan [Wed, 22 Apr 2015 08:05:51 +0000 (17:05 +0900)]
elm_photocam: Limiting image reload in zoom in/out

Summary:
Reloading image in zoom in/out only if its previous orientation was changed
@fix
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: jpeg, raster, cedric

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

9 years agoGenlist: Fix for memory leak
Vaibhav Gupta [Wed, 22 Apr 2015 07:06:14 +0000 (16:06 +0900)]
Genlist: Fix for memory leak

Summary:
Fix memory leak in
API _elm_genlist_item_elm_interface_atspi_accessible_name_get()
added free after _elm_util_mkup_to_text.

@fix

Reviewers: raster, singh.amitesh, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev, singh.amitesh

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

9 years agoelm_transit: Add missing "EAPI" prefix for elm_transit_smooth_get()
Jee-Yong Um [Wed, 22 Apr 2015 06:53:12 +0000 (15:53 +0900)]
elm_transit: Add missing "EAPI" prefix for elm_transit_smooth_get()

Summary: Add "EAPI" prefix for elm_transit_smooth_get() in elm_transit.h

Reviewers: Hermet

Reviewed By: Hermet

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

9 years agoentry: Fix elm_entry_input_panel_layout_get API to return ELM_INPUT_PANEL_LAYOUT_INVA...
Youngbok Shin [Wed, 22 Apr 2015 06:46:43 +0000 (15:46 +0900)]
entry: Fix elm_entry_input_panel_layout_get API to return ELM_INPUT_PANEL_LAYOUT_INVALID when it fails.

Summary:
Even if the given Evas_Object is NULL, API returns ELM_INPUT_PANEL_LAYOUT_NORMAL.
But, ELM_INPUT_PANEL_LAYOUT_INVALID seems proper in that case.

Test Plan:
Call the following API with NULL.
   elm_entry_input_panel_layout_get(NULL);

Reviewers: woohyun, Hermet, eunue

Reviewed By: eunue

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

9 years agoelm_photocam: Fixed T2337, zoom in/out rotated photocam image
kabeer khan [Wed, 22 Apr 2015 04:24:19 +0000 (13:24 +0900)]
elm_photocam: Fixed T2337, zoom in/out rotated photocam image

Summary:
Currently zoom in/out rotated or flipped image was causing lost of orientation
and aspect of image is also changed. Fixed that by reloading image on pan_obj on zoom
@fix
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: DaveMDS, jpeg, cedric, raster

Subscribers: jpeg

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

9 years agointerface scroll: handle wanted x coordinates in case of mirroring.
Amitesh Singh [Wed, 22 Apr 2015 02:41:41 +0000 (11:41 +0900)]
interface scroll: handle wanted x coordinates in case of mirroring.

Summary:
In case of mirror enabled, wanted x should come from _elm_scroll_x_mirrored_get().
This defect is visible in case of some fancy effects on scroller (map).

@Fix

Reviewers: raster, Hermet

Subscribers: herdsman, sachin.dev, kimcinoo, eagleeye, seoz

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

9 years agocolorclass: move header behind EFL_BETA_API_SUPPORT
Mike Blumenkrantz [Tue, 21 Apr 2015 19:24:41 +0000 (15:24 -0400)]
colorclass: move header behind EFL_BETA_API_SUPPORT

may end up iterating a bit more on this, don't want to be stuck with api

9 years agoelm_segment_control: mark default return value in eolian API
Jaeun Choi [Tue, 21 Apr 2015 06:43:04 +0000 (15:43 +0900)]
elm_segment_control: mark default return value in eolian API

elm_segment_control_item_index_get should return -1 when input parameter is NULL.

@fix

9 years agoelm: add safety check
Jaeun Choi [Tue, 21 Apr 2015 05:30:41 +0000 (14:30 +0900)]
elm: add safety check

when insert a new item before/after an item, the relative item should not be NULL.
this patch fixes naviframe, gengrid, genlist, list, and toolbar.

@fix

9 years agomultibuttonentry: This fixes item,clicked cb broken issue.
Amitesh Singh [Tue, 21 Apr 2015 02:58:32 +0000 (11:58 +0900)]
multibuttonentry: This fixes item,clicked cb broken issue.

Summary: This fixes T2334.

Test Plan: elementary_test -> multibuttonentry

Reviewers: raster, Hermet

Reviewed By: Hermet

Subscribers: DaveMDS, seoz, sachin.dev

Maniphest Tasks: T2334

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

9 years agodoc: improve ambigious doc descriptions.
ChunEon Park [Tue, 21 Apr 2015 02:54:07 +0000 (11:54 +0900)]
doc: improve ambigious doc descriptions.

even descriptions weren't matched each other.

9 years agointf scroller: Added wheel_disable_set/get API descriptions.
Amitesh Singh [Tue, 21 Apr 2015 02:39:50 +0000 (11:39 +0900)]
intf scroller: Added wheel_disable_set/get API descriptions.

Reviewers: herdsman, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

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

9 years agorelease: Update NEWS and bump version for 1.14.0-beta2 release v1.14.0-beta2
Stefan Schmidt [Mon, 20 Apr 2015 10:38:33 +0000 (12:38 +0200)]
release: Update NEWS and bump version for 1.14.0-beta2 release

9 years agoElm win: Add a warning to wl_id_get func.
Tom Hacohen [Mon, 20 Apr 2015 09:18:42 +0000 (10:18 +0100)]
Elm win: Add a warning to wl_id_get func.

As discussed on IRC, users of this API should be warned, as it's
almost always a bad idea.

9 years agoRevert "checkbox: Adding third state (Indeterminate) support in checkbox"
ChunEon Park [Mon, 20 Apr 2015 05:24:10 +0000 (14:24 +0900)]
Revert "checkbox: Adding third state (Indeterminate) support in checkbox"

This reverts commit d0507e117acd5bbfdecf4c43f1d338c00802af44.

oops this patch wasn't intended.

9 years agoelm_clock: fix theme apply
Andrii Kroitor [Mon, 20 Apr 2015 05:17:20 +0000 (14:17 +0900)]
elm_clock: fix theme apply

Summary:
theme change was delayed untill some other change (i.e. mode change, clock update)
@fix

Test Plan:
1. create new style "test" for elm_clock
2. add this style to theme
3. compare results of following modifications of src/examples/clock_example.c:

```
   /* am/pm */
   ck = elm_clock_add(win);
   elm_object_style_set(ck, "test"); //style is applied before ap_pm set
   elm_clock_show_am_pm_set(ck, EINA_TRUE);
```
and
```
   /* am/pm */
   ck = elm_clock_add(win);
   elm_clock_show_am_pm_set(ck, EINA_TRUE);
   elm_object_style_set(ck, "test"); //style is applied after ap_pm set
```
ExR: style is applied in both cases
Result without this patch: style is applied only in first case

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

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

9 years agocheckbox: Adding third state (Indeterminate) support in checkbox
Shobhit [Fri, 17 Apr 2015 08:11:28 +0000 (17:11 +0900)]
checkbox: Adding third state (Indeterminate) support in checkbox

Summary:
Checkbox should support a third state "indeterminate" along with "Checked" and "Unchecked"
This third state is a state of checkbox which is shown when checkbox is neither Checked nor Unchecked.

- Added this new feature on the basis of a boolean variable's value.
- By default this boolean variable is disabled and checkbox will treat like old way.
- While adding this, I kept in mind, that applications which are already using checkbox, should not be affected, so I used 0=False=Unchecked, 1=True=Checked, and 2=Indeterminate
- Also added an example check_example_o2.c, which is using checkbox with both ways, using boolean, and using enum.
- Now also values can be set using boolean values, but it will give a type casting warning. As a boolean doen't support third state, so I used an enum int like.

- Added APIs to enable disable third state mode. elm_check_three_state_mode_set(check_obj, bool_val), and elm_check_three_state_mode_get(check_obj)
- Modified old APIs which were setting or getting states of checkbox.
- Added a state in theme of checkbox, with third state image.

Reviewers: seoz, raster, Sergeant_Whitespace, Hermet

Subscribers: Hermet, Sergeant_Whitespace, sachin.dev

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

9 years agoelm_slider: fix theme apply
Andrii Kroitor [Fri, 17 Apr 2015 07:52:03 +0000 (16:52 +0900)]
elm_slider: fix theme apply

Summary:
using theme of the object instead of default for subparts.
@fix

Reviewers: cedric, seoz, Hermet, raster, reutskiy.v.v

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

9 years agomultibuttonentry: update longpress signal case.
ChunEon Park [Fri, 17 Apr 2015 07:37:06 +0000 (16:37 +0900)]
multibuttonentry: update longpress signal case.

Since the signal name was changed, usage should be also updated.

9 years agomultibuttonentry: changed longpress callback name.
ChunEon Park [Fri, 17 Apr 2015 07:32:04 +0000 (16:32 +0900)]
multibuttonentry: changed longpress callback name.

contextually, the longpress triggered by item.

so the name should be item,longpressed

thank Davide Andreoli for reporting.

9 years agowin: add note for (mis)users of elm_win_window_id_get()
Mike Blumenkrantz [Thu, 16 Apr 2015 15:58:30 +0000 (11:58 -0400)]
win: add note for (mis)users of elm_win_window_id_get()

this function has a very small use case. if you are outside of this use case,
use a different function.

9 years agoRevert "elementary: Fix elm_win_window_id_get for wayland"
Chris Michael [Thu, 16 Apr 2015 15:49:41 +0000 (11:49 -0400)]
Revert "elementary: Fix elm_win_window_id_get for wayland"

This reverts commit 257452f46d344b64d611aa555a8aacdd509a492e.

Have to revert this as it breaks E compositor functionality wrt pixmap id.

9 years agoelementary: Fix elm_win_window_id_get for wayland
Chris Michael [Thu, 16 Apr 2015 15:07:17 +0000 (11:07 -0400)]
elementary: Fix elm_win_window_id_get for wayland

Summary: This fixed the elm_win_window_id_get function when running in
wayland to return the ecore_wl_window_id rather than the surface id.
This change is necessary so that anyone calling this function can use
the return value in ecore_wayland function calls.

NB: Thanks to Hermet for pointing this out ! :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelm_color_class: Avoid resource leak
Stefan Schmidt [Thu, 16 Apr 2015 14:05:02 +0000 (16:05 +0200)]
elm_color_class: Avoid resource leak

We would leak ecc here when we return so we need to free it before.

CID: 1294249

9 years agomailmap: update q66
Daniel Kolesa [Thu, 16 Apr 2015 13:24:49 +0000 (14:24 +0100)]
mailmap: update q66

9 years agoatspi: add missing signals array sentiel.
Lukasz Stanislawski [Thu, 16 Apr 2015 11:30:43 +0000 (13:30 +0200)]
atspi: add missing signals array sentiel.

@fix

9 years agobuild: Make sure we remove check-results.xml during cleanup
Stefan Schmidt [Wed, 15 Apr 2015 09:35:27 +0000 (11:35 +0200)]
build: Make sure we remove check-results.xml during cleanup

This file gets created durign a make check run. We need to remove it manually
as it is not tracked otherwise.

9 years agoelm - fix repeat event fix - thanks dave
Carsten Haitzler (Rasterman) [Wed, 15 Apr 2015 02:03:12 +0000 (11:03 +0900)]
elm - fix repeat event fix - thanks dave

this fixes 2d64175722db124b1e4be6c735503f29e4453015 which was a fix to
elm image always repeating - which it shouldn't

9 years agotoolbar: fix conditional compiler warning in horizontal_set
Mike Blumenkrantz [Wed, 15 Apr 2015 00:28:07 +0000 (20:28 -0400)]
toolbar: fix conditional compiler warning in horizontal_set

9 years agoAdd missing file_get legacy definition for Video and Layout
Dave Andreoli [Tue, 14 Apr 2015 20:19:18 +0000 (22:19 +0200)]
Add missing file_get legacy definition for Video and Layout

was missed from commit:
e5cda41c889f98b6f3f5f63b909f595a7a656cc0

9 years agoradio: update doc
ChunEon Park [Tue, 14 Apr 2015 13:20:22 +0000 (22:20 +0900)]
radio: update doc

9 years agoelm_glview: make_current(NULL, NULL) before delete
Jean-Philippe Andre [Tue, 14 Apr 2015 11:52:38 +0000 (20:52 +0900)]
elm_glview: make_current(NULL, NULL) before delete

The surface and context should not be current when deleted.

Evas GL would work just fine but since it deletes the surface
and context immediately upon request, those should not be
current.

This is a slightly different behaviour from EGL.

9 years agoelm_gengrid: mark cursor_engine_only in data and update state when realized
Jaeun Choi [Tue, 14 Apr 2015 10:20:16 +0000 (19:20 +0900)]
elm_gengrid: mark cursor_engine_only in data and update state when realized

@fix

9 years agospinner: fix entry style in non 'button_layout' mode
Andrii Kroitor [Tue, 14 Apr 2015 02:16:41 +0000 (11:16 +0900)]
spinner: fix entry style in non 'button_layout' mode

Summary:
entry should receive style in both modes

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Sergeant_Whitespace, Hermet

Reviewed By: reutskiy.v.v, Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, reutskiy.v.v

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

9 years agocolorclass: only perform remote actions if current editor is remote
Mike Blumenkrantz [Mon, 13 Apr 2015 17:05:40 +0000 (13:05 -0400)]
colorclass: only perform remote actions if current editor is remote

should fix case of editing local + remote simultaneously

9 years agocolorclass: add reset signal for correctly managing remote colorclass resets
Mike Blumenkrantz [Mon, 13 Apr 2015 17:00:57 +0000 (13:00 -0400)]
colorclass: add reset signal for correctly managing remote colorclass resets

previously this would just perform teh reset locally, which was not intended

9 years agocolorclass: flush config after saving
Mike Blumenkrantz [Mon, 13 Apr 2015 12:06:41 +0000 (08:06 -0400)]
colorclass: flush config after saving

9 years agorelease: Update NEWS and bump version for 1.14.0-beta1 release v1.14.0-beta1
Stefan Schmidt [Mon, 13 Apr 2015 14:13:44 +0000 (16:13 +0200)]
release: Update NEWS and bump version for 1.14.0-beta1 release

9 years agoflipselector: Remove has some nbsp's and random whitespaces
Olliver Schinagl [Mon, 13 Apr 2015 10:19:18 +0000 (12:19 +0200)]
flipselector: Remove has some nbsp's and random whitespaces

Flipselector has some random whitespaces that do not belong.
Additionally there are a few hidden non-blocking spaces that prevent
edje_cc to compile the default.edc on arm. Appearantly on x86/amd64 this
works normally.

This patch works around T2285  while the issue should remain open as the
real issue, edje_cc treating nbsp as a whitespace on arm, is not fixed
through this patch.

ref T2285

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
9 years agoelm_image: Do not open file again if already opening (async)
Jean-Philippe Andre [Mon, 13 Apr 2015 11:29:05 +0000 (20:29 +0900)]
elm_image: Do not open file again if already opening (async)

9 years agoexamples: Use new efl apis for size_set and visibility_set.
Daniel Juyung Seo [Sun, 12 Apr 2015 04:40:20 +0000 (13:40 +0900)]
examples: Use new efl apis for size_set and visibility_set.

evas_obj_size_set -> efl_gfx_size_set
evas_obj_visibility_set -> efl_gfx_visible_set

9 years agoelm_image: return EINA_FALSE if the data source is NULL in elm_image_memfile_set
Jaeun Choi [Fri, 10 Apr 2015 09:31:58 +0000 (18:31 +0900)]
elm_image: return EINA_FALSE if the data source is NULL in elm_image_memfile_set

@fix

9 years agoelm_suite: Add test for async file set
Jean-Philippe Andre [Fri, 10 Apr 2015 07:28:30 +0000 (16:28 +0900)]
elm_suite: Add test for async file set

9 years agoelm_image: Fix potential race conditions in async mode
Jean-Philippe Andre [Thu, 9 Apr 2015 08:09:53 +0000 (17:09 +0900)]
elm_image: Fix potential race conditions in async mode

Without any locking or thread-safe mechanism, the previous implementation
would have failed as soon as too many file_set() happened on the same
object. Indeed, file_set() can happen while the async open thread is
running. I shouldn't have blindly listened to Cedric :P

9 years agotest_naviframe: Fix content image file names.
Jaehyun Cho [Fri, 10 Apr 2015 05:45:34 +0000 (14:45 +0900)]
test_naviframe: Fix content image file names.

@fix

9 years ago[elm_panel] Fix mirroring issue.
kumar navneet [Fri, 10 Apr 2015 05:37:10 +0000 (14:37 +0900)]
[elm_panel] Fix mirroring issue.

Summary:
Issue: Mirroring of elm_panel not working correctly.
Solution: Handle mirroring appropriately for animations.

@fix

Test Plan:
Case: 1
1. Open elementary_test
2. Mirror on
3. Open scrollable panel, click on toggle button.
Case: 2
1. Keep the scroller panel opened
2. Turn off Mirror
Case: 3
1. Turn on mirror
2. Check direction button in non-scrollable panel.

Reviewers: shilpasingh, raster, Hermet, Princekrdubey

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, subodh6129

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

9 years agolist/genlist/gengrid: Fix default return value in eolian APIs.
SangHyeon Lee [Fri, 10 Apr 2015 05:30:46 +0000 (14:30 +0900)]
list/genlist/gengrid: Fix default return value in eolian APIs.

Summary:
Some APIs need to return specific values for their usage.
For Examples, elm_xx_select_mode_get function need to return
ELM_OBJECT_SELECT_MODE_MAX when invalid input comes.
**Fixed API list :**
elm_list_mode_get
elm_list_multi_select_mode_get
elm_genlist_mode_get
elm_genlist_select_mode_get
elm_genlist_multi_select_mode_get
elm_genlist_item_type_get
elm_genlist_ttem_index_get
elm_genlist_item_select_mode_get
elm_gengrid_select_mode_get
elm_gengrid_multi_select_mode_get
elm_gengrid_item_index_get

Test Plan: Call API with NULL parameter and check return value.

Reviewers: Hermet, seoz, jaehwan, raster, eunue

Subscribers: id213sin

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

9 years agoDelete whitespaces for header and eo files.
woochan lee [Fri, 10 Apr 2015 05:09:45 +0000 (14:09 +0900)]
Delete whitespaces for header and eo files.

Summary: Delete whitespaces header and eo files, otherwise add a line.

Reviewers: Hermet, seoz, JackDanielZ

Reviewed By: JackDanielZ

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

9 years agoelm - undeprecate preferred engine config api - still neeed it for cases
Carsten Haitzler (Rasterman) [Fri, 10 Apr 2015 00:27:17 +0000 (09:27 +0900)]
elm - undeprecate preferred engine config api - still neeed it for cases

undeprecate this api as to be frank - you still need it if you want a
buffer enigne for back-end processing. doesn't break api or abi.

9 years agoelm_genlist: pass eo_it to eo_do_ret func, not VIEW(it)
Jaeun Choi [Thu, 9 Apr 2015 12:12:54 +0000 (21:12 +0900)]
elm_genlist: pass eo_it to eo_do_ret func, not VIEW(it)

@fix