platform/upstream/efl.git
8 years agoelm_win: newest is always unfocused when window just gets focus
WooHyun Jung [Tue, 5 Apr 2016 02:23:04 +0000 (11:23 +0900)]
elm_win: newest is always unfocused when window just gets focus

8 years agowayland_shm: Fix resize optimization
Derek Foreman [Mon, 4 Apr 2016 21:57:30 +0000 (16:57 -0500)]
wayland_shm: Fix resize optimization

We're supposed to allocate a large pool at startup and use it for
resizing to save pool allocations.  However, this was broken and
we ended up allocating both a large pool and a proper sized pool
every resize.

This restores correct behaviour.

8 years agoelm_win: conditionally emit focus and maximize signals in frame creation
Mike Blumenkrantz [Mon, 4 Apr 2016 21:20:49 +0000 (17:20 -0400)]
elm_win: conditionally emit focus and maximize signals in frame creation

@fix

8 years agoelm_win: update opaque region while fullscreened
Mike Blumenkrantz [Mon, 4 Apr 2016 20:30:59 +0000 (16:30 -0400)]
elm_win: update opaque region while fullscreened

@fix

8 years agoelm_win: unset opaque region when alpha is set
Mike Blumenkrantz [Mon, 4 Apr 2016 20:30:33 +0000 (16:30 -0400)]
elm_win: unset opaque region when alpha is set

@fix

8 years agowayland-egl: Fix use after free
Derek Foreman [Mon, 4 Apr 2016 18:08:55 +0000 (13:08 -0500)]
wayland-egl: Fix use after free

eng_window_use() uses outbuf->redirect, so the clever code in
eng_outbuf_reconfigure that avoided setting it to NULL to check
if we needed to recreate the redirect was not very clever at all.

8 years agowayland_egl: Fix redirect to texture
Derek Foreman [Mon, 4 Apr 2016 16:12:06 +0000 (11:12 -0500)]
wayland_egl: Fix redirect to texture

Previous redirect to texture approach broke multiple window applications
by having only a single redirect per context.  This approach allows
multiple redirections.

8 years agoecore-xcb: Implement missing keyrouter and keygrab functions for xcb
Chris Michael [Mon, 4 Apr 2016 12:54:45 +0000 (08:54 -0400)]
ecore-xcb: Implement missing keyrouter and keygrab functions for xcb

This patch implements missing API functions (in ecore xcb) for
ecore_x_window_keygrab_set, ecore_x_window_keygrab_unset,
ecore_x_e_keyrouter_set, ecore_x_e_keyrouter_get. These
were missing from the initial commit of keygrab/keyrouter code.

Fixes T3377

ref 5c3a08433aa5797582f6cda12b3bb51b89f367d0

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-xcb: Fix wrong initialization
Chris Michael [Mon, 4 Apr 2016 12:41:27 +0000 (08:41 -0400)]
ecore-xcb: Fix wrong initialization

As Ecore_X_Window is an 'int' type, we should not be initializing it
to NULL. This causes compiler warnings about initialization makes
integer from pointer without a cast.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEvas x11: Fix warnings and invalid calls in engine
Jean-Philippe Andre [Mon, 4 Apr 2016 05:26:20 +0000 (14:26 +0900)]
Evas x11: Fix warnings and invalid calls in engine

This follows commit f10672dd7429dd98dd3b7d88d9c3c63aac392a40
which apparently forgot some changes in xlib and eglfs.

I hope there are no remains of the old native bind/unbind
functions. Also... I can't build everything, so I'm just hoping
this works. Note: GL and SW native images are not using the
same internal api prototypes.

8 years agoElm_image: remove resizable_up and resizable_down Eo api
Ji-Youn Park [Mon, 4 Apr 2016 01:44:49 +0000 (10:14 +0830)]
Elm_image: remove resizable_up and resizable_down Eo api

risizable_up and resizable_down api will be deprecated
after creating the apis to deal with image content using scale type

8 years agoevas - gif loader - handle missing colormap
Carsten Haitzler (Rasterman) [Mon, 4 Apr 2016 00:51:12 +0000 (09:51 +0900)]
evas - gif loader - handle missing colormap

follow on from dd90b6afadf706aafec9e53a6b1efa8f899ab277 - this handled
if a gif file has no colormap (it'll decode as blank now as a colormap
of all 0's is used instead).

@fix

8 years agoevas_gl_cocoa: fix segmentation fault at program exit
Jean Guyomarc'h [Sat, 2 Apr 2016 20:19:29 +0000 (22:19 +0200)]
evas_gl_cocoa: fix segmentation fault at program exit

Programs crashed on a segmentation fault when the last window was
closed. The eng_output_idle_flush() function was removed... but
since gl_cocoa does not properly use *_generic modules, the
output_idle_flush() function called by the render engine was
garbage (hence the segfault).

Now nothing is done... but at least we don't crash anymore.

8 years agoautotools: on OSX warn about prefix being /usr
Jean Guyomarc'h [Sat, 2 Apr 2016 20:17:53 +0000 (22:17 +0200)]
autotools: on OSX warn about prefix being /usr

With Apple's SIP, nobody is allowed to modify the system
(excepted /usr/local). If SIP is enabled, the installation
will just fail.

8 years agominor spelling fixes
Mike Frysinger [Sat, 2 Apr 2016 20:19:52 +0000 (16:19 -0400)]
minor spelling fixes

8 years agotab--
Dave Andreoli [Sat, 2 Apr 2016 11:18:29 +0000 (13:18 +0200)]
tab--

8 years agoelm win - null out freed data on smart del
Carsten Haitzler (Rasterman) [Sat, 2 Apr 2016 07:02:07 +0000 (16:02 +0900)]
elm win - null  out freed data on smart del

this fixes double-frees of strings in oddball cases where a deleted
window that is not done deleting is accessed.

@fix

8 years agoevas - gif loader - be a little more optimal in pixel lookups on decode
Carsten Haitzler (Rasterman) [Sat, 2 Apr 2016 04:22:11 +0000 (13:22 +0900)]
evas - gif loader - be a little more optimal in pixel lookups on decode

8 years agoevas: gif loader - fix out of bounds access on cmap of invalid pixels
Carsten Haitzler (Rasterman) [Sat, 2 Apr 2016 03:25:52 +0000 (12:25 +0900)]
evas: gif loader - fix out of bounds access on cmap of invalid pixels

if gif has example 4 colors in colormap, pixels provided still can
hold values higher than 3 (4, 8, 255 etc.) ass a pixel is still a
byte. it should not, but it could. technically it'd be nice for gitlib
to pad its palette out to 256 entires to ensure this cant be a
problem, but it doesn't have to , so make a local copy of the cmap
when decoding pixels and pad out to 256 entires (using color 0 as any
value > pallette ize is invalid anyway so any color will do).

this fixes a possible security attack vector in reading memory out of
bounds of an allocated array. not very far out of bounds - but enough
to cause a crash - ie a dos attack, (not to inject code though).

@fix

8 years agoelementary: install elementary cxx pkgconfig file.
Cedric BAIL [Fri, 1 Apr 2016 20:54:40 +0000 (13:54 -0700)]
elementary: install elementary cxx pkgconfig file.

T3397

8 years agoelementary: install desktop files in the correct directory.
Cedric BAIL [Fri, 1 Apr 2016 18:50:20 +0000 (11:50 -0700)]
elementary: install desktop files in the correct directory.

Fix for T3397.

8 years agotheme: fix a bunch of the fixed: X Y edje errors
Mike Blumenkrantz [Fri, 1 Apr 2016 20:22:45 +0000 (16:22 -0400)]
theme: fix a bunch of the fixed: X Y edje errors

8 years agoecore-drm: do not attempt to destroy sprite outputs which have never repainted
Mike Blumenkrantz [Fri, 1 Apr 2016 19:54:37 +0000 (15:54 -0400)]
ecore-drm: do not attempt to destroy sprite outputs which have never repainted

silences a surprisingly large number of errors on shutdown

@fix

8 years agoecore-wl2: Enable releasing keyboard, pointer, and touch if supported
Chris Michael [Fri, 1 Apr 2016 16:22:02 +0000 (12:22 -0400)]
ecore-wl2: Enable releasing keyboard, pointer, and touch if supported

This removes a fixme where we were not using wl_(pointer, keyboard,
touch)_release functions as they rely on newer versions of the wayland
protocol. As we now rely on 1.10 of wayland, these can be enabled now.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore_timer: remove redundancy in property docs
Stefan Schmidt [Fri, 1 Apr 2016 13:40:01 +0000 (15:40 +0200)]
ecore_timer: remove redundancy in property docs

Streamline this a bit to document the property itself and only extra information
the the methods if needed.

8 years agoecore_timer: document properties
Stefan Schmidt [Fri, 1 Apr 2016 13:01:48 +0000 (15:01 +0200)]
ecore_timer: document properties

Make sure that we actually document the property itself and not only the
property methods.

8 years agoevas-software-generic: remove native.func.data variable and data argument of native...
Chris Michael [Fri, 1 Apr 2016 11:56:54 +0000 (07:56 -0400)]
evas-software-generic: remove native.func.data variable and data argument of native calblacks.

Evas Image should be independent of render engine.
So remove native.func.data member of RGBA_Image, Evas_GL_Image
struct. And remove data argument,too.

ref f10672dd7429dd98dd3b7d88d9c3c63aac392a40

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: Move structures above functions
Chris Michael [Fri, 1 Apr 2016 11:34:43 +0000 (07:34 -0400)]
ecore-wl2: Move structures above functions

NB: This is just a cosmetic issue, no functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-wayland-egl: Add www protocol handling to wayland-egl engine
Derek Foreman [Mon, 28 Mar 2016 17:56:23 +0000 (12:56 -0500)]
evas-wayland-egl: Add www protocol handling to wayland-egl engine

Use the new post-processing API and www extension to implement
CSS effects for wayland-egl applications.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
8 years agogl_common: Add API for redirecting render to texture
Derek Foreman [Mon, 28 Mar 2016 17:06:46 +0000 (12:06 -0500)]
gl_common: Add API for redirecting render to texture

New API allows a context to be redirected to texture.  When rendering is
complete the texture can be unbound from the frame buffer and used for
post-processing effects.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
8 years agoecore_evas wayland: store relevant www data in engine info
Mike Blumenkrantz [Thu, 24 Mar 2016 17:46:42 +0000 (12:46 -0500)]
ecore_evas wayland: store relevant www data in engine info

this accumulates all data relevant to client-side www into
the Evas_Engine_Info_Wayland_Egl struct so the client can react to it.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
8 years agoecore-evas wayland: use www protocol when available
Mike Blumenkrantz [Thu, 24 Mar 2016 17:44:21 +0000 (12:44 -0500)]
ecore-evas wayland: use www protocol when available

handle www protocol events and store the provided data into engine data

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
8 years agoecore_wl2: implement www extension for client-side use
Mike Blumenkrantz [Thu, 24 Mar 2016 17:19:42 +0000 (12:19 -0500)]
ecore_wl2: implement www extension for client-side use

handling for global binding and signal prop

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
8 years agoevas - fix leak because cutouts_fre .. doesnt free - it just resets to 0
Carsten Haitzler (Rasterman) [Fri, 1 Apr 2016 08:37:37 +0000 (17:37 +0900)]
evas - fix leak because cutouts_fre .. doesnt free - it just resets to 0

this works with 7166e6b85994b19a29f05c9e2b6d75a314a3cb91 and fixes a
leak added because ... free does not free!
evas_common_draw_context_cutouts_real_free(0 now actually frees the
rects, but evas_common_draw_context_cutouts_free() before did not.

@fix (follow on from 7166e6b85994b19a29f05c9e2b6d75a314a3cb91)

8 years ago Elm_image: remove object_get from eo and object_size_get to view.size.get
Ji-Youn Park [Fri, 1 Apr 2016 08:49:14 +0000 (17:19 +0830)]
Elm_image: remove object_get from eo and object_size_get to view.size.get

    remove elm_image_object_get frome eo.
    change elm_image_object_size_get to efl_gfx_view_size_get

8 years agosupport elm_object_item_style_set/get on genlist items
SangHyeon Lee [Fri, 1 Apr 2016 07:53:57 +0000 (16:53 +0900)]
support elm_object_item_style_set/get on genlist items

8 years agofix item_class refcount bug when class updated
SangHyeon Lee [Fri, 1 Apr 2016 07:40:16 +0000 (16:40 +0900)]
fix item_class refcount bug when class updated

8 years agofix genlist content leak in reausable case
SangHyeon Lee [Fri, 1 Apr 2016 07:26:57 +0000 (16:26 +0900)]
fix genlist content leak in reausable case

8 years ago Elm_image: remove Elm_Image_Orient and orient property from EO.
Ji-Youn Park [Fri, 1 Apr 2016 06:12:01 +0000 (14:42 +0830)]
Elm_image: remove Elm_Image_Orient and orient property from EO.

8 years ago Elm_image: move preload_disabled API from eo to legacy.
Ji-Youn Park [Fri, 1 Apr 2016 06:06:55 +0000 (14:36 +0830)]
   Elm_image: move preload_disabled API from eo to legacy.

8 years ago Elm_image: remove elm_image_fill_outside_get
Ji-Youn Park [Fri, 1 Apr 2016 05:44:21 +0000 (14:14 +0830)]
   Elm_image: remove elm_image_fill_outside_get

   This api will be removed.
   elm_image_fill_outside_get is same as !elm_image_fill_inside_get.
   elm_image_fill_outside_set function is too.

8 years agoEolian: Mark all EO class_get() as weak
Jean-Philippe Andre [Thu, 31 Mar 2016 05:19:08 +0000 (14:19 +0900)]
Eolian: Mark all EO class_get() as weak

This follows the previous commit for the same reasons.

8 years agoEo: Mark all Eo APIs as weak
Jean-Philippe Andre [Thu, 31 Mar 2016 05:02:49 +0000 (14:02 +0900)]
Eo: Mark all Eo APIs as weak

This marks all EOAPI functions with GCC weak attribute.
This allows two things:
- replace functions
- link at runtime and check if functions exist

The purpose of this patch is to exploit these two features
of weak symbols. The first goal is to allow applications
to build binaries against later versions and run on earlier
versions of EFL without any run-time link error. Those errors
simply prevent applications to even start if they were using
any function that's not present in the old version of EFL.

Now all that needs to be done on the application side is to
do either of:
- if (efl_version > xx) { call_weak_symbol() }
- if (call_weak_symbol) { call_weak_symbol() }

In the future, we can also imagine providing a compatibility
library that would replace EFL's internal APIs with a newer
version. This would let apps use new EFLs on platforms that
don't update fast enough.

I am now pushing this patch as an experiment to see what breaks,
but I expect no problem.

@feature

8 years agoevas : remove native.func.data variable and data argument of native calblacks.
Minkyoung Kim [Thu, 31 Mar 2016 06:55:15 +0000 (15:55 +0900)]
evas : remove native.func.data variable and data argument of native calblacks.

Summary:
Evas Image should be independent of render engine.
So remove native.func.data member of RGBA_Image, Evas_GL_Image struct.
And remove data argument,too.

Test Plan: Local test, Tizen3.0 mobile, Desktop englitenment

Reviewers: jpeg, spacegrapher, wonsik

Subscribers: cedric, dkdk

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

8 years agoRevert "po: disable edje_external files from elementary until they are integrated"
Cedric Bail [Fri, 1 Apr 2016 00:55:12 +0000 (17:55 -0700)]
Revert "po: disable edje_external files from elementary until they are integrated"

This reverts commit 5517a23cde7af74cacf6d13be6e65596c02de048.

edje_external are back in, so this is not needed anymore.

8 years agoelementary: add edje_external back in.
Cedric Bail [Fri, 1 Apr 2016 00:44:38 +0000 (17:44 -0700)]
elementary: add edje_external back in.

8 years agoevas sw render: fix previous thread fix to be portable
Carsten Haitzler (Rasterman) [Fri, 1 Apr 2016 02:29:50 +0000 (11:29 +0900)]
evas sw render: fix previous thread fix to be portable

this fixes the fix 4d6a8a7fce51b5654404226668a27d52d1e30eb3 to be
portable to platfomrs that do not support __thread - seemingly openbsd
does not (argh!) and maybe others. so on these platforms then they
dont get the optimization of keeping a cutout rect pool to avoid
re-allocation.

this also every 4096 draws "resets" the cutout cache so it doesnt
expand and stay expanded forever.

@fix

8 years agoRevert "XXX - reword me when done"
Carsten Haitzler (Rasterman) [Fri, 1 Apr 2016 00:57:38 +0000 (09:57 +0900)]
Revert "XXX - reword me when done"

This reverts commit bc238146146d2bdd6a36e0aa31b83f9ce59ac98b.

8 years agoRevert "XXX"
Carsten Haitzler (Rasterman) [Fri, 1 Apr 2016 00:57:36 +0000 (09:57 +0900)]
Revert "XXX"

This reverts commit 5e9d838e60809a7dede3e1179ca35ccd02ea6d4d.

8 years agoevas render: fix updates sometimes are list of rects sometimes updates
Carsten Haitzler (Rasterman) [Thu, 31 Mar 2016 23:52:38 +0000 (08:52 +0900)]
evas render: fix updates sometimes are list of rects sometimes updates

ssometimes the evas render updates are a list of Render_Updates
structs ... sometimes Eina_Rectangles. this is horrible and i think a
bug turns up (but its not reproducable on linux - just bsd) with an
invalid free ... likely because we free() a ptr from the mem pool
eina_rectangle gets rects from. thats most likely the cause of
https://phab.enlightenment.org/T3226 - but as i can't know for sure,
this is a guess, but readiong the code i see posible vectors of
problemss here ... maybe.

so this redoes the update rects to ALWAYS be Render_Updates struct
and appropriately returns correct structures etc. etc. in api which
demand a list of Eina_Rectangles there.

pending testing on foreign sysstems to confirm this by @netstar

@fix

8 years agoXXX
Carsten Haitzler (Rasterman) [Thu, 31 Mar 2016 15:06:47 +0000 (00:06 +0900)]
XXX

8 years agoXXX - reword me when done
Carsten Haitzler (Rasterman) [Thu, 31 Mar 2016 09:33:02 +0000 (18:33 +0900)]
XXX - reword me when done

8 years agoelementary: fix internal dependencies
Jean Guyomarc'h [Thu, 31 Mar 2016 22:08:59 +0000 (00:08 +0200)]
elementary: fix internal dependencies

Ecore_Cocoa was not handled properly.

8 years agopo: disable edje_external files from elementary until they are integrated
Stefan Schmidt [Thu, 31 Mar 2016 18:08:23 +0000 (20:08 +0200)]
po: disable edje_external files from elementary until they are integrated

The edje_external module from elementary is not integrated into the build
system yet and having these files enabled here confuses our po rules.

Cedric will enable these again when he enables them in the build.

8 years agoecore: add ecore_main_fd_handler_file_add() handlers to file handler list
Mike Blumenkrantz [Thu, 31 Mar 2016 17:27:29 +0000 (13:27 -0400)]
ecore: add ecore_main_fd_handler_file_add() handlers to file handler list

broken in a bad refactoring patch, resulting in this function having no effect
whatsoever

ref 9281fb5537546f309db1326754d231abf2578c16

@fix

8 years agobuild: keep our CLEANFILES tidy to avoid argument list too long during clean
Stefan Schmidt [Thu, 31 Mar 2016 14:22:04 +0000 (16:22 +0200)]
build: keep our CLEANFILES tidy to avoid argument list too long during clean

We have been putting the generated eo files and BUILT_SOURCES into CLEANFILES
several times. So far this have not been a real problem but with the elm merge
and more and more eo files showing up this did explode recently.

During make distcheck a lot of files kept being around and make complained about
them. It took some digging to find the arguments list to long error. If you want
details on this great limitation have a look here:
http://www.linuxjournal.com/article/6060

In our case we have been lucky enough that we just appened many files over and
over again. Not doing that solves the issue for now. My testing showed no
problems but if I missed something let me know.

Fixes T3386

8 years agoedje entry: fix bug not to call ecore_imf_context_cursor_position_set when deleteing...
Jihoon Kim [Thu, 31 Mar 2016 02:34:01 +0000 (11:34 +0900)]
edje entry: fix bug not to call ecore_imf_context_cursor_position_set when deleteing surrounding text

8 years agoelementary: let's try to get the right files back in.
Cedric BAIL [Wed, 30 Mar 2016 22:55:06 +0000 (15:55 -0700)]
elementary: let's try to get the right files back in.

Strange enough, if I still try to update po files, half of their content
disapear as if we are unable to find the text to translate in the .c files
when it is still there and the file is processed...

8 years agoelementary: add config back in.
Cedric BAIL [Wed, 30 Mar 2016 21:14:58 +0000 (14:14 -0700)]
elementary: add config back in.

8 years agoelementary: fix errors in default theme
Andrii Kroitor [Wed, 30 Mar 2016 18:34:42 +0000 (11:34 -0700)]
elementary: fix errors in default theme

Summary: fix errors with missing "fixed" and with missing descriptions

Test Plan: elementary_test

Reviewers: cedric, Hermet

Subscribers: jpeg, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agowayland: add comment for ref T3396
Mike Blumenkrantz [Wed, 30 Mar 2016 20:00:10 +0000 (16:00 -0400)]
wayland: add comment for ref T3396

8 years agoRevert "theme: undo recent changes to elm window border shadow_spacer part"
Mike Blumenkrantz [Wed, 30 Mar 2016 19:45:06 +0000 (15:45 -0400)]
Revert "theme: undo recent changes to elm window border shadow_spacer part"

This reverts commit aaf8b861796d4161ee10447958b19dd0846a3660.

it turns out that this was irrelevant and there was some less-than-competent
engine code trying to manhandle surface sizes

8 years agowayland: ignore resize from no-op surface configure events, send events always
Mike Blumenkrantz [Wed, 30 Mar 2016 19:42:21 +0000 (15:42 -0400)]
wayland: ignore resize from no-op surface configure events, send events always

this fixes the case where a configure event with the current window geometry
would cause (inaccurate) resizes

@fix

8 years agoelementary: cleanup module generated files.
Cedric BAIL [Wed, 30 Mar 2016 18:05:00 +0000 (11:05 -0700)]
elementary: cleanup module generated files.

8 years agoelementary: always include web test as this is now an external module.
Cedric BAIL [Wed, 30 Mar 2016 18:04:37 +0000 (11:04 -0700)]
elementary: always include web test as this is now an external module.

8 years agofix other gengrid elemetary test bugs
SangHyeon Lee [Wed, 30 Mar 2016 10:16:02 +0000 (19:16 +0900)]
fix other gengrid elemetary test bugs

8 years agofix gengrid restore sample in elementary_test
SangHyeon Lee [Wed, 30 Mar 2016 08:47:56 +0000 (17:47 +0900)]
fix gengrid restore sample in elementary_test

8 years agofix gengrid test cursor sample in elementary_test
SangHyeon Lee [Wed, 30 Mar 2016 08:33:31 +0000 (17:33 +0900)]
fix gengrid test cursor sample in elementary_test

content_box is useless and also it make recursive calcuation by
adding win resize object which was already set by parent box.

this patch removing useless content_box object and make Check Cursor
works properly as it intended.

8 years agoelm: Fix make distcheck... kindof
Jean-Philippe Andre [Wed, 30 Mar 2016 06:08:07 +0000 (15:08 +0900)]
elm: Fix make distcheck... kindof

A typo (?) was making the relink hack not work.
distcheck still fails for me as all the eo generated files are
left after make clean.

See T3386

8 years agoelm: Add required eo files to EXTRA_DIST
Jean-Philippe Andre [Wed, 30 Mar 2016 06:04:15 +0000 (15:04 +0900)]
elm: Add required eo files to EXTRA_DIST

See T3386

8 years agoevas: Move engine data to native.
Minkyoung Kim [Wed, 30 Mar 2016 05:01:18 +0000 (14:01 +0900)]
evas: Move engine data to native.

Summary:
native_xx_cbs must be independent to evas render engine.
This was applied to only gl_x11 backend.
Propagate to others.

Test Plan: Tizen3.0 Mobile

Reviewers: wonsik, spacegrapher, jpeg

Reviewed By: jpeg

Subscribers: cedric, dkdk

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

8 years agoelm_prefs: Install edj in the right directory
Jean-Philippe Andre [Wed, 30 Mar 2016 04:56:22 +0000 (13:56 +0900)]
elm_prefs: Install edj in the right directory

Note: the ticket was wrong, as I was looking for .so files in the
incorrect directory. v-1.17 is now used instead of v-1.17.99.

Fixes T3385

8 years agoelm_web: Fix compilation of elm_web_none
Jean-Philippe Andre [Wed, 30 Mar 2016 02:25:34 +0000 (11:25 +0900)]
elm_web: Fix compilation of elm_web_none

elm_web_none.eo.h was not found:
- it wasn't generated
- its path wasn't added to the include path

8 years agoelementary: make theme depends on its files again.
Cedric BAIL [Tue, 29 Mar 2016 23:31:12 +0000 (16:31 -0700)]
elementary: make theme depends on its files again.

8 years agoarchlinux: tested and work again.
Cedric BAIL [Tue, 29 Mar 2016 22:59:59 +0000 (15:59 -0700)]
archlinux: tested and work again.

8 years agoelementary: fix documentation generation.
Cedric BAIL [Tue, 29 Mar 2016 22:57:13 +0000 (15:57 -0700)]
elementary: fix documentation generation.

8 years agoelementary: add back modules.
Cedric BAIL [Tue, 29 Mar 2016 21:53:24 +0000 (14:53 -0700)]
elementary: add back modules.

8 years agoelementary: only complain once during init when elm prefs module is not installed.
Cedric BAIL [Tue, 29 Mar 2016 21:52:52 +0000 (14:52 -0700)]
elementary: only complain once during init when elm prefs module is not installed.

8 years agoelementary: the test are time based which make them race prone, longer delay reduce...
Cedric BAIL [Tue, 29 Mar 2016 21:51:53 +0000 (14:51 -0700)]
elementary: the test are time based which make them race prone, longer delay reduce potential issue.

8 years agotextblock: support escaped &apos; tag
Mike Blumenkrantz [Tue, 29 Mar 2016 19:38:47 +0000 (15:38 -0400)]
textblock: support escaped &apos; tag

while not in the official html4 spec, this was supported by all browsers
except IE during the html4 era and is now included in html5.

@fix

8 years agoEo: Implement the fallback eo_add implementation.
Tom Hacohen [Tue, 29 Mar 2016 13:47:22 +0000 (14:47 +0100)]
Eo: Implement the fallback eo_add implementation.

The current eo_add uses a (very useful) gcc extension that is only
available in gcc compatible compilers (e.g clang). Until this commit we
just temporarily ignored this fact. This adds a fallback implementation that
can be used interchangeably with the non portable one. This means that the
same binary can call either at any point in time and the code will work.

Breaks ABI.

8 years agoelm_fileselector: fix progressbar mode
Andrii Kroitor [Tue, 29 Mar 2016 14:45:12 +0000 (16:45 +0200)]
elm_fileselector: fix progressbar mode

Summary:
There are calls of elm_progressbar_pulse (start/stop pulsing), but they have
no effect because progressbar is not in pulse mode

@fix

Test Plan:
open elementary_test fileselector and navigate through folders
Wheel progressbar in right up corner should have pulse animation

Reviewers: cedric, raster, reutskiy.v.v

Subscribers: jpeg

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

8 years agofileselector: add HOLD flag
Marcel Hollerbach [Tue, 29 Mar 2016 14:43:07 +0000 (16:43 +0200)]
fileselector: add HOLD flag

adds the hold flag when the keystroke is used.

If this is not done a backspace is used for reducing the search-string
AND for going into the top level directory.

8 years agoeolian: add APIs to get all things of each type
Daniel Kolesa [Tue, 29 Mar 2016 13:49:30 +0000 (14:49 +0100)]
eolian: add APIs to get all things of each type

8 years agoelua: add several file/dir utils used by doc gen
Daniel Kolesa [Tue, 29 Mar 2016 12:22:39 +0000 (13:22 +0100)]
elua: add several file/dir utils used by doc gen

This will be expanded into a proper util lib later.

8 years agoAdd ECORE_IMF_CALLBACK_DELETE_SURROUNDING
Li Zhang [Thu, 24 Mar 2016 09:51:50 +0000 (17:51 +0800)]
Add ECORE_IMF_CALLBACK_DELETE_SURROUNDING

Change-Id: I0e1ab14736a3d3849becb7cbeea81fe7b61053b7

8 years agoelementary: enable lua binding gen
Daniel Kolesa [Tue, 29 Mar 2016 10:23:43 +0000 (11:23 +0100)]
elementary: enable lua binding gen

8 years agoeolian: fix typos in symbol names in lua bindings
Daniel Kolesa [Tue, 29 Mar 2016 10:13:48 +0000 (11:13 +0100)]
eolian: fix typos in symbol names in lua bindings

8 years agoEvas: Another fix for no-render
Jean-Philippe Andre [Tue, 29 Mar 2016 09:37:12 +0000 (18:37 +0900)]
Evas: Another fix for no-render

Despite the previous patches, no-render objects could be
partially visible. Eg a fileselector marked as no-render
would have its file list visible. All other children were not
shown.

I think this is not the last fix for this feature, but
eventually source_visible will have to die internally
and be replaced by no-render.

Thanks @yakov-g for the report.

8 years agotheme: make sure new theme images from slider range change get distributed
Stefan Schmidt [Tue, 29 Mar 2016 09:43:58 +0000 (11:43 +0200)]
theme: make sure new theme images from slider range change get distributed

In commit 1152fb3e3528e024f0f9e01451783a937fdbe4dc two new image have been
added but not added to the list of image files need to distributed. This
broke make distcheck.

8 years agoedje_cc: fix parsing error when some keywords are used as part name
Jee-Yong Um [Tue, 29 Mar 2016 08:35:04 +0000 (17:35 +0900)]
edje_cc: fix parsing error when some keywords are used as part name

Summary:
Some keywords cause parsing error when they are used as part name.
For example,
   group { "some_group";
      parts {
         box { "box";
         }
      }
   }
The part name "box" should be processed by wildcard handler,
but this is pushed into stack. (collections.group.parts.part.box ...)
This patch pushes token into stack only when it doesn't have quotes.

@fix

Reviewers: cedric, raster, jpeg

Reviewed By: jpeg

Subscribers: jpeg

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

8 years agoExamples: remind Tom to compile before pushing
Daniel Zaoui [Tue, 29 Mar 2016 06:26:50 +0000 (09:26 +0300)]
Examples: remind Tom to compile before pushing

He will spank me for the commit message!!!

8 years agoexamples: Fix evas_canvas3d_proxy (temporary solution)
Jean-Philippe Andre [Tue, 29 Mar 2016 05:59:50 +0000 (14:59 +0900)]
examples: Fix evas_canvas3d_proxy (temporary solution)

It was broken after all the changes in Evas.Image.
Since buffer map/unmap is not fully completed (GL support is
still to do), I added a quick #ifdef to switch between EO and
Legacy APIs.

Thanks @jackdanielz for the report.

8 years agoEvas.Image: Add NULL check before calling engine function
Jean-Philippe Andre [Tue, 29 Mar 2016 06:07:20 +0000 (15:07 +0900)]
Evas.Image: Add NULL check before calling engine function

8 years agoEvas.Image: Remove pixels_dirty and pixels_callback
Jean-Philippe Andre [Tue, 29 Mar 2016 05:52:32 +0000 (14:52 +0900)]
Evas.Image: Remove pixels_dirty and pixels_callback

Those APIs belong to legacy, not Eo. Also, the image object
shouldn't be used directly for GL rendering, instead the GLview
widget should be used.

8 years agoelm: Replace contents list by iterators
Jean-Philippe Andre [Tue, 29 Mar 2016 04:30:13 +0000 (13:30 +0900)]
elm: Replace contents list by iterators

This introduces two new methods:
- content_names_iterate
- content_objects_iterate

Replacing:
- elm_layout_content_swallow_list_get

8 years agoelm: make content_get/set a property
Jean-Philippe Andre [Tue, 29 Mar 2016 02:56:06 +0000 (11:56 +0900)]
elm: make content_get/set a property

This doesn't change the C code.

8 years agoefl - evas - sw engine - donmt free spinlock because cache always needed
Carsten Haitzler (Rasterman) [Tue, 29 Mar 2016 03:09:40 +0000 (12:09 +0900)]
efl - evas - sw engine - donmt free spinlock because cache always needed

never free the shm pool cache spinlock as it is alwasy needed once
initiialized. this likely fixes a bsd hardlock issues

@fix

8 years agoevas/wayland_egl: Remove redundant function call.
Minkyoung Kim [Tue, 29 Mar 2016 02:04:12 +0000 (11:04 +0900)]
evas/wayland_egl: Remove redundant function call.

Summary: ob is already declared. need not to call again.

Test Plan: Tizen3.0 Mobile

Reviewers: jpeg, wonsik

Subscribers: dkdk, cedric

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

8 years agoEvas: Disable events on no-render objects
Jean-Philippe Andre [Mon, 28 Mar 2016 11:10:21 +0000 (20:10 +0900)]
Evas: Disable events on no-render objects

Source events still work for proxies (if the flag is set).