platform/upstream/efl.git
8 years agoeolian-cxx: Remove deprecated examples
Felipe Magno de Almeida [Thu, 21 Apr 2016 17:58:40 +0000 (14:58 -0300)]
eolian-cxx: Remove deprecated examples

Removed deprecated and non-compilable examples for C++ using
Evas. Users should look into C++ Elementary's examples instead.

8 years agoelm_cnp: accept appropriate text types in wl drop handlers
Mike Blumenkrantz [Thu, 21 Apr 2016 17:57:37 +0000 (13:57 -0400)]
elm_cnp: accept appropriate text types in wl drop handlers

this fixes text dnd

@fix

8 years agoelm_cnp: do not send null accepts for every type within wl data offers
Mike Blumenkrantz [Thu, 21 Apr 2016 17:56:41 +0000 (13:56 -0400)]
elm_cnp: do not send null accepts for every type within wl data offers

once is sufficient

8 years agoecore-wl2: more dnd v3 updates
Mike Blumenkrantz [Thu, 21 Apr 2016 17:55:45 +0000 (13:55 -0400)]
ecore-wl2: more dnd v3 updates

ref d34b5958051c87fe491e358b24e9f25238fda10f

 #gladthiswasabetaapi

8 years agoecore-wl2: use fd handler for receiving selection data
Mike Blumenkrantz [Wed, 20 Apr 2016 16:54:54 +0000 (12:54 -0400)]
ecore-wl2: use fd handler for receiving selection data

not sure what trac ticket was referenced here, but probably the issue was
not using ecore_main_fd_handler_file_add()

8 years agoelm_cnp: attempt to get all applicable mime types when getting selection
Mike Blumenkrantz [Wed, 20 Apr 2016 16:53:36 +0000 (12:53 -0400)]
elm_cnp: attempt to get all applicable mime types when getting selection

@fix

8 years agoecore-wl2: return some copied code back to its original state
Mike Blumenkrantz [Wed, 20 Apr 2016 15:16:22 +0000 (11:16 -0400)]
ecore-wl2: return some copied code back to its original state

this will make future rebases easier

8 years agoecore-wl2: update wl dnd/clipboard support to v3 of protocol
Mike Blumenkrantz [Wed, 20 Apr 2016 15:11:34 +0000 (11:11 -0400)]
ecore-wl2: update wl dnd/clipboard support to v3 of protocol

this code is mostly copied from weston:
78d4bf9a3ec990dceee23fd53962a69891352a0e
9c93179023fe894e417ccd20533d72d672d976fc

credit to Carlos Garnacho <carlosg@gnome.org> as original author

fix T3455

@feature

8 years agoecore-wl2: correct the name and type of some function params
Mike Blumenkrantz [Wed, 20 Apr 2016 13:15:15 +0000 (09:15 -0400)]
ecore-wl2: correct the name and type of some function params

8 years agoecore-drm: Fix typo in doxygen
Chris Michael [Thu, 21 Apr 2016 12:55:01 +0000 (08:55 -0400)]
ecore-drm: Fix typo in doxygen

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agowayland_shm: Fix evas test breakage
Derek Foreman [Thu, 21 Apr 2016 00:49:33 +0000 (19:49 -0500)]
wayland_shm: Fix evas test breakage

Failing to link the wayland dmabuf protocol in caused a symbol
resolution failure in the evas test

8 years agotests: eo: switch to generic eo_key_del, fix build
Stefan Schmidt [Thu, 21 Apr 2016 09:41:44 +0000 (11:41 +0200)]
tests: eo: switch to generic eo_key_del, fix build

Since 5e09d1307ba29ba893c569978e808d61f9ae09c9 we use the generic eo_key_del
for all of these.

8 years agotry readme commit to check git prune issue
Carsten Haitzler (Rasterman) [Thu, 21 Apr 2016 09:08:45 +0000 (18:08 +0900)]
try readme commit to check git prune issue

8 years agoeo base - remove the duplicated key dels and just do eo_key_del() now
Carsten Haitzler (Rasterman) [Thu, 21 Apr 2016 09:01:00 +0000 (18:01 +0900)]
eo base - remove the duplicated key dels and just do eo_key_del() now

this rationalizes all the duplicated key dels (key_data, key_obj and
key_value).

8 years agoEdje edit: fix aspect_preference value into generate code function.
Mykyta Biliavskyi [Tue, 19 Apr 2016 11:19:53 +0000 (14:19 +0300)]
Edje edit: fix aspect_preference value into generate code function.

Add value "SOURCE" as one of possible values for aspect_preference
attributes.
@fix

8 years agoEdje edit: add new program actions into code generate function.
Mykyta Biliavskyi [Tue, 19 Apr 2016 11:06:40 +0000 (14:06 +0300)]
Edje edit: add new program actions into code generate function.

Generate edc source code for next action types:
  - EDJE_ACTION_TYPE_FOCUS_SET
  - EDJE_ACTION_TYPE_FOCUS_OBJECT
  - EDJE_ACTION_TYPE_PARAM_COPY
  - EDJE_ACTION_TYPE_PARAM_SET

8 years agoEdje edit: fix get list of program tagrets.
Mykyta Biliavskyi [Mon, 18 Apr 2016 13:46:39 +0000 (16:46 +0300)]
Edje edit: fix get list of program tagrets.

Correct support all types of program actions for constructing
list of targets.
There are 3 group of actions, that related to targets:
 - Does not support targets at all.
 - Support only parts as targets.
 - ACTION_STOP, that supported parts and other programs as targtes.

@fix

8 years agoExamples: Fix compilation (disable CXX examples!)
Jean-Philippe Andre [Thu, 21 Apr 2016 08:13:23 +0000 (17:13 +0900)]
Examples: Fix compilation (disable CXX examples!)

Warning: This disables CXX examples because they use
now-internal APIs that have no EO API binding.
Those examples should be updated to use Efl.Ui widgets... once
we have them.

8 years agoeo base - add loop_get for base class
Carsten Haitzler (Rasterman) [Thu, 21 Apr 2016 06:15:13 +0000 (15:15 +0900)]
eo base - add loop_get for base class

base class objects will ask their parent object to get the loop. this
means it recurses all objects regardless of type until it finds an
object that returns a proper loop object - eg a loop object returns
itself, a window, gfx/ui object returns the mainloop object etc. etc.

@feature

8 years agoEdje: Fix tests build without installing edj files
Jean-Philippe Andre [Thu, 21 Apr 2016 05:44:26 +0000 (14:44 +0900)]
Edje: Fix tests build without installing edj files

This mostly reverts acc01fe229b61874e6172855d6998b796d138b13

This simply uses DEPENDENCIES.

8 years agoedje: seems the only way to force the build of this files.
Cedric Bail [Thu, 21 Apr 2016 04:30:22 +0000 (21:30 -0700)]
edje: seems the only way to force the build of this files.

I can't figure out what is wrong with using BUILT_SOURCES. It should
work, but doesn't. Moving to use _SOURCES is impossible again (variable
again). Using the _DATA is the only technically working solution. Which
they will be installed on your system even if you don't need them. If
you find a way around it and still get them to build, please patch.

8 years agoRevert "edje: build again edje files needed for tests"
Carsten Haitzler (Rasterman) [Thu, 21 Apr 2016 02:10:12 +0000 (11:10 +0900)]
Revert "edje: build again edje files needed for tests"

This reverts commit 13b4a56ddc185a7c62bb0137a159ad57efb7b06d.

sorry cedric. this totally broke efl build. eo/eolian etc. is not
built before evas for example and so build totally falls apart.

yes - it makes no sense that this one change would cause that. it
doesnt make sense. but it did. :(

8 years agoecore: use restartable event for main loop event.
Cedric BAIL [Wed, 20 Apr 2016 22:54:18 +0000 (15:54 -0700)]
ecore: use restartable event for main loop event.

8 years agoeolian: add tests for restartable event.
Cedric BAIL [Wed, 20 Apr 2016 22:53:33 +0000 (15:53 -0700)]
eolian: add tests for restartable event.

8 years agoeolian: add support for restartable event.
Cedric BAIL [Wed, 20 Apr 2016 22:53:16 +0000 (15:53 -0700)]
eolian: add support for restartable event.

8 years agoeo: let's check that this nested restarted event are working somehow.
Cedric BAIL [Wed, 20 Apr 2016 22:52:41 +0000 (15:52 -0700)]
eo: let's check that this nested restarted event are working somehow.

8 years agoeo: add support for restartable event inside nested call.
Cedric BAIL [Wed, 20 Apr 2016 22:50:46 +0000 (15:50 -0700)]
eo: add support for restartable event inside nested call.

The idea is that when you are processing those events from within
they won't call twice any of the event until all of them are processed
at least once (Or one of them did return EINA_FALSE).

8 years agoedje: build again edje files needed for tests
Cedric BAIL [Wed, 20 Apr 2016 22:19:44 +0000 (15:19 -0700)]
edje: build again edje files needed for tests

8 years agotests: fix another redefine of Ecore_Cb build break
Stefan Schmidt [Wed, 20 Apr 2016 13:31:13 +0000 (15:31 +0200)]
tests: fix another redefine of Ecore_Cb build break

8 years agoecore-wl(2): add copyright headers (MIT) from weston
Mike Blumenkrantz [Wed, 20 Apr 2016 12:45:09 +0000 (08:45 -0400)]
ecore-wl(2): add copyright headers (MIT) from weston

these files were created containing code which was very obviously copied from
weston. when copying code, copyright headers must also be copied in order to
comply with licenses.

8 years agoEcore: Use calloc() to initialize Ecore_Event_Mouse_XXXX
Duna Oh [Wed, 20 Apr 2016 12:33:20 +0000 (08:33 -0400)]
Ecore: Use calloc() to initialize Ecore_Event_Mouse_XXXX

Summary:
To ensure initialize all fields of Ecore_Event_Mouse_XXX,
use calloc() instead of malloc().

Test Plan: N/A

Reviewers: gwanglim, cedric, raster, devilhorns, ManMower, zmike

Subscribers: jpeg, input.hacker, JHyun

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

8 years agoEolian cxx tests: don't redefine Ecore_Cb.
Tom Hacohen [Wed, 20 Apr 2016 11:51:37 +0000 (12:51 +0100)]
Eolian cxx tests: don't redefine Ecore_Cb.

8 years agoElm: Don't install box, table and grid eo files
Jean-Philippe Andre [Wed, 20 Apr 2016 11:08:49 +0000 (20:08 +0900)]
Elm: Don't install box, table and grid eo files

Box, Table and Grid now belong to legacy land.
Their Evas counterparts are already not installed anymore,
and Efl.Ui.Box and Efl.Ui.Grid are here to replace those
widgets (note: code was initially copy & pasted).

This should fix installed EO files consistency.

8 years agodocs: eldbus: add class and property descriptions for eldbus model files
Stefan Schmidt [Wed, 20 Apr 2016 10:45:09 +0000 (12:45 +0200)]
docs: eldbus: add class and property descriptions for eldbus model files

Also fix some existing docs while being there.

8 years agodocs: eio: add class description for eio model class
Stefan Schmidt [Wed, 20 Apr 2016 10:13:24 +0000 (12:13 +0200)]
docs: eio: add class description for eio model class

8 years agodocs: edje_edit: add class description
Stefan Schmidt [Tue, 19 Apr 2016 15:11:53 +0000 (17:11 +0200)]
docs: edje_edit: add class description

8 years agoeo base: names - add finding functions to fund by name
Carsten Haitzler (Rasterman) [Wed, 20 Apr 2016 09:26:35 +0000 (18:26 +0900)]
eo base: names - add finding functions to fund by name

this finds child objects by walking the child tree searching children
by using the search string which can be name, class:name and both
class and name can also be a glob.

@feature

8 years agoEcore eo: Resolve duplicate Ecore_Cb definition.
Tom Hacohen [Wed, 20 Apr 2016 09:11:21 +0000 (10:11 +0100)]
Ecore eo: Resolve duplicate Ecore_Cb definition.

8 years agoEfl: Add Efl.Pack interfaces and Efl.Ui Box and Grid
Jean-Philippe Andre [Wed, 20 Apr 2016 04:51:13 +0000 (13:51 +0900)]
Efl: Add Efl.Pack interfaces and Efl.Ui Box and Grid

The Pack interface is meant to unify all containers APIs.
Box and Grid a two new widgets implementing this new API. Box
has a new layout function that seems to correspond more to developers
expectations.

The Pack interface also provides a way to implement custom layout
functions, by the way of layout engine classes.

Still TODO:
- Named/Slot containers API with parts (eg. Elm.Layout, Edje.Object)
- Unify those with Pack (naming to be argued over: pack, content, ...)
- Deprecate (remove out of EO land) old containers
- Implement proper layout functions for Grid and fix Box.Flow

@feature

8 years agoEfl.Pack: Rename methods and properties
Jean-Philippe Andre [Tue, 19 Apr 2016 08:43:28 +0000 (17:43 +0900)]
Efl.Pack: Rename methods and properties

- Children are now contents
- Efl.Pack_Layout is now a separate class and
  merges Pack_Engine.
- Removed dumb class Efl.Pack_Item
- Updated docs
- Added pack_ or grid_ prefixes to some methods

8 years agoelm_text/box: Use real widgets to show off box layout
Jean-Philippe Andre [Tue, 19 Apr 2016 02:45:34 +0000 (11:45 +0900)]
elm_text/box: Use real widgets to show off box layout

8 years agoEfl.Ui.Grid: Implement custom layout functions
Jean-Philippe Andre [Mon, 18 Apr 2016 11:17:24 +0000 (20:17 +0900)]
Efl.Ui.Grid: Implement custom layout functions

Untested yet. Will need to add the common 3 classes:
- standard
- homogenous
- homogenous max_size

And then implement a true custom layout function, that
respects weights in a certain manner (need to define it
clearly).

8 years agoUi.Box: Fix flow layout
Jean-Philippe Andre [Mon, 18 Apr 2016 04:54:46 +0000 (13:54 +0900)]
Ui.Box: Fix flow layout

Set align, fix usage with eo_add(EFL_UI_BOX_FLOW_CLASS).

8 years agoEfl.Ui.Box: Add pack_align property
Jean-Philippe Andre [Fri, 15 Apr 2016 08:06:14 +0000 (17:06 +0900)]
Efl.Ui.Box: Add pack_align property

While at first I wanted to remove the box_align / table_align
properties, it ends up being a necessary value in some cases.

8 years agoEfl.Ui.Grid: Fix new API behaviour
Jean-Philippe Andre [Thu, 14 Apr 2016 07:41:57 +0000 (16:41 +0900)]
Efl.Ui.Grid: Fix new API behaviour

This fixes the linear API usage with a table.
TODO:
- remove internal table (as it doesn't support layout funcs)
- implement multiple layout functions (regular, homogenous, ...)

8 years agoElm_test/Grid: Add linear API test for Efl.Ui.Grid
Jean-Philippe Andre [Thu, 14 Apr 2016 05:12:16 +0000 (14:12 +0900)]
Elm_test/Grid: Add linear API test for Efl.Ui.Grid

At this point, it proves that the grid API does not work.
Some things still need to be implemented or fixed.

8 years agoElm_test/Ui.Box: Implement example custom layout function
Jean-Philippe Andre [Thu, 14 Apr 2016 03:00:04 +0000 (12:00 +0900)]
Elm_test/Ui.Box: Implement example custom layout function

This shows how to implement a layout function, with the
required Eo class boilerplate (note: could probably be
simpler with the appropriate macros, or a better solution
to create classes on the fly in C).

The layout function itself is awful, but shows that "it works".

8 years agoElm_test: Add test case for Ui.Grid
Jean-Philippe Andre [Thu, 14 Apr 2016 02:12:44 +0000 (11:12 +0900)]
Elm_test: Add test case for Ui.Grid

Right now the proper layout functions for Ui.Grid are not
implemented, so most controls don't work. This tests that the
grid works fine as a table.

8 years agoEfl.Ui.Box: Implement flow layouts
Jean-Philippe Andre [Tue, 12 Apr 2016 09:16:20 +0000 (18:16 +0900)]
Efl.Ui.Box: Implement flow layouts

This reuses the Evas.Box code, since we are still using the
box internally. The flow layout function is far from perfect
(it works well only with items of same height).

This shows how to use specific layouts provided by EFL.

8 years agoEfl.Ui.Box: Implement way to override layout function
Jean-Philippe Andre [Tue, 12 Apr 2016 07:20:54 +0000 (16:20 +0900)]
Efl.Ui.Box: Implement way to override layout function

So, since we don't have function pointers, all the solutions
to reimplementing the layout function are quite convoluted:

1. use events
2. reimplement layout func
3. use an extra object
4. use a generic class (non instanciated)

Promises don't apply here (layout will run multiple times).

Problems:

1. Multiple event callbacks will be called, resulting in
   potential performance impact, extra events, etc...
   Also, there is no way to define standard implementations
   that would be provided by the framework.

2. Reimplementation of a function requires extra EO work
   (create an EO class, etc...), doesn't allow on-the-fly
   change of the layout method.

3. Probably the best solution is to have an object implementing
   the layout. But this means creating an extra object along
   with the container.

4. To avoid the extra object, use a class, and reimplement
   a @class function. This unfortunately requires extra
   EO work.

Solution 4. has been selected, but it's not very nice...

8 years agoElm_test: Add basic test case for the new box api
Jean-Philippe Andre [Tue, 12 Apr 2016 05:13:19 +0000 (14:13 +0900)]
Elm_test: Add basic test case for the new box api

8 years agoElm: Compile in box and grid
Jean-Philippe Andre [Tue, 12 Apr 2016 05:11:37 +0000 (14:11 +0900)]
Elm: Compile in box and grid

Ui.Grid is definitely not complete.
Ui.Box still needs a few adjustments:
- alternative layout
- aspect ratio support
- RTL support
- remove evas box

8 years agoEfl.Ui.Grid: Add implementation of a grid/table
Jean-Philippe Andre [Tue, 12 Apr 2016 05:10:47 +0000 (14:10 +0900)]
Efl.Ui.Grid: Add implementation of a grid/table

This is only a partial implementation, work in progress.

The grid object should be a replacement for evas and elementary's
table and grid. Only the layout of items inside the container
is different, otherwise the API should be the same.

For now, this widget is based on an evas table but the full
layout logic will need to be reimplemented, eventually.

@feature

8 years agoEfl.Ui.Box: Add implementation of a simple box
Jean-Philippe Andre [Tue, 12 Apr 2016 05:10:05 +0000 (14:10 +0900)]
Efl.Ui.Box: Add implementation of a simple box

This should be the only linear packing container.
This replaces: evas box and elm box.

Edje box needs to be kept around for compatibility,
but it stays an EDC object only (for apps).

Lots of things are still to be fleshed out in this
box implementation:
- Simplify smart object / elm widget code
- Maybe stop using evas object box altogether
- Implement other layout strategies

@feature

8 years agoEfl: Add skeletton for new containers "Pack" API
Jean-Philippe Andre [Tue, 12 Apr 2016 05:08:35 +0000 (14:08 +0900)]
Efl: Add skeletton for new containers "Pack" API

I chose the name "pack" instead of containers because it
is shorter, and allows out-of-the-box short C names like
efl_pack_end() instead of efl_container_pack_end().

All Pack interfaces will use the same efl_pack eo prefix.

This is still work in progress.

@feature

8 years agowayland_shm: Remove debug detritus
Derek Foreman [Tue, 19 Apr 2016 20:38:58 +0000 (15:38 -0500)]
wayland_shm: Remove debug detritus

Should've been removed before push.  Oops.

8 years agowayland_shm: Add dmabuf support
Derek Foreman [Fri, 15 Apr 2016 17:34:07 +0000 (12:34 -0500)]
wayland_shm: Add dmabuf support

This adds a separate backend to the "shm" engine that allows allocation
of buffers via libdrm that can be turned into dmabuf handles and used
with the wayland dmabuf extension.

Currently only the intel buffer manager is supported.

The benefit of dmabuf buffers is that they don't require a texture upload
like shm buffers do, and when we have plane support they can be dropped
directly into a plane without a memcpy.

8 years agostatic_libs: Add libdrm headers (for wayland_shm)
Derek Foreman [Tue, 19 Apr 2016 18:42:20 +0000 (13:42 -0500)]
static_libs: Add libdrm headers (for wayland_shm)

wayland_shm's dmabuf implementation needs acess to libdrm headers for
doing GPU specific memory allocations.  We search for these libraries
at runtime with dlopen, so we don't need to find them at build time,
however certain struct definitions and defines are still required.

8 years agowayland_shm: Refactor surface creation
Derek Foreman [Fri, 15 Apr 2016 15:38:28 +0000 (10:38 -0500)]
wayland_shm: Refactor surface creation

Split this into two parts, one that makes the base surface, one that
calls the potential back ends.

Once the dmabuf backend is added this will allow a fallback path to
re-initialize the surface as wl_shm if dmabuf fails.

8 years agowayland_shm: pass engine info to shm_surface_create
Derek Foreman [Fri, 15 Apr 2016 15:32:29 +0000 (10:32 -0500)]
wayland_shm: pass engine info to shm_surface_create

Gratuitous change to pass less parameters and make some code prettier.

8 years agowayland_shm: Pull the damage stuff out of evas_shm
Derek Foreman [Fri, 15 Apr 2016 15:29:14 +0000 (10:29 -0500)]
wayland_shm: Pull the damage stuff out of evas_shm

This doesn't really care what the buffers were allocated with, so
let's make this chunk of code useful to both the shm method and the
upcoming dmabuf one

8 years agowayland_shm: Minor clean up of _evas_shm_surface_post
Derek Foreman [Wed, 13 Apr 2016 18:58:15 +0000 (13:58 -0500)]
wayland_shm: Minor clean up of _evas_shm_surface_post

Some gratuitous cosmetic fixes

8 years agowayland_shm: Don't pass num_buff to reconfigure
Derek Foreman [Tue, 12 Apr 2016 20:46:52 +0000 (15:46 -0500)]
wayland_shm: Don't pass num_buff to reconfigure

We can't really reconfigure the number of buffers after they're created,
there's nothing above us that would try to do it...

8 years agowayland_shm: Gratuitous code simplification
Derek Foreman [Tue, 12 Apr 2016 18:03:37 +0000 (13:03 -0500)]
wayland_shm: Gratuitous code simplification

Refactor evas_outbuf_setup a bit so there's only one call to
_evas_shm_surface_create.

Also makes the NULL return on unhandled rotation a lot more obvious.

8 years agowayland_shm: Pass Evas_Engine_Info_Wayland_Shm directly to setup functions
Derek Foreman [Tue, 12 Apr 2016 17:39:45 +0000 (12:39 -0500)]
wayland_shm: Pass Evas_Engine_Info_Wayland_Shm directly to setup functions

We pretty much pass all its contents anyway.

8 years agowayland_shm: Add dmabuf to engine info
Derek Foreman [Mon, 11 Apr 2016 21:10:33 +0000 (16:10 -0500)]
wayland_shm: Add dmabuf to engine info

Get the dmabuf protocol object from ecore_wl2 and store it in engine info

8 years agoecore_wl2: Add API to get dmabuf protocol object
Derek Foreman [Mon, 11 Apr 2016 21:09:12 +0000 (16:09 -0500)]
ecore_wl2: Add API to get dmabuf protocol object

8 years agowayland_shm: Abstract the actual shm operations
Derek Foreman [Mon, 11 Apr 2016 20:39:09 +0000 (15:39 -0500)]
wayland_shm: Abstract the actual shm operations

Make the Surface carry function pointers and the shm surface create
function set them.  This refactor makes implementing dmabuf operations
simpler.

8 years agowayland_shm: Remove outbuf_reconfigure function pointer
Derek Foreman [Mon, 11 Apr 2016 20:17:13 +0000 (15:17 -0500)]
wayland_shm: Remove outbuf_reconfigure function pointer

We only ever call it from one place, and we only ever initialize it
to one value, so there's no need for a function pointer.

8 years agowayland_shm: Remove unused dx, dy params from resize functions
Derek Foreman [Mon, 11 Apr 2016 20:12:29 +0000 (15:12 -0500)]
wayland_shm: Remove unused dx, dy params from resize functions

We don't appear to actually use these for anything except long term storage

8 years agowayland_shm: Drop ifdefs around damage_buffer
Derek Foreman [Mon, 11 Apr 2016 15:35:15 +0000 (10:35 -0500)]
wayland_shm: Drop ifdefs around damage_buffer

We now depend on wayland 1.10.0 so damage_buffer is always going to be
present in the headers - we no longer need ifdef checks.

8 years agobuild: Bump wayland version dependency
Derek Foreman [Mon, 11 Apr 2016 15:34:23 +0000 (10:34 -0500)]
build: Bump wayland version dependency

Anything that needed wayland now needs wayland 1.10.0

8 years agowayland_shm: Make new Surface abstraction to wrap Shm_Surface
Derek Foreman [Fri, 8 Apr 2016 20:11:21 +0000 (15:11 -0500)]
wayland_shm: Make new Surface abstraction to wrap Shm_Surface

Wraps the Shm_Surface allocator in a new Surface type that will
potentially use different allocators, such as dmabuf in a future commit.

8 years agoecore_wl2: Bind dmabuf global if available
Derek Foreman [Fri, 8 Apr 2016 20:17:00 +0000 (15:17 -0500)]
ecore_wl2: Bind dmabuf global if available

Bind the dmabuf global so we can make use of it later.

8 years agoecore_wl2: Add generated dmabuf files
Derek Foreman [Fri, 8 Apr 2016 20:09:37 +0000 (15:09 -0500)]
ecore_wl2: Add generated dmabuf files

This adds the framework for the dmabuf protocol for wayland - the files
are generated with wayland-scanner.

8 years agowayland_shm: Move Shm private structures into evas_shm
Derek Foreman [Fri, 8 Apr 2016 20:04:33 +0000 (15:04 -0500)]
wayland_shm: Move Shm private structures into evas_shm

Refactor all the shm specific stuff into evas_shm so it can better
co-exist with upcoming dmabuf allocations

8 years agowayland_shm: Remove flags
Derek Foreman [Fri, 8 Apr 2016 19:51:40 +0000 (14:51 -0500)]
wayland_shm: Remove flags

We only used this for resize, and didn't actually even need it then.

8 years agowayland_shm: Don't use number of buffers in swap mode calculation
Derek Foreman [Fri, 8 Apr 2016 19:28:56 +0000 (14:28 -0500)]
wayland_shm: Don't use number of buffers in swap mode calculation

The number of allocated buffers shouldn't change a thing...

8 years agowayland_shm: Return buffer age from shm_surface_assign
Derek Foreman [Fri, 8 Apr 2016 18:24:22 +0000 (13:24 -0500)]
wayland_shm: Return buffer age from shm_surface_assign

This makes refactoring the Surface abstraction a little easier.

8 years agoRevert "Set the name for table, box items"
Cedric BAIL [Tue, 19 Apr 2016 18:56:17 +0000 (11:56 -0700)]
Revert "Set the name for table, box items"

This reverts commit 6f7608befd006f8076d237bee5d17c9e9e1e09ac.

Item in table and box do not need names as they have an index. This
is breaking ABI for edje application that rely on getting the index
properly when a signal is emitted. To be precise, this did break
elemines.

8 years agoeo: fix borkage.
Cedric BAIL [Tue, 19 Apr 2016 18:28:36 +0000 (11:28 -0700)]
eo: fix borkage.

8 years agoMerge strict eolian type checking branch.
Tom Hacohen [Tue, 19 Apr 2016 16:16:20 +0000 (17:16 +0100)]
Merge strict eolian type checking branch.

In this branch I turned on strict eolian type checking and silenced all
of the errors that came to be because of it (fixed some).

I did it so new code will not introduce new errors. We've had more
errors introduced recently, and I believe it's because of ignorance. No
more excuses, compilation will now fail if you fail to handle types
correctly.

We need to fix my workarounds. Many of the .eo files that I worked
around on need to be removed anyway, and a lot of the rest need a lot of
changes, so there was no point wasting my time into fixing it properly.

8 years agoEolian: Turn on strict type checking.
Tom Hacohen [Tue, 19 Apr 2016 16:04:33 +0000 (17:04 +0100)]
Eolian: Turn on strict type checking.

Thanks to q66 for the code.
I'm stealing credit here because:
1. I'm lazy.
2. He's lazy and doesn't deserve it.

8 years agoElm glview: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 16:02:27 +0000 (17:02 +0100)]
Elm glview: Fix eo type errors.

8 years agoElm box: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:59:36 +0000 (16:59 +0100)]
Elm box: Fix eo type errors.

8 years agoElm web: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:58:36 +0000 (16:58 +0100)]
Elm web: Fix eo type errors.

8 years agoElm app server view: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:57:22 +0000 (16:57 +0100)]
Elm app server view: Fix eo type errors.

8 years agoElm slideshow: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:57:00 +0000 (16:57 +0100)]
Elm slideshow: Fix eo type errors.

8 years agoElm app client view: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:55:52 +0000 (16:55 +0100)]
Elm app client view: Fix eo type errors.

8 years agoElm app server: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:54:50 +0000 (16:54 +0100)]
Elm app server: Fix eo type errors.

8 years agoElm gengrid: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:52:47 +0000 (16:52 +0100)]
Elm gengrid: Fix eo type errors.

8 years agoElm map: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:51:36 +0000 (16:51 +0100)]
Elm map: Fix eo type errors.

8 years agoElm calendar: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:50:09 +0000 (16:50 +0100)]
Elm calendar: Fix eo type errors.

8 years agoElm eo: Make Eina_Compare_Cb accessible to all widgets.
Tom Hacohen [Tue, 19 Apr 2016 15:49:32 +0000 (16:49 +0100)]
Elm eo: Make Eina_Compare_Cb accessible to all widgets.

8 years agoElm sys notify interface: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:47:21 +0000 (16:47 +0100)]
Elm sys notify interface: Fix eo type errors.

8 years agoElm prefs: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:46:34 +0000 (16:46 +0100)]
Elm prefs: Fix eo type errors.

8 years agoElm app client: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:44:33 +0000 (16:44 +0100)]
Elm app client: Fix eo type errors.

8 years agoEo eina types: Add Eina.Value.
Tom Hacohen [Tue, 19 Apr 2016 15:42:19 +0000 (16:42 +0100)]
Eo eina types: Add Eina.Value.

8 years agoElm multibutton entry: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:40:43 +0000 (16:40 +0100)]
Elm multibutton entry: Fix eo type errors.

8 years agoElm app server: Fix eo type errors.
Tom Hacohen [Tue, 19 Apr 2016 15:39:25 +0000 (16:39 +0100)]
Elm app server: Fix eo type errors.