platform/upstream/efl.git
9 years agoeolian: improve function_full_c_name_get API
Daniel Kolesa [Wed, 8 Jul 2015 11:09:56 +0000 (12:09 +0100)]
eolian: improve function_full_c_name_get API

It's now generalized to work properly with legacy functions
as well as correctly append suffixes. Thus, it can be easily
used with the documentation generator and in other places.

@feature

9 years agonew animator coverity complaints - silence them
Carsten Haitzler (Rasterman) [Wed, 8 Jul 2015 09:51:11 +0000 (18:51 +0900)]
new animator coverity complaints - silence them

check return of read/write to make coverity happy (even though they
should never fail as it's a pipe within a process).

9 years agoecore-input-evas: fix canvas mouse event dispatch
Mike Blumenkrantz [Tue, 7 Jul 2015 18:15:29 +0000 (14:15 -0400)]
ecore-input-evas: fix canvas mouse event dispatch

this was broken in 5cb6cdbc5e1a13ea0262e155983b494e6519abde such that
when multiple sources produce mouse events using the same device,
these events are marshalled as though they were from the same canvas.
the result is that eventing is wrong on at least one of the canvases,
and spurious mouse-up events are triggered before every mouse down

fix T2509

9 years agoeolian/generator: add proper generation of references
Daniel Kolesa [Tue, 7 Jul 2015 16:19:13 +0000 (17:19 +0100)]
eolian/generator: add proper generation of references

Adds proper generation of automatic references in docs.
For now events are missing.

@feature

9 years agoeolian: initial work on doc syntax validation (disabled for now)
Daniel Kolesa [Tue, 7 Jul 2015 14:21:45 +0000 (15:21 +0100)]
eolian: initial work on doc syntax validation (disabled for now)

9 years agoevas: Remove unused variable
Chris Michael [Tue, 7 Jul 2015 13:00:04 +0000 (09:00 -0400)]
evas: Remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEvas line: Migrate Eolian file to use the Eolian types.
Tom Hacohen [Tue, 7 Jul 2015 12:55:02 +0000 (13:55 +0100)]
Evas line: Migrate Eolian file to use the Eolian types.

9 years agoEvas line: Remove obviously wrong default values.
Tom Hacohen [Tue, 7 Jul 2015 12:54:10 +0000 (13:54 +0100)]
Evas line: Remove obviously wrong default values.

9 years agoevas - image core - fix unloading of images to work again
Carsten Haitzler (Rasterman) [Tue, 7 Jul 2015 12:29:31 +0000 (21:29 +0900)]
evas - image core - fix unloading of images to work again

i think this has been disabled for a while. image unloading is broken
- esp with gl enigne as due to async move it was effectively disabled.

this re-enables it. unloading is deferred with a managed list of things
needing unloading and then when any async sw renders are not busy any
more - do the unload then in the mainloop of all pending/flagged
images to unload

@fix

9 years agoEvas gl core: Move variables to the correct ifdef branch.
Tom Hacohen [Tue, 7 Jul 2015 12:28:53 +0000 (13:28 +0100)]
Evas gl core: Move variables to the correct ifdef branch.

These variables were not really used in the #else branch of the ifdef.
This moves them to the correct place removing the unused variables issues.

9 years agoEcore con eet test: Fix const discard issue.
Tom Hacohen [Tue, 7 Jul 2015 12:25:58 +0000 (13:25 +0100)]
Ecore con eet test: Fix const discard issue.

9 years agoEcore Anim: fix compilation on Windows
Vincent Torri [Tue, 7 Jul 2015 11:48:50 +0000 (13:48 +0200)]
Ecore Anim: fix compilation on Windows

sys/select.h is not available on Windows

9 years agoEcore Exe: decrease log level on Windows
Vincent Torri [Tue, 7 Jul 2015 11:48:17 +0000 (13:48 +0200)]
Ecore Exe: decrease log level on Windows

9 years agoEcore Con: Fix ecore_con_local hangs on Windows.
Vincent Torri [Tue, 7 Jul 2015 10:34:40 +0000 (12:34 +0200)]
Ecore Con: Fix ecore_con_local hangs on Windows.

Since the move to eo, ecore_con_local hangs on Windows, hence edje_cc can
not compile edc files (e.g.).
Problem was a loop that was used to finish some threads which is now endless.

For now, comment out that loop

@fix

9 years agoEcore_Con: decrease log level in ecore_con_local_win32
Vincent Torri [Tue, 7 Jul 2015 10:33:39 +0000 (12:33 +0200)]
Ecore_Con: decrease log level in ecore_con_local_win32

9 years agoEcore exe (windows): Fix object destruction/failed creation.
Tom Hacohen [Tue, 7 Jul 2015 10:36:06 +0000 (11:36 +0100)]
Ecore exe (windows): Fix object destruction/failed creation.

The correct way of disposing of an object in a failed finalisation is to
return NULL, not to delete it.

Also, since the destructor is already called when the object is deleted
anyway, there's no point in having cleanup code in the finalizer too.

@fix

9 years agoeolian: add API: eolian_declaration_get_by_name
Daniel Kolesa [Tue, 7 Jul 2015 09:56:53 +0000 (10:56 +0100)]
eolian: add API: eolian_declaration_get_by_name

Sorry for last minute new API, but this one is necessary to implement
proper verification of references in docs, which I would like to have
in 1.15. It allows you to retrieve any kind of declaration by full
namespace, so that you can check for an existence of an Eolian decl,
rather than checking every type individually.

@feature

9 years agoecore animator - use windows ifdefs/macros so it works there
Carsten Haitzler (Rasterman) [Tue, 7 Jul 2015 06:41:44 +0000 (15:41 +0900)]
ecore animator - use windows ifdefs/macros so it works there

9 years agoanimator - use select not uslleep so we can wake up during a sleep
Carsten Haitzler (Rasterman) [Tue, 7 Jul 2015 03:32:04 +0000 (12:32 +0900)]
animator - use select not uslleep so we can wake up during a sleep

if you change animator frametime while we are sleeping for a frame...
we can't wake up and adjust. this allows that with a pipe and select.

9 years agoeolian/generator: use the __eolian function in overrides when default values are...
Daniel Kolesa [Mon, 6 Jul 2015 10:25:32 +0000 (11:25 +0100)]
eolian/generator: use the __eolian function in overrides when default values are present

9 years agoecore_con: convert doc of ecore_con_eet.eo
Srivardhan Hebbar [Mon, 6 Jul 2015 09:20:28 +0000 (10:20 +0100)]
ecore_con: convert doc of ecore_con_eet.eo

Summary:
converted docs of ecore_con_eet.eo to the new style.

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

Subscribers: yashu21985, cedric

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

9 years agoecore - animator - new thread timer animator - fiux shutdown
Carsten Haitzler (Rasterman) [Mon, 6 Jul 2015 09:00:19 +0000 (18:00 +0900)]
ecore - animator - new thread timer animator - fiux shutdown

expedite actualyl shuts ecore down - fix eina magic complaints with
safe shutdown.

9 years agoEvas.Image: Fix legacy EAPI name
Jean-Philippe Andre [Mon, 6 Jul 2015 05:22:45 +0000 (14:22 +0900)]
Evas.Image: Fix legacy EAPI name

Thanks @kuuko for the report. Sorry for the breakage of Python apps.

9 years agoEvas gl_common: Fix up error handling
WooHyun Jung [Mon, 6 Jul 2015 05:18:36 +0000 (14:18 +0900)]
Evas gl_common: Fix up error handling

9 years agoevas gl - dont crash if gl image internal im is null
Carsten Haitzler (Rasterman) [Sun, 5 Jul 2015 09:01:06 +0000 (18:01 +0900)]
evas gl - dont crash if gl image internal im is null

new crash i saw today

9 years agoefreet - improve edstop exec find to use the command with less args
Carsten Haitzler (Rasterman) [Sun, 5 Jul 2015 03:53:14 +0000 (12:53 +0900)]
efreet - improve edstop exec find to use the command with less args

efreet will just match any desktop file (at random basically -
whatever is first in the list), thjat has the base command looked at.
if you have various desktip files with the same command, like:

mycommand
mycommand %U
mycommand -a -b -c /path/to/file
/usr/bin/mycommand

etc. - which one does it match? it'll pick the first and the list
ordering is arbitrary, so this is pretty bad. this strips off the base
command at the start (full path or whatever) and then uses the command
with the shortest argument length. this means the generic command is
found first if we look for "mycommand" in the above list, whihc ends
up the best... ESPECIALLY for steam which does just this.

9 years agoedje: add Convex Hull logic
perepelits.m [Sat, 4 Jul 2015 00:39:08 +0000 (02:39 +0200)]
edje: add Convex Hull logic

Summary: This is an algorithm which calcuates a convex hull of some mesh, in fact it returns vertex, index, normal and color datas, though the new mesh could be build just as for AABB

Reviewers: raster, Hermet, cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: fix failure of eina_quaternion_test.
Vivek Ellur [Sat, 4 Jul 2015 00:30:40 +0000 (02:30 +0200)]
eina: fix failure of eina_quaternion_test.

Summary:
eina_test_quaternion_norm was failing. so fixed it.

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEcore_File: use ecore_file_mkdir()
Vincent Torri [Fri, 3 Jul 2015 08:11:01 +0000 (10:11 +0200)]
Ecore_File: use ecore_file_mkdir()

9 years agoEcore_File: better implementation of ecore_file_mkdir()
Vincent Torri [Fri, 3 Jul 2015 07:35:25 +0000 (09:35 +0200)]
Ecore_File: better implementation of ecore_file_mkdir()

9 years agoEcore_File: improve comment of ecore_file_mkdir()
Vincent Torri [Fri, 3 Jul 2015 07:34:46 +0000 (09:34 +0200)]
Ecore_File: improve comment of ecore_file_mkdir()

9 years agoEina: include string.h on Windows as memcpy is used (fixes warning)
Vincent Torri [Fri, 3 Jul 2015 07:33:00 +0000 (09:33 +0200)]
Eina: include string.h on Windows as memcpy is used (fixes warning)

9 years agoEvil: add a wrapper around _mkdir
Vincent Torri [Fri, 3 Jul 2015 06:14:01 +0000 (08:14 +0200)]
Evil: add a wrapper around _mkdir

@feature

9 years agoEfl debug daemon: Fix Warning on Windows.
Vincent Torri [Thu, 2 Jul 2015 20:24:44 +0000 (22:24 +0200)]
Efl debug daemon: Fix Warning on Windows.

According to the Open Group, pid_t is signed integer and can not
be larger than a long

9 years agoEdje_Player: disable code unused on Windows.
Vincent Torri [Thu, 2 Jul 2015 12:50:15 +0000 (14:50 +0200)]
Edje_Player: disable code unused on Windows.

9 years agoEcore_Con_Ares: fix undefined variable warning
Vincent Torri [Thu, 2 Jul 2015 11:10:55 +0000 (13:10 +0200)]
Ecore_Con_Ares: fix undefined variable warning

9 years agoeolian: generate correct fallback character
Daniel Kolesa [Fri, 3 Jul 2015 15:15:01 +0000 (16:15 +0100)]
eolian: generate correct fallback character

9 years agoeolian: add support for monospace highlights in docs
Daniel Kolesa [Fri, 3 Jul 2015 15:13:59 +0000 (16:13 +0100)]
eolian: add support for monospace highlights in docs

9 years agoeolian: allow trailing comma on last enum item (just like C)
Daniel Kolesa [Fri, 3 Jul 2015 14:19:12 +0000 (15:19 +0100)]
eolian: allow trailing comma on last enum item (just like C)

9 years agoInterfaces: fix event name
Daniel Zaoui [Fri, 3 Jul 2015 07:35:25 +0000 (10:35 +0300)]
Interfaces: fix event name

zoom,change is the name used in efl and elementary, not zoom,changed

@fix

9 years agoeina: don't return NULL silently when creating new tilers
Mike Blumenkrantz [Thu, 2 Jul 2015 18:18:06 +0000 (14:18 -0400)]
eina: don't return NULL silently when creating new tilers

9 years agoEvas gl_common: Fix up error handling
WooHyun Jung [Thu, 2 Jul 2015 12:54:51 +0000 (21:54 +0900)]
Evas gl_common: Fix up error handling

9 years agoecore animators - improve accuracy by having a thread do animator timing
Carsten Haitzler (Rasterman) [Thu, 2 Jul 2015 09:24:18 +0000 (18:24 +0900)]
ecore animators - improve accuracy by having a thread do animator timing

this will cause animators to be more accurate now with timing coming
from a dedicated thread whose only reason in life is to trigger timed
wakeups. the wakeup time is even adjusted with fmod to the exact
frametime slot that is expected

9 years agoRevert "Evas gl_cocoa: remove code duplicated from gl_generic"
Jean-Philippe Andre [Thu, 2 Jul 2015 07:00:40 +0000 (16:00 +0900)]
Revert "Evas gl_cocoa: remove code duplicated from gl_generic"

This reverts commit 681c8b0ec25a0a00325d32aa0f0178434bb54ae7.

@cedric pointed me out that gl_cocoa doesn't depend on gl_generic,
so this commit was not very smart.

9 years agoEvas.Image: Simplify logic (trivial change)
Jean-Philippe Andre [Thu, 2 Jul 2015 06:41:06 +0000 (15:41 +0900)]
Evas.Image: Simplify logic (trivial change)

9 years agoEvas.Image: Deprecate some functions and remove from Eo
Jean-Philippe Andre [Thu, 2 Jul 2015 05:26:44 +0000 (14:26 +0900)]
Evas.Image: Deprecate some functions and remove from Eo

This patch deprecates the following functions:
- evas_object_image_data_convert
- evas_object_image_pixels_import
- evas_object_image_reload

I could not find any place where they are used.

The old documentation is kept in the header, but not as a doxygen
anymore.

9 years agoEvas: Replace image_map_surface_free by common image_free
Jean-Philippe Andre [Thu, 2 Jul 2015 03:04:02 +0000 (12:04 +0900)]
Evas: Replace image_map_surface_free by common image_free

Those two functions were doing exactly the same thing[1], which
is free an image, so this commit only attempts to simplify the code
a little bit.

[1] Actually image_map_surface_free() might even not have worked
properly with cserve2 sw (calling unload instead of close).

9 years agoEvas gl_cocoa: remove code duplicated from gl_generic
Jean-Philippe Andre [Thu, 2 Jul 2015 02:56:36 +0000 (11:56 +0900)]
Evas gl_cocoa: remove code duplicated from gl_generic

Remove the two functions:
- image_data_get
- image_data_put

9 years agoEvas: Implement image_data_get for FBO images
Jean-Philippe Andre [Thu, 2 Jul 2015 02:52:16 +0000 (11:52 +0900)]
Evas: Implement image_data_get for FBO images

9 years agoecore-wl: disable session recovery
Mike Blumenkrantz [Wed, 1 Jul 2015 16:11:55 +0000 (12:11 -0400)]
ecore-wl: disable session recovery

this is guaranteed to crash in 100% of use cases.

9 years agoEvas Textblock: Add obstacle objects feature
Daniel Hirt [Wed, 1 Jul 2015 15:24:31 +0000 (16:24 +0100)]
Evas Textblock: Add obstacle objects feature

Summary:
Introducing a new feature for Evas Textblock. This allows the layout to
wrap around other evas objects.
The following API is added:
 - obstacle_add
 - obstacle_del
 - obstacle_update
Evas objects can now serve as textblock obstacles, if positioned and
visible on the text area. The text will wrap around the obstacles
according to the wrapping mode set to it.

This also modifies the current wrapping code to handle obstacle wrap
points as well. The wrap index query function is modified so that
forward-scanning (specific cases) may be disabled when treating
obstacle wrap point.

RTL text is currently unsupported by this feature.
Consult added docs and example for usage.

@feature

Test Plan: Evas example and test in evas_suite are provided with this.

Reviewers: tasn

Subscribers: raster, JackDanielZ, cedric

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

9 years agoelua: remove obsolete xgettext wrapper
Daniel Kolesa [Wed, 1 Jul 2015 13:49:44 +0000 (14:49 +0100)]
elua: remove obsolete xgettext wrapper

9 years agoEvas image: Remove useless piece of code
Jean-Philippe Andre [Wed, 1 Jul 2015 05:19:25 +0000 (14:19 +0900)]
Evas image: Remove useless piece of code

Not only is it useless, it is very likely to make the function call
fail (data_get is quite likely to fail with GL).

9 years agoEdje: Embed verbatim scripts for Efl.Gfx.Filters
Jean-Philippe Andre [Tue, 30 Jun 2015 10:26:20 +0000 (19:26 +0900)]
Edje: Embed verbatim scripts for Efl.Gfx.Filters

This is now like the other embedded scripts, where a verbatim
string is parsed. The syntax is now:

filters {
   filter {
      name: "filter0";
      file: "filter.lua";
   }
   filter {
      name: "filter1";
      script {
         blend {}
      }
   }
   filter.file: "file.lua"; // name is "file.lua"
}

Thanks @raster for the quick review.

9 years agoEvas: Make Evas.Image.save() work with all images
Jean-Philippe Andre [Tue, 30 Jun 2015 06:37:55 +0000 (15:37 +0900)]
Evas: Make Evas.Image.save() work with all images

This includes proxies, 3d scenes and normal images.
There is still a problem as the GL engine returns NULL on
data_get.

This kinda goes against the EO API declaration as
eo_obj is used as a mutable argument, but internal data was
already modified before this patch.

TODO: Draw maps, filters, etc... in a dedicated surface to save
      them as they truly are (ie. filtered images).

9 years agoevas-fb: Fix compiler warnings about suggested parentheses
Chris Michael [Tue, 30 Jun 2015 13:25:23 +0000 (09:25 -0400)]
evas-fb: Fix compiler warnings about suggested parentheses

Summary: Gcc suggested parens around the truth value here, however
as some developers don't like overly used parens, just modify the code
slightly to not use an if on the assignment line.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore: Fix typo in since tag.
Amitesh Singh [Tue, 30 Jun 2015 10:08:09 +0000 (15:38 +0530)]
ecore: Fix typo in since tag.

9 years agoecore_imf: check parameter of ecore_imf_module_register ()
Jihoon Kim [Tue, 30 Jun 2015 07:43:37 +0000 (16:43 +0900)]
ecore_imf: check parameter of ecore_imf_module_register ()

9 years agoecore_imf: fix wrong return type of ecore_imf_context_input_panel_return_key_type_get
Jihoon Kim [Tue, 30 Jun 2015 07:39:56 +0000 (16:39 +0900)]
ecore_imf: fix wrong return type of ecore_imf_context_input_panel_return_key_type_get

@fix

9 years agoEvas filters: Force filter redraw if object changed
Jean-Philippe Andre [Tue, 30 Jun 2015 02:45:55 +0000 (11:45 +0900)]
Evas filters: Force filter redraw if object changed

Somehow I broke this when introducing the eo mixin.
This is what broke @cedric's work on the snapshot widget!

TODO: Verify that the contents changed, and not just X,Y.

9 years agoEvas filters: Fix color(0xrrggbb) to be opaque by default
Jean-Philippe Andre [Tue, 30 Jun 2015 01:33:29 +0000 (10:33 +0900)]
Evas filters: Fix color(0xrrggbb) to be opaque by default

For compatibility with previous behaviour and with what the doc
says, make sure default alpha is 255 and not 0.

This way color(0) is black and not transparent

9 years agodoc: Fixup EDC documentation about filters & examples
Jean-Philippe Andre [Mon, 29 Jun 2015 10:52:56 +0000 (19:52 +0900)]
doc: Fixup EDC documentation about filters & examples

9 years agoEdje: Fix test case (after syntax change)
Jean-Philippe Andre [Mon, 29 Jun 2015 10:06:26 +0000 (19:06 +0900)]
Edje: Fix test case (after syntax change)

Filters now belong to one of the filters sections:
- filters
- collections.filters
- collections.group.filters

9 years agoEdje: Use bsearch() to find filters as fast as possible
Jean-Philippe Andre [Mon, 29 Jun 2015 08:51:42 +0000 (17:51 +0900)]
Edje: Use bsearch() to find filters as fast as possible

edje_cc ensures that the filters are in order by name

9 years agoEdje: Replace index() by strchr()
Jean-Philippe Andre [Mon, 29 Jun 2015 08:00:57 +0000 (17:00 +0900)]
Edje: Replace index() by strchr()

Thanks vtorri for pointing out the build break on windows and
that index() is deprecated.

9 years agoEdje: Add proper filters section in the EDJ file
Jean-Philippe Andre [Mon, 29 Jun 2015 07:47:00 +0000 (16:47 +0900)]
Edje: Add proper filters section in the EDJ file

Don't [ab]use the file data section for filter scripts, instead
create a proper section for them. The rest of the behaviour stays
the same.

9 years agodoc: EDC reference: Add specific doc for group.data
Jean-Philippe Andre [Fri, 26 Jun 2015 02:48:57 +0000 (11:48 +0900)]
doc: EDC reference: Add specific doc for group.data

Group.data does not support "file", only "item". This doc
explains that.

Should Group.Data support file instead?

9 years agoEdje: Use array instead of hash for filters data
Jean-Philippe Andre [Fri, 26 Jun 2015 01:40:27 +0000 (10:40 +0900)]
Edje: Use array instead of hash for filters data

Yeah that was totally overkill and pure laziness on my side.

Despite having the EO API for the filters still in beta,
I want to the EDC API and EDJ binary formats to stay compatible,
so let's get it right before the release :)

9 years agoRevert "evas: add keysym member to key event structs"
Mike Blumenkrantz [Mon, 29 Jun 2015 17:12:10 +0000 (13:12 -0400)]
Revert "evas: add keysym member to key event structs"

This reverts commit b7c89d23252d34c1d9efecc27dc835aa8df3c50d.

this was audited and found to be impractical due to portability concerns

9 years agoRevert "ecore-input: add keysym to Ecore_Event_Key struct"
Mike Blumenkrantz [Mon, 29 Jun 2015 17:11:47 +0000 (13:11 -0400)]
Revert "ecore-input: add keysym to Ecore_Event_Key struct"

This reverts commit c3f3c4eba80f0a7f388de608f2b1566213e73603.

this was audited and found to be impractical due to portability concerns

9 years agoecore-x: add ecore_x_keysym_get()
Mike Blumenkrantz [Mon, 29 Jun 2015 17:09:56 +0000 (13:09 -0400)]
ecore-x: add ecore_x_keysym_get()

this is a less invasive solution for retrieving a keysym. X keysyms are
not portable, and so this function should not be used for any code which
is meant to run on other platforms.

@feature

9 years agoecore_x_xi2: remove build warning
Ji-Youn Park [Mon, 29 Jun 2015 15:58:24 +0000 (00:58 +0900)]
ecore_x_xi2: remove build warning

9 years agoecore_wl: Hookup wl listener for uuid event from session recovery protocol
Stefan Schmidt [Fri, 20 Mar 2015 13:13:59 +0000 (14:13 +0100)]
ecore_wl: Hookup wl listener for uuid event from session recovery protocol

This should listen for events containing the assigned UUID from the compositor.

9 years agoecore_wl: Add generated session-recovery-protocol files to build
Stefan Schmidt [Fri, 20 Mar 2015 12:28:08 +0000 (13:28 +0100)]
ecore_wl: Add generated session-recovery-protocol files to build

For now these are generated externally by wayland-scanner and added here.
Also keep the original xml protocol file here for now.

This covers the client side for applications while the server side code
sits with E as compositor.

9 years agoecore_x_xi2: add small code to check device id
Ji-Youn Park [Mon, 29 Jun 2015 15:02:47 +0000 (00:02 +0900)]
ecore_x_xi2: add small code to check device id

cancel event only can be dealed in touch device.

9 years agoecore_x_xi2: fix only ecore input handler deals touch cancel event
Ji-Youn Park [Mon, 29 Jun 2015 14:09:33 +0000 (23:09 +0900)]
ecore_x_xi2: fix only ecore input handler deals touch cancel event

X gives only one cancel event in one touch device even though several touch point.
move code related with touch cancel to input hander function

9 years agoEvas textblock: Fix it->x value during layout
Daniel Hirt [Mon, 29 Jun 2015 10:21:55 +0000 (13:21 +0300)]
Evas textblock: Fix it->x value during layout

This updates it->x when visiting each item in the line layout code,
as it was always 0, even when it was used during item rollback.
Fortunately, in the above case a 0 value was actually expected, so
this does not actually affect current behavior.

This fix is mainly for consistency and future development.

9 years agoEvas textblock: Fix infinite loop case
Daniel Hirt [Sun, 28 Jun 2015 12:02:28 +0000 (15:02 +0300)]
Evas textblock: Fix infinite loop case

This fixes a case with wrapping, where the text has a mixture of 'none'
and 'word' wrapping modes, and the layout function decides to
roll-back a few items.
The test case is added to the evas_suite.
This might not be a common case, or even a case we had defined a proper
behavior to, but since it causes an infinite loop, it needs to be fixed.

@fix

9 years agoefreetd_ipc: fix shadow warning
Daniel Kolesa [Mon, 29 Jun 2015 13:28:01 +0000 (14:28 +0100)]
efreetd_ipc: fix shadow warning

9 years agoevas_engine_software_x11: fix incorrect enumeration type warning
Daniel Kolesa [Mon, 29 Jun 2015 13:27:02 +0000 (14:27 +0100)]
evas_engine_software_x11: fix incorrect enumeration type warning

9 years agoedje: fix extra parens warning with clang
Daniel Kolesa [Mon, 29 Jun 2015 13:19:57 +0000 (14:19 +0100)]
edje: fix extra parens warning with clang

9 years agoecore_imf_evas: warnings--
Daniel Kolesa [Mon, 29 Jun 2015 13:18:40 +0000 (14:18 +0100)]
ecore_imf_evas: warnings--

9 years agoedje: fix shadow warning
Daniel Kolesa [Mon, 29 Jun 2015 13:13:58 +0000 (14:13 +0100)]
edje: fix shadow warning

9 years agoeina: add quaternion test in eina suite and fix the test case errors
Vivek Ellur [Mon, 29 Jun 2015 12:24:21 +0000 (14:24 +0200)]
eina: add quaternion test in eina suite and fix the test case errors

Summary:
Fixed eina_test_quaternion_conjugate and eina_test_quaternion_matrix which
were failing and also added the quaternion test in eina suite

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

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: eoify ecore_con_eet functions.
Srivardhan Hebbar [Mon, 29 Jun 2015 12:21:13 +0000 (14:21 +0200)]
ecore_con: eoify ecore_con_eet functions.

Summary:
Depends on D2602
Made all functions eo.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: opaque value does not change even if image data be changed
jiin.moon [Mon, 29 Jun 2015 11:55:57 +0000 (13:55 +0200)]
evas: opaque value does not change even if image data be changed

Summary:
opaque value keeps previous image's value
when image data be changed by file_set/mmap_set api

@fix

Test Plan:
1) Make a evas rectangle object has color
2) Make a evas image object with jpg file.
3) Replace image data with png file by evas_object_image_file_set.

Reviewers: Hermet, cedric, jypark

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEo: Remove redundant semicolon.
Tom Hacohen [Mon, 29 Jun 2015 11:52:40 +0000 (12:52 +0100)]
Eo: Remove redundant semicolon.

Thanks to Vincent Torri for spotting this one.

9 years agoEmotion: Adding Eo test for emotion
Avi Levin [Sun, 14 Jun 2015 08:46:59 +0000 (11:46 +0300)]
Emotion: Adding Eo test for emotion

This test is exactly like the existing legacy one but works
with Eo invocations.

9 years agoemotion: revert changes to emotion test as discussed on ML and chat
Avi Levin [Thu, 11 Jun 2015 12:20:13 +0000 (15:20 +0300)]
emotion: revert changes to emotion test as discussed on ML and chat

We want a separate test for Eo callbacks, as we still want to verify
legacy callbacks.

9 years agoEvas textblock: Fix the newly added test to use ck_assert_int_eq.
Tom Hacohen [Fri, 26 Jun 2015 14:24:56 +0000 (15:24 +0100)]
Evas textblock: Fix the newly added test to use ck_assert_int_eq.

9 years agoEvas textblock: Fix issue with line_coord_set and y before the first line.
Tom Hacohen [Fri, 26 Jun 2015 14:11:17 +0000 (15:11 +0100)]
Evas textblock: Fix issue with line_coord_set and y before the first line.

Let's assume we have a textblock with one paragraph at y = 3 and h = 50
At the moment, passing 60 (after the paragraph) to line_coord_set picks
the last line, however passing 0, just fails. This fixes that.

Thanks to Vladyslav Shevchenko for reporting it in D2574.

@fix

9 years agoEvas textblock: Add a failing test for line_coord_set.
Vladyslav Shevchenko [Fri, 26 Jun 2015 13:50:22 +0000 (14:50 +0100)]
Evas textblock: Add a failing test for line_coord_set.

See more information in the next commit.

This commit message was edited by TAsn, and only the test case preserved
from the original commit in D2574.

9 years agoevas_canvas3d_material: convert docs
Daniel Kolesa [Fri, 26 Jun 2015 13:35:39 +0000 (14:35 +0100)]
evas_canvas3d_material: convert docs

9 years agoevas_line: convert docs
Daniel Kolesa [Fri, 26 Jun 2015 13:00:36 +0000 (14:00 +0100)]
evas_line: convert docs

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>