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
Jérémy Zurcher [Mon, 17 Jun 2013 21:47:15 +0000 (23:47 +0200)]
eo_class_new: speed up mixins offset table creation
Jérémy Zurcher [Mon, 17 Jun 2013 21:41:45 +0000 (23:41 +0200)]
eo_class_new: check parent and desc before doing anything
Jérémy Zurcher [Mon, 17 Jun 2013 21:41:02 +0000 (23:41 +0200)]
eo_class_new: pack mro at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:38:04 +0000 (23:38 +0200)]
eo_class_new: remove duplicates in extensions as well as in mro
Jérémy Zurcher [Mon, 17 Jun 2013 21:35:48 +0000 (23:35 +0200)]
eo_class_new: pack extensions at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:33:19 +0000 (23:33 +0200)]
eo_class_new: add and use _eo_class_sz
Jérémy Zurcher [Mon, 17 Jun 2013 21:32:50 +0000 (23:32 +0200)]
eo_class_new: replace class field extn_data_size with obj_size
Sung W. Park [Mon, 17 Jun 2013 08:53:33 +0000 (17:53 +0900)]
Evas: add partial rendering support for evasgl direct rendering
Evas_GL Direct rendering is an optimization path that renders
directly to the window if conditions are met. Because evas gl
backend used to re-render the entire screen, evas_gl direct
rendering didin't have to concern with partial region rendering.
Now that partial rendering/swapping has been applied to evas gl-
backend, evas_gl direct rendering also had to take into account
clip regions. in order to properly apply it, some adjustments
were made to the engine functions and etc.
Sung W. Park [Mon, 17 Jun 2013 09:22:15 +0000 (18:22 +0900)]
Revert "Saving evasgl direct partial rendering fix temporarily"
This reverts commit
e6359132debfedeceaabd3df11d9ce2d3bbe2e47.
Sung W. Park [Mon, 17 Jun 2013 09:22:04 +0000 (18:22 +0900)]
Revert "Touch for evas gl direct rendering partial rendering/swap fix."
This reverts commit
382ffbb4f522624f572dd41e537b07332bd154d4.
Sung W. Park [Mon, 17 Jun 2013 09:21:55 +0000 (18:21 +0900)]
Revert "Added Wayland fix for evas_gl direct fix"
This reverts commit
e1c238b1be5f942b59ab7b3a575a80a9f22109da.
Sung W. Park [Mon, 17 Jun 2013 07:20:47 +0000 (16:20 +0900)]
Added Wayland fix for evas_gl direct fix
Sung W. Park [Tue, 11 Jun 2013 04:53:44 +0000 (13:53 +0900)]
Touch for evas gl direct rendering partial rendering/swap fix.
Sung W. Park [Thu, 6 Jun 2013 09:20:17 +0000 (18:20 +0900)]
Saving evasgl direct partial rendering fix temporarily
Cedric Bail [Mon, 17 Jun 2013 07:55:22 +0000 (16:55 +0900)]
edje: reduce memory footprint of edje callbacks.
Divide by two the amount of memory used by callbacks in elementary_test.
ChunEon Park [Sun, 16 Jun 2013 13:13:50 +0000 (22:13 +0900)]
edje - fix typo
Daniel Juyung Seo [Sun, 16 Jun 2013 13:06:33 +0000 (22:06 +0900)]
Evas_Common_Header.h: added textgrid to primitive evas object list.
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 12:32:15 +0000 (21:32 +0900)]
evas: optimization - handle if c1 == c2 for map interplated lines
Chris Michael [Fri, 14 Jun 2013 11:30:17 +0000 (12:30 +0100)]
Port wayland_egl changes for swapbufferswithdamage to gl_x11
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Fri, 14 Jun 2013 11:25:24 +0000 (12:25 +0100)]
eglSwapBuffersWithDamage actually returns an EGLBoolean (unsigned
int), so fix.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 10:55:53 +0000 (19:55 +0900)]
evas: fix possible seg with font glyphs from font instance in glyph array with no refcounting.
Chris Michael [Fri, 14 Jun 2013 10:41:55 +0000 (11:41 +0100)]
Formatting fix for 80 columns...Spankies !! ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Stefan Schmidt [Thu, 13 Jun 2013 13:28:07 +0000 (14:28 +0100)]
edje-codegen: Now really fix the mem leak without running into a double free.
The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.
Stefan Schmidt [Fri, 14 Jun 2013 08:56:55 +0000 (09:56 +0100)]
eina/mp/one_big: Add a comment to clarify why we do not memset the complete memory.
To avoid people getting confused over this code, like myself, add a comment
to clarify that only the elements need to be set to zero while the payload
does not matter here.
Jean-Philippe Andre [Wed, 12 Jun 2013 06:04:01 +0000 (15:04 +0900)]
evas/cserve2: remove garbage shm files during server init
If server crashes or is forcefully killed, it will not
properly cleanup its shm files. So, some memory will be leaked pretty
badly.
Jean-Philippe Andre [Fri, 14 Jun 2013 05:52:57 +0000 (14:52 +0900)]
evas/cserve2: fix crash when shutting down cserve2
If a slave is still alive during shutdown, then it will be killed
and the dead callback should be called. This would then trigger
a request failed callback on invalid data.
But there's no point in calling the dead_cb since we're shutting
down already.
Jean-Philippe Andre [Fri, 14 Jun 2013 05:38:21 +0000 (14:38 +0900)]
evas/cserve2: (shutdown) fix double free issue
glibc double free happens when shutting down cserve, while
requests are being processed. this is because the entry is
being deleted from the hash but the cancel request fails
(so it should be deleted again from the hash)
Another patch going to fix the double free.
Jean-Philippe Andre [Wed, 12 Jun 2013 10:31:37 +0000 (19:31 +0900)]
evas/cserve2: Handle SIGINT properly
Jean-Philippe Andre [Wed, 12 Jun 2013 06:34:48 +0000 (15:34 +0900)]
evas/cserve2: catch more signals and exit nicely
Also, ignore USR1 and USR2.
Jean-Philippe Andre [Wed, 12 Jun 2013 04:45:17 +0000 (13:45 +0900)]
evas/cserve2: Add UID to shm file path
+ Improve debug for corner case (never happened)
Jean-Philippe Andre [Fri, 31 May 2013 04:59:04 +0000 (13:59 +0900)]
evas/cserve2: Check for errors in evas sw engine
Jean-Philippe Andre [Tue, 11 Jun 2013 03:55:04 +0000 (12:55 +0900)]
evas/cserve2: Close scaled images after drawing
Jean-Philippe Andre [Wed, 5 Jun 2013 07:11:13 +0000 (16:11 +0900)]
evas/cserve2: Fix crash in expedite test 23
Test 23: load lots of scaled images and draw them
Problem: cs2 fails to load more images at some point. (root cause to be fixed!)
After that, client expects some data, but there is none, so it segfaults.
Cedric Bail [Fri, 14 Jun 2013 06:51:18 +0000 (15:51 +0900)]
evas: preliminary work on texture destruction for async preload of texture.
Cedric Bail [Thu, 13 Jun 2013 06:50:01 +0000 (15:50 +0900)]
evas: change cache API to forward Eo object.
Cedric Bail [Wed, 12 Jun 2013 10:37:44 +0000 (19:37 +0900)]
evas: cleanup GL texture allocation with some code refactoring.
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 06:34:51 +0000 (15:34 +0900)]
evas: wayland_egl - mirror changes for qcom tile begin/end in wayland egl.