Chris Michael [Fri, 5 Jul 2013 09:35:20 +0000 (10:35 +0100)]
Add interface function pointers for pixmap_get.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 5 Jul 2013 09:34:44 +0000 (10:34 +0100)]
Add typedef for Ecore_X_Pixmap if Ecore_X header is not included.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 5 Jul 2013 09:33:08 +0000 (10:33 +0100)]
Add API function declarations for ecore_evas (software and gl) that
can "render to pixmap".
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Cedric Bail [Fri, 5 Jul 2013 06:39:44 +0000 (15:39 +0900)]
evas: make it possible to disable preload for buggy driver.
Cedric Bail [Fri, 5 Jul 2013 05:59:18 +0000 (14:59 +0900)]
eina: revert that simplification as compiler are now to dumb to handle it.
ChunEon Park [Fri, 5 Jul 2013 03:53:09 +0000 (12:53 +0900)]
evas/render - draw the map in case that the source clip is invalid.
Carsten Haitzler (Rasterman) [Fri, 5 Jul 2013 02:10:05 +0000 (11:10 +0900)]
update po's
Cedric Bail [Fri, 5 Jul 2013 02:34:34 +0000 (11:34 +0900)]
evas: fix gif loader accessing uninitialized value.
ChunEon Park [Fri, 5 Jul 2013 02:14:47 +0000 (11:14 +0900)]
evas/render - support proxy source clip for the mapped object.
ChunEon Park [Fri, 5 Jul 2013 02:09:03 +0000 (11:09 +0900)]
evas/render - refactoring. split off a bunch of internal logic to a seprate function.
Cedric Bail [Fri, 5 Jul 2013 01:18:49 +0000 (10:18 +0900)]
edje: simplify the logic and make code easier to read.
Cedric Bail [Fri, 5 Jul 2013 01:18:19 +0000 (10:18 +0900)]
eo: reporting error here just make the caller code more complex for nothing valuable.
Eduardo Lima (Etrunko) [Thu, 4 Jul 2013 20:23:52 +0000 (17:23 -0300)]
Updated Eldbus connect_address example
See description on the header of the source file
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Tom Hacohen [Thu, 4 Jul 2013 09:02:48 +0000 (10:02 +0100)]
Evas textblock: Fixed issue with *textblock_cursor_range_formats_get.
In some cases we could return extra formats that are outside of the
range. It's actually not completely fixed yet.
Thanks to clang-analyzer for detecting this.
Jean-Philippe Andre [Wed, 3 Jul 2013 09:18:00 +0000 (18:18 +0900)]
evas/cserve2: no cache for large images or non-smooth
The concept is taken from scalecache. I am not sure of the
performance impact.
Jean-Philippe Andre [Wed, 3 Jul 2013 07:56:47 +0000 (16:56 +0900)]
evas/cserve2: simplify more
Remove Image_Load_Opts and use Evas_Image_Load_Opts for cs2 master to
slave communication.
2 things to note:
- The struct size is bigger (but at the same time we removed a memcpy)
- The scale_load field is not passed to the slave
Jean-Philippe Andre [Wed, 3 Jul 2013 06:49:59 +0000 (15:49 +0900)]
evas/cserve2: merge SETOPTS into OPEN
When opening an image, OPEN and SETOPTS were always sent
consecutively. Merging these two messages may improve the
performance a bit (not measured), but also simplify the
whole thing.
Note: cserve2 debug tools have not been fixed yet.
Jean-Philippe Andre [Wed, 3 Jul 2013 04:32:39 +0000 (13:32 +0900)]
evas/cserve2: use Evas_Image_Load_Opts directly
Image_Data contained a similar struct to the standard Evas struct,
let's not duplicate it uselessly.
Cedric Bail [Thu, 4 Jul 2013 03:37:51 +0000 (12:37 +0900)]
eina: improve Eina_Tiler to be in par with Evas_Tilebuf.
Cedric Bail [Wed, 3 Jul 2013 03:53:25 +0000 (12:53 +0900)]
eo: another small micro optimization giving a 10% speed increase.
Carsten Haitzler (Rasterman) [Thu, 4 Jul 2013 01:56:43 +0000 (10:56 +0900)]
eldbus - better fix for dbus_conn becoming null in dispatch
Carsten Haitzler (Rasterman) [Wed, 3 Jul 2013 23:41:45 +0000 (08:41 +0900)]
eldbus - only unref client conns that are not null after dispatch
Carsten Haitzler (Rasterman) [Wed, 3 Jul 2013 23:40:35 +0000 (08:40 +0900)]
ethumbd - set default timeout for ethumbd to 2 seconds
Chris Michael [Wed, 3 Jul 2013 13:30:40 +0000 (14:30 +0100)]
Revert "EFL formatting and 80 column wrap"
Revert this because I have better things to do than argue about commit
messages.
This reverts commit
ee5483bee137731db67366232537741ce5780f71.
Chris Michael [Wed, 3 Jul 2013 12:54:35 +0000 (13:54 +0100)]
EFL formatting and 80 column wrap
NB: Nothing functional (yet)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Shinwoo Kim [Wed, 3 Jul 2013 04:33:53 +0000 (13:33 +0900)]
add missed change log
Shinwoo Kim [Wed, 3 Jul 2013 04:13:32 +0000 (13:13 +0900)]
[ecore_x] add accessibility support - enable, disable
Cedric Bail [Wed, 3 Jul 2013 03:38:04 +0000 (12:38 +0900)]
evas: fix bugin Enlightenment triggering a path where data are loaded, but flags is not set.
This fix T187.
Carsten Haitzler (Rasterman) [Wed, 3 Jul 2013 03:11:18 +0000 (12:11 +0900)]
evas gl: fix origin of swapbufferswithdamage to be BOTTOM-LEFT based...
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>