Commit Graph

10104 Commits

Author SHA1 Message Date
zmike 54eabd94e2 Revert "focus: Removed unused parameter from an internal focus function."
This reverts commit 5832b692aa5f68a2924bd7886390d489eb13aefb.

broke build
2014-05-07 01:08:04 -04:00
zmike be636e58be remove all scrolling changes for focused items.
this.is.BROOOOOOOOOOOOOOOKEEEEEEEEEEEEEEEEEEENNNNNNNNNNNNNNNNNNNNNNNNNNNNN.

SERIOUSLY.

you cannot go scrolling all over the place in every widget that has a scroller just because the widget gets focus. what user wants that? no user anywhere, under any circumstances, ever, in all of history.

if you dare to put this back in, I will continue to remove it for the rest of eternity until it never, ever scrolls in any unwanted case. the focused item doesn't have to always be in the viewport, and should never be moved into the viewport [[[[[[[ except to maintain an already-existing position inside the viewport ]]]]]]]

too much of my time wasted on this stupid "feature" which should have been MUCH more thoroughly tested and reviewed before it was merged.

T1205 STILL NOT FIXED
2014-05-07 01:06:30 -04:00
Daniel Juyung Seo d0380e3342 focus: Removed unused parameter from an internal focus function.
is_next parameter is not used for
elm_widget_focus_highlight_geometry_get() function.
But this parameter was not cleaned up in the commit 5320cca.
2014-05-07 00:05:07 +09:00
Stefan Schmidt cab4bb821d release: v1.10.0 beta1 2014-05-05 16:25:04 +02:00
Daniel Juyung Seo fcd1a729ed theme: removed unnecessary null check.
Null check is already done in the previous line so do not check null
again.
2014-05-04 06:18:58 +09:00
Ryuan Choi 1c1cc3edd5 Fix the leak when closed alert/prompt/confirm since 1be3950fd
Spotted by seoz.
2014-05-03 19:36:54 +09:00
zmike 1baf1d5898 naviframe transitions are now uniform
this looked less than sleek with the overlapping contents of the mismatched transition modes
2014-05-02 18:34:23 -04:00
Daniel Juyung Seo a44e4e5411 photocam: added @c to EINA_TRUE/FALSE doxygen. 2014-05-03 03:51:44 +09:00
zmike 50c3605a02 spinner theme text ellipsis fix 2014-05-02 12:04:22 -04:00
Carsten Haitzler 1f13a9a307 adjust po file line nums 2014-05-02 21:24:26 +09:00
Carsten Haitzler 62c7dd4c23 fix new ellipsising of elm theme elements. 2014-05-02 18:44:17 +09:00
Mike Blumenkrantz a5b1e9eda1 genlist edc part types are now 100% defined using 1.10 edc 2014-05-01 17:23:13 -04:00
Daniel Juyung Seo 3b20add9a6 focus: Fixed focus_region_show to consider bring_in_enable configuration.
focus_auto_scroll_bring_in_enable feature is new in 1.10, this would
not be backported.
2014-05-01 22:27:05 +09:00
Daniel Juyung Seo cfb42e0502 test_focus: initialize focus related check states correctly.
Fetch the current focus config status.
2014-05-01 21:54:24 +09:00
Daniel Juyung Seo fa2a17a1fb config: internal code refactoring for the readability.
Gathers focus related configurations.
2014-05-01 21:34:55 +09:00
Daniel Juyung Seo be30d78165 config: removed unnecessary variable initialize.
It is overwritten in the following line.
2014-05-01 21:31:14 +09:00
Daniel Juyung Seo e9644d6882 elm_config: added focus menu to elementary_config.
This helps focus debugging by changing the global configuration.
2014-05-01 21:30:14 +09:00
Daniel Juyung Seo 5769f3954c config: apply CHECK_ADD macro to elementary_config. 2014-05-01 18:51:24 +09:00
Daniel Juyung Seo 00a0457aad config: introduced a global CHECK_ADD macro for elementary config. 2014-05-01 18:38:02 +09:00
Amitesh Singh 24a4e9e67c gengrid: frame variable should be used for position changes.
Summary:
Earlier pos was getting used for the item coordinates. To support other Ecore_Pos_Map variations, frame variable should be used.
@fix

Test Plan:
elementary_test-> "Gengrid Focus". Enable reorder mode and use keys to move
the focused item.

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D811
2014-04-30 17:59:40 +09:00
Daniel Juyung Seo 75736227cd test_dnd: removed dead code.
This fixes coverity CID 1210426.
2014-04-30 16:14:53 +09:00
Daniel Juyung Seo 8002e0e518 test_popup: Added more align usages to reveal popup align bug.
Actually the bugs are from notify.
2014-04-30 01:21:55 +09:00
Daniel Zaoui 07c8dd641f Entry: add the activated signal in the events section of entry.eo. 2014-04-29 16:00:51 +03:00
Thiep Ha e005cb7895 test_dnd: Change sending data to be compatible with other apps
Summary:
The sending data used # character, it is not compatible with other apps, so we should change it.

Change sending data to use newline character to be compatible with other apps, able to correctly drag to other apps like EFM, chrome, ...

Reviewers: JackDanielZ, seoz, raster, woohyun

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D751
2014-04-29 16:28:13 +09:00
WooHyun Jung d0fc678c1a notify_test: When elm_notify is shown, set focus to it. 2014-04-29 15:39:41 +09:00
Daniel Zaoui 0491d581c0 Eolian: fix elm_widget.eo
part_text has to be an extra property, not a method.
2014-04-29 08:45:51 +03:00
zmike 5757574678 ctxpopup should not blindly show arrows when they are not wanted by the theme
@fix
2014-04-28 11:01:20 -04:00
Carsten Haitzler e585ffb4d7 elm win - fix ELM_DISPLAY to choose the right software enine 2014-04-28 21:53:52 +09:00
Stefan Schmidt 77baa7a6c7 release: v1.10.0 alpha1 2014-04-28 12:35:19 +02:00
zmike 7d0e8a5828 ctxpopup bg theme should block all mouse events, not just left button
@fix
2014-04-27 13:47:05 -04:00
Daniel Zaoui 70684ea730 Eolian: install .eo files 2014-04-27 16:09:01 +03:00
Daniel Juyung Seo 535fe6bd97 gengrid: Added elm_gengrid_wheel_disabled_set/get() APIs.
Summary:
The basic idea is from Abhinandan Aryadipta and I implemented this in
upstream.
Special thanks to JackDanielZ for eolian madness.

@feature

Reviewers: JackDanielZ

Differential Revision: https://phab.enlightenment.org/D803
2014-04-27 13:54:37 +09:00
Daniel Juyung Seo 4df87d5959 gengrid: removed unnecessary return value check.
Just return the return value without checking it.
2014-04-27 13:42:48 +09:00
Daniel Juyung Seo ecc89e2c4a test_gengrid: renamed stupid long internal variable names shorter. 2014-04-27 13:12:21 +09:00
Amitesh Singh 31fd782ab0 gengrid: Implemented item_select_on_focus feature.
Summary:
This is based on bb1e8afd.
@feature

Test Plan: elementary_test->"Gengrid Focus"

Reviewers: seoz, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D702
2014-04-27 13:08:15 +09:00
Daniel Juyung Seo b4093d2310 test_genlist: renamed stupid long internal variable names shorter. 2014-04-27 13:04:26 +09:00
Daniel Juyung Seo d4aa2ccc08 genlist: refactor the internal code to make it more readable. 2014-04-27 12:55:58 +09:00
Amitesh Singh 8405b15b2b genlist: Implemented item_select_on_focus feature.
Summary: @feature

Test Plan: elementary_test->Genlist Focus

Reviewers: seoz, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D705
2014-04-27 12:40:17 +09:00
Daniel Juyung Seo 9652839c96 genlist: renamed internal function according to the key binding adoption. 2014-04-27 11:26:53 +09:00
Amitesh Singh 8e0ffb8332 config: Added two APIs to enable/disable focus auto scroll bring in feature.
Summary:
 Summary:
    - APIs
      - elm_config_focus_auto_scroll_bring_in_enabled_set
      - elm_config_focus_auto_scroll_bring_in_enabled_get
    - list/genlist/toolbar/gengrid: Using this feature for scrolling for focus movement.
    - Added test case in "List Focus", "Genlist Focus", "Toolbar Focus" and "Gengrid Focus"

    @feature

Test Plan: elementary_test->"List Focus", "Genlist Focus", "Toolbar Focus" & "Gengrid Focus".

Reviewers: raster, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D799
2014-04-27 04:15:26 +09:00
Amitesh Singh 112d481dca gengrid: ignore key events if item reorder is going on.
Summary: This was missed in 43eb52e159.

Test Plan:
elementary_test->"Gengrid Focus" and enable "reorder mode" by clicking "redorder mode enable" checkbox.
Move the items by direction keys.

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D801
2014-04-27 03:17:02 +09:00
Daniel Juyung Seo 571b60e298 genlist: Removed unnecessary item show call on multi select.
item select will automatically trigger item show.
@fix
2014-04-27 03:02:58 +09:00
Daniel Juyung Seo 8147afcf72 toolbar: Fixed wrong edje api usage for elm objects.
This bug was introduced by the commit
4c8677166163316468da56c53b203ac572085c40 this January.

@fix
2014-04-27 02:42:01 +09:00
Daniel Juyung Seo 5f505de0b4 gesture_layer: updated internal documentations for the changed variables.
It looks like the variable names were changed at some point but the
documentation was not updated accordingly.
2014-04-27 00:45:24 +09:00
Daniel Juyung Seo 4d1d80481f gengrid: Changed internal variables to fix shadow variable build warnings.
elm_gengrid.c: In function '_item_move_cb':
elm_gengrid.c:2084:19: warning: declaration of 'y1' shadows a global
declaration [-Wshadow]
elm_gengrid.c: In function '_swap_items':
elm_gengrid.c:2136:19: warning: declaration of 'y1' shadows a global
declaration [-Wshadow]
2014-04-27 00:45:24 +09:00
zmike 07c2da9e2c entry no longer completely breaks focus by focusing itself on selection signal
I don't know why this was added, but it breaks the ability to set focus on any widgets at all under some circumstances. it also is nonsensical since you should never need to set focus while selecting because:

* you are selecting with the mouse button, thereby having previously triggered focus from the mouse click

* you are selecting using api, in which case there's a config option to allow retaining selection which is also conceptually broken by this behavior

@fix
2014-04-26 01:41:15 -04:00
Mike Blumenkrantz 0615b6385b genlist theme uses more target_groups as well as new edje_cc link api 2014-04-25 10:55:22 -04:00
Mike Blumenkrantz db5fbae235 genlist theme uses virtual group inheriting more aggressively 2014-04-25 10:55:22 -04:00
Mike Blumenkrantz e3e053fef3 genlist theme now uses new edje_cc feature group.program_source to set default program sources 2014-04-25 10:55:22 -04:00
Mike Blumenkrantz 21be7a489f genlist theme uses new edje_cc target_groups feature for program simplification 2014-04-25 10:55:22 -04:00