Commit Graph

11931 Commits

Author SHA1 Message Date
Daniel Juyung Seo 9b890bc8af release: Update NEWS and bump version for 1.15.0-beta2 release 2015-07-21 08:25:58 +09:00
Mike Blumenkrantz 79014251a2 win: redo wayland opaque region setting
* convert opaque region theme part to SPACER
  - add rels for shaded/maximized state
* namespace opaque region theme part
* update opaque region only on pre-render
  - fixes race condition between render size and opaque size

ref T2575
2015-07-20 17:35:00 -04:00
Chris Michael b649104eb9 elementary: Adjust shadow spacer on maximize
Summary: This fix adjusts the shadow spacer elementary when we
maximize/unmaximize a window. When in a maximized state, we do not
have to reserve space for the window shadow. This partially fixes
T2578. I say partially because there is still a little bit of blank
space around a maximized window.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-20 11:49:10 -04:00
Amitesh Singh bc2dcc5498 tooltip: no need to show content object of tooltip
content object visibility will be controlled by tooltip edje object.
2015-07-20 20:56:26 +05:30
SangHyeon Lee 4e48054bb8 genlist : fix genlist dangling pointer crash in item select
Summary:
Fix genlist crash issue of T2553 which happened by dangling pointer
access after deletion in item_select.
after item_focused callback, user call deletion and item_select din't
cover those cases.
Resolves: T2553

@fix

Test Plan: elementary_test -> genlist focus -> choose Genlist Cear on Focus
then originally crash will be happened. This patch will solve that problem.
2015-07-20 00:16:26 +09:00
Umesh Tanwar d9c18d9814 Scroller: Improvement in _key_action_move() calculations.
Summary:
If x coordinate is equal to 0, key action is no more
effective as EINA_FALSE is returned. This is creating problem
in looping. Looping will be done when x < 0, but as soon as
x == 0, _key_action_move starts returning EINA_FALSE. Same
thing applies to y coordinate and other extremities.

@fix

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Test Plan: elementary_test -> Scroller -> Loop in X axis -> scroll left using left key(looping does not happen)

Reviewers: raster, Hermet, cedric, singh.amitesh, SanghyeonLee

Reviewed By: SanghyeonLee

Subscribers: sachin.dev, SanghyeonLee, eagleeye

Differential Revision: https://phab.enlightenment.org/D2778
2015-07-19 23:40:50 +09:00
Amitesh Singh 8dbed27dcd test_popup: include icon text in title-icon example 2015-07-18 18:25:35 +05:30
Amitesh Singh d702afd22f popup: fix title icon to show up.
Title icon of popup is not getting shown.
steps to reproduce:
1. elementary_test -to "popup"
2. click "popup bottom title + text + 3 buttons"

In the test popup example, the initial parent of icon is popup.
The title_icon is reset to null while adjusting elm parent from popup
to main_layout (elm_widget_sub_object_add which calls sub_object_del of popup)
on swallowing icon to main_layout.

Resolves: T2581
@fix
2015-07-18 15:33:29 +05:30
Chris Michael f9f9ae02a8 elementary: Properly fix wayland opaque region setting
Summary: This patch fixes opaque region setting under wayland in a
more proper/accurate way. This now sets the opaque region to be Just
what is visible (ie: only the dialog).

NB: This does not actually fix T2575 as that problem is inside E itself.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-17 13:28:31 -04:00
Amitesh Singh 4b748651f3 theme: popup - use aliases instead for subpopup groups
Use aliases for subpopup's content,buttons{1,2,3} groups
and it reduces theme file size by 4Kb (default.edj, 5680kb to 5676Kb).
2015-07-17 22:24:49 +05:30
Chris Michael 7541745c5d elementary: Fix program signal for enable/disable of shadows
Summary: Elementary does not support toggling of shadows on windows,
but Enlightenment does so we need to use the proper program signal for
that.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 14:00:46 -04:00
Chris Michael 8961a0f246 elementary: Fix elementary wayland border opaque region calculations
Summary: This fixes T2575 more accurately (combined with previous
theme adjustments). Previous code would use a spacer object to help
calculate window opaque region. This is no longer necessary due to the
previous theme changes, and now calculates window opaque region to
coincide with what Enlightenment is expecting.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 13:10:13 -04:00
Chris Michael f664c899be elementary: Update elementary wayland border theme to match E's
Summary: This fix addresses the issue of Elementary's Wayland border
theme not match close enough to E's. Now they are very much identical
with the exception of the program and signal names.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 13:08:50 -04:00
Chris Michael 29543e1295 elementary: Tweak elm wayland border focus to Fix T2575
Summary: This adjusts the focus frame of Elementary applications to
more closely match what is done in X11. T2575 says that the focus
rectangle was larger than expected by a few pixels, so this slight
adjustment compensates for that.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 11:01:42 -04:00
Vivek Ellur 868763bba6 elm_button: Converted docs of elm_button eo to new format
Summary:
Changed the docs of elm_bubble.eo and elm_button.eo to the new format

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2827
2015-07-16 15:13:27 +01:00
Vivek Ellur 6f58dd771b elm_box: convert eo docs to new format
Summary:
Converted elm_box.eo documentation to new format

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2826
2015-07-16 15:13:21 +01:00
Jean-Philippe Andre 99122c0cd2 glview: pass render_op flag to the child surface
Without this, apps can't set a GLView to be in COPY mode.
COPY mode allows the glview to "poke holes" in the backbuffer of
the window, without the need for other objects below (eg. a
transparent rectangle in COPY mode).
2015-07-16 19:53:15 +09:00
Vivek Ellur a8511b117d elm_bg: convert eo docs to new format
Summary:
Converted docs of elm_bg.eo to new format

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, q66

Differential Revision: https://phab.enlightenment.org/D2819
2015-07-16 11:21:15 +01:00
Lukasz Stanislawski ee5e4cf27a widget_item: check view visibility in item_onscreen_is function. 2015-07-16 10:53:42 +02:00
Tom Hacohen b9492bedc4 Eolian helper: sync eolian helper from the efl.
This should fix issues with missing directories and remove redundancy.
2015-07-16 09:32:26 +01:00
Vincent Torri 73f81b5f42 Elm: fix eolian_gen call on MSYS2 2015-07-16 09:23:55 +01:00
woochan lee 3237ad9e78 toolbar: item content unset function called when user content unset to toolbar item.
Summary:
It's related with https://phab.enlightenment.org/D2777

I missed doing on content_unset case.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2808
2015-07-16 11:31:06 +09:00
Amitesh Singh ff68a39745 gengrid: remove memset to optimize items swapping via keys.
No need to call memset(0) as struct values are getting fill eventually.
2015-07-15 23:51:26 +05:30
Jaehwan Kim e0c1613602 elm_macro: add cast.
It is used by pixel calculation.
It should be changed to int.
2015-07-15 16:21:09 +09:00
Vivek Ellur 51f295d676 elm_app_server: Convert eo docs to new format
Summary:
Converted docs of elm_app_server.eo and elm_app_server_view.eo to
new format

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2816
2015-07-14 14:44:25 +01:00
Vivek Ellur c4447f0a1b elm_app_client: convert eo docs to new format
Summary:
Converted docs of elm_app_client.eo and elm_app_client_view.eo to
new format

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2814
2015-07-14 14:44:02 +01:00
Tom Hacohen f3be634e87 Entry: Fix behaviour of markup filters when setting entry text.
The issue was introduced in 28e6878f7cce36efae1438b5e032eb9c0878016a.
While this is a fix in the sense that it reverts to the previously
defined behaviour (defined both in docs and code), the previous
behaviour was stupid and inconsistent. So now we are back to stupid and
inconsistent.

I can't fix this further, because unfortunately, the fix requires
intrusive changes that are just too dangerous to make this late in the
release cycle. Luckily for us, the issues only surface in a very
specific case that is quite uncommon. In order to trigger the bug you
need to set a very long piece of text on an entry that has text filters
set.

Fixes T2561

@fix
2015-07-13 17:57:50 +01:00
Daniel Juyung Seo a2704f98bc release: Update NEWS and bump version for 1.15.0-beta1 release 2015-07-14 00:00:04 +09:00
Amitesh Singh 7706057edd test_win_state: remove commented code and newline 2015-07-11 21:51:02 +05:30
Amitesh Singh 69551260bf slider: remove useless code 2015-07-10 21:27:51 +05:30
Amitesh Singh dfbeb9777d toolbar: Check return value of elm_layout_theme_set. 2015-07-10 20:54:23 +05:30
Amitesh Singh 460f66af98 colorselector: fix compilation warnings. 2015-07-10 20:47:24 +05:30
Amitesh Singh 96f6141a25 color_class: Check return value of elm_layout_theme_set 2015-07-10 20:45:18 +05:30
Jean-Philippe Andre 21bdc5d78d Elm.Colorselector: Fix crash in infinite callback loop
In most cases the code would not crash (I can't understand why),
but in some cases Eo would complain about call stack overflow.
Yep, that's a lot of recursive calls.

The mouse_down callback was trying to cancel its triggering
event and then send again the same mouse_down event. Why? I guess
because it was easier that also having a callback for move (drag
the colorselector arrows). Ugly...

This widget is in dire need for some love.
2015-07-10 15:29:12 +09:00
Jean-Philippe Andre da46a44064 Window: Set urgent flag only when not already set
cat <binary_file_with_lots_of_BEL> in terminology would slow down
everything because of the urgent flag (and talking to X).
2015-07-10 14:34:55 +09:00
Carsten Haitzler 5edec15fb0 theme - make square more opaque 2015-07-10 11:38:27 +09:00
Amitesh Singh d6409bc205 popup: fix timeout cb. 2015-07-09 22:24:21 +05:30
Amitesh Singh 09cdee6fcf popup: fix block,clicked cb 2015-07-09 22:24:14 +05:30
Daniel Juyung Seo 0c1b88aac1 NEWS: Remove reverted commits and redundant logs.
Thanks to Amitesh for spotting this.
2015-07-10 00:31:59 +09:00
Daniel Hirt 6a54630f41 Elm Entry: Fix context menu dismissal
The wrong event was used during the port from smart callbacks to eo
callbacks. Now the correct ELM_HOVERSEL_EVENT_DISMISSED event is used.
2015-07-09 16:40:44 +03:00
Carsten Haitzler ca278d7355 theme adjust - replace blurry grey haloed black box with nice rect+shad 2015-07-09 17:51:26 +09:00
Lukasz Stanislawski 40a47614d2 popup: add missing AT-SPI2 MODAL state 2015-07-09 08:42:26 +02:00
ChunEon Park 560c3cd8fe slider: compare slider values elaborately.
because of the double type nature,
the comparison is not correct.

we decide the value changes with range of double epsilon to avoid this.

@fix
2015-07-09 15:19:54 +09:00
ChunEon Park f8662bc2a0 image: fix a crash, 0 divide problem.
if the gif is invalid animated image,
the frame count could be 0.

@fix
2015-07-09 11:09:59 +09:00
Daniel Juyung Seo 3a03092180 release: Update NEWS and bump version for 1.15.0-alpha1 release 2015-07-09 04:14:12 +09:00
Daniel Juyung Seo 92f77beb72 elm: Fix distcheck. 2015-07-09 03:56:55 +09:00
Daniel Kolesa 84025861af elm: update new-style docs across elm so they validate right 2015-07-08 15:49:38 +01:00
Daniel Juyung Seo e5e148ba6e po: Updated po. 2015-07-08 22:46:02 +09:00
Yakov Goldberg 4677a17a53 elm_general: move definition of enum Elm.Wrap.Type to elm_general.eot
move definition of enum Elm.Wrap.Type from elm_entry.eo to elm_general.eot
And import elm_general.eot into elm_entry.eo, elm_label.eo, elm_popup.eo
2015-07-08 16:07:58 +03:00
Yakov Goldberg 5c59dc080f elm_hover: Move enums to elm_hover.eo
Move enums from elm_hover_common.h to elm_hover.eo in order to make them
more accessible for bindings. Delete elm_hover_common.h.
2015-07-08 12:36:29 +03:00
Yakov Goldberg 3492586afc elm_label: Move enums to elm_label.eo
Move enums from elm_label_common.h to elm_label.eo in order to make them
more accessible for bindings. Delete elm_label_common.h.
2015-07-08 12:36:29 +03:00
Yakov Goldberg b6d05186a4 elm_list: Move enums to elm_list.eo
Move enums from elm_list_common.h to elm_list.eo in order to make them
more accessible for bindings. Delete elm_list_common.h.
2015-07-08 12:36:29 +03:00
Yakov Goldberg bae8a6a5c9 elm_genlist: move enums to elm_genlist_item.eo
Move enums from elm_genlist_common.h to elm_genlist_item.eo in order to make them
more accessible for bindings.
2015-07-08 12:36:29 +03:00
Yakov Goldberg ea191cc69a elm_gengrid: move enums to elm_gengrid_item.eo
Move enums from elm_gengrid_common.h to elm_gengrid_item.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
Yakov Goldberg fa18d897da elm_entry: moved part of enums to elm_entry.eo
Move part of enums from elm_entry_common.h to elm_entry.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
Yakov Goldberg 95b4aea7f2 elm_dayselector: Move enums to elm_dayselector.eo
Move enums from elm_dayselector_common.h to elm_dayselector.eo in order to make them
more accessible for bindings. Delete elm_dayselector_common.h.
2015-07-08 10:23:38 +03:00
Yakov Goldberg e698eb878f elm_datetime: Move enums to elm_datetime.eo
Move enums from elm_datetime_common.h to elm_datetime.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
Yakov Goldberg ad51d699a3 elm_colorselector: Move enums to elm_colorselector.eo
Move enums from elm_colorselector_common.h to elm_colorselector.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
Yakov Goldberg aea563f44a elm_clock: Move enums to elm_clock.eo
Move enums from elm_clock_common.h to elm_clock.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
Yakov Goldberg 2007cbbeb7 elm_calendar: Move enums to elm_calendar.eo
Move enums from elm_calendar_common.h to elm_calendar.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
Yakov Goldberg ce57367a39 elm_bubble: Move enums to elm_bubble.eo
Move enums from elm_bubble_common.h to elm_bubble.eo in order to make them
more accessible for bindings. Delete elm_bubble_common.h.
2015-07-08 10:23:38 +03:00
Yakov Goldberg 768cfe41cb elm_bg: Move enums to elm_bg.eo
Move enums from elm_bg_common.h to elm_bg.eo in order to make them
more accessible for bindings. Delete elm_bg_common.h.
2015-07-08 10:23:38 +03:00
Yakov Goldberg 3011c99caa elm_segment_control: delete empty elm_segment_control_common.h 2015-07-08 10:23:38 +03:00
Yakov Goldberg 57b4e5336c elm_menu: delete empty elm_menu_common.h 2015-07-08 10:23:38 +03:00
Yakov Goldberg b85de94477 elm_index: delete empty elm_index_common.h 2015-07-08 10:23:38 +03:00
Yakov Goldberg c32e02f013 elm_popup: Move enums to elm_popup.eo
Move enums from elc_popup_common.h to elm_popup.eo in order to make them
more accessible for bindings. Delete elc_popup_common.h.
2015-07-08 10:23:38 +03:00
Yakov Goldberg 12a501f0cc elm_fileselector: Move enums to elm_interface_fileselector.eo
Move enums from elm_fileselector_common.h to elm_interface_fileselector.eo
in order to make them more accessible for bindings.
Include generated elm_interface_fileselector.eo.legacy.h
into elm_fileselector_legacy.h
2015-07-08 10:23:38 +03:00
Yakov Goldberg cbf0d72a4c elm_icon: Move enums to elm_icon.eo
Move enums from elm_icon_common.h to elm_icon.eo in order to make them
more accessible for bindings. Delete elm_icon_common.h.
2015-07-08 10:23:38 +03:00
Carsten Haitzler 51223634f2 elm - fix formatting syntax err in condig 2015-07-08 15:38:29 +09:00
Carsten Haitzler 37fad8fd65 elm - scroller - set hold flag on wheel events if used for that dir
@fix

this should fix the clash between wheel and scroller ... somewhat
2015-07-07 19:35:48 +09:00
Daniel Zaoui 59730595e3 Eo Events: port more Evas Smart callbacks to Eo
Some Evas Smart callbacks invocations were still inside code
and should have been ported.
2015-07-07 11:24:12 +03:00
Jaehwan Kim e46a2dd3c5 elm_conform: remove smart_callback when it is removed.
The owner of the smart_callbacks is window. so even if the conformant
is deleted, they aren't removed. It can make some problems.

@fix
2015-07-07 16:39:01 +09:00
Jaehwan Kim ff60b8b340 elm_conform: remember window pointer.
When the conformant is removed, elm_widget_sub_object_del is called
before calling _elm_conformant_evas_object_smart_del.
Because parent-child relation about window-conformant is unrelated,
there's no meaning elm_widget_top_get in
_elm_conformant_evas_object_smart_del.

@fix
2015-07-07 16:39:01 +09:00
Lukasz Stanislawski 57ed1a056c atspi: handle all states names 2015-07-07 00:26:21 +02:00
Thiep Ha e6542ec3c2 cnp: change drag win type to ELM_WIN_DND
Summary:
Drag win should use ELM_WIN_DND.
The drag win in _drag_start function was added when ELM_WIN_DND
was not supported. Now we have ELM_WIN_DND, drag win needs to
change to ELM_WIN_DND.

@fix

Reviewers: JackDanielZ, cedric, Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2784
2015-07-06 22:48:38 +03:00
Daniel Zaoui 5eea00ffb6 Win: fix ABI issue
Even if focus,in/out is deprecated and should be replaced with
focused/unfocused, the event has to be triggered.
2015-07-06 14:47:31 +03:00
Daniel Zaoui 95910aed72 Focus: concentrate focused events in widget
The focused/unfocused events should be only defined in a common widget,
which is Elm.Widget.
2015-07-06 14:47:31 +03:00
Yakov Goldberg 616b41f89a elm_ctxpopup: Move enums to elm_ctxpopup.eo
Move enums from elc_ctxpopup_common.h to elm_ctxpopup.eo in order to make them
more accessible for bindings. Delete elc_ctxpopup_common.h.
2015-07-06 12:21:26 +03:00
Daniel Zaoui c66013a1fc Eo events: fix wrong event invocations
Events were still created and used on high level classes when Evas
interfaces events should have been used (e.g CLICKED, SELECTED).
2015-07-05 19:14:36 +03:00
Yakov Goldberg a2d668069c elm_actionslider: Move enums to elm_actionslider.eo
Move enums from elm_actionslider_common.h to elm_scroller.eo in order to make them
more accessible for bindings. Delete elm_actionslider_common.h.
2015-07-05 17:57:48 +03:00
Avi Levin 12f580125b elm_video: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin ca37a84db0 elc_fileselector_entry, elm_bubble: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 10045491aa elm_calendar, elm_widget: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin ed38b09343 elm_icon: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 209b42a285 elm_prefs, elm_check: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 5b8cc7b3f2 elm_layout, elm_label: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin f245fd24bc elm_spinner, elm_index: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin cc7ca0d2cf elm_slideshow, elm_plug: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin d0c9703bd7 elm_list, elm_win: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 09b476f254 elm_menu: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 6ebe43e042 elc_fileselector, elc_fileselector_button: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 9b9725707c elm_entry: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin a4429ad3ab elm_panes: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 54a1748486 elm_scroller: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 0354a1e2b7 elm_progressbar: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 44a53caa61 elm_diskselector: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 4be915ab4c elm_thumb: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 32b8348a64 elm_button: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 5389b58bb9 elm_hover: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 32ec476615 elm_photocam: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin f615ff0c46 elm_web2: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin 2a66feabfb elm_radio, elm_slider: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin c123161675 elm_frame: porting evas smart callbacks to eo 2015-07-05 13:05:38 +03:00
Avi Levin c0d43de914 elc_multibuttonentry: porting evas smart callbacks to eo 2015-07-05 13:05:37 +03:00
Jaehyun Cho 4b3496d15d naviframe: Fix to work clicked callback of auto pushed button.
To avoid multiple item pops, the auto pushed button deletes its clicked
callback once it is called.
However, if the auto pushed button is not supposed to be deleted in pop
callback, the clicked callback should be restored.

@fix
2015-07-05 17:29:57 +09:00
Larry Jr bb02711ff8 EFL Model Form View for MVC design
Elementary view that show an EFL.model and keep them synchronized
asynchronously.

The elm_view_form connects properties of a data model to different
widgets.

There is an example defined in src/examples/filemvc.c that also uses
a list view.

You can add widgets connected to properties using:

eo_do(formview, elm_view_form_widget_add("filename", _label_init(win, bxr, "File Name")));

@feature
2015-07-04 03:04:03 +02:00
Larry Jr bf082998cd EFL Model List View for MVC design
Elementary views that show an EFL.model and keep them synchronized
asynchronously.

The elm_view_list show a tree data structure using a genlist. Each
property is seen as a different data column.

There is an example defined in fileviewlist.c.

@feature
2015-07-04 03:04:03 +02:00
Daniel Kolesa a2f1f192a1 icon: convert docs 2015-07-03 16:07:18 +01:00
Daniel Kolesa f743e84e64 check: convert docs 2015-07-03 15:59:15 +01:00
Daniel Kolesa aa2412946a separator: convert docs 2015-07-03 15:55:11 +01:00
Daniel Kolesa c98cc91b8d route: convert docs 2015-07-03 15:54:14 +01:00
Daniel Kolesa ef236fd43f radio: convert docs 2015-07-03 15:52:29 +01:00
Daniel Kolesa c94b145423 scroller: convert docs 2015-07-03 15:12:48 +01:00
Daniel Kolesa 9fe25adafd systray: convert docs 2015-07-03 15:09:26 +01:00
Amitesh Singh 78b759454d entry: Remove unused variable. 2015-07-03 15:58:24 +05:30
Vaibhav Gupta 514f1a954b Entry: Add chunked append in case of _elm_entry_entry_append
Summary:
Summary
Fixed FIXME: Add chunked appending here (like in entry_set)

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: raster, Hermet, herdsman, singh.amitesh, tasn

Subscribers: thiepha, sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2732
2015-07-03 11:08:23 +01:00
Daniel Kolesa 450c63265e fileselector_button: convert docs 2015-07-02 15:16:36 +01:00
Daniel Kolesa a94eca9568 actionslider: convert docs 2015-07-02 14:54:07 +01:00
Daniel Kolesa 6afd71a33f notify: convert docs 2015-07-02 14:47:56 +01:00
Daniel Kolesa b1fba116aa photo: convert docs 2015-07-02 14:43:50 +01:00
Daniel Kolesa ff533a6568 video: convert docs 2015-07-02 14:37:55 +01:00
Daniel Kolesa 05113d2d32 fileselector: convert docs 2015-07-02 14:31:07 +01:00
Lukasz Stanislawski 1c0f7b822d win: do not emit atspi children-changed event twice 2015-07-02 13:54:02 +02:00
Lukasz Stanislawski 2b7d454154 win: return nice atspi name 2015-07-02 13:53:20 +02:00
woochan lee 81d5b99d72 toolbar: content_set function called when user content set to toolbar item.
Summary:
If User want to content set something to item area. there is no way to except elm customizing.
So i added this feature and make the toolbar item object to layout before.

Now user can content set something on item area only call "elm_object_item_part_content_set" API.

Test Plan:
Make some swallow part on toolbar edc.
and content set some layout to that swallow part to using "elm_object_item_part_content_set"

Reviewers: cedric, Hermet

Subscribers: SanghyeonLee, eagleeye, id213sin

Differential Revision: https://phab.enlightenment.org/D2777
2015-07-02 20:07:48 +09:00
woochan lee 2bf248fbc0 toolbar: item object change from edje object to layout.
Summary:
Its for support elm_object_item_XXXX APIs for toolbar item.
Its the pre work for toolbar item content set some layout to toolbar item layout automatically.
(without implement item_content_set with part name.)

I  abandoned for check the other side of this change. but its not has problem so i reclaim this commit
and put on another commit for this. https://phab.enlightenment.org/D2777

Test Plan: To all of the action on elementary toolbar test sample.

Reviewers: cedric, Hermet

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2768
2015-07-02 20:00:58 +09:00
Thiep Ha f5cf77387c cnp: remove redundant code
Summary: Remove redundant NULL assign code

Reviewers: cedric, Hermet, JackDanielZ

Reviewed By: JackDanielZ

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2782
2015-07-02 19:58:15 +09:00
Lukasz Stanislawski 4610ccfba2 ctxpopup: enhance atspi state information and actions. 2015-07-02 12:36:32 +02:00
Avi Levin 029a0421fa elm_actionslider, elm_map: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin 04ee4036d0 elm_image, elm_colorselector: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin 437f1f9f28 elm_genlist: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin b5eee8141c elm_toolbar: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin cb4e3f0750 elm_clock, elm_flipselector: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Avi Levin 4851b666c2 elc_hoversel, elm_interface_scrollable: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin 2f7b600b09 elm_segment_control: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin 6de5045068 elm_panel: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin b4ed9ea161 elm_datetime: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin bd03400e7e elc_naviframe: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Avi Levin 7c4411630c etc_ctxpopup, elm_gengrid, elm_notify: porting evas smart callbacks to eo 2015-07-02 08:04:02 +03:00
Vitor Sousa 2e7b6d38af elm_entry: use Efl.File in Elm_Entry
Summary:
Also using the second optional string parameter of efl_file_set as the
text format specifier.
Added string constants to represent the possible values.

Address the issue:
- Elm entry and the file interface clash on file_set.
Specified in the page:
https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Subscribers: thiepha, raster

Differential Revision: https://phab.enlightenment.org/D2353
2015-07-01 18:30:23 +01:00
Vitor Sousa 5a737f7187 win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
Summary:
Add the "autohide" property to elm_win. This property, when set to
EINA_TRUE, automatically hides the window upon a "delete,request" signal.

Create ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN, a new quit policy that
automatically exit from the elm_run loop when all windows are hidden.
It is an alternative to autodel to conciliates the memory management
framework of Eo with any other memory management model the program may
be using (e.g. RAII principles of C++).

Create the auxiliary function "_elm_win_policy_quit_triggered" to check
triggering of quit policies.
The check in "smart_hide" is now necessary, since
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN can be triggered when a window
is hidden.

Create the auxiliary function "_elm_win_flush_cache_and_exit" to avoid
code repetition for exiting the elm_run loop.

Make a small update on documentation in elm_win.h to mention the new
autohide property.

@feature

Reviewers: raster, felipealmeida, cedric, tasn

Reviewed By: felipealmeida

Differential Revision: https://phab.enlightenment.org/D2751
2015-07-01 15:40:57 +01:00
Lukasz Stanislawski f0fa3e0709 genlist: broadcast atspi expanded state changes 2015-07-01 10:44:58 +02:00
Amitesh Singh 6e0f4e6134 layout: Fix eo API error while running "Genlist 7" in elementary_test.
In case of naviframe, resize_obj is not edje.

Steps to reproduce:
1. elementary_test
2. Open "Genlist 7" sample.
3. Switch focus between windows ("elementary_test" <---> "Genlist 7").

Eo Errors:
ERR<8720>:eo lib/eo/eo.c:678 _eo_call_resolve() in lib/edje/edje_object.eo.c:430: func 'edje_obj_message_signal_process' (733) could not be resolved for class 'Elm_Layout'.

@fix
Resolves: T2534
2015-07-01 09:47:06 +05:30
Anand 449b9be714 test_focus: Focus should to move layout's entry
Summary:
While going through the test_focus(focus 2-> give focus to layout "entry") code found
focus should move to layout's entry instead of entry outside the layout.
Just change the entry object in callback ;)

Test Plan: elementry_test-->focus2-->give focus to layout "entry".

Reviewers: cedric, Hermet

Differential Revision: https://phab.enlightenment.org/D2611
2015-07-01 11:31:26 +09:00
Umesh Tanwar c68353545d Elm_Interface_Scrollable: Improvement in looping behavior
Summary:
x and y position variable assumes values ranging from min to max.
cw, the content width is larger than max in x axis. Beacause of this
the scroller is not able to loop in rigth/bottom direction. For looping
comparision min and max values should be used instead of content width.

@fix

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: raster, seoz, cedric, Hermet

Reviewed By: Hermet

Subscribers: eagleeye, SanghyeonLee, singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2731
2015-07-01 11:14:42 +09:00
divyesh purohit ba21064aff elm_datetime: Fix datetime ctxpopup resize issue
Summary:
In elm_datetime, ctxpopup does not resize

@fix

Test Plan:
1) Change the scale value in elementary_config to 2.0 (so that a better size change in the ctxpopup's can be observed)
2) Open elementary_test and then the datetime
3) Click on the first datetime field and observe the ctxpopup's arrow position and then close it
4) Click on the same datetime field again, now observe that the ctxpopup's arrow has concided with the diskselector as it wasn't resized properly.

Reviewers: raster, Hermet, shilpasingh, subodh6129, seoz

Reviewed By: shilpasingh, subodh6129

Subscribers: rajeshps, govi, poornima.srinivasan

Differential Revision: https://phab.enlightenment.org/D2628
2015-07-01 11:02:18 +09:00
woochan lee 6044a5743f multibuttonentry: Delete item size min set when first box resize time.
Summary:
The mbe items has to get own min size to calc each items locate, box size etc...
but when first time box resize it will ignored.
It makes item wrong size issue when mbe located at some part of layout in runtime.

Reviewers: Hermet, seoz, woohyun

Differential Revision: https://phab.enlightenment.org/D2657
2015-07-01 10:54:47 +09:00
Lukasz Stanislawski 0de51626de atspi: enable atspi also in quicklaunch infrastructure 2015-06-30 23:24:34 +02:00
Daniel Zaoui 09d9f9b86b Genlist: use correct variable during realize
VIEW(it) is not set when the function is called. view should be used
instead.

@fix
2015-06-30 13:11:48 +03:00
Lukasz Stanislawski 2254bf710c atspi: fix missing Window signals on AT-SPI2 initialization
Patch adds connected/disconnected elm_atspi_bridge events to avoid
races between window getting focus and AT-SPI2 bus initialization.
When  bridge gets connected windows will reemit all "Created",
"Activated" and "Deactivated" events with regard to window focus.
2015-06-29 16:43:33 +02:00
Daniel Zaoui a7546a2b14 Set file permissions back to 644
Few files permissions have been modified by mistake in the past patches.
2015-06-29 16:34:49 +03:00
Lukasz Stanislawski 0b8adefcea atspi: add org.a11y.atspi.Application interface to root object 2015-06-29 12:55:37 +02:00
Lukasz Stanislawski 4b9308861d atspi: add missing header 2015-06-29 11:39:28 +02:00
Lukasz Stanislawski f75acf75c8 atspi: refactor atspi_bridge to eo object
This will allow to reuse eo events infrastructure
in next patches.
2015-06-29 11:30:26 +02:00
Avi Levin d773097e61 elm_flip: porting evas smart callbacks to eo 2015-06-29 11:02:17 +03:00
Avi Levin 48ee99dec7 elm_photo: porting evas smart callbacks to eo 2015-06-29 11:02:17 +03:00
Avi Levin 3013d6b82e elm_dayselector: porting evas smart callbacks to eo 2015-06-29 11:02:17 +03:00
Avi Levin 3300bdd6ce elc_player: porting evas smart callbacks to eo 2015-06-29 11:02:17 +03:00
Avi Levin cc0dc16409 elc_popup: porting evas smart callbacks to eo 2015-06-29 11:02:17 +03:00
Avi Levin d92d4afbb0 elm_box: porting evas smart callbacks to eo
Replacing  calls of evas_object_smart_callback_add/del/call
with eo_callback_add/del/call.
This will reduce the use of legacy events and callbacks lists in
smart_object which in turn will improve performance and reduce memory
use.
2015-06-29 11:02:17 +03:00
Amitesh Singh 7b3a54fbbd slider: call elm_widget_theme_get instead of elm_object_theme_get.
This reduces one function call and make code more consistent
between widgets.
2015-06-29 11:24:34 +05:30
Amitesh Singh 4ca3ef4514 Revert "theme: return false if elm_object_style_set() failed to set requested style."
This reverts commit 76004dfbec84664e253babc5bf576398a5901395.

We need to change other code also to accommodate this change.
_elm_theme_set should return an enum which tells what failed.
enum {
THEME_APPLY_FAILED,
THEME_DEFAULT_SUCCESS.
THEME_APPLY_SUCCESS
};

Based on that, we decide what needs to be done.
The above code will break the layout theme if incorrect theme are passed.
It should be backported to Elm 1.14.

@fix
2015-06-29 11:00:56 +05:30
Tom Hacohen c8a5ec36ff Wayland cnp: Fix const qualifier discarding following eolian const fixes. 2015-06-26 15:44:46 +01:00
Vitor Sousa e1959ee9b7 Replace C names by Eolian namespaced names in .eo files
Reviewers: tasn, felipealmeida, raster, cedric

Differential Revision: https://phab.enlightenment.org/D2750
2015-06-26 15:36:43 +01:00
jiin.moon 576f77d6e2 elm_config: Add feature to control transition scale for edje
Summary:
If the transition scale flag is enable in edje,
this value affect the transition scale for edje.
@feature

Test Plan: test elementary_config with enventor tool

Reviewers: raster, Hermet

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2288
2015-06-26 13:54:48 +09:00
Daniel Juyung Seo ea5519d38e test_focus_policy: Enhance object focus policy test.
- Add more descriptions in the test.
- Set the focus to the first button automatically.
2015-06-26 10:30:21 +09:00
Daniel Juyung Seo e110dccae4 layout: Add more description for layout's internal smart data members. 2015-06-26 10:30:21 +09:00
Daniel Juyung Seo 8908a3df23 elm: Add missing const for getters. 2015-06-26 10:30:21 +09:00
Daniel Juyung Seo b254da1bd5 interface_scrollable: Add more description to animators.
It is surprising that there is no such a comment on a scrollerable
interface considering the complexity of scroller.
2015-06-26 10:30:21 +09:00
Daniel Juyung Seo c92b8e19e6 elm: Remove shadow variable declarations. 2015-06-26 10:30:20 +09:00
Daniel Juyung Seo 0891a4d11d edje_externals: Fix wrong free.
_signal is used after free. _signal will be freed soon any way.
This was introduced in 3da3082.

This fixes coverity CID 1308263.
2015-06-26 10:17:33 +09:00
Daniel Juyung Seo a7518cd19d test_win_keygrab: Fix buffer not null terminated error.
This fixes coverity CID 1308264.
2015-06-26 10:08:10 +09:00
Chris Michael 48fd252c94 elementary: Add rudimentary support for Elm Wayland apps to set border icon
Summary: This is a patch to fix T2453 where elm apps in weston/E did
not display the icon on the border. This is just preliminary support
because it only tries to find the efreet desktop file based on
_elm_appname. This support Could be extended to allow efreet to search
based on window title, etc, etc.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-25 13:36:07 -04:00
SangHyeon Lee 9bb528ef09 elm_interface_scrollable: fix wrong mirrored calculation
Summary:
This Patch is regarding D2553, but funtionally independent patch.
D2557 is also related with this patch, so to test working fine,
need to install those all three patches.

1. _elm_interface_scrollable_content_region_show store wx
   into scroll_interface_data without coverting mirrored_x.
   fix to store wx to mirror-converted x if is_mirrored.

2. _elm_scroll_x_mirrored_get return mirroed_x after compare zero not minx.
   so current mirrored_x couldn't be less then 0.
   fix to check min not 0 for set return value.

3.  _elm_scroll_x_mirrored_get calculation need to consider start position of scroller.
some scroller(e.g. gengrid) start from non-zero position, so calculation need to change
like below.
ret = (cw - (x + w - min));

@fix

Test Plan: You can test this after merge D2553 patch and D2557 and test gengrid2.

Reviewers: raster, Hermet, seoz, jaehwan, tanwar.umesh07, cedric

Subscribers: tanwar.umesh07, Jaehyun, anand.km, eagleeye, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2558

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Prince Kr Dubey 782817d6c5 elm_gengrid: fix an overlap issue of item and group item on focus.
Summary: Issue: Gengrid item comes over group item on click.

Test Plan:
Run elementary test.
Open GenGrid Group. Click on any item which slightly overlap with group item.
Item comes over group item.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: rajeshps, govi, poornima.srinivasan, shilpasingh

Differential Revision: https://phab.enlightenment.org/D2589

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
SangHyeon Lee 3d536db3c2 elm_gengrid: fix the bug that gengrid item index(position) is updated wrong value in item_update
Summary:
elm_gengrid_item_update perform item_unrealize/item_realize/item_place itself.
But when gengrid items are added and not calculated yet,
caller want to get item's index after execute elm_gengrid_item_update,
return value is wrong because item_place update it's position in not-updated item's x and y.

to prevent this,
if item position is already updated,
do not updates position in item place.

additionally,
I fixed gengrid item prepend wrong posiiton update.
gengrid item position start from 1 not 0, so item_position_update also must be started from 1.

@fix

Test Plan:
To test this scenario,
need to fix src/bin/test_gengrid.c first.

1. add below codes in bottom of _after_bt_clicked(line 703).

```
      Elm_Object_Item *it = elm_gengrid_item_next_get(id->item);
      printf("before update efl item[%p], index [%d]\n",id->item,elm_gengrid_item_index_get(it));
      elm_gengrid_item_update(it);
      printf("after update efl item[%p], index [%d]\n",id->item,elm_gengrid_item_index_get(it));
```

2. execute elementary_test and go to gengrid2 test.

3. add 3 items and select 2nd item then add new item by insert after.

4. you can see index is changed wrong value after item_update executed.

after add fallback code in item_update,
index is returned same value even after item_update execusion.

Reviewers: raster, Hermet, seoz, jaehwan

Subscribers: anand.km, eagleeye, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2616

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Hosang Kim da81eff897 elm_list & elm_genlist & elm_gengrid: fix the behavior of using the mouse.
Summary:
Elementary widgets have different behavior of using the mouse, they need to be unified.
- swipe : without checking on hold, just checking drag state.
- longpress : after longpress, _item_unhighlight(), _item_unselect() are called.
- select : when the mouse pointer leaves item area, _item_unhighlight(), _item_unselect() are called.

First, apply this commit https://phab.enlightenment.org/D2550

Test Plan: elementary_test -> list

Reviewers: seoz, Hermet, CHAN, woohyun, kimcinoo, jaehwan, SanghyeonLee, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2622

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Hosang Kim 126fb18ca9 gengrid: add unhighlight callback
Summary:
item_unselect check it->select status, so when item highlighted but not selected,
item highlight is remaining even after unselect_cb is called.

And item_select and item_highlight are separated, but item_unselect and item_unhighlight are mixed.
so divide them, too.

This patch will solve upon problem.

Reviewers: seoz, woohyun, Hermet, CHAN, raster, SanghyeonLee, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2653

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
SangHyeon Lee d700a9b86f gengrid: add item cache in gengrid for efficient realize/unrealize operation.
Summary:
gengrid realize/unrealize items each smart calculation if their posiiton is updated.
This concept will be occurred useless view object creation and deletion.
So instead of delete items in unrealize function, push item cache into cache list,
and pop item cache from cache list in realize function to reuse item view object
more efficiently.
the cache concept is already implemented in genlist widget and this patch is improved
item cache of genlist cache.
@feature

```
NOTICE: This patch is written under the D2561 Patch which add elm_gengrid_item_fields_update.
        So it must submitted after D2561.
```

Test Plan:
I've tested below three cases,
   1. tested ith this patch in elementary_test and checked all gengrid features are working properly.
   2. tested with changing CACHE_MAX to another value which is set 40 in default
       and checked all gengrid features are working properly.
   3. tested with set it->item->nocache true, and checked cache is never generated
       and checked all gengrid features are working properly.

Reviewers: raster, Hermet, seoz, jaehwan, singh.amitesh

Subscribers: eagleeye, singh.amitesh, Jaehyun

Differential Revision: https://phab.enlightenment.org/D2641

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
godly.talias 7ee4a5b8b1 elm_spinner: add feature in spinner to change values while dragging relative to the speed of dragging
Summary:
Currently the values in spinner change while dragging only based on
the amount of pixels dragged, this patch will enable Spinner to change value
based on the speed of dragging so that it will be more user friendly. This
will help users to alter drag values by big amounts if dragged in a good speed.

Test Plan: test_spinner.c in elementary_test

Reviewers: raster, prince.dubey, shilpasingh, cedric

Reviewed By: cedric

Subscribers: poornima.srinivasan, rajeshps, govi

Differential Revision: https://phab.enlightenment.org/D2659

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Amitesh Singh f10b4eb8d0 genlist/list/win: Revert focus highlight animation when looping is enable
Summary:
  -
  Revert "focus: Added internal widget APIs of focus highlight object of elm window."

    This reverts commit 3f98d71830163a154762f2d16301d720c781b7c5.

  - Revert "List: Focus highlight when loop is enable"
This reverts commit 57ad32a900e71f83441bf7246671b8f16a8ec909.

  - Revert "genlist: Focus highlight when loop is enable"

    This reverts commit 91282a22cba66ee5e7799018d3abe8957fb1b1fa.

Reviewers: seoz, raster, jpeg, SanghyeonLee

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D2725

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Youngbok Shin d79b4c0055 calendar: show days of prev/next month.
Summary:
Show days of previous and next month on the blank area of calendar.
@feature

Test Plan: See calendar widget on elementary_test.

Reviewers: raster, seoz, woohyun, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2728

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Vitalii Vorobiov 32d9ccc76a elm_colorselector: pixel-picker accuracy fix
Summary:
Looking at the base array of pixels,
the real middle of taken picture
is actually number 8 from array of 17 pixels (which starts from 0).

@fix

Reviewers: reutskiy.v.v, raster, NikaWhite, cedric

Reviewed By: NikaWhite, cedric

Differential Revision: https://phab.enlightenment.org/D2749

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Vaibhav Gupta f8d1c99e6e focus: fix typo in API Documentation.
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2767

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Daniel Kolesa 3904cc7175 elm: constify Eolian methods correctly because of recent Eolian changes 2015-06-25 12:21:00 +01:00
Thiep Ha 08509f56a2 cnp: remove loss callback when object is deleted
Summary:
SEG_FAULT happens when the object which has selection is deleted,
and new selection is done at another object.
Reason: loss_cb is not removed when the object which has selection is deleted.
When new selection is set for new object, the loss_cb is called for deleted
object. As result, SEG_FAULT happens.

Test Plan:
Run elementary test, open Entry, do selection,
close Entry window, open Entry one more time, do selection.

Reviewers: JackDanielZ

Differential Revision: https://phab.enlightenment.org/D2763
2015-06-25 08:54:36 +03:00
Jaehwan Kim 1e2562700b config: read flush.cfg when elm_config_all_flush is called.
When elm_config_all_flush is called, another processes should get
the config of current process instead of saved base.cfg.
so current process save the config to flush.cfg and another processes
read it when it is changed.

@fix
2015-06-25 14:10:24 +09:00
Umesh Tanwar fd2fca2f9b Scroller : Remove white-spaces in header file.
Summary: Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: cedric, raster, seoz, Hermet

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2741
2015-06-25 13:47:17 +09:00
Umesh Tanwar 5ee916b409 Scroller: Remove white-spaces in scroller.edc file
Summary: Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: cedric, raster, seoz

Differential Revision: https://phab.enlightenment.org/D2744
2015-06-25 13:44:46 +09:00
Umesh Tanwar ddbea82857 Genlist: Test case added in Genlist Focus example.
Summary:
Added test case to enable/disable mouse wheel. Mouse Wheel is
used to scroll the genlist up/down.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Test Plan: elementary_test -> Genlist Focus -> Wheel Disabled

Reviewers: raster, Hermet, cedric

Subscribers: sachin.dev, singh.amitesh, SanghyeonLee, eagleeye

Differential Revision: https://phab.enlightenment.org/D2757
2015-06-25 13:24:21 +09:00
Daniel Zaoui 50fa3bfe7c X11/CnP: remove X11 invocations from elm_entry
Code specific to X11 should not be part of elm_entry and can be easily
replaced with elm_cnp APIs.

@fix T2183
2015-06-24 08:26:38 +03:00
Daniel Zaoui 185e88db91 CnP: improve loss callback
- Reset loss cb after invocation as it is no more needed
- When selection is set, previous owner loss cb is invoked only
if the new owner and the previous one are different.
2015-06-24 08:26:38 +03:00
Jaehwan Kim 434a133255 config: fix the flush file path.
@fix
2015-06-23 22:58:30 +09:00
Daniel Zaoui 5eeb1f5622 DnD: remove text/uri handling
This type is not a standard type and can be handled as a text/uri-list
of one uri.

@fix
2015-06-23 16:05:47 +03:00
Daniel Zaoui 422e28129e DnD: remove from elm_cnp code specific to elm_entry
The tag insertion has to be done only from elm_entry callback. elm_cnp
is not supposed to know what will be done with the data.
2015-06-23 15:57:02 +03:00
Daniel Zaoui dff887b560 Tests/DnD: fix uri parsing
When no \n is present at the end of the uris list, the function doesn't
return the uri.
2015-06-23 15:55:31 +03:00
woochan lee 4033c8f587 widget: Add a case that elm_layout is an item view object.
Summary:
The internal API "_elm_widget_item_highlight_in_theme()" look like for list item highlight.
but it can use in another widget which has item view as elm_layout.
In that case, ERR log will be printed.

Reviewers: singh.amitesh, Hermet, woohyun

Differential Revision: https://phab.enlightenment.org/D2736
2015-06-23 08:30:22 +09:00
ChunEon Park f641925d6e list: --printf 2015-06-22 21:41:38 +09:00
Cedric BAIL 356220f6d7 examples: fix changes in Evas.Canvas3D namespace. 2015-06-22 12:36:58 +02:00
Amitesh Singh 5583a93c6d elm_genlist: code refractoring of _item_process
Summary:
When item_process is success, then we want to call _item_process_post.
Old code was confusing before.

Reviewers: raster, Hermet, SanghyeonLee

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2739

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-22 12:36:57 +02:00