Commit Graph

10165 Commits

Author SHA1 Message Date
Daniel Juyung Seo bbb70363f1 example: added ellipsis: -1 to text parts which have min 1. 2014-05-17 20:22:00 +09:00
Daniel Juyung Seo 4f056651ac focus: apply the focus API change during the development phase.
This fixes the commit 422b8717 which was pushed to master without
considering the API change.
2014-05-17 20:20:52 +09:00
Daniel Juyung Seo c3acc8d0db Revert "Revert "focus: Fixed the animation issue related to bring_in.""
This reverts commit e4ae67535672d04eec9eb368b71c72932cc0f757.

This will be fixed in a next commit.
2014-05-17 20:20:07 +09:00
Carsten Haitzler e7563a179c cursor test - make button expand to test window edges with cursor 2014-05-16 19:04:37 +09:00
Carsten Haitzler 7a3fa2425a fix visiblity of entry cursor when selections exist
this fixes T1229 - the other part about cursor visibility. @fix
2014-05-15 17:43:56 +09:00
SangHyeon Lee c565ec1cde [Gengrid] Fix gengrid item position update bug, when item is reordered or deleted.
Summary:
When gengrid item is reordered or deleted, gengrid didn't update item's position.
         This Patch update item's position when item is placed. if middle of item deleted,
         every item after the deleted one, will re-postion on _item_place function, so they
         will be update there position well.

Test Plan:
modify test_gengrid grid_sel fuction to print there position. so when item selected,
           they print there position and it works fine both horizontal and vertical.

Reviewers: bluezery, seoz, raster

Reviewed By: raster

CC: Hermet, chinmaya061

Differential Revision: https://phab.enlightenment.org/D855
2014-05-15 12:13:23 +09:00
Amitesh Singh e6748f033a hoversel: Icon parent set to button.
Summary: This is an optimization over parent set to hoversel object.

Reviewers: seoz, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D853
2014-05-15 12:09:33 +09:00
zmike 4d416adfcf fix mouse events on elm frame parts 2014-05-14 16:03:33 -04:00
zmike b4f799e0c4 fix horizontal theme text sizing after @jpeg vertical fixes 2014-05-14 14:30:09 -04:00
Amitesh Singh d7e56fb837 hoversel: item-loop should happen on UP/DOWN Key in case of vertical hoversel and on LEFT/RIGHT Key in case of horizontal hoversel.
Summary:
Earlier focus was moving to top item from bottom item on LEFT key and to bottom item on RIGHT Key
in case of vertical hoversel.
@fix

Test Plan: elementary_test -to "Hoversel Focus"

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz, chinmaya061

Differential Revision: https://phab.enlightenment.org/D858
2014-05-14 21:50:31 +09:00
Youngbok Shin 8730b8d990 entry: Enable context menu with mosue down even if the entry is not editable in some case.
Summary:
Even if a entry is not editable, user can select text in the entry.
When the entry has selection, we have to support "copy" option.
@fix

Test Plan:
Precondition: Apply D852 patch for fixing a bug in elementary_test
1. elementary_test -to entry7
2. Select some text in the non-editable entry.
3. Press mouse right button.

Note: You can test it in Desktop profile.

Reviewers: tasn, woohyun, seoz

Differential Revision: https://phab.enlightenment.org/D848
2014-05-14 13:26:48 +01:00
nirajkr 495fe1462c gengrid : Fix the issue to skip disable item in item select
Summary:
Fix to skip the item which is disabled and select the next item to the
         disabled item
         @fix

Reviewers: seoz, raster

CC: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D700
2014-05-14 20:50:11 +09:00
Carsten Haitzler 933e88f782 update po files 2014-05-14 16:55:12 +09:00
Jean-Philippe Andre 61a6a8d6d4 edc: Fix multibuttonentry alignments
Following the edc padding behaviour change
2014-05-14 15:29:02 +09:00
Jean-Philippe Andre 00d6ccf730 edc: Also fix frame and button offsets
Since SHADOW adds one pixel padding, the whole object size
was calculated with one extra pixel. Let's add it back
to keep the overall visual balance of buttons.

A few other widgets might visually change after the edje
padding fix:

- Check (looks better)
- Naviframe (smaller height)
- E date widget
- ...

But I did not see anything "weird" that needs fixing.
2014-05-14 15:04:37 +09:00
Jean-Philippe Andre 7371dbe60b edc: Fix E titlebars after text padding changes
See EFL 5bf1f0c9187525cf40782b26d7fa49d2676f91bb:

  edje_calc: Don't add padding twice to text objects

  Text objects declared in Edje will see their padding added twice,
  as the Evas_Object_Text itself contains the padding already.

  This WILL break some EDC files. It's a bug nonetheless.
2014-05-14 15:04:05 +09:00
Jaehyun Cho 7e6799db44 elm_map: Fix to show and bring in a correct region after zooming
Summary:
Show and bring in a region which has the given latitude and longitude after zooming
@fix

Reviewers: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D851
2014-05-14 12:27:27 +09:00
Lukasz Stanislawski e62b07f779 layout: remove sizing_eval call when layout is already destructed. @fix
Summary:
Layout's sub_object_del function calls sizing_eval even if layout's smart_del
function has already been called (Due to widget_smart_del impl).
This patch adds 'destructed_is' flag to Elm_Layout_Smart_Data and prevents unneeded
sizing_eval calls when object is already destructed.
Patch also fixes SIGSEGV in layout derived entry widget caused by calling
sizing_eval after entry_smart_del destructor.

Added entry test to avoid regression for SIGSEGV bug.

Test Plan: run tests/elm_test_entry

Reviewers: raster, seoz, tasn, cedric

Differential Revision: https://phab.enlightenment.org/D823
2014-05-14 12:02:10 +09:00
Mike Blumenkrantz 48a077b62e more ellipsis fixes 2014-05-13 16:14:29 -04:00
Mike Blumenkrantz 859b741424 add ellipsis to elm theme where necessary 2014-05-13 15:45:30 -04:00
Youngbok Shin be3e33171f entry: Fix a test case for editable, non-editable entry.
Summary:
elm_entry_context_menu_disabled_set API is called to wrong entry.
It should be called to "en2" that added for testing the API.
@fix

Test Plan: 1. elementary -to entry7

Reviewers: woohyun, seoz, tasn

Reviewed By: seoz

CC: herdsman

Differential Revision: https://phab.enlightenment.org/D852
2014-05-13 15:50:05 +09:00
Carsten Haitzler 52dacc461f Revert "focus: Fixed the animation issue related to bring_in."
This reverts commit 422b8717660853ff099359dc3cd926e56f1b1665.
2014-05-13 11:32:00 +09:00
Anand 94bc3ce471 focus: Fixed the animation issue related to bring_in.
Summary:
Calculating the coordinate of the object to retain the focus with in view port.
Earlier focus was moving out of view port.

Test Plan:
elementary_test-> "Focus 3". Enable the Focus Auto scroll bring in and use
keys to move focused item.

Reviewers: raster, seoz, singh.amitesh, nirajkr

Differential Revision: https://phab.enlightenment.org/D822
2014-05-13 11:24:20 +09:00
Stefan Schmidt 5f54c3d85a release: v1.10.0 beta2 2014-05-12 14:55:44 +02:00
Jean-Philippe Andre e3b0582c8d test_dnd: Fix build for windows
There is no strndup (with our compilation flags).
2014-05-12 19:34:07 +09:00
Jean-Philippe Andre d94daa2a63 elm_map: Fix compilation warning/error
ELM_WIDGET_DATA_GET_OR_RETURN can take a VA_ARGS if the function
should return something.
2014-05-12 15:44:18 +09:00
Jean-Philippe Andre 4d38043fd3 Compilation: Align EDJ, EOLIAN and EPB to CC 2014-05-12 15:09:52 +09:00
Jaehyun Cho d0c95fe3af elm_map: Fix to support customized style for elm_map
Summary: Load a map theme with a style to support customized style

@fix

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D845
2014-05-12 13:50:38 +09:00
Mike Blumenkrantz d69b8b09dd okay, I'll be a nice guy and leave music-control theme compat 2014-05-11 14:22:06 -04:00
Mike Blumenkrantz 1822b84bc7 fix music-control theme namespacing 2014-05-11 14:05:30 -04:00
Mike Blumenkrantz 280401ce57 rename pager16 theme groups pager2 -> pager16 2014-05-11 13:57:37 -04:00
Mike Blumenkrantz 58ae5e07d0 remove deskmirror theme ifdef 2014-05-11 13:48:17 -04:00
Daniel Juyung Seo a64e8eed91 focus: update the focus in_theme status on each item's focus set.
As widget and widget item can have different in_theme value (since
 30cada369), we need to update in_theme value whenever the widget or
widget item get the focus.

Applied this logic to genlist, gengrid, toolbar first.
List focus is not working well at the moment.

This fixes small focus highlight on the left top corner of genlist
when the genlist scroller is clicked before the genlist is focused.

Special thanks to zmike for the report.
2014-05-12 01:25:43 +09:00
Davide Andreoli fc1ad91dc5 set expected ellipsis value for hoversel 2014-05-11 16:52:35 +02:00
Daniel Juyung Seo d6a8cea94c list: Use convenient macro ELM_RECTS_INCLUDE. 2014-05-11 23:06:59 +09:00
Daniel Juyung Seo 45e8b4c82e focus: Change new API names related to focus auto scrolling.
elm_config_focus_auto_scroll_bring_in_enabled_get/set()
 ->
elm_config_focus_autoscroll_mode_get/set()

The main reason is that bring_in_enabled_get/set() APIs are too restricted
and thus not flexible. I got more requirements for the focus autoscrolling
such as none, wholely visible not just bring_in and show. So it is correct
to add mode_set/get() APIs for the focus auto scrolling.

Thanks god, we've found this before the release :)

@feature
2014-05-11 22:46:16 +09:00
Daniel Juyung Seo 4f8614e866 Revert "remove all scrolling changes for focused items."
This reverts commit 377179bdaf84aa1a86621cdfa64ed43613ab9d45.

The main claim of https://phab.enlightenment.org/T1205 was fixed in
the previous commit 30cada369. This code will be modifed again in the
next commit due to the api change during development life cycle.

Note: do not blindly revert this commit if you have any problem with
widget item focus. This commit is not related to any fundamental cause
of the issues. If you have a problem, please contact me first.

seojuyung2@gmail.com or SeoZ on IRC.

Thanks.
2014-05-11 22:42:15 +09:00
Daniel Juyung Seo dfead75366 gengrid/genlist/list/toolbar: Do not set the focus to the item on widget's first focus.
This was introduced during 1.10 development phase but this changed the
default focus behavior and got a lot of complaints. (especially from
discomfitor)

So I would like to comment this out now and make it optional on 1.11
by keeping the default behavior.
2014-05-11 21:21:51 +09:00
Daniel Juyung Seo 5407141ac6 list: added comments about an unused function.
Fixing this issue is not trivial and will bring another issues like crashing.
So it is better to fix this in a development phase by refactoring list.

To fix this issue, the following are needed:
1. it->walking concept should be adopted instead of using just sd->walking.
   sd->walking was introduced in beb418d6
2. elm_widget_item_del() should be called instead of the combination of
   _elm_list_item_free() + elm_widget_item_free()
   This was introduced in f343011d
2014-05-10 23:44:28 +09:00
Daniel Juyung Seo 254798b47e list: initialize some internal variables on item free not item del pre.
This fixes variable initialize problems related to focus. This can be
reproduced when you enable focus highlight/animation and reuse
elm_list by clearing it.

This problem occurred because list item del pre is never been called.
This bug will be addressed in a next commit.
2014-05-10 23:44:28 +09:00
Daniel Juyung Seo 8ffbf246f4 elm: fixed trivial formattings.
Just found them while reading codes.
2014-05-10 23:44:27 +09:00
Daniel Juyung Seo af92b3e6f9 elm: call elm_widget_item_del instead of elm_object_item_del inside elementary.
This reduces only one more function call but this makes the elm code
more consistent between widgets.
2014-05-10 23:44:27 +09:00
Carsten Haitzler 0690621d86 theme - fix e list item selecton and label 2014-05-10 21:50:40 +09:00
Cedric Bail f9cf4a780d autotools: remove dead and erroneous code. 2014-05-10 12:39:03 +02:00
Daniel Juyung Seo 44a67054de elm: fixed wrong internal variable name.
Unified the local variable name to ret if the ret is a return value of
another content_unset calls.
- Evas_Object *int_ret --> Evas_Object *ret
- Evas_Object *int_content --> Evas_Object *ret
- Evas_Object *content --> Evas_Object *ret
2014-05-10 14:13:57 +09:00
Daniel Juyung Seo 774e32be36 test_naviframe: added a test for event freeze checking. 2014-05-10 14:01:33 +09:00
Mike Blumenkrantz 35d3cc7fba clock theme forces visibility on date text
fix T490
2014-05-10 00:13:05 -04:00
Mike Blumenkrantz 04f0313c26 genlist theme uses scale; 2014-05-09 16:00:16 -04:00
Mike Blumenkrantz 9dafa908c1 genlist theme no longer uses desc.state anywhere 2014-05-09 16:00:12 -04:00
Daniel Juyung Seo 45f7f881e8 gengrid: removed build warning. 2014-05-10 01:12:20 +09:00