Commit Graph

10367 Commits

Author SHA1 Message Date
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
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
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
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
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
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 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
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 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
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