Stefan Schmidt
42e838545a
edje_entry: Fix memory leak in _edje_entry_imf_event_preedit_changed_cb
...
info is only local and we are going out of scope after allocating memory
for it. As we are going out of scope anyway we can safely free it before.
2013-06-27 09:43:08 +01:00
Cedric Bail
267b9e4c29
efreet: always sanitize path.
2013-06-27 15:19:44 +09:00
Cedric Bail
61396654a5
efreet: cleanup code by using Eina_File infra.
2013-06-27 15:19:43 +09:00
Daniel Willmann
f24dea2a90
evas_convert_colorspace: Remove printf in e_c_convert_yuv_422_601_to()
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:53:08 +01:00
Daniel Willmann
2df506feed
evas_convert_colorspace: Be nice and actually return the converted data
...
Fixes a memory leaks in evas_common_convert_yuv_42* and actually makes
these functions more useful. It's a win-win.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:53:08 +01:00
Eduardo Lima (Etrunko)
1a2ae24e8b
ecore_wayland: Yes, we need to call display_dispatch
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 11:36:07 -03:00
Eduardo Lima (Etrunko)
2d84a8a8fb
WIP
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 10:58:36 -03:00
Daniel Willmann
dd76f4cd05
evas gl_x11: Fix uninitialized use of re in eng_output_flush()
...
In case of render_mode == EVAS_RENDER_MODE_ASYNC_INIT we're jumping
directly to end which then calls
evas_gl_preload_render_unlock(eng_preload_make_current, re);
Make sure re is initialized with the render engine data so we don't
dereference junk.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 14:42:10 +01:00
Daniel Willmann
adcde1f87e
evas gl_common: Fix incorrect number of parameters in functions
...
_evgl_tls_resource_get() and _surface_context_list_print() don't take
parameters.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 14:42:10 +01:00
Raphael Kubo da Costa
302d42b9af
pixes -> pixels.
2013-06-26 16:26:35 +03:00
Chris Michael
3b8d6bf89a
Add missing initializer for wl_seat_listener.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 12:39:14 +01:00
Chris Michael
3230114ff9
feature: Add support for global_remove in the display listener.
...
bugfix T151: Catch fatal error from wayland displays and signal apps to exit.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 11:57:49 +01:00
Daniel Willmann
6445fea318
configure: Link eina to librt. This is needed for shm_* calls
...
Recent clang breaks with linking errors:
lib/eina/.libs/libeina.so: undefined reference to `shm_open'
so fix.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Daniel Willmann
cd980c4bea
edje_cc: Fix memory leak in data_thread_script() in error case
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Tom Hacohen
182dfb82d4
Evas gl: Fixed double-free when failing gl init.
2013-06-26 10:40:44 +01:00
Carsten Haitzler
33678961b6
efreet: and dont try change mode if runtime dir is /tmp
2013-06-26 12:16:50 +09:00
Cedric Bail
d64c808a73
evas: check wether we do have a data or not.
2013-06-26 11:49:16 +09:00
Cedric Bail
e920c2cc76
efreet: make geteuid an optional function.
2013-06-26 11:24:29 +09:00
Cedric Bail
e888a07c0a
evas: cleanup headers. Should work on windows.
2013-06-26 11:24:29 +09:00
Deon Thomas
67df5b4ad1
Ecore DPMS Function to get the current dpms power level
2013-06-26 08:32:42 +09:00
Tom Hacohen
fdbc477f79
Evas textblock: Fixed issue with textblocks without fonts segfaulting.
...
Fixes T184 (which is a regression).
2013-06-25 16:37:48 +01:00
Stefan Schmidt
9c1ed31c76
eina_list: Avoid NULL pointer deref in eina_list_shuffle.
...
If we have a valid but empty, n = 0, list we never enter the loop
and shuffled_last might still be NULL. Avoid this case by checking
explicitly for n = 0 before.
2013-06-25 15:18:33 +01:00
Stefan Schmidt
8deb75463b
emotion: Check engine for NULL before dereferencing.
...
It might be that our engine list is empty and thus our engine might still
be set to NULL. Better check and return if this is the case instead of
dereferencing NULL.
2013-06-25 14:42:09 +01:00
Chris Michael
abf8a3b7bf
Format for EFL style
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 14:14:04 +01:00
Chris Michael
0615dfe4ee
Add missing safety checks for valid proxy objects before trying to
...
call functions on the object
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 14:14:04 +01:00
ChunEon Park
44568ef01d
efl/evas - removed duplicated lines and apply clipping only when clip values are available.
2013-06-25 21:56:28 +09:00
ChunEon Park
ede5390258
efl/evas - +null check
2013-06-25 21:53:05 +09:00
Chris Michael
aa54fcf059
Check that ecore_wl_init succeeds before trying to make calls into it.
...
Fix formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 09:31:52 +01:00
Cedric Bail
75639bea49
evas: don't forget to remove image from the lru when they are back to active.
2013-06-25 16:20:46 +09:00
Christophe Sadoine
2dabd04dc8
evas: fix problem with dllimport on Windows.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:48 +09:00
Christophe Sadoine
2070ca4205
evil: add strsep function.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:37 +09:00
Christophe Sadoine
d9e1b7d67c
evil: added evil_rename() a wrapper around rename().
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:27 +09:00
Cedric Bail
4605b91804
evil: returned the good value for mkstemp
...
Added back some needed defines for elementary (was in evil 1.7.7).
2013-06-25 12:16:36 +09:00
Cedric Bail
443a1db04a
eet: move the dependency for crypto.
2013-06-25 12:16:03 +09:00
Cedric Bail
1043bb0f47
edje: leak is gone, so use it again.
2013-06-25 11:45:42 +09:00
Cedric Bail
406cdbd686
evas: one LRU for both image open with filename or Eina_File to fix infinite increase of cache.
2013-06-25 11:45:42 +09:00
Ryuan Choi
c11e4cbca8
edje: fix memory leak with EDJE_TWEEN_MODE_OPT_FROM_CURRENT.
2013-06-25 11:45:42 +09:00
Sebastian Dransfeld
71122d5920
efreet: Init no longer fails without dbus session
...
Allow programs to use efreet without requiering a dbus session. This
gives limited functionality, as efreet_icon wont work without a cache.
efreet_desktop will partially work, as it reads info from files directly
if cache is missing.
2013-06-25 04:32:26 +02:00
Jan Arne Petersen
f656aa397f
ecore_imf: Add support for wayland
...
Add an input method module supporting the Wayland input method protocol.
In v2:
- Missing call to ecore_wl_shutdown() in im_module_shutdown()
- Access the already stored 'wayland globals' with ecore_wl_globals_get()
- Fixed compilation by adding -I(top_srcdir)/src/efl to CFLAGS
- EFL formatting fixes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-24 16:14:14 -03:00
Jean-Philippe Andre
1f298139d8
evas: fix crash after font rehint
2013-06-24 14:52:54 +02:00
Chris Michael
0ae7282869
Port cedric's async uploading GL texture commit to wayland_egl engine.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 10:14:21 +01:00
Chris Michael
712a528025
Make gl_x11 compile again
...
eglSwap|BuffersRegion was replaced with eglSwapBuffersWithDamage.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 09:27:14 +01:00
Chris Michael
a665e6320f
Remove call to wl_display_get_serial as it's a server-side function,
...
not client-side.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 09:15:34 +01:00
Chris Michael
f833318fb2
Use wl_display_get_serial when creating popups.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 08:52:50 +01:00
Doug Newgard
95bc804a2e
efl: fix systemd spelling.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Rajeev Ranjan
12458544d1
evas: add mutex locking before signalling for the condition variable and releasing afterwards.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Cedric Bail
d06a0982ef
evas: add support for asynchronously uploading GL texture.
...
NOTE: when using Evas_Object image preload infrastructure the GL texture
upload was uploaded from the main loop during the rendering stage. This
could lead to some frame drop during fast animation due to the time needed
to upload that texture.
This patch fix this problem by uploading a small texture quickly (16x16)
and waiting for going back to the main loop to be able to use the same GL
context from another thread to do the texture upload asynchronously without
blocking the main loop.
2013-06-24 12:04:18 +09:00
Carsten Haitzler
8e3d94d661
efreet: don't try change permissions on runtime dir we don't own.
2013-06-24 12:00:30 +09:00
Christopher
1633d7f3bb
Fix compiler warning about uninitialized variables
...
Signed-off-by: Christopher <devilhorns@comcast.net>
2013-06-23 12:53:53 +01:00
Carsten Haitzler
29b3c80385
eldbus: error message iters should be initted as readonly.
2013-06-22 20:15:44 +09:00