Derek Foreman
c48ca81026
ecore_wl2: Add ecore_wl2_surface_flush
...
This removes all buffers from a surface.
2017-12-01 10:58:44 -06:00
Derek Foreman
fdd05f8028
ecore_wl2: add Ecore_Wl2_Surface to Ecore_Wl2_Window
...
Track the surface of a window and only allow one.
Eventually this might be worthwhile to apply to subsurfaces, but for today
lazy is the way.
2017-12-01 10:58:44 -06:00
Derek Foreman
4f63f327b0
ecore_wl2: Make Ecore_Wl2_Buffer struct private
...
Nothing needs these members anymore. If need arises in the future then
proper getter/setter functions can be added.
2017-12-01 10:58:44 -06:00
Derek Foreman
8a3b983c53
ecore_wl2 wayland_shm: Move surface functions into ecore_wl2
...
Finish pushing these all into ecore_wl2
2017-12-01 10:58:44 -06:00
Derek Foreman
dd5edfae03
wayland_shm: Rename all the evas_dmabuf functions
...
These are going to find a home in ecore_wl2, and this is the last
step before moving them all over there.
2017-12-01 10:58:44 -06:00
Derek Foreman
4e3016070a
wayland_shm: No longer include dmabuf header in engine.h
...
There's no longer any need for code outside of evas_dmabuf.c to
know anything about dmabuf.
2017-12-01 10:58:44 -06:00
Derek Foreman
e1031f5249
wayland_shm: move surface structure to evas_dmabuf.c
...
This is no longer needed by the outbuf code.
2017-12-01 10:58:44 -06:00
Derek Foreman
57622713de
wayland_shm: Use wrapper functions instead of function pointers
...
switch to the new "API"
2017-12-01 10:58:44 -06:00
Derek Foreman
594fef7dd3
wayland_shm: Wrap function pointers for surface
...
This is going to be an API soon.
2017-12-01 10:58:44 -06:00
Derek Foreman
dd8d60ad28
wayland_shm: Move surface free into surface_destroy
...
The caller shouldn't have to free this.
2017-12-01 10:58:44 -06:00
Derek Foreman
5b4b18836a
wayland_shm: Remove struct _Dmabuf_Surface
...
It's all piled into Surface now.
2017-12-01 10:58:44 -06:00
Derek Foreman
8a6c4fe5ff
wayland_shm: Stop using outbuf and engine info in surface code
...
The surface stuff now no longer needs knowledge of those structures.
2017-12-01 10:58:44 -06:00
Derek Foreman
7eb0af45d6
wayland_shm: Pass alpha to surface_create
...
Stop extracting it from other structures, pass it directly.
2017-12-01 10:58:44 -06:00
Derek Foreman
2b3654c1fd
wayland_shm: pass the ecore_wl2_window to surface create
...
No longer extract this from the engine info.
2017-12-01 10:58:44 -06:00
Derek Foreman
d1a4f38a96
wayland_shm: Store width and height in surface struct
...
No longer query these from the outbuf.
2017-12-01 10:58:44 -06:00
Derek Foreman
6a48d56dca
wayland ee: Don't clear the window pointer during session recovery
...
The same pointer is valid post recovery, and anything that used to
check this for NULL now checks that the window's display is NULL
which is handled in ecore_wl2 now.
2017-12-01 10:58:44 -06:00
Derek Foreman
f3dd394b85
ecore_wl2: Return NULL from ecore_wl2_window_display_get during recovery
...
This should save us from having to set the window to in the engine info
NULL and then back during/after recovery.
2017-12-01 10:58:44 -06:00
Derek Foreman
15fdbca653
wayland evas: Remove Ecore_Wl2_Display from engine info
...
We've got the Ecore_Wl2_Window so we can always get the display from
that.
2017-12-01 10:58:44 -06:00
Derek Foreman
73d1ab0cd5
wayland_shm: Remove Shm_Surface
...
only Dmabuf_Surface is used, so let's remove this and lose the union.
2017-12-01 10:58:44 -06:00
Derek Foreman
e3d6626c0d
wayland_shm: Move surface create into dmabuf code
...
These functions can be combined since there's now only the dmabuf
path.
2017-12-01 10:58:44 -06:00
Derek Foreman
d1bb026195
wayland_shm: remove useless wrapper function
...
This no longer has multiple call sites. Goodbye.
2017-12-01 10:58:44 -06:00
Andy Williams
756964c493
Revert "elm_code: Call parent theme_apply when we're applying"
...
This reverts commit 3e5e994360
.
This crashes within Edi. The partial solution is not good enough.
2017-12-01 16:44:34 +00:00
Amitesh Singh
ad9e36d750
focus: use elm_object_focus_get instead
2017-12-02 00:54:21 +09:00
Cedric Bail
7d229efda5
ecore_con: use eina_future based timeout for tests.
2017-12-01 00:38:43 -08:00
Cedric Bail
2e9e751638
elementary: move to use Eina_Future based timeout.
2017-12-01 00:38:42 -08:00
Yeongjong Lee
9fac52134c
efl_ui_spin_button: check focus state
...
Summary:
Because toggle_entry function control entry focus, it need to check
focus state in focus changed callback
Test Plan:
1. elementary_test - Efl.Ui.Spin.Button
2. Click the entry of spin_button
Reviewers: Jaehyun_Cho, CHAN
Reviewed By: Jaehyun_Cho
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5569
2017-12-01 12:06:24 +09:00
Amitesh Singh
769aeb5fcc
edje: fix NULL ptr dereference
...
Fixes CID 1383425
2017-12-01 10:59:58 +09:00
Marcel Hollerbach
38b3ef1b8c
elm_genlist: use the correct elm_object_focus_get function
...
genlist does not get focus anymore, only its children are getting them.
fix T6425
2017-11-30 20:07:52 +01:00
Marcel Hollerbach
1d7833a4b2
efl_ui_focus_composition: fix docs
2017-11-30 19:20:42 +01:00
Andy Williams
3a86af7db4
elm_code: Make test buttons more meaningful
...
And match window titles to buttons for clarity
2017-11-30 17:37:19 +00:00
Andy Williams
3e5e994360
elm_code: Call parent theme_apply when we're applying
2017-11-30 17:36:30 +00:00
Al Poole
a538f47854
eina_file: make sure we use a stringshare when virtualized.
...
As the filename is now a stringshare, also make sure virtual
files use stringshares for the filename! Also when unmapping
we still need to test whether it is copied or not as unmap
will break on less tolerant architectures.
@fix T6449
2017-11-30 13:57:25 +00:00
Amitesh Singh
5b113aaa38
edje legacy: replace Edje_Object with Evas_Object
2017-11-30 20:05:49 +09:00
Amitesh Singh
864fbede3e
edje: fix the typo in prev commit
2017-11-30 20:02:36 +09:00
Amitesh Singh
2ddea7065f
Efl.Ui.Base: remove base_scale.get{} from interface.
...
base_scale for edje would be legacy now.
2017-11-30 19:27:04 +09:00
Amitesh Singh
3ed9271bf4
elm tests: show nstate & slider_interval widgets in Efl.Ui scope
2017-11-30 18:47:57 +09:00
Amitesh Singh
5f3e0d62a4
Efl.Gfx.Shape: fix efl_super() call.
2017-11-30 16:23:19 +09:00
Amitesh Singh
774a01a28b
Efl.Gfx.Path: add missing EOLIAN prefixes to eolian functions.
2017-11-30 16:09:37 +09:00
Amitesh Singh
77d730627e
Efl.Gfx.Shape: add missing EOLIAN prefixes to eolian functions.
2017-11-30 16:09:37 +09:00
Amitesh Singh
ad28bdfb5a
Efl.Gfx.Shape: implement Gfx.Path.interpolate{}
...
This fixes the Eolian 'interpolate' redefine warning.
2017-11-30 16:09:37 +09:00
Jean-Philippe Andre
d957e0a6e4
evas: Animation is a property not method set+get
2017-11-30 11:03:49 +09:00
Jean-Philippe Andre
aef05c26d6
eolian: Warn less on duplicate beta APIs
...
The check was only done on one of the two functions, resulting in some
unwanted warnings.
EOLIAN_WARN_FUNC_DUPLICATES=1 will show non-beta warnings.
EOLIAN_WARN_FUNC_DUPLICATES=2 will still show all warnings.
2017-11-30 10:48:24 +09:00
Jean-Philippe Andre
bd5b76508b
efl: Introduce interface Efl.Dup
...
A few classes allow their objects to be duplicated, so they should all
use the same interface.
Also, rename VG's dup to copy_from as it's not conforming to the
definition of dup.
2017-11-30 10:48:24 +09:00
Jean-Philippe Andre
8803040484
evas: Implement scale API in proper EO fashion
...
This removes the internal function pointer for scale_update. This makes
all relevant classes implement the scale API in EO.
This removes the duplicate function in Efl.Canvas.Object and only uses
the one from Efl.Ui.Base interface.
This *seems* to be working as expected. Fingers crossed!
PS: I don't like the name Efl.Ui.Base. It's an interface for a few
common API's between Gfx, Canvas and UI levels... Maybe scale simply
doesn't belong there.
2017-11-30 10:48:24 +09:00
Jean-Philippe Andre
73e3a82bc2
edje: Move perspective to legacy
...
Note: Edje.Perspective is not bound to EO, and this is the only reason
why I'm moving this to legacy only. Marking as beta would mean the
legacy APIs would not be generated, so that would have almost the same
effect as moving to legacy.
It would be nice to actually support this in EO, though this seems like
a rarely used feature.
Ref T5315
2017-11-30 10:48:24 +09:00
Andy Williams
c89dc4e0e4
elm_code: If showing line numbers don't resize at 10 lines.
...
Content will still shift at 100 but that should be less intrusive
2017-11-29 17:37:21 +00:00
Andy Williams
54d3091133
elm_code: Don't bold beginnings of lines
...
Fixes T6444
2017-11-29 16:17:27 +00:00
Amitesh Singh
038e492fe1
focus: fix build break after previous commit.
2017-11-29 19:46:04 +09:00
Amitesh Singh
29b47e0a07
focus: remove focus.get{} from widget.eo
...
This is taking care by focus manager now.
2017-11-29 19:25:14 +09:00
Jean-Philippe Andre
8faa65d90b
edje: Move text_change_cb to legacy only
...
This should probably be replaced by a well defined signal.
Note: If edje sends signals on swallow/unswallow and text set/unset we
could simplify some of the elementary code, eg. for button's icon
handling. The theme should be handling the padding automatically, it's
not the elementary widget's role
Ref T5315
2017-11-29 15:36:44 +09:00