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
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
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
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
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
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
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
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
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
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
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
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
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
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
Shinwoo Kim
daca686168
[ecore_x] add accessibility support - enable, disable
2013-07-03 13:13:32 +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
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
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
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
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
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
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
f7c6545170
evas/cserve2: minor fixes (error paths).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +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
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
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
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
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
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
Carsten Haitzler
33678961b6
efreet: and dont try change mode if runtime dir is /tmp
2013-06-26 12:16:50 +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
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
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
Jean-Philippe Andre
1f298139d8
evas: fix crash after font rehint
2013-06-24 14:52:54 +02: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
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
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
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
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
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