Sebastian Dransfeld
f854efd041
efreet: Use mkstemp for tempfile
...
CID: #1039615
2013-08-07 13:02:53 +02:00
Sebastian Dransfeld
6a7f417cec
efreet: Check return value of chmod
...
CID: #1039716
2013-08-07 13:02:53 +02:00
Sebastian Dransfeld
73ad466cbc
efreet: TODO++
2013-08-07 13:02:53 +02:00
Tom Hacohen
4185694ecb
Synced libunibreak local copy with upstream.
2013-08-07 11:57:09 +01:00
Chris Michael
3cc3d0878a
Convert upper-case characters to lower-case characters on keydown
...
events.
NB: xkbcommon automatically converts the pressed key to Upper if Shift
is pressed. this is a problem as ecore key down events expect them to
be lower-case (not converted yet).
NB: Fixes Phab Ticket T232.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 10:45:11 +01:00
Tom Hacohen
b97f1fde54
Updated changelog/news with the max ascent/descent fixes.
...
Commit: 6583b83c73
.
2013-08-07 10:26:30 +01:00
Mike Blumenkrantz
5e8e8aec7d
print error when ecore-x shm check fails
2013-08-07 08:36:46 +01:00
Cedric Bail
442dda08c4
edje: make min: source work correctly with GROUP part.
...
This close task T54.
2013-08-07 16:04:52 +09:00
Cedric Bail
93b0fbfe65
edje: add warning when not finding the exact match.
...
This will close T223.
2013-08-07 16:01:57 +09:00
Chris Michael
c48f4e6143
Update ChangeLog for recent wayland requirement changes.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:50:06 +01:00
Chris Michael
51ab524980
Require up-to-date wayland-client library for ecore_imf wayland module
...
support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:48:06 +01:00
Chris Michael
8f755af29f
Require up-to-date versions of the wayland libraries for evas engine
...
support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:46:43 +01:00
Chris Michael
e21f6e455d
Add wayland library version checks to configure.ac for EFL 1.8
...
NB: As of today, EFL Head will require an up-to-date version of the
wayland libraries.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:41:28 +01:00
Chris Michael
5e230dd97d
Add missing EINA_UNUSED to function parameters.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 11:26:26 +01:00
Chris Michael
82c980ef7b
Add functions for output done and output scale events.
...
NB: Apparently, setting these functions to NULL in the listener Does
Not Work anymore ! :( (used to work just fine).
NB: This makes EFL Apps work again inside Weston with latest from git.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 11:18:29 +01:00
Chris Michael
836370422b
Bump compositor interface version to 3.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 11:18:11 +01:00
Chris Michael
5be999e0f5
Get the 'fd' from the handler First (regardless of read or write) so
...
that it can be used in the below event callback.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 09:48:21 +01:00
Tom Hacohen
6583b83c73
Evas textblock: Use max ascent/descent at the edges of the textblock.
...
Thanks to Youngbok Shin for reporting the difference in behaviour between
textblock and text object.
2013-08-06 09:29:03 +01:00
Carsten Haitzler
bdb19cd974
eina-file - adapt to bsd version of MADV_REMOVE
2013-08-06 16:13:03 +09:00
Cedric Bail
f302c0e0ac
evas: fix build with debugging rendering trace.
2013-08-06 15:45:07 +09:00
Cedric Bail
468eb14635
evas: fix comment to actually compile if you use them.
2013-08-06 15:44:43 +09:00
Cedric Bail
c90179ce86
eina: fix build on FreeBSD.
2013-08-06 15:44:22 +09:00
Cedric Bail
ea3f82fa1e
efreet: let's pass memset parameter in the right order.
2013-08-06 09:17:46 +09:00
Chris Michael
ff9b4775e8
Fix memleak in data_thread_script of edje_cc_out
...
NB: If we are going to exit data_thread_script function due to malloc
failure or fread failure, then we should close the previously fdopen'd
file so that we do not leak 'f'.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 15:32:12 +01:00
Chris Michael
d384574095
If efreet_menu_parse returns an actual menu, let's free the memory
...
allocated to it before we return.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 14:24:46 +01:00
Chris Michael
8810f69914
Remove the directory from the font_first hash First, before calling
...
object_text_font_cache_dir_del as the latter function will actually
Free the fd.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 14:07:11 +01:00
Chris Michael
077aee9cef
Do not try to append a NULL async client.
...
NB: Above, _ethumb_client_async_free Could have been called, which
will free the async client. Add valid check for async before we append.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 14:03:13 +01:00
Chris Michael
80f2498909
efreet_menu_move_free will free "move" here so remove the menu from
...
the parent's list Before we free the menu.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:58:13 +01:00
Chris Michael
cc1a2d4b6b
_ecore_con_dns_free already frees the timer and whole dns structure,
...
so setting dns->timer = NULL here b0rks.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:52:06 +01:00
Chris Michael
0f925220e1
Fix potential double-free of so->answer.
...
NB: dns_so_submit calls dns_so_reset twice (once at start, once at end
on error). As so_reset will free so->answer the first time through,
add validity check of so->answer for the second iteration.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:48:23 +01:00
Chris Michael
b211a27d67
Init fd to zero (removes compiler warning).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:16:44 +01:00
Chris Michael
b344ef2440
Remove Eet_Connection from hash Before we call eet_connection_close
...
(as that frees the connection).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:13:19 +01:00
Chris Michael
a97f3c0b9b
Fix eina_file_virtual_map_new function (/me glares at Frenchie).
...
- Spank Cedric !!!!!
NB: How about we actually fill in "map" after allocation ??
NB: Previously we would malloc "map" and immediately exit without
filling it in, without adding it to the hash....nothing. Just allocate
and get out. Bad Frenchie !!!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:01:52 +01:00
Chris Michael
397e8afc1a
Avoid potential divide by zero in INF call.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:42:31 +01:00
Chris Michael
d9f8e6b525
Do not call _ecore_con_client_flush with a NULL client.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:39:19 +01:00
Chris Michael
da275a76b1
Check for Image_Entry being valid before calling evas_cache_image_drop.
...
NB: Image_Entry passed in to this function Could be NULL (hence the
previous if ie check above. Do not call evas_cache_image_drop on a
NULL Image_Entry as evas_cache_image_drop does not validity checking.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:32:00 +01:00
Chris Michael
24413bd7ee
Actually declare fd at the top of function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:17:26 +01:00
Chris Michael
76766161d2
ecore_main_fd_handler_fd_get can return -1 so we need to check for a
...
valid fd before calling read().
Reuse returned fd variable in the callback to save extra function call
to ecore_main_fd_handler_fd_get (since we already acquired the fd
above).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:46:04 +01:00
Chris Michael
4c9c522337
Check for valid fd returned from ecore_main_fd_handler_fd_get before
...
potentially passing -1 to the read() function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:40:02 +01:00
Chris Michael
65fc207951
Don't pass negative values to close:
...
ecore_main_fd_handler_fd_get can return -1, so check return value
before passing to close().
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:36:24 +01:00
Chris Michael
cc0bbacb89
open() can fail for various reasons, so check for valid 'fd' return
...
before calling fdopen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:34:34 +01:00
Chris Michael
8270fc29f3
ecore_main_fd_handler_fd_get can return -1 so check fd validity before
...
calling read() with potentially -1.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:24:11 +01:00
Chris Michael
5444ee0681
ecore_main_fd_handler_fd_get Can return -1 so check fd validity before
...
calling close() on it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:56:37 +01:00
Chris Michael
42496ac4ea
fopen can fail. check file is open before trying to write to it.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:41:16 +01:00
Chris Michael
62401c257a
strchr can return NULL, so check validity before tryint to pass NULL
...
to ecore_file_cp.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:37:15 +01:00
Chris Michael
8b93eaf4c8
_edje_real_part_recursive_get can return NULL so check validity before
...
calling _edje_child_remove (with potentially NULL as the real part).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:26:38 +01:00
Chris Michael
016e365424
Don't call fcntl functions if we do not HAVE_FCNTL support built in.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:14:46 +01:00
Cedric Bail
35e1ddc6f6
evas: limit resize to always be of the right size.
...
This should fix T157.
2013-08-05 17:46:37 +09:00
Cedric Bail
1927bcea91
edje: do not move object until all positionning information is known.
2013-08-05 17:46:37 +09:00
Sebastian Dransfeld
a76633b930
efreet: Fix allocated data size
...
Since we check for count < 10 and then add 1, we could get count == 11.
Also set array memory to 0 in one command.
2013-08-05 10:45:29 +02:00