Cedric Bail
b343874300
edje: fix typo and deep apology to asdfuser.
2013-07-18 20:19:09 +09:00
ChunEon Park
8cec34d1d4
edje/map - changed data structure from list to array to improve color data memory access
2013-07-18 20:09:54 +09:00
Carsten Haitzler
382f3d5d60
emotion: warnings-- for x overlay/xv.
2013-07-18 20:07:01 +09:00
Carsten Haitzler
f9f0b717e6
emotion - fix shutdown to ensure all pending async calls are gone too.
2013-07-18 20:00:22 +09:00
Stefan Schmidt
525c4cbece
evil: Evils own libdl lib is also needed for the test programs.
...
Looks like USE_EVIL_INTERNEL_LIBS does only contains libevil itself.
For the test programs we still need the evil specific libdl for linking.
Lets hope this is the last parallel make fix for evil.
2013-07-18 11:06:07 +01:00
Stefan Schmidt
079bc42bfe
evil: Also add LDL_LIB to LIDADD
2013-07-18 09:31:31 +01:00
Stefan Schmidt
0f0165e253
evil: Fix parallel make by setting internal dependencies.
...
The mingw build was failing when running in parallel. It was not
finding the internal lib for linking. Make sure we properly depend
on them.
2013-07-18 09:05:29 +01:00
Cedric Bail
9d54653a31
edje: update position after avoiding rounding error.
2013-07-18 16:52:57 +09:00
Cedric Bail
397e0b90a2
edje: improve accuracy of math logic in part positioning.
2013-07-18 16:20:32 +09:00
Vladislav Brovko
56adc51e83
eina: add Eina_Value tests convert from short, int.
2013-07-18 16:19:26 +09:00
ChunEon Park
14a32521c8
edje - removed white spaces
2013-07-18 14:48:04 +09:00
Mike Blumenkrantz
464dd4f206
disable ecore-x trace debugging...whoops
2013-07-18 06:24:50 +01:00
Mike Blumenkrantz
60111ce8ca
add ECORE_X_SYNC env variable for xlib backend
2013-07-18 06:17:40 +01:00
Mike Blumenkrantz
d77d9134f8
delete e pixmap atom based on atom pixmap atom, not pixmap
2013-07-18 05:21:07 +01:00
Mike Blumenkrantz
ad7933670f
ecore_x_pixmap_free no longer fails when passed 0
2013-07-18 05:21:07 +01:00
Chris Michael
4d05ee2d3d
Check for valid xkb state before trying to update modifiers from it.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-17 16:53:04 +01:00
Guillaume Friloux
6aab5a9690
This patch is a port of commit 4b885b9b24de9e188c861422d7d2738b49359d22.
...
It fixes ecore_con_server_timeout_set().
2013-07-17 16:20:45 +02:00
Jihoon Kim
2b344688f9
[ecore_imf] fix crash because of invalid show request context
2013-07-17 19:31:45 +09:00
Carsten Haitzler
2e74e41ed3
emotion gst: disable x window under/overlay suport for now. broken badly.
2013-07-17 18:37:03 +09:00
Mike Blumenkrantz
23795d1733
add ECORE_X_ATOM_XDND_DIRECTSAVE0
2013-07-17 08:44:22 +01:00
Mike Blumenkrantz
3e45bbecf6
print ecore-x xlib errors when they occur
2013-07-17 08:43:38 +01:00
Cedric Bail
60eb5d07ea
eo: simplify callbacks array declaration for the lazy tasn.
2013-07-17 11:05:50 +09:00
ChunEon Park
0c4dd0597f
edje/edje_edit - split the macro, some apis doesn't need to all of calls
2013-07-17 02:23:03 +09:00
Carsten Haitzler
08105a0136
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
a484403db8
fix a bunch of reallocs self-assigning the same var
2013-07-16 20:45:24 +09:00
Carsten Haitzler
b84e81fbea
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
a091a1d730
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
9a3256ba44
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
36cd49a182
fix realloc assign to "self".
2013-07-16 20:45:24 +09:00
Carsten Haitzler
cc400c5c7f
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
4451625301
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Cedric Bail
8db2c018f8
edje: take that windows !
2013-07-16 20:03:48 +09:00
Cedric Bail
e939d9a1ce
eo: let's add a macro to define a callbacks array.
2013-07-16 20:03:48 +09:00
Cedric Bail
cecd19803e
eo: let's handle memory allocation gracefully.
2013-07-16 20:03:48 +09:00
Carsten Haitzler
c6309b44b2
fix clang sizeof complaint
2013-07-16 19:58:01 +09:00
Carsten Haitzler
d07a30fa25
fix clang sizeof complaint
2013-07-16 19:57:13 +09:00
Carsten Haitzler
27553f0500
fix clang sizeof complaint
2013-07-16 19:49:31 +09:00
Carsten Haitzler
604fac4166
ecore-x: vsync_animator_tick_source_set fail if drmWaitVBlank fails
2013-07-16 19:39:10 +09:00
Carsten Haitzler
0d83feaa79
fix clang allocator size mistmatch (by casting - clang is wrong)
2013-07-16 19:24:44 +09:00
Chris Michael
dd939bf587
Add some additional trapping around window_show for cases where a
...
wl_shell has not been bound yet
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-16 11:16:44 +01:00
Carsten Haitzler
59ea842b22
fix clang bad free better. :)
2013-07-16 18:58:20 +09:00
Carsten Haitzler
d12b6e6fa1
fix clang bad free complaint
2013-07-16 18:20:07 +09:00
Carsten Haitzler
a8e80514dc
fix clang bad free complaint to deal with data magic value
2013-07-16 18:11:50 +09:00
Carsten Haitzler
e1e50b8387
fix clang bad free complaint
2013-07-16 17:54:26 +09:00
Carsten Haitzler
a588851b8f
fix clang nonnull complaint
2013-07-16 17:18:59 +09:00
Carsten Haitzler
4c970812f2
fix clang nonnull complaint
2013-07-16 17:16:20 +09:00
Carsten Haitzler
2ca7f23dbc
fix clang nonnull complaint
2013-07-16 17:12:08 +09:00
Carsten Haitzler
8db1013956
fix clang nonnull complaint
2013-07-16 17:10:59 +09:00
Carsten Haitzler
8d324a5d3d
fix clang nonnull complaint
2013-07-16 17:07:11 +09:00
Carsten Haitzler
6b6f689718
fix flang nonnull complaint
2013-07-16 16:58:45 +09:00
Carsten Haitzler
7f2eafc8f1
fix clang nonnull report
2013-07-16 16:57:14 +09:00
Carsten Haitzler
aaf5a55319
fir clang nonnull complaint
2013-07-16 16:55:03 +09:00
Carsten Haitzler
76229f7a2f
fix clang nonnull warning.
2013-07-16 16:47:35 +09:00
Cedric Bail
dd4a641bab
eet: quick fix for windows.
2013-07-16 16:20:50 +09:00
Cedric Bail
166e89baac
Revert "eo: try to fix callback array to work on other system."
...
This reverts commit e89f32d28d
.
2013-07-16 15:18:16 +09:00
Cedric Bail
ebb36c98a8
eo: micro optimization speed up callback call by 3%.
2013-07-16 13:45:36 +09:00
Cedric Bail
e89f32d28d
eo: try to fix callback array to work on other system.
2013-07-16 13:41:27 +09:00
Cedric Bail
592b1362bb
emotion: let's work out of tree.
...
NOTE: I have no idea why we did require emotion_test to only work
in tree. If you have an explanation, I would be glad to ear it. In the
mean time, this patch restore the use of emotion_test when your build
tree is not around.
2013-07-16 09:49:01 +09:00
Cedric Bail
dce0fbcb84
evas: let's get the pixels if the image is dirty, not only when we do already have pixels.
2013-07-15 19:12:02 +09:00
Cedric Bail
906d7adad7
evas: put the test after we had a chance to update the texture.
2013-07-15 19:12:01 +09:00
Mike Blumenkrantz
c3916df200
clamp size to ximage size for ecore_x_image_get to prevent BadMatch errors
2013-07-15 09:37:54 +01:00
Cedric Bail
d9aa0fccd9
eet: add support for EET_T_VALUE.
...
Add the moment, it only support simple type. Need iterator for more
complex type. It also expect a pointer to an Eina_Value and not directly
an Eina_Value, let me know if you prefer the opposite and maybe I
should rename it EET_T_PVALUE.
2013-07-15 17:04:34 +09:00
Cedric Bail
4a183ac1a8
eet: fix test suite to always use the proper data descriptor type.
2013-07-15 17:04:34 +09:00
Cedric Bail
9d2249c1a8
eina: fix Eina_Log restart.
2013-07-15 17:04:34 +09:00
Daniel Juyung Seo
fe914c069c
eina_stringshare.h: added more description to eina_stringshare_add_length().
2013-07-15 13:39:57 +09:00
Mike Blumenkrantz
b67be2ee25
add error messages to ximage function failures
2013-07-15 05:19:23 +01:00
Carsten Haitzler
3c891b4058
evas gl: cover some more cannot-allocate-texture cases.
2013-07-15 10:59:29 +09:00
Cedric Bail
2859d76402
efreet: set process priority on Windows too.
2013-07-12 08:42:08 +09:00
Ivan Briano
4ea2abb602
Always update GROUP parts when changing color class
2013-07-11 15:00:34 -03:00
Mike Blumenkrantz
7dfd4581b4
fix crash when trying to get an object below the current object and a layer with no objects is present
...
probably a layer not being cleaned somewhere, but I can't deal with the crashing
2013-07-11 11:40:41 +01:00
Chris Michael
9a4fc9ad44
Add engine interface code for:
...
- ecore_evas_pixmap_visual_get
- ecore_evas_pixmap_colormap_get
- ecore_evas_pixmap_depth_get
Assign interface functions for above when creating the new interface.
When creating the pixmap, store the visual and colormap for later
retrieval.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael
72a3a4c787
Add function code for:
...
- ecore_evas_pixmap_visual_get
- ecore_evas_pixmap_colormap_get
- ecore_evas_pixmap_depth_get
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael
fc9ee11462
Add visual and colormap to pixmap structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael
769c8e5934
Add interface function definitions for:
...
- pixmap_visual_get
- pixmap_colormap_get
- pixmap_depth_get
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael
ceca31714a
Add API declarations for new pixmap functions
...
- ecore_evas_pixmap_visual_get
- ecore_evas_pixmap_colormap_get
- ecore_evas_pixmap_depth_get
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Cedric Bail
83de2e25ca
efreet: it should be a #ifdef now...
2013-07-11 18:22:38 +09:00
Cedric Bail
b887558afa
efreet: use the correct guard.
2013-07-11 18:16:32 +09:00
Cedric Bail
db64103bf3
edje: fix build break on Windows.
...
NOTE: In C, you can only mark an area const if it is not changed at
runtime, this include also the job of the linker at runtime. So this
array can't be const because they use pointer from Evas that will be
resolved during link at runtime, instead of link at compile time.
This pass on Linux, but fail on other architecture and is actually
not correct. So let's not use const here.
2013-07-11 18:09:54 +09:00
Daniel Willmann
b0c9d1f818
examples: Make make return an error if one of the examples fails compile
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-07-11 09:55:02 +01:00
Stefan Schmidt
d10be60e30
examples: Add missing Ecore_Eo.h for some defines.
...
If we are shuffling headers around testing if in-tree examples are
still working fine might be a sensible thing to do. Everybody agrees
on that?
2013-07-11 09:44:44 +01:00
Carsten Haitzler
edd39272bd
evas gl: if img src size == dst on draw, turn smooth off to avoid ghosting
2013-07-11 17:39:08 +09:00
Chris Michael
4a40c8298b
Remove prev_front pixmap from structure
...
Use a local variable to hold previous front pixmap while swapping
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 08:56:44 +01:00
Chris Michael
b8124f8b32
Check for valid interface pixmap_get function before trying to call it.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 08:56:44 +01:00
Chris Michael
2dc165936d
Update doxygen comments wrt constant changing of pixmap id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 08:56:44 +01:00
Daniel Juyung Seo
fa9f891bce
evas_main.c: fix a typo?
2013-07-11 16:53:21 +09:00
Cedric Bail
dc97ae0937
evas: reduce memory footprint.
2013-07-11 16:16:25 +09:00
Cedric Bail
21ad1916ae
edje: remove a stringshare leak on object close with textblock.
2013-07-11 16:16:25 +09:00
ChunEon Park
46ba77d4f4
evas - print ERR if the object coundn't be deleted when it's ref count is more than 0.
...
In this case, evas_free() won't be exit because of the infinite loop.
2013-07-11 14:05:21 +09:00
Cedric Bail
f07d4c17e9
eina: add eina_tiler_empty.
2013-07-11 14:01:06 +09:00
Cedric Bail
5479da04b6
eina: Eina_Tiler formatting.
2013-07-11 14:01:06 +09:00
Cedric Bail
d2b94729bc
eina: don't insert the same rectangle multiple time in a row.
2013-07-11 14:01:06 +09:00
Cedric Bail
2e347b5e22
eina: let's not complain for nothing.
2013-07-11 14:01:06 +09:00
ChunEon Park
898caee04d
evas - use Eina_Bool
2013-07-11 14:00:18 +09:00
ChunEon Park
1e9a56d361
evas - indent fix.
2013-07-11 13:45:22 +09:00
Carsten Haitzler
199fb6523e
evas gl engine - paranoia: check max texture size limits on texture alloc
2013-07-11 12:39:44 +09:00
Igor Murzov
079c1c6d9b
eet: Fix copy&paste issue
2013-07-11 00:52:36 +04:00
Chris Michael
3fb6ef5a83
Fix compiler warnings
...
- include unistd.h for close function.
- initialize fd to -1 so we can check error condition.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-09 16:13:12 +01:00
Chris Michael
5f3a2dd5f6
Don't leak fd handles (ie: leave files open) when checking devices
...
NB: Fixes Coverity CID1039175
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 13:29:32 +01:00
Carsten Haitzler
6ceabbdb6c
ethumb - fix ethumbd timeout to always work at start and mid-run too.
2013-07-09 20:13:24 +09:00
Carsten Haitzler
bb4539c826
ethumbd timeout to 30s to not timeout in middle of long generate
2013-07-09 19:56:18 +09:00
Carsten Haitzler
95c836eaa3
up ethumbd timeout to 10sec by default
2013-07-09 19:37:55 +09:00
Stefan Schmidt
92de5dd3c6
evas/eet: Prevent libjpeg to redefine INT32.
...
The define prevents that INT32 gets redefined in libjpeg while it
already is defined for the mingw build.
2013-07-09 11:19:28 +01:00
Chris Michael
b579df2f51
For cases of fatal errors on wl_display, return ECORE_CALLBACK_CANCEL
...
in the fd_handler and idler so we stop listening there.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 11:11:14 +01:00
Stefan Schmidt
531be113be
efreet: Guard priority settign and getting functions for WIN32
...
These functions are not available on a mingw build. Not really needed
either so just ifdef them.
2013-07-09 09:06:21 +01:00
Carsten Haitzler
fad576295e
somehow buf is freed once its put into an event.. but before event is
...
processed. don't allow this.
2013-07-09 12:18:37 +09:00
Cedric Bail
f54a09ef83
Revert "evas: use Eina_Tiler for GL backend."
...
This reverts commit 87b49cf103
.
2013-07-09 10:42:01 +09:00
Sergii Kanaev
f21bcaccbb
eina: improve test coverage for Eina_Clist.
...
Add tests for eina_clist_add_after, eina_clist_add_head, eina_clist_next
and eina_clist_add_tail.
2013-07-09 10:23:00 +09:00
Cedric Bail
48b40640b5
evas: no need to call eo_data_scope_get in many case after this change.
...
Reduce CPU usage by 5% in some case (especially when the CPU is not the
limiting factor like with the GL backend).
2013-07-09 09:48:09 +09:00
Cedric Bail
87b49cf103
evas: use Eina_Tiler for GL backend.
...
This is a start to leverage more on our infrastructure so that later
optimizing Eina_Tiler will be more usefull.
2013-07-09 09:48:09 +09:00
José Roberto de Souza
9b9002e7e3
eldbus-codegen: If substr dont exist in string return string.
...
CID: 1039339
2013-07-08 13:52:12 -03:00
José Roberto de Souza
353de50898
eldbus: Correclty check if user already create a object manager iface to object
...
CID: 1039421
2013-07-08 13:52:12 -03:00
Chris Michael
1debfc141a
Initialize 'buf' to NULL (to avoid compiler warning)
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-08 16:08:14 +01:00
Chris Michael
a144495daa
Initialize 'd' to -1 so we can check on 'end' if it needs closing
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-08 16:05:12 +01:00
Chris Michael
207ad636fe
Avoid potential divide by zero error.
...
NB: Fixes Coverity CID1039437and CID1039438
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:55:14 +01:00
Chris Michael
6e49578cb7
Check for valid string before trying to write (potentially NULL) to
...
the pipe.
NB: Fixes Coverity CID1039398
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:38:54 +01:00
Chris Michael
1d9a19f1ee
Check for valid 'send' before trying to call
...
emotion_gstreamer_buffer_free (which will dereference it).
NB: Fixes Coverity CID1039397
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:34:41 +01:00
Chris Michael
c58347b0a5
Check for valid 'send' before trying to call
...
emotion_gstreamer_buffer_free (which will derefence it).
NB: Fixes Coverity CID1039396
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:33:15 +01:00
Chris Michael
6229a871de
When printing this debug message, check for valid extension string get
...
function First.
NB: Fixes Coverity CID1039394
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:30:41 +01:00
Chris Michael
7bf6ba1f67
Add missing free(data) reported by jeyzu. Thanks ;)
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:22:20 +01:00
Chris Michael
1054d49941
Fix missing unlock reported by Coverity
...
NB: Fixes Coverity CID1039384
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:20:22 +01:00
Chris Michael
3891bdcb15
Fix missing unlock (reported by Coverity).
...
- Instead of just returning NULL, use the existing goto on_error to
handle the unlock and return NULL.
NB: Fixes Coverity CID1039383
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:18:06 +01:00
Chris Michael
a9d0f3a919
Fix missing FTUNLOCK
...
Since we locked the font_draw mutex earlier, we should unlock it
before we return.
NB: Fixes Coverity CID1039382
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:15:41 +01:00
Chris Michael
a231b7ed26
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:15:24 +01:00
Chris Michael
1140dbceeb
Add missing eina_lock_release when we exit
...
Since we take the lock at the start of the function, we should release
the mutex lock if we are going to return.
NB: Fixes Coverity CID1039381
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:10:44 +01:00
Chris Michael
6198351629
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:09:50 +01:00
Chris Michael
5e94e640c6
Fix function and protoype for pointer_xy_get (missing const).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:09:02 +01:00
Chris Michael
f880ef9045
Remove erroneous copy/paste of data free
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:04:29 +01:00
Chris Michael
c04814023b
Add missing functions for pointer_warp and pointer_xy_get to engine
...
structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:02:40 +01:00
Chris Michael
0c66ca7c09
Fix missing return value in pointer warp function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:02:40 +01:00
Daniel Willmann
76c4140c08
ecore_audio: Add missing break in switch-clause in format_set
...
Thanks coverity for finding that
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-07-08 13:51:33 +01:00
Chris Michael
970a5badd3
Add missing break in switch
...
NB: Fixes Coverity CID1039372
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:44:39 +01:00
Chris Michael
7fc497ee6e
Fix memleak reported by Coverity:
...
If we have file And fname, then we can call the source_fetch_file
function, HOWEVER we may only have One or the Other in which case we
still need to potentially free the other.
NB: Fixes Coverity CID1039296
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:13:15 +01:00
Chris Michael
61e17aa5c2
Fix memleak reported by Coverity: Don't leak a strdup.
...
NB: Fixes Coverity CID1039295
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:11:10 +01:00
Chris Michael
93fc18daf2
Fix leak of fd handle reported by Coverity
...
NB: Fixes Coverity CID1039288
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:07:18 +01:00
Chris Michael
18a9719003
Fix memleak of Ecore_Thread_Data reported by Coverity
...
NB: Fixes Coverity CID1039280
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:54:42 +01:00
Chris Michael
aedff2dc31
Fix memleaks reported by Coverity: Setting 'buf' to NULL (without
...
freeing first) leaks the storage that buf Did point to (which could
have been from a realloc above).
NB: Fixes Coverity CID1039277, CID1039278
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:50:38 +01:00
Chris Michael
ca318c05fd
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:44:15 +01:00
Chris Michael
45a2296218
Fix memleak reported by Coverity and replace an XFree call
...
NB: Fixes Coverity CID1039276
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:41:00 +01:00
Chris Michael
0701304205
Fix memleak reported by Coverity and replace some XFree calls with
...
just free.
NB: Fixes Coverity CID1039275
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:39:48 +01:00
Chris Michael
d7600cfbee
Fix memleak of window_prop_property_get
...
NB: Fixes Coverity CID1039274
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:34:28 +01:00
Chris Michael
a01ce5e409
Fix memleak of window_prop_property_get
...
NB: Fixes Coverity CID1039273
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:30:34 +01:00
Chris Michael
e33391ef56
Replace XFree with just free.
...
NB: XFree calls 'free' anyway, so this saves us a function call
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:28:15 +01:00
Chris Michael
d7193f2830
Fix memleak reported by Coverity
...
NB: Fixes Coverity CID1039272
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:27:40 +01:00
Chris Michael
0d12ab48be
Fix memleak spotted by Coverity: ecore_x_window_prop_property_get can
...
allocate space for 'data'. If we return before using it, then free
'data'. If we use it later for XGetAtomName, then we can free if After
we have gotten the atom names and sent the event. (NB: XGetAtomName
will allocate it's own space for the returned name, so this is safe).
NB: Fixes Coverity CID1039271
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:24:21 +01:00
Chris Michael
5969c97f7a
Fix memleaks reported by Coverity: ecore_x_window_prop_property_get
...
allocates space for 'data'. We need to free that if we are going to
return before using it.
NB: Fixes Coverity CID1039270
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:17:58 +01:00
Chris Michael
aea9e86eb4
Fix several memleaks reported by Coverity
...
NB: Fixes Coverity CID1039268
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:12:48 +01:00
Chris Michael
4ea1ea5bf4
Fix memleak spotted by Coverity
...
NB: Fixes Coverity CID1039267
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:58:15 +01:00
Chris Michael
02f545ecc6
Fix memleak. If we error out here, then we should free the data
...
returned from window_prop_property_get (as that does an allocation).
NB: Fixes Coverity CID1039266
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:47:13 +01:00
Chris Michael
e6088e2361
Fix memleak reported by Coverity: If we are going to error out when
...
getting window netwm types, then free any atoms returned by
prop_atom_list_get.
NB: Fixes Coverity CID1039265
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:44:23 +01:00
Chris Michael
e28f298dbd
Fix memleak reported by Coverity: If we error out because we have a
...
hash with no key, then free the previously allocated data_stream.
NB: Fixes Coverity CID1039262
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:34:58 +01:00
Chris Michael
b72e694573
Fix memleak reported by Coverity
...
NB: Fixes Coverity CID1039261
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:31:17 +01:00
Chris Michael
57924e5824
Fix memleak reported by Coverity: Close the descriptor returned by
...
popen if we are going to error out.
NB: Fixes Coverity CID1039184
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:25:59 +01:00
Chris Michael
aeb4b7f7b9
Fix memleak reported by Coverity: If we fail to allocate a new
...
internal menu, then free the previously allocated memory for xml file.
NB: Fixed Coverity CID 1039183
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:19:37 +01:00
Chris Michael
c04cfde0e5
Fix mem leak reported by Coverity: If we fail to create a new internal
...
menu, then free the previously allocated xml file.
NB: Fixes Coverity CID 1039182
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:17:13 +01:00
Chris Michael
2aa12782b6
If we open a file for copying, then we should also Close that file
...
when the copy is done.
NB: Fixes Coverity CID1039181
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:13:56 +01:00
Chris Michael
a8bb3ec5ce
Add common wayland function to get the pointer xy from wayland
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:02:58 +01:00
Chris Michael
4d2de522fa
Add pointer_xy_get function to engine functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:00:28 +01:00
Chris Michael
f0e47a2219
Add pointer_xy_get function to engine functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:59:20 +01:00
Chris Michael
fca4267ae4
Add functions to X engine for ecore_evas_pointer_xy_get and
...
ecore_evas_pointer_warp
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:57:00 +01:00
Chris Michael
362d89e05c
Add ecore_evas_pointer_xy_get and ecore_evas_pointer_warp functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:56:02 +01:00
Chris Michael
5e988cc8cf
Add pointer_xy_get and pointer_warp to engine functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:52:34 +01:00
Chris Michael
5c223328d4
Add ecore_evas_pointer_xy_get and ecore_evas_pointer_warp API functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:51:23 +01:00
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
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