Commit Graph

11342 Commits

Author SHA1 Message Date
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
Stefan Schmidt b8218b03b3 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.
2015-04-08 17:41:58 +02:00
Stefan Schmidt dcd626973f elm_object: Add since tag for new elm_object_access_info_get() 2015-04-08 15:12:44 +02:00
Carsten Haitzler ddfa4cb977 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
2015-04-08 09:54:25 +09:00
Stefan Schmidt a1214c91d0 release: Update NEWS and bump version for 1.14.0-alpha1 release 2015-04-07 14:13:25 +02:00
Jean-Philippe Andre 0b9ff83485 gesture_layer: Fix unused value assignment
Fixes CID1261280
2015-04-07 15:27:13 +09:00
Jean-Philippe Andre 315175083b colorselector,scroller: Check return value of elm_layout_theme_set
Fixes:
- CID1273968
- CID1291831
2015-04-07 15:26:46 +09:00
Jean-Philippe Andre 54de1cc76e elm_test: (GLView) reset accel_preference after win_add
This might even make the application run with two different engines.
2015-04-07 15:03:49 +09:00
Jean-Philippe Andre 36aedfc876 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).
2015-04-07 11:44:39 +09:00
Jean-Philippe Andre c874a32ba5 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).
2015-04-07 11:44:39 +09:00
Jean-Philippe Andre 9b97c6cc43 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.
2015-04-07 11:44:39 +09:00
Mike Blumenkrantz f9cb86cdd9 edc: use new empty description inherit statements in comp theme
coverage/testing++
2015-04-06 20:43:59 -04:00
Mike Blumenkrantz 670e301ed5 edc: fix button theme syntax error 2015-04-06 20:37:18 -04:00
Mike Blumenkrantz a0e1e94511 colorclass: move test translate+list callbacks to main
enable remote editing of all colorclasses in elm_test
2015-04-06 15:33:50 -04:00
Mike Blumenkrantz fa005eceb2 colorclass: sort colorclass list by colorclass name 2015-04-06 15:22:54 -04:00
Mike Blumenkrantz a2d2462a95 colorclass: block colorselector dismissal when clicking inside csel area 2015-04-06 14:34:33 -04:00