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
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
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
Eduardo Lima (Etrunko)
27b7ab457e
Updated Eldbus connect_address example
...
See description on the header of the source file
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-07-04 17:23:52 -03:00
Tom Hacohen
5d4ff97e20
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.
2013-07-04 10:07:52 +01:00
Jean-Philippe Andre
09a5c28e5b
evas/cserve2: no cache for large images or non-smooth
...
The concept is taken from scalecache. I am not sure of the
performance impact.
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
7c7c231015
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
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
46b7baa379
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.
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
ca5d174568
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.
2013-07-04 13:02:48 +09:00
Cedric Bail
f825bebcdb
eina: improve Eina_Tiler to be in par with Evas_Tilebuf.
2013-07-04 13:02:48 +09:00
Cedric Bail
a865b77c14
eo: another small micro optimization giving a 10% speed increase.
2013-07-04 13:02:28 +09:00
Carsten Haitzler
bf482c7742
eldbus - better fix for dbus_conn becoming null in dispatch
2013-07-04 10:56:43 +09:00
Carsten Haitzler
bdd57af113
eldbus - only unref client conns that are not null after dispatch
2013-07-04 08:41:45 +09:00
Carsten Haitzler
64f8ea918c
ethumbd - set default timeout for ethumbd to 2 seconds
2013-07-04 08:40:35 +09:00
Chris Michael
8fc3c9c8bc
Revert "EFL formatting and 80 column wrap"
...
Revert this because I have better things to do than argue about commit
messages.
This reverts commit ee5483bee1
.
2013-07-03 14:30:40 +01:00
Chris Michael
ee5483bee1
EFL formatting and 80 column wrap
...
NB: Nothing functional (yet)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 13:54:35 +01:00
Shinwoo Kim
daca686168
[ecore_x] add accessibility support - enable, disable
2013-07-03 13:13:32 +09:00
Cedric Bail
0f153be0e5
evas: fix bugin Enlightenment triggering a path where data are loaded, but flags is not set.
...
This fix T187.
2013-07-03 12:48:38 +09:00
Carsten Haitzler
22ad827274
evas gl: fix origin of swapbufferswithdamage to be BOTTOM-LEFT based...
2013-07-03 12:11:18 +09:00
Jean-Philippe Andre
344eae9cbd
evas: fix build when png12 is not around.
2013-07-03 10:09:31 +09:00
Jean-Philippe Andre
9bdf55da57
evas: fix build
...
Build may fail when using parallel compilation (-j)
Add EET as a dependency of cserve slave
2013-07-02 19:00:55 +09:00
Chris Michael
03448524ab
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>
2013-07-02 09:54:30 +01:00
Chris Michael
292d23321c
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>
2013-07-02 09:53:08 +01:00
Stefan Schmidt
ed08c1832c
emotion: Another check for engine being NULL.
...
Missed this second occurance in 8deb75463b
.
Now also fixed this potential null pointer dereference when the engine
list is empty.
2013-07-02 09:45:35 +01:00
Chris Michael
e2b2918858
Check for valid output_filename before trying to use it.
...
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:43:23 +01:00
Carsten Haitzler
1f2c19749f
in drm_shutdown set tried to false...
2013-07-02 17:26:18 +09:00
Daniel Juyung Seo
311db0fc58
evas_object_smart.c: removed unnecessary code.
2013-07-02 17:07:05 +09:00
Daniel Juyung Seo
e3e35bfcaf
edje_text.c: proper formatting.
...
inspired by Daniel Willmann's commit b6aaef651b
2013-07-02 17:07:05 +09:00
Jean-Philippe Andre
67cccea61b
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
f1506d8dd2
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
687c4aa475
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
bb4e7fb869
evas: fix compilation warning in evas_font_draw.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
22e79af097
evas/cserve2: return in case of select timeout.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
79b102f6fd
evas/cserve2: add some more error debug (client side).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
65fcf390b4
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
a09efda8d2
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
8db3d4d2bf
evas/cserve2: remove dead code (old loaders API).
...
Remove: cserve-specific loaders and deprecated code.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
90d8647c02
evas/cserve2: fix crash with YUV tests in expedite.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
48d97f7a90
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
c39b714868
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
26e01c0ff6
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
db6cba1429
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
f9a7820e02
evas/cserve2: Simplify debug logs (server side).
...
Remove newlines.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
096a8ece9f
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
29bf164c75
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
6a2a0187ff
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>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
f7c6545170
evas/cserve2: minor fixes (error paths).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
d712a13a7a
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>
2013-07-02 16:58:09 +09:00
ChunEon Park
627beaae71
evas/proxy rendering - optimize proxy rendering.
...
re-render proxies if sources are changed. this patch increases the proxy rendering up to 2x.
2013-07-02 15:38:42 +09:00
ChunEon Park
5f4ae9abeb
evas/render - refactoring about checking smart member changed.
...
move those code to the evas_object_smart.
2013-07-02 15:28:56 +09:00
Cedric Bail
2fdc05863d
eet: force thread to always run during eet_cache_concurrency test.
2013-07-02 13:45:30 +09:00
Daniel Willmann
b6aaef651b
edje_text: Clarify that the block and else are independent
...
Sometimes whitespace helps
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-07-01 16:04:27 +01:00
Tom Hacohen
827885d794
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.
2013-07-01 14:18:52 +01:00
Cedric Bail
cc012b754c
eo: little micro optimization.
2013-07-01 18:35:55 +09:00
Cedric Bail
c435968f69
eo: a little more inlining, give me a 10% speed improvement.
2013-07-01 18:18:40 +09:00
Jiyoun Park
958a430f5e
* Evas: Fix jpeg loader cannot deal with exif information correctly
2013-06-29 15:00:43 +09:00
Daniel Willmann
7927c0f9fa
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>
2013-06-28 14:25:30 +01:00
Daniel Willmann
db29fbb286
edje_test: Make the variable returned in test_layout_get static
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-28 14:25:30 +01:00
Chris Michael
f9348a5015
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>
2013-06-28 14:23:57 +01:00
Chris Michael
2a67e78bde
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>
2013-06-28 14:14:44 +01:00
Chris Michael
694d1600e8
We should free glyph_out also (as that gets malloc'd too) on error.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:13:09 +01:00
Chris Michael
dd136b82e2
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>
2013-06-28 14:02:00 +01:00
Chris Michael
7e222b949c
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>
2013-06-28 13:57:56 +01:00
Chris Michael
204212131b
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>
2013-06-28 13:48:21 +01:00
Chris Michael
d92edb51a4
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>
2013-06-28 13:39:45 +01:00
Carsten Haitzler
6828cf2e29
evas: efl 1.8 dev bug only... update add bug in image objects throws away some updates.
2013-06-28 17:26:14 +09:00
Cedric Bail
dcf65a8eec
eo: add a new macro to make the code easier to read and use it.
2013-06-28 15:28:30 +09:00
Cedric Bail
7849c5de32
eo: 30% speed improvement in message propagation.
2013-06-28 10:18:39 +09:00
Cedric Bail
383592b444
eo: eo is absolutely necessary by now, can't be disabled any more.
2013-06-28 10:18:39 +09:00
Cedric Bail
0ed0d79611
evas: prevent people from including header directly.
2013-06-28 10:18:39 +09:00
Eduardo Lima (Etrunko)
2e7479f8db
eldbus: Missing dbus_connection_unref() in error path
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-27 17:31:22 -03:00
Eduardo Lima (Etrunko)
f6295c5828
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>
2013-06-27 17:24:46 -03:00
Eduardo Lima (Etrunko)
6f255a7ccc
eldbus: Add proxy call to org.freedesktop.DBus.Hello
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-27 16:43:24 -03:00
Daniel Willmann
5763195418
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>
2013-06-27 17:51:30 +01:00
Daniel Willmann
a23ff7b5ab
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>
2013-06-27 17:50:23 +01:00
Daniel Willmann
3e5ff22ab9
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>
2013-06-27 14:34:02 +01:00
Chris Michael
d263e31c7f
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>
2013-06-27 10:46:34 +01:00
Stefan Schmidt
42e838545a
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.
2013-06-27 09:43:08 +01:00
Cedric Bail
267b9e4c29
efreet: always sanitize path.
2013-06-27 15:19:44 +09:00
Cedric Bail
61396654a5
efreet: cleanup code by using Eina_File infra.
2013-06-27 15:19:43 +09:00
Daniel Willmann
f24dea2a90
evas_convert_colorspace: Remove printf in e_c_convert_yuv_422_601_to()
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:53:08 +01:00
Daniel Willmann
2df506feed
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>
2013-06-26 18:53:08 +01:00
Eduardo Lima (Etrunko)
1a2ae24e8b
ecore_wayland: Yes, we need to call display_dispatch
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 11:36:07 -03:00
Eduardo Lima (Etrunko)
2d84a8a8fb
WIP
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 10:58:36 -03:00
Daniel Willmann
dd76f4cd05
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>
2013-06-26 14:42:10 +01:00
Daniel Willmann
adcde1f87e
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>
2013-06-26 14:42:10 +01:00
Raphael Kubo da Costa
302d42b9af
pixes -> pixels.
2013-06-26 16:26:35 +03:00
Chris Michael
3b8d6bf89a
Add missing initializer for wl_seat_listener.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 12:39:14 +01:00
Chris Michael
3230114ff9
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>
2013-06-26 11:57:49 +01:00
Daniel Willmann
cd980c4bea
edje_cc: Fix memory leak in data_thread_script() in error case
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Tom Hacohen
182dfb82d4
Evas gl: Fixed double-free when failing gl init.
2013-06-26 10:40:44 +01:00
Carsten Haitzler
33678961b6
efreet: and dont try change mode if runtime dir is /tmp
2013-06-26 12:16:50 +09:00
Cedric Bail
d64c808a73
evas: check wether we do have a data or not.
2013-06-26 11:49:16 +09:00
Cedric Bail
e920c2cc76
efreet: make geteuid an optional function.
2013-06-26 11:24:29 +09:00
Cedric Bail
e888a07c0a
evas: cleanup headers. Should work on windows.
2013-06-26 11:24:29 +09:00
Deon Thomas
67df5b4ad1
Ecore DPMS Function to get the current dpms power level
2013-06-26 08:32:42 +09:00
Tom Hacohen
fdbc477f79
Evas textblock: Fixed issue with textblocks without fonts segfaulting.
...
Fixes T184 (which is a regression).
2013-06-25 16:37:48 +01:00
Stefan Schmidt
9c1ed31c76
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.
2013-06-25 15:18:33 +01:00
Stefan Schmidt
8deb75463b
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.
2013-06-25 14:42:09 +01:00
Chris Michael
abf8a3b7bf
Format for EFL style
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 14:14:04 +01:00
Chris Michael
0615dfe4ee
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>
2013-06-25 14:14:04 +01:00
ChunEon Park
44568ef01d
efl/evas - removed duplicated lines and apply clipping only when clip values are available.
2013-06-25 21:56:28 +09:00
ChunEon Park
ede5390258
efl/evas - +null check
2013-06-25 21:53:05 +09:00
Chris Michael
aa54fcf059
Check that ecore_wl_init succeeds before trying to make calls into it.
...
Fix formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 09:31:52 +01:00
Cedric Bail
75639bea49
evas: don't forget to remove image from the lru when they are back to active.
2013-06-25 16:20:46 +09:00
Christophe Sadoine
2dabd04dc8
evas: fix problem with dllimport on Windows.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:48 +09:00
Christophe Sadoine
2070ca4205
evil: add strsep function.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:37 +09:00
Christophe Sadoine
d9e1b7d67c
evil: added evil_rename() a wrapper around rename().
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:27 +09:00
Cedric Bail
4605b91804
evil: returned the good value for mkstemp
...
Added back some needed defines for elementary (was in evil 1.7.7).
2013-06-25 12:16:36 +09:00
Cedric Bail
1043bb0f47
edje: leak is gone, so use it again.
2013-06-25 11:45:42 +09:00
Cedric Bail
406cdbd686
evas: one LRU for both image open with filename or Eina_File to fix infinite increase of cache.
2013-06-25 11:45:42 +09:00
Ryuan Choi
c11e4cbca8
edje: fix memory leak with EDJE_TWEEN_MODE_OPT_FROM_CURRENT.
2013-06-25 11:45:42 +09:00
Sebastian Dransfeld
71122d5920
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.
2013-06-25 04:32:26 +02:00
Jan Arne Petersen
f656aa397f
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>
2013-06-24 16:14:14 -03:00
Jean-Philippe Andre
1f298139d8
evas: fix crash after font rehint
2013-06-24 14:52:54 +02:00
Chris Michael
0ae7282869
Port cedric's async uploading GL texture commit to wayland_egl engine.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 10:14:21 +01:00
Chris Michael
712a528025
Make gl_x11 compile again
...
eglSwap|BuffersRegion was replaced with eglSwapBuffersWithDamage.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 09:27:14 +01:00
Chris Michael
a665e6320f
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>
2013-06-24 09:15:34 +01:00
Chris Michael
f833318fb2
Use wl_display_get_serial when creating popups.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 08:52:50 +01:00
Doug Newgard
95bc804a2e
efl: fix systemd spelling.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Rajeev Ranjan
12458544d1
evas: add mutex locking before signalling for the condition variable and releasing afterwards.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Cedric Bail
d06a0982ef
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.
2013-06-24 12:04:18 +09:00
Carsten Haitzler
8e3d94d661
efreet: don't try change permissions on runtime dir we don't own.
2013-06-24 12:00:30 +09:00
Christopher
1633d7f3bb
Fix compiler warning about uninitialized variables
...
Signed-off-by: Christopher <devilhorns@comcast.net>
2013-06-23 12:53:53 +01:00
Carsten Haitzler
29b3c80385
eldbus: error message iters should be initted as readonly.
2013-06-22 20:15:44 +09:00
Thiep Ha
7767751c88
[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
2013-06-22 12:30:50 +09:00
Carsten Haitzler
7c65f576df
evas: remove segv added by cedric fastpath optimization
2013-06-22 10:58:03 +09:00
Sebastian Dransfeld
a0ba7941ad
efreet: Use end cb of thread to run cb
2013-06-21 12:56:21 +02:00
Mike Blumenkrantz
51246fff68
efreet menu cbs don't return a value and take const data params
2013-06-21 09:50:03 +01:00
Sebastian Dransfeld
aa8565b372
efreet: Add data to async request
2013-06-21 10:39:40 +02:00
Sebastian Dransfeld
70d491fd68
efreetd: log to file
...
Since it is started as a service
2013-06-21 10:32:18 +02:00
Sebastian Dransfeld
ebcd97cc93
efreet: Create cache dir in efreet_cache_init
...
efreetd used efreet functions before efreet init which fails.
2013-06-21 10:00:20 +02:00
Sebastian Dransfeld
58fc3a8f32
efreet: Low priority for cache rebuild
2013-06-20 13:53:54 +02:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Sebastian Dransfeld
b1c97a0da4
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
2013-06-20 13:27:20 +02:00
Sebastian Dransfeld
068f1ddc62
efl: formatting
2013-06-20 13:08:36 +02:00
Sebastian Dransfeld
51023d2d4f
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.
2013-06-20 12:53:29 +02:00
Sebastian Dransfeld
9aada5f735
efreet: @since
2013-06-20 11:57:23 +02:00
Sebastian Dransfeld
5b3cd4cde1
efreet: Add async menu parsing
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
0c317eaca2
efreet: Make _path_to_file_id threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
ceb19aaaaa
efreet: Make desktop cache threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
39417cf0ea
efreet: Make efreet_desktop threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
5efd817e57
efreet: Formatting
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
c99b028a7c
efreet: Release log domain on evil error
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
5eaaae420e
efreet: doc fixes
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
f0ff83c3f5
efreet: Reorganize file
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
c504706873
efreet: Init variables in init
...
Make functions threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
e8ff0e7b68
efreet: Init efreet_menu_prefix in init
...
Makes efreet_menu_prefix access threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
3190e526f4
efreet: Remove static variable
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
e5f4fa4454
efreet: Remove static variable
2013-06-20 11:56:45 +02:00
Sebastian Dransfeld
da1b1f6649
efreet: Improve eina hash usage
...
eina_hash_del + eina_hash_add = eina_hash_set
2013-06-20 11:56:45 +02:00
Jean-Philippe Andre
d2c3b67a72
cserve2: fix minor memleaks with fonts
...
Leaks happen when fonts fail to load
2013-06-20 17:42:07 +09:00
Jean-Philippe Andre
9929ee9aec
cserve2: add more error debug for font loading
2013-06-20 17:42:07 +09:00
Jean-Philippe Andre
4b473c90c0
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.
2013-06-20 17:42:07 +09:00
Jean-Philippe Andre
1821c91d10
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 :)
2013-06-20 17:42:07 +09:00
Cedric Bail
6adb604dae
evas: fix texture allocation bugs.
2013-06-20 17:36:24 +09:00
Cedric Bail
c9c77a4004
evas: fast path for map with same color on all corner.
2013-06-20 17:35:04 +09:00
Mike Blumenkrantz
5ca64106a2
more descriptive error message in eldbus when property fetching fails
2013-06-20 08:13:55 +01:00
Chris Michael
cda1abc1ec
Dont need the ret variable unless we are actually going to use it.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-20 04:48:44 +01:00
Mike Blumenkrantz
b3984339db
inform users when eldbus-codegen is cowardly refusing to generate code
2013-06-19 11:18:47 +01:00
Mike Blumenkrantz
e2ba21e266
use sizeof for eldbus-codegen internal define lengths
2013-06-19 11:18:47 +01:00
Mike Blumenkrantz
b8ea27d53c
s/LENGHT/LENGTH
2013-06-19 11:18:46 +01:00
Cedric Bail
694e8a7d09
evas: fix clang compilation.
2013-06-18 13:32:00 +09:00
Cedric Bail
1609055579
evas: reduce memory footprint taken by Evas_Object_Table callbacks setup.
...
This reduce by 50K elemines memory use on 32bits system.
2013-06-18 11:44:29 +09:00
Cedric Bail
91aea489c3
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.
2013-06-18 11:44:29 +09:00
Chris Michael
f6349ef9f9
Ooops, missing on "get_pixles" --> "pixels_get" conversion
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:37:18 +01:00
Chris Michael
0700e9dcc0
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>
2013-06-17 23:33:49 +01:00
Chris Michael
dba0a5ea1f
Formatting fixes
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:32:20 +01:00
Chris Michael
01ed63f4bd
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>
2013-06-17 23:22:19 +01:00
Chris Michael
2942696111
Don't crash when window is null (for mouse_down comparison)
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
db37405ef8
Debug--
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
09376dae70
Fix formatting
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Jérémy Zurcher
8619bf1323
eo_class_new: reorder last operations in class creation
2013-06-18 00:08:58 +02:00
Jérémy Zurcher
2350f1fb30
eo_class_new: pack ext data offsets at the end of _Eo_Class
2013-06-17 23:48:22 +02:00
Jérémy Zurcher
841b46fc90
eo_class_new: speed up mixins offset table creation
2013-06-17 23:47:15 +02:00
Jérémy Zurcher
5f83d1a80b
eo_class_new: check parent and desc before doing anything
2013-06-17 23:41:45 +02:00
Jérémy Zurcher
4eb2fb0bb6
eo_class_new: pack mro at the end of _Eo_Class
2013-06-17 23:41:02 +02:00
Jérémy Zurcher
e0293a421f
eo_class_new: remove duplicates in extensions as well as in mro
2013-06-17 23:38:04 +02:00
Jérémy Zurcher
2f79056078
eo_class_new: pack extensions at the end of _Eo_Class
2013-06-17 23:35:48 +02:00
Jérémy Zurcher
0c4c7ecd3a
eo_class_new: add and use _eo_class_sz
2013-06-17 23:33:19 +02:00
Jérémy Zurcher
4d2f4a1ae5
eo_class_new: replace class field extn_data_size with obj_size
2013-06-17 23:32:50 +02:00
Sung W. Park
8e6f0aa11c
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.
2013-06-17 18:32:00 +09:00
Sung W. Park
316be3e6c7
Revert "Saving evasgl direct partial rendering fix temporarily"
...
This reverts commit e6359132de
.
2013-06-17 18:22:15 +09:00
Sung W. Park
62e146f2fc
Revert "Touch for evas gl direct rendering partial rendering/swap fix."
...
This reverts commit 382ffbb4f5
.
2013-06-17 18:22:04 +09:00
Sung W. Park
d5d5a0125d
Revert "Added Wayland fix for evas_gl direct fix"
...
This reverts commit e1c238b1be
.
2013-06-17 18:21:55 +09:00
Sung W. Park
e1c238b1be
Added Wayland fix for evas_gl direct fix
2013-06-17 17:52:16 +09:00
Sung W. Park
382ffbb4f5
Touch for evas gl direct rendering partial rendering/swap fix.
2013-06-17 17:52:16 +09:00
Sung W. Park
e6359132de
Saving evasgl direct partial rendering fix temporarily
2013-06-17 17:52:16 +09:00
Cedric Bail
669e40fbce
edje: reduce memory footprint of edje callbacks.
...
Divide by two the amount of memory used by callbacks in elementary_test.
2013-06-17 16:55:22 +09:00
ChunEon Park
550c9fffc2
edje - fix typo
2013-06-16 22:13:50 +09:00
Daniel Juyung Seo
d5800af9cd
Evas_Common_Header.h: added textgrid to primitive evas object list.
2013-06-16 22:06:33 +09:00
Carsten Haitzler
1914148446
evas: optimization - handle if c1 == c2 for map interplated lines
2013-06-14 21:32:56 +09:00
Chris Michael
509090bafc
Port wayland_egl changes for swapbufferswithdamage to gl_x11
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-14 12:30:17 +01:00