Chris Michael
6ea61e3e56
Fix formating ... Wow, how did this get sooo screwed ? :(
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:16:09 +01:00
Chris Michael
5f71c0afb1
Begone Vile Formatting !!!
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:01:38 +01:00
Chris Michael
6900d83095
Remove blank line
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 09:53:04 +01:00
Chris Michael
9103b7e2e3
Check the return of ecore_x_init and error out if that fails.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 09:21:33 +01:00
Jean-Philippe Andre
ee037d3586
evas/cserve2: Add infix to shm filenames
...
Minor change
So, we can distinguish between image, font and index shm files.
2013-07-08 17:16:04 +09:00
Carsten Haitzler
9e459ef9d6
fix new ecore_x_pixmap typedef clashes in ecore_x
2013-07-08 17:15:11 +09:00
Mike Blumenkrantz
b8e16b8f4a
+eina_tiler_area_size_get
...
also fix docs for eina_tiler_area_size_set
2013-07-08 09:08:04 +01:00
Chris Michael
2a1b993162
Fix "Allocation size mismatch" reported by Coverity (short version: we
...
declared our 'roots' variable as Ecore_X_Window, but were allocating
as 'Window').
buffer_alloc: "malloc(num * 8UL)" allocates memory.
CID 1039601: Allocation size mismatch (SIZECHECK)
5. incorrect_multiplication: Allocating a multiple of 8 bytes to
pointer of type Ecore_X_Window, which needs 4 bytes.
NB: Fixes Coverity CID1039601
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 09:00:45 +01:00
Chris Michael
9fb63c761f
Fix "Allocation too small" errors reported by Coverity. (Basically, if
...
we are going to allocate space for a variable of a certain type, then
lets make sure we Declare that variable as the proper type).
NB: Fixes Coverity CIDs 1039602, 1039603, 1039604
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:52:50 +01:00
Chris Michael
6011703bf5
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:50:45 +01:00
Chris Michael
461e406b91
Fix memleak reported by Coverity.
...
NB: Fixes Coverity CID1039652
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:43:24 +01:00
Chris Michael
1ea718c283
Fix memleak reported by Coverity.
...
NB: Fixes Coverity CID1039654
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:38:54 +01:00
Chris Michael
eabc1482f9
Fix memleak reported by Coverity.
...
NB: Fixes Coverity CID1039657
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:35:33 +01:00
Chris Michael
4e103fd858
Fix mem leak reported by Coverity (don't just free fdata if size > 0).
...
NB: Fixes Coverity CID1039665
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:30:26 +01:00
Chris Michael
72347e539b
Fix copy/paste error in gl_common_context_push. (I beleive that texm
...
texture was wanted here, not tex texture).
MB: Fixes Coverity 1039670
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:26:08 +01:00
Chris Michael
ff60a233d2
Fix unintended operator precedence... I do believe != 4 is what was
...
wanted here...Or (!(ob->map->cur.map->count == 4)) ... but not much
difference either way ;)
NB: Fixes Coverity CID1039673
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:22:23 +01:00
Chris Michael
8280ef3730
Remove the grab from any lists Before we free it.
...
NB: Fixes Coverity CID 1039888
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:08:10 +01:00
Jean-Philippe Andre
c6db8ba782
evas/cserve2: Implement fast(er) scaling of images
...
In its current model, cserve2 will reopen, reload and scale an
image whenever a new scaled version is requested by the client.
Instead, we can load the original image when too many scaled
versions are requested, and place the original in the LRU.
2013-07-08 16:06:08 +09:00
Jean-Philippe Andre
cf61319ae1
evas/cserve2: Minor fixes from Coverity check
...
- CID 1042303
- CID 1039912
- CID 1039285
2013-07-08 16:06:08 +09:00
Jean-Philippe Andre
8b257d0238
evas/cserve2: fix error parameter usage
...
The error pointer could be NULL but still dereferenced in case of
failure. Also, it wasn't reset in case of success.
2013-07-08 16:06:08 +09:00
Chris Michael
bb30cd58ce
We cannot use dname in the error message if we have already freed it
...
above, so fix. On a mkpath failure, print out the message, Then free
dname. Be sure to also free dname if we do not error.
NB: Fixes Coverity CID1039893
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:01:58 +01:00
Chris Michael
b0fa8b6563
Remove timer and animator from the list Before freeing the variables.
...
NB: Fixes Coverity CID1039906 and CID1039906
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:50:35 +01:00
Chris Michael
10897713ea
Remove dead code. In the error goto, im2 cannot exist here else we
...
would not have gotten to this error handler if it did (so no point in
checking for it and calling functions using it).
NB: Fixes Coverity CID1039926
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:39:44 +01:00
Chris Michael
9d60d6ccff
Check return value of lseek call for errors.
...
NB: Fixes Coverity CID 1040029
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:31:50 +01:00
Chris Michael
73a68f2f0d
Add code for gl_pixmap_new and pixmap_get functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:21:51 +01:00
Chris Michael
583c81bd96
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:21:51 +01:00
Chris Michael
babc9c64b7
Add gl functions for pixmap_new and pixmap_get variation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:21:51 +01:00
Carsten Haitzler
d15d86e26f
eina: add eina_file_map_populate()
2013-07-06 22:01:23 +09:00
Carsten Haitzler
28c2bd1918
evas - gif: refactor a lot of the gif animated loader code to be much cleaner.
2013-07-06 15:12:36 +09:00
José Roberto de Souza
8f69b20a6d
eldbus: Remove unnecessary function - _eldbus_connection_unref()
...
Neither internal function call this function.
2013-07-05 16:08:06 -03:00
José Roberto de Souza
20d9e486a8
eldbus: Handle removal of last reference of connection inside of callback
2013-07-05 16:08:01 -03:00
José Roberto de Souza
dadf38cb2f
Add option to disable scim and ibus ecore_imf backend
2013-07-05 15:06:05 -03:00
maxerba
a64e0c0573
Fixed sorting in desktop files
2013-07-05 19:00:52 +02:00
Ryuan Choi
8d41667412
edje_cc: Fixed possible leak when description.map.color defines same idx more than one time
...
Spotted by coverity. CID 1039298.
2013-07-06 01:30:54 +09:00
Carsten Haitzler
fab94cb3ea
evas - fix gif animatd loader segv just inroduced.
2013-07-05 23:11:51 +09:00
Chris Michael
7431e6a02a
Check for valid ee->prop.window before trying to fetch window
...
attributes from it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 11:09:25 +01:00
Chris Michael
2c322cc7b1
Add code for ecore_evas_<engine>_pixmap_new/get functions.
...
- Add "pixmap" structure to engine_data.
- Free the front and back pixmaps when the ecore_evas gets freed.
- On resize, drop the backing pixmap if size is different.
- Before we render, check pixmap size vs EE size and create new
backing pixmap if needed.
- After we have rendered into the backing pixmap, flip it to the
front so that any calls to "pixmap_get" will return the proper one.
- Add pixmap_new_internal code (the actual guts for all this)
NB: These can be used to create an internally double-buffered
ecore_evas that renders to a pixmap (not a window).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael
159232b593
Add code for ecore_evas_software_x11_pixmap_new/get functions.
...
Fix formatting in ecore_evas_window_get.
NB: This will be used to create an ecore_evas that Renders to a
Pixmap (not a window). As such, Some ecore_evas functions may
not operate as expected when using this type of ecore_evas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael
1e8f6d3b45
Add interface function pointers for pixmap_get.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael
a2a2a1c8a2
Add typedef for Ecore_X_Pixmap if Ecore_X header is not included.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael
25241a5138
Add API function declarations for ecore_evas (software and gl) that
...
can "render to pixmap".
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Cedric Bail
913d56da9e
evas: make it possible to disable preload for buggy driver.
2013-07-05 15:39:44 +09:00
Cedric Bail
0453cd16b4
eina: revert that simplification as compiler are now to dumb to handle it.
2013-07-05 14:59:43 +09:00
ChunEon Park
64f984bd1a
evas/render - draw the map in case that the source clip is invalid.
2013-07-05 12:53:09 +09:00
Carsten Haitzler
ebc259d110
update po's
2013-07-05 11:51:39 +09:00
Cedric Bail
2efcd3bb19
evas: fix gif loader accessing uninitialized value.
2013-07-05 11:35:06 +09:00
ChunEon Park
307e2f823d
evas/render - support proxy source clip for the mapped object.
2013-07-05 11:14:47 +09:00
ChunEon Park
04f87ab237
evas/render - refactoring. split off a bunch of internal logic to a seprate function.
2013-07-05 11:09:03 +09:00
Cedric Bail
df7b19090a
edje: simplify the logic and make code easier to read.
2013-07-05 10:18:49 +09:00
Cedric Bail
cb5dbb55c3
eo: reporting error here just make the caller code more complex for nothing valuable.
2013-07-05 10:18:19 +09:00