Chris Michael
c5dba8cd32
ecore-wl2: Free internal mouse down info when we delete an input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3e1b71b3d8
ecore-wl2: Add API function to set opaque region of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
475ade8bf8
ecore-wl2: Add API function to set sync/desync on a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d50af2db70
ecore-wl2: Add API function to place a subsurface below a surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
44b2153a42
ecore-wl2: Add API function to place a subsurface above a surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
25505626ad
ecore-wl2: Add API function to get the position of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0b8d2f1f24
ecore-wl2: Add API function to set the position of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
32bb1237c6
ecore-wl2: Add API function to return the wl_surface of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ed8287bdba
ecore-wl2: Add API function to delete a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6c16d7967b
ecore-wl2: Use proper wayland function to get display registry
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
434fbd6fb9
ecore-wl2: Start on preliminary subsurface support
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d4c312ecce
ecore-wl2: Cleanup wayland objects on display cleanup
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a9d120c44
ecore-wl2: Cleanup inputs on display disconnect/destroy
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
10efbbd416
ecore-wl2: Add subsurface structure type
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
98f0a245ce
ecore-wl2: Add subsurface protocol files to support subsurfaces
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
76da2e3063
ecore-wl2: Add doxygen for ecore_wl2_window functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d22b6c581c
ecore-wl2: Add support for input region setting for an Ecore_Wl2_Window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
35710fa919
ecore-wl2: Add API function to return the registry of a display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
206914aa32
ecore-wl2: Add API funtion declarations need for Elementary
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
518b97cc1c
ecore-wl2: Add API function to find a window given a window id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f3e5800d58
ecore-wl2: Add API function to issue an ungrab on an input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5addb38844
ecore-evas: Add API function to get an Ecore_Wl2_Window for an
...
ecore_evas
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f485b451ce
ecore-evas: Add function to return Ecore_Wl2_Window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7cbed394dc
ecore-evas: Add ecore_evas_wayland_window_get2 to the Ecore_Evas
...
Wayland Interface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3a0a298181
ecore-evas: Add new API to return a Ecore_Wl2_Window when requested
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8df60cef9e
ecore-wl2: Check if a window is transparent or alpha when setting
...
opaque region
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a084891013
ecore-wl2: Cleanup dnd drag and selection sources when we delete an
...
input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a4b28e0375
ecore-wl2: Send window configure event when we un-maximize/fullscreen
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
63004b492c
ecore-wl2: Add a LAST member for enum of window type
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1a38e1a9f4
ecore-wl2: Don't use bitfields for public structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
41f6e1f505
ecore-wl2: Add display to global event structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
84a01216e7
ecore-wl2: Provide internal function to stop any cursor update timers
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bb0f3ab62a
ecore-wl2: Create new event type for window configure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
324a7e545a
ecore-wl2: Update input serial when we get a mouse button event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
961a5fa478
ecore-wl2: Add event type and structure for sending window configure
...
events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4b0aaca962
ecore-wl2: Set window input on pointer enter/leave events
...
Summary: This is so that we can still change mouse cursor (to indicate resize)
even when the window does not have focus
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4bd535e3a1
ecore-wl2: Remove window animator callback when we free a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
70867d9dc7
ecore-wl2: Remove test for no-op move/resize
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
597426e606
ecore-wl2: Fix compiler warning
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2f57854e8b
ecore-wl2: Reduce noise of ERR messages which are not that important
...
when trying to set pointer cursor images
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9cc1ba045c
ecore-wl2: Fix issue of never getting keyboard focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
76a06f300f
ecore-wl2: Fix issue of animators not starting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e0f7c7a648
ecore-wl2: Finish off internal dnd code to actually send events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
26db25b5ff
ecore-wl2: Add API function to clear a dnd selection
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e44f85cc3c
ecore-wl2: Add API function to return if a dnd selection exists
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
00fd750d7d
ecore-wl2: Add API function to set a dnd selection
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4559aa15a4
ecore-wl2: Add API function to determine if an input has a selection
...
owner
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d1cc93f046
ecore-wl2: Add API function to end a dnd drag operation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9fdd4758fb
ecore-wl2: Add API function to get a dnd drag
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b877b18980
ecore-wl2: Add API function to start a dnd operation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
915d0653c3
ecore-wl2: Add API function to set dnd drag types
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
695b8cec9e
ecore-wl2: Add missing TODO for doxygen
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ccb8061841
ecore-wl2: Add API function to return the Ecore_Wl2_Input from a given
...
window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6ad9dc0e10
ecore-wl2: Add API function to set the type of window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dfffabb224
ecore-wl2: Add API function to return surface id of a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3fe735f0c1
ecore-wl2: Add API function to set a cursor for a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7b383e267d
ecore-wl2: Add support for setting cursor images to input code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a83ba427a9
ecore-wl2: Add event structure and event type for selection data ready
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9e8b79b43f
ecore-wl2: Add remaining events and event structures for data source
...
(dnd)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
199d762e57
ecore-wl2: Add event structure for dnd end event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
cd1d9ec196
ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
590c278a46
ecore-wl2: Add API function to set pointer surface on a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d8f72b6c32
ecore-wl2: Implement ecore_wl2_window_raise for xdg surfaces also
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
462d86486f
ecore-wl2: Add API function to return pointer position
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
25390920be
ecore-wl2: Add API function to retrieve screen size
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a008a9a69
ecore-wl2: Add API function to set window minimized state
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ecd8808918
ecore-wl2: Add API function to return if a window is iconified
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b0f65024ff
ecore-wl2: Add API function to set if a window is fullscreen
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6a6b56ce24
ecore-wl2: Add API function to set if a window is maximized
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b02d5a1922
ecore-wl2: Add API function to set window geometry
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a1435796d
ecore-wl2: Add API function to return window geometry
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ffa12c3820
ecore-wl2: Fix not sending compositor reguests when we use
...
ecore_wl2_display_connect
Summary: If we do Not listen for ECORE_FD_WRITE on the file descriptor
handler, then we never send a wl_display_flush which means we don't
send requests to the compositor and thus nothing ever renders. Fix
that by listening for FD_WRITE and calling wl_display_flush.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f8e3bc944f
ecore-wl2: Add API function to set window class name
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
41a74fda94
ecore-wl2: Add API function to set window title
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f372d11f99
ecore-wl2: Add API function to set window rotation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c7206d5687
ecore-wl2: Add API function to return if a window is fullscreen or not
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c1109dd25c
ecore-wl2: Add API function to return if a window is maximized
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0d0b7f9979
ecore-wl2: Add API function to set if a window is transparent
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
35cbc0d737
ecore-wl2: Add API function to set window opaque region
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
795627ab51
ecore-wl2: Add API function to set if a window is alpha or not
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f1d2f7c8da
ecore-wl2: Add API function to return if a window is alpha or not
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
fda3c80ee0
ecore-wl2: Add API function to find a window by id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
90217c80fc
ecore-wl2: Add implementation for supporting custom tick animators
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e04ab79ecc
ecore-wl2: Raise dnd drop event when we get the event from the data
...
listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
25f199969c
ecore-wl2: Add dnd drop event type and event structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2758d6fcba
ecore-wl2: Add event and structure for dnd motion events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
568f3cf617
ecore-wl2: Raise event for dnd leave
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
60aee3e03c
ecore-wl2: Add event and structure for event dnd leave
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
05856a0ebf
ecore-wl2: Add calls to dnd functions for drag listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0ede9c3c7d
ecore-wl2: Add source file for dnd functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8b42bc4ae7
ecore-wl2: Add private function declarations for dnd functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ad54caeeda
ecore-wl2: Add structure and event type for dnd enter
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dfdac191ff
ecore-wl2: Add TODO notes for dnd
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ffe14478de
ecore-wl2: Support window raise function for wl_shell_surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
cfce071a34
ecore-wl2: Implement support for window resizing
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4d193552a8
ecore-wl2: Improve popup support to be able to use the parent windows
...
seat
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e0b3d1250b
ecore-wl2: Add support for window moving
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
34a4787402
ecore-wl2: Add support for xdg popups
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d2816fa45f
ecore-wl2: Assign an input to a window when the window gets focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
df670ae859
ecore-wl2: Finish up touch support. Record touch motion coordinates
...
into input->pointer.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
28fafc0ea7
ecore-wl2: Add support for double/triple click in mouse events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
08c804f5bb
ecore-wl2: Send key press/release events when we get wayland event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7918f40fcc
ecore-wl2: Raise focus in/out events when we get wayland events for
...
keyboard enter/leave
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f811cc85d5
ecore-wl2: Add event structures for focus in/out
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7e5ccc3862
ecore-wl2: Reset pointer and keyboard focus when a window gets deleted
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5254b1a327
ecore-wl2: Call input ungrab when window operations occur
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6d3e8a8558
ecore-wl2: Finish send ecore events for any wayland touch related events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
68b36dfde3
ecore-wl2: Send mouse up event when we ungrab input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
16864aa2c4
ecore-wl2: Send mouse button down/up events when we get a wayland
...
pointer button event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
32838d1db4
ecore-wl2: Add internal functions for sending mouse button down/up
...
events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8360fcaa58
ecore-wl2: Set display serial during keyboard events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c0e03359e5
ecore-wl2: Add code to send mouse wheel events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ed7429f62d
ecore-wl2: Issue input grab/ungrab during pointer button events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8a2b8ed76a
ecore-wl2: Add code to send mouse move events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
52996b1cf4
ecore-wl2: Add functions to send mouse in/out events and call them
...
during pointer enter/leave
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
22c069ef82
ecore-wl2: Add internal input functions to initiate/release a grab
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
31b014de6b
ecore-wl2: Add prototype functions to support data listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7eabcd955e
ecore-wl2: Add placeholders for touch listener functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6062fa4f68
ecore-wl2: Add initial support for keyboard events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
debc8c5aba
ecore-wl2: Add placeholders for functions of the keyboard listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
df1032676a
ecore-wl2: Add TODO note for handling mouse wheel event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4731bb6eed
ecore-wl2: Add start of code for pointer button event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1f4b386664
ecore-wl2: Start on code for pointer motion event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bb0c94d04a
ecore-wl2: Start on code for pointer leave event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1fd5a0f9b9
ecore-wl2: Destroy cursor theme when input is destroyed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
08594f2b3c
ecore-wl2: Add start of pointer handling code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2a973da77b
ecore-wl2: Add function to find a window based on surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0a2bcb775b
ecore-wl2: Add pointer fields to input structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9009367421
ecore-wl2: Add placeholder touch listener structure and setup touch
...
listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6869782c27
ecore-wl2: Add placeholder keyboard listener structure and setup
...
keyboard listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1e7be23084
ecore-wl2: Add placeholder pointer listener structure and setup
...
pointer listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
330ac83004
ecore-wl2: Add support for initial setup of pointer cursor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bcd949fa03
ecore-wl2: Add start of Ecore_Wl2_Input code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e497abb4a6
ecore-wl2: Fix doxygen comment
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
70aa5a9a34
ecore-wl2: Add support for xdg shell listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d722b41e1a
ecore-wl2: Add start of Ecore_Wl2_Output code for outputs
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dd5b7e0046
ecore-wl2: Free window when surface gets deleted
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b3ca3c7880
ecore-wl2: Add placeholder API for ecore_wl2_window_raise
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8079f5cf9d
ecore-wl2: Update doxygen for window move and resize functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5c6376fa29
ecore-wl2: Add API function to resize a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e9b6c5d4b7
ecore-wl2: Add API function to move a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a5739c5ded
ecore-wl2: Add API function to free a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
639a1a24ae
ecore-wl2: Add API function to hide a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
02671a1a4b
ecore-wl2: Add API function for ecore_wl2_window_show
...
Summary: This adds preliminary support for wl_shell and xdg_shell
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5df31145ad
ecore-wl2: Add a listener for display sync when connect is called
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2b41f198db
ecore-wl2: Add bool fields to window structure to store state
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7fe8a28aca
ecore-wl2: Add function to create/get a wl_surface for a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
167e8d074b
ecore-wl2: Add support for window types
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d02da903fe
ecore-wl2: Add function to return window id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8eda8449de
ecore-wl2: Add start of ecore_wl2_window code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
88e47d7def
ecore-wl2: Add API function to return an iterator for display globals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f5e35519b3
ecore-wl2: Group connect and disconnect functions together
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
93ea0b172c
ecore-wl2: Add internal function to cleanup Ecore_Wl2_Display when closed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
98706f0157
ecore-wl2: Add API function for servers to terminate wayland display main loop
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6b14714b56
ecore-wl2: Create new xkb context for each display when connected
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a079b10224
ecore-wl2: Add API function for servers to destroy a wayland display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5e3a9860aa
ecore-wl2: Add API function for clients to disconnect from a Wayland display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3a708abdf4
ecore-wl2: Add API function to return the wl_shm interface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
fcbadece87
ecore-wl2: Remove unused wl_registry field in display structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
963b1da5f1
ecore-wl2: Call wl_event_loop_dispatch with a 0 timeout
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
54a0345503
ecore-wl2: Add support for binding various wayland interfaces
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
26844165a1
ecore-wl2: Add xdg_shell protocol files
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
31bf92dbbd
ecore-wl2: Add API function to return wl_display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
93f17dec58
ecore-wl2: Modify ecore_wl2_display_create to take an optional socket name
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f875c8ba67
ecore-wl2: Use Eina_Stringshare type instead of const char
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
81c120db14
ecore-wl2: Start on code to handle globals being added or removed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e4f4d52cf3
ecore-wl2: Add start of opaque Ecore_Wl2_Display structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1af91f3c61
ecore-wl2: Add wayland log handler callback to print wl log messages
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8c8334ad2d
ecore-wl2: Add ecore_wl2_display file to build order
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2065766bb5
ecore-wl2: Add start of doxygen infrastructure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b085e688d5
ecore-wl2: Add API function for ecore_wl2_shutdown
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d769724ccc
ecore-wl2: Add events for adding and removing globals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1132afd78a
ecore-wl2: Add API function for ecore_wl2_init
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b3eaf9be3a
ecore-wl2: Add start of headers for ecore_wl2 library
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0a4660c77d
ecore-wl: Make "server mode" a global
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
518531ea00
ecore-wayland: Add support for using timer based animators if in
...
server mode
Summary: For E internal windows, we cannot use custom animator sources
due to Other animators using a timer-based solution. For this case,
when running in "server mode" for internal windows we will default to
a timer based animator solution.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Subodh Kumar
320733ecd7
Edje entry: Use markup text for password in preedit mode
...
Summary:
Use markup text for password in preedit mode
Problem is that when text comes in preedit mode
it is always markup text and when it is committed
to entry it got committed with markup tags along with
the original string, so for preedit mode password
should be filtered all markup to set the proper text.
@fix
Test Plan:
In preedit mode, enter any character say 'A'
preedit markup like <preedit>A</preedit>
will come in preedit changed callback
Result: Text is set as plain text like below
<preedit>A</preedit>
Reviewers: thiepha, jihoon, herdsman, shilpasingh, tasn
Reviewed By: shilpasingh, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2929
2015-12-03 16:04:08 +00:00
Jean-Philippe Andre
f88333326f
Ector: Fix Windows build (missed in previous patch)
2015-12-03 20:53:20 +09:00
Jean-Philippe Andre
c09199f0e0
Ector: use uint32_t instead of uint
...
This fixes the build for Windows. Thanks @vtorri for the report.
I'm not using "unsigned int" as uint was mostly used like DATA32,
ie. color data (one pixel color or a pixel buffer).
2015-12-03 20:28:27 +09:00
Shilpa Singh
648cef1db1
edje_entry: Fix crash on selection
...
Summary:
When text is selected, crash happens due to double free as rectangles are freed both in _sel_update
and _evas_textblock_selection_iterator_free hence removing free from _sel_update.
@fix T2910
Test Plan:
1. Launch elementary test
2. launch entry demo
3. select text
Reviewers: cedric, herdsman
Subscribers: jpeg
Maniphest Tasks: T2910
Differential Revision: https://phab.enlightenment.org/D3401
2015-12-03 12:53:00 +02:00
Jean-Philippe Andre
dc621e2316
Ector: Kill compilation warnings
...
Remove unimplemented function (no test case yet).
Convert #warning into comments.
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
b5500a8644
Evas: Move alpha functions to static_libs/draw
...
This is a pretty simple code refactor, moving pixel handling
to the new draw lib.
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
4bcea3eada
Ector: Move cairo surface back to ector
...
The original plan was to have two different surfaces for GL and SW,
but this is probably not going to happen anytime soon. So, move
the implementation back to lib/ector. This avoid a file duplication.
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
52ec3d2d7e
Ector: Rename C files to match their EO counterparts
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
33cd26a4b2
Ector: Another minor code cleanup
...
Remove DATA8, DATA16, DATA32
Remove empty data structure
Remove unnecessary typedef
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
615b2442b7
Ector: Move drawhelper to static_libs
...
Rename a few things:
- draw helper -> efl_draw
- Ector_Rop -> Efl.Gfx.Render_Op
- ECTOR_ bla bla -> DRAW_ bla bla (base pixel ops)
- ector_memfill -> draw_memset32 (and invert arg order to match memset)
The main rasterizer file is now draw.h in static_libs/draw
This is a non functional change, simple code refactor.
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
bad7911cd0
Ector: Use Ector Buffer inside SW and Cairo renderers
...
Ector Surface now inherits from Ector Buffer, and the current
two renderers (SW and Cairo SW) use Ector.Software.Buffer
implementations for pixel surfaces.
Basic pixel handling is merged and will allow easy extension
(color conversion, etc...).
Buffer classes are Mixins to be fully implemented by the final
class, such as: Ector.Software.Buffer, Ector.Software.Surface
or Ector.Cairo.Surface.
This is a large ugly commit. Sorry.
The code is quite a mess right now.
2015-12-03 18:42:50 +09:00
Jean-Philippe Andre
0cf5719e52
Ector: Implement pixel buffer support
...
The objective of this patch is to propose a standardized
format for pixel buffers to use within Ector and Evas.
The basic EO API provided here is not meant to be the
fastest path for all operations, simply the most convenient
to generalize. Performance will be achieved by implementing
(or porting) custom draw functions.
This implements support for:
- Generic pixel buffers
- Generic buffer renderer to draw images with ector
- Software engine pixel buffers, ie. malloc buffers
- Software buffer renderer
Cairo support has not been implemented yet.
The only renderer is still extremely limited, as it does not
support Fill modes, Scaling, etc... yet.
Not a single line from this patch has been tested yet.
It compiles. That's pretty damn good for a start!
@feature
2015-12-03 18:42:50 +09:00
Daniel Hirt
5322575ba6
Edje entry: emit "selection,reset"
...
Adding a check for the selection range on extend/preextend.
If there is no range, then emit "selection,reset".
Expected handling on the theme end for this signal is to show the
cursor.
This improves cursor visuals, as it will show the cursor again once the
selection range ends up being 0.
2015-12-03 10:31:43 +02:00
Amitesh Singh
59681c3311
edje: fix edje RTL description in case of custom state of a part
...
Summary:
In case of RTL, the "custom" state properties does not apply. It happened because we don't copy the latest src to
dst in set_state(PART:.., "custom", 0.0); in case of dst is already populated.
We should copy the updated src to dst whenever we set the new custom description.
@fix
Reviewers: cedric, raster, jpeg, zmike, jaehwan
Subscribers: kimcinoo, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D3394
2015-12-03 11:26:10 +05:30
Jee-Yong Um
dc918064ce
edje: add missing EAPI keyword for edje_color_class_del
...
Reviewers: jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3398
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-02 14:34:16 -08:00
se.osadchy
ce4146ec63
evas: fix bug with logic with eina_matrix in evas_3d_utils
...
Summary: Also need to fix logically dead code in coverity.
Reviewers: raster, Hermet, cedric
Subscribers: jpeg
Maniphest Tasks: T2832
Differential Revision: https://phab.enlightenment.org/D3346
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-02 14:15:01 -08:00
perepelits.m
a19786649f
edje: Remove redondant array in Evas 3D edd (part2)
...
Summary: There are more redundant arrays to be deleted. In fact I don't think string name of descriptor shouldn't never change, I was testing some 2D examples and this is not true.
Reviewers: raster, jpeg, cedric
Subscribers: artem.popov, cedric
Differential Revision: https://phab.enlightenment.org/D3361
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-02 14:09:59 -08:00
Cedric BAIL
d577366acb
evas: properly clean up all memory.
2015-12-02 12:31:59 -08:00
Daniel Hirt
59e9e2ddc8
Evas textblock: fix height on line wrapping
...
Line advance should finalize the line with its last item, and not the
item we're currently wrapping. This fixes T1583, where some line
wrapping cases would look different than their equivalent <ps>
versions.
@fix
2015-12-02 15:06:32 +02:00
Carsten Haitzler
5263e61585
efreet desktop tracking - fix monitoring of dirs of custom desktops
...
@fix
this is wrong - start monitoring every/any dir in which a desktop file
exists that we load a desktop file from. imagine you browse directories
in efm with lots of desktop files in them - we end up monitoring lots
of directories that we then rememebr and don't un-monitor. this
disables monitoring of dirs from which we load a .desktop file from to
fix this.
2015-12-02 20:53:27 +09:00
Youngbok Shin
809d8fdafe
Evas Textblock: Fix text disappear issue when text is made up with multiple items.
...
Summary:
Text is disappearing when we resize a singleline Evas Textblock with ellipsis.
It is happened by putting a Text item at logical_items list without considering about logical position.
It is only happended the text is made up with multiple items.
@fix
Test Plan:
1. Run elementary_test
2. Click Label Ellipsis
3. Resize the window dynamically and see the result.
Reviewers: woohyun, tasn, herdsman
Subscribers: jpeg, subodh6129, shilpasingh, cedric
Maniphest Tasks: T2709
Differential Revision: https://phab.enlightenment.org/D3022
2015-12-02 09:52:01 +02:00
perepelits.m
32c33ed64d
evas: refactor model's savers and loaders.
...
Summary:
Move common part to a separated document.
Make code more readable using smaller functions. (from Task T2713)
Reviewers: cedric, raster, Hermet
Subscribers: artem.popov
Differential Revision: https://phab.enlightenment.org/D3373
2015-12-01 16:39:29 -08:00
Youngbok Shin
917fdbd597
evas: fix a NULL dereference issue in font.
...
Summary:
eina_list_remove returns Eina_List pointer.
It could be NULL if the last list item is removed.
And the returned Eina_List pointer could be different from the given list.
So, calling free for fdir->data after fdir's address is changed is dangerous.
@fix
Test Plan: Run expedite or test app with evas_font_path_append() API.
Reviewers: stefan_schmidt, jpeg
Reviewed By: jpeg
Subscribers: stefan, jiin.moon, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3392
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 15:03:51 -08:00
Vincent Torri
02ef02bfb5
evil: better check of Windows 64 bits
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:15:52 -08:00