Commit Graph

10040 Commits

Author SHA1 Message Date
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
Carsten Haitzler 65a65b7bdd messing with ellipsis in edje broke evrything. instead i'll just fix theme 2014-04-24 18:59:47 +09: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
Yossi Kantor 424f1b7ee0 Eolian: Eo header clean and legacy integration for:
Elementary Scrollable Interface
  Elementary Access
  Elementary Pan
  Elementary Client
  Elementary Client View
  Elementary Server
  Elementary Server View
  Elementary Layout
  Elementary Frame
  Elementary Hover
  Elementary ActionSlider
  Elementary Atspi Object
2014-04-24 09:21:32 +03:00
Jaehyun Cho ed6fb47ccc naviframe: Emit visible/invisible signals when view is shown/hidden
Summary:
Previously, previous view was just shown by evas_object_show and hidden by evas_object_hide.
Now, "elm,state,visible" and "elm,state,invisible" signals are emitted to enable application to do in edc what they want when each view is shown/hidden.

Reviewers: Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D785
2014-04-24 14:22:26 +09:00
Hosang Kim 0f636e890a genlist: Add item loop feature
Summary:
If item loop feature is enabled, item is moved infinitely.

    1. Refactor direction key event handling routine
      - added internal function _elm_genlist_elm_widget_event_direction.
    2. Add looping feature for genlist
      - added Eolian function _elm_genlist_elm_widget_item_loop_enabled_set/get.
    3. Add demo - test_genlist.c / genlist focus

Reviewers: seoz, woohyun, jaehwan, Hermet, raster

Reviewed By: Hermet

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

Conflicts:

	src/lib/elm_widget_genlist.h
2014-04-24 14:17:35 +09:00
Mike Blumenkrantz dab2097569 set expected default ellipsis value for desklock... 2014-04-23 21:16:57 -04:00
Daniel Juyung Seo 94661ce059 genlist: reordered genlist internal structure members for a better structure packing. 2014-04-23 23:02:57 +09:00
Daniel Juyung Seo c24d8881ef config/.gitignore: removed unnecessary gitignore rule.
There is no illume profile.
2014-04-23 22:51:24 +09:00
Carsten Haitzler c196a72a31 formatting - space++ 2014-04-23 21:21:07 +09:00
Amitesh Singh f3ad4cd3c4 gengrid: item moving feature with keys.
Summary:
- Added two APIs elm_gengrid_reorder_mode_start/stop
- Add two smart callbacks
  - "item,reorder,anim,start" - This is called when a gengrid item movement
     has just started by keys in reorder mode.
  - "item,reorder,anim,stop" - This is called when a gengrid item movement just
     stopped in reorder mode.

@feature

Test Plan: elementary_test->Gengrid Focus

Reviewers: raster, seoz, SanghyeonLee

CC: seoz

Differential Revision: https://phab.enlightenment.org/D723
2014-04-23 21:13:57 +09:00
Lukasz Stanislawski 38f7840ca8 atspi: remove unused variable assignment
Summary: CID 1204328

Test Plan: build & install

Reviewers: seoz, raster

Differential Revision: https://phab.enlightenment.org/D781
2014-04-23 18:00:45 +09:00
Daniel Zaoui d2484d08d5 Genlist: fix EO errors.
Elm-Widget function was called on non elm-widget objects.
2014-04-23 11:00:50 +03:00
Daniel Zaoui 062707dd98 Eolian: replace --eo1 option with --eo 2014-04-23 08:58:47 +03:00
Ryuan Choi a4a140bd64 elm_web: Fixed build warning with ewebkit 2014-04-23 01:27:47 +09:00
Daniel Juyung Seo b173ed7c85 genlist/gengrid/list: Fix first on_focus call correctly by checking focus highlight.
First on_focus call should consider focus highlight enable status and
do the different job according to that.

This can be tested in "genlist 7" and "genlist focus" examples in
elementary_test.
2014-04-22 23:18:04 +09:00
Daniel Zaoui 1303a6dbec Eolian: fix names for elc widgets.
Even if the file names are elc_..., the class names are supposed to be
elm_...
2014-04-22 16:39:35 +03:00
Stefan Schmidt e038096529 atspi: Add header file to build to pass distcheck
The needed header was not packaged and thus made distcheck fail. I put
it into the unstable headers because I'm not sure if they are considered
stable yet. If this is the case please let us know so we can move it over.
2014-04-22 15:36:05 +02:00
zmike df0803a28c tooltips position more accurately in X in xinerama
elm_win_screen_size_get() is broken for this use case since the tooltip actually needs the full xinerama screen geometry, which is the geometry of the root window and NOT the current screen

@fix
2014-04-22 09:31:41 -04:00
Gwanglim Lee b7cb75ccb3 slider: fixed build warning
Summary: added EINA_UNUSED to fix build warning

Test Plan: N/A

Reviewers: raster, seoz, Hermet

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D777
2014-04-22 14:32:20 +09:00
Ryuan Choi c71dd81883 web2: Implemented alert/confirm/prompt
Added test cases for alert/confirm/prompt
2014-04-22 01:42:53 +09:00
Thiep Ha 7869c00600 dnd: Correct drag window positon in drag start
Summary:
If window is rotated, the drag window position is incorrect.

In drag start, the drag window is placed in incorrect position if main window is rotated.
Fix: Update drag window according to window rotation.

@fix

Reviewers: JackDanielZ, raster

Reviewed By: raster

CC: woohyun, seoz

Differential Revision: https://phab.enlightenment.org/D746
2014-04-21 17:27:46 +09:00
wonguk.jeong e1ea913a22 elm_interface_scrollable: fix wanted coordinate calculation
Summary:
boundary check of _elm_scroll_wanted_coordinates_update() is wrong.
boundary was checked with assumption that 0, 0 is top, left
however, 0, 0 could be different according to usages, in case of gengrid, 0, 0 was center left not top left)

Do not assume the min/max value, but use pan min/max value for boundary check

Fixes T1092

Test Plan: elementary_test -> grid -> uncheck multi select mode -> select first item -> click bring in -> resize window

Reviewers: raster, woohyun, seoz, zmike

CC: seoz

Maniphest Tasks: T1092

Differential Revision: https://phab.enlightenment.org/D720
2014-04-21 15:06:28 +09:00
Lukasz Stanislawski a4f3729da0 atspi: Atspi_Action interface implementation @feature
Summary: Enables remote execution of elementary widget actions.

Test Plan: build&install, accerrsiser tests on ubuntu 12.04

Reviewers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D747
2014-04-21 15:04:25 +09:00
Lukasz Stanislawski 85c5216205 atspi: separate atspi mode from access mode.
Since elm_access provides its own support for screen reader, access mode
and atspi mode must be separated.

https://phab.enlightenment.org/D726
2014-04-21 15:01:11 +09:00
wonguk.jeong 495e0771c1 elm_interface_scrollable: fix resize after drag bug.
Summary:
after I drag by using scrollbar, if I resize window, the scroller position was moved to coordication before dragging.
invoke _elm_scroll_wanted_coordinates_update() after position setting in _elm_scroll_scroll_bar_read_and_update();

@fix

Test Plan: elementary_test -> drag scroller to center -> resize window -> scroller shouldn't go back to top

Reviewers: raster, woohyun, seoz

CC: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D722
2014-04-21 14:17:43 +09:00
Lukasz Stanislawski d3fafebc9a atspi: change a method of calculating atspi VISIBLE state. 2014-04-21 12:55:28 +09:00
Lukasz Stanislawski c3b541bcda atspi: refactor atspi_object class into mixins.
Summary:
Allow to create ATSPI aware objects only by attaching Atspi interface to
Eo object. Apply protected rule to all methods, properties which should
not be available to app developer. Remove public atspi header from Elementary.h.
Make Elm_Widget inherit from Atspi interfaces, Elm_Win inherits additional
Atspi_Window interface.
Unified file names - all atspi related objects/interfaces can be found under
elm_atspi_*
and elm_interface_atspi_*.

Test Plan:
build&install, out-off tree example compilation with gcc and g++,
Orca screen reader tests on Ubuntu 12.04.

Reviewers: raster, seoz, tasn, JackDanielZ

Differential Revision: https://phab.enlightenment.org/D718
2014-04-21 12:46:12 +09:00
Carsten Haitzler 0312fd5b3d fix cursor setting to only set if currently visible
this should fix D715
2014-04-21 12:41:59 +09:00
Carsten Haitzler 9d55fab418 entry: wrong viewport value calculation issue fix
Summary:
Issue: As entire scroller edje co-ordinates was being taken instead of the actual viewport value,
if in scroller edje more parts are added apart from just "elm.swallow.content", then the viewport value
set will be wrong. hence the selection handlers will not hide when they have to hide.

solution: Instead of taking scroller edje's geometry, get the actual viewport values.
To get viewport x,y a new scrollable interface is also added.

signed-off by: Shilpa Singh <shilpa.singh@samsung.com>

@fix

Test Plan: Selection handlers have to hide correctly when the text is scrolled in a scrolled entry, if the scroller edc of entry has more parts added other than elm.swallow.content, then when we scroll the selection handlers are not hidden correctly.

Reviewers: jaehwan, woohyun, seoz, Hermet, raster

CC: govi, rajeshps, thiepha

Differential Revision: https://phab.enlightenment.org/D674
2014-04-21 12:31:49 +09:00
Jaeun Choi 200ec7840e slider: apply key binding
Summary: This patch applies key binding to elm_slider.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D761
2014-04-18 13:39:08 +09:00
Jaeun Choi 10c82f4269 multibuttonentry: add key binding in config files
Summary:
This patch adds multibuttonentry key binding info into config files.
Multibuttonentry has some issues in event handling so not suitable for key binding yet.
So, added key binding info first to upgrade config version.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D767
2014-04-18 12:07:07 +09:00
ChunEon Park bce93b6342 slider - don't send signals multiple times if the multiple key is pressed/up.
since slider popup has the interval for hide animation(may have, may have not)
just checking visible is not enough but this flag is correct.
2014-04-18 12:00:32 +09:00
ChunEon Park 7809e91bbc slider: fix comment for readability. 2014-04-18 11:55:54 +09:00
Jaeun Choi fcd6880b6c slider: removed unnecessary key value check in case of key up event
Summary:
This patch removes unnecessary codes.
There is no need to check key value in case of key up event,
since any other key down event except direction keys will cancel sliding.
Instead, hide popup if the popup is visible at that point.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D760
2014-04-18 11:53:27 +09:00
Jaeun Choi f8a26ed1fa slider: code refactoring in widget_event func
Summary:
This patch improves maintainability and readability through code refactoring.
- complete branch statement instead of goto statement
- removed unnecessary codes

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D758
2014-04-18 11:45:13 +09:00
Jaeun Choi 69ddd5b7f5 multibuttonentry: change key up callback into key down callback for consistency
Summary:
Every elementary widget's action is triggered by key down event except multibuttonentry.
There's no reason why focus move and deletion should happen on key up in multibuttonentry.
This patch modifies _layout_key_up_cb into _layout_key_down_cb.

Test Plan: None

Reviewers: raster, Hermet, seoz, jpeg

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D755
2014-04-18 11:33:43 +09:00
Daniel Juyung Seo c1613811e7 spinner: Fixed broken focus movement by direction key.
This was broken by c9755bd3c828bcd2453a50542331b201089a7160.
2014-04-18 04:25:43 +09:00
Lukasz Stanislawski c30b49ecaa config: fix crash when finding key bidings
Summary: Crash occured when config was reloaded and hash data become invalid.

Reviewers: raster, seoz, Hermet

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-04-17 19:46:25 +02:00
Daniel Juyung Seo a3d9569910 button: Renamed internal variable of button smart data to match with
actual API.
2014-04-18 01:26:01 +09:00
Jaeun Choi 099fbbc79f spinner: apply key binding
Summary: This patch applies key binding to elm_spinner.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D752
2014-04-17 16:03:48 +09:00
ChunEon Park 58ea3efa5d ctxpopup: dimiss ctxpopup if escape key is pressed.
rahter than just hide of the ctxpopup, dimiss will be much better for usability.
because press "Escape" is closed to "Cancel" meaning conceptually.
2014-04-17 15:51:37 +09:00