Chris Michael [Thu, 27 Jun 2013 09:45:04 +0000 (10:45 +0100)]
When getting crtc info, fill in missing "rotations" field so that the
value is initialized.
NB: Spank Spank whoever did this ... oh wait, that was me :( Ouch !!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Thu, 27 Jun 2013 08:43:08 +0000 (09:43 +0100)]
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.
Cedric Bail [Thu, 27 Jun 2013 03:25:03 +0000 (12:25 +0900)]
efreet: always sanitize path.
Cedric Bail [Thu, 27 Jun 2013 03:23:33 +0000 (12:23 +0900)]
efreet: cleanup code by using Eina_File infra.
Daniel Willmann [Wed, 26 Jun 2013 17:41:32 +0000 (18:41 +0100)]
evas_convert_colorspace: Remove printf in e_c_convert_yuv_422_601_to()
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Wed, 26 Jun 2013 17:38:24 +0000 (18:38 +0100)]
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>
Eduardo Lima (Etrunko) [Wed, 26 Jun 2013 14:35:59 +0000 (11:35 -0300)]
ecore_wayland: Yes, we need to call display_dispatch
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Wed, 26 Jun 2013 13:55:14 +0000 (10:55 -0300)]
WIP
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Daniel Willmann [Wed, 26 Jun 2013 13:32:21 +0000 (14:32 +0100)]
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>
Daniel Willmann [Wed, 26 Jun 2013 13:30:48 +0000 (14:30 +0100)]
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>
Raphael Kubo da Costa [Wed, 26 Jun 2013 13:26:35 +0000 (16:26 +0300)]
pixes -> pixels.
Chris Michael [Wed, 26 Jun 2013 11:39:14 +0000 (12:39 +0100)]
Add missing initializer for wl_seat_listener.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 26 Jun 2013 10:52:58 +0000 (11:52 +0100)]
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>
Daniel Willmann [Wed, 26 Jun 2013 09:57:24 +0000 (10:57 +0100)]
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>
Daniel Willmann [Tue, 25 Jun 2013 15:23:03 +0000 (16:23 +0100)]
edje_cc: Fix memory leak in data_thread_script() in error case
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Wed, 26 Jun 2013 09:40:44 +0000 (10:40 +0100)]
Evas gl: Fixed double-free when failing gl init.
Carsten Haitzler (Rasterman) [Wed, 26 Jun 2013 03:16:50 +0000 (12:16 +0900)]
efreet: and dont try change mode if runtime dir is /tmp
Cedric Bail [Wed, 26 Jun 2013 02:49:16 +0000 (11:49 +0900)]
evas: check wether we do have a data or not.
Cedric Bail [Tue, 25 Jun 2013 09:11:43 +0000 (18:11 +0900)]
efreet: make geteuid an optional function.
Cedric Bail [Tue, 25 Jun 2013 07:44:37 +0000 (16:44 +0900)]
evas: cleanup headers. Should work on windows.
Deon Thomas [Tue, 25 Jun 2013 23:32:42 +0000 (08:32 +0900)]
Ecore DPMS Function to get the current dpms power level
Tom Hacohen [Tue, 25 Jun 2013 15:37:48 +0000 (16:37 +0100)]
Evas textblock: Fixed issue with textblocks without fonts segfaulting.
Fixes T184 (which is a regression).
Stefan Schmidt [Tue, 25 Jun 2013 14:18:33 +0000 (15:18 +0100)]
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.
Stefan Schmidt [Tue, 25 Jun 2013 13:36:38 +0000 (14:36 +0100)]
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.
Chris Michael [Tue, 25 Jun 2013 13:01:30 +0000 (14:01 +0100)]
Format for EFL style
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 25 Jun 2013 12:51:53 +0000 (13:51 +0100)]
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>
ChunEon Park [Tue, 25 Jun 2013 12:56:28 +0000 (21:56 +0900)]
efl/evas - removed duplicated lines and apply clipping only when clip values are available.
ChunEon Park [Tue, 25 Jun 2013 12:53:05 +0000 (21:53 +0900)]
efl/evas - +null check
Chris Michael [Tue, 25 Jun 2013 08:31:52 +0000 (09:31 +0100)]
Check that ecore_wl_init succeeds before trying to make calls into it.
Fix formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Cedric Bail [Tue, 25 Jun 2013 07:20:46 +0000 (16:20 +0900)]
evas: don't forget to remove image from the lru when they are back to active.
Christophe Sadoine [Tue, 25 Jun 2013 03:27:45 +0000 (12:27 +0900)]
evas: fix problem with dllimport on Windows.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Christophe Sadoine [Tue, 25 Jun 2013 03:26:20 +0000 (12:26 +0900)]
evil: add strsep function.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Christophe Sadoine [Wed, 19 Jun 2013 06:47:20 +0000 (15:47 +0900)]
evil: added evil_rename() a wrapper around rename().
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Cedric Bail [Tue, 25 Jun 2013 03:16:36 +0000 (12:16 +0900)]
evil: returned the good value for mkstemp
Added back some needed defines for elementary (was in evil 1.7.7).
Cedric Bail [Tue, 25 Jun 2013 03:16:03 +0000 (12:16 +0900)]
eet: move the dependency for crypto.
Cedric Bail [Tue, 25 Jun 2013 02:44:38 +0000 (11:44 +0900)]
edje: leak is gone, so use it again.
Cedric Bail [Tue, 25 Jun 2013 02:42:14 +0000 (11:42 +0900)]
evas: one LRU for both image open with filename or Eina_File to fix infinite increase of cache.
Ryuan Choi [Tue, 25 Jun 2013 01:37:59 +0000 (10:37 +0900)]
edje: fix memory leak with EDJE_TWEEN_MODE_OPT_FROM_CURRENT.
Sebastian Dransfeld [Tue, 25 Jun 2013 02:32:26 +0000 (04:32 +0200)]
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.
Jan Arne Petersen [Wed, 17 Apr 2013 09:59:46 +0000 (11:59 +0200)]
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>
Jean-Philippe Andre [Mon, 24 Jun 2013 12:28:27 +0000 (14:28 +0200)]
evas: fix crash after font rehint
Chris Michael [Mon, 24 Jun 2013 09:14:21 +0000 (10:14 +0100)]
Port cedric's async uploading GL texture commit to wayland_egl engine.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 24 Jun 2013 08:27:14 +0000 (09:27 +0100)]
Make gl_x11 compile again
eglSwap|BuffersRegion was replaced with eglSwapBuffersWithDamage.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 24 Jun 2013 08:15:34 +0000 (09:15 +0100)]
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>
Chris Michael [Fri, 14 Jun 2013 08:21:43 +0000 (09:21 +0100)]
Use wl_display_get_serial when creating popups.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Doug Newgard [Mon, 24 Jun 2013 02:52:57 +0000 (11:52 +0900)]
efl: fix systemd spelling.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Rajeev Ranjan [Mon, 24 Jun 2013 02:50:08 +0000 (11:50 +0900)]
evas: add mutex locking before signalling for the condition variable and releasing afterwards.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Cedric Bail [Mon, 24 Jun 2013 02:41:32 +0000 (11:41 +0900)]
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.
Carsten Haitzler (Rasterman) [Mon, 24 Jun 2013 03:00:30 +0000 (12:00 +0900)]
efreet: don't try change permissions on runtime dir we don't own.
Christopher [Sun, 23 Jun 2013 11:53:53 +0000 (12:53 +0100)]
Fix compiler warning about uninitialized variables
Signed-off-by: Christopher <devilhorns@comcast.net>
Carsten Haitzler (Rasterman) [Sat, 22 Jun 2013 11:15:44 +0000 (20:15 +0900)]
eldbus: error message iters should be initted as readonly.
Thiep Ha [Sat, 22 Jun 2013 03:29:28 +0000 (12:29 +0900)]
[Edje_Entry] Move cursor to correct position when selection handlers are pressed.
+ Main cursor should be moved to selection start or selection end
cursor's position when selection handlers are pressed.
+ Fix my mistake in signal emit for end handler mouse down event.
Conflicts:
ChangeLog
NEWS
Carsten Haitzler (Rasterman) [Sat, 22 Jun 2013 01:58:03 +0000 (10:58 +0900)]
evas: remove segv added by cedric fastpath optimization
Sebastian Dransfeld [Fri, 21 Jun 2013 10:55:51 +0000 (12:55 +0200)]
efreet: Use end cb of thread to run cb
Mike Blumenkrantz [Fri, 21 Jun 2013 08:50:03 +0000 (09:50 +0100)]
efreet menu cbs don't return a value and take const data params
Sebastian Dransfeld [Fri, 21 Jun 2013 08:39:40 +0000 (10:39 +0200)]
efreet: Add data to async request
Sebastian Dransfeld [Fri, 21 Jun 2013 08:32:18 +0000 (10:32 +0200)]
efreetd: log to file
Since it is started as a service
Sebastian Dransfeld [Fri, 21 Jun 2013 08:00:20 +0000 (10:00 +0200)]
efreet: Create cache dir in efreet_cache_init
efreetd used efreet functions before efreet init which fails.
Sebastian Dransfeld [Thu, 20 Jun 2013 11:53:54 +0000 (13:53 +0200)]
efreet: Low priority for cache rebuild
Sebastian Dransfeld [Thu, 20 Jun 2013 11:28:18 +0000 (13:28 +0200)]
efl: formatting
Sebastian Dransfeld [Thu, 20 Jun 2013 11:27:20 +0000 (13:27 +0200)]
efreet: Create a temp XDG_RUNTIME_DIR if not set
Using /tmp as XDG_RUNTIME_DIR is pointless if we want it to be mode 0700
Sebastian Dransfeld [Thu, 20 Jun 2013 11:08:36 +0000 (13:08 +0200)]
efl: formatting
Sebastian Dransfeld [Thu, 20 Jun 2013 10:53:29 +0000 (12:53 +0200)]
evas: Keep sane name for public header
Evas_Common.h should be used for the public header, and rather rename
evas_common.h internal header to another name.
Sa:
Evas_Common_Header.h -> Evas_Common.h
evas_common.h -> evas_common_private.h
Shouldn't have both Evas_Common.h and evas_common.h because of case
insensitive filesystems.
Sebastian Dransfeld [Thu, 20 Jun 2013 09:57:23 +0000 (11:57 +0200)]
efreet: @since
Sebastian Dransfeld [Thu, 20 Jun 2013 09:56:15 +0000 (11:56 +0200)]
efreet: Add async menu parsing
Sebastian Dransfeld [Thu, 20 Jun 2013 09:55:38 +0000 (11:55 +0200)]
efreet: Make _path_to_file_id threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 09:52:43 +0000 (11:52 +0200)]
efreet: Make desktop cache threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 09:29:28 +0000 (11:29 +0200)]
efreet: Make efreet_desktop threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 09:14:25 +0000 (11:14 +0200)]
efreet: Formatting
Sebastian Dransfeld [Thu, 20 Jun 2013 09:12:54 +0000 (11:12 +0200)]
efreet: Release log domain on evil error
Sebastian Dransfeld [Thu, 20 Jun 2013 08:58:53 +0000 (10:58 +0200)]
efreet: doc fixes
Sebastian Dransfeld [Thu, 20 Jun 2013 08:26:11 +0000 (10:26 +0200)]
efreet: Reorganize file
Sebastian Dransfeld [Thu, 20 Jun 2013 08:00:19 +0000 (10:00 +0200)]
efreet: Init variables in init
Make functions threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 07:58:41 +0000 (09:58 +0200)]
efreet: Init efreet_menu_prefix in init
Makes efreet_menu_prefix access threadsafe
Sebastian Dransfeld [Wed, 19 Jun 2013 12:45:13 +0000 (14:45 +0200)]
efreet: Remove static variable
Sebastian Dransfeld [Wed, 19 Jun 2013 12:21:34 +0000 (14:21 +0200)]
efreet: Remove static variable
Sebastian Dransfeld [Wed, 19 Jun 2013 11:46:56 +0000 (13:46 +0200)]
efreet: Improve eina hash usage
eina_hash_del + eina_hash_add = eina_hash_set
Jean-Philippe Andre [Thu, 20 Jun 2013 05:38:42 +0000 (14:38 +0900)]
cserve2: fix minor memleaks with fonts
Leaks happen when fonts fail to load
Jean-Philippe Andre [Wed, 19 Jun 2013 06:48:30 +0000 (15:48 +0900)]
cserve2: add more error debug for font loading
Jean-Philippe Andre [Thu, 20 Jun 2013 05:11:32 +0000 (14:11 +0900)]
cserve2: Handle interrupts when failing to read from server
If we don't do that, the client will end up in an infinite loop
from where it just can't exit, if the server is dead/stuck.
Jean-Philippe Andre [Tue, 18 Jun 2013 11:50:17 +0000 (20:50 +0900)]
cserve2: prevent infinite loop during connection
In case of EACCESS, there is no point trying forever
In case of EINTR (interrupt), we can consider for now
that any signal will prevent the use of cserve2.
If we don't do that, Ctrl+C simply won't work :)
Cedric Bail [Thu, 20 Jun 2013 08:30:21 +0000 (17:30 +0900)]
evas: fix texture allocation bugs.
Cedric Bail [Wed, 19 Jun 2013 06:18:41 +0000 (15:18 +0900)]
evas: fast path for map with same color on all corner.
Mike Blumenkrantz [Thu, 20 Jun 2013 07:13:25 +0000 (08:13 +0100)]
more descriptive error message in eldbus when property fetching fails
Chris Michael [Thu, 20 Jun 2013 03:33:41 +0000 (04:33 +0100)]
Dont need the ret variable unless we are actually going to use it.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Mike Blumenkrantz [Wed, 19 Jun 2013 10:18:17 +0000 (11:18 +0100)]
inform users when eldbus-codegen is cowardly refusing to generate code
Mike Blumenkrantz [Wed, 19 Jun 2013 10:09:01 +0000 (11:09 +0100)]
use sizeof for eldbus-codegen internal define lengths
Mike Blumenkrantz [Wed, 19 Jun 2013 10:08:10 +0000 (11:08 +0100)]
s/LENGHT/LENGTH
Cedric Bail [Tue, 18 Jun 2013 04:32:00 +0000 (13:32 +0900)]
evas: fix clang compilation.
Cedric Bail [Tue, 18 Jun 2013 02:43:16 +0000 (11:43 +0900)]
evas: reduce memory footprint taken by Evas_Object_Table callbacks setup.
This reduce by 50K elemines memory use on 32bits system.
Cedric Bail [Tue, 18 Jun 2013 02:34:31 +0000 (11:34 +0900)]
evas: reduce memory usage by using Eo array of callbacks.
Reduce usage by 100K on my test on Elementary test, likely better with 64bits system.
Chris Michael [Mon, 17 Jun 2013 22:37:18 +0000 (23:37 +0100)]
Ooops, missing on "get_pixles" --> "pixels_get" conversion
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Mon, 17 Jun 2013 22:33:49 +0000 (23:33 +0100)]
Fix render engine function "get_pixels" to be "pixels_get" (EFL
prefers verbs to be last for function declarations).
Also, remove unnecessary if block which was checking for the
Render_Engine pixels_get function as it was previously checked for in
the 'if' above.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Mon, 17 Jun 2013 22:32:20 +0000 (23:32 +0100)]
Formatting fixes
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Mon, 17 Jun 2013 22:20:58 +0000 (23:20 +0100)]
Remove 'hack' which worked around a Weson bug wrt pointer setting
during dnd operations (by setting surface_user_data to buffer)
NB: This bug was fixed in Weston, so this workaround is not needed
anymore
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Mon, 17 Jun 2013 22:20:32 +0000 (23:20 +0100)]
Don't crash when window is null (for mouse_down comparison)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Mon, 17 Jun 2013 22:19:41 +0000 (23:19 +0100)]
Debug--
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Mon, 17 Jun 2013 06:07:22 +0000 (07:07 +0100)]
Fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Jérémy Zurcher [Mon, 17 Jun 2013 22:08:58 +0000 (00:08 +0200)]
eo_class_new: reorder last operations in class creation
Jérémy Zurcher [Mon, 17 Jun 2013 21:48:22 +0000 (23:48 +0200)]
eo_class_new: pack ext data offsets at the end of _Eo_Class