Cedric BAIL [Thu, 28 Jan 2016 00:00:42 +0000 (16:00 -0800)]
ecore_evas: switch main animator to use the first windows source for tick.
Cedric BAIL [Wed, 27 Jan 2016 19:42:48 +0000 (11:42 -0800)]
eo: return a value when adding or removing callback to help the caller manage state.
Cedric BAIL [Tue, 26 Jan 2016 00:29:36 +0000 (16:29 -0800)]
edje: switch to use per window animator.
Cedric BAIL [Mon, 25 Jan 2016 23:44:54 +0000 (15:44 -0800)]
ecore_evas: optimize triggering of animator to happen only when someone is listening.
Cedric BAIL [Mon, 25 Jan 2016 23:18:28 +0000 (15:18 -0800)]
ecore_evas: introduce support for per window animator trigger.
This code is currently only using the older fallback code and not any
new event source, so all animator on all window are still triggered
whatever the case are.
Cedric BAIL [Fri, 29 Jan 2016 00:15:20 +0000 (16:15 -0800)]
evas: make evas object an animator provider.
Cedric BAIL [Fri, 29 Jan 2016 00:13:55 +0000 (16:13 -0800)]
evas: make evas a provider of animator.
Cedric BAIL [Fri, 29 Jan 2016 00:12:39 +0000 (16:12 -0800)]
efl: add Efl.Core.Animator interface.
Cedric BAIL [Tue, 2 Feb 2016 18:39:41 +0000 (10:39 -0800)]
eo: fix tests to actually account for callback,add and del signal to be @hot.
This example of code is a perfect demonstration of why we should have make
this events @hot from the beginning. As you can see, we ended up being unable
to detect reliably callback being registered and unregistered. Leading to an
negative accounting of callback being unregistered, making this signal unusable
in any scenario.
Cedric BAIL [Tue, 2 Feb 2016 18:28:28 +0000 (10:28 -0800)]
eo: mark both callback,add and callback,del as @hot.
This events needs to be hot to remain unfreezable or it is impossible
for anyone to track all callback setting/unsetting safely.
Cedric BAIL [Fri, 22 Jan 2016 23:07:51 +0000 (15:07 -0800)]
evas: move canvas event to be declared inside proper eolian file.
Cedric BAIL [Thu, 14 Jan 2016 22:52:37 +0000 (14:52 -0800)]
ecore: remove useless ecore_lock/unlock.
Daniel Kolesa [Tue, 2 Feb 2016 17:55:01 +0000 (17:55 +0000)]
eolian: add parsing and generation of hot events
Unfreezable events can now be marked @hot.
@feature
Carsten Haitzler (Rasterman) [Tue, 2 Feb 2016 14:12:25 +0000 (23:12 +0900)]
Revert "Revert "Revert "revise edje_object_size_min_restricted_calc() logic."""
This reverts commit
ade138a3d13f7cd1606d0c80cf40fa71cd1d983a.
Revert this commit because this basically causes e to hang solid if
you mousover ibar (and the window list popup slides in then i think
that tyriggers it). this is pretty bad.
Hermet Park [Tue, 2 Feb 2016 12:14:43 +0000 (21:14 +0900)]
evas/canvas: fix an incorrect sizing of smart object bounding box.
height of the children b-box should be arranged by parent y-pos.
Signed-Off-By: KeuckDo Bang <keuckdo.bang@samsung.com>
Signed-Off-By: MinKyu Kim <imetjade.kim@samsung.com>
@fix
Hermet Park [Tue, 2 Feb 2016 10:25:28 +0000 (19:25 +0900)]
Revert "Revert "increase recalculation_cycle.""
This reverts commit
9efdf309ce421affc0fdf87960df1d4c426217bd.
Hermet Park [Tue, 2 Feb 2016 10:24:50 +0000 (19:24 +0900)]
Revert "Revert "revise edje_object_size_min_restricted_calc() logic.""
This reverts commit
b62d656dbe2a4b4a6b0170526db33ad839cd4aa4.
push it again since 1.17 was released.
Youngbok Shin [Wed, 27 Jan 2016 13:14:52 +0000 (13:14 +0000)]
Evas textblock: Use a common thickness and position at a underline.
Summary:
If a underline is drawn with seperated thickness and position, it doesn't look good.
It will take the thickest and the lowest underline.
@feature
Test Plan:
Set the following markup text in Evas Textblock.
<underline=on underline_color=#fff><font_size=20>Markup text <font_size=50>with</font_size> underline tag</font_size></underline>
It shows the underline is split to 3 underlines with different thickness and positions.
Commonly, underline has to be drawn with same thickness ans position per each line.
Reviewers: woohyun, herdsman, tasn
Reviewed By: tasn
Subscribers: jpeg, raster, subodh6129, cedric
Differential Revision: https://phab.enlightenment.org/D2971
Youngbok Shin [Tue, 26 Jan 2016 10:48:42 +0000 (10:48 +0000)]
Evas Text/Textblock: Use locale for lang as default.
Summary:
The configuration files for Fontconfig can describe
how font list is made according to language information.
EFL also set the language for each Evas textblock styles
and used for loading font list.
But, this is inconvenient to use if we want to apply language
for loading font list according to system-wide locale information.
This patch will apply locale information for font list if there is
no specific language in description.
And it also add [lang=auto] for Evas Textblock.
auto - It loads locale for language.
none - It disables language.
@feature
Test Plan: N/A
Reviewers: woohyun, herdsman, tasn
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3344
Youngbok Shin [Tue, 12 Jan 2016 13:20:19 +0000 (13:20 +0000)]
edje: Reduce duplicated item obj creations and deletions.
Summary:
When text is changed, all of objects for item tag are deleted
and recreated. It is unnecessary work and can cause performance
issues. Actually, many of application developers wonder why
item provider callback functions are called every text changes.
@fix
Test Plan:
Run elementary_test -to "entry emoticon"
When you make a very little change on text,
36 emoticon objects are recreated.
Reviewers: woohyun, jaehwan, herdsman, tasn
Reviewed By: tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3537
Stefan Schmidt [Tue, 2 Feb 2016 10:18:35 +0000 (11:18 +0100)]
configure: Switch to dev mode again. Merge window for 1.18 is now open.
Stefan Schmidt [Tue, 2 Feb 2016 09:25:12 +0000 (10:25 +0100)]
release: Update NEWS and bump version for 1.17.0 release
Hermet Park [Tue, 2 Feb 2016 09:11:35 +0000 (18:11 +0900)]
Revert "revise edje_object_size_min_restricted_calc() logic."
This reverts commit
32c12f60c99cbc363c1f65fcb9c7915398be087e.
rollback until release 1.17
Hermet Park [Tue, 2 Feb 2016 09:11:19 +0000 (18:11 +0900)]
Revert "increase recalculation_cycle."
This reverts commit
524fd2f6fc9afdd44fd371d99179d44a28bfd28a.
rollback until release 1.17
Hermet Park [Tue, 2 Feb 2016 09:09:01 +0000 (18:09 +0900)]
Revert "evas/canvas: simple optimization."
This reverts commit
ca124ce5cea162f130eeb80b6c95ee3fadd64761.
rollback until release 1.17
Hermet Park [Tue, 2 Feb 2016 08:59:27 +0000 (17:59 +0900)]
evas/canvas: simple optimization.
We don't need to reorder the clist here as far as I reviewed.
Because, the clist nodes will be calculated all in one.
If I'm wrong please ping me.
Hermet Park [Tue, 2 Feb 2016 08:54:29 +0000 (17:54 +0900)]
increase recalculation_cycle.
256 is too short.
entry can be much larger than this calculation cycle.
Hermet Park [Tue, 2 Feb 2016 08:40:11 +0000 (17:40 +0900)]
revise edje_object_size_min_restricted_calc() logic.
This change is to fix the 4000x4000 limitation issue in edje.
Previously, the sizing calc logic was experimentally confirmed with 4000x4000.
It worked somehow but was not perfect. This change may not be perfect either but
it gets rid of the limitation problem without any performance drop in
computating. Maybe it would be better than before.
I'd rather push the temporary version before we confirmed no side effects.
@fix T2978
José Roberto de Souza [Wed, 27 Jan 2016 20:32:49 +0000 (18:32 -0200)]
eldbus: Correctly read/write boolean to eina_value
DBus bool type is a uint32_t not a uint8_t, just changing how read
and write, not chaging how it is stored in eina_value to save some
bytes of RAM.
This fix the stack overflow pointed out here: https://phab.enlightenment.org/T3089
@fix
Vincent Torri [Mon, 1 Feb 2016 11:17:01 +0000 (12:17 +0100)]
Eina_Value: do not mix declarations and code
Reviewers: cedric, jpeg
Reviewed By: jpeg
Differential Revision: https://phab.enlightenment.org/D3624
Jean-Philippe Andre [Mon, 1 Feb 2016 11:23:48 +0000 (20:23 +0900)]
evas: Fix typo in previous clip issue fix
See
100a7006b855fe4da2c2a5c1c4ec58e06b3a0bc0.
This typo actually caused some really rare crashes to happen
(even rarer than the one I fixed originally). Crashes nonetheless.
Chris Michael [Fri, 29 Jan 2016 18:46:30 +0000 (13:46 -0500)]
eeze: Fix eeze_udev_find_by_subsystem_sysname function
This function was severly broken when used for finding devices of a
particular subsystem. Previously, this function would return every
device in the system, regardless if subsystem or sysname was passed in.
This patch fixes the issue by adding udev_enumerate matches before we
scan for devices. This way, when we enumerate the scan results, we now
get only devices that match the subsystem (if supplied).
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jean Guyomarc'h [Thu, 28 Jan 2016 21:29:32 +0000 (22:29 +0100)]
eina: fix invalid prototype
The prototype means "unspecified arguments". However, the implementation
specifies no parameters (void).
GCC's warning -Wstrict-prototypes complains a lots about this old-style
prototype, spamming the console when compiling more than one compiling
units including Eina.
@fix
Cedric BAIL [Fri, 29 Jan 2016 06:21:58 +0000 (07:21 +0100)]
ecore_evas: trigger pre render function as expected.
This should fix exactness and elementary documentation screenshot bug discovered
by commit
6149fd7a0a9ef3f9495270cf1c4ab7727a30f21c in elementary.
Jean-Philippe Andre [Thu, 28 Jan 2016 03:18:34 +0000 (12:18 +0900)]
Evas clip: Fix rare crash in _render_pre_clipper_change
Use delete callback instead of direct call to clip_unset,
which lets us know that clip_unset() is called during the
clipper's deletion, as opposed to a simple call.
We can then make sure that the previous object state does
not point to invalid data anymore.
Here is a scenario that could have crashed:
- load and show an edje object, hide it
- change its theme or style
- show it again
@fix
Chris Michael [Wed, 27 Jan 2016 17:05:59 +0000 (12:05 -0500)]
evas: Fix explicit NULL dereference
This patch fixes an Coverity issue that if 'dst' gets set to NULL (as can
happen above) then this eo_do call may segfault as it is directly
accessing 'dst->buffer'.
@fix
CID1347415
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jihoon Kim [Wed, 27 Jan 2016 09:31:26 +0000 (18:31 +0900)]
ecore_imf/scim: fix uninitiazed value issue detected by valgrind
Chris Michael [Mon, 25 Jan 2016 21:10:25 +0000 (16:10 -0500)]
evas: Fix segfault when trying to determine overlay usage
Previously, _evas_render_can_use_overlay would segfault here when
trying to make use of an Evas_Video_Surface. This is because eo_tmp
variable was never reassigned to be the smart parent before we tried
to get eo data from it.
@fix
NB: Thanks Frenchie !! ;)
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Stefan Schmidt [Mon, 25 Jan 2016 16:37:38 +0000 (17:37 +0100)]
release: Update NEWS and bump version for 1.17.0-beta3 release
Mike Blumenkrantz [Mon, 25 Jan 2016 16:24:54 +0000 (11:24 -0500)]
efreet: add locking for efreet_desktop_x_field_get()
in a threaded environment, reading from a hash is not atomic and is
subject to race conditions
@fix
ref
39417cf0ea4e457fbc8d50d120bb8ac776aa366f
Mike Blumenkrantz [Mon, 25 Jan 2016 16:20:55 +0000 (11:20 -0500)]
efreet: reject invalid "" data for Efreet_Desktop->x hash
ref T3096
@fix
Chris Michael [Mon, 25 Jan 2016 12:47:03 +0000 (07:47 -0500)]
edje: Fix potential NULL pointer dereference
It is possible that evas_object_data_get here does not return an Edje,
so check the return value. This fixes a coverity reported issue.
@fix
CID1349866
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jean-Philippe Andre [Mon, 25 Jan 2016 06:58:16 +0000 (15:58 +0900)]
ecore_evas_extn: Add safety checks, fixing a crash in elm_test
See T2835 (my crash was different from the one reported).
The buffer may be initialized after the first render_pre, due to
whatever timing issue. Check in elm_test "Window Socket" and then
open several "Window Plug".
@fix
Dave Andreoli [Sun, 24 Jan 2016 21:58:24 +0000 (22:58 +0100)]
Ethumb: make the emotion plugin correctly use the edje frame if requested.
The emotion plugin was lacking the ability to use the edje frame as expected,
this patch add this ability, so now video thumbnail works like the normal ones.
This commit is a bit of a new feature, but I consider this a @fix as now
the ethumb_frame_set() API works as expected, also the implementation
is so simple that I think it can go in without any problems.
Ji-Youn Park [Sat, 23 Jan 2016 09:36:07 +0000 (18:06 +0830)]
evas: Updated documentation of evas_object_image_save.
Jean-Philippe ANDRE [Sat, 23 Jan 2016 09:18:52 +0000 (18:18 +0900)]
Evas filters: Change FIXME comment in test case
Ji-Youn Park [Sat, 23 Jan 2016 08:46:34 +0000 (17:16 +0830)]
evas: Updated documentation of evas_object_image_save.
Jee-Yong Um [Fri, 22 Jan 2016 19:03:25 +0000 (11:03 -0800)]
edje_cc: remove redundant comments which makes reference seem weird
Summary:
Group.Parts.Part.Description.Domain @edcsubription is in wrong place,
(actually that is not necessary one.)
so it makes Group.Parts.Part.Description.Text block seem weird.
Reviewers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3597
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jean-Philippe Andre [Fri, 22 Jan 2016 06:23:15 +0000 (15:23 +0900)]
Evas filters: Re-enable transform test case, remove dead code
Now that transform is fixed, this should be reenabled.
Jean-Philippe Andre [Fri, 22 Jan 2016 05:06:57 +0000 (14:06 +0900)]
Evas filters: Fix transform filter (crashes & blend)
out was simply not initialized if the source and destination
were the same. The COW flag is required here to separate input
and output properly. Also, the source & destination pointers
were badly calculated and could overflow.
Instead of using memcpy this filter was supposed to use the
blend functions. This patch also fixes that.
In order to make this filter actually useful (think text reflection
on a flat surface), more information needs to be passed to the Lua
script, such as the text ascent, descent, etc...
Jean-Philippe Andre [Fri, 22 Jan 2016 04:54:21 +0000 (13:54 +0900)]
Evas filters: Fix inconsistency in transform API
This is a minor change, makes 'output' the default target for
the transform filter. This is consistent with all the other
filters. This is not exactly a bug fix but it doesn't break
compatibility with the earlier explicit form and improves the API
for 1.17.
Jean-Philippe Andre [Fri, 22 Jan 2016 05:38:32 +0000 (14:38 +0900)]
Evas filters: Disable debug mode!
Ooops, I must have let this in by mistake.
Jean-Philippe Andre [Fri, 22 Jan 2016 06:27:35 +0000 (15:27 +0900)]
Eolian Cxx: Fix warnings related to deprecated EO_EV_DEL
Switch the generator to EO_BASE_EVENT_DEL.
Cedric BAIL [Thu, 21 Jan 2016 23:56:49 +0000 (15:56 -0800)]
ector: fix potential crash if cairo is not found on the system.
@fix
T2938
Chris Michael [Thu, 21 Jan 2016 16:38:07 +0000 (11:38 -0500)]
ecore-drm: Unify and cleanup tty code
This patch brings the tty code more inline with what the logind code
Was doing. It also fixes the return value from the vt_signal handler,
and opens the tty in non-blocking mode now.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 21 Jan 2016 16:35:45 +0000 (11:35 -0500)]
ecore-drm: Don't unset logind variable when disconnecting a device
For a case where we have more than one device open, if we set the
'logind' variable to false, then the second device would never close
properly.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 21 Jan 2016 16:32:53 +0000 (11:32 -0500)]
ecore-drm: Destroy any existing eeze watch when we free the device
If a user frees a device without closing it we could end up with a
dangling eeze watch. This small patch just makes sure to delete the
watch if it exists
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 21 Jan 2016 16:20:29 +0000 (11:20 -0500)]
ecore-drm: Refactor logind code to use tty functions
This patch cleans up some of the logind code to make use of the
existing tty functions as they both did the same thing
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 21 Jan 2016 14:24:06 +0000 (09:24 -0500)]
ecore-evas-drm: Cleanup drm outputs during shutdown
As we no longer cleanup outputs inside the ecore_drm_device_free
function (see previous commit), we should be cleaning up outputs here
as they are created during the _ecore_evas_drm_init function.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Thu, 21 Jan 2016 14:22:37 +0000 (09:22 -0500)]
ecore-drm: Cleanup ecore-drm shutdown routine
This patch addresses an issue where when closing Enlightenment, the
shutdown procedure would previously end up calling the same functions
twice. These functions should be called from the ecore_evas drm
shutdown routine as the sprites, inputs, outputs, etc are all called
from the ecore_evas drm init routine.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Jean-Philippe Andre [Thu, 21 Jan 2016 04:10:48 +0000 (13:10 +0900)]
Eo: Actually mark EO_EV_ as EINA_DEPRECATED
This should add compilation warnings whereever they're used.
Jean-Philippe Andre [Thu, 21 Jan 2016 04:10:05 +0000 (13:10 +0900)]
Eo: Replace deprecated EO_EV_ by EO_BASE_EVENT_
Jean-Philippe Andre [Thu, 21 Jan 2016 01:59:22 +0000 (10:59 +0900)]
Evas GL: Actually save the checksum inside the file
This would be cleaner than adding it as a suffix to the filename.
Use simple write and read_direct for simplicity.
This is an improvement on
3dcd903a537e29342121c and should make sure
everyone is actually using the latest version of the shaders even
if they track master or the alpha/beta releases.
Andy Williams [Wed, 20 Jan 2016 23:37:15 +0000 (23:37 +0000)]
[efreet] document NULL return possibility.
If file is not found then NULL is the fallback
Stefan Schmidt [Wed, 20 Jan 2016 13:11:42 +0000 (14:11 +0100)]
build: fix some last corner cases for the hyphen dir being set correctly
Making sure here that we really define EVAS_DICTS_HYPHEN_DIR after all possible
changes have been made to it and we have the final result.
Carsten Haitzler (Rasterman) [Wed, 20 Jan 2016 12:23:22 +0000 (21:23 +0900)]
Revert "edje_cc: fix detecting missing part for insert_before/after"
This reverts commit
2ca99b8b68bd52ce187c2da54944144f12afb0b6.
This breaks elm compile:
EDJ default.edj
edje_cc: Critical. In group "genlist_arrow": Unable to find part "sel_bevel" for insert_after in part "arrow_img_l".
Jean-Philippe Andre [Wed, 20 Jan 2016 11:33:55 +0000 (20:33 +0900)]
Evas: Avoid saving the shaders cache at every shutdown
Check the right flag.
Jean-Philippe Andre [Wed, 20 Jan 2016 11:24:20 +0000 (20:24 +0900)]
Evas: Discard shaders cache when the code changed
Since we now have only two shader strings, this is trivial to do:
hash the strings and add them to the cache filename.
This will allow people using 1.17.0-alpha, etc... to discard their
old shaders cache automagically and use the latest version of the
shaders (because alpha is not in the filename).
If we end up adding more runtime generated shaders, we might need
a better strategy, but this should be good enough for now.
Jean-Philippe Andre [Wed, 20 Jan 2016 10:54:44 +0000 (19:54 +0900)]
Ector: Fix warning on Windows (use PRIx64 to print uint64_t)
Thanks @vtorri for pointing this out.
Stefan Schmidt [Wed, 20 Jan 2016 10:16:58 +0000 (11:16 +0100)]
build: sane default setting for hyphen dir
Without this compilation would fail with undefinded EVAS_DICTS_HYPHEN_DIR if
--with-xattr-tests-path was not given but hyphen enabled. Use a sane default
(/usr/share/hyphen/) to avoid this. Customization is still possible.
Stefan Schmidt [Wed, 20 Jan 2016 09:44:05 +0000 (10:44 +0100)]
build: add hyphen as evas feature to be displayed in summary
Having it as a feature for evas here makes sure we can see if it is enabled
or disabled on the configure summary output.
Jean-Philippe Andre [Wed, 20 Jan 2016 08:28:49 +0000 (17:28 +0900)]
Evas: Actually fix this 'afill' thing
This mostly reverts
448720fed4da252fa5eefa02ae37c79c5fb63499
After my previous patch, semi-transparent windows would render incorrectly
in E. The AFILL flag should make sure the source texture is "opaque" (ie.
if it's not marked as having an alpha channel), and masking or color
multiply should then be applied later on.
Sorry for the mess...
Jean-Philippe Andre [Wed, 20 Jan 2016 06:57:46 +0000 (15:57 +0900)]
Evas: Fix shader flag 'afill' (forcing alpha to 255)
Apparently the shaders refactor broke the afill select logic, and it
no longer applied to objects where it should have (eg. opaque windows
in E).
Jee-Yong Um [Wed, 20 Jan 2016 02:42:53 +0000 (11:42 +0900)]
edje_cc: fix detecting missing part for insert_before/after
Summary:
Detecting missing part for insert_before/after is broken.
This patch makes the feature work and clarifies error message,
and removes redundant internal function.
Reviewers: cedric, jpeg
Subscribers: jpeg
Maniphest Tasks: T2513
Differential Revision: https://phab.enlightenment.org/D3576
Vyacheslav Reutskiy [Tue, 19 Jan 2016 13:44:34 +0000 (15:44 +0200)]
edje/edje_edit: make posible to unset the program filter part and state
@fix
Jean-Philippe Andre [Tue, 19 Jan 2016 09:15:20 +0000 (18:15 +0900)]
Ecore: Remove all temporary files after running make check
Jean-Philippe Andre [Tue, 19 Jan 2016 08:12:19 +0000 (17:12 +0900)]
Eina: Add proper test case for eina_mk[ds]temp
Jean-Philippe Andre [Tue, 19 Jan 2016 07:26:37 +0000 (16:26 +0900)]
Evas GL: Also fix surface cap cache
This follows the fix in eina_file_mkstemp. Not sure how it could
even work before.
@fix
Jean-Philippe Andre [Tue, 19 Jan 2016 06:19:51 +0000 (15:19 +0900)]
Eina: Convert eina_test_file.c to UTF-8
It was encoded as ISO-8859 (Latin-1) before.
Maybe this will break these checks on Windows, but all of EFL APIs take
UTF-8 strings, so it doesn't make sense to have ISO-8859 here.
Jean-Philippe Andre [Tue, 19 Jan 2016 05:14:44 +0000 (14:14 +0900)]
elua: Fix use of eina_file_mkstemp after previous patch
The API (that didn't work in the first place) was used wrongly
as it was assumed its behaviour was the same as mkstemp (duh!).
It turns out eina's version doesn't replace the input string but
returns a tmpstr instead.
@fix
Jean-Philippe Andre [Tue, 19 Jan 2016 03:15:10 +0000 (12:15 +0900)]
Evas GL: Fix shader binaries cache
It was completetly broken due to a misuse of mkstemp.
Jean-Philippe Andre [Tue, 19 Jan 2016 02:50:54 +0000 (11:50 +0900)]
Eina: Fix eina_file_mk[ds]temp when a path is passed
If the template is a path, mkstemp and mkdtemp would fail
miserably as they would try to create a file inside
/run/user/1000//path/to/file.XXXXXX even if the path did not
exist.
This patch fixes that by creating temp files inside the sys temp
dir iif the templatename is just a basic name without path
separator.
@fix
Mike Blumenkrantz [Mon, 18 Jan 2016 22:17:34 +0000 (17:17 -0500)]
ecore-x: add safety checks for _ecore_x_disp in some functions
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such as
these. an easy project for anyone who has some free time
@fix
Stefan Schmidt [Mon, 18 Jan 2016 11:41:09 +0000 (12:41 +0100)]
release: Update NEWS and bump version for 1.17.0-beta2 release
Stefan Schmidt [Mon, 18 Jan 2016 12:47:39 +0000 (13:47 +0100)]
eina_cxx: make sure simple.eo lands in the tarball in all cases
This would fail if you have not enabled tests and run distcheck.
Andrey Gursky [Mon, 18 Jan 2016 00:38:18 +0000 (01:38 +0100)]
Fix build if openjpeg-2 is installed
libopenjp2.so on Debian belongs actually to openjpeg-2.1, while
libopenjpeg.so belongs to openjpeg-1.5.
The function opj_set_default_decoder_parameters exists in both versions.
Thus another unique to openjpeg-1.5 function must be chosen to check,
whether libopenjp2 is a right one.
Fixes https://phab.enlightenment.org/T3064
Carsten Haitzler (Rasterman) [Mon, 18 Jan 2016 08:21:50 +0000 (17:21 +0900)]
ecore imf: fix imf module load hangs when not even configured
so on some distributions scim tries to connect and hangs waiting for
connect to work. this is a problem for just loading any imf module
unless EXPLICITLY configured, so disable using an imf module unless it
is specifically configured to work. this fixes this hang. this is a
workaround though, but what else are we to do?
@fix
Jaehwan Kim [Mon, 18 Jan 2016 07:54:52 +0000 (16:54 +0900)]
embryo: change the log catagory of printf in embryo
If the catagory is DBG, we should rebuild efl to print the message
by using printf in edc. So change it to use it more convenient.
@fix
Vincent Torri [Mon, 18 Jan 2016 04:48:20 +0000 (13:48 +0900)]
win32: Fix compilation due to recent changes in Evil
Summary:
dlfcn.h is not available anymore on Windows, Evil provides all the
necessary declarations.
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3577
@fix
Stephen Houston [Sat, 16 Jan 2016 01:41:59 +0000 (19:41 -0600)]
Eo: Spell "Class" correctly when printing error.
Leave variables named Klass so it behaves with syntax highlighting and doesn't confuse programmers. However when Erroring, the message should be spelled correctly with "Class".
Sung-Taek Hong [Thu, 14 Jan 2016 22:23:03 +0000 (14:23 -0800)]
ecore: check eina_main_loop before lock.
Summary:
- EINA_MAIN_LOOP_CHECK_RETURN should be called before ecore lock
because this may return without ecore_unlock.
- remove EINA_UNLIKELY(!eina_main_loop_is()) which is redundant.
Reviewers: jpeg, jaehwan, cedric, raster
Reviewed By: raster
Subscribers: raster, conr2d, cedric, jpeg
Projects: #efl
Differential Revision: https://phab.enlightenment.org/D3541
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Derek Foreman [Thu, 14 Jan 2016 18:05:55 +0000 (13:05 -0500)]
ecore_drm/ecore_wl2: logging: remove errant usage of %m
Summary:
printf %m stringifies and prints errno. I've tried to remove its use
anywhere that the immediately preceding function might not set errno
or is a complicated function for which knowing errno doesn't really
give any useful information.
I've left a few of the drmMode calls because they're just wrappers
around ioctl, which legitimately sets errno.
@fix
Reviewers: zmike, devilhorns
Reviewed By: zmike, devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3572
Duna Oh [Thu, 14 Jan 2016 16:18:24 +0000 (11:18 -0500)]
ecore_wayland: move check for pointer capability
Summary:
We don't need to work for cursor if system doesn't have pointer devices.
Since this function is called by elementary(e.g. entry) also, we move a check condition into the function.
@fix
Reviewers: raster, zmike, devilhorns, ManMower, gwanglim
Subscribers: cedric, JHyun, input.hacker, jpeg
Differential Revision: https://phab.enlightenment.org/D3566
Oleksandr Shcherbina [Thu, 14 Jan 2016 10:51:45 +0000 (11:51 +0100)]
eina_test: Add test-case for eina_quaternion_transform
Reviewers: stefan_schmidt, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3568
Jean Guyomarc'h [Wed, 13 Jan 2016 23:09:49 +0000 (00:09 +0100)]
ecore_evas/tests: add tests for Ecore_Evas_Cocoa
Jean Guyomarc'h [Wed, 13 Jan 2016 21:33:17 +0000 (22:33 +0100)]
ecore_evas/tests: remove trailing whitespaces
Cosmetic changes only
Stefan Schmidt [Thu, 14 Jan 2016 10:32:54 +0000 (11:32 +0100)]
evas: follow file rename to keep distcheck working
In
8b00eb1dd1241290025e041973f6c8748b3e8fe4 the file was moved but the rename
forgotten in the Makefile.
Jean-Philippe Andre [Thu, 14 Jan 2016 03:18:53 +0000 (12:18 +0900)]
Evas 3d example: Print message for usage
perepelits.m [Thu, 14 Jan 2016 02:45:26 +0000 (11:45 +0900)]
Evas: fix example for convex hull
Summary: Made new models with no normal component to print
сorrect print message for testing not only by visual result.
Reviewers: cedric, raster, Hermet
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D3562
Jean-Philippe Andre [Thu, 14 Jan 2016 02:38:27 +0000 (11:38 +0900)]
Examples: Fix compilation of elocation ex (out of tree)