platform/upstream/efl.git
10 years agoemotion gstreamer1: Use refcounting instead of in/out variable counting
Sebastian Dröge [Sun, 12 Jan 2014 18:18:37 +0000 (19:18 +0100)]
emotion gstreamer1: Use refcounting instead of in/out variable counting

10 years agoemotion gstreamer1: Simplify pipeline creation
Sebastian Dröge [Sun, 12 Jan 2014 18:16:58 +0000 (19:16 +0100)]
emotion gstreamer1: Simplify pipeline creation

Also remove the webcam support, this could've never worked and
needs to be handled differently.

10 years agoemotion gstreamer1: Some code re-flow in the GStreamer bus handler
Sebastian Dröge [Sun, 12 Jan 2014 11:59:03 +0000 (12:59 +0100)]
emotion gstreamer1: Some code re-flow in the GStreamer bus handler

10 years agoemotion gstreamer1: Use GStreamer's path/URI handling functions instead of writing...
Sebastian Dröge [Sun, 12 Jan 2014 11:54:52 +0000 (12:54 +0100)]
emotion gstreamer1: Use GStreamer's path/URI handling functions instead of writing our own

10 years agoemotion gstreamer1: Rename functions and variables for clarity
Sebastian Dröge [Sun, 12 Jan 2014 11:03:44 +0000 (12:03 +0100)]
emotion gstreamer1: Rename functions and variables for clarity

Also remove some useless variables.

10 years agoUnbreak ecore_evas wayland engines:
Chris Michael [Mon, 13 Jan 2014 07:52:24 +0000 (07:52 +0000)]
Unbreak ecore_evas wayland engines:

Val variable is not declared here. Use the variable 'on' which was
passed in to this function.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoecore_evas - use eina_bool instead of the char for interal data.
ChunEon Park [Mon, 13 Jan 2014 05:26:36 +0000 (14:26 +0900)]
ecore_evas - use eina_bool instead of the char for interal data.

10 years agoevas - cserve2 - avoid segv accessing im->cache
Carsten Haitzler (Rasterman) [Sun, 12 Jan 2014 23:50:52 +0000 (08:50 +0900)]
evas - cserve2 - avoid segv accessing im->cache

10 years agoevas gl - fix egl/gles build after alpha4 change for fonts
Carsten Haitzler (Rasterman) [Sun, 12 Jan 2014 22:02:24 +0000 (07:02 +0900)]
evas gl - fix egl/gles build after alpha4 change for fonts

10 years agoevas - fonts - move to using 4bit and rel 4 bit compressed font glyphs
Carsten Haitzler (Rasterman) [Sun, 12 Jan 2014 20:13:00 +0000 (05:13 +0900)]
evas - fonts - move to using 4bit and rel 4 bit compressed font glyphs

this changes the internal encoding of font glyphs in evas to use 4bit
uncompressed if small, or 4bit rle (run length encoded) if larger.
this caves at least 50% of memory on fonts - and more if bigger. with
large fonts (40-80pixel size) we can save in the region of 80% of
memory used for glyphs. this also happesn to allow speedups in
rendering too.

10 years agoevas gl - prefer alpha4 format for font textures if possible (save memory)
Carsten Haitzler (Rasterman) [Sun, 12 Jan 2014 20:09:29 +0000 (05:09 +0900)]
evas gl - prefer alpha4 format for font textures if possible (save memory)

if alpha4 is possible (desktopgl) then use it for fonts as this should
cut memory in half for them and possibly speed things up due to less
memory bandwidth needed

10 years agoecore_evas_x: Call _ecore_evas_x_sync_clear() after
Daniel Juyung Seo [Sun, 12 Jan 2014 08:22:40 +0000 (17:22 +0900)]
ecore_evas_x: Call _ecore_evas_x_sync_clear() after
_ecore_evas_x_gl_window_new() to ensure eglDestroySurface is called
before XDestroyWindow call.

In case of gl engine, eglDestroySurface should be called before
XDestroyWindow.
Special thanks to Changwoo Kim <ce2010.kim@samsung.com> for the idea.

10 years agoecore_evas_x: Fix gl_sync_draw_done initialize routine to handle
Daniel Juyung Seo [Sun, 12 Jan 2014 08:01:02 +0000 (17:01 +0900)]
ecore_evas_x: Fix gl_sync_draw_done initialize routine to handle
exceptional case.

As ECORE_EVAS_GL_SYNC_DRAW_DONE is an environment variable, that could
have unexpected value like 2 or 3. So set gl_sync_draw_done to 1 only
when the env variable is 1.

10 years agoecore_evas_x: Refactor/flourish gl_dync_draw_done member from Ecore_Evas
Daniel Juyung Seo [Sun, 12 Jan 2014 07:37:30 +0000 (16:37 +0900)]
ecore_evas_x: Refactor/flourish gl_dync_draw_done member from Ecore_Evas
structure.

- moved gl_sync_draw_done for a better structure packing.
- changed gl_sync_draw_done type from int to char which is enough.
- added more description to gl_sync_draw_done

10 years agoeina: fix memory leak of inserting the wrong value in the hash.
Cedric Bail [Sat, 11 Jan 2014 12:36:47 +0000 (21:36 +0900)]
eina: fix memory leak of inserting the wrong value in the hash.

We where inserting the pointer data instead of the pointer, leading to
unaligned access on Sparc (Thanks Lutin to report it and Debian tools/infra
to help us catch it) and also a memory leak.

10 years agoecore - clean up code.
ChunEon Park [Sat, 11 Jan 2014 09:19:43 +0000 (18:19 +0900)]
ecore - clean up code.

fix indentation and use Eina_Bool instead of char.

10 years agoecore_evas - fixed indent
ChunEon Park [Sat, 11 Jan 2014 09:01:07 +0000 (18:01 +0900)]
ecore_evas - fixed indent

10 years ago[eina] add test case - eina_list_clone, eina_list_reverse_clone
Shinwoo Kim [Sat, 11 Jan 2014 06:46:52 +0000 (22:46 -0800)]
[eina] add test case - eina_list_clone, eina_list_reverse_clone

10 years agoevas gl example - make bg blue to make onefang not freak out. :)
Carsten Haitzler (Rasterman) [Sat, 11 Jan 2014 02:12:16 +0000 (11:12 +0900)]
evas gl example - make bg blue to make onefang not freak out. :)

10 years agoevas cserv2 - remove logical dead code
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 11:16:09 +0000 (20:16 +0900)]
evas cserv2 - remove logical dead code

fixes CID 1113441

10 years agoformatting - fix
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 10:58:21 +0000 (19:58 +0900)]
formatting - fix

10 years agoedje - formatting - indenting fix
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 10:54:01 +0000 (19:54 +0900)]
edje - formatting - indenting fix

10 years agocomment out unreachable code
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 10:04:32 +0000 (19:04 +0900)]
comment out unreachable code

fixes CID 1132633

10 years agoevas gl - comment out unreachable code
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 09:59:49 +0000 (18:59 +0900)]
evas gl - comment out unreachable code

fixes CID 1132634

10 years agoevas - remove dead code (comment it out)
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 09:48:42 +0000 (18:48 +0900)]
evas - remove dead code (comment it out)

removes entirely dead code and keeps it for reference only

10 years agoedje_cc - remove dead code
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 09:45:01 +0000 (18:45 +0900)]
edje_cc - remove dead code

fixes CID 1132639

10 years agocserve2 - debug bin - fix theoretical leak of socket fd
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 09:40:52 +0000 (18:40 +0900)]
cserve2 - debug bin - fix theoretical leak of socket fd

fixes CID 1039286

10 years agoeina lock posix - remove dead code in eina_spinlock_take
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 07:58:39 +0000 (16:58 +0900)]
eina lock posix - remove dead code in eina_spinlock_take

this solves CID 1106340

10 years agoemotion: remove some warning in the example.
Cedric BAIL [Fri, 10 Jan 2014 07:33:22 +0000 (16:33 +0900)]
emotion: remove some warning in the example.

10 years agoexamples: fix various warnings in ecore and eina examples.
Vincent Torri [Thu, 9 Jan 2014 08:24:04 +0000 (09:24 +0100)]
examples: fix various warnings in ecore and eina examples.

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoexamples: fix pointer <-> int conversion (windows 64 bits) in ecore and evas examples.
Vincent Torri [Thu, 9 Jan 2014 08:08:38 +0000 (09:08 +0100)]
examples: fix pointer <-> int conversion (windows 64 bits) in ecore and evas examples.

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoexamples: do not do void* arithmetics in evas examples.
Vincent Torri [Thu, 9 Jan 2014 07:53:07 +0000 (08:53 +0100)]
examples: do not do void* arithmetics in evas examples.

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoexample: fix uninitialized variable in ecore.
Vincent Torri [Thu, 9 Jan 2014 07:44:39 +0000 (08:44 +0100)]
example: fix uninitialized variable in ecore.

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoexamples: remove unused variables and label
Vincent Torri [Thu, 9 Jan 2014 07:37:41 +0000 (08:37 +0100)]
examples: remove unused variables and label

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoexamples: remove unused param warnings
Vincent Torri [Thu, 9 Jan 2014 07:33:20 +0000 (08:33 +0100)]
examples: remove unused param warnings

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoecore: use WIN32 API to port readdir_r in ecore thread example
Vincent Torri [Thu, 9 Jan 2014 06:55:17 +0000 (07:55 +0100)]
ecore: use WIN32 API to port readdir_r in ecore thread example

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoautotools: really don't build Unix specific example on Windows
Vincent Torri [Thu, 9 Jan 2014 06:41:54 +0000 (07:41 +0100)]
autotools: really don't build Unix specific example on Windows

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years ago[ecore_x] Set data of selection event for XDND selection
Jaehyun Cho [Fri, 10 Jan 2014 06:46:15 +0000 (15:46 +0900)]
[ecore_x] Set data of selection event for XDND selection

Summary: Add data set case of selection event for XDND selection if selection atom is XDND

Reviewers: raster

Reviewed By: raster

CC: JackDanielZ, woohyun, Hermet, seoz, cedric
Differential Revision: https://phab.enlightenment.org/D446

10 years agoevas - unbreak gl font rendering with dst pointer checks
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 03:54:54 +0000 (12:54 +0900)]
evas - unbreak gl font rendering with dst pointer checks

10 years agoevas - sw render - protect against null pointer surface access
Carsten Haitzler (Rasterman) [Fri, 10 Jan 2014 03:47:27 +0000 (12:47 +0900)]
evas - sw render - protect against null pointer surface access

10 years agoUpdate PKGBUILD to work with release tarballs as well as Git clones
Carsten Haitzler (Rasterman) [Thu, 9 Jan 2014 10:01:27 +0000 (19:01 +0900)]
Update PKGBUILD to work with release tarballs as well as Git clones

Reviewers: raster

Reviewed By: raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D439

10 years agoEvas/cserve2: Fix valgrind warning about uninitialized memory
Jean-Philippe Andre [Thu, 9 Jan 2014 07:26:18 +0000 (16:26 +0900)]
Evas/cserve2: Fix valgrind warning about uninitialized memory

In cserve2, a shortcut was taken to check if two images were the
same, using memcmp() on the Evas_Image_Load_Opts struct. But it
seems some empty areas in the struct are uninitialized, potentially
making memcmp() fail when the images were actually the same.

This is a minor issue since this function is called only when
bypassing the socket wait.

Also, memset load_opts to 0 and copy all the fields to avoid
the same warning in socket send().

I'm just wondering about the performance impact vs. memcpy/memcmp.

10 years agoEvas cserve2: Fix crash in cserve2 when slaves die
Jean-Philippe Andre [Thu, 9 Jan 2014 07:10:40 +0000 (16:10 +0900)]
Evas cserve2: Fix crash in cserve2 when slaves die

If a slave dies (eg. killed) when it's idle, then cserve2 will crash
miserably at the next request. Indeed, the dead slave's corpse was
removed from the working slaves' list but not from the lazy idle
slaves list.

Also, set read buffer to NULL after free. Just in case. We never know :)

10 years agoethumb: fix build on windows by matching the #if around the if statement.
Cedric BAIL [Thu, 9 Jan 2014 05:30:53 +0000 (14:30 +0900)]
ethumb: fix build on windows by matching the #if around the if statement.

10 years agoecore_con: fix build on windows by matching the #if around the if statement.
Cedric BAIL [Thu, 9 Jan 2014 05:30:43 +0000 (14:30 +0900)]
ecore_con: fix build on windows by matching the #if around the if statement.

10 years agoefreet: fix build on windows by matching the #if around the if statement.
Cedric BAIL [Thu, 9 Jan 2014 05:30:13 +0000 (14:30 +0900)]
efreet: fix build on windows by matching the #if around the if statement.

10 years agoEphysics: Silence more warnings from libbullet
Jean-Philippe Andre [Thu, 9 Jan 2014 02:45:39 +0000 (11:45 +0900)]
Ephysics: Silence more warnings from libbullet

The bullet library generates tons of warnings:
1. -Wunused-variable
2. -Wunused-parameter
3. -Wshadow

2 and 3 were properly ignored by pragma GCC, but unused-variable
doesn't seem to work. At least on my version of GCC (4.8.2).
So, let's ignore ALL warnings from libbullet includes.

10 years agoecore: don't build Unix specific example on Windows.
Cedric BAIL [Thu, 9 Jan 2014 01:17:14 +0000 (10:17 +0900)]
ecore: don't build Unix specific example on Windows.

10 years agoconfigure: correctly detect C99-capabilities for ecore_con_resolver
Joel Klinghed [Thu, 9 Jan 2014 01:05:02 +0000 (10:05 +0900)]
configure: correctly detect C99-capabilities for ecore_con_resolver

ac_cv_prog_cc_c99 being empty just means there is no need to add
any flags for the compiler to be C99-capable.
"no" means the compiler isn't C99-capable.

The check is actually unnecessary as EFL demands a C99-capable
compiler these days but if that every changes ...

Reviewers: zmike

CC: cedric
Differential Revision: https://phab.enlightenment.org/D443

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoRevert "fix allocator sizeof operand mismatch reported by clang"
Carsten Haitzler (Rasterman) [Thu, 9 Jan 2014 01:02:26 +0000 (10:02 +0900)]
Revert "fix allocator sizeof operand mismatch reported by clang"

This reverts commit 955cc579d4d0b52cc71e309c35d1850424dc3cca.

why? wrong. no. and it breaks actual execution/functioning. segv land

10 years agofix allocator sizeof operand mismatch reported by clang
Jihoon Kim [Thu, 9 Jan 2014 00:08:32 +0000 (09:08 +0900)]
fix allocator sizeof operand mismatch reported by clang

https://build.enlightenment.org/job/nightly_efl_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-07-1/report-QL6MiM.html#EndPath
https://build.enlightenment.org/job/nightly_efl_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-07-1/report-a2l0Ci.html#EndPath
https://build.enlightenment.org/job/nightly_efl_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-07-1/report-McvqNf.html#EndPath

10 years agoecore_evas_x: Refactored by reducing cascaded if statements.
Daniel Juyung Seo [Wed, 8 Jan 2014 14:29:40 +0000 (23:29 +0900)]
ecore_evas_x: Refactored by reducing cascaded if statements.

Just return the function. Do not create unnecessary cascaded if
statements it makes indentation depth deeper.

10 years agoecore_evas_x: Check 1 for gl_sync_draw_done instead of 0 before sending comp_sync_dra...
Daniel Juyung Seo [Wed, 8 Jan 2014 14:24:50 +0000 (23:24 +0900)]
ecore_evas_x: Check 1 for gl_sync_draw_done instead of 0 before sending comp_sync_draw_size_done.

There was a corner case which gl_sync_draw_done is set to -1. So send
comp_sync_draw_size_done when the gl_sync_draw_done is not 1. It can be -1 or 0.

This is a manual cherry-pick from tizen.org.
Thanks to original author Jiyoun Park.

commit 4be6c821df4ccd418dbe44f7e6fecbcd7dd66d74
Author: Jiyoun Park <jy0703.park@samsung.com>
Date:   Thu Jul 4 18:04:11 2013 +0900

    fix lockup issue (N_SE-44214)
    because this sync draw done cannot be send

    Change-Id: Id05978e925d5b44d6ca9af0a1684bbb255b9ec5b

10 years agoecore_evas_x: Fixed formatting and added an empty line for a better readability.
Daniel Juyung Seo [Wed, 8 Jan 2014 10:51:42 +0000 (19:51 +0900)]
ecore_evas_x: Fixed formatting and added an empty line for a better readability.

10 years agowindows build - comment out unused function in ecore_pipe
Carsten Haitzler (Rasterman) [Wed, 8 Jan 2014 13:46:51 +0000 (22:46 +0900)]
windows build - comment out unused function in ecore_pipe

10 years agofix warning about always true expression
Carsten Haitzler (Rasterman) [Wed, 8 Jan 2014 13:44:22 +0000 (22:44 +0900)]
fix warning about always true expression

result is a DWORD and DWRODs seem to be unsigned thus always >=0 thus
the check is useless clutter.

10 years agowin build - check for pause func and use only if its there
Carsten Haitzler (Rasterman) [Wed, 8 Jan 2014 13:40:59 +0000 (22:40 +0900)]
win build - check for pause func and use only if its there

10 years agofix missed ifdef lack for getuid for windows
Carsten Haitzler (Rasterman) [Wed, 8 Jan 2014 13:35:57 +0000 (22:35 +0900)]
fix missed ifdef lack for getuid for windows

10 years agofix mingw build for setuid fix/checks
Carsten Haitzler (Rasterman) [Wed, 8 Jan 2014 13:06:41 +0000 (22:06 +0900)]
fix mingw build for setuid fix/checks

10 years agosetuid safeness - ensure if an app that is setuid doesn't do bad things
Carsten Haitzler (Rasterman) [Wed, 8 Jan 2014 10:46:23 +0000 (19:46 +0900)]
setuid safeness - ensure if an app that is setuid doesn't do bad things

this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.

10 years agoeio - protect against posible segv on rename with eio
Carsten Haitzler (Rasterman) [Tue, 7 Jan 2014 08:49:29 +0000 (17:49 +0900)]
eio - protect against posible segv on rename with eio

this MIGHT fix T45 but i can't reproduce to confirm, but reading a
backtrace indicates this could have been the issue. it looks like
there is room for a dangling pointer anyway, so fix.

stable release - cherry-pick me!

10 years agoevas - gl-x11 engine - put in guessed blacklist of yinvert extn for intel mesa
Carsten Haitzler (Rasterman) [Tue, 7 Jan 2014 04:13:01 +0000 (13:13 +0900)]
evas - gl-x11 engine - put in guessed blacklist of yinvert extn for intel mesa

10 years agoefl - build - add warning about gnutls to configure and dropping privs
Carsten Haitzler (Rasterman) [Tue, 7 Jan 2014 03:41:38 +0000 (12:41 +0900)]
efl - build - add warning about gnutls to configure and dropping privs

stable release - cherry-pick me!

10 years agoEvas: Fix some clang warnings in evas_cs2_client.c
Jean-Philippe Andre [Tue, 7 Jan 2014 06:46:44 +0000 (15:46 +0900)]
Evas: Fix some clang warnings in evas_cs2_client.c

- Invalid alloc size (typo)
- Initialized value never read (set twice)
- Potential memleak (call free(msg) in case of send error)
- Null pointer dereference (check nullity)

There are still other warnings, but I believe these are false
positives.

10 years agofix typos in EFL documents
Jihoon Kim [Tue, 7 Jan 2014 05:28:45 +0000 (14:28 +0900)]
fix typos in EFL documents

10 years agofix warning related to argument in generating doxygen
Jihoon Kim [Tue, 7 Jan 2014 02:27:15 +0000 (11:27 +0900)]
fix warning related to argument in generating doxygen

10 years agofix 'found unknown command' warning in generating doxygen
Jihoon Kim [Mon, 6 Jan 2014 05:00:18 +0000 (14:00 +0900)]
fix 'found unknown command' warning in generating doxygen

10 years agoevas - fixed side effect caused by f4d24e962dba33bef8f990ce3359c06eed8771d0
ChunEon Park [Mon, 6 Jan 2014 04:54:58 +0000 (13:54 +0900)]
evas - fixed side effect caused by f4d24e962dba33bef8f990ce3359c06eed8771d0

since the map_changed is reset right after the map is updated,
it could not decide to redraw the map surface properly.

now map_update() returns the value to redraw the map surface properly.

10 years agoevil: fix include to correctly define type used in the header.
Cedric BAIL [Mon, 6 Jan 2014 04:05:39 +0000 (13:05 +0900)]
evil: fix include to correctly define type used in the header.

10 years agofixme notes - fixme: many instances of module loading that bloat our mem
Carsten Haitzler (Rasterman) [Mon, 6 Jan 2014 03:16:36 +0000 (12:16 +0900)]
fixme notes - fixme: many instances of module loading that bloat our mem

10 years agoevas: fix build on windows.
Cedric BAIL [Mon, 6 Jan 2014 01:39:34 +0000 (10:39 +0900)]
evas: fix build on windows.

10 years agoecore_imf: fix doxygen warning in ecore_imf_context_input_panel_enabled_set ()
Jihoon Kim [Mon, 6 Jan 2014 00:29:02 +0000 (09:29 +0900)]
ecore_imf: fix doxygen warning in ecore_imf_context_input_panel_enabled_set ()

10 years agoevas: fix doxygen warning
Jihoon Kim [Mon, 6 Jan 2014 00:25:15 +0000 (09:25 +0900)]
evas: fix doxygen warning

10 years agoecore_imf: Add description about Ecore_IMF_Lib_Group
Jihoon Kim [Mon, 6 Jan 2014 00:09:53 +0000 (09:09 +0900)]
ecore_imf: Add description about Ecore_IMF_Lib_Group

10 years agoevas: fix unknown command warning when building doxygen
Jihoon Kim [Mon, 6 Jan 2014 00:01:32 +0000 (09:01 +0900)]
evas: fix unknown command warning when building doxygen

10 years agoevas: let's use HUGETLB when it makes sense.
Cedric Bail [Sun, 5 Jan 2014 13:44:50 +0000 (22:44 +0900)]
evas: let's use HUGETLB when it makes sense.

10 years agoedje: correct english.
Cedric Bail [Sun, 5 Jan 2014 10:30:34 +0000 (19:30 +0900)]
edje: correct english.

10 years agoemotion: it has already been assumed that 'send' was not NULL before.
Cedric Bail [Sun, 5 Jan 2014 03:06:59 +0000 (12:06 +0900)]
emotion: it has already been assumed that 'send' was not NULL before.

10 years agoedje: be more informative when and where a file was not found.
Cedric Bail [Sun, 5 Jan 2014 01:58:08 +0000 (10:58 +0900)]
edje: be more informative when and where a file was not found.

10 years agoeina: Eina_File - don't leak memory when file is not found.
Cedric Bail [Sun, 5 Jan 2014 01:57:39 +0000 (10:57 +0900)]
eina: Eina_File - don't leak memory when file is not found.

10 years agoAdd EINA_UNUSED for unused function parameter
Chris Michael [Sat, 4 Jan 2014 11:17:01 +0000 (11:17 +0000)]
Add EINA_UNUSED for unused function parameter

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoecore_imf_example: remove wrong implementation code.
Jihoon Kim [Sat, 4 Jan 2014 05:23:38 +0000 (14:23 +0900)]
ecore_imf_example: remove wrong implementation code.

Enter or Escape key should be processed by input method framework.
Editor should not call ecore_imf_context_reset by itself.

10 years agoUse key instead of keyname for considering setxkbmap
Jihoon Kim [Sat, 4 Jan 2014 04:25:21 +0000 (13:25 +0900)]
Use key instead of keyname for considering setxkbmap

10 years agoMajor cleanup of the Emotion GStreamer 1.x video sink
Sebastian Dröge [Sat, 4 Jan 2014 02:41:37 +0000 (11:41 +0900)]
Major cleanup of the Emotion GStreamer 1.x video sink

Next step: state handling in the GStreamer backend

Reviewers: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D431

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoeina: fix support for system requiring _XOPEN_SOURCE to use spinlock and barrier.
Cedric Bail [Sat, 4 Jan 2014 02:25:19 +0000 (11:25 +0900)]
eina: fix support for system requiring _XOPEN_SOURCE to use spinlock and barrier.

10 years agoeina: fix build break on systemd based system.
Cedric Bail [Sat, 4 Jan 2014 02:24:48 +0000 (11:24 +0900)]
eina: fix build break on systemd based system.

10 years agoecore_evas: extn - restore missing symbol that resulted in a temporary ABI break.
Cedric Bail [Sat, 4 Jan 2014 02:23:47 +0000 (11:23 +0900)]
ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break.

Thanks to Albin and Debian tools to have spotted that.

- cherry-pick me -

10 years agoeina - Fix compilation warning in eina_log_print_cb_journald.
Guillaume Friloux [Fri, 3 Jan 2014 18:13:30 +0000 (19:13 +0100)]
eina - Fix compilation warning in eina_log_print_cb_journald.

vasprintf can return -1, in which case the buffer is corrupted.
So we better handle this ...

gcc told me of this thanks to -Wunused-result when building package,
thank you gcc for your incredible powers.

10 years agoeina - Fix coding style madness.
Guillaume Friloux [Fri, 3 Jan 2014 18:10:16 +0000 (19:10 +0100)]
eina - Fix coding style madness.

10 years agoecore_audio - Fix doxygen command that does not exist.
Guillaume Friloux [Fri, 3 Jan 2014 18:07:03 +0000 (19:07 +0100)]
ecore_audio - Fix doxygen command that does not exist.

10 years agoecore_con - Fix binary buffer when using ECORE_CON_REMOTE_UDP.
Nicolas Aguirre [Fri, 3 Jan 2014 17:57:56 +0000 (18:57 +0100)]
ecore_con - Fix binary buffer when using ECORE_CON_REMOTE_UDP.

ERR<7807>: lib/eina/eina_binbuf_template_c.x:95 eina_binbuf_append_length() *** Eina Magic Check Failed !!!
This fix a problem where eina_binbuf was used without
calling eina_binbuf_new when ECORE_CON_REMOTE_UDP is used.

10 years agoUpdating serbian and italian translations
maxerba [Fri, 3 Jan 2014 17:18:55 +0000 (18:18 +0100)]
Updating serbian and italian translations

10 years agoevas: disable use of mmap on windows for allocating pixels buffer.
Cedric BAIL [Fri, 3 Jan 2014 08:53:51 +0000 (17:53 +0900)]
evas: disable use of mmap on windows for allocating pixels buffer.

We do have mmap provided by Evil, but there is no implementation yet of
an anonymous map support. Also it is not clear how the memory system of
windows does actually work, so not sure this optimization is relevant
to windows at all. Thus we disable it for the time being and unbreak
the windows support.

- cherry-pick me -

10 years agoscimimmodule: remove unused code
Jihoon Kim [Fri, 3 Jan 2014 07:23:50 +0000 (16:23 +0900)]
scimimmodule: remove unused code

need_commit_preedit was always false, so those code are useless.

10 years agoemotion: Fix missing include resulting in unknown type GstNavigationCommand
Stefan Schmidt [Thu, 2 Jan 2014 12:54:39 +0000 (13:54 +0100)]
emotion: Fix missing include resulting in unknown type GstNavigationCommand

At least on the gstreamer1 version in Fedora 19 this include is needed. Glima
reported it as well and I think he also uses Fedora.

modules/emotion/gstreamer1/emotion_gstreamer.c:643:4: error: unknown type name
'GstNavigationCommand'

Even if other distros or gstreamer1 versions do not need this it should be safe
to add it here.

10 years agoeina: make eina_binbuf_free and eina_strbuff_free accept NULL.
Cedric BAIL [Thu, 2 Jan 2014 03:11:38 +0000 (12:11 +0900)]
eina: make eina_binbuf_free and eina_strbuff_free accept NULL.

We do follow free() logic here and accept NULL for all eina_*_free() functions.
This patch just do so for Eina_Binbuf and Eina_Strbuf.

10 years agoscimimmodule: support super key (between ctrl and alt key)
Jihoon Kim [Thu, 2 Jan 2014 06:08:01 +0000 (15:08 +0900)]
scimimmodule: support super key (between ctrl and alt key)

10 years agoscimimmodule: code refinement related to key modifier and lock
Jihoon Kim [Thu, 2 Jan 2014 06:00:51 +0000 (15:00 +0900)]
scimimmodule: code refinement related to key modifier and lock

10 years agofix map-across-mark patch from sergey in december 2013
Carsten Haitzler (Rasterman) [Thu, 2 Jan 2014 00:26:34 +0000 (09:26 +0900)]
fix map-across-mark patch from sergey in december 2013

stable release - cherry-pick me!

of course! eina_hash_direct_add() for the object pointer is using the
poitner to the stack value, not the value itself it points to... this
was bad and just by luck out value was on the stack that grows but
never shrinks and thus never crashes, BUT... it will just break in all
sorts of fun ways. basically it makes the hash useless as the keys in
it are effectively all the SAME value as they point to the same
storage.. but it changes whenever that stack mem gets changed.

10 years agoFix documentation for efreet_desktop_exec().
Guillaume Friloux [Wed, 1 Jan 2014 20:39:14 +0000 (21:39 +0100)]
Fix documentation for efreet_desktop_exec().