platform/upstream/efl.git
8 years agoeolian-cxx: Fix C++ compilation for lacking .eo files being generated
Felipe Magno de Almeida [Mon, 13 Jun 2016 04:17:18 +0000 (01:17 -0300)]
eolian-cxx: Fix C++ compilation for lacking .eo files being generated

8 years agoFDO icons: improve looks of some Actions icons
Dave Andreoli [Sun, 12 Jun 2016 22:16:28 +0000 (00:16 +0200)]
FDO icons: improve looks of some Actions icons

following a 16x16 grid to make them render better at small sizes

8 years agoFDO icons: added International flags
Dave Andreoli [Sun, 12 Jun 2016 19:35:47 +0000 (21:35 +0200)]
FDO icons: added International flags

8 years agoFDO icons: complete the Status category
Dave Andreoli [Sun, 12 Jun 2016 15:33:24 +0000 (17:33 +0200)]
FDO icons: complete the Status category

...4 icons still missing

8 years agoFDO icons: complete the Devices category
Dave Andreoli [Sun, 12 Jun 2016 12:15:54 +0000 (14:15 +0200)]
FDO icons: complete the Devices category

8 years agoFDO icons: complete the Actions category
Dave Andreoli [Sun, 12 Jun 2016 11:18:47 +0000 (13:18 +0200)]
FDO icons: complete the Actions category

8 years agoFDO icons: complete the Emblems category
Dave Andreoli [Sun, 12 Jun 2016 08:23:05 +0000 (10:23 +0200)]
FDO icons: complete the Emblems category

8 years agoeina: Add support for eina_safepointer in promises
Felipe Magno de Almeida [Sat, 11 Jun 2016 01:32:07 +0000 (22:32 -0300)]
eina: Add support for eina_safepointer in promises

8 years agoeio: Removed wrong attribution to promise vtable from Eio
Felipe Magno de Almeida [Sat, 11 Jun 2016 01:31:46 +0000 (22:31 -0300)]
eio: Removed wrong attribution to promise vtable from Eio

8 years agoelementary: merge code test widgets to main test app
Andy Williams [Sat, 11 Jun 2016 10:59:34 +0000 (11:59 +0100)]
elementary: merge code test widgets to main test app

8 years agoeio: fixed Eina_Value_Type in model property mtime
Larry Jr [Fri, 10 Jun 2016 22:24:50 +0000 (19:24 -0300)]
eio: fixed Eina_Value_Type in model property mtime

8 years agoeina: add forgotten file for distcheck.
Cedric BAIL [Fri, 10 Jun 2016 21:53:36 +0000 (14:53 -0700)]
eina: add forgotten file for distcheck.

8 years agoeina: reenable all tests that where wrongfully disabled.
Cedric BAIL [Fri, 10 Jun 2016 21:05:41 +0000 (14:05 -0700)]
eina: reenable all tests that where wrongfully disabled.

8 years agoeina: add tests suite for Eina_Safepointer.
Cedric BAIL [Fri, 10 Jun 2016 20:48:38 +0000 (13:48 -0700)]
eina: add tests suite for Eina_Safepointer.

8 years agoeina: add generic infrastructure for a Eina_Safepointer
Cedric BAIL [Fri, 10 Jun 2016 20:42:19 +0000 (13:42 -0700)]
eina: add generic infrastructure for a Eina_Safepointer

This is heavily inspired from Eo_Id infrastructure. Main change
are that the lower bit are always guaranteed to be zero and ignored
by all function. Also it may be a little bit less efficient in some
case, but we will tune it once we have real life usage of it.

Eo won't be migrated for 1.18 to it as Eo_Id is deeply integrated
and it is quite risky to touch it so close from a freeze. This can
wait.

8 years agoedje: this API is BETA and only available to legacy for now.
Cedric BAIL [Thu, 9 Jun 2016 17:07:43 +0000 (10:07 -0700)]
edje: this API is BETA and only available to legacy for now.

8 years agoedje: creation of scene in edje-3d
perepelits.m [Thu, 9 Jun 2016 17:05:21 +0000 (10:05 -0700)]
edje: creation of scene in edje-3d

Summary: Creation of scene and root node in edje-3d with all 3D-parts of edje object. Add some new methods to edje_util.c

Reviewers: raster, Hermet, jpeg, cedric

Reviewed By: cedric

Subscribers: artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary: don't use an unspecified amount of arguments
Jean Guyomarc'h [Fri, 10 Jun 2016 20:26:40 +0000 (22:26 +0200)]
elementary: don't use an unspecified amount of arguments

8 years agoexamples: eolian_cxx: package extra headers into dist.
Stefan Schmidt [Fri, 10 Jun 2016 13:36:02 +0000 (15:36 +0200)]
examples: eolian_cxx: package extra headers into dist.

Without them examples are not building from tarball distribution

8 years agoexamples: elementary: package needed headers into dist
Stefan Schmidt [Fri, 10 Jun 2016 13:35:34 +0000 (15:35 +0200)]
examples: elementary: package needed headers into dist

Without them examples are not building from tarball distribution

8 years agoexamples: edje: package po/mo data files into dist
Stefan Schmidt [Fri, 10 Jun 2016 13:34:24 +0000 (15:34 +0200)]
examples: edje: package po/mo data files into dist

Without them examples are not building from tarball distribution.

8 years agoeolian: remove the unnecessary subtypes API
Daniel Kolesa [Fri, 10 Jun 2016 13:28:19 +0000 (14:28 +0100)]
eolian: remove the unnecessary subtypes API

Inner type can now be retrieved as a base type of the type.
If the type has two inner types or more, there is a new API that allows you to
get the second inner type by calling it on the first one (same would apply to
getting third via second etc.).

This API is simpler to use and doesn't require an iterator.

8 years agobuild: split EXTRA_DIST files in src/ off from DISTFILES and handle separately
Stefan Schmidt [Wed, 8 Jun 2016 08:26:06 +0000 (10:26 +0200)]
build: split EXTRA_DIST files in src/ off from DISTFILES and handle separately

This is again to avoid the "Argument list too long" error we are hitting more and
more now. Given we just merged elementary, emotion generic players, evas generic
loaders and elm_code it is not surprising we are hitting it again.

This time the number of files being hold in DISTFILES has just grown to big so a
make dist was no longer possible. If one looks at what the DISTFILES variable
from automake holds you can image it grows a lot with all the source files plus
generated files we have in tree now.

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

To cut off a big chunk but still keep all the other automagic in place for
SOURCE files I went and renamed the EXTRA_DIST in src/ to EXTRA_DIST2 and handle
the files in a dist-hook now.

Another thing to note here is that this also only happens as we have the one big
Makefile with includes. If we go back to per directory Makefiles this problem
should vanish as well. In any case we need a solution for 1.18 now and this is
what I have to offer. If you have a cleaner solution in mind feel welcome to
test it out and if everything we need keeps working (make, make examples,
make check, make benchmark, make dist and make distcheck) go ahead.

8 years agoEvas: Rename Zoomable_Interface to Efl.Ui.Zoomable
Jean-Philippe Andre [Fri, 10 Jun 2016 09:02:03 +0000 (18:02 +0900)]
Evas: Rename Zoomable_Interface to Efl.Ui.Zoomable

8 years agoEvas: Rename Selectable_Interface to Efl.Ui.Selectable
Jean-Philippe Andre [Fri, 10 Jun 2016 08:58:17 +0000 (17:58 +0900)]
Evas: Rename Selectable_Interface to Efl.Ui.Selectable

8 years agoEvas: Rename Scrollable_Interface to Efl.Ui.Scrollable
Jean-Philippe Andre [Fri, 10 Jun 2016 08:51:20 +0000 (17:51 +0900)]
Evas: Rename Scrollable_Interface to Efl.Ui.Scrollable

8 years agoEvas: Rename Draggable_Interface to Efl.Ui.Draggable
Jean-Philippe Andre [Fri, 10 Jun 2016 08:42:03 +0000 (17:42 +0900)]
Evas: Rename Draggable_Interface to Efl.Ui.Draggable

8 years agoEvas: Rename Clickable_Interface to Efl.Ui.Clickable
Jean-Philippe Andre [Fri, 10 Jun 2016 08:29:40 +0000 (17:29 +0900)]
Evas: Rename Clickable_Interface to Efl.Ui.Clickable

Event prefix is efl_ui:
 EFL_UI_EVENT_CLICKED
 EFL_UI_EVENT_CLICKED_DOUBLE
 ...

The event prefix could be reduced to efl but I personally
prefer with UI.

8 years agoEvas: Fix previous commit
Jean-Philippe Andre [Fri, 10 Jun 2016 08:22:13 +0000 (17:22 +0900)]
Evas: Fix previous commit

Thanks @ami

8 years agoLabel: Fix extra memory allocation of edje message.
Yeshwanth Reddivari [Fri, 10 Jun 2016 08:06:57 +0000 (13:36 +0530)]
Label: Fix extra memory allocation of edje message.

Summary: Edje_Message_Float_Set struct is already allocating double and hence no need to add extra double allocation.

Reviewers: Hermet, jpeg, cedric, singh.amitesh

Reviewed By: singh.amitesh

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

8 years agoEvas: Remove Evas.Signal_Interface
Jean-Philippe Andre [Fri, 10 Jun 2016 08:08:05 +0000 (17:08 +0900)]
Evas: Remove Evas.Signal_Interface

It was basically empty.

8 years agoEvas: Rename Evas.Filter to Efl.Canvas.Filter.Internal
Jean-Philippe Andre [Fri, 10 Jun 2016 06:55:28 +0000 (15:55 +0900)]
Evas: Rename Evas.Filter to Efl.Canvas.Filter.Internal

Trying to hide the name Evas from the public EO API...

8 years agoEfl: Make size_hint_restricted_get public, set protected
Jean-Philippe Andre [Fri, 10 Jun 2016 06:10:43 +0000 (15:10 +0900)]
Efl: Make size_hint_restricted_get public, set protected

This is now possible thanks to 375179b47f (T3645).

8 years agoGrid: Fix static grid when size was not set
Jean-Philippe Andre [Fri, 10 Jun 2016 06:01:00 +0000 (15:01 +0900)]
Grid: Fix static grid when size was not set

Since we can change a standard grid into a static grid by
changing the engine, it is necessary to fix the virtual size
first.

8 years agotests: Add test case for Grid.Static
Jean-Philippe Andre [Fri, 10 Jun 2016 05:37:17 +0000 (14:37 +0900)]
tests: Add test case for Grid.Static

This is copy of test_grid.c converted to EO.

8 years agoEfl.Ui.Grid.Static: Add implementation of simple grid
Jee-Yong Um [Fri, 10 Jun 2016 04:29:33 +0000 (13:29 +0900)]
Efl.Ui.Grid.Static: Add implementation of simple grid

Summary:
Efl.Ui.Grid.Static uses virtual coordinates when arranging
its child objects. (like Evas.Grid)

Reviewers: jpeg

Subscribers: woohyun, cedric

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

8 years agoEfl: Rename event flags to processed and scrolling
Jean-Philippe Andre [Fri, 10 Jun 2016 04:10:22 +0000 (13:10 +0900)]
Efl: Rename event flags to processed and scrolling

From on_hold and on_scroll

8 years agoEvas: Rename Evas.Image into Efl.Canvas.Image.Internal
Jean-Philippe Andre [Thu, 9 Jun 2016 08:30:05 +0000 (17:30 +0900)]
Evas: Rename Evas.Image into Efl.Canvas.Image.Internal

Make it abstract.
And add Evas.Image as a legacy-only class.

8 years agowin: Add new API win_name_get (EO and legacy)
Jean-Philippe Andre [Fri, 10 Jun 2016 04:00:51 +0000 (13:00 +0900)]
win: Add new API win_name_get (EO and legacy)

I see no reason to have a set and no get.

@feature

8 years agowin: Add legacy elm_win_type_get
Jean-Philippe Andre [Fri, 10 Jun 2016 03:59:45 +0000 (12:59 +0900)]
win: Add legacy elm_win_type_get

This was present in earlier releases.

8 years agoeina: Smudge magic value on promise deletion
Lauro Moura [Thu, 9 Jun 2016 22:11:07 +0000 (19:11 -0300)]
eina: Smudge magic value on promise deletion

8 years agoeina: Remove value type promises
Lauro Moura [Wed, 8 Jun 2016 22:33:29 +0000 (19:33 -0300)]
eina: Remove value type promises

All values in promises are now considered as by-pointer.

8 years agoeolian: remove support for value-type promises
Lauro Moura [Wed, 8 Jun 2016 02:44:13 +0000 (23:44 -0300)]
eolian: remove support for value-type promises

8 years agoeina: Fixes on promises behavior when cancelling
Lauro Moura [Tue, 7 Jun 2016 17:05:15 +0000 (14:05 -0300)]
eina: Fixes on promises behavior when cancelling

- Free the cancel callbacks on promise delete
- Cancelling an ended promise should be a nop
- More tests to increase coverage

8 years agoeolian_cxx: Fix build after scope_get changes
Lauro Moura [Thu, 9 Jun 2016 21:49:27 +0000 (18:49 -0300)]
eolian_cxx: Fix build after scope_get changes

8 years agoecore_wl2: Fix keyboard repeat handling
Derek Foreman [Thu, 9 Jun 2016 17:43:50 +0000 (12:43 -0500)]
ecore_wl2: Fix keyboard repeat handling

Recent timer changes broke keyboard repeat under wayland - while that
will probably be fixed shortly, this should be more robust and
more accurate anyway.

8 years agoeolian: support @protected for accessors (get/set)
Daniel Kolesa [Thu, 9 Jun 2016 15:54:43 +0000 (16:54 +0100)]
eolian: support @protected for accessors (get/set)

Previously it was only possible to set it for the whole property.

@feature

8 years agoelm: fix efl_ui_flip header name
Stefan Schmidt [Thu, 9 Jun 2016 15:43:28 +0000 (17:43 +0200)]
elm: fix efl_ui_flip header name

I itroduced this typo on my last commit. Thanks Cedric for spotting it.

8 years agopo: update po files
Stefan Schmidt [Thu, 9 Jun 2016 14:11:45 +0000 (16:11 +0200)]
po: update po files

8 years agoelm: efl_ui_flip: add fl_ui_flip_eo.h redirection header lost during rename
Stefan Schmidt [Thu, 9 Jun 2016 13:03:22 +0000 (15:03 +0200)]
elm: efl_ui_flip: add fl_ui_flip_eo.h redirection header lost during rename

When this was renamed from elm_flip to efl_ui_flip the _eo.h header was lost
which is needed as redirection. This broke for me in distcheck when the .eo.h
was going to get generated. It also aligns it with the other headers we have
here.

8 years agoeolian: fix incorrect doxygen param generation
Daniel Kolesa [Thu, 9 Jun 2016 13:39:06 +0000 (14:39 +0100)]
eolian: fix incorrect doxygen param generation

The first param on methods was skipped for some reason.

@fix

8 years agoevas-wayland-egl: Make sure surface pointer is valid before using it
Benjamin Jacobs [Thu, 9 Jun 2016 13:31:40 +0000 (09:31 -0400)]
evas-wayland-egl: Make sure surface pointer is valid before using it

Summary:
Prevents the uninitialized surface pointer to be used when
glsym_evgl_native_surface_buffer_get is NULL.

Reviewers: devilhorns

Subscribers: cedric, jpeg

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

@fix

8 years agojust a small indent change
Dave Andreoli [Thu, 9 Jun 2016 10:54:26 +0000 (12:54 +0200)]
just a small indent change

8 years agopoppler: enable again compilation for poppler > 0.40
Dave Andreoli [Thu, 9 Jun 2016 10:45:01 +0000 (12:45 +0200)]
poppler: enable again compilation for poppler > 0.40

I'm quite sure my last commit also fix the issue reported by
jpeg. I do not have poppler > 0.40 on my system, so please
report any issue.

8 years agoSimplify and fix poppler discovery code
Dave Andreoli [Thu, 9 Jun 2016 10:33:10 +0000 (12:33 +0200)]
Simplify and fix poppler discovery code

Now configure should abort in case poppler is not found (unless explicitly disabled)

I'm still not sure about the hard "poppler < 0.40" requirement
added by jpeg yesterday, we should fix the issue instead of
tell "we don't support it"

8 years agoTests: Convert Ui.Box and Ui.Grid to Efl.Gfx APIs
Jean-Philippe Andre [Thu, 9 Jun 2016 07:42:09 +0000 (16:42 +0900)]
Tests: Convert Ui.Box and Ui.Grid to Efl.Gfx APIs

Let's remove all evas_object_ stuff from there. :)

This also changes hint_request into hint_min.

8 years agoEvas/Edje/Elm: Use combined_min instead of min everywhere
Jean-Philippe Andre [Thu, 9 Jun 2016 07:29:40 +0000 (16:29 +0900)]
Evas/Edje/Elm: Use combined_min instead of min everywhere

This allows apps to set the objects min size with hint_min,
while letting the rest of EFL define the minimum size with
rstricted_min.

I don't like the property names much...

8 years agoEfl: Introduce app-side min size hint
Jean-Philippe Andre [Thu, 9 Jun 2016 07:24:13 +0000 (16:24 +0900)]
Efl: Introduce app-side min size hint

Now called "hint_min", not sure if it's the proper name for it.
At first I wanted to reuse the request size hint instead of
adding a new hint, but doing that would break Terminology
or any app that already used size_hint_request.

One problem with hint_request is that the legacy function
already exists but its support is practically not implemented.

@feature

8 years agoEdje: Fix some compilation warnings
Jean-Philippe Andre [Thu, 9 Jun 2016 06:23:33 +0000 (15:23 +0900)]
Edje: Fix some compilation warnings

8 years agoEfl: Add geometry property (combines position and size)
Jean-Philippe Andre [Thu, 9 Jun 2016 06:05:36 +0000 (15:05 +0900)]
Efl: Add geometry property (combines position and size)

It's a helper function that can also in the future be
used to implement atomic move+resize operations.

8 years agoEfl: rename size hint content_min to restricted_min
Jean-Philippe Andre [Thu, 9 Jun 2016 05:31:37 +0000 (14:31 +0900)]
Efl: rename size hint content_min to restricted_min

Still not sure about which keyword is the best to use here,
but anyway, it's a protected function so users should realize
it's probably not what they want.

8 years agoEfl.Ui.Box: Simplify layout code with combined_min
Jean-Philippe Andre [Wed, 8 Jun 2016 11:40:50 +0000 (20:40 +0900)]
Efl.Ui.Box: Simplify layout code with combined_min

Simplify the code and fix an issue.

8 years agoEfl: Introduce combine_min size hint
Jean-Philippe Andre [Wed, 8 Jun 2016 11:24:59 +0000 (20:24 +0900)]
Efl: Introduce combine_min size hint

It combines the content min size and the requested min size
by taking the MAX value. This will help support request size
without major code changes.

8 years agoedje: cached the vg tree generation and fixed the interpolation betwwen two vg tree.
Subhransu Mohanty [Thu, 9 Jun 2016 04:49:56 +0000 (13:49 +0900)]
edje: cached the vg tree generation and fixed the interpolation betwwen two vg tree.

Reviewers: cedric, jpeg

Subscribers: cedric, jpeg

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

8 years agoedje : fix the typo in svg loader.
Subhransu Mohanty [Thu, 9 Jun 2016 04:26:33 +0000 (13:26 +0900)]
edje : fix the typo in svg loader.

Reviewers: SanghyeonLee, cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje: unamed part are completely legit as long as no program try to interact with...
Cedric BAIL [Wed, 8 Jun 2016 22:00:30 +0000 (15:00 -0700)]
edje: unamed part are completely legit as long as no program try to interact with them.

8 years agoelmentary: trigger selected event when mouse is up in index.
Sungtaek Hong [Wed, 8 Jun 2016 21:06:33 +0000 (14:06 -0700)]
elmentary: trigger selected event when mouse is up in index.

Summary:
- selected callback should be called when the user releases a mouse button
  and selects an item.

Reviewers: cedric, jpeg, Hermet, woohyun

Subscribers: conr2d, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: fix possible memory leaks in e3d_drawable_texture_rendered_pixels_get
Oleksandr Shcherbina [Wed, 8 Jun 2016 20:58:28 +0000 (13:58 -0700)]
evas: fix possible memory leaks in e3d_drawable_texture_rendered_pixels_get

Summary:
@fix
CID: 1356243, 1356242, 1356242, 1356242

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary: add implementation for elm_multibuttonentry_item_selected_get API
Shilpa Singh [Wed, 8 Jun 2016 20:48:07 +0000 (13:48 -0700)]
elementary: add implementation for elm_multibuttonentry_item_selected_get API

Summary:
Added definition for item_selected_get API
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
@fix

Test Plan: select an item, call item_selected_get API to check status of the item

Reviewers: cedric, CHAN

Reviewed By: CHAN

Subscribers: CHAN, rajeshps, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary: cleanup event handler setup for hoversel.
Cedric BAIL [Wed, 8 Jun 2016 20:47:19 +0000 (13:47 -0700)]
elementary: cleanup event handler setup for hoversel.

8 years agoelementary: rearrange hoversel when its parent is resized
Jee-Yong Um [Wed, 8 Jun 2016 20:24:35 +0000 (13:24 -0700)]
elementary: rearrange hoversel when its parent is resized

Summary:
Hoversel will be rearranged when its parent is resized.
This patch was written by @godlytalias on tizen side.

Reviewers: cedric

Subscribers: jpeg, godlytalias

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add new svg part to edc
Subhransu Mohanty [Wed, 8 Jun 2016 18:26:07 +0000 (11:26 -0700)]
edje: add new svg part to edc

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: jpeg, cedric, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: little bit of refactoring, more needed.
Cedric BAIL [Wed, 8 Jun 2016 17:47:17 +0000 (10:47 -0700)]
edje: little bit of refactoring, more needed.

8 years agoedje: add svg support to parse and store a svg file as a vector object in .edj.
Subhransu Mohanty [Wed, 8 Jun 2016 17:26:38 +0000 (10:26 -0700)]
edje: add svg support to parse and store a svg file as a vector object in .edj.

Summary:
This is the svg loader which will parse the svg file and store it in a intermediate structure.
It provides the helper function to get EET descriptor to save the structure into eet file.

NOTE: Not all svg attributes are handled yet. but most common attributes are handled .

Reviewers: Hermet, cedric

Subscribers: Hermet, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje_edit: add missed part and description initializations
Vitalii Vorobiov [Wed, 8 Jun 2016 15:47:19 +0000 (18:47 +0300)]
edje_edit: add missed part and description initializations

@fix

8 years agoeolian-cxx: Fix some C++ quirks that makes clang warn about
Felipe Magno de Almeida [Wed, 8 Jun 2016 15:55:19 +0000 (12:55 -0300)]
eolian-cxx: Fix some C++ quirks that makes clang warn about

8 years agoeolian-cxx: Fix generation of some primitive types
Felipe Magno de Almeida [Wed, 8 Jun 2016 15:19:15 +0000 (12:19 -0300)]
eolian-cxx: Fix generation of some primitive types

Fix translation of primitive types for C++ binding

8 years agoeolian: refine the ref system to suit more cases
Daniel Kolesa [Wed, 8 Jun 2016 14:49:09 +0000 (15:49 +0100)]
eolian: refine the ref system to suit more cases

Now references are first class (but still restricted to one level). Unlike
pointers they only mark the type instead of introducing a whole new type.

8 years agoelput: Fix build of tests out of tree
Jean-Philippe Andre [Wed, 8 Jun 2016 10:24:34 +0000 (19:24 +0900)]
elput: Fix build of tests out of tree

8 years agoelm video: implement player interface
Yeshwanth Reddivari [Wed, 8 Jun 2016 09:16:11 +0000 (14:46 +0530)]
elm video: implement player interface

Reviewers: raster, cedric, jpeg, singh.amitesh

Reviewed By: singh.amitesh

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

8 years agoEfl: Add screen_ prefix to all Efl.Screen apis
Jean-Philippe Andre [Wed, 8 Jun 2016 08:25:06 +0000 (17:25 +0900)]
Efl: Add screen_ prefix to all Efl.Screen apis

This will resolve conflicts between Gfx.size and Screen.size.

8 years agoEfl: Add hint_ prefix to all size hints
Jean-Philippe Andre [Wed, 8 Jun 2016 08:19:17 +0000 (17:19 +0900)]
Efl: Add hint_ prefix to all size hints

This covers:
- base
- step
- aspect

The prefix hint_ is useful for bindings, and does not change
the generated C API.

8 years agoEfl: Move evas size hints to Efl.Gfx.Size.Hint
Jean-Philippe Andre [Wed, 8 Jun 2016 07:09:38 +0000 (16:09 +0900)]
Efl: Move evas size hints to Efl.Gfx.Size.Hint

This includes:
- align
- min (now content_min)
- request
- max
- padding (now margin)
- weight

This does NOT include:
- display mode (compress, expand... a hint used by naviframe only).

8 years agowin: Implement aspect control with Efl.Gfx.Size.Hint
Jean-Philippe Andre [Wed, 8 Jun 2016 06:24:08 +0000 (15:24 +0900)]
win: Implement aspect control with Efl.Gfx.Size.Hint

This changes the API from a double to int, int.
Still not sure which API variant is the best (int,int or double).

8 years agowin: Remove inexisting EAPI definitions from legacy
Jean-Philippe Andre [Wed, 8 Jun 2016 06:25:12 +0000 (15:25 +0900)]
win: Remove inexisting EAPI definitions from legacy

8 years agoEvas: Move aspect ratio to Efl.Gfx.Size.Hint
Jean-Philippe Andre [Wed, 8 Jun 2016 05:56:51 +0000 (14:56 +0900)]
Evas: Move aspect ratio to Efl.Gfx.Size.Hint

Problem:
- edje aspect ratio is defined by 1 enum and 2 double (min, max)
- window aspect ratio is defined by only 1 double
- evas object aspect ratio is defined by 1 enum and 2 ints (w, h)

Which one is the best interface? Are min/max a better option?

Also, not sure how to call the enum...

8 years agowin: Forward render_post events from evas to window
Jean-Philippe Andre [Wed, 8 Jun 2016 04:55:21 +0000 (13:55 +0900)]
win: Forward render_post events from evas to window

To do: optimize event forward when no one is listening.

8 years agoEvas: EO-ify Evas_Event_Render_Post
Jean-Philippe Andre [Wed, 8 Jun 2016 04:45:38 +0000 (13:45 +0900)]
Evas: EO-ify Evas_Event_Render_Post

As Efl.Gfx.Event.Render_Post.
To be implemented by Efl.Ui.Window

8 years agoefl_ui_win: Disable legacy for name and type set
Ji-Youn Park [Wed, 8 Jun 2016 00:31:00 +0000 (09:01 +0830)]
efl_ui_win: Disable legacy for name and type set

Those are only valid during eo_add, before finalize.
Both of these are constructors.
Add again jp's code.

8 years agoefl_ui_win: Add back title_set as text.set
Ji-Youn Park [Wed, 8 Jun 2016 00:26:39 +0000 (08:56 +0830)]
efl_ui_win: Add back title_set as text.set

add jp's code again.

8 years agoelementary: switch to legacy API for tests.
Cedric Bail [Tue, 7 Jun 2016 23:29:32 +0000 (16:29 -0700)]
elementary: switch to legacy API for tests.

8 years agoedje: fix unused variable when gettext is disabled
Jean Guyomarc'h [Tue, 7 Jun 2016 17:29:29 +0000 (19:29 +0200)]
edje: fix unused variable when gettext is disabled

8 years agoecore_cocoa: simplify clipboard functions naming
Jean Guyomarc'h [Tue, 7 Jun 2016 19:42:46 +0000 (21:42 +0200)]
ecore_cocoa: simplify clipboard functions naming

ecore_cocoa_selection_clipboard_xxxx() have been renamed into
ecore_cocoa_clipboard_xxxx() and they have nothing to do with
selection, only with clipboard.

Since the API is not stable yet, I can change it.

8 years agoecore_cocoa: move the default cursor definition out of the enum
Jean Guyomarc'h [Tue, 7 Jun 2016 19:08:08 +0000 (21:08 +0200)]
ecore_cocoa: move the default cursor definition out of the enum

This makes the code more explicit and less awkward.

8 years agoecore_cocoa: improve documentation
Jean Guyomarc'h [Tue, 7 Jun 2016 19:04:25 +0000 (21:04 +0200)]
ecore_cocoa: improve documentation

8 years agoelementary: Remove set but unused variable
Chris Michael [Tue, 7 Jun 2016 17:37:53 +0000 (13:37 -0400)]
elementary: Remove set but unused variable

This variable looks like it may be used in the future, but for now
just causes additional compiler warnings so comment it out for now.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: Support wl_seat_listener version 4
Chris Michael [Tue, 7 Jun 2016 17:36:18 +0000 (13:36 -0400)]
ecore-wl2: Support wl_seat_listener version 4

This patch adds support for wl_seat_listener version 4 (which is used
in wayland 1.11). We do not actually make use of the seat callback for
name yet, but when the rest of multi-seat issues are sorted, we may
need this.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoRevert "elput: Missing pointer initialization."
Chris Michael [Tue, 7 Jun 2016 16:09:20 +0000 (12:09 -0400)]
Revert "elput: Missing pointer initialization."

Reverting this as the initialization of char *s was already set to
NULL in a previous patch, so the 'if (s)' check here is pointless
really as 'man 3 free' says passing NULL to free() is ok.

This reverts commit ad2e21b02399c02a748bb8b8ab0dc10f85e6662d.

8 years agoedje_edit: text style should be able to set into NULL
Vitalii Vorobiov [Tue, 7 Jun 2016 14:56:40 +0000 (17:56 +0300)]
edje_edit: text style should be able to set into NULL

@fix

8 years agoefl_ui_win: rename elm_win to efl_ui_win
Ji-Youn Park [Tue, 7 Jun 2016 14:41:48 +0000 (23:11 +0830)]
efl_ui_win: rename elm_win to efl_ui_win