platform/upstream/elementary.git
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

9 years agobuild: Allow to define path for eldbus-codegen binary
Stefan Schmidt [Wed, 8 Apr 2015 15:40:02 +0000 (17:40 +0200)]
build: Allow to define path for eldbus-codegen binary

Since the latest elm colorclass changes we need eldbus-codegen to generate
some files. Not all setups have this in their normal $PATH so let allow these
setups to set the correct path during configure. This allows our Jenkins setup
as well as others to work again.

9 years agoelm_object: Add since tag for new elm_object_access_info_get()
Stefan Schmidt [Wed, 8 Apr 2015 13:12:44 +0000 (15:12 +0200)]
elm_object:  Add since tag for new elm_object_access_info_get()

9 years agoelm image - stop repeating events by default - wrong
Carsten Haitzler (Rasterman) [Wed, 8 Apr 2015 00:54:25 +0000 (09:54 +0900)]
elm image - stop repeating events by default - wrong

why have elm image repeat events always (and unable to stop it)? this
is neither useful nor convenient. it's just painful. it makes images
not behave like prety much every object. they already are set up to
capture events - then do it normally.

@fix

9 years agorelease: Update NEWS and bump version for 1.14.0-alpha1 release v1.14.0-alpha1
Stefan Schmidt [Tue, 7 Apr 2015 12:13:25 +0000 (14:13 +0200)]
release: Update NEWS and bump version for 1.14.0-alpha1 release

9 years agogesture_layer: Fix unused value assignment
Jean-Philippe Andre [Tue, 7 Apr 2015 06:23:47 +0000 (15:23 +0900)]
gesture_layer: Fix unused value assignment

Fixes CID1261280

9 years agocolorselector,scroller: Check return value of elm_layout_theme_set
Jean-Philippe Andre [Tue, 7 Apr 2015 06:04:52 +0000 (15:04 +0900)]
colorselector,scroller: Check return value of elm_layout_theme_set

Fixes:
- CID1273968
- CID1291831

9 years agoelm_test: (GLView) reset accel_preference after win_add
Jean-Philippe Andre [Tue, 7 Apr 2015 06:03:19 +0000 (15:03 +0900)]
elm_test: (GLView) reset accel_preference after win_add

This might even make the application run with two different engines.

9 years agoelm_test: GLView: Add depth to the window
Jean-Philippe Andre [Mon, 6 Apr 2015 13:48:58 +0000 (22:48 +0900)]
elm_test: GLView: Add depth to the window

Without depth, glview / evas gl basically fall back to indirect rendering.

Also change bg color from yellowish to brown (and use PREMULTIPLIED
colors, not random values).

9 years agoelm_glview: Call resize func whenever the surface is updated
Jean-Philippe Andre [Mon, 6 Apr 2015 13:44:30 +0000 (22:44 +0900)]
elm_glview: Call resize func whenever the surface is updated

This will allow apps to set the proper viewport, even if the
actual surface geometry didn't change.

This fixes a rare situation where the mode is changed from indirect
to direct (eg. in elm_test glview).

9 years agoelm_glview: Fix usage of direct rendering
Jean-Philippe Andre [Mon, 6 Apr 2015 08:26:31 +0000 (17:26 +0900)]
elm_glview: Fix usage of direct rendering

You can't have direct rendering and ALWAYS render mode. It just
didn't make sense.

Also fix the test case.

9 years agoedc: use new empty description inherit statements in comp theme
Mike Blumenkrantz [Tue, 7 Apr 2015 00:43:59 +0000 (20:43 -0400)]
edc: use new empty description inherit statements in comp theme

coverage/testing++

9 years agoedc: fix button theme syntax error
Mike Blumenkrantz [Tue, 7 Apr 2015 00:37:18 +0000 (20:37 -0400)]
edc: fix button theme syntax error

9 years agocolorclass: move test translate+list callbacks to main
Mike Blumenkrantz [Mon, 6 Apr 2015 19:33:50 +0000 (15:33 -0400)]
colorclass: move test translate+list callbacks to main

enable remote editing of all colorclasses in elm_test

9 years agocolorclass: sort colorclass list by colorclass name
Mike Blumenkrantz [Mon, 6 Apr 2015 19:22:54 +0000 (15:22 -0400)]
colorclass: sort colorclass list by colorclass name

9 years agocolorclass: block colorselector dismissal when clicking inside csel area
Mike Blumenkrantz [Mon, 6 Apr 2015 18:34:33 +0000 (14:34 -0400)]
colorclass: block colorselector dismissal when clicking inside csel area

9 years agocolorclass: fix test window initial resize geom
Mike Blumenkrantz [Mon, 6 Apr 2015 18:32:05 +0000 (14:32 -0400)]
colorclass: fix test window initial resize geom

9 years agocolorclass: only show one fader at a time
Mike Blumenkrantz [Mon, 6 Apr 2015 18:12:24 +0000 (14:12 -0400)]
colorclass: only show one fader at a time

showing both faders obscures the app too much to be useful

9 years agocolorclass: slightly expand colorselector bg to improve clicking area
Mike Blumenkrantz [Mon, 6 Apr 2015 18:11:37 +0000 (14:11 -0400)]
colorclass: slightly expand colorselector bg to improve clicking area

9 years agocolorclass: add clip for color type groups, move inset inside edje area
Mike Blumenkrantz [Mon, 6 Apr 2015 18:10:24 +0000 (14:10 -0400)]
colorclass: add clip for color type groups, move inset inside edje area

9 years agocolorclass: add focus glow to color type selector
Mike Blumenkrantz [Mon, 6 Apr 2015 18:09:47 +0000 (14:09 -0400)]
colorclass: add focus glow to color type selector

9 years agoedc: add descriptions for all listed color classes
Mike Blumenkrantz [Mon, 6 Apr 2015 16:20:04 +0000 (12:20 -0400)]
edc: add descriptions for all listed color classes

9 years agoMerge branch 'devs/stanluk/eo_object_items_atspi'
Lukasz Stanislawski [Mon, 6 Apr 2015 08:54:57 +0000 (10:54 +0200)]
Merge branch 'devs/stanluk/eo_object_items_atspi'

Make elm object items atspi-aware objects. Implement atspi support
for elm_genlist, elm_gengrid and elm_toolbar items.

9 years agoatspi: changed del event broadcast. Fix genlist & gengrid tests
Lukasz Stanislawski [Mon, 6 Apr 2015 08:22:58 +0000 (10:22 +0200)]
atspi: changed del event broadcast. Fix genlist & gengrid tests

9 years agoatspi: remove redundant signature check.
Lukasz Stanislawski [Thu, 26 Mar 2015 11:03:58 +0000 (12:03 +0100)]
atspi: remove redundant signature check.

9 years agoatspi: update genlist item Name property when text becomes realized.
Lukasz Stanislawski [Thu, 26 Mar 2015 11:03:10 +0000 (12:03 +0100)]
atspi: update genlist item Name property when text becomes realized.

9 years agoatspi: fix mem leaks spotted in valgrind.
Lukasz Stanislawski [Thu, 26 Mar 2015 10:51:37 +0000 (11:51 +0100)]
atspi: fix mem leaks spotted in valgrind.

9 years agoatspi: override default atspi parent of genlist item content
Lukasz Stanislawski [Wed, 25 Mar 2015 17:40:32 +0000 (18:40 +0100)]
atspi: override default atspi parent of genlist item content

9 years agoatspi: delay registration of atspi object until its shown
Lukasz Stanislawski [Wed, 25 Mar 2015 17:07:40 +0000 (18:07 +0100)]
atspi: delay registration of atspi object until its shown

9 years agoatspi: allow to override default Elementary objects hierarchy
Lukasz Stanislawski [Wed, 25 Mar 2015 15:45:29 +0000 (16:45 +0100)]
atspi: allow to override default Elementary objects hierarchy