Daniel Juyung Seo [Wed, 14 Aug 2013 18:52:16 +0000 (03:52 +0900)]
po: updated po files.
Jihoon Kim [Wed, 14 Aug 2013 09:17:06 +0000 (18:17 +0900)]
Edje: add edje_object_part_text_input_panel_show_on_demand_set/get()
U. Artie Eoff [Tue, 13 Aug 2013 15:16:22 +0000 (08:16 -0700)]
configure: relax xkbcommon version requirement for ecore-wayland
Summary:
Allow ecore-wayland to be configured and compiled with xkbcommon 0.3.0.
Ecore-wayland does not use any of the new APIs in 0.3.1 nor is it exposed
to the bug that was fixed in 0.3.1.
Most distros don't include xkbcommon > 0.3.0 yet. Thus, if 0.3.1 is
required right now, then everyone is forced to build xkbcommon, too,
which contributes to dependency *madness*. Of course, anyone is still
welcome to build and link to xkbcommon 0.3.1 at will.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewers: devilhorns, antognolli
Reviewed By: devilhorns
Differential Revision: https://phab.enlightenment.org/D203
Oleksander Sirook [Tue, 13 Aug 2013 08:31:41 +0000 (17:31 +0900)]
eina: add test for 'eina_file_map_new' function.
Jihoon Kim [Tue, 13 Aug 2013 06:27:29 +0000 (15:27 +0900)]
Add ecore_imf_context_input_panel_on_demand_set/get API
Daniel Willmann [Mon, 12 Aug 2013 17:30:24 +0000 (18:30 +0100)]
embryo: Fix a potential buffer overflow (klocwork id 321)
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Gustavo Lima Chaves [Mon, 12 Aug 2013 16:29:43 +0000 (13:29 -0300)]
Enough with this bad align Edje property documentation.
Cedric Bail [Mon, 12 Aug 2013 07:47:12 +0000 (16:47 +0900)]
edje: forth recalc for text part that got adjusted during a calc_only.
Mike Blumenkrantz [Mon, 12 Aug 2013 07:39:57 +0000 (08:39 +0100)]
dns.c is the default resolver in ALL cases when we have a C99 compiler, not just when ipv6 is available.
Cedric Bail [Mon, 12 Aug 2013 03:12:13 +0000 (12:12 +0900)]
evas: handle gracefully move from evas_object_image_file_set to and from evas_object_image_mmap_set.
Cedric Bail [Mon, 12 Aug 2013 03:11:56 +0000 (12:11 +0900)]
eina: remove a warning.
Cedric Bail [Sun, 11 Aug 2013 23:58:37 +0000 (08:58 +0900)]
edje: fix forgotten fetch.
Cedric Bail [Sun, 11 Aug 2013 23:55:36 +0000 (08:55 +0900)]
edje: let's make a difference between file does not exist and no file specified.
Cedric Bail [Sun, 11 Aug 2013 23:42:55 +0000 (08:42 +0900)]
edje: forgotten refcounting of Eina_File use.
Chris Michael [Sun, 11 Aug 2013 13:02:21 +0000 (14:02 +0100)]
Remove unused variables.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2013 14:23:06 +0000 (23:23 +0900)]
adjust (as discussed) to have enums for memory and battery state.
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2013 07:26:30 +0000 (16:26 +0900)]
evas - fix up border adjust improvement from last night. handles overlap now
Gustavo Sverzut Barbieri [Fri, 9 Aug 2013 19:39:10 +0000 (16:39 -0300)]
ecore: add upower system module.
It's always enabled as it's a dbus module and links to nothing,
actually the daemon doesn't need to be running -- in that case it will
do nothing. In the case the daemon becomes active then it will get the
OnLowBattery property and keep it in sync.
NOTE: I couldn't test the property change as my laptop takes many
hours to get to that situation... let's hope it works :-)
Gustavo Sverzut Barbieri [Thu, 8 Aug 2013 23:32:53 +0000 (20:32 -0300)]
ecore: add system modules, implement 'systemd'.
Ecore will now load "system modules" on ecore_init(). The "systemd"
module will use DBus to monitor localed, hostnamed and timedated and
add system events related to those changes.
Gustavo Sverzut Barbieri [Fri, 9 Aug 2013 03:02:04 +0000 (00:02 -0300)]
ecore: detect and emit event on system time changed.
If we have timerfd then we can set a timer with special features
(ABSTIME | CANCELON) to be notified if its offset to monotonic time
change, effectively this will alert us if user called settimeofday()
or similar method to change system time.
This code was inspired by Enlightenment's clock module.
Gustavo Sverzut Barbieri [Thu, 8 Aug 2013 23:09:37 +0000 (20:09 -0300)]
ecore: add system-level events.
- ECORE_EVENT_LOW_MEMORY: Low memory state changed
- ECORE_EVENT_LOW_BATTERY: Low battery state changed
- ECORE_EVENT_LOCALE_CHANGED: Locale changed
- ECORE_EVENT_HOSTNAME_CHANGED: Hostname changed
- ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED: Time or Date changed
Tom Hacohen [Fri, 9 Aug 2013 14:46:40 +0000 (15:46 +0100)]
Evas textblock: make an if look nicer (no logic change).
This makes things simpler and less confusing and might have prevented
the issue Stefan fixed in
4f484b81d48b73709b3e4b4b1b01e383976ecb0a
from happenning in the first place.
Jérémy Zurcher [Fri, 9 Aug 2013 13:58:55 +0000 (15:58 +0200)]
eo: slight speed up
Carsten Haitzler (Rasterman) [Fri, 9 Aug 2013 13:30:14 +0000 (22:30 +0900)]
evas - OOPS! printf was not meant to go in!
Carsten Haitzler (Rasterman) [Fri, 9 Aug 2013 13:06:12 +0000 (22:06 +0900)]
evas - minor visual fixup with impossible border scaling to be more sensible
Cedric Bail [Fri, 9 Aug 2013 11:49:52 +0000 (20:49 +0900)]
edje: add edje_file_mmap_set.
This reduce the number of system call to stat especially when using GROUP
and reduce the risk of a race condition when using GROUP.
Cedric Bail [Fri, 9 Aug 2013 11:35:02 +0000 (20:35 +0900)]
eina: change eina_file_virtualize to be able to provide a fake name.
Stefan Schmidt [Fri, 9 Aug 2013 10:54:42 +0000 (11:54 +0100)]
evas/textblock: Do not write out of bounds.
The length is len so last array index must be len - 1. Better not
corrupt memory. :)
CID 1039302
Stefan Schmidt [Fri, 9 Aug 2013 10:43:25 +0000 (11:43 +0100)]
edje: Do not access after freeing
Better free it after we access it.
CID 1039917
Stefan Schmidt [Fri, 9 Aug 2013 09:27:54 +0000 (10:27 +0100)]
eldbus: Fix copy and paste error.
We are in the remove case here. The interfaces_added looks like a missed change
from the copy and paste of the add case.
CID 1039671
Stefan Schmidt [Fri, 9 Aug 2013 09:17:49 +0000 (10:17 +0100)]
eet: Add comment about missing break in switch statement
Chris Michael [Fri, 9 Aug 2013 05:38:54 +0000 (06:38 +0100)]
Fix glib integration copy/paste issue:
- If we are supposed to be deleting an fd handler, let's use
g_source_remove_poll instead of g_source_add_poll ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Thu, 8 Aug 2013 12:09:20 +0000 (13:09 +0100)]
Evas textblock: Make the ellipsis format the same as the surrounding.
This fix is based on a solution by WooHyun Jung.
Carsten Haitzler (Rasterman) [Thu, 8 Aug 2013 11:18:08 +0000 (20:18 +0900)]
eina module - minor addition ot allowing lazy loading if env var set
Cedric Bail [Thu, 8 Aug 2013 08:17:58 +0000 (17:17 +0900)]
eina: another fix for windows build.
Cedric Bail [Thu, 8 Aug 2013 08:05:14 +0000 (17:05 +0900)]
eina: fix compilation of Eina_File on windows.
Cedric Bail [Wed, 7 Aug 2013 09:40:42 +0000 (18:40 +0900)]
evas: CRIT when someone change object geometry during pixels get callback.
Cedric Bail [Wed, 7 Aug 2013 09:40:23 +0000 (18:40 +0900)]
edje: fix off-by-one when x or y where negative.
Stefan Schmidt [Wed, 7 Aug 2013 14:38:35 +0000 (15:38 +0100)]
ecore_evas: Fix potential NULL dereference.
We don't want to execute any of the function below if t is NULL. Its not
only about strdup but alsa ecore_x_netwm_name_set which might dereference it.
CID 1039400
Stefan Schmidt [Wed, 7 Aug 2013 14:16:07 +0000 (15:16 +0100)]
ecore: Check if eina_inarray_grow return NULL.
We will dereference one line below.
CID 1039337
Stefan Schmidt [Wed, 7 Aug 2013 14:05:34 +0000 (15:05 +0100)]
eio: Check return code of fcntl()
CID 1039686
Stefan Schmidt [Wed, 7 Aug 2013 14:00:10 +0000 (15:00 +0100)]
eeze: Remove unused var and related dead code.
Must be a leftover from older times. syspath never get set here.
CID 1039463
Stefan Schmidt [Wed, 7 Aug 2013 13:54:14 +0000 (14:54 +0100)]
eeze: Go to next loop iterate if test is NULL.
We would dereference it even if NULL one line later.
CID1039328
Sebastian Dransfeld [Wed, 7 Aug 2013 09:55:22 +0000 (11:55 +0200)]
efreet: Fix buffer overrun, leave space for '\0'
CID: #1039304, #1039305 and #1039306
Sebastian Dransfeld [Wed, 7 Aug 2013 09:51:32 +0000 (11:51 +0200)]
efreet: be paranoid about '\0' termination
CID: #1039721
Sebastian Dransfeld [Wed, 7 Aug 2013 09:50:46 +0000 (11:50 +0200)]
efreet: formatting
Sebastian Dransfeld [Wed, 7 Aug 2013 09:45:30 +0000 (11:45 +0200)]
efreet: clean up ugly internal_get function
CID: #1039186
Sebastian Dransfeld [Wed, 7 Aug 2013 09:37:39 +0000 (11:37 +0200)]
efreet: Remove dead code
CID: #1039942
Sebastian Dransfeld [Wed, 7 Aug 2013 09:33:42 +0000 (11:33 +0200)]
efreet: Explicitly set num_pending to 0
CID: #1039185
Sebastian Dransfeld [Wed, 7 Aug 2013 08:59:05 +0000 (10:59 +0200)]
efreet: Check return value of eet_list
CID: #1039327
Sebastian Dransfeld [Wed, 7 Aug 2013 08:57:13 +0000 (10:57 +0200)]
efreet: fgetc returns int
CID: #1039720
Sebastian Dransfeld [Wed, 7 Aug 2013 08:52:48 +0000 (10:52 +0200)]
efreet: Check return value of chmod
CID: #1039690
Sebastian Dransfeld [Wed, 7 Aug 2013 08:52:02 +0000 (10:52 +0200)]
efreet: Be paranoid about '\0' termination
CID: #1039722
Sebastian Dransfeld [Wed, 7 Aug 2013 08:18:59 +0000 (10:18 +0200)]
efreet: Use mkstemp for tempfile
CID: #1039615
Sebastian Dransfeld [Wed, 7 Aug 2013 08:02:05 +0000 (10:02 +0200)]
efreet: Check return value of chmod
CID: #1039716
Sebastian Dransfeld [Wed, 7 Aug 2013 07:41:01 +0000 (09:41 +0200)]
efreet: TODO++
Tom Hacohen [Wed, 7 Aug 2013 10:56:46 +0000 (11:56 +0100)]
Synced libunibreak local copy with upstream.
Chris Michael [Wed, 7 Aug 2013 09:42:34 +0000 (10:42 +0100)]
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>
Tom Hacohen [Wed, 7 Aug 2013 09:26:30 +0000 (10:26 +0100)]
Updated changelog/news with the max ascent/descent fixes.
Commit:
6583b83c7304dcc1cb3f6c869ba1a391770b677c.
Mike Blumenkrantz [Wed, 7 Aug 2013 07:36:22 +0000 (08:36 +0100)]
print error when ecore-x shm check fails
Cedric Bail [Wed, 7 Aug 2013 07:00:15 +0000 (16:00 +0900)]
edje: make min: source work correctly with GROUP part.
This close task T54.
Cedric Bail [Wed, 7 Aug 2013 06:02:52 +0000 (15:02 +0900)]
edje: add warning when not finding the exact match.
This will close T223.
Chris Michael [Wed, 7 Aug 2013 06:50:06 +0000 (07:50 +0100)]
Update ChangeLog for recent wayland requirement changes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 7 Aug 2013 06:48:06 +0000 (07:48 +0100)]
Require up-to-date wayland-client library for ecore_imf wayland module
support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 7 Aug 2013 06:46:43 +0000 (07:46 +0100)]
Require up-to-date versions of the wayland libraries for evas engine
support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 7 Aug 2013 06:41:28 +0000 (07:41 +0100)]
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>
Chris Michael [Tue, 6 Aug 2013 10:26:26 +0000 (11:26 +0100)]
Add missing EINA_UNUSED to function parameters.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 Aug 2013 10:18:29 +0000 (11:18 +0100)]
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>
Chris Michael [Tue, 6 Aug 2013 10:18:11 +0000 (11:18 +0100)]
Bump compositor interface version to 3.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 Aug 2013 08:47:08 +0000 (09:47 +0100)]
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>
Tom Hacohen [Tue, 6 Aug 2013 08:28:38 +0000 (09:28 +0100)]
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.
Carsten Haitzler (Rasterman) [Tue, 6 Aug 2013 07:13:03 +0000 (16:13 +0900)]
eina-file - adapt to bsd version of MADV_REMOVE
Cedric Bail [Tue, 6 Aug 2013 06:45:07 +0000 (15:45 +0900)]
evas: fix build with debugging rendering trace.
Cedric Bail [Tue, 6 Aug 2013 06:44:43 +0000 (15:44 +0900)]
evas: fix comment to actually compile if you use them.
Cedric Bail [Tue, 6 Aug 2013 06:44:22 +0000 (15:44 +0900)]
eina: fix build on FreeBSD.
Cedric Bail [Tue, 6 Aug 2013 00:17:46 +0000 (09:17 +0900)]
efreet: let's pass memset parameter in the right order.
Chris Michael [Mon, 5 Aug 2013 14:32:12 +0000 (15:32 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 13:24:46 +0000 (14:24 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 13:07:11 +0000 (14:07 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 13:03:13 +0000 (14:03 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 12:58:13 +0000 (13:58 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 12:52:06 +0000 (13:52 +0100)]
_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>
Chris Michael [Mon, 5 Aug 2013 12:48:23 +0000 (13:48 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 12:16:44 +0000 (13:16 +0100)]
Init fd to zero (removes compiler warning).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 12:13:19 +0000 (13:13 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 12:01:52 +0000 (13:01 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 11:42:31 +0000 (12:42 +0100)]
Avoid potential divide by zero in INF call.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 11:39:19 +0000 (12:39 +0100)]
Do not call _ecore_con_client_flush with a NULL client.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 11:32:00 +0000 (12:32 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 11:17:26 +0000 (12:17 +0100)]
Actually declare fd at the top of function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 10:46:04 +0000 (11:46 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 10:40:02 +0000 (11:40 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 10:36:24 +0000 (11:36 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 10:34:34 +0000 (11:34 +0100)]
open() can fail for various reasons, so check for valid 'fd' return
before calling fdopen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 10:24:11 +0000 (11:24 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 09:56:37 +0000 (10:56 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 09:41:16 +0000 (10:41 +0100)]
fopen can fail. check file is open before trying to write to it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 09:37:15 +0000 (10:37 +0100)]
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>
Chris Michael [Mon, 5 Aug 2013 09:26:38 +0000 (10:26 +0100)]
_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>
Chris Michael [Mon, 5 Aug 2013 09:13:57 +0000 (10:13 +0100)]
Don't call fcntl functions if we do not HAVE_FCNTL support built in.
Signed-off-by: Chris Michael <cp.michael@samsung.com>