platform/upstream/efl.git
8 years agoelementary: Fix formatting
Chris Michael [Mon, 25 Jul 2016 15:39:06 +0000 (11:39 -0400)]
elementary: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore_wl2: also add the del control code
Marcel Hollerbach [Mon, 25 Jul 2016 15:08:05 +0000 (17:08 +0200)]
ecore_wl2: also add the del control code

otherwise we are sending the controlcode for delete, which is wrong.

This fixes the backspace on delete problem.

8 years agoelput: Fix issue of losing mouse input when removing a device
Chris Michael [Mon, 25 Jul 2016 14:54:17 +0000 (10:54 -0400)]
elput: Fix issue of losing mouse input when removing a device

When we are adding new input devices, if we already have an existing
one (keyboard, pointer, touch, etc) then we should just be
incrementing the device count and returning from the init function.
Previous code here would increment the device count, then continue on
and create a new internal representation of the device. This was
causing issues when a device gets removed.

Fixes T4192

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoaccess: add API to get access object of given part
Shinwoo Kim [Mon, 25 Jul 2016 13:05:24 +0000 (22:05 +0900)]
access: add API to get access object of given part

8 years agoelm table and box resize themselves on sizing eval - fix this - dont resize
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 07:56:15 +0000 (16:56 +0900)]
elm table and box resize themselves on sizing eval - fix this - dont resize

thsi fixes T3031

@fix

8 years agoelm_access: fix typo of atspi action
Shinwoo Kim [Mon, 25 Jul 2016 10:02:21 +0000 (19:02 +0900)]
elm_access: fix typo of atspi action

8 years agoelm button theme - fix anchor style to not pass events when disabled
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 07:23:45 +0000 (16:23 +0900)]
elm button theme - fix anchor style to not pass events when disabled

@fix

8 years agoelm button default theme - fix disabled events to not pass through
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 06:42:05 +0000 (15:42 +0900)]
elm button default theme - fix disabled events to not pass through

this fixes T2955
@fix

8 years agoefl - when evas generic loaders merged the gst loader was missed. fix
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 06:21:45 +0000 (15:21 +0900)]
efl - when evas generic loaders merged the gst loader was missed. fix

this fixes the missing gst loader from generic loaders.

8 years agoelm default config - change default select on focus to be disabled
Carsten Haitzler (Rasterman) [Mon, 25 Jul 2016 02:05:37 +0000 (11:05 +0900)]
elm default config - change default select on focus to be disabled

this also fixes T3198 but only dave's comment.

@fix

8 years agoector module - remove sueless chekc for null done already CID 1347411
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:42:13 +0000 (18:42 +0900)]
ector module - remove sueless chekc for null done already CID 1347411

fixes a pointeless check coverity found

8 years agoecore-imf - remove usueless checks for context - CID 1351451
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:39:16 +0000 (18:39 +0900)]
ecore-imf - remove usueless checks for context - CID 1351451

useless checks for ic in code. fix

8 years agoefl ui image async locking -fix CID 1356199 - locked data cant be messed with
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:33:52 +0000 (18:33 +0900)]
efl ui image async locking -fix CID 1356199 - locked data cant be messed with

this addresses a coverity issue that in theory looks right

fix CID 1356199

@fix

8 years agoefl ui video - fix coverity CID 1356997
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:24:01 +0000 (18:24 +0900)]
efl ui video - fix coverity CID 1356997

really minor lack of check if emotion init succeeds. check and
complain if it fails.

@fix

8 years agoedje entry - fix coverity CID 1357752
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:21:07 +0000 (18:21 +0900)]
edje entry - fix coverity CID 1357752

fix potential crash if calloc fails and sel is NULL

@fix

8 years agoevas cache2 - fix coverity CID 1357754
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:18:36 +0000 (18:18 +0900)]
evas cache2 - fix coverity CID 1357754

@fix

8 years agoelm quicklaunch binary - fix coverity CID 1353607
Carsten Haitzler (Rasterman) [Sun, 24 Jul 2016 09:14:27 +0000 (18:14 +0900)]
elm quicklaunch binary - fix coverity CID 1353607

@fix

8 years agoevas image updates - optimize by over-rendering less with hidden content
Carsten Haitzler (Rasterman) [Fri, 22 Jul 2016 00:50:58 +0000 (09:50 +0900)]
evas image updates - optimize by over-rendering less with hidden content

so if an img obj had some update regions and was opaque, it didnt del
an update region first before adding the updates, thus possibly
letting update regions pass through the opaque image area

@fix

8 years agoGstreamer1: implement subtitles mute/unmute ability
Dave Andreoli [Sat, 23 Jul 2016 21:31:35 +0000 (23:31 +0200)]
Gstreamer1: implement subtitles mute/unmute ability

This seems the only way to disable subtitles embedded in the video file.

WIthout this patch calling em_spu_mute_set/get do not work, thus I consider this a @fix

8 years agorelease: Update NEWS and bump version for 1.18.0-alpha2 release
Stefan Schmidt [Sat, 23 Jul 2016 10:02:52 +0000 (12:02 +0200)]
release: Update NEWS and bump version for 1.18.0-alpha2 release

8 years agowayland_shm: Speed up dmabuf on intel
Derek Foreman [Fri, 22 Jul 2016 19:32:37 +0000 (14:32 -0500)]
wayland_shm: Speed up dmabuf on intel

using map_bo/unmap_bo instead of gem_map_bo_gtt/gem_unmap_bo_gtt
results in a cacheable mapping and a large performance boost.

(dmabuf will still remain turned off by default for the release)

8 years agodocs: split type serializers and keyword ref into their own module in docgen
Daniel Kolesa [Fri, 22 Jul 2016 12:27:24 +0000 (13:27 +0100)]
docs: split type serializers and keyword ref into their own module in docgen

8 years agoelementary: change cursor types for cocoa
Thiep Ha [Fri, 22 Jul 2016 04:27:22 +0000 (13:27 +0900)]
elementary: change cursor types for cocoa

Map more cursor types for cocoa.
Fix T3352

8 years agoecore_wl2: be compatible with x input
Marcel Hollerbach [Thu, 21 Jul 2016 18:15:16 +0000 (20:15 +0200)]
ecore_wl2: be compatible with x input

This commit introduces a new state per input, this state is just for the
keymap and no modifieres, the state is used to get the keysym from a
keycode. This is done to stay compatible with x since keyname in efl is
the characters which are describing the key which is pressed, without
the transformation of shift etc.

This also escapes keycodes from beeing a utf8 character, and passes out
a keyname instead of the utf8 symbol.

fix T3976
fix T4184

8 years agoedje: fix specular color
perepelits.m [Thu, 21 Jul 2016 19:28:17 +0000 (12:28 -0700)]
edje: fix specular color

Summary: We use int from 0 to 255 for color, not float

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary: disable visual hint at odd/even.
Cedric BAIL [Thu, 21 Jul 2016 18:17:51 +0000 (11:17 -0700)]
elementary: disable visual hint at odd/even.

This is a work around a huge bug in how genlist handle index. Fixing
it in genlist for this release is way to risky. The default theme is
temporary updated to not use this feature and this patch should be
reverted as soon as we start working on 1.19.

8 years agoedje: allow inheritance from an aliased group.
Cedric BAIL [Thu, 21 Jul 2016 18:17:30 +0000 (11:17 -0700)]
edje: allow inheritance from an aliased group.

8 years agoelm_win: move window contents back to 0,0 when deleting frame object
Mike Blumenkrantz [Thu, 21 Jul 2016 17:50:45 +0000 (13:50 -0400)]
elm_win: move window contents back to 0,0 when deleting frame object

fix T4092

8 years agoelm_win: simplify borderless_set when reapplying the same state
Mike Blumenkrantz [Thu, 21 Jul 2016 17:50:07 +0000 (13:50 -0400)]
elm_win: simplify borderless_set when reapplying the same state

8 years agoelementary: Remove logically dead code
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>
8 years agoelput: Use proper variable type
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>
8 years agoeina: Fix null pointer derefernce
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>
8 years agoelementary: Remove logically dead code
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>
8 years agoelementary: Remove logically dead code
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>
8 years agoeldbus: Check return value and error out if necessary
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>
8 years agoedje: Fix unchecked return value
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>
8 years agoevas: Fix missing breaks in switch
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>
8 years agoedje_pick: reset alias flag for copied group
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

8 years agoeo: Fix override test case to match new policy
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.

8 years agoeo: Prevent eo_override to be called on an already overridden object
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.

8 years agowayland_shm: Add missing headers to wayland_shm sources
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.

8 years agoRevert "elementary: Make wl frame borders above content"
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

8 years agodocs: split off writer and utils into modules in docgen
Daniel Kolesa [Wed, 20 Jul 2016 14:27:29 +0000 (15:27 +0100)]
docs: split off writer and utils into modules in docgen

8 years agodocs: begin modularizing the doc generator script
Daniel Kolesa [Wed, 20 Jul 2016 14:03:49 +0000 (15:03 +0100)]
docs: begin modularizing the doc generator script

8 years agoelm flip - make it not crash and interactive mode work again
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

8 years agoevas image updates - reduce overhead with bordered images not scaled
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

8 years agoevas objkect image - make opaque rect getting code more readable
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.

8 years agoignore generated shaders .x file
Carsten Haitzler (Rasterman) [Wed, 20 Jul 2016 01:43:09 +0000 (10:43 +0900)]
ignore generated shaders .x file

8 years agoedje: fix ambient color
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

8 years agoelm_win: handle elm,action,menu signal for wl clients
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

8 years agotheme: copy border icon click -> elm,action,signal program
Mike Blumenkrantz [Tue, 19 Jul 2016 18:13:05 +0000 (14:13 -0400)]
theme: copy border icon click -> elm,action,signal program

8 years agoelm_win: simplify opaque region updating during fullscreening
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

8 years agoelm_win: update opaque region when frame is deleted
Mike Blumenkrantz [Tue, 19 Jul 2016 17:07:00 +0000 (13:07 -0400)]
elm_win: update opaque region when frame is deleted

fix T4092

8 years agoconfig: increase base image cache to fit two 4K background in.
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.

8 years agoelementary: as screen get bigger, we need more cache to store uncompressed image.
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.

8 years agoedje_pick: copy dependent group
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

8 years agoelua: enable module lookups in apps location
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.

8 years agoecore_wl2: dnd: fix leak of event resource when not used
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

8 years agoRevert "elementary: Fix issue of toggling border state causing visual jumps"
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>
8 years agoUi text: remove unused variables
Daniel Hirt [Tue, 19 Jul 2016 11:34:55 +0000 (11:34 +0000)]
Ui text: remove unused variables

8 years agoevas: Fix call to NULL object
Jean-Philippe Andre [Tue, 19 Jul 2016 10:13:45 +0000 (19:13 +0900)]
evas: Fix call to NULL object

8 years agotextblock: Prevent crash in evas_object_textblock_cursor_new(NULL)
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

8 years agotests: Add ifdef clang to avoid warning on GCC and elsewhere
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

8 years agoeo: Change eo_override to avoid struct passing and GCC construct
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

8 years agodrm2: Fix shadow variable
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.

8 years agoedje lang set - fix coverity harmless complaint
Carsten Haitzler (Rasterman) [Tue, 19 Jul 2016 07:41:06 +0000 (16:41 +0900)]
edje lang set - fix coverity harmless complaint

fix CID 1357755

8 years agoefl: Add support for efl_event_flags() to hold events
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.

8 years agoefl: Hold event (EO API) should implement instance_get
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'.

8 years agoevas - on shutdown avoid potential invalid memory access
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

8 years agoeina rbtree iterator - fix leak found while debugging other problems
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

8 years agoevas: Add a textblock to the image proxy example
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).

8 years agoevas: Avoid proxy subrender if size is 0
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!)

8 years agorelease: Update NEWS and bump version for 1.18.0-alpha1 release
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

8 years agoecore_con: fix lookup of libcurl on OpenBSD.
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>
8 years agoedje: fix definition of viewport in edje-3d
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>
8 years agodocs: generate a keyword list for use by codelink plugin
Daniel Kolesa [Mon, 18 Jul 2016 14:33:56 +0000 (15:33 +0100)]
docs: generate a keyword list for use by codelink plugin

8 years agotests: eina_cxx: make sure simple.eo gets disted in all cases
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.

8 years agowin: Set window alpha when changing theme
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.

8 years agotests: Show use of eo_override for custom layout
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.

8 years agoeo: Fix leak in eo_override and allow NULL to reset
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...

8 years agoEvas GL: Use [u]int64_t directly in all APIs
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

8 years agoevas: Also fix was_opaque for rect & image
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.

8 years agoevas: Some more opacity check fixes
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).

8 years agoevas: Fix cutout regions with transparent images
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

8 years agowin: Set proper flag when EDC specifies win "alpha"
Jean-Philippe Andre [Fri, 15 Jul 2016 09:39:13 +0000 (18:39 +0900)]
win: Set proper flag when EDC specifies win "alpha"

8 years agoelementary: only call ecore_wl2 if wayland is enabled
Marcel Hollerbach [Sat, 16 Jul 2016 11:17:39 +0000 (13:17 +0200)]
elementary: only call ecore_wl2 if wayland is enabled

fix T4125

8 years agoeio: handle failure due to lack of access right.
Cedric Bail [Sat, 16 Jul 2016 00:04:21 +0000 (17:04 -0700)]
eio: handle failure due to lack of access right.

8 years agoeio: make it possible to force fallback monitor for testing purpose.
Cedric Bail [Sat, 16 Jul 2016 00:03:53 +0000 (17:03 -0700)]
eio: make it possible to force fallback monitor for testing purpose.

8 years agoeio: avoid access after death of eio handler due to inotify triggering IN_IGNORED...
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.

8 years agoeio: cleanup thread pointer on thread finish.
Cedric Bail [Sat, 16 Jul 2016 00:00:33 +0000 (17:00 -0700)]
eio: cleanup thread pointer on thread finish.

8 years agoelocation: properly generate pkgconfig file.
Cedric Bail [Fri, 15 Jul 2016 21:01:22 +0000 (14:01 -0700)]
elocation: properly generate pkgconfig file.

@fix T4120

8 years agoelementary: Fix issue of toggling border state causing visual jumps
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>
8 years agoecore_drm2: Allow enabling outputs in drm events
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.

8 years agoedje: add required attribute in Edje_Part
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

8 years agoecore_drm2: Try to mmap gbm buffers
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.

8 years agoecore_drm2: Fix page flipping
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

8 years agoecore_drm2: Don't disable custom ticker if flip fails
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.

8 years agoEvas font: Fix width query for OpenType fonts. (rewrite)
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.

8 years agoRevert "Evas font: fix width query for OT"
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.

8 years agodocs: more detailed stats (print intermediate percentages)
Daniel Kolesa [Thu, 14 Jul 2016 15:07:08 +0000 (16:07 +0100)]
docs: more detailed stats (print intermediate percentages)