Jean-Philippe Andre [Wed, 3 Jul 2013 01:09:31 +0000 (10:09 +0900)]
evas: fix build when png12 is not around.
maxerba [Tue, 2 Jul 2013 16:52:06 +0000 (18:52 +0200)]
updating serbian translation
Jean-Philippe Andre [Tue, 2 Jul 2013 09:54:57 +0000 (18:54 +0900)]
evas: fix build
Build may fail when using parallel compilation (-j)
Add EET as a dependency of cserve slave
Chris Michael [Tue, 2 Jul 2013 08:54:30 +0000 (09:54 +0100)]
Don't try to print out how many bytes we write to an eet file Unless
we actually write something.
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 2 Jul 2013 08:52:19 +0000 (09:52 +0100)]
Check for valid out_file before trying to write eet data to it.
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Tue, 2 Jul 2013 08:42:35 +0000 (09:42 +0100)]
emotion: Another check for engine being NULL.
Missed this second occurance in
8deb75463bdb7f8aaa45bebdd3d1570655b66043.
Now also fixed this potential null pointer dereference when the engine
list is empty.
Chris Michael [Tue, 2 Jul 2013 08:42:28 +0000 (09:42 +0100)]
Check for valid output_filename before trying to use it.
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Tue, 2 Jul 2013 08:25:56 +0000 (17:25 +0900)]
in drm_shutdown set tried to false...
Daniel Juyung Seo [Tue, 2 Jul 2013 06:38:16 +0000 (15:38 +0900)]
evas_object_smart.c: removed unnecessary code.
Daniel Juyung Seo [Tue, 2 Jul 2013 04:27:51 +0000 (13:27 +0900)]
edje_text.c: proper formatting.
inspired by Daniel Willmann's commit
b6aaef651b2ade983a5ecac22bce0c57273d1f9a
Jean-Philippe Andre [Tue, 2 Jul 2013 07:15:02 +0000 (16:15 +0900)]
evas/cserve2: fix usage of Evas_Image_Load_Opts
Since the load options are not copied but the pointer is simply
stored by the module, we need to move the struct higher in the
stack.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Tue, 2 Jul 2013 06:33:32 +0000 (15:33 +0900)]
evas/loaders: use Eina_Stringshare where needed.
Evas loaders' open() function expect the key to be a stringshare,
so declare it as such and keep using ref() without add().
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Mon, 1 Jul 2013 08:41:13 +0000 (17:41 +0900)]
evas/cserve2: use Eina_Stringshare.
We must close the image after loading the data.
Also, Evas loaders expect stringshares.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Tue, 2 Jul 2013 06:18:19 +0000 (15:18 +0900)]
evas: fix compilation warning in evas_font_draw.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Mon, 1 Jul 2013 01:55:46 +0000 (10:55 +0900)]
evas/cserve2: return in case of select timeout.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Tue, 2 Jul 2013 05:29:47 +0000 (14:29 +0900)]
evas/cserve2: add some more error debug (client side).
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Fri, 28 Jun 2013 08:02:07 +0000 (17:02 +0900)]
evas/loaders: init/shutdown EET from loader module.
cserve2 slave requires Eet to be initialized before use :)
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Thu, 27 Jun 2013 07:44:58 +0000 (16:44 +0900)]
evas/loaders: add log domain for ICO loader.
This is to remove the dependency of the ico loader on Evas itself.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Mon, 1 Jul 2013 08:52:06 +0000 (17:52 +0900)]
evas/cserve2: remove dead code (old loaders API).
Remove: cserve-specific loaders and deprecated code.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Mon, 1 Jul 2013 08:03:31 +0000 (17:03 +0900)]
evas/cserve2: fix crash with YUV tests in expedite.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Thu, 27 Jun 2013 07:18:40 +0000 (16:18 +0900)]
evas/cserve2: use Evas loaders from slave
Use common loaders with evas, and ignore specific modules.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Tue, 2 Jul 2013 02:00:44 +0000 (11:00 +0900)]
evas/modules: Add preprocessor ifs
We'll want to distinguish full builds for evas and partial
builds for cserve2 slaves.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Thu, 27 Jun 2013 06:31:20 +0000 (15:31 +0900)]
evas: build evas_module within cserve slave
Objective: use common loaders from cserve2
Ideally evas_module should be a static library but it would
then require static/dynamic linking to too many modules unused
by cserve2 (eg. engines & savers)
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 26 Jun 2013 08:47:41 +0000 (17:47 +0900)]
evas/cserve2: avoid useless SETOPT messages.
Most of the time, the SETOPT message is sent only
to carry 0 data. Let's add a flag to the OPEN message to
avoid useless socket calls.
Server-side: implement with message faking.
Also, fix image ID logic on client side:
- alloc data entry asap,
- assign image_id during call to OPEN
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 26 Jun 2013 08:19:49 +0000 (17:19 +0900)]
evas/cserve2: Simplify debug logs (server side).
Remove newlines.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 26 Jun 2013 07:31:38 +0000 (16:31 +0900)]
evas/cserve2: Set default LRU size to 4Mb or env-based
The LRU should not be limited to 0 byte otherwise all scaled
images will be dropped and reloaded constantly, killing the
performance.
The size is inspired from the scalecache's size of 4Mb.
Variable: EVAS_CSERVE2_SIZE (number in Mb)
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 26 Jun 2013 06:11:06 +0000 (15:11 +0900)]
evas/cserve2: pass loader data during open.
Note: this path seems never to be used.
Loader options are set by the file loader or after open.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 26 Jun 2013 02:50:07 +0000 (11:50 +0900)]
evas/cserve2: write() can return other errors.
In case of error, return from the function and don't decrement
the send variable.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 26 Jun 2013 02:23:35 +0000 (11:23 +0900)]
evas/cserve2: minor fixes (error paths).
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Jean-Philippe Andre [Wed, 19 Jun 2013 06:13:25 +0000 (15:13 +0900)]
evas/cserve2: use null-terminated strings everywhere.
Some hashtable lookups failed because the keys were added
either with eina_stringshare_add() or e_s_add_lenth() but
looked for with e_s_add_length() only.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
ChunEon Park [Tue, 2 Jul 2013 06:47:13 +0000 (15:47 +0900)]
evas - updated missed CNN
ChunEon Park [Tue, 2 Jul 2013 06:38:42 +0000 (15:38 +0900)]
evas/proxy rendering - optimize proxy rendering.
re-render proxies if sources are changed. this patch increases the proxy rendering up to 2x.
ChunEon Park [Tue, 2 Jul 2013 06:28:56 +0000 (15:28 +0900)]
evas/render - refactoring about checking smart member changed.
move those code to the evas_object_smart.
Cedric Bail [Tue, 2 Jul 2013 05:50:02 +0000 (14:50 +0900)]
efl: cleanup NEWS.
Cedric Bail [Tue, 2 Jul 2013 04:45:30 +0000 (13:45 +0900)]
eet: force thread to always run during eet_cache_concurrency test.
Daniel Willmann [Mon, 1 Jul 2013 15:04:27 +0000 (16:04 +0100)]
edje_text: Clarify that the block and else are independent
Sometimes whitespace helps
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Mon, 1 Jul 2013 13:19:05 +0000 (14:19 +0100)]
Fixed ChaneLog formatting.
Tom Hacohen [Mon, 1 Jul 2013 13:11:27 +0000 (14:11 +0100)]
Evas textblock: Fixed format parsing to not be confused by single-quotes.
Before this commit, having a single quote anywhere in the format would mess
up all of the format parsing.
Thanks to MinSu Seo for reporting.
Cedric Bail [Mon, 1 Jul 2013 09:35:55 +0000 (18:35 +0900)]
eo: little micro optimization.
Cedric Bail [Mon, 1 Jul 2013 08:09:02 +0000 (17:09 +0900)]
eo: a little more inlining, give me a 10% speed improvement.
Daniel Willmann [Mon, 1 Jul 2013 08:18:25 +0000 (09:18 +0100)]
Revert "configure: Link eina to librt. This is needed for shm_* calls"
This reverts commit
6445fea318f29fd6b1de0bc6fbe1b66bcc5673ba.
Jenkins seems lost without it, but this is wrong on some platforms. Need
to solve it another way.
Jiyoun Park [Sat, 29 Jun 2013 06:00:43 +0000 (15:00 +0900)]
* Evas: Fix jpeg loader cannot deal with exif information correctly
Daniel Willmann [Thu, 27 Jun 2013 16:53:48 +0000 (17:53 +0100)]
edje_test: Test geometry of a more complex layout
It seems someone thought it was fun to have rel2.offset behave
differently than rel1.offset...
A rel2.offset of 0 actually means the size is increased by one pixel.
Acocunt for that in the tests.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Fri, 28 Jun 2013 10:04:21 +0000 (11:04 +0100)]
edje_test: Make the variable returned in test_layout_get static
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Chris Michael [Fri, 28 Jun 2013 13:23:57 +0000 (14:23 +0100)]
Fix klockwork possible memleak report:
If we get an error trying to "make current" an allocated surface, then
we should free that allocated surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 13:14:44 +0000 (14:14 +0100)]
Fix klockwork memleak: We should free 'texts' that we malloc'd earlier
if we are going to error out.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 13:13:09 +0000 (14:13 +0100)]
We should free glyph_out also (as that gets malloc'd too) on error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 13:02:00 +0000 (14:02 +0100)]
Fix klockwork memleak: If we allocate space for a Font Glyph (through
evas_common_font_int_cache_glyph_get), then we should free that
allocation when we have an error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 12:57:56 +0000 (13:57 +0100)]
Fix klockwork memleak: If we allocate a colormap above, then we need
to free it on error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 12:48:21 +0000 (13:48 +0100)]
Fix klockwork error: Null pointer may be dereferenced
Check for valid out_file before trying to use it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 12:39:45 +0000 (13:39 +0100)]
Fix memleak reported by klockwork:
If a jpeg image is rotated and we have allocated space for ptr_rotate,
then we should free it Always ... Not Only if the degrees are
180...because we allocate it always
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 28 Jun 2013 08:25:30 +0000 (17:25 +0900)]
evas: efl 1.8 dev bug only... update add bug in image objects throws away some updates.
Carsten Haitzler (Rasterman) [Fri, 28 Jun 2013 08:01:42 +0000 (17:01 +0900)]
update po's
Cedric Bail [Fri, 28 Jun 2013 06:28:30 +0000 (15:28 +0900)]
eo: add a new macro to make the code easier to read and use it.
Cedric Bail [Thu, 27 Jun 2013 08:58:49 +0000 (17:58 +0900)]
eo: 30% speed improvement in message propagation.
Cedric Bail [Thu, 27 Jun 2013 06:51:07 +0000 (15:51 +0900)]
eo: eo is absolutely necessary by now, can't be disabled any more.
Cedric Bail [Thu, 27 Jun 2013 06:27:30 +0000 (15:27 +0900)]
evas: prevent people from including header directly.
Eduardo Lima (Etrunko) [Thu, 27 Jun 2013 20:31:22 +0000 (17:31 -0300)]
eldbus: Missing dbus_connection_unref() in error path
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Thu, 27 Jun 2013 20:24:46 +0000 (17:24 -0300)]
eldbus: Call dbus_bus_register() for TYPE_ADDRESS connections
From D-Bus documentation:
http://dbus.freedesktop.org/doc/api/html/group__DBusBus.html
dbus_bus_register():
If you open a bus connection with dbus_connection_open() or
dbus_connection_open_private() you will have to dbus_bus_register()
yourself, or make the appropriate registration method calls yourself.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Thu, 27 Jun 2013 19:38:53 +0000 (16:38 -0300)]
eldbus: Add proxy call to org.freedesktop.DBus.Hello
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Daniel Willmann [Thu, 27 Jun 2013 16:51:30 +0000 (17:51 +0100)]
edje_test: Test geometry and color of edje part
Just a simple test that uses the existing test_layout
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Thu, 27 Jun 2013 16:49:56 +0000 (17:49 +0100)]
edje_test: Make test_layout_get() configurable
This will help when we want to test different edj files
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Thu, 27 Jun 2013 13:27:36 +0000 (14:27 +0100)]
eina_test_fp: Improve speed of eina_fp test
Test less values in between, but still have a decent combination of
large/small values to test.
Fixes -WTasn
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
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.