Commit Graph

8932 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
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
Daniel Juyung Seo a44e4e5411 photocam: added @c to EINA_TRUE/FALSE doxygen. 2014-05-03 03:51:44 +09: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
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
Daniel Zaoui db4d33dc35 Fix Makefile indentation 2014-04-24 13:21:26 +03:00
Yossi Kantor 9c5ac1dd00 Eolian: Eo header clean.
Elementary Conform
  Elementary Widget
  Elementary Widget Container
2014-04-24 13:21:26 +03:00
Yossi Kantor 3de6b07a86 Eolian: Eo header clean and legacy integration.
Elementary Slider
  Elementary SlideShow
  Elementary Spinner
  Elementary Systray
  Elementary Table
  Elementary Thumb
  Elementary Toolbar
  Elementary Video
  Elementary Web
  Elementary Win
2014-04-24 13:21:26 +03:00
Yossi Kantor e4f4de0604 Eolian: Eo header clean and legacy integration.
Elementary Popup
  Elementary Panes
  Elementary Photo
  Elementary Photocam
  Elementary Plug
  Elementary Prefs
  Elementary Progress Bar
  Elementary Radio
  Elementary Route
  Elementary Scroller
  Elementary Segment Control
  Elementary Separator
2014-04-24 13:21:26 +03:00
Yossi Kantor 82ad449e56 Eolian: Eo header clean and legacy integration.
Elementary Interface File Selector
  Elementary Multibuttonentry
  Elementary Naviframe
  Elementary Inwin
  Elementary Label
  Elementary List
  Elementary Map
  Elementary Map Buffer
  Elementary Menu
  Elementary Notify
  Elementary Panel
2014-04-24 13:21:26 +03:00
Yossi Kantor 0f0e5cb3fe Eolian: Eo headers clean and legacy integration.
Elementary Hoversel
  Elementary Gengrid
  Elementary Genlist
  Elementary Gesture Layer
  Elementary GLView
  Elementary Grid
  Elementary Icon
  Elementary Image
  Elementary Index
2014-04-24 13:21:26 +03:00
Lukasz Stanislawski 21aafc3f2d atspi: AtspiValue interface added.
Summary:
Enables remote value changing on accessible widgets.
Added sample interface implementation for elm_slider widget.

Test Plan: build&install

Reviewers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D784
2014-04-24 18:03:25 +09:00
Jaeun Choi 3c82b3c174 config: ELM_CONFIG_VERSION update
Summary: This patch updates ELM_CONFIG_VERSION according to elementary key binding.

Test Plan: None

Reviewers: raster, Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D768
2014-04-24 17:54:45 +09:00
Ryuan Choi 4e4c7e8658 entry: Create selection handles as lazily as possible
Summary:
Moved the construction of selection handles to _update_selection_handler in order to
reduce the cost of construction of elm_entry little bit.

Reviewers: thiepha, Hermet, seoz, raster

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D756
2014-04-24 17:52:23 +09:00
Daniel Zaoui 67d8bd6e34 FlipSelector: fix callback type.
Evas_Smart_Cb was used in legacy while flipselector_func_type was used
in Eo. That made the compilation failing in E.
2014-04-24 11:04:35 +03:00
Yossi Kantor 40a65560f6 Eolian: Eo headers clean and legacy integration for:
Elc File Selector
  Elc File Selector Entry
  Elc File Selector Button
  Elementary Datetime
  Elementary Day Selector
  Elementary Disk Selector
  Elementary Entry
  Elementary Flip
  Elementary Flip Selector
2014-04-24 10:12:09 +03:00
Yossi Kantor 4ed35ccc04 Eolian: Eo header clean and legacy integration for:
Elementary Background
  Elementary Box
  Elementary Bubble
  Elementary Button
  Elementary Calendar
  Elementary Check
  Elementary Clock
  Elementary Color Selector
  Elementary Ctxpopup
2014-04-24 09:49:22 +03:00