Commit Graph

11668 Commits

Author SHA1 Message Date
kabeer khan c5a2af4fe4 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
2015-04-22 17:05:51 +09:00
Vaibhav Gupta 20924ad2e3 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
2015-04-22 16:06:15 +09:00
Jee-Yong Um 23570d1cdc 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
2015-04-22 15:53:12 +09:00
Youngbok Shin ef966e9527 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
2015-04-22 15:48:45 +09:00
kabeer khan 71860f7b3b 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
2015-04-22 13:37:50 +09:00
Amitesh Singh b699096d64 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
2015-04-22 11:41:42 +09:00
Mike Blumenkrantz c8a0fb2b36 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
2015-04-21 15:25:40 -04:00
Jaeun Choi 764ec9dcf2 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
2015-04-21 15:43:04 +09:00
Jaeun Choi 50127bc4df 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
2015-04-21 14:30:41 +09:00
Amitesh Singh f3025cf2ed 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
2015-04-21 11:58:32 +09:00
ChunEon Park e5631b3dc4 doc: improve ambigious doc descriptions.
even descriptions weren't matched each other.
2015-04-21 11:54:07 +09:00
Amitesh Singh 09fdf5cdd3 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
2015-04-21 11:39:50 +09:00
Stefan Schmidt 5a69eeac4a release: Update NEWS and bump version for 1.14.0-beta2 release 2015-04-20 12:38:33 +02:00
Tom Hacohen 02c4d9e0ce 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.
2015-04-20 10:18:42 +01:00
ChunEon Park 40dd5e492d Revert "checkbox: Adding third state (Indeterminate) support in checkbox"
This reverts commit d0507e117acd5bbfdecf4c43f1d338c00802af44.

oops this patch wasn't intended.
2015-04-20 14:24:10 +09:00
Andrii Kroitor 1c34950609 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
2015-04-20 14:17:20 +09:00
Shobhit 0a9ac756d0 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
2015-04-17 17:11:28 +09:00
Andrii Kroitor 8e61552bc5 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
2015-04-17 16:52:04 +09:00
ChunEon Park fa0b1bc491 multibuttonentry: update longpress signal case.
Since the signal name was changed, usage should be also updated.
2015-04-17 16:37:06 +09:00
ChunEon Park 5c56171bb8 multibuttonentry: changed longpress callback name.
contextually, the longpress triggered by item.

so the name should be item,longpressed

thank Davide Andreoli for reporting.
2015-04-17 16:32:04 +09:00
Mike Blumenkrantz 6cead83bed 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.
2015-04-16 11:58:30 -04:00
Chris Michael 7e54ec6ca1 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.
2015-04-16 11:49:41 -04:00
Chris Michael 22a8c71877 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>
2015-04-16 11:09:25 -04:00
Stefan Schmidt 64f3a97cb6 elm_color_class: Avoid resource leak
We would leak ecc here when we return so we need to free it before.

CID: 1294249
2015-04-16 16:05:02 +02:00
Daniel Kolesa b89af4d017 mailmap: update q66 2015-04-16 14:24:49 +01:00
Lukasz Stanislawski 2d8df8052e atspi: add missing signals array sentiel.
@fix
2015-04-16 13:30:43 +02:00
Stefan Schmidt 329f106715 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.
2015-04-15 11:45:24 +02:00
Carsten Haitzler c702668796 elm - fix repeat event fix - thanks dave
this fixes 2d64175722db124b1e4be6c735503f29e4453015 which was a fix to
elm image always repeating - which it shouldn't
2015-04-15 11:03:12 +09:00
Mike Blumenkrantz 922286222f toolbar: fix conditional compiler warning in horizontal_set 2015-04-14 20:28:34 -04:00
Davide Andreoli 153899126b Add missing file_get legacy definition for Video and Layout
was missed from commit:
e5cda41c889f98b6f3f5f63b909f595a7a656cc0
2015-04-14 22:57:12 +02:00
ChunEon Park 5a943cb9d4 radio: update doc 2015-04-14 22:20:42 +09:00
Jean-Philippe Andre 1c43b1a720 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.
2015-04-14 21:04:01 +09:00
Jaeun Choi e517f5e660 elm_gengrid: mark cursor_engine_only in data and update state when realized
@fix
2015-04-14 20:10:54 +09:00
Andrii Kroitor a3f95d2632 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
2015-04-14 11:16:41 +09:00
Mike Blumenkrantz c80f777551 colorclass: only perform remote actions if current editor is remote
should fix case of editing local + remote simultaneously
2015-04-13 13:05:40 -04:00
Mike Blumenkrantz ab6da3b2cd colorclass: add reset signal for correctly managing remote colorclass resets
previously this would just perform teh reset locally, which was not intended
2015-04-13 13:01:55 -04:00
Mike Blumenkrantz c00d20a283 colorclass: flush config after saving 2015-04-13 13:01:55 -04:00
Stefan Schmidt 128babf6f0 release: Update NEWS and bump version for 1.14.0-beta1 release 2015-04-13 16:13:44 +02:00
Olliver Schinagl 2c1022b894 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>
2015-04-13 13:50:09 +02:00
Jean-Philippe Andre bce0487d55 elm_image: Do not open file again if already opening (async) 2015-04-13 20:30:27 +09:00
Daniel Juyung Seo 24127a7fc0 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
2015-04-12 13:40:20 +09:00
Jaeun Choi 62f95be91c elm_image: return EINA_FALSE if the data source is NULL in elm_image_memfile_set
@fix
2015-04-10 18:31:58 +09:00
Jean-Philippe Andre 43846e863d elm_suite: Add test for async file set 2015-04-10 16:46:56 +09:00
Jean-Philippe Andre fc2980cead 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
2015-04-10 16:46:56 +09:00
Jaehyun Cho a9edca0deb test_naviframe: Fix content image file names.
@fix
2015-04-10 14:45:34 +09:00
kumar navneet c00ac16f08 [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
2015-04-10 14:37:11 +09:00
SangHyeon Lee f63e3008a7 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
2015-04-10 14:30:46 +09:00
woochan lee eaf0a64744 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
2015-04-10 14:09:45 +09:00
Carsten Haitzler 1ec7092594 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.
2015-04-10 09:27:17 +09:00
Jaeun Choi a7dee7cc13 elm_genlist: pass eo_it to eo_do_ret func, not VIEW(it)
@fix
2015-04-09 21:12:54 +09:00