Commit Graph

11518 Commits

Author SHA1 Message Date
Daniel Kolesa 2ccbb06fea eo: fix according to latest eolian changes 2015-05-14 11:27:32 +01:00
Lukasz Stanislawski 927d78d095 atspi: add ACTIVE state to elm_win 2015-05-13 15:39:24 +02:00
Lukasz Stanislawski 31545f69f8 atspi: set FOCUSABLE state only when widget has no focusable children
AT-SPI2 specification states that active window can have only one widget
with FOCUSED state. This differs from elementary design which assumes
that whole elementary widget tree branch is focused.
Patch assumes that if a widget have no focusable children and can have
focus it can be marked as FOCUSABLE on atspi bus.
2015-05-13 15:39:24 +02:00
Lukasz Stanislawski 06f97cd1af atspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.
According to atspi specification ATSPI_STATE_ACTIVE is reserved
only for windows having keyboard focus.
2015-05-13 15:39:24 +02:00
Lukasz Stanislawski c306271bc3 atspi: handle state change notifications in on_focus function 2015-05-13 15:39:24 +02:00
Ji-Youn Park 8d1a238d1c elm_win: Add elm win key grab. If keyrouter support several keygrab mode, apps can use it. 2015-05-13 20:57:36 +09:00
Daniel Kolesa c075f15d67 eo: sync with latest Eolian changes and introduce a harmless temporary hack 2015-05-12 16:27:09 +01:00
Lukasz Stanislawski 5d61fe27d4 atspi: add component interface to elm_widget_item objects. 2015-05-12 15:31:20 +02:00
Lukasz Stanislawski 0279a91e57 atspi: fix accessible_at_point method to match specification. 2015-05-12 15:24:16 +02:00
Daniel Kolesa 5fdf454ef0 eo: fix up the remaining doc comments 2015-05-11 15:25:29 +01:00
Daniel Kolesa e74cd43c7b elm_widget_item: fix doc comments 2015-05-11 15:11:48 +01:00
Lukasz Stanislawski 7abf897ac0 atspi: more org.a11y.atspi.Window signals is broadcasted. 2015-05-11 15:48:49 +02:00
Vitor Sousa d9174d4bc0 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.
2015-05-07 16:00:03 -03:00
Vitor Sousa 06bfb7cb94 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"));
2015-05-07 15:59:50 -03:00
Vitor Sousa 7d21b7beb1 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.
2015-05-07 13:55:27 -03:00
Daniel Kolesa fd06107d07 eolian: use the new property syntax 2015-05-07 17:32:53 +01:00
Jee-Yong Um 198f086feb 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
2015-05-07 17:18:45 +09:00
maxerba 44f53930ee Updating spanish translation 2015-05-06 19:03:29 +02:00
Vitor Sousa a4e9658e70 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
2015-05-06 15:46:46 +01:00
Tom Hacohen 9639418c59 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).
2015-05-06 15:46:46 +01:00
Vitor Sousa 7b74f29445 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
2015-05-06 15:46:46 +01:00
Tom Hacohen efc0d3ef35 Elm image: Use correct Eolian namespace syntax. 2015-05-06 15:46:46 +01:00
Tom Hacohen 8bbdeb3d93 Elm button: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen f627a65ea9 Most of elm: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 63d1667b81 Elm bubble: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen c5ba34add2 Elm bg: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0316c2630f Elm box: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen f6cf792356 Elm container: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 5fc6407cd1 Elm layout: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 96a0528978 Elm actionslider: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 97adfcc706 Elm access: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0b6bacd035 Elm widget+item: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Chris Michael a224a5ac20 elementary: Remove unused variable
@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-06 10:40:33 -04:00
Stefan Schmidt f57ab7ef74 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.
2015-05-06 16:14:28 +02:00
Stefan Schmidt aa1f0566ed configure: Switch to dev mode again. Merge window for 1.15 is open now. 2015-05-06 16:00:13 +02:00
Stefan Schmidt 14bd99bd40 release: Update NEWS and bump version for 1.14.0 release 2015-05-06 15:30:02 +02:00
Stefan Schmidt deee7a231a 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
2015-05-06 14:34:32 +02:00
Cedric BAIL 35723cd7d4 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.
2015-05-06 14:25:15 +02:00
Cedric BAIL 51386942a0 naviframe: add a test for checking expected behavior or item_pop. 2015-05-05 18:13:12 +02:00
Lukasz Stanislawski f299be8712 gengrid: fix mem leak occuring when getting name from atspi interface 2015-05-04 11:46:05 +02:00
Davide Andreoli b25a0a3ea3 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
2015-05-04 02:16:33 +02:00
Sung-Taek Hong 058fbcca59 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
2015-05-01 14:34:11 +09:00
Umesh Tanwar fb54e83a55 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
2015-05-01 14:33:18 +09:00
Amitesh Singh f2be5189c9 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
2015-05-01 14:32:34 +09:00
Umesh Tanwar 3253568481 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
2015-05-01 12:05:07 +09:00
Cedric BAIL 3ffb541827 win: remove dead code.
pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.
2015-04-29 10:30:18 +02:00
Amitesh Singh 9399c492b2 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>
2015-04-28 14:11:55 +02:00
kabeer khan 5d0614ba61 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>
2015-04-28 14:11:55 +02:00
kabeer khan 06e02ad88d 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>
2015-04-28 14:11:55 +02:00
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
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
Mike Blumenkrantz 2b6f8a4c0f colorclass: fix test window initial resize geom 2015-04-06 14:32:05 -04:00
Mike Blumenkrantz f052b748c3 colorclass: only show one fader at a time
showing both faders obscures the app too much to be useful
2015-04-06 14:12:24 -04:00
Mike Blumenkrantz 135e13d376 colorclass: slightly expand colorselector bg to improve clicking area 2015-04-06 14:11:37 -04:00
Mike Blumenkrantz 68847d9c7d colorclass: add clip for color type groups, move inset inside edje area 2015-04-06 14:10:24 -04:00
Mike Blumenkrantz 1ee3041767 colorclass: add focus glow to color type selector 2015-04-06 14:09:47 -04:00
Mike Blumenkrantz c9e85eb2e1 edc: add descriptions for all listed color classes 2015-04-06 12:20:35 -04:00
Lukasz Stanislawski 9e970814d5 atspi: changed del event broadcast. Fix genlist & gengrid tests 2015-04-06 10:25:02 +02:00
Lukasz Stanislawski 688ddf8b83 atspi: remove redundant signature check. 2015-04-06 10:25:02 +02:00
Lukasz Stanislawski 8f0477211d atspi: update genlist item Name property when text becomes realized. 2015-04-06 10:25:02 +02:00
Lukasz Stanislawski 53afc0f2ca atspi: fix mem leaks spotted in valgrind. 2015-04-06 10:25:02 +02:00
Lukasz Stanislawski 80a79d717e atspi: override default atspi parent of genlist item content 2015-04-06 10:25:01 +02:00
Lukasz Stanislawski ea1f1d9c36 atspi: delay registration of atspi object until its shown 2015-04-06 10:25:01 +02:00
Lukasz Stanislawski 33ea156e8b atspi: allow to override default Elementary objects hierarchy 2015-04-06 10:25:01 +02:00
Lukasz Stanislawski afe3ec87b0 atspi: remove deleted atspi header from elm_interfaces. 2015-04-06 10:25:01 +02:00
Lukasz Stanislawski d4d3da2cef atspi: add 'checked' state for elm_radio 2015-04-06 10:25:00 +02:00
Lukasz Stanislawski d6ca04a1b5 atspi: add 'editable' to elm_entry atspi states 2015-04-06 10:25:00 +02:00
Lukasz Stanislawski d06ae0ec4f atspi: allow AT-SPI clients to filter-out key events 2015-04-06 10:25:00 +02:00
Lukasz Stanislawski c272f9b084 widget: use ATSPI protected functions. 2015-04-06 10:24:59 +02:00
Lukasz Stanislawski f7686dfd0e atspi: add text tags filtering 2015-04-06 10:24:59 +02:00
Lukasz Stanislawski e0540ab2ee gengrid: remove debug 2015-04-06 10:24:59 +02:00
Lukasz Stanislawski e663ee3167 atspi: improva child add/del broadcasting.
This commit enables generic broadcasting of changes in widget hierarcies.
Previously this kind of broadcasting had to be implemented inside widget.
This solution is using elm_widget sub_obj_add/sub_obj_del functions.
2015-04-06 10:24:59 +02:00
Lukasz Stanislawski da78012f8f atspi: fix elm_gengrid_item accessible states 2015-04-06 10:24:59 +02:00
Lukasz Stanislawski 101b742e1a atspi: add AT-SPI support for elm_toolbar_items 2015-04-06 10:24:58 +02:00
Lukasz Stanislawski d7235d5f5b genlist: remove debug logs 2015-04-06 10:24:58 +02:00