Commit Graph

11933 Commits

Author SHA1 Message Date
Chris Michael fd28ad3824 elementary: Fix calls to ecore_wl_window_update_location
Summary: This fixes a build break from previous commit

NB: Note to self: COMPILE FIRST !!

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:32:37 -04:00
Chris Michael 8631845083 elementary: Call ecore_wl_window_update_location function when opaque region gets updated
Summary: This fixes T2624 where ecore_wl_window_update_location was
being called inside the Ecore_Evas too often. It is now only called
from the Elementary window whenever we update the opaque region. This
should help to fix the resize issue that we are seeing in wl.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:26:39 -04:00
Amitesh Singh bff68b156a hoversel: use elm_object_focus_set to set focus on subobjects.
We should steal the focus while setting focus to subobjects from parent.
This issue is reproducable in case of setting focus on one of items of hoversel
on expanded cb of hoversel.

@fix
2015-07-30 16:10:47 +05:30
Subodh Kumar 85e55ed89d elm: simulate the clicked event over the object only.
Summary:
Two different behaviour are observed with clicked event.
1. When scroller is not present:
   a. Mouse down over object,
   b. mouse move outside the object
   c. mouse up, clicked happens
2. When scroller is  present:
   a. Mouse down over object,
   b. mouse move outside the object
   c. mouse up, clicked NOT happens

So clicked callback should happen over the object only i.e when mouse move out of the objcet clicked should be ignored, and behaviour will be consistent

@fix

Test Plan: NA

Reviewers: shilpasingh, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-29 21:18:20 +02:00
Cedric BAIL 9d40fa4cb8 elm_radio: remove implementation of elm_widget_disable as it doesn't do anything else than calling parent virtual function. 2015-07-29 20:23:37 +02:00
Sung-Taek Hong 5dc84fb1c7 elm_radio: enable state change when radio is disabled
Summary:
Currently, radio is set EINA_FALSE when radio is disabled.
This causes unexpected behavior when the radio is selected and
get disabled. Using elm_radio_value_get() API will return
the value of disabled radio. This is not consistent with setting
EINA_FALSE when radio is disabled. Thus, disabled radio should
also have selected and unselected states.

Reviewers: woohyun, smohanty, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-29 20:20:23 +02:00
Daniel Kolesa 4674aa3a7c label: convert to int first (avoid compiler warning) 2015-07-29 15:33:33 +01:00
Daniel Kolesa df1b9b8455 interface_scrollable: convert to int before using abs first
@fix
2015-07-29 15:29:53 +01:00
Daniel Kolesa a91b54644b interface_scrollable: don't use integer abs on floating point
@fix
2015-07-29 15:28:08 +01:00
Daniel Kolesa ba983afef8 cnp, entry: misc warning fixes 2015-07-29 15:26:14 +01:00
Daniel Kolesa bcb1f300a6 elm_atspi_bridge: fix warnings 2015-07-29 15:22:13 +01:00
Vivek Ellur 0738cade71 elm_frame: Changed eo docs of elm_frame to new format
Summary:
Changed docsw of elm_frame.eo according to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2885
2015-07-29 14:44:12 +01:00
Vivek Ellur 361381f4a0 elm_flipselector: convert docs of elm_flipselector.eo to new format
Summary:
Changed docs of elm_flipselector.eo and elm_flipselector_item.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/D2884
2015-07-29 14:44:07 +01:00
Vivek Ellur bb39178875 elm_fileselector: Converted eo docs of fileselector_entry to new format
Summary:
Converted docs of elm_fileselector_entry.eo to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2882
2015-07-29 14:44:00 +01:00
Jean-Philippe Andre e7bf07bd5d elm_external: shutdown elm after del callback
This fixes a crash in edje_inspector as:
- delete callback is called on the object
 --> this unloaded elm
- destructor is called on the object
 --> this did some elm stuff, in particular read the config
     from _elm_config (now NULL).

Instead, shutdown elm after del, during free.

Also reset hash pointer to NULL after free.
2015-07-29 22:23:19 +09:00
Jean-Philippe Andre 29bb2e1d60 color_class: Fix ERR due to uninitialized eldbus
This happens in edje_inspector for instance, which did not
initialize eldbus, even though it's trying to use it.
2015-07-29 22:23:19 +09:00
woochan lee 4890319e3e multibuttonentry: internal label object status, box pack, unpack logic clean up.
Summary:
Even user sets empty string here for text, label still packed in box with min size(finger size).
label_set internal logic is not clear before.
ex: object min set, resize check the string length then sending signal, min set again.
so i deleted the signal emit code here, we can handle label show, hide status in code and it's more clear.
Besides "sd->label" is always true all of the case. we need to check whether it's packed or not.

The label will be added to parent's sub object when it's packed into box.
label_set as empty string in adding time also meaningless.

@fix

Test Plan:
Run multibuttonentry sample.
Set a text somthing for it then set an empty string here.

Reviewers: Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
Cedric BAIL fac449d7f9 colorselector: remove EINA_UNUSED that where clearly used ! 2015-07-28 23:58:23 +02:00
Vitalii Vorobiov f91bca734c Colorselector: fix wrong object for callback call function
Summary:
When spinner change it's value it should call callbacks for
colorselector but not for spinner.

@fix

Reviewers: raster, reutskiy.v.v, cedric

Reviewed By: reutskiy.v.v, cedric

Subscribers: NikaWhite

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
woochan lee ed154ace3b multibuttonentry: update end text(item count) even mbe shrinked.
Summary:
In some MBE use case, Application can append item using only item_append API.
in that case, the end text(item count) doesn't update properly.
So, i add a code for fix it.

@fix

Test Plan:
1. Add a button for call "elm_multibuttonentry_item_append()" in test_multibbutonentry.c
2. Make MBE shrink mode.
3. Click button to append item to shrinked MBE.
4. Check the MBE end text state.

Reviewers: Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
woochan lee 7c8f7e057a multibuttonentry: fix bug with uneditable MBE use case.
Summary:
If there is a uneditable MBE, the MBE doesn't have to get a entry inside of the box.
It breaks MBE box layout, resize logic.

And check the box focus, entry visible is not enough to cover MBE is uneditable case.
If MBE is uneditable, box_resize callback called when item added. in this case,
we need to check what view type user want. if its not shrink view here, do not make
MBE to shrink mode.

@fix

Test Plan: Run elementary_test -> execute multibuttonentry  sample with editable set as false.

Reviewers: Hermet, seoz, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
Prince Kumar Dubey 261a5966ff entry: few times the hit_rect is not clipped properly during genlist scrolling, with entry as content.
Summary: It has been observed that while scrolling of genlist with entry, clipping is not happening and "hit_rect" comes over navi item title. e.g. During theme change such scenario comes.

@fix

Test Plan: Scenario not in elementary test. Entry as content of genlist item. Same genlist should be the content of naviframe item. In this scenario genlist height must be grater than viewport sie so scrolling possible.

Reviewers: cedric, raster, Hermet, woohyun

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
j_yong.hwang 1be2af1529 elm_colorselector: change operation order to limit float operation imprecision.
Summary:
The numerical formula below is calculated with the double type.
-> h_pad / edje_object_base_scale_get(wd->resize_obj) * elm_widget_scale_get(obj) * elm_config_scale_get()

But if number of significant figure of the return value goes over 15, the epsilon error will happen.
Because of that, it is better to divide to do later.

Reviewers: woohyun, raster, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
woochan lee 15ede0ce70 multibuttonentry: delete clicked signal preventing code when mbe shrinked.
Summary:
We don't have event block area in mbe.
Item clicked callback is not called when user clicked the item in mbe shrinked state.
However, item press effect will be shown.

@fix

Test Plan:
Delete the line always calling expanded set API in MBE clicked callback.
Execute MBE sample in elementary_test.
Check the item got a click event but not call the clicked callback.

Reviewers: Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
Jee-Yong Um cf263abd6f elm_flipselector: remove redundant header file
Summary:
After applying eo to elm_flipselector_item,
APIs in elm_flipselector_common.h are generated by eolian.
elm_flipselector_common.h is no more necessary.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
Jee-Yong Um 06b02576e8 elm_calendar: remove duplicated referece
Summary:
elm_calendar_weekdays_names_set() API is generated by eolian,
but its prototype is defined in both elm_calendar_common.h and
elm_calendar.eo.legacy.h.
Remove duplicated reference from elm_calendar_common.h

Reviewers: Hermet

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
Derek Foreman 5022b2fe90 win: correct setting of wayland opaque region
Summary: Opaque region calculation was incorrect.

Reviewers: zmike, devilhorns

Differential Revision: https://phab.enlightenment.org/D2878
2015-07-28 15:39:46 -04:00
Cedric BAIL 410e501aa2 calendar: fix use of strftime.
strftime is quite a bad POSIX API. You won't know the size it needs to put the strings in
until you did give it enough byte and it could also fail without a clear way to detect it.
So this patch work around that and introduce a currently internal helper that will be moved
later to Eina.

This patch has been triggered by the issue reported and the attempt fix from D2877.
2015-07-28 20:10:02 +02:00
Daniel Juyung Seo 062e33a99f release: Update NEWS and bump version for 1.15.0-beta3 release 2015-07-28 01:33:31 +09:00
Vivek Ellur b88b5deda4 elm_diskselector: convert eo docs of diskselector to new format
Summary:
Converted docs of elm_diskselector.eo and elm_diskselector_item.eo to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2864
2015-07-27 10:18:43 +01:00
Vivek Ellur d22ab0b44b elm_ctxpopup: convert eo docs to new format
Summary:
Converted docs of elm_ctxpopup.eo and elm_ctxpopup_item.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/D2862
2015-07-27 10:18:38 +01:00
Carsten Haitzler c0173d8336 elm config save - work around compiler bug that loses local var value
yes. compiler bug. believe it or not.
2015-07-27 14:03:33 +09:00
Hosang Kim 8bcd1906b0 elm_gengrid: fix missing variable initialization.
Summary:
- item's still_in variable is not initialized.

@fix

Reviewers: seoz, singh.amitesh, raster, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D2871
2015-07-27 13:59:29 +09:00
WooHyun Jung 183ee05663 elm_focus: focus_resion_show does not need to be called for all parents 2015-07-25 11:31:53 +09:00
Stefan Schmidt 31989c5b88 elf_fileselector: Avoid memory leak in error path
If filter_add fails here we would go out of scope and leak custom_filter. Free
it instead.

CID 1308261
2015-07-24 18:35:22 +02:00
Vivek Ellur ea4eb4cbb1 elm_dayselector: converted eo docs of dayselector to new format
Summary:
Converted docs of elm_dayselector.eo to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2863
2015-07-24 13:43:36 +01:00
Vincent Torri 425c3c2ab6 Elm_Prefs: use Evil API
The current test is not sufficient to check if the path is relative or
not. Use Evil API instead

@fix
2015-07-24 11:58:17 +01:00
Hosang Kim 0b64bda298 elm_gengrid: Fix condition error.
Summary:
I missed "!" in if condition and missed it->unhighlighted_cb().

@fix

Reviewers: singh.amitesh, raster, cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D2861
2015-07-24 14:40:01 +09:00
Chris Michael fc652be126 elementary: Fix external variable declaration to match const char
@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-23 09:47:51 -04:00
Chris Michael 6549dbad9e elementary: Fix compiler warning disgarding const qualifier
Summary: eina_environment_tmp_get returns a const char string, so we
should declare the variable to match

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-23 09:44:06 -04:00
Vincent Torri 326c7eee33 Elm_Config: fix compilation when getuid() or geteuid() are not available
@fix
2015-07-23 12:33:35 +01:00
Vincent Torri a1662717c5 Elm_Config: add getpwent support, fix compilation on Windows
@fix
2015-07-23 12:33:35 +01:00
Vincent Torri e62ded189d Elm_Config: remove Evil functions as home is anyway set on Windows 2015-07-23 12:31:15 +01:00
Amitesh Singh 64ecef597d test: elm_prefs_cc - use eina_environment_tmp_get() instead of getenv("TMPDIR") 2015-07-22 22:52:39 +05:30
Stefan Schmidt 5a7d6114aa NEWS: Remove duplicated entries and the end 2015-07-22 16:03:23 +02:00
Vincent Torri 6cb5842268 Fileselector: Use eina_environment_home_get() instead of getenv("HOME") 2015-07-22 14:24:36 +01:00
Vivek Ellur 413f4b43ab elm_container: Updated eo docs for elm_container
Summary:
Updated docs of elm_container.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/D2852
2015-07-22 10:21:24 +01:00
Vivek Ellur 8d9a207bd2 elm_clock: convert elm_clock eo docs to new format
Summary:
Converted docs of elm_clock.eo to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2849
2015-07-22 10:20:35 +01:00
Chris Michael aef335cf4b elementary: Remove debug comment
Summary: No real functional changes, just removing a debug printout

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-21 10:24:57 -04:00
Vivek Ellur 466477f291 elm_color_item: Convert eo docs to new format
Summary:
Updated docs for elm_color_item.eo and elm_colorselector.eo files

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

Reviewers: q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2850
2015-07-21 15:01:46 +01:00
Chris Michael f897837e55 elementary: Fix T2573: Extra blank line in Genlist Dnd Test
Summary: This fixes ticket T2573 where an extra new line was being
added after dropping an item in the Genlist DnD tests. There's really
no need to be appending a '\n' on each item here as that ends up
adding an extra blank item to the drop.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-21 09:43:53 -04:00
Vivek Ellur 76e6fa79d5 elm_calendar: Convert eo docs to new format
Summary:
Changed the docs of elm_calendar.eo to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2846
2015-07-21 11:53:55 +01:00
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