platform/upstream/efl.git
8 years agoEdje text: fix behavior for text source and source attribute.
Mykyta Biliavskyi [Thu, 16 Jun 2016 12:50:38 +0000 (15:50 +0300)]
Edje text: fix behavior for text source and source attribute.

Check present source by index, because name of source
can be non NULL. Updates name of source part accordingly to
the current source part index.

8 years agoEvil: fix EAPI when dirent.h and mman.h are included (Windows only)
Vincent Torri [Thu, 16 Jun 2016 12:42:59 +0000 (14:42 +0200)]
Evil: fix EAPI when dirent.h and mman.h are included (Windows only)

Test Plan: compilatioN

Reviewers: cedric, jpeg, stefan_schmidt

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

8 years agotests: eio: use eina file infrastructure for temporary file creation
Stefan Schmidt [Wed, 15 Jun 2016 16:23:24 +0000 (18:23 +0200)]
tests: eio: use eina file infrastructure for temporary file creation

The tmp dir is not always /tmp.

8 years agotests: eio: silence unused paramater warnings in new eio_map test
Stefan Schmidt [Wed, 15 Jun 2016 16:22:47 +0000 (18:22 +0200)]
tests: eio: silence unused paramater warnings in new eio_map test

8 years agoeio_map: Add test suite for eio map module
Vivek Ellur [Mon, 6 Jun 2016 15:44:38 +0000 (17:44 +0200)]
eio_map: Add test suite for eio map module

Summary:
Added test suite for eio map module

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

Subscribers: stefan_schmidt, raster, cedric

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

8 years agoEdje_edit: fix text_source_set and text_text_source_set.
Mykyta Biliavskyi [Thu, 16 Jun 2016 11:33:32 +0000 (14:33 +0300)]
Edje_edit: fix text_source_set and text_text_source_set.

Do not need to replace text value inside edje_edit_state_text_text_source_set,
because edje_text module will use text from source.

8 years agoexamples: elua: ensure the install hook honors a set DESTDIR
Stefan Schmidt [Thu, 16 Jun 2016 09:12:55 +0000 (11:12 +0200)]
examples: elua: ensure the install hook honors a set DESTDIR

Reported by Simotek when testing the latest snapshot:
Were getting closer, "/usr/bin/mkdir -p /usr/share/elua/examples" should
be "/usr/bin/mkdir -p
/home/abuild/rpmbuild/BUILDROOT/efl-1.17.99.48545-1.x86_64/usr/share/elua/examples"

8 years agoedje_edit: return NULL if part has not style attribute
Vyacheslav Reutskiy [Thu, 16 Jun 2016 07:56:31 +0000 (10:56 +0300)]
edje_edit: return NULL if part has not style attribute

8 years agosvg_loader: fixed parsing of transformation attribute
Subhransu Mohanty [Thu, 16 Jun 2016 06:32:42 +0000 (15:32 +0900)]
svg_loader: fixed parsing of transformation attribute

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje_cc_out : fix possible buffer overrun
Subhransu Mohanty [Thu, 16 Jun 2016 06:28:07 +0000 (15:28 +0900)]
edje_cc_out : fix possible buffer overrun

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agosvg_loader: Fixed color attribute parser
Subhransu Mohanty [Thu, 16 Jun 2016 06:26:28 +0000 (15:26 +0900)]
svg_loader: Fixed color attribute parser

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje_load : return if we can't decode the vector data.
Subhransu Mohanty [Thu, 16 Jun 2016 06:26:08 +0000 (15:26 +0900)]
edje_load : return if we can't decode the vector data.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoexamples: Use EO_CALLBACKS_ARRAY_DEFINE in all examples
Jean-Philippe Andre [Thu, 16 Jun 2016 04:02:19 +0000 (13:02 +0900)]
examples: Use EO_CALLBACKS_ARRAY_DEFINE in all examples

Again, for Windows.

8 years agotests: Use EO_CALLBACKS_ARRAY_DEFINE in all tests
Jean-Philippe Andre [Thu, 16 Jun 2016 04:01:50 +0000 (13:01 +0900)]
tests: Use EO_CALLBACKS_ARRAY_DEFINE in all tests

This should make them work on Windows, too.

8 years agoEvas: Fix usage of callback arrays
Jean-Philippe Andre [Thu, 16 Jun 2016 02:16:12 +0000 (11:16 +0900)]
Evas: Fix usage of callback arrays

This should fix compilation of EFL for Windows (at least
this is one more step...)

- evas box
- evas table

8 years agoEvas: Stop using Evas.Image in public inheritance
Jean-Philippe Andre [Thu, 16 Jun 2016 02:06:04 +0000 (11:06 +0900)]
Evas: Stop using Evas.Image in public inheritance

So, it seems my previous commit 79abba52c50840c043e4b was a job
half done, as I forgot to remove Evas.Image from the inheritance
tree of all new evas image classes.

8 years agoEfl: Move Efl.Canvas to efl/interfaces
Jean-Philippe Andre [Thu, 16 Jun 2016 01:52:18 +0000 (10:52 +0900)]
Efl: Move Efl.Canvas to efl/interfaces

Not sure this is a good name for this interface, but it
definitely doesn't belong inside lib/evas/

Thanks Jiyoun for the question / report :)

8 years agoedje: remove extraneous parenthesis
Jean Guyomarc'h [Wed, 15 Jun 2016 20:55:45 +0000 (22:55 +0200)]
edje: remove extraneous parenthesis

8 years agoeolian-cxx: Fix generation of non-inline function in headers
Felipe Magno de Almeida [Wed, 15 Jun 2016 20:48:30 +0000 (17:48 -0300)]
eolian-cxx: Fix generation of non-inline function in headers

8 years agoeolian-cxx: Remove warning about unused parameter
Felipe Magno de Almeida [Wed, 15 Jun 2016 20:47:19 +0000 (17:47 -0300)]
eolian-cxx: Remove warning about unused parameter

8 years agoeolian-cxx: Fix conversion to bool in clang
Felipe Magno de Almeida [Wed, 15 Jun 2016 20:47:03 +0000 (17:47 -0300)]
eolian-cxx: Fix conversion to bool in clang

8 years agoeina: fix compiling of safepointers on OSX
Jean Guyomarc'h [Wed, 15 Jun 2016 20:33:39 +0000 (22:33 +0200)]
eina: fix compiling of safepointers on OSX

This is a reccurring compatibility issue...
MAP_ANONYMOUS is not defined on OSX, but MAP_ANON is.
I know MAP_ANON is marked as deprecated in the Linux man
pages, but it has the benefit of being more portable.

8 years agoelementary-cxx: Fix compilation of some C++ examples
Luciana Magno de Almeida [Thu, 26 May 2016 21:46:29 +0000 (18:46 -0300)]
elementary-cxx: Fix compilation of some C++ examples

8 years agoelementary-cxx: Fix Elementary.hh header to #define EFL_EO_API_SUPPORT
Felipe Magno de Almeida [Wed, 15 Jun 2016 18:48:20 +0000 (15:48 -0300)]
elementary-cxx: Fix Elementary.hh header to #define EFL_EO_API_SUPPORT

8 years agoeolian-cxx: Fixed generation of implicit conversion operators
Felipe Magno de Almeida [Wed, 15 Jun 2016 18:47:50 +0000 (15:47 -0300)]
eolian-cxx: Fixed generation of implicit conversion operators

8 years agoeina-cxx: Add overload for std::nullptr_t to stringview
Felipe Magno de Almeida [Wed, 15 Jun 2016 18:47:30 +0000 (15:47 -0300)]
eina-cxx: Add overload for std::nullptr_t to stringview

8 years agoevas: do not use static array with pointer to other variable.
Cedric Bail [Wed, 15 Jun 2016 18:41:09 +0000 (11:41 -0700)]
evas: do not use static array with pointer to other variable.

Aka fix Windows build. This is exactly the same trick as for events array.

8 years agoecore: prevent crash in case of double ecore_timer_del in legacy case.
Cedric Bail [Wed, 15 Jun 2016 17:45:40 +0000 (10:45 -0700)]
ecore: prevent crash in case of double ecore_timer_del in legacy case.

8 years agowayland_shm: Fix another dmabuf corner case
Derek Foreman [Wed, 15 Jun 2016 17:27:46 +0000 (12:27 -0500)]
wayland_shm: Fix another dmabuf corner case

When kernel support for locally mmapping buffers is unavailable and
software rendering is used, dmabuf may need to fallback to shm for the
very first frame rendered.

We need to copy that frame to a shm buffer during the fallback to make
sure it's actually displayed.

8 years agoevas: disable generic loader on Windows.
Cedric Bail [Wed, 15 Jun 2016 17:11:36 +0000 (10:11 -0700)]
evas: disable generic loader on Windows.

Generic do use a few primitve that require development, testing and
tunning on Windows (Namely the alarm and shm part).

8 years agoeolian: enable inheritance checks and fix EFL to build with them
Daniel Kolesa [Wed, 15 Jun 2016 15:35:45 +0000 (16:35 +0100)]
eolian: enable inheritance checks and fix EFL to build with them

Somehow, there was code in the tree that apparently isn't tested at all, even
once - if it was, the eo.c logic that performs inheritance checks would be
triggered. I don't know how this could have happened (actually I do, it's
Cedric's fault and he should be publicly shamed for it) but these checks
make sure this will never happen again. But since the code itself appears
to be untested, I don't know if there isn't any other brokenness in it.
But that's beyond the scope of this change, so for now, let's make sure
all our inheritance is at least formally correct.

Also, enable eo_interface.eo generated code in Eo itself so that Eo.Interface
can be used when inheriting.

@fix

8 years agoeolian-cxx: Add tests for @beta and @protected events
Felipe Magno de Almeida [Wed, 15 Jun 2016 15:19:10 +0000 (12:19 -0300)]
eolian-cxx: Add tests for @beta and @protected events

8 years agoeolian: move deferred eo file parsing to the very end
Daniel Kolesa [Wed, 15 Jun 2016 15:20:45 +0000 (16:20 +0100)]
eolian: move deferred eo file parsing to the very end

Because of this the cyclic check would occasionally have false positives.
By moving deferred eo parsing to the end of the whole parse process, it
can no longer affect the cyclic checker.

@fix

8 years agopoppler: remove enum name
Marcel Hollerbach [Wed, 15 Jun 2016 13:44:13 +0000 (15:44 +0200)]
poppler: remove enum name

otherwise errors like T3896 will happen.

This fixes T3896.

8 years agoedje_edit: save referenced groups when image id's are changed
Vitalii Vorobiov [Wed, 15 Jun 2016 09:53:15 +0000 (12:53 +0300)]
edje_edit: save referenced groups when image id's are changed

@fix

8 years agoeina_cxx: make sure we ship eina_deleter.hh with our distribution
Stefan Schmidt [Wed, 15 Jun 2016 10:13:36 +0000 (12:13 +0200)]
eina_cxx: make sure we ship eina_deleter.hh with our distribution

IN commit 8906998ef2821a237c4deba07dc8336afdc4c471 this new file was added but
never made sure that it actually gets shipped.

8 years agoexamples: evas-3d: these three examples still need EFL_EO_API_SUPPORT as well
Stefan Schmidt [Wed, 15 Jun 2016 09:29:28 +0000 (11:29 +0200)]
examples: evas-3d: these three examples still need EFL_EO_API_SUPPORT as well

EFL_CANVAS_RECTANGLE_CLASS is needed here which is still covered by the EO_API
define.

8 years agobuild: fix last bash occurance in use with gen_shader.sh
Stefan Schmidt [Wed, 15 Jun 2016 09:16:04 +0000 (11:16 +0200)]
build: fix last bash occurance in use with gen_shader.sh

We switched all the other ones from bash to sh already and raster ported the
script itself.

8 years agoconfigure - remove gnu make hack as it seems to not be needed anymore
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 06:21:13 +0000 (15:21 +0900)]
configure - remove gnu make hack as it seems to not be needed anymore

as per T3767 it seems that it's not needed. i tested and nothing went
wrong. let's see. fixes T3767

@fix

8 years agogeneirc loader build patches for windows
Vincent Torri [Wed, 15 Jun 2016 05:53:01 +0000 (14:53 +0900)]
geneirc loader build patches for windows

from T3790 - xcf.diff

8 years agomore sh instead of dash
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 05:35:45 +0000 (14:35 +0900)]
more sh instead of dash

8 years agobash to sh fixing - use sh not dash so it works normally
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 05:34:47 +0000 (14:34 +0900)]
bash to sh fixing - use sh not dash so it works normally

i was forcing dash to be used to use a simple "sh only" compatible
shell because bash just is too lenient. bo now to sh not dash.

8 years agoshader gen - make this use plain sh not bash for portability
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 05:04:28 +0000 (14:04 +0900)]
shader gen - make this use plain sh not bash for portability

this should fix T3793

8 years agoeina - alloca.h - include stdlib and stddef, usze size_t not long
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 04:08:52 +0000 (13:08 +0900)]
eina - alloca.h - include stdlib and stddef, usze size_t not long

8 years agoeina: Fix race wrong prototype for unref
Felipe Magno de Almeida [Wed, 15 Jun 2016 02:08:13 +0000 (23:08 -0300)]
eina: Fix race wrong prototype for unref

8 years agoeolian-cxx: Add support for ref parameters and correct ownership handling
Felipe Magno de Almeida [Wed, 8 Jun 2016 20:31:46 +0000 (17:31 -0300)]
eolian-cxx: Add support for ref parameters and correct ownership handling

8 years agoelementary: fixed wrong error msg in fileselector
Larry Jr [Tue, 14 Jun 2016 22:37:48 +0000 (19:37 -0300)]
elementary: fixed wrong error msg in fileselector

8 years agoeio: Fixed Eio_Model monitor life cycle
Larry Jr [Tue, 14 Jun 2016 22:33:41 +0000 (19:33 -0300)]
eio: Fixed Eio_Model monitor life cycle

8 years agoelementary: Fix repeated undo of character deletion
Andy Williams [Tue, 14 Jun 2016 21:47:22 +0000 (22:47 +0100)]
elementary: Fix repeated undo of character deletion

Let's not trigger further undo stack changes when we undo changes.

8 years agoexamples: remove now longer needed EFL_EO_API_SUPPORT define in canvas3d and vg
Stefan Schmidt [Tue, 14 Jun 2016 14:39:03 +0000 (16:39 +0200)]
examples: remove now longer needed EFL_EO_API_SUPPORT define in canvas3d and vg

These examples already had the BETA flag defined so we just need to remove the
EO_API one.

8 years agoevas: move canvas3d and vg parts into beta API and keep the rest under EO API
Stefan Schmidt [Tue, 14 Jun 2016 14:19:50 +0000 (16:19 +0200)]
evas: move canvas3d and vg parts into beta API and keep the rest under EO API

Vanvas3d and VG are still conisereed beta. For the rest we are going to sort
this out over the next days/weeks. Either EO API flag removed or put under BETA.

8 years agoecore_con: switch from EO to BETA API
Stefan Schmidt [Tue, 14 Jun 2016 13:59:13 +0000 (15:59 +0200)]
ecore_con: switch from EO to BETA API

This is not ready yet and still considered beta.

8 years agoeolian: add (for now disabled) inherit validity checks
Daniel Kolesa [Tue, 14 Jun 2016 13:09:13 +0000 (14:09 +0100)]
eolian: add (for now disabled) inherit validity checks

Somehow I cannot enable this right now because we have issues with existing
eo files that need to be resolved first.

8 years agoEvas: Support of fnmatch flag FNM_IGNORECASE
Vincent Torri [Tue, 14 Jun 2016 03:42:24 +0000 (05:42 +0200)]
Evas: Support of fnmatch flag FNM_IGNORECASE

Some systems (solaris in that case) define FNM_IGNORECASE instead of FNM_CASEFOLD. Add this case in evas_path.c

8 years agoEcore: detect ieeefp.h existence instead of including it with compiler's macro
Vincent Torri [Mon, 13 Jun 2016 19:44:10 +0000 (21:44 +0200)]
Ecore: detect ieeefp.h existence instead of including it with compiler's macro

On Solaris, this header is necessary for finite(). Instead of including it
if the sun compiler is used, include it if it exists. This fixes a warning
if gcc is used on Solaris

8 years agoEeze build ordering.
Benjamin Jacobs [Tue, 14 Jun 2016 09:15:49 +0000 (18:15 +0900)]
Eeze build ordering.

Summary: Fixes a libtool relinking issue due to the wrong build ordering.

Reviewers: cedric

Subscribers: jpeg

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

8 years agoelm - loop auto throttle - only do this once a window has been shown etc
Carsten Haitzler (Rasterman) [Tue, 14 Jun 2016 09:03:32 +0000 (18:03 +0900)]
elm - loop auto throttle - only do this once a window has been shown etc

only start throttling ocne we have a window and it has rendered or
been focused or mouse has gone in - then we are surely really visible
and sane and only start throttling if no windows are visible then. if
auto throttle is on this can improve startup time by the trottle amount

8 years agoevas_generic_loaders: port poppler to the cpp api
Marcel Hollerbach [Mon, 13 Jun 2016 11:15:49 +0000 (13:15 +0200)]
evas_generic_loaders: port poppler to the cpp api

Summary: This ports the loader to the stable cpp api.

Test Plan: Please test this patch and tell me if there are differences

Reviewers: DaveMDS

Subscribers: jayji

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

8 years agocxx: Add support for protected and beta events
Jean-Philippe Andre [Tue, 14 Jun 2016 07:20:51 +0000 (16:20 +0900)]
cxx: Add support for protected and beta events

The code is horrible, pardon my C++.

Note: I guess @protected should also change the scope from
public: to protected: but that's another problem. Here I'm only
trying to fix the build while still introducing @beta and
@protected flags.

8 years agoevas: Move canvas events to a common interface
Jean-Philippe Andre [Tue, 14 Jun 2016 05:59:57 +0000 (14:59 +0900)]
evas: Move canvas events to a common interface

This merges window and evas events into a single name.
Some events are marked as @beta as they shouldn't really be
part of our EO API.

8 years agoevas object: Move some events to efl_gfx and efl_image
Jean-Philippe Andre [Tue, 14 Jun 2016 05:24:43 +0000 (14:24 +0900)]
evas object: Move some events to efl_gfx and efl_image

This affects basic evas object events such as:
- show, hide, resize, move,
- changed size hints,
- restack,
- image preloaded, resize, unloaded

Also, switched names to shorter "present form" like "preload"
instead of "preloaded".

8 years agoevas object: Mark event free as @beta
Jean-Philippe Andre [Tue, 14 Jun 2016 05:15:43 +0000 (14:15 +0900)]
evas object: Mark event free as @beta

Use EO_EVENT_DEL instead.

8 years agoevas object: Mark legacy input events as @beta
Jean-Philippe Andre [Tue, 14 Jun 2016 05:04:34 +0000 (14:04 +0900)]
evas object: Mark legacy input events as @beta

This effectively marks them as unstable API. They should not
be used, and still only exist because of the current code
infrastructure.

8 years agowidget: Switch to pointer & key events
Jean-Philippe Andre [Tue, 14 Jun 2016 04:43:36 +0000 (13:43 +0900)]
widget: Switch to pointer & key events

Unfortunately, since all widgets rely on the legacy evas
event structs, I had to add a translation mechanism.

8 years agotests: Remove eo evas object events
Jean-Philippe Andre [Mon, 13 Jun 2016 12:21:31 +0000 (21:21 +0900)]
tests: Remove eo evas object events

This is the last usage, apart from evas_callbacks.c itself.

8 years agofileselector: Remove usage of eo evas object events
Jean-Philippe Andre [Mon, 13 Jun 2016 12:19:06 +0000 (21:19 +0900)]
fileselector: Remove usage of eo evas object events

8 years agospinner: Remove usage of eo evas object event
Jean-Philippe Andre [Mon, 13 Jun 2016 12:09:51 +0000 (21:09 +0900)]
spinner: Remove usage of eo evas object event

8 years agowl_shm: Fix compilation warning (cast)
Jean-Philippe Andre [Mon, 13 Jun 2016 12:07:04 +0000 (21:07 +0900)]
wl_shm: Fix compilation warning (cast)

8 years agoelm: Fix compilation warnings
Jean-Philippe Andre [Mon, 13 Jun 2016 12:06:31 +0000 (21:06 +0900)]
elm: Fix compilation warnings

8 years agoedje: Remove usage of evas object eo events
Jean-Philippe Andre [Mon, 13 Jun 2016 12:01:04 +0000 (21:01 +0900)]
edje: Remove usage of evas object eo events

Switch to pointer events.

8 years agoreadme - typo--
Carsten Haitzler (Rasterman) [Tue, 14 Jun 2016 06:39:05 +0000 (15:39 +0900)]
readme - typo--

8 years agoefl readme - add platfomr support info there and openbsd not supported
Carsten Haitzler (Rasterman) [Tue, 14 Jun 2016 01:46:44 +0000 (10:46 +0900)]
efl readme - add platfomr support info there and openbsd not supported

add some info on platform support in readme and note than openbsd is
not supported.

8 years agoelput: Fix issue of VT-Switching not working
Chris Michael [Mon, 13 Jun 2016 20:18:13 +0000 (16:18 -0400)]
elput: Fix issue of VT-Switching not working

This patch fixes an issue where you could not VT-switch away from a
running Enlightenment session by simplifying the vt switch code and
passing the proper arguments to the dbus message.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas-wayland: Minor formatting fixes
Chris Michael [Mon, 13 Jun 2016 17:00:13 +0000 (13:00 -0400)]
ecore-evas-wayland: Minor formatting fixes

NB: no functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas-drm: Re-enable direct input callback
Chris Michael [Mon, 13 Jun 2016 16:49:40 +0000 (12:49 -0400)]
ecore-evas-drm: Re-enable direct input callback

As it seems the jpeg breakage is over wrt direct input callbacks, we
can re-enable these for the drm engines

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoedje: make svg support a beta feature of edje_cc.
Cedric BAIL [Mon, 13 Jun 2016 17:54:18 +0000 (10:54 -0700)]
edje: make svg support a beta feature of edje_cc.

Should we do the same with Canvas3D part ?

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