platform/upstream/efl.git
9 years agoecore_evas: fix iconified state set bug
Ji-Youn Park [Fri, 26 Jun 2015 10:18:09 +0000 (19:18 +0900)]
ecore_evas: fix iconified state set bug

if app set iconified state false, ecore evas call activate instead of show.

9 years agoecore-evas-extn : map shm for sharing render pixels conservatively
Carsten Haitzler (Rasterman) [Fri, 26 Jun 2015 08:37:24 +0000 (17:37 +0900)]
ecore-evas-extn : map shm for sharing render pixels conservatively

@fix

before we mapped these segmentsa read+write for the user or read+write
for EVERYONE if system. this now creates the file as r+w for the user
and +ro for everyone only IF system, and clients voluntarily map
read-only to avoid possible memory corrupting of pixels from the
client side. not more secure for clients, but nicer. defintiely more
secure for system services.

9 years agoecore_x_xi2: fix crash if device info is NULL.
Ji-Youn Park [Fri, 26 Jun 2015 04:42:56 +0000 (13:42 +0900)]
ecore_x_xi2: fix crash if device info is NULL.

_ecore_x_input_device_lookup can return NULL.
@fix

9 years agoEdje tests: Fix compilation warning
Jean-Philippe Andre [Fri, 26 Jun 2015 00:09:03 +0000 (09:09 +0900)]
Edje tests: Fix compilation warning

Thanks Stefan for the report.

I don't really like putting all those -DBLA_BETA or #define BLA_BETA
everywhere, though. Maybe the @beta flag is not required since the
EO APIs are still beta?

See: 04466193558ed23f4af3da4a5381aa75ea6e13e5

9 years agoRevert "ecore-wayland: Update xdg shell protocol file"
Chris Michael [Thu, 25 Jun 2015 19:14:56 +0000 (15:14 -0400)]
Revert "ecore-wayland: Update xdg shell protocol file"

This reverts commit 5793a62fc839af489263c918b78adb7765f8566d.

Reverted due to wrong version being pushed

9 years agoecore-wayland: Update xdg shell protocol file
Chris Michael [Thu, 25 Jun 2015 19:11:31 +0000 (15:11 -0400)]
ecore-wayland: Update xdg shell protocol file

Summary: This was a file that should have been updated with
the bump to xdg_shell version 5 however it was not pushed with that
update.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje_cc: Fix dereference before null check
Chris Michael [Thu, 25 Jun 2015 18:59:28 +0000 (14:59 -0400)]
edje_cc: Fix dereference before null check

Summary: Fix Coverity CID1302700 which reports a dereference before
null check. Basically, it is safe to call free() with a possible NULL
value so we can remove the 'if' check here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje_cc: Fix dereference null return value
Chris Michael [Thu, 25 Jun 2015 18:55:44 +0000 (14:55 -0400)]
edje_cc: Fix dereference null return value

Summary: Fix Coverity CID1308232 which reports that we may be passing
NULL to strcmp here as the function _parse_param_get May return NULL.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje_cc: Fix formatting
Chris Michael [Thu, 25 Jun 2015 18:54:38 +0000 (14:54 -0400)]
edje_cc: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: fix shooter example
perepelits.m [Thu, 25 Jun 2015 14:22:00 +0000 (16:22 +0200)]
evas: fix shooter example

Summary: Disable atlas flag for all objects, fix motion algorithm, add primitives.

Reviewers: Hermet, raster, cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add "mask_flags" instruction for "part" block
Jee-Yong Um [Thu, 25 Jun 2015 14:02:41 +0000 (16:02 +0200)]
edje: add "mask_flags" instruction for "part" block

Summary:
Elementary widgets dealing with Evas Events usually mask event_flags with
EVAS_EVENT_FLAG_ON_HOLD, to show that this event is already handled.
However, widget like Elm_Button, it does not handle EVAS_CALLBACK_MOUSE_DOWN directly,
but it handles Edje_Signal instead, so there's no chance to mask event_flags.
Developers can block event propagation by putting rectangle the very last part of EDC,
but this instruction can help the case making elementary widget with only Edje_Signal handling.
This is not required essentially, so please check the necessity of this function.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: implement methods for mouse_events with edje_part for Edje Embryo script.
Jee-Yong Um [Thu, 25 Jun 2015 13:56:48 +0000 (15:56 +0200)]
edje: implement methods for mouse_events with edje_part for Edje Embryo script.

Summary:
In edje_embryo.c, there are the list for supported methods in script.
However, methods listed from line 175 to 188 don't exist actually.
This patch implements 4 methods among them.
   set_mouse_events(part_id, ev)
   get_mouse_events(part_id)
   set_repeat_events(part_id, rep)
   get_repeat_events(part_id)

Reviewers: Hermet, woohyun, cedric

Reviewed By: cedric

Subscribers: cedric, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test cases for eina matrix map and transform functions
Vivek Ellur [Thu, 25 Jun 2015 13:35:33 +0000 (15:35 +0200)]
eina: add test cases for eina matrix map and transform functions

Summary:
Added test cases for matrix map and transform functions

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

Reviewed By: stefan_schmidt, cedric

Subscribers: stefan_schmidt, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian_cxx: Fix C++ generated inheritance wrappers
Vitor Sousa [Thu, 25 Jun 2015 14:58:43 +0000 (15:58 +0100)]
eolian_cxx: Fix C++ generated inheritance wrappers

Summary:
Fix a bug that happens when a Eolian C++ wrapper have no default
constructor (because it have obligatory constructing methods) and it is
being used as a return of a inheritance wrappers.
Switched to a conversion of the native type as the default return, instead
of a value initialized wrapper.

Reviewers: q66, felipealmeida

Subscribers: cedric

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

9 years agoeolian/generator: constify all prototypes for @const functions
Daniel Kolesa [Thu, 25 Jun 2015 11:17:58 +0000 (12:17 +0100)]
eolian/generator: constify all prototypes for @const functions

Otherwise there would be conflicts in certain circumstances.

This also requires adding const on many existing functions,
and similar work is necessary in Elementary.

@fix

9 years agoector/software: Update the PIXEL_BIT to 8 for better quality.
Subhransu Mohanty [Thu, 25 Jun 2015 09:51:41 +0000 (18:51 +0900)]
ector/software: Update the PIXEL_BIT to 8 for better quality.

9 years agoeolian: try replacing '.' with locale specific decimal point
Daniel Kolesa [Thu, 25 Jun 2015 09:43:54 +0000 (10:43 +0100)]
eolian: try replacing '.' with locale specific decimal point

This fixes parsing of floating point number with locales that use
a comma as decimal separator, as strtof/strtod follows locale
specific conventions.

@fix

9 years agoDoc: Try to fix build on Ubuntu
Jean-Philippe Andre [Thu, 25 Jun 2015 08:50:12 +0000 (17:50 +0900)]
Doc: Try to fix build on Ubuntu

The error message was:
/usr/bin/ld: preview_text_filter.o: undefined reference to symbol 'efl_gfx_filter_program_set'
//home/batden/Enlightenment20/efl/src/lib/efl/.libs/libefl.so.1: error adding symbols: DSO missing from command line

9 years agoEvas filters: Add some crash safety
Jean-Philippe Andre [Thu, 25 Jun 2015 06:12:32 +0000 (15:12 +0900)]
Evas filters: Add some crash safety

9 years agoEvas filters: Use smooth scaling by default for proxies
Jean-Philippe Andre [Thu, 25 Jun 2015 06:02:44 +0000 (15:02 +0900)]
Evas filters: Use smooth scaling by default for proxies

Is it too slow? Then I guess a new API option will be required.

9 years agoEvas filters: Fix usage of proxy buffers (compatibility)
Jean-Philippe Andre [Thu, 25 Jun 2015 05:43:05 +0000 (14:43 +0900)]
Evas filters: Fix usage of proxy buffers (compatibility)

The previous API supported stuff like "mask{'image1'}" but image1
is now not a valid buffer name, as it's only the proxy source name.
This patch fixes the buffer lookup.

9 years agoEvas filters: Mark API as @beta
Jean-Philippe Andre [Thu, 25 Jun 2015 02:12:05 +0000 (11:12 +0900)]
Evas filters: Mark API as @beta

Until we're happy with it, keep the API as beta.

The EDC support should not change, and the Lua either, but the
API could potentially still change to accomodate for new needs
(vector graphics, anyone?). If we're happy with the current
interface, then we can remove the @beta flags.

9 years agoEvas filters: Add @protected tag where applicable
Jean-Philippe Andre [Tue, 23 Jun 2015 08:25:44 +0000 (17:25 +0900)]
Evas filters: Add @protected tag where applicable

The Evas.Filter interface is basically just an internal thing.

9 years agoEvas filters: Add explicit exec flag in data_set
Jean-Philippe Andre [Tue, 23 Jun 2015 07:40:51 +0000 (16:40 +0900)]
Evas filters: Add explicit exec flag in data_set

This flag should be set iif the string passed is to be executed
rather than assigned. This is used to pass complex arguments
as data, like tables (eg. color class).

9 years agoEvas filters: Remove overrides of methods from Evas.Filter
Jean-Philippe Andre [Tue, 23 Jun 2015 06:21:45 +0000 (15:21 +0900)]
Evas filters: Remove overrides of methods from Evas.Filter

Welp that was stupid to add them in the first place...

9 years agoEvas tests: Fix failing tests
Jean-Philippe Andre [Tue, 23 Jun 2015 03:38:53 +0000 (12:38 +0900)]
Evas tests: Fix failing tests

Syntax error in C and in Lua code.

9 years agoEdje tests: Add test case for embedded text filters
Jean-Philippe Andre [Tue, 23 Jun 2015 03:38:32 +0000 (12:38 +0900)]
Edje tests: Add test case for embedded text filters

9 years agoEdje & evas filters: Properly pass data from EDC to Lua
Jean-Philippe Andre [Tue, 23 Jun 2015 03:21:20 +0000 (12:21 +0900)]
Edje & evas filters: Properly pass data from EDC to Lua

Also fix a few issues

9 years agoEvas filters: Fix buffer_push and add support for color classes
Jean-Philippe Andre [Tue, 23 Jun 2015 02:44:54 +0000 (11:44 +0900)]
Evas filters: Fix buffer_push and add support for color classes

Makes sure that buffers don't override already existing
globals vars such as 'mask' (a function name). Yeah, it happened
to me.

CC support is a little bit hackish. Need to find a better way.

9 years agoEdje & evas filters: Add extra data from EDC to Lua program
Jean-Philippe Andre [Mon, 22 Jun 2015 12:52:16 +0000 (21:52 +0900)]
Edje & evas filters: Add extra data from EDC to Lua program

This also supports color classes (really rough implementation for
now, but the API should remain stable).

@feature

9 years agoEvas filters: Add name to the filters
Jean-Philippe Andre [Fri, 19 Jun 2015 08:38:28 +0000 (17:38 +0900)]
Evas filters: Add name to the filters

Deep down internally there was already a name, but no API could
really set it properly.
Here Edje will set the name of the filter based on the part name
or the data item name if relevant.

9 years agoEvas filters: Complete support for image filtering
Jean-Philippe Andre [Thu, 18 Jun 2015 12:45:21 +0000 (21:45 +0900)]
Evas filters: Complete support for image filtering

Reusing the new EO mixin, complete the support for image
filtering. This now adds support for edje state inside
the image filter.

9 years agoEvas tests: Fix failing test due to API change
Jean-Philippe Andre [Thu, 18 Jun 2015 10:15:16 +0000 (19:15 +0900)]
Evas tests: Fix failing test due to API change

The new Lua color function is more lax than before, and
invalid color names will default to black without failing.

9 years agoEvas filters: EO-ify the filters API
Jean-Philippe Andre [Wed, 17 Jun 2015 07:26:30 +0000 (16:26 +0900)]
Evas filters: EO-ify the filters API

This creates the new interface
 Efl.Gfx.Filter

And the implementation is a mixin (evas_filter_mixin.c):
 Evas.Filter

All the filter rendering code has now been moved to this
new file. TODO: Merge image filtering.

9 years agoEdje: Factorise filter code for TEXT and IMAGE
Jean-Philippe Andre [Wed, 17 Jun 2015 04:49:18 +0000 (13:49 +0900)]
Edje: Factorise filter code for TEXT and IMAGE

TODO: eo-ify the filter API properly and stabilize it.

9 years agoEdje: Move filter desc to common desc
Jean-Philippe Andre [Wed, 17 Jun 2015 02:21:47 +0000 (11:21 +0900)]
Edje: Move filter desc to common desc

This will be shared between IMAGE and TEXT.
In the future it can also be shared with PROXY and TEXTBLOCK.

9 years agoEdje/evas filters: Use EDJ data sections to store filters code
Jean-Philippe Andre [Tue, 16 Jun 2015 12:05:06 +0000 (21:05 +0900)]
Edje/evas filters: Use EDJ data sections to store filters code

Use the file data {item, file} block to embed filters code.
It can become especially useful to keep the filters as separated
Lua files, that will be embedded in the final edj file.

@feature

9 years agoEdje/evas filters: Add filter.source support
Jean-Philippe Andre [Tue, 16 Jun 2015 05:50:43 +0000 (14:50 +0900)]
Edje/evas filters: Add filter.source support

This should preserve ABI stability with earlier versions of
edje_cc while still providing more advanced control over
proxy bindings for evas filters from EDC.

Also fix proxy binding for filters.

@feature

9 years agoEdje/evas filters: Quick renaming of evas filters related stuff
Jean-Philippe Andre [Wed, 10 Jun 2015 05:11:04 +0000 (14:11 +0900)]
Edje/evas filters: Quick renaming of evas filters related stuff

9 years agoEvas filters: Fix blur from rgba to alpha
Jean-Philippe Andre [Mon, 15 Jun 2015 08:43:39 +0000 (17:43 +0900)]
Evas filters: Fix blur from rgba to alpha

9 years agoEvas filters: Reduce debugging with default compile opts
Jean-Philippe Andre [Tue, 9 Jun 2015 12:29:13 +0000 (21:29 +0900)]
Evas filters: Reduce debugging with default compile opts

When using debug compile flags, full-on filter debug will happen.

9 years agoEvas filters: Implement Lua classes for colors & buffer
Jean-Philippe Andre [Thu, 4 Jun 2015 10:42:38 +0000 (19:42 +0900)]
Evas filters: Implement Lua classes for colors & buffer

Reuse previous code for buffer. Keeps API stability.

The new class "color" is here for a more convenient color
representation. This way, colors can be represented in more
natural ways like: {r,g,b[,a]}, 0xaarrggbb, "red", "#rrggbb"

Class color is implemented in pure Lua, and adds a .lua file
to Evas' share folder.

9 years agoEvas filters: Create specific log domain
Jean-Philippe Andre [Wed, 3 Jun 2015 10:59:11 +0000 (19:59 +0900)]
Evas filters: Create specific log domain

This will improve the debug output of evas and specifically
allow setting "evas_filter" log level to a higher or lower
value depending on what you are debugging :)

9 years agoEvas filters: Pass edje state name & value to the filters
Jean-Philippe Andre [Thu, 28 May 2015 08:59:59 +0000 (17:59 +0900)]
Evas filters: Pass edje state name & value to the filters

From Edje, pass the current state info (name and value) as well
as the next state and the transition position when applicable.

9 years agoEvas filters: Pass object scale to Lua state
Jean-Philippe Andre [Thu, 28 May 2015 06:59:10 +0000 (15:59 +0900)]
Evas filters: Pass object scale to Lua state

9 years agoEvas filters: Implement table & function support for curve
Jean-Philippe Andre [Thu, 28 May 2015 05:37:10 +0000 (14:37 +0900)]
Evas filters: Implement table & function support for curve

Now the points can be specified by passing a table or a proper Lua
function. The previous functionality (parsing a string) is still
valid.

9 years agoEvas filters: Implement __index for Lua buffer objects
Jean-Philippe Andre [Thu, 28 May 2015 01:12:18 +0000 (10:12 +0900)]
Evas filters: Implement __index for Lua buffer objects

9 years agoEvas filters: Pass text colors to the parser
Jean-Philippe Andre [Tue, 26 May 2015 10:37:21 +0000 (19:37 +0900)]
Evas filters: Pass text colors to the parser

This does not implement the full feature yet (Lua variable
is not set). This commit also brings various fixes.

9 years agoEvas filters: Fix runtime, allow state change on the fly
Jean-Philippe Andre [Tue, 26 May 2015 07:12:00 +0000 (16:12 +0900)]
Evas filters: Fix runtime, allow state change on the fly

Now we're ready to implement runtime changes to the filters'
state (color classes, edje state, etc...), as the Lua function
will be run whenver required.

9 years agoEvas filters: Add some @internal flags to the doxygen docs
Jean-Philippe Andre [Tue, 26 May 2015 05:58:56 +0000 (14:58 +0900)]
Evas filters: Add some @internal flags to the doxygen docs

9 years agoEvas filters: Refactor parser code
Jean-Philippe Andre [Mon, 18 May 2015 12:04:29 +0000 (21:04 +0900)]
Evas filters: Refactor parser code

This is to prepare the changeable states (animation, color, scale...)

- Remove use of Eina_Value (simplifies code)
- Use proper Lua type for buffers (with pretty __tostring)
   This adds the buffer methods: width, height, type, name, source

9 years agoEvas filters: Implement very basic print function
Jean-Philippe Andre [Mon, 18 May 2015 09:24:16 +0000 (18:24 +0900)]
Evas filters: Implement very basic print function

9 years agoEvas filters: Fix potential crash
Jean-Philippe Andre [Mon, 18 May 2015 09:13:17 +0000 (18:13 +0900)]
Evas filters: Fix potential crash

9 years agoEvas filters: Add internal function _program_run
Jean-Philippe Andre [Mon, 18 May 2015 08:35:49 +0000 (17:35 +0900)]
Evas filters: Add internal function _program_run

This will allow changing the state of the filter and re-run it
without re-creating the Lua_State object. This is to handle size,
color, animation state and scale changes (amongst other things).

9 years agoEcore_Audio: Avoid abort() in PulseAudio
Jean-Philippe Andre [Wed, 24 Jun 2015 05:43:07 +0000 (14:43 +0900)]
Ecore_Audio: Avoid abort() in PulseAudio

In some cases (stress test), pulseaudio fails to play a sound
and pa_stream_drain() returns NULL, making pa_operation_unref()
crash right after.

9 years agoEvas render: Fix rendering of objects with no_render
Jean-Philippe Andre [Tue, 16 Jun 2015 10:20:57 +0000 (19:20 +0900)]
Evas render: Fix rendering of objects with no_render

Well yeah, those objects should still be rendered in their
proxy or mask surface :)

9 years agoedje_embryo: correct type mismatching in get_geometry() method
Jee-Yong Um [Thu, 25 Jun 2015 04:35:44 +0000 (13:35 +0900)]
edje_embryo: correct type mismatching in get_geometry() method

Summary:
get_geometry() method calls edje_object_part_geometry_get() internally,
and the type of its arguments is Evas_Coord. (typedef'ed integer)
However, comment says that method require Float type as its arguemnts,
and get_geometry() initializes Evas_Coord variables as 0.0.
This patch corrects type mismatching and comment.

@fix

Reviewers: Hermet

Subscribers: cedric, Hermet

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

9 years agoecore con - fix object data referencing for deleted objects
Carsten Haitzler (Rasterman) [Thu, 25 Jun 2015 04:18:22 +0000 (13:18 +0900)]
ecore con - fix object data referencing for deleted objects

if the object has been deleted already, scope data is null. handle it
correctly. this fixes a segv in the new efreetd when it starts and
there is an existing efreet running thus owning the socket fails.

@fix

9 years agoecore con dns - a failed dns lookup is not an err log event
Carsten Haitzler (Rasterman) [Thu, 25 Jun 2015 04:17:04 +0000 (13:17 +0900)]
ecore con dns - a failed dns lookup is not an err log event

spewing out errors for a failed dns lookup is not somehting to ERR out
in logs all the time. it is at best a debug log. the caller handles
the failed connect itself.

@fix

9 years agoeina module - it is not an error to ERR log to not load a .so
Carsten Haitzler (Rasterman) [Thu, 25 Jun 2015 04:15:31 +0000 (13:15 +0900)]
eina module - it is not an error to ERR log to not load a .so

it is not an error. eina_module may be used on files that don't exist
and the caller may handle that as a "does not exist" error. it is not
good to go spewing out errors for this. it's debug at best.

@fix

9 years agoefreetd - new ipc - re-register on reconnect
Carsten Haitzler (Rasterman) [Thu, 25 Jun 2015 02:41:15 +0000 (11:41 +0900)]
efreetd - new ipc - re-register on reconnect

9 years agoefl -> fix possible null deref in efreetd ipc
Carsten Haitzler (Rasterman) [Thu, 25 Jun 2015 02:32:58 +0000 (11:32 +0900)]
efl -> fix possible null deref in efreetd ipc

this fixes CID 1308358

9 years agoecore_evas: fix forgotten call to post render callback.
Cedric BAIL [Wed, 24 Jun 2015 20:46:30 +0000 (22:46 +0200)]
ecore_evas: fix forgotten call to post render callback.

This fix using expedite with buffer backend.

9 years agoeolian_cxx: Use C++ wrappers instead of native types as parameters
Vitor Sousa [Wed, 24 Jun 2015 14:23:01 +0000 (15:23 +0100)]
eolian_cxx: Use C++ wrappers instead of native types as parameters

Summary:
Using C++ wrapper types in the signature of methods of the generated
classes.
Now, when the type is an Eo type defined in Eolian, eolian_cxx will detect
it and use the equivalent C++ wrapper.

Types defined in Eolian no longer need to be specified in the lookup table,
so removed them from there.

Disable wrapping of non-const char*. The current wrapper (unique_ptr) is
not suited for some required operations like ownership acquisition from
C code.

Fix constructing properties that only have the "set" method.

Fix translation of non-const parameters.

Modified Makefiles to allow proper inclusion of evas_cxx headers required
by some tests and examples.

Move one auxiliary function to another reader to make it more accessible.

@feature

Reviewers: felipealmeida, q66, cedric

Subscribers: cedric

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

9 years agoecore-buffer: fix that installing pkgconfig when ecore_buffer is enabled.
Seunghun Lee [Wed, 24 Jun 2015 13:18:11 +0000 (15:18 +0200)]
ecore-buffer: fix that installing pkgconfig when ecore_buffer is enabled.

Summary: ecore-buffer.pc file should be installed when ecore_buffer is enabled.

Reviewers: gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoexamples: Fix build after ecore_buffer commit.
Stefan Schmidt [Wed, 24 Jun 2015 11:46:43 +0000 (13:46 +0200)]
examples: Fix build after ecore_buffer commit.

Since 8b621775619b9959fe952b095b3baaa7aaa99572 make examples fails to build
as the examples have been included without checking if ecore_buffer is
actually enabled to build.

make[2]: *** No rule to make target '../../../src/lib/ecore_buffer/libecore_buffer.la', needed by 'ecore_buffer_example'.  Stop.

I'm running make examples during the nightlies now in the hope to catch those.

9 years agoefl - efreetd service move from dbus session bus to ecore ipc
Carsten Haitzler (Rasterman) [Wed, 24 Jun 2015 10:24:21 +0000 (19:24 +0900)]
efl - efreetd service move from dbus session bus to ecore ipc

this fixes warnings about no efreet dbus session bus in non session
environments as brought up on the mailing lists with:

Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: unset
efreet cache update flag to prevent dbus connections

this moves all of efreetd client and server to ecore ipc, with client
auto-launching efreetd if not found as a service and trying for up to
500ms to connect. efreetd times out on last connection or no
connections after 10sec so it wont hang around forever if not in use.
it seems to work in my testing, so let me know if there is an issue.

@fix

9 years agoeo - silence ERR logs on constructor fail - this is valid behavior
Carsten Haitzler (Rasterman) [Wed, 24 Jun 2015 09:35:46 +0000 (18:35 +0900)]
eo - silence ERR logs on constructor fail - this is valid behavior

@fix

XXX: Given EFL usage of objects, construction is a perfectly valid thing
to do. we shouldn't complain about it as handling a NULL obj creation is
the job of the caller. a perfect example here is ecore_con and ecore_ipc
where you create a con or ipc obj then set up type/destination/port and
the finalize of the constructor does the actual connect and thus this
fails or succeeds based on if service is there.

until there is a better solution - don't complain here.

9 years agomore evas render 2 work - should not affect normal behavior or code
Carsten Haitzler (Rasterman) [Thu, 18 Jun 2015 11:48:37 +0000 (20:48 +0900)]
more evas render 2 work - should not affect normal behavior or code
paths unless turned on at runtime

9 years agoecore-drm: Quiet down output from libinput
Chris Michael [Tue, 23 Jun 2015 17:26:44 +0000 (13:26 -0400)]
ecore-drm: Quiet down output from libinput

Summary: As libinput has matured enough now, we can reduce the noise
in outputs logs by adjusting libinput log level priority

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: relax doc parsing a little (no need to check if @since is allowed)
Daniel Kolesa [Tue, 23 Jun 2015 15:44:17 +0000 (16:44 +0100)]
eolian: relax doc parsing a little (no need to check if @since is allowed)

9 years agoeolian: simplify doc parsing logic a bit
Daniel Kolesa [Tue, 23 Jun 2015 15:34:45 +0000 (16:34 +0100)]
eolian: simplify doc parsing logic a bit

9 years agoecore-drm: Fix setting proper output subpixel value
Chris Michael [Tue, 23 Jun 2015 15:10:42 +0000 (11:10 -0400)]
ecore-drm: Fix setting proper output subpixel value

Summary: This adds a minor internal function to convert
DRM_MODE_SUBPIXEL values into something that the wayland protocol
supports.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue of outputs not getting registered with the wayland registry
Chris Michael [Tue, 23 Jun 2015 15:01:22 +0000 (11:01 -0400)]
ecore-drm: Fix issue of outputs not getting registered with the wayland registry

Summary: This fixes T2465: QT5 apps don't work. The issue here is that
when the randr code runs in E we make calls to
ecore_drm_output_enable/disable which is supposed to register the
outputs with the wayland registry. This was not happening due to the
enable/disabled checks at the top of these functions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix issue of events not getting dispatched properly
Chris Michael [Tue, 23 Jun 2015 15:00:07 +0000 (11:00 -0400)]
ecore-wayland: Fix issue of events not getting dispatched properly

Summary: In order for wayland events to be processed properly, we
should be dispatching any pending events off of the queue First before
we make the call to flush.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: new doc token lexer/parser
Daniel Kolesa [Tue, 23 Jun 2015 14:28:46 +0000 (15:28 +0100)]
eolian: new doc token lexer/parser

This should allow us to more easily extend the format if desired
and overall makes the doc syntax parsing more readable and simpler.

9 years agoRevert "edje: unset efreet cache update flag to prevent dbus connections"
Daniel Kolesa [Tue, 23 Jun 2015 09:22:36 +0000 (10:22 +0100)]
Revert "edje: unset efreet cache update flag to prevent dbus connections"

This reverts commit 1edb35fff3fe54ac7eea1ba2c26e509284b4e470.

Accessing symbols from other libs like this should never be done. The
consequences of this are not significant enough to do this; better solution
can be found but definitely not like this.

9 years agoEcore_Con: Fix make distcheck
Jean-Philippe Andre [Tue, 23 Jun 2015 06:17:45 +0000 (15:17 +0900)]
Ecore_Con: Fix make distcheck

9 years agofb engine : Add NULL type handling in output free.
SangHyeon Lee [Mon, 22 Jun 2015 23:11:39 +0000 (08:11 +0900)]
fb engine : Add NULL type handling in output free.

Summary:
Add NULL type check in output_free of evas fb engine.
If engine setup is failed,
Render_Engine wil be NULL so output_free also need to
handling NULL check.

Test Plan:
It needs specific condition to reproduce,
           engine of ecore_evas is set to fb, and setup is failed,
           then Render_Engine is NULL, but ecore_evas_free will call
           output_free in fb engine's evas_engine.c

Reviewers: raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz, eagleeye, singh.amitesh

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

9 years agoedje: unset efreet cache update flag to prevent dbus connections
Mike Blumenkrantz [Mon, 22 Jun 2015 18:53:13 +0000 (14:53 -0400)]
edje: unset efreet cache update flag to prevent dbus connections

efreet_init began to be called with the addition of translatable strings,
but allowing dbus connections in edje (and thus edje-derived tools) will
result in errors when edje_init is called without a dbus connection available

9 years agoecore_con: eoifying ecore_con_eet.
Srivardhan Hebbar [Mon, 22 Jun 2015 16:55:54 +0000 (18:55 +0200)]
ecore_con: eoifying ecore_con_eet.

Summary:
This is still work in progress. I've added new file for temporary
purpose. Idea is to first eoify everything then change its namespace properly.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add possibility to speed up animation per object.
Cedric BAIL [Mon, 22 Jun 2015 16:46:12 +0000 (18:46 +0200)]
edje: add possibility to speed up animation per object.

This could come handy for previewing the effect of accelerating animation.

@feature

9 years agoedje: add support to control the transition time of edje animation globally.
jiin.moon [Mon, 22 Jun 2015 15:56:08 +0000 (17:56 +0200)]
edje: add support to control the transition time of edje animation globally.

Summary:
Add the transition scale flag and the transtion scale value.
This flag can be change using "transition_scale_enable" in edje program.
If flag is true, the transition scale value affect the transition speed of edje
The transition scale value can be change by elm_config.

@feature

Test Plan: elementary_config

Reviewers: Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-buffer: Add ecore_buffer library to EFL.
Seunghun Lee [Mon, 22 Jun 2015 14:23:54 +0000 (10:23 -0400)]
ecore-buffer: Add ecore_buffer library to EFL.

Summary:
Ecore_Buffer is abstraction of graphic buffer.
it supports backend of shm, x11_dri2 and x11_dri3 for now,
and this library also provides method to share buffers between processes.
Ecore_Buffer_Provider and Ecore_Buffer_Consumer is for this, sharing buffer.
provider draws something in to Ecore_Buffer, and consumer receives and displays it.
the binary, bq_mgr is a connection maker for buffer provider and consumer.
it can be included Enlightenment as a deamon later.

@feature

Test Plan:
1. Configure with --enable-ecore-buffer and --enable-always-build-examples to build examples.
2. Run bq_mgr, it connects consumer and provider.
3. Run ecore_buffer_provider_example and ecore_buffer_consumer_example

Reviewers: lsj119, gwanglim, cedric, zmike, jpeg, raster, devilhorns

Subscribers: cedric

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

9 years agoedje: add of edje-3d to edje_calc.c
perepelits.m [Mon, 22 Jun 2015 09:17:26 +0000 (11:17 +0200)]
edje: add of edje-3d to edje_calc.c

Summary: Adding of Mesh_Node, Light and Camera to _edje_part_recalc.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix Evas.Canvas3D color pick
Oleksandr Shcherbina [Mon, 22 Jun 2015 09:11:29 +0000 (11:11 +0200)]
evas: fix Evas.Canvas3D color pick

Summary:
After this commit 684c51360f1591de4b8aee1f52d4edf8e8353822 it didn't work
Miss bind color pick texture to drawable data
@fix

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, Ievgen, se.osadchy

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: convert docs
Daniel Kolesa [Fri, 19 Jun 2015 14:44:22 +0000 (15:44 +0100)]
ecore_con: convert docs

9 years agoecore_con_base: converted docs
Daniel Kolesa [Fri, 19 Jun 2015 14:18:38 +0000 (15:18 +0100)]
ecore_con_base: converted docs

9 years agoefl_gfx_view: convert docs
Daniel Kolesa [Fri, 19 Jun 2015 14:01:31 +0000 (15:01 +0100)]
efl_gfx_view: convert docs

9 years agoevas canvas3d: Correct Eolian namespace
Oleksandr Shcherbina [Fri, 19 Jun 2015 09:34:48 +0000 (10:34 +0100)]
evas canvas3d: Correct Eolian namespace

Summary: Proceed fixing T2479

Reviewers: cedric, tasn

Subscribers: cedric, tasn

Maniphest Tasks: T2479

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

9 years agoecore_audio: convert docs
Daniel Kolesa [Thu, 18 Jun 2015 15:37:01 +0000 (16:37 +0100)]
ecore_audio: convert docs

9 years agoefl_gfx_gradient: convert docs
Daniel Kolesa [Thu, 18 Jun 2015 15:28:33 +0000 (16:28 +0100)]
efl_gfx_gradient: convert docs

9 years agoecore_audio_in: convert docs
Daniel Kolesa [Thu, 18 Jun 2015 14:55:17 +0000 (15:55 +0100)]
ecore_audio_in: convert docs

9 years agoedje: Fix Coverity CID1299026 and CID1299027: Explicit null dereference
Chris Michael [Thu, 18 Jun 2015 14:29:06 +0000 (10:29 -0400)]
edje: Fix Coverity CID1299026 and CID1299027: Explicit null dereference

Summary: Coverity reports that this potentially is passing a NULL
pointer to strcmp. As the GETSTR macro Can possible return NULL we
should be checking that return before passing it to strcmp.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-render2: Fix Coverity CID1306141: Dereference null return value
Chris Michael [Thu, 18 Jun 2015 14:24:40 +0000 (10:24 -0400)]
evas-render2: Fix Coverity CID1306141: Dereference null return value

Summary: Coverity reports that eina_thread_queue_wait was returning
NULL and thus msg variable being used here causes dereferencing a null
pointer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-input-evas: Fix Coverity CID1306803 (logically dead code)
Chris Michael [Thu, 18 Jun 2015 14:20:07 +0000 (10:20 -0400)]
ecore-input-evas: Fix Coverity CID1306803 (logically dead code)

Summary: This cleans up the _ecore_event_evas_mouse_button function.
Coverity was reporting that the state tests in the 'if' function could
not be be reached due to eel variable being null. This moves the if
(!eel) check to run before the state tests.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-drm: Cleanup compiler warnings when building gl_drm engine
Chris Michael [Thu, 18 Jun 2015 13:59:29 +0000 (09:59 -0400)]
evas-gl-drm: Cleanup compiler warnings when building gl_drm engine

Summary: This cleans up nasty compiler warnings when building the
gl_drm engine. If we do not define EGL_EGLEXT_PROTOTYPES then we end
up with implicit declaration warnings

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEo: Fix windows support.
Tom Hacohen [Thu, 18 Jun 2015 11:30:13 +0000 (12:30 +0100)]
Eo: Fix windows support.

This is heavily based on a patch by Vincent Torri. I just refactored it
a bit so it doesn't break ABI on Linux, only on Windows (where it was
broken anyway).

This patch changes things so on Windows, functions are looked up only
based on their name. Because of the indirection (and export/import
tables) windows does, this is the only reasonable way to make it work.

9 years agoEo: Fix a potentially dangerous lack of {}.
Tom Hacohen [Thu, 18 Jun 2015 12:44:51 +0000 (13:44 +0100)]
Eo: Fix a potentially dangerous lack of {}.

You should always use curly brackets. Especially when the inside statement
has its own curlys. This can be confusing and has already lead to bugs in
many projects.

9 years agoeina/simple_xml_parser: don't parse the <, > in the attribute string.
ChunEon Park [Thu, 18 Jun 2015 10:51:06 +0000 (19:51 +0900)]
eina/simple_xml_parser: don't parse the <, > in the attribute string.

The tag identifier should not be inside of the string "~".
Previous logic doesn't care that scenario,
the parser context can be corrupted and it will be no more useful.

@fix