platform/upstream/efl.git
9 years agoEctor: Another build fix for @mythri
Jean-Philippe Andre [Thu, 16 Jul 2015 10:35:48 +0000 (19:35 +0900)]
Ector: Another build fix for @mythri

9 years agoevas canvas3d: Eolian doc conversion of canvas3d_light.
Srivardhan Hebbar [Thu, 16 Jul 2015 10:16:45 +0000 (11:16 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_light.

Summary:
Apart from evas_canvas3d_node_look_at_set() all other things are referenced.
Tried to reference it to @Evas.Canvas3D.Node.look_at_set(). But getting error.

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

Reviewed By: q66

Subscribers: cedric

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

9 years agoEctor: Fix potential build errors with double typedef
Jean-Philippe Andre [Thu, 16 Jul 2015 02:39:38 +0000 (11:39 +0900)]
Ector: Fix potential build errors with double typedef

Depending on the compiler and its version, having twice a
typedef on the same name may lead to a build failure.

Thanks @mythri for the report.

9 years agoimage_savers/jpeg: actually properly fixed the jump
Daniel Kolesa [Thu, 16 Jul 2015 09:14:44 +0000 (10:14 +0100)]
image_savers/jpeg: actually properly fixed the jump

9 years agoEcore evas: Correct function name in magic failure.
Tom Hacohen [Thu, 16 Jul 2015 08:34:16 +0000 (09:34 +0100)]
Ecore evas: Correct function name in magic failure.

Why this is done like this, and not just with __func__ in the macro is
beyond me.

Thanks to Vincent Torri for pointing this out.

@fix

9 years agoEolian: fix eolian helper for windows.
Tom Hacohen [Thu, 16 Jul 2015 08:27:40 +0000 (09:27 +0100)]
Eolian: fix eolian helper for windows.

Based on an Elementary patch by Vincent Torri.

@fix

9 years agoRevert "image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp"
Carsten Haitzler (Rasterman) [Thu, 16 Jul 2015 02:13:29 +0000 (11:13 +0900)]
Revert "image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp"

This reverts commit 5beb47aa4d65d0be9d75550511dd184e9e69b4d8.

Revert "image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf"

This reverts commit 84c7751e195ea29efffbe55eaa732e739402a04a.

these end up with efl simply not compiling. efl tree does not build at
all now and this warrants a revert.

lib/evas/.libs/libevas.so: undefined reference to sigjmp'
collect2: error: ld returned 1 exit status
Makefile:19321: recipe for target 'bin/evas/evas_cserve2' failed
.. etc.

9 years agoimage_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp
Daniel Kolesa [Wed, 15 Jul 2015 19:05:23 +0000 (20:05 +0100)]
image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp

9 years agoimage_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf
Daniel Kolesa [Wed, 15 Jul 2015 15:24:27 +0000 (16:24 +0100)]
image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf

@fix

9 years agogl_generic: fix unintended behavior (we want to assign the value we point to)
Daniel Kolesa [Wed, 15 Jul 2015 15:08:04 +0000 (16:08 +0100)]
gl_generic: fix unintended behavior (we want to assign the value we point to)

9 years agoevas_object_image: fix wrong type assignment warning
Daniel Kolesa [Wed, 15 Jul 2015 15:06:32 +0000 (16:06 +0100)]
evas_object_image: fix wrong type assignment warning

9 years agoeolian: do not use an invalid pointer after updating buffer
Daniel Kolesa [Wed, 15 Jul 2015 14:32:53 +0000 (15:32 +0100)]
eolian: do not use an invalid pointer after updating buffer

Replacing decimal point in buffer resulted in invalidation of the original
string pointer. On Linux, this issue was for some reason not caught, but
it was wrong anyway. Use the updated string correctly now.

@fix

9 years agoautotools: do NOT need --enable-i-really- for disabled libeeze on non-linux
Daniel Kolesa [Wed, 15 Jul 2015 13:16:24 +0000 (14:16 +0100)]
autotools: do NOT need --enable-i-really- for disabled libeeze on non-linux

9 years agoefl.interfaces: Doc conversion of efl_gfx_fill.eo
Srivardhan Hebbar [Wed, 15 Jul 2015 12:47:46 +0000 (13:47 +0100)]
efl.interfaces: Doc conversion of efl_gfx_fill.eo

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

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoEvas: Fix no_render flag when in a map
Jean-Philippe Andre [Wed, 15 Jul 2015 08:51:18 +0000 (17:51 +0900)]
Evas: Fix no_render flag when in a map

no_render objects would still show up in a map surface
because of a different logic.

9 years agoEvas masking: Fix rendering of masks that belong to a proxied smart object
Jean-Philippe Andre [Wed, 15 Jul 2015 07:41:59 +0000 (16:41 +0900)]
Evas masking: Fix rendering of masks that belong to a proxied smart object

This is a complex situation:
- Smart object A contains image I
- A is proxied into an image B
- B is marked as source_invisible, which means A is invisible
- Mask M is applied to image I
- Mask M is ALSO a smart child of A
Because of all that, mask M could not be rendered into its private
mask surface, as it was falling under the case of "parent_src_invisible".

This patch checks that the object is not a mask during the
parent_src_invisible check.

@fix

9 years agoEvas filters: Fix parsing of curve() with a function
Jean-Philippe Andre [Wed, 15 Jul 2015 05:09:49 +0000 (14:09 +0900)]
Evas filters: Fix parsing of curve() with a function

If the points argument was a function, there was a Lua call
stack error, making the filter fail.

9 years agoThe default return value of edje_object_base_scale_get API is 1.0.
ChunEon Park [Wed, 15 Jul 2015 03:22:41 +0000 (12:22 +0900)]
The default return value of edje_object_base_scale_get API is 1.0.
The return value is used for divisor in many case.
If it return 0.0 when it fail, it can break app with div by zero.

@fix

Signed-Off-By: YoungBok Shin(id213sin) (youngb.shin@samsung.com)
9 years agoecore-wl: Reset input keyboard repeat values when we cancel the timer
Chris Michael [Tue, 14 Jul 2015 18:33:41 +0000 (14:33 -0400)]
ecore-wl: Reset input keyboard repeat values when we cancel the timer

Summary: If we end up cancelling the keyboard repeat timer due to no
focused surface, we should also reset the input repeat values.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Don't renew keyboard-repeat timer if we have no focused surface
Chris Michael [Tue, 14 Jul 2015 18:31:15 +0000 (14:31 -0400)]
ecore-wl: Don't renew keyboard-repeat timer if we have no focused surface

Summary: During the keyboard repeat function, if we have no keyboard
focused window to send the key to, then we should cancel the repeat
timer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Reset ecore_wl_input repeat values on keyboard leave
Chris Michael [Tue, 14 Jul 2015 18:28:14 +0000 (14:28 -0400)]
ecore-wl: Reset ecore_wl_input repeat values on keyboard leave

Summary: As we delete any keyboard repeat timers when we get a
keyboard leave event, we should also reset any stored values there
(key, sym, time, etc).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Reset input's pointer & keyboard focus on events
Chris Michael [Tue, 14 Jul 2015 18:22:42 +0000 (14:22 -0400)]
ecore-wl: Reset input's pointer & keyboard focus on events

Summary: If we get pointer or keyboard leave events, then reset the
Ecore_Wl_Input's idea of focus (eg: set input->pointer_focus and
input->keyboard_focus fields to NULL) just in case we cannot find a
window for this surface.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian/generator: generate @ingroup in doc comments properly
Daniel Kolesa [Tue, 14 Jul 2015 13:30:41 +0000 (14:30 +0100)]
eolian/generator: generate @ingroup in doc comments properly

9 years agoEvas textblock: Clear unused paragraphs
Daniel Hirt [Tue, 14 Jul 2015 11:44:38 +0000 (14:44 +0300)]
Evas textblock: Clear unused paragraphs

This fixes a scenario in which paragraphs in the current layout still
store visual lines from the previous layout. This is possible if the
text uses an ellipsis format, allowing the layout work to stop at a
certain paragraph. This inconsistency affects some query functions that
consider lines which may be irrelevant in the current layout.

Test Case: see added test case to evas_suite.

@fix

9 years agoefl.interfaces: Doc conversion of efl_file.eo
Srivardhan Hebbar [Tue, 14 Jul 2015 12:10:19 +0000 (13:10 +0100)]
efl.interfaces: Doc conversion of efl_file.eo

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

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoefl.interfaces: Doc conversion of efl_gfx_stack.eo
Srivardhan Hebbar [Tue, 14 Jul 2015 09:41:24 +0000 (10:41 +0100)]
efl.interfaces: Doc conversion of efl_gfx_stack.eo

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

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoexample: check NULL value in ecore imf example
Jihoon Kim [Tue, 14 Jul 2015 07:15:35 +0000 (16:15 +0900)]
example: check NULL value in ecore imf example

9 years agorelease: Update NEWS and bump version for 1.15.0-beta1 release v1.15.0-beta1
Daniel Juyung Seo [Mon, 13 Jul 2015 14:31:24 +0000 (23:31 +0900)]
release: Update NEWS and bump version for 1.15.0-beta1 release

9 years agoevas - unload/scalecache self-feeding loop unload/reload fix
Carsten Haitzler (Rasterman) [Sun, 12 Jul 2015 04:17:08 +0000 (13:17 +0900)]
evas - unload/scalecache self-feeding loop unload/reload fix

i was runing perf top and noticed that evas_image_load_file_data_eet(0
was being called. in fact - it was #1 on the list of functions being
called. why? it didn't make sense. i found out. just a blinking cursor
in terminology was causing the background to be unloaded and
re-loaded. the new "actually unload" changes for 1.15 made this happen
and thus we kept sucking in new data all the time even if the
scalecache already had the data - and that was the problem.

so now calcecache prepare tells you if you don't have cached data and
if you likely then have to ensure the data is loaded. this cuts down
quite a bit of work.

while i'm at it... we definitely need to clean house on the internals
of evas. a decade+ of features, mess, optimizations needs to be fixed.
i mean really house-cleaned. rewritten clenl;y re-using existing code
where appropriate.

9 years agoedje_object: fix some minor doc problems
Daniel Kolesa [Fri, 10 Jul 2015 13:02:32 +0000 (14:02 +0100)]
edje_object: fix some minor doc problems

9 years agoedje: convert doc of edje_object.eo
Srivardhan Hebbar [Fri, 10 Jul 2015 10:07:00 +0000 (11:07 +0100)]
edje: convert doc of edje_object.eo

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

Reviewers: cedric, tasn, q66

Subscribers: q66, cedric

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

9 years agoEvas canvas3d: Fix reference to class in .eo file.
Tom Hacohen [Thu, 9 Jul 2015 12:41:57 +0000 (13:41 +0100)]
Evas canvas3d: Fix reference to class in .eo file.

We should reference classes directly, not use 'Eo'.

9 years agoecore-x fix warning on unused function due to ifdefs
Carsten Haitzler (Rasterman) [Thu, 9 Jul 2015 06:45:15 +0000 (15:45 +0900)]
ecore-x fix warning on unused function due to ifdefs

9 years agoevas: Init need_unload value after unload.
Hosang Kim [Thu, 9 Jul 2015 03:04:39 +0000 (12:04 +0900)]
evas: Init need_unload value after unload.

Summary: @fix

Reviewers: seoz, cedric, woohyun, raster

Reviewed By: raster

Subscribers: cedric

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

9 years agoecore anim - oops. coverity silence checked wrong value for read/write
Carsten Haitzler (Rasterman) [Wed, 8 Jul 2015 23:22:05 +0000 (08:22 +0900)]
ecore anim - oops. coverity silence checked wrong value for read/write

fix

9 years agorelease: Update NEWS and bump version for 1.15.0alpha1 release v1.15.0-alpha1
Daniel Juyung Seo [Wed, 8 Jul 2015 18:35:35 +0000 (03:35 +0900)]
release: Update NEWS and bump version for 1.15.0alpha1 release

9 years agoedje: Fix distcheck.
Daniel Juyung Seo [Wed, 8 Jul 2015 17:50:25 +0000 (02:50 +0900)]
edje: Fix distcheck.

9 years agoeina: make re-setting the same tiler tile size a no-op
Mike Blumenkrantz [Wed, 8 Jul 2015 16:33:23 +0000 (12:33 -0400)]
eina: make re-setting the same tiler tile size a no-op

9 years agoecore-wayland: Remove improper use of EINA_UNUSED
Chris Michael [Wed, 8 Jul 2015 15:01:13 +0000 (11:01 -0400)]
ecore-wayland: Remove improper use of EINA_UNUSED

Summary: 'version' is actually used inside this function so no need
for EINA_UNUSED here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEfreet: Fix config and data dir paths on windows.
Vincent Torri [Wed, 8 Jul 2015 15:28:30 +0000 (16:28 +0100)]
Efreet: Fix config and data dir paths on windows.

@fix

9 years agoeolian: enable the new doc validator
Daniel Kolesa [Wed, 8 Jul 2015 14:51:05 +0000 (15:51 +0100)]
eolian: enable the new doc validator

This will make Eolian error when the input documentation
is in a wrong format.

9 years agoefl: fix doc references across the tree to validate right
Daniel Kolesa [Wed, 8 Jul 2015 14:12:32 +0000 (15:12 +0100)]
efl: fix doc references across the tree to validate right

9 years agoeolian/generator: check if the reference is generatable first
Daniel Kolesa [Wed, 8 Jul 2015 14:11:47 +0000 (15:11 +0100)]
eolian/generator: check if the reference is generatable first

9 years agogitignore: Updated.
Daniel Juyung Seo [Wed, 8 Jul 2015 13:45:28 +0000 (22:45 +0900)]
gitignore: Updated.

9 years agoeolian: print more detailed location info for doc validation
Daniel Kolesa [Wed, 8 Jul 2015 13:47:09 +0000 (14:47 +0100)]
eolian: print more detailed location info for doc validation

9 years agoeolian: correct documentation ref validation (disabled for now)
Daniel Kolesa [Wed, 8 Jul 2015 12:39:25 +0000 (13:39 +0100)]
eolian: correct documentation ref validation (disabled for now)

9 years agoedje_edit: return EINA_TRUE for unset color_class
Vyacheslav Reutskiy [Wed, 8 Jul 2015 11:45:58 +0000 (14:45 +0300)]
edje_edit: return EINA_TRUE for unset color_class

For unset color_class for part used edje_edit_state_color_class_set and NULL
value for color_class, it's a string, is valid. In this case function must
return EINA_TRUE.
@fix

9 years agoedje edit: don't set the color_class color as main
Vyacheslav Reutskiy [Wed, 8 Jul 2015 11:37:26 +0000 (14:37 +0300)]
edje edit: don't set the color_class color as main

@fix

9 years agoeolian/generator: delete a stringshare correctly on failure
Daniel Kolesa [Wed, 8 Jul 2015 12:25:32 +0000 (13:25 +0100)]
eolian/generator: delete a stringshare correctly on failure

9 years agoeolian/generator: static-ify some funcs
Daniel Kolesa [Wed, 8 Jul 2015 11:17:00 +0000 (12:17 +0100)]
eolian/generator: static-ify some funcs

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.