platform/upstream/efl.git
8 years agoeolian: fix impl func fill
Daniel Kolesa [Mon, 13 Jun 2016 15:24:20 +0000 (16:24 +0100)]
eolian: fix impl func fill

If there is a dot in the remaining part of the implement, it means it
actually implements another class - do not fail in those cases.

8 years agoevas: loaders fix typo which blocked the installation of the LO loader script
Stefan Schmidt [Mon, 13 Jun 2016 15:20:58 +0000 (17:20 +0200)]
evas: loaders fix typo which blocked the installation of the LO loader script

Its SCRIPTS not SCRIPT to make automake aware of it.

Fixes T3848

8 years agoevas: loaders: fix install exec hook by adding the needed semicolon
Stefan Schmidt [Mon, 13 Jun 2016 15:07:28 +0000 (17:07 +0200)]
evas: loaders: fix install exec hook by adding the needed semicolon

Thanks to Scimmia22 for pointing this out.

8 years agoevas: loaders: make sure we create the directory first before we create symlinks
Stefan Schmidt [Mon, 13 Jun 2016 14:09:53 +0000 (16:09 +0200)]
evas: loaders: make sure we create the directory first before we create symlinks

We assume that the directory already exists here when creating the symlinks.
Better make sure this is really the case.

Thanks to Vtorri for pointing towards the fix.

Fixes T3880 and T3875

8 years agoeolian: fix error cursor positioning
Daniel Kolesa [Mon, 13 Jun 2016 13:53:35 +0000 (14:53 +0100)]
eolian: fix error cursor positioning

Previously, multi-char tokens (such as strings, docs etc) always put the error
cursor to the end of the token. That was confusing, so now the cursor always
appears at the beginning of the token instead (for multiline tokens, currently
only docs, the line number is also adjusted to point to the first line of the
doc token).

@fix

8 years agoedje_calc: fix interpolate calculation of map colors
Vitalii Vorobiov [Mon, 13 Jun 2016 12:31:48 +0000 (15:31 +0300)]
edje_calc: fix interpolate calculation of map colors

There were a problem when while swithcing between states
(because of program running in transition),
there is SIGSEV appearing when first state has
only one point color, and next state more than one.

Basically it looks like this:
....
part {
   name: "rectangle";
   type: RECT;
   description { state: "default" 0.0;
      map {
         on: 1;
         color: 3 255 90 0 255;
      }
   }
   description { state: "moved" 0.0;
      map {
         on: 1;
         color: 0 0 0 255 255;
         color: 1 255 0 0 255;
         color: 2 255 90 0 255;
         color: 3 41 68 59 255;
      }
   }
}
<and program that change 'rectangle' state with transition>
....

@fix

8 years agoEcore_Input: define data type for joysticks
Shinwoo Kim [Mon, 13 Jun 2016 10:41:38 +0000 (19:41 +0900)]
Ecore_Input: define data type for joysticks

Summary: This adds support for joysticks for ecore_input

Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg

Reviewed By: thiepha, zmike, jpeg

Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz

Tags: #efl

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

8 years agowin: Optimize event forward using callback add/del events
Jean-Philippe Andre [Mon, 13 Jun 2016 08:28:36 +0000 (17:28 +0900)]
win: Optimize event forward using callback add/del events

This is a common pattern, listen to EO_EVENT_CALLBACK_ADD/DEL in
order to treat those events only when needed.

8 years agowin: Add event device,changed
Jean-Philippe Andre [Mon, 13 Jun 2016 07:31:03 +0000 (16:31 +0900)]
win: Add event device,changed

8 years agowin: Add focus events (in, out, object in/out)
Jean-Philippe Andre [Mon, 13 Jun 2016 07:28:17 +0000 (16:28 +0900)]
win: Add focus events (in, out, object in/out)

8 years agowin: Add event render,pre
Jean-Philippe Andre [Mon, 13 Jun 2016 06:48:29 +0000 (15:48 +0900)]
win: Add event render,pre

8 years agoedje_cc - new vector svg loader - fix bunch of incorrect code that segvs
Carsten Haitzler (Rasterman) [Mon, 13 Jun 2016 10:48:27 +0000 (19:48 +0900)]
edje_cc - new vector svg loader - fix bunch of incorrect code that segvs

passing in wrond data type as a void * (no typechecking) like
node->style instead of node as the function EXPECTED node not
node->style

also why malloc strlen of string then strcpy when strdup will do? why?

fix!

still doesn't work. i can't display an svg vector at all.

8 years agoevas_canvas: move evas_output_XXX API from eo to legach.
Ji-Youn Park [Mon, 13 Jun 2016 10:20:11 +0000 (18:50 +0830)]
evas_canvas: move evas_output_XXX API from eo to legach.

evas canvas will be removed from eo.
evas_output_XXX APIs are usually used by widget or e17.
I decided not open these kind of APIs to eo.
app can use the size of elm win instead of evas output apis.

8 years agobenchmark: eo: add missing phthread flag to linker
Stefan Schmidt [Mon, 13 Jun 2016 09:08:46 +0000 (11:08 +0200)]
benchmark: eo: add missing phthread flag to linker

/usr/bin/ld: class_simple.o: undefined reference to symbol 'pthread_spin_trylock@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line

8 years agoexamples: elementary: ad missing math lib to linker flags
Stefan Schmidt [Mon, 13 Jun 2016 08:23:16 +0000 (10:23 +0200)]
examples: elementary: ad missing math lib to linker flags

We are using cos() and sin() in the efl_thread examples here but never linked
to the math lib. Ubuntu 14.04 on Travis CI errored out with this:

/usr/bin/ld: efl_thread_1.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line

8 years agoelm - add another mkpath before monitoring a dir to enusre things work
Carsten Haitzler (Rasterman) [Mon, 13 Jun 2016 09:11:38 +0000 (18:11 +0900)]
elm - add another mkpath before monitoring a dir to enusre things work

8 years agoecore-con - dont complain about socket setup issues when api handles it
Carsten Haitzler (Rasterman) [Mon, 13 Jun 2016 08:31:51 +0000 (17:31 +0900)]
ecore-con - dont complain about socket setup issues when api handles it

ecore-con api returns failure cases and ecore-con shouldt go spamming
stderr with this as it's inteded to be handled at the api level, so
slience!

8 years agoevas-native-tbm: fix stride mismatch and allocate image data for converting from...
Minkyoung Kim [Mon, 13 Jun 2016 06:24:14 +0000 (15:24 +0900)]
evas-native-tbm: fix stride mismatch and allocate image data for converting from yuv to rgb.

Summary:
1. For converting tbm buffer from yuv to rgb, image.data should be allocated.
2. Stride should be set by info of tbm surface.
3. The number of row is height*2. but if height is odd, last row is invalid in process of _evas_video_i420.

Test Plan: Local Test, Tizen2.4 Mobile

Reviewers: spacegrapher, wonsik, jpeg

Subscribers: cedric, dkdk

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

8 years agoedje cc - remove debug printf i missed. :(
Carsten Haitzler (Rasterman) [Mon, 13 Jun 2016 06:22:11 +0000 (15:22 +0900)]
edje cc - remove debug printf i missed. :(

oops. i removed the others but not this one. yes i did git diff etc.

8 years agoedje - set up eet data descriptor right with right struct and size
Carsten Haitzler (Rasterman) [Mon, 13 Jun 2016 06:21:22 +0000 (15:21 +0900)]
edje - set up eet data descriptor right with right struct and size

this should fix T3869

8 years agoedje_cc - limit embryo_cc instances in bg to something sensible
Carsten Haitzler (Rasterman) [Mon, 13 Jun 2016 05:11:20 +0000 (14:11 +0900)]
edje_cc - limit embryo_cc instances in bg to something sensible

so compiling current efl theme seems to spawn 178 instances of
embryo_cc in the background (then collect results). this is a bit
excessive and may be a source of issues. this may be causing T3874
perhaps due to embryo_cc's not launching (fork failing or something
else) and we don't check if fork fails. so try limit to 8 embryo_cc's
in the bg which is more reasonable than the currently "unlimited"
which leads to 178 currently...

i hope this fixes T3874

@fix

8 years agoElm: fix elementary quicklaunch build on Solaris
Vincent Torri [Sat, 11 Jun 2016 06:41:21 +0000 (08:41 +0200)]
Elm: fix elementary quicklaunch build on Solaris

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.