Commit Graph

11380 Commits

Author SHA1 Message Date
Stefan Schmidt 19a47f81cd release: Update NEWS and bump version for 1.14.0-beta3 release 2015-04-27 14:49:00 +02:00
Hosang Kim 900aebec53 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
2015-04-27 13:55:10 +09:00
Andrii Kroitor 39ed1a812b 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
2015-04-27 10:53:28 +09:00
Vitalii Vorobiov 1cdbbcde90 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
2015-04-27 10:47:22 +09:00
Cedric BAIL adcfd71d70 theme: fix typo, thanks arrowdodger. 2015-04-25 20:08:39 +02:00
Woochan Lee 4c9e2fa452 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
2015-04-24 16:27:15 +09:00
Woochan Lee 5b91ca2a3d 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
2015-04-24 16:22:07 +09:00
Vitalii Vorobiov 4e1e187fdb 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
2015-04-23 11:05:31 +09:00
Stefan Schmidt 146a7b63e2 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
2015-04-22 17:24:42 +02:00
Tom Hacohen a6e84dac81 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.
2015-04-22 13:33:40 +01:00
Tom Hacohen 01dd3cc845 Spinner: use fabs for floating point absolute value. 2015-04-22 13:31:21 +01:00
Tom Hacohen aefb1eef81 Gesture layer: fabs->abs for int parameters.
Clear more correct clang warnings.
2015-04-22 13:31:17 +01:00
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