Chris Michael [Thu, 21 Jul 2016 17:21:25 +0000 (13:21 -0400)]
elementary: Remove logically dead code
In all code paths leading to this goto statement being called,
'iter_array' variable will already be NULL, so checking it's validity
is just logically dead code.
Fixes Coverity CID1357392
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 17:18:57 +0000 (13:18 -0400)]
elput: Use proper variable type
The 'getenv' function returns char * ... not a const char *, so adjust
variable type to match
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 17:07:26 +0000 (13:07 -0400)]
eina: Fix null pointer derefernce
Coverity reports that eina_safepointer_get returns a NULL promise here
(checked 20 out of 21 times). As eina_safepointer_get can return NULL,
we should check the validity of 'promise' here before trying to
derefernce it later.
Fixes Coverity CID1356625
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 16:58:03 +0000 (12:58 -0400)]
elementary: Remove logically dead code
Coverity reports that this is logically dead code. As we check the
validity of 'model' above this function, then testing 'model' for
validity again in this expression is just logically dead.
Fixes Coverity CID1356617
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 16:53:13 +0000 (12:53 -0400)]
elementary: Remove logically dead code
Coverity reports that this is logically dead code. As eo_item has been
dereferenced on all paths leading here, and it is also set above, then
it cannot be NULL at this point, thus this check is logically dead.
Fixes Covierty CID1355585
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 16:50:19 +0000 (12:50 -0400)]
eldbus: Check return value and error out if necessary
Coverity reports that we do not check the return value of
_eldbus_model_proxy_load here. We likely should be checking that in
case the model proxy fails to load so we can return proper values here.
Fixes Coverity CID1355233
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 16:29:35 +0000 (12:29 -0400)]
edje: Fix unchecked return value
Coverity reports that we call _circular_dependency_find here without
checking the return value
Fixes Coverity CID1349867
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 21 Jul 2016 16:25:02 +0000 (12:25 -0400)]
evas: Fix missing breaks in switch
Coverity reports that we are missing breaks in the switch blocks here,
so add missing breaks.
Fixes Coverity CID1347413 and CID1347414
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Vyacheslav Reutskiy [Thu, 21 Jul 2016 11:02:46 +0000 (14:02 +0300)]
edje_pick: reset alias flag for copied group
edje_pick make copy of whole group, even if group is alias. So if
group was alias need to reset this flag.
@fix
Jean-Philippe Andre [Thu, 21 Jul 2016 04:52:16 +0000 (13:52 +0900)]
eo: Fix override test case to match new policy
The new policy is a lot more restrictive.
Honestly, I don't like it.
Jean-Philippe Andre [Thu, 21 Jul 2016 04:42:37 +0000 (13:42 +0900)]
eo: Prevent eo_override to be called on an already overridden object
I don't see the point of it but can't be bothered to argue.
For Tom.
Derek Foreman [Wed, 20 Jul 2016 16:02:59 +0000 (11:02 -0500)]
wayland_shm: Add missing headers to wayland_shm sources
Some headers weren't being placed in the release tarball.
Mike Blumenkrantz [Wed, 20 Jul 2016 16:02:42 +0000 (12:02 -0400)]
Revert "elementary: Make wl frame borders above content"
This reverts commit
46904e19a71dbeecbcdb6950c0f372c34f6d0db6.
this breaks stacking entirely and prevents a large number of widgets from
ever becoming visible
Daniel Kolesa [Wed, 20 Jul 2016 14:27:29 +0000 (15:27 +0100)]
docs: split off writer and utils into modules in docgen
Daniel Kolesa [Wed, 20 Jul 2016 14:03:49 +0000 (15:03 +0100)]
docs: begin modularizing the doc generator script
Carsten Haitzler (Rasterman) [Wed, 20 Jul 2016 05:24:23 +0000 (14:24 +0900)]
elm flip - make it not crash and interactive mode work again
elm flip has been broken for a while - interactive mode was broken and
it was causing crashes. this fixes that.
@fix
Carsten Haitzler (Rasterman) [Wed, 20 Jul 2016 04:13:41 +0000 (13:13 +0900)]
evas image updates - reduce overhead with bordered images not scaled
this fixes over-rendering (where we render the whole image) if it has
a border set. do proper region updates if the image has a border but
is not scaled and the fill is at 0 0 and sams size as the object etc.
etc. so this is simple and doable.
this fixes T4123
Carsten Haitzler (Rasterman) [Wed, 20 Jul 2016 02:34:01 +0000 (11:34 +0900)]
evas objkect image - make opaque rect getting code more readable
this just makes it more obvious where its handling the opaque middle
fill case. see T4123 - i was just reding the code and this seemingly
does the right thing.
Carsten Haitzler (Rasterman) [Wed, 20 Jul 2016 01:43:09 +0000 (10:43 +0900)]
ignore generated shaders .x file
perepelits.m [Wed, 20 Jul 2016 01:42:21 +0000 (10:42 +0900)]
edje: fix ambient color
Summary: change specular color to ambient int the function of ambient color
Reviewers: cedric, raster, Hermet
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D4169
Mike Blumenkrantz [Tue, 19 Jul 2016 18:14:23 +0000 (14:14 -0400)]
elm_win: handle elm,action,menu signal for wl clients
trigger the xdg-shell method for this when the signal is received
fix T3460
Mike Blumenkrantz [Tue, 19 Jul 2016 18:13:05 +0000 (14:13 -0400)]
theme: copy border icon click -> elm,action,signal program
Mike Blumenkrantz [Tue, 19 Jul 2016 17:11:30 +0000 (13:11 -0400)]
elm_win: simplify opaque region updating during fullscreening
already handled during _elm_win_frame_del
Mike Blumenkrantz [Tue, 19 Jul 2016 17:07:00 +0000 (13:07 -0400)]
elm_win: update opaque region when frame is deleted
fix T4092
Cedric Bail [Tue, 19 Jul 2016 16:59:09 +0000 (09:59 -0700)]
config: increase base image cache to fit two 4K background in.
This is not ideal, as it would be more accurate to dynamically set
the cache to be a function of the number of screens and their size.
Cedric Bail [Tue, 19 Jul 2016 16:51:13 +0000 (09:51 -0700)]
elementary: as screen get bigger, we need more cache to store uncompressed image.
Vyacheslav Reutskiy [Tue, 19 Jul 2016 15:25:52 +0000 (18:25 +0300)]
edje_pick: copy dependent group
Parts can use enother groups as source, for example textblock. If source
groups does not exist - group is not valid. This patch extend the group
copy process and copy dependend group too.
@fix
Daniel Kolesa [Tue, 19 Jul 2016 15:19:42 +0000 (16:19 +0100)]
elua: enable module lookups in apps location
This will allow for better organization of the docgen script.
Stefan Schmidt [Tue, 19 Jul 2016 12:52:28 +0000 (14:52 +0200)]
ecore_wl2: dnd: fix leak of event resource when not used
In the else branch the allocated event is never used. Make sure we free the
resource before returning.
CID: 1357753
Chris Michael [Tue, 19 Jul 2016 12:09:44 +0000 (08:09 -0400)]
Revert "elementary: Fix issue of toggling border state causing visual jumps"
This reverts commit
fb24955782b9242beb9447ebb6631b2b63921988.
While this patch did fix the issue of toggling window Borderless state
in EFl-Wl client applications, it is "Enlightenment's" stance that it
will not change to match this fix, so this has to be reverted else
internal E dialogs show up with no border (due to them using SSD).
This is going to re-open T4092 sadly :( and now leave that bug with no
possible fix.
ref T4092
Fixes T4126
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Hirt [Tue, 19 Jul 2016 11:34:55 +0000 (11:34 +0000)]
Ui text: remove unused variables
Jean-Philippe Andre [Tue, 19 Jul 2016 10:13:45 +0000 (19:13 +0900)]
evas: Fix call to NULL object
Jean-Philippe Andre [Tue, 19 Jul 2016 09:32:16 +0000 (18:32 +0900)]
textblock: Prevent crash in evas_object_textblock_cursor_new(NULL)
This happened in expedite
Jean-Philippe Andre [Tue, 19 Jul 2016 08:41:37 +0000 (17:41 +0900)]
tests: Add ifdef clang to avoid warning on GCC and elsewhere
Avoids warning about unsupported pragma
Jean-Philippe Andre [Tue, 19 Jul 2016 08:21:36 +0000 (17:21 +0900)]
eo: Change eo_override to avoid struct passing and GCC construct
This is a (minor) API & ABI break in Eo.h!
I say minor as eo_override shouldn't be used yet (EO is unstable
and this patch includes all the use cases in EFL).
I'm not very happy about the new form of the macro, but it avoids
two things:
- passing in a struct (valid in C, but never used in EFL)
- using a GCC construct to create structs on the fly
It was inspired by the event array define, but I don't think
we need the runtime memcpy here.
See also:
https://gcc.gnu.org/onlinedocs/gcc/Compound-Literals.html
Jean-Philippe Andre [Tue, 19 Jul 2016 08:05:56 +0000 (17:05 +0900)]
drm2: Fix shadow variable
int ret is not even needed here.
Carsten Haitzler (Rasterman) [Tue, 19 Jul 2016 07:41:06 +0000 (16:41 +0900)]
edje lang set - fix coverity harmless complaint
fix CID 1357755
Jean-Philippe Andre [Tue, 19 Jul 2016 07:09:14 +0000 (16:09 +0900)]
efl: Add support for efl_event_flags() to hold events
This fixes the following ERR message:
ERR<30400>:eo /home/jpeg/e/core/efl/src/lib/eo/eo.c:462 _eo_call_resolve()
in ../src/lib/evas/canvas/efl_event_input.eo.c:3: func 'efl_event_flags_get'
(1483) could not be resolved for class 'Efl_Event_Hold'.
This is an EO-API only fix.
Jean-Philippe Andre [Tue, 19 Jul 2016 06:29:56 +0000 (15:29 +0900)]
efl: Hold event (EO API) should implement instance_get
This fixes the following ERR:
ERR<23969>:eo /home/jpeg/e/core/efl/src/lib/eo/eo.c:462
_eo_call_resolve() in ../src/lib/efl/interfaces/efl_event.eo.c:5:
func 'efl_event_instance_get' (1479) could not be resolved for class 'Efl_Event_Hold'.
Carsten Haitzler (Rasterman) [Tue, 19 Jul 2016 06:42:10 +0000 (15:42 +0900)]
evas - on shutdown avoid potential invalid memory access
i don't know for sure if this fixes T4103 but in theory i think it
might given a reading of the backtrace and a guess at what might
happen, so try this fix. it doesn't hurt and can only help.
@fix
Carsten Haitzler (Rasterman) [Tue, 19 Jul 2016 06:40:16 +0000 (15:40 +0900)]
eina rbtree iterator - fix leak found while debugging other problems
there was a leak of elements on the itrator stack when the stack was
flushed still having some items on it, thus losing their pointers and
never freeing them.
@fix
Jean-Philippe Andre [Tue, 19 Jul 2016 05:37:49 +0000 (14:37 +0900)]
evas: Add a textblock to the image proxy example
This is to show that proxies can proxy more than just other
images, and also this was done to test D4159 (alternatively
changed into the previous commit).
Jean-Philippe Andre [Tue, 19 Jul 2016 05:36:41 +0000 (14:36 +0900)]
evas: Avoid proxy subrender if size is 0
See also D4159. This is an alternative to the proposed patch.
Fixes T3949 (I hope!)
Stefan Schmidt [Mon, 18 Jul 2016 18:50:38 +0000 (20:50 +0200)]
release: Update NEWS and bump version for 1.18.0-alpha1 release
Al Poole [Mon, 18 Jul 2016 18:22:28 +0000 (11:22 -0700)]
ecore_con: fix lookup of libcurl on OpenBSD.
@fix T4130
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
perepelits.m [Mon, 18 Jul 2016 17:42:55 +0000 (10:42 -0700)]
edje: fix definition of viewport in edje-3d
We now use eo_do() and EFL_CANVAS_SCENE3D_CLASS macro to create viewport
Reviewers: raster, Hermet, cedric
Subscribers: jpeg, artem.popov
Differential Revision: https://phab.enlightenment.org/D4163
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Daniel Kolesa [Mon, 18 Jul 2016 14:33:56 +0000 (15:33 +0100)]
docs: generate a keyword list for use by codelink plugin
Stefan Schmidt [Mon, 18 Jul 2016 13:28:03 +0000 (15:28 +0200)]
tests: eina_cxx: make sure simple.eo gets disted in all cases
If we turn on release mode simple.eo did not land in the tarball as it was
behind the EFL_ENABLE_TESTS condition. We now dist it in all cases.
Jean-Philippe Andre [Mon, 18 Jul 2016 09:09:32 +0000 (18:09 +0900)]
win: Set window alpha when changing theme
This sets the window alpha back to 0 when switching from a theme
with alpha to one without. Thanks @bu5hm4n for asking about this.
Jean-Philippe Andre [Mon, 18 Jul 2016 09:00:26 +0000 (18:00 +0900)]
tests: Show use of eo_override for custom layout
This requires the previous fix in eo to actually work.
Jean-Philippe Andre [Mon, 18 Jul 2016 08:44:51 +0000 (17:44 +0900)]
eo: Fix leak in eo_override and allow NULL to reset
eo_override would leak the vtable if called multiple times, this
fixes that. Also, it is now possible to revert back to the original
class' vtable by passing in { NULL, 0 }
I believe it is thus possible to incrementally override more
functions on an object. Absolutely not recommended, but should work.
But it is not possible to selectively revert back to the original
class implementation on a single method. Use eo_super for that,
or revert back the entire object overrides.
PS: Is it normal that we pass in a struct? We never do that in EFL...
Jean-Philippe Andre [Mon, 18 Jul 2016 06:09:19 +0000 (15:09 +0900)]
Evas GL: Use [u]int64_t directly in all APIs
This removes the need for khronos_[u]int64_t as well as the special
typdef EvasGL[u]int64.
Hopefully this should work on all platforms (note: [u]int64_t is
used in Eina APIs, so it is already required for EFL apps).
Fixes T3200
Jean-Philippe Andre [Mon, 18 Jul 2016 04:53:33 +0000 (13:53 +0900)]
evas: Also fix was_opaque for rect & image
I believe the function is not used, so it doesn't really
matter.
Jean-Philippe Andre [Mon, 18 Jul 2016 04:37:15 +0000 (13:37 +0900)]
evas: Some more opacity check fixes
This should fix T3309
Snapshot objects are image objects, so the function is_opaque
exists. No need to bypass it. Also, alpha rectangles are not
opaque. Assume that anything with a filter is not opaque.
All of this fixes T3309 but the main point was on snapshot
objects (probably because the only point of a snapshot is
to apply a filter on it).
Jean-Philippe Andre [Fri, 15 Jul 2016 09:41:12 +0000 (18:41 +0900)]
evas: Fix cutout regions with transparent images
This should fix rendering issues with E theme and
transparent borders.
Fixes T3309
Jean-Philippe Andre [Fri, 15 Jul 2016 09:39:13 +0000 (18:39 +0900)]
win: Set proper flag when EDC specifies win "alpha"
Marcel Hollerbach [Sat, 16 Jul 2016 11:17:39 +0000 (13:17 +0200)]
elementary: only call ecore_wl2 if wayland is enabled
fix T4125
Cedric Bail [Sat, 16 Jul 2016 00:04:21 +0000 (17:04 -0700)]
eio: handle failure due to lack of access right.
Cedric Bail [Sat, 16 Jul 2016 00:03:53 +0000 (17:03 -0700)]
eio: make it possible to force fallback monitor for testing purpose.
Cedric Bail [Sat, 16 Jul 2016 00:02:03 +0000 (17:02 -0700)]
eio: avoid access after death of eio handler due to inotify triggering IN_IGNORED event.
Cedric Bail [Sat, 16 Jul 2016 00:00:33 +0000 (17:00 -0700)]
eio: cleanup thread pointer on thread finish.
Cedric Bail [Fri, 15 Jul 2016 21:01:22 +0000 (14:01 -0700)]
elocation: properly generate pkgconfig file.
@fix T4120
Chris Michael [Fri, 15 Jul 2016 19:30:48 +0000 (15:30 -0400)]
elementary: Fix issue of toggling border state causing visual jumps
This commit partially fixes a phab ticket where toggling window border
state (elm_test -to "Window States") would cause the frame to be
destroyed thus making the window contents appear to jump around
ref T4092
NB: I call this a 'partial' fix because while it does fix the issue of
efl client apps, there is still some breakage in Enlightenment that
needs investigating.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Fri, 15 Jul 2016 17:01:31 +0000 (12:01 -0500)]
ecore_drm2: Allow enabling outputs in drm events
Previously a drm event could create a new output or disconnect an output,
but could not re-enable an existing output.
This results in failure to properly wake from screen blanker.
Jee-Yong Um [Fri, 15 Jul 2016 07:34:34 +0000 (16:34 +0900)]
edje: add required attribute in Edje_Part
Summary:
When using EDC written by another person, developer usually
does not need to know all specified parts in EDC but editable
like swallow, text or textblock parts.
The required flag tells whether the part is intended to be used outside EDC.
Reviewers: jpeg, cedric, raster, Hermet
Reviewed By: jpeg, raster
Subscribers: raster, NikaWhite, kimcinoo, jpeg
Differential Revision: https://phab.enlightenment.org/D3579
Derek Foreman [Thu, 14 Jul 2016 21:25:05 +0000 (16:25 -0500)]
ecore_drm2: Try to mmap gbm buffers
We're currently doing screenshots in E under wayland by copying data
out of the framebuffer, mmaping gbm buffers makes screenshots work
again when rendering with GL.
Derek Foreman [Thu, 14 Jul 2016 20:24:25 +0000 (15:24 -0500)]
ecore_drm2: Fix page flipping
Properly handle the ticker racing ahead of the refresh rate by once again
triple buffering.
Fixes T3819
Derek Foreman [Thu, 14 Jul 2016 19:35:03 +0000 (14:35 -0500)]
ecore_drm2: Don't disable custom ticker if flip fails
When using a mix of vblank and pageflip events like we're stuck with now
a failed flip is going to happen sooner or later. We fix this by triple
buffering. We shouldn't turn off the custom ticker.
Tom Hacohen [Thu, 14 Jul 2016 16:31:09 +0000 (17:31 +0100)]
Evas font: Fix width query for OpenType fonts. (rewrite)
This is essentially a cleaner redo of
ef817f15f0eaec9704ec25d9468c2c8497a5bc13.
Logic should be exactly the same as there, the different is that this
one shares the code between OT and non OT.
Please refer to that commit for more information.
Tom Hacohen [Thu, 14 Jul 2016 15:52:01 +0000 (16:52 +0100)]
Revert "Evas font: fix width query for OT"
This was not done correctly. This split the code, which is essentially
the same for both OT and non OT. It's the same logic with some minor
additions for OT, so most of the code should be together.
This reverts commit
ef817f15f0eaec9704ec25d9468c2c8497a5bc13.
Daniel Kolesa [Thu, 14 Jul 2016 15:07:08 +0000 (16:07 +0100)]
docs: more detailed stats (print intermediate percentages)
Daniel Kolesa [Thu, 14 Jul 2016 14:32:19 +0000 (15:32 +0100)]
docs: generate separate doc pages for events
Marcel Hollerbach [Thu, 14 Jul 2016 11:48:29 +0000 (13:48 +0200)]
elm_cnp: use defined charset before falling back to default
the chance is very high that some glyphs are not fitting into the
default (US-ASCII) so better falling back here on specified utf8.
@ref T3972
Daniel Hirt [Wed, 13 Jul 2016 11:40:36 +0000 (11:40 +0000)]
Evas font: fix width query for OT
Fixes T4068.
Simply querying the last glyph to determine the width of the glyph sequence
won't always work, as OT can have negative offsets (adjusts the placement of a
specific glyph better).
The solution is to calculate the "max width" of some sequence that will
guarantee us proper width results. The worst solution would be to iterate on all
the glyphs and sum up the max width. This is a bit impractical. Instead, we will
inspect just the "cluster" of the last glyph, if one exists.
This should have no performance impact on trivial cases, and very little impact
on the others.
@fix
Carsten Haitzler (Rasterman) [Thu, 14 Jul 2016 05:23:49 +0000 (14:23 +0900)]
evas generic loaders fix timeout on windows where no alarm exists
this uses a thread - to do the same. based on code vtorri put in T3790
this should fix T3790
Carsten Haitzler (Rasterman) [Thu, 14 Jul 2016 04:28:10 +0000 (13:28 +0900)]
evas headers - remove duplicate declarations of the same function
this should fix T3027
Hermet Park [Thu, 14 Jul 2016 03:10:09 +0000 (12:10 +0900)]
elementary tooltip: --printf
Carsten Haitzler (Rasterman) [Wed, 13 Jul 2016 23:55:03 +0000 (08:55 +0900)]
ecore - add more ecore main loop checks that were missing in some places
so 1 ecore_exe func was missing a main loop check... just to be sure.
Carsten Haitzler (Rasterman) [Wed, 13 Jul 2016 23:32:16 +0000 (08:32 +0900)]
eina thread create - use pthread_sigmask as this can be called from thread
@fix
Cedric BAIL [Wed, 13 Jul 2016 23:17:16 +0000 (16:17 -0700)]
eo: fix tests after renaming.
Sungtaek Hong [Wed, 13 Jul 2016 23:06:58 +0000 (16:06 -0700)]
elm_colorselector: selected item is updated when color is changed.
Summary:
- Previously, mode change, color change updated
sd->selected, but did not send signals to edje of the item.
- Also, mode change in colorselector set sd->selected to
the first item even when palette is visible in previous mode.
- Now, when mode is changed, sd->selected is set NULL and send
unselected signal if palette is invisible, and keep sd->selected
if palette is visible.
- sd->selected is set NULL when color is changed in picker and
color bars because previous selected item is not current color of
colorselector
Test Plan:
1.
1) launch elementary_test colorselector.
2)Select any item and check the item is selected when palette is visible.
3) Change mode to Palette, Both, All, and check selected item is not changed.
(Previously, selected item is changed to the first item of the palette, but previous item was seen as selected.)
2.
1) launch elementary_test colorselector.
2) Select any item and check the item is selected when palette is visible.
3) Change mode to Components, Picker.
4) Change mode to Palette, and check none of items is selected.
(Previously, selected item is changed to the first item of the palette, but previous item was seen as selected.)
3.
1) launch elementary_test colorselector.
2) Select any item and check the item is selected when palette is visible.
3) Change mode to All.
4) Click arrows in Picker and color bars.
5) Observe selected item is not unselected when color is not changed, and selected item is unselected when color is changed.
4.
1) launch elementary_test colorselector.
2) Select any item and check the item is selected when palette is visible.
3) Press direction key and check selected item is changed.
(Previously, selected item's edje is not updated.)
Reviewers: woohyun, Hermet, jpeg, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4156
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 13 Jul 2016 23:06:30 +0000 (16:06 -0700)]
elementary: switch code accordingly to use new ref version.
Cedric BAIL [Wed, 13 Jul 2016 23:05:58 +0000 (16:05 -0700)]
eo: rationalize naming to follow other use of ref and wref in our API.
Cedric BAIL [Wed, 13 Jul 2016 22:31:51 +0000 (15:31 -0700)]
ecore: add test case for tick begin/end.
Cedric BAIL [Wed, 13 Jul 2016 22:09:03 +0000 (15:09 -0700)]
ecore: early destruction of animator allow for tick end to always be triggered.
T4043
Chris Michael [Wed, 13 Jul 2016 19:13:17 +0000 (15:13 -0400)]
elementary: Make wl frame borders above content
This commit just readds the layer setting code which made the frame
border be above content. This does make sense in some contexts
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 13 Jul 2016 18:43:49 +0000 (14:43 -0400)]
evas-wayland-shm: Create buffers with ARGB by default
We need to be creating buffers with ARGB by default so that things
like Alpha/Transparency work when toggled. If we always create with
XRGB then toggling Alpha/Transparency state fails.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Marcel Hollerbach [Wed, 13 Jul 2016 15:38:05 +0000 (17:38 +0200)]
ecore_wl2: clear out read_data and len
they are passed to the event struct, and later freed in there.
Marcel Hollerbach [Mon, 11 Jul 2016 20:59:55 +0000 (22:59 +0200)]
ethumb: tell the user if the connection to the deamon failed
otherwise the user just gets no thumbnails, and no error message what
actually happened.
Chris Michael [Wed, 13 Jul 2016 15:40:12 +0000 (11:40 -0400)]
elput: Cleanup erroneous errors when trying to get output name
When we make calls to get an Input device's output name, if the device
does not have an output name it's not actually an error so just return
NULL with less noise
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 13 Jul 2016 14:06:12 +0000 (10:06 -0400)]
evas-generic: Fix gcc wanring
Gcc suggets parens around comparison value. Silence gcc warning.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 13 Jul 2016 14:05:03 +0000 (10:05 -0400)]
evas-generic: Fix gcc warning of incorrect format
Gcc warns us about using %d here when the argument is unsigned long.
Fix format params.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 13 Jul 2016 13:40:22 +0000 (09:40 -0400)]
elementary: Fix issue of minimum resizing in wayland
This patch fixes an issue where if you tried to resize a window to
it's minimum size, the contents of the window would draw outside the
window frame. Basically, when we are setting min/max size hints to the
window object we need to account for framespace.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Ivan Furs [Wed, 13 Jul 2016 12:01:50 +0000 (21:01 +0900)]
[Bug] EFL memory leak on Windows(handler continuously increasing)
Summary:
Fix: event need to clese when create event:
event = WSACreateEvent();
Reviewers: bowonryu, herb, Jaehyun, thiepha, Hermet, jaehwan, cedric, raster
Reviewed By: raster
Subscribers: NikaWhite, reutskiy.v.v, artem.popov
Differential Revision: https://phab.enlightenment.org/D4157
Minkyoung Kim [Wed, 13 Jul 2016 12:00:07 +0000 (21:00 +0900)]
ecore_evas_extn: Check whether server_data sender is client's server.
Summary:
Sometimes, In ipc_server_data, extn->ipc.server's data is different with e->server's data.
The case is as follows.
Process'A' has a server.
Process'B' has 'A's client(ee address : 0xB0).
Process'B's client die, and 'B's server created. and server's ee address is same with destroyed client's ee(0xB0).
At the same time, 'A's server send the message to 'B's client.
but 'B's client is died! so _ipc_server_data would manipulate 'B's server data.
Test Plan: Tizen Mobile Text.
Reviewers: raster, spacegrapher, jpeg, wonsik, dkdk
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4158
Carsten Haitzler (Rasterman) [Wed, 13 Jul 2016 11:54:04 +0000 (20:54 +0900)]
Revert "edje_cc: Fix minor coverity defect"
This reverts commit
0106455588a7390f36bae9ac6d789e94410a5216.
breaks edje_cc.... :( spin 100% cpu building terminology themes
Carsten Haitzler (Rasterman) [Wed, 13 Jul 2016 09:37:21 +0000 (18:37 +0900)]
elm tooltips - fix positioning and more to be sane and have less bugs
the tooltip geometry code was extra complex and iffy with certain
situations. this cleans it up and also fixes the below bug
this fixes T3980
@fix
Jean-Philippe Andre [Wed, 13 Jul 2016 07:22:00 +0000 (16:22 +0900)]
eina_safepointer: Fix coverity warning
I guess the overflow was badly handled. Fixing it by using
explicit int intermediate value.
Fixes CID 1356616 and 1356619:
Operands don't affect result
Logically dead code
Jean-Philippe Andre [Wed, 13 Jul 2016 07:16:02 +0000 (16:16 +0900)]
gfx: Add NULL check to silence coverity
realloc() can return NULL if size is 0. It's like free().
So, the usage here is correct, and there are probably no
points to interpolate between anyway. I wonder if there
can be commands without points, though.
Fixes CID 1293004
Jean-Philippe Andre [Wed, 13 Jul 2016 06:44:58 +0000 (15:44 +0900)]
edje: Fix coverity warning
CID 1355234 Logically dead code
The indicated dead code may have performed some action;
that action will never occur.
In eet_data_descriptor_element_add: Code can never be
reached because of a logical contradiction (CWE-561)
Solution: use explicit range within valid values with <= and >=
rather than excluded values with > and <